2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file
="gcj_mlc.c"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical mkinstalldirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CFLAGS CXXFLAGS CCAS CCASFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GC_CFLAGS LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP CPPFLAGS LDFLAGS CXXCPP THREADLIBS POWERPC_DARWIN_TRUE POWERPC_DARWIN_FALSE extra_ldflags_libgc EXTRA_TEST_LIBS target_all CPLUSPLUS_TRUE CPLUSPLUS_FALSE AM_CPPFLAGS addobjs addincludes addlibs addtests MY_CFLAGS toolexecdir toolexeclibdir LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version
=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name
=s
,x
,x
,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir
='${exec_prefix}/bin'
490 sbindir
='${exec_prefix}/sbin'
491 libexecdir
='${exec_prefix}/libexec'
492 datadir
='${prefix}/share'
493 sysconfdir
='${prefix}/etc'
494 sharedstatedir
='${prefix}/com'
495 localstatedir
='${prefix}/var'
496 libdir
='${exec_prefix}/lib'
497 includedir
='${prefix}/include'
498 oldincludedir
='/usr/include'
499 infodir
='${prefix}/info'
500 mandir
='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
520 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
523 -build |
--build |
--buil |
--bui |
--bu)
524 ac_prev
=build_alias
;;
525 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
526 build_alias
=$ac_optarg ;;
528 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
529 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
530 ac_prev
=cache_file
;;
531 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
532 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
533 cache_file
=$ac_optarg ;;
536 cache_file
=config.cache
;;
538 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
540 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
542 datadir
=$ac_optarg ;;
544 -disable-* |
--disable-*)
545 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* |
--enable-*)
554 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
567 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
568 |
--exec |
--exe |
--ex)
569 ac_prev
=exec_prefix
;;
570 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
571 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
572 |
--exec=* |
--exe=* |
--ex=*)
573 exec_prefix
=$ac_optarg ;;
575 -gas |
--gas |
--ga |
--g)
576 # Obsolete; use --with-gas.
579 -help |
--help |
--hel |
--he |
-h)
581 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
582 ac_init_help
=recursive
;;
583 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
584 ac_init_help
=short
;;
586 -host |
--host |
--hos |
--ho)
587 ac_prev
=host_alias
;;
588 -host=* |
--host=* |
--hos=* |
--ho=*)
589 host_alias
=$ac_optarg ;;
591 -includedir |
--includedir |
--includedi |
--included |
--include \
592 |
--includ |
--inclu |
--incl |
--inc)
593 ac_prev
=includedir
;;
594 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
595 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
596 includedir
=$ac_optarg ;;
598 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
600 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
601 infodir
=$ac_optarg ;;
603 -libdir |
--libdir |
--libdi |
--libd)
605 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
608 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
609 |
--libexe |
--libex |
--libe)
610 ac_prev
=libexecdir
;;
611 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
612 |
--libexe=* |
--libex=* |
--libe=*)
613 libexecdir
=$ac_optarg ;;
615 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
616 |
--localstate |
--localstat |
--localsta |
--localst \
617 |
--locals |
--local |
--loca |
--loc |
--lo)
618 ac_prev
=localstatedir
;;
619 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
620 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
621 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
622 localstatedir
=$ac_optarg ;;
624 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
626 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
630 # Obsolete; use --without-fp.
633 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
634 |
--no-cr |
--no-c |
-n)
637 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
638 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
641 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
642 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
643 |
--oldin |
--oldi |
--old |
--ol |
--o)
644 ac_prev
=oldincludedir
;;
645 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
646 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
647 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
648 oldincludedir
=$ac_optarg ;;
650 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
652 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
655 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
656 |
--program-pre |
--program-pr |
--program-p)
657 ac_prev
=program_prefix
;;
658 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
659 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
660 program_prefix
=$ac_optarg ;;
662 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
663 |
--program-suf |
--program-su |
--program-s)
664 ac_prev
=program_suffix
;;
665 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
666 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
667 program_suffix
=$ac_optarg ;;
669 -program-transform-name |
--program-transform-name \
670 |
--program-transform-nam |
--program-transform-na \
671 |
--program-transform-n |
--program-transform- \
672 |
--program-transform |
--program-transfor \
673 |
--program-transfo |
--program-transf \
674 |
--program-trans |
--program-tran \
675 |
--progr-tra |
--program-tr |
--program-t)
676 ac_prev
=program_transform_name
;;
677 -program-transform-name=* |
--program-transform-name=* \
678 |
--program-transform-nam=* |
--program-transform-na=* \
679 |
--program-transform-n=* |
--program-transform-=* \
680 |
--program-transform=* |
--program-transfor=* \
681 |
--program-transfo=* |
--program-transf=* \
682 |
--program-trans=* |
--program-tran=* \
683 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
684 program_transform_name
=$ac_optarg ;;
686 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
687 |
-silent |
--silent |
--silen |
--sile |
--sil)
690 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
692 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
694 sbindir
=$ac_optarg ;;
696 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
697 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
698 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
700 ac_prev
=sharedstatedir
;;
701 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
702 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
703 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
705 sharedstatedir
=$ac_optarg ;;
707 -site |
--site |
--sit)
709 -site=* |
--site=* |
--sit=*)
712 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
714 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
717 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
718 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
719 ac_prev
=sysconfdir
;;
720 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
721 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
722 sysconfdir
=$ac_optarg ;;
724 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
725 ac_prev
=target_alias
;;
726 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
727 target_alias
=$ac_optarg ;;
729 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
732 -version |
--version |
--versio |
--versi |
--vers |
-V)
736 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package
=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* |
--without-*)
749 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package
=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
762 |
--x-incl |
--x-inc |
--x-in |
--x-i)
763 ac_prev
=x_includes
;;
764 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
765 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
766 x_includes
=$ac_optarg ;;
768 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
769 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
770 ac_prev
=x_libraries
;;
771 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
772 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
773 x_libraries
=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var
in exec_prefix prefix
810 eval ac_val
=$
`echo $ac_var`
812 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val
=$
`echo $ac_var`
824 [\\/$
]* | ?
:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x
; then
839 if test "x$build_alias" = x
; then
840 cross_compiling
=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
851 test "$silent" = yes && exec 6>/dev
/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted
=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir
=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted
=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set
=${build_alias+set}
891 ac_env_build_alias_value
=$build_alias
892 ac_cv_env_build_alias_set
=${build_alias+set}
893 ac_cv_env_build_alias_value
=$build_alias
894 ac_env_host_alias_set
=${host_alias+set}
895 ac_env_host_alias_value
=$host_alias
896 ac_cv_env_host_alias_set
=${host_alias+set}
897 ac_cv_env_host_alias_value
=$host_alias
898 ac_env_target_alias_set
=${target_alias+set}
899 ac_env_target_alias_value
=$target_alias
900 ac_cv_env_target_alias_set
=${target_alias+set}
901 ac_cv_env_target_alias_value
=$target_alias
902 ac_env_CPP_set
=${CPP+set}
903 ac_env_CPP_value
=$CPP
904 ac_cv_env_CPP_set
=${CPP+set}
905 ac_cv_env_CPP_value
=$CPP
906 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value
=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
910 ac_env_CXX_set
=${CXX+set}
911 ac_env_CXX_value
=$CXX
912 ac_cv_env_CXX_set
=${CXX+set}
913 ac_cv_env_CXX_value
=$CXX
914 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value
=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
918 ac_env_LDFLAGS_set
=${LDFLAGS+set}
919 ac_env_LDFLAGS_value
=$LDFLAGS
920 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value
=$LDFLAGS
922 ac_env_CXXCPP_set
=${CXXCPP+set}
923 ac_env_CXXCPP_value
=$CXXCPP
924 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value
=$CXXCPP
928 # Report the --help message.
930 if test "$ac_init_help" = "long"; then
931 # Omit some internal or obsolete options to make the list less imposing.
932 # This message is too long to be a string in the A/UX 3.1 sh.
934 \`configure' configures this package to adapt to many kinds of systems.
936 Usage: $0 [OPTION]... [VAR=VALUE]...
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE. See below for descriptions of some of the useful variables.
941 Defaults for the options are specified in brackets.
944 -h, --help display this help and exit
945 --help=short display options specific to this package
946 --help=recursive display the short help of all the included packages
947 -V, --version display version information and exit
948 -q, --quiet, --silent do not print \`checking...' messages
949 --cache-file=FILE cache test results in FILE [disabled]
950 -C, --config-cache alias for \`--cache-file=config.cache'
951 -n, --no-create do not create output files
952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
957 Installation directories:
958 --prefix=PREFIX install architecture-independent files in PREFIX
960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
968 For better control, use the options below.
970 Fine tuning of the installation directories:
971 --bindir=DIR user executables [EPREFIX/bin]
972 --sbindir=DIR system admin executables [EPREFIX/sbin]
973 --libexecdir=DIR program executables [EPREFIX/libexec]
974 --datadir=DIR read-only architecture-independent data [PREFIX/share]
975 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
976 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
977 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
978 --libdir=DIR object code libraries [EPREFIX/lib]
979 --includedir=DIR C header files [PREFIX/include]
980 --oldincludedir=DIR C header files for non-gcc [/usr/include]
981 --infodir=DIR info documentation [PREFIX/info]
982 --mandir=DIR man documentation [PREFIX/man]
988 --program-prefix=PREFIX prepend PREFIX to installed program names
989 --program-suffix=SUFFIX append SUFFIX to installed program names
990 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
993 --build=BUILD configure
for building on BUILD
[guessed
]
994 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
995 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
999 if test -n "$ac_init_help"; then
1004 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1005 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1006 --enable-multilib build many library versions
(default
)
1007 --disable-dependency-tracking speeds up one-time build
1008 --enable-dependency-tracking do not reject slow dependency extractors
1009 --enable-maintainer-mode enable make rules and dependencies not useful
1010 (and sometimes confusing
) to the casual installer
1011 --enable-shared[=PKGS
]
1012 build shared libraries
[default
=yes]
1013 --enable-static[=PKGS
]
1014 build static libraries
[default
=yes]
1015 --enable-fast-install[=PKGS
]
1016 optimize
for fast installation
[default
=yes]
1017 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1018 --enable-parallel-mark parallelize marking and free list construction
1019 --enable-gc-debug include full support
for pointer backtracing etc.
1022 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1023 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1024 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1026 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1027 --with-target-subdir=SUBDIR
1028 configuring with a cross compiler
1029 --with-cross-host=HOST configuring with a cross compiler
1030 --with-ecos enable runtime eCos target support
1032 Some influential environment variables
:
1033 CC C compiler
command
1034 CFLAGS C compiler flags
1035 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1036 nonstandard directory
<lib dir
>
1037 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1038 headers
in a nonstandard directory
<include dir
>
1039 CXX C
++ compiler
command
1040 CXXFLAGS C
++ compiler flags
1042 CXXCPP C
++ preprocessor
1044 Use these variables to override the choices made by
`configure' or to help
1045 it to find libraries and programs with nonstandard names/locations.
1050 if test "$ac_init_help" = "recursive"; then
1051 # If there are subdirs, report their specific --help.
1053 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1054 test -d $ac_dir || continue
1057 if test "$ac_dir" != .; then
1058 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1059 # A "../" for each directory in $ac_dir_suffix.
1060 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1062 ac_dir_suffix= ac_top_builddir=
1066 .) # No --srcdir option. We are building in place.
1068 if test -z "$ac_top_builddir"; then
1071 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1073 [\\/]* | ?:[\\/]* ) # Absolute path.
1074 ac_srcdir=$srcdir$ac_dir_suffix;
1075 ac_top_srcdir=$srcdir ;;
1077 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1078 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1081 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1082 # the directories may not exist.
1084 .) ac_abs_builddir="$ac_dir";;
1087 .) ac_abs_builddir=`pwd`;;
1088 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1089 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1092 case $ac_abs_builddir in
1093 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1095 case ${ac_top_builddir}. in
1096 .) ac_abs_top_builddir=$ac_abs_builddir;;
1097 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1098 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1101 case $ac_abs_builddir in
1102 .) ac_abs_srcdir=$ac_srcdir;;
1105 .) ac_abs_srcdir=$ac_abs_builddir;;
1106 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1107 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1110 case $ac_abs_builddir in
1111 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1113 case $ac_top_srcdir in
1114 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1115 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1116 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1121 # Check for guested configure; otherwise get Cygnus style configure.
1122 if test -f $ac_srcdir/configure.gnu; then
1124 $SHELL $ac_srcdir/configure.gnu --help=recursive
1125 elif test -f $ac_srcdir/configure; then
1127 $SHELL $ac_srcdir/configure --help=recursive
1128 elif test -f $ac_srcdir/configure.ac ||
1129 test -f $ac_srcdir/configure.in; then
1131 $ac_configure --help
1133 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1139 test -n "$ac_init_help" && exit 0
1140 if $ac_init_version; then
1143 Copyright (C) 2003 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1154 It was created by $as_me, which was
1155 generated by GNU Autoconf 2.59. Invocation command line was
1166 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1167 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1168 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1169 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1170 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1172 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1173 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1175 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1176 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1177 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1178 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1179 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1180 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1181 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1214 ac_must_keep_next=false
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1243 -* ) ac_must_keep_next=true ;;
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close
' the trap.
1261 trap 'exit_status
=$?
1262 # Save into config.log some information that might help in debugging.
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1272 # The following way of writing the cache mishandles newlines in values,
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1295 for ac_var
in $ac_subst_vars
1297 eval ac_val
=$
`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1302 if test -n "$ac_subst_files"; then
1309 for ac_var
in $ac_subst_files
1311 eval ac_val
=$
`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -s confdefs.h
; then
1324 sed "/^$/d" confdefs.h |
sort
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1331 rm -f core
*.core
&&
1332 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1345 # Predefined preprocessor variables.
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's
/^
/|
/' "$ac_site_file" >&5
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1407 # Check that the precious variables saved in the cache have kept the same
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1420 ac_cache_corrupted=: ;;
1422 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1429 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1454 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1461 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1483 # This works around the fact that libtool configuration may change LD
1484 # for this particular configuration, but some shells, instead of
1485 # keeping the changes in LD private, export them just because LD is
1487 ORIGINAL_LD_FOR_MULTILIBS=$LD
1489 # Default to --enable-multilib
1490 # Check whether --enable-multilib or --disable-multilib was given.
1491 if test "${enable_multilib+set}" = set; then
1492 enableval="$enable_multilib"
1493 case "$enableval" in
1494 yes) multilib=yes ;;
1496 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1497 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1498 { (exit 1); exit 1; }; } ;;
1504 # We may get other options which we leave undocumented:
1505 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1506 # See config-ml.in if you want the gory details.
1508 if test "$srcdir" = "."; then
1509 if test "$with_target_subdir" != "."; then
1510 multi_basedir="$srcdir/$with_multisrctop../.."
1512 multi_basedir="$srcdir/$with_multisrctop.."
1515 multi_basedir="$srcdir/.."
1519 # Even if the default multilib is not a cross compilation,
1520 # it may be that some of the other multilibs are.
1521 if test $cross_compiling = no && test $multilib = yes \
1522 && test "x${with_multisubdir}" != x ; then
1523 cross_compiling=maybe
1526 ac_config_commands="$ac_config_commands default-1"
1530 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1531 if test -f $ac_dir/install-sh; then
1533 ac_install_sh="$ac_aux_dir/install-sh -c"
1535 elif test -f $ac_dir/install.sh; then
1537 ac_install_sh="$ac_aux_dir/install.sh -c"
1539 elif test -f $ac_dir/shtool; then
1541 ac_install_sh="$ac_aux_dir/shtool install -c"
1545 if test -z "$ac_aux_dir"; then
1546 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1547 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1548 { (exit 1); exit 1; }; }
1550 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1551 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1552 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1554 # Make sure we can run config.sub.
1555 $ac_config_sub sun4 >/dev/null 2>&1 ||
1556 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1557 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1558 { (exit 1); exit 1; }; }
1560 echo "$as_me:$LINENO: checking build system type" >&5
1561 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1562 if test "${ac_cv_build+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 ac_cv_build_alias=$build_alias
1566 test -z "$ac_cv_build_alias" &&
1567 ac_cv_build_alias=`$ac_config_guess`
1568 test -z "$ac_cv_build_alias" &&
1569 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1570 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1571 { (exit 1); exit 1; }; }
1572 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1573 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1574 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1575 { (exit 1); exit 1; }; }
1578 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1579 echo "${ECHO_T}$ac_cv_build" >&6
1581 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1582 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1583 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1586 echo "$as_me:$LINENO: checking host system type" >&5
1587 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1588 if test "${ac_cv_host+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1591 ac_cv_host_alias=$host_alias
1592 test -z "$ac_cv_host_alias" &&
1593 ac_cv_host_alias=$ac_cv_build_alias
1594 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1600 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1601 echo "${ECHO_T}$ac_cv_host" >&6
1603 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1604 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1605 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1608 echo "$as_me:$LINENO: checking target system type" >&5
1609 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1610 if test "${ac_cv_target+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1613 ac_cv_target_alias=$target_alias
1614 test "x$ac_cv_target_alias" = "x" &&
1615 ac_cv_target_alias=$ac_cv_host_alias
1616 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1622 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1623 echo "${ECHO_T}$ac_cv_target" >&6
1624 target=$ac_cv_target
1625 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1626 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1627 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1630 # The aliases save the names the user supplied, while $host etc.
1631 # will get canonicalized.
1632 test -n "$target_alias" &&
1633 test "$program_prefix$program_suffix$program_transform_name" = \
1635 program_prefix=${target_alias}-
1637 # Get the 'noncanonical
' system names.
1638 case ${build_alias} in
1639 "") build_noncanonical=${build} ;;
1640 *) build_noncanonical=${build_alias} ;;
1643 case ${host_alias} in
1644 "") host_noncanonical=${build_noncanonical} ;;
1645 *) host_noncanonical=${host_alias} ;;
1648 case ${target_alias} in
1649 "") target_noncanonical=${host_noncanonical} ;;
1650 *) target_noncanonical=${target_alias} ;;
1656 # This works around an automake problem.
1657 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1660 am__api_version="1.9"
1661 # Find a good install program. We prefer a C program (faster),
1662 # so one script is as good as another. But avoid the broken or
1663 # incompatible versions:
1664 # SysV /etc/install, /usr/sbin/install
1665 # SunOS /usr/etc/install
1666 # IRIX /sbin/install
1668 # AmigaOS /C/install, which installs bootblocks on floppy discs
1669 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1670 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1671 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1672 # OS/2's system install, which has a completely different semantic
1673 # ./install, which can be erroneously created by make from ./install.sh.
1674 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1675 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1676 if test -z "$INSTALL"; then
1677 if test "${ac_cv_path_install+set}" = set; then
1678 echo $ECHO_N "(cached) $ECHO_C" >&6
1680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1684 test -z "$as_dir" && as_dir
=.
1685 # Account for people who put trailing slashes in PATH elements.
1687 .
/ | .
// |
/cC
/* | \
1688 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1689 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1692 # OSF1 and SCO ODT 3.0 have their own names for install.
1693 # Don't use installbsd from OSF since it installs stuff as root
1695 for ac_prog
in ginstall scoinst
install; do
1696 for ac_exec_ext
in '' $ac_executable_extensions; do
1697 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1698 if test $ac_prog = install &&
1699 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1700 # AIX install. It has an incompatible calling convention.
1702 elif test $ac_prog = install &&
1703 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1704 # program-specific install script used by HP pwplus--don't use.
1707 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1719 if test "${ac_cv_path_install+set}" = set; then
1720 INSTALL
=$ac_cv_path_install
1722 # As a last resort, use the slow shell script. We don't cache a
1723 # path for INSTALL within a source directory, because that will
1724 # break other packages using the cache if that directory is
1725 # removed, or if the path is relative.
1726 INSTALL
=$ac_install_sh
1729 echo "$as_me:$LINENO: result: $INSTALL" >&5
1730 echo "${ECHO_T}$INSTALL" >&6
1732 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1733 # It thinks the first close brace ends the variable substitution.
1734 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1736 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1738 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1740 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1741 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1744 echo timestamp
> conftest.
file
1745 # Do `set' in a subshell so we don't clobber the current shell's
1746 # arguments. Must try -L first in case configure is actually a
1747 # symlink; some systems play weird games with the mod time of symlinks
1748 # (eg FreeBSD returns the mod time of the symlink's containing
1751 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1752 if test "$*" = "X"; then
1754 set X
`ls -t $srcdir/configure conftest.file`
1757 if test "$*" != "X $srcdir/configure conftest.file" \
1758 && test "$*" != "X conftest.file $srcdir/configure"; then
1760 # If neither matched, then we have a broken ls. This can happen
1761 # if, for instance, CONFIG_SHELL is bash and it inherits a
1762 # broken ls alias from the environment. This has actually
1763 # happened. Such a system could not be considered "sane".
1764 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1765 alias in your environment" >&5
1766 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1767 alias in your environment" >&2;}
1768 { (exit 1); exit 1; }; }
1771 test "$2" = conftest.
file
1777 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1778 Check your system clock" >&5
1779 echo "$as_me: error: newly created file is older than distributed files!
1780 Check your system clock" >&2;}
1781 { (exit 1); exit 1; }; }
1783 echo "$as_me:$LINENO: result: yes" >&5
1784 echo "${ECHO_T}yes" >&6
1785 test "$program_prefix" != NONE
&&
1786 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1787 # Use a double $ so make ignores it.
1788 test "$program_suffix" != NONE
&&
1789 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1790 # Double any \ or $. echo might interpret backslashes.
1791 # By default was `s,x,x', remove it if useless.
1792 cat <<\_ACEOF
>conftest.
sed
1793 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1795 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1798 # expand $ac_aux_dir to an absolute path
1799 am_aux_dir
=`cd $ac_aux_dir && pwd`
1801 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1802 # Use eval to expand $SHELL
1803 if eval "$MISSING --run true"; then
1804 am_missing_run
="$MISSING --run "
1807 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1808 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1811 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1812 # We used to keeping the `.' as first argument, in order to
1813 # allow $(mkdir_p) to be used without argument. As in
1814 # $(mkdir_p) $(somedir)
1815 # where $(somedir) is conditionally defined. However this is wrong
1817 # 1. if the package is installed by a user who cannot write `.'
1818 # make install will fail,
1819 # 2. the above comment should most certainly read
1820 # $(mkdir_p) $(DESTDIR)$(somedir)
1821 # so it does not work when $(somedir) is undefined and
1822 # $(DESTDIR) is not.
1823 # To support the latter case, we have to write
1824 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1825 # so the `.' trick is pointless.
1826 mkdir_p
='mkdir -p --'
1828 # On NextStep and OpenStep, the `mkdir' command does not
1829 # recognize any option. It will interpret all options as
1830 # directories to create, and then abort because `.' already
1832 for d
in .
/-p .
/--version;
1834 test -d $d && rmdir $d
1836 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1837 if test -f "$ac_aux_dir/mkinstalldirs"; then
1838 mkdir_p
='$(mkinstalldirs)'
1840 mkdir_p
='$(install_sh) -d'
1844 for ac_prog
in gawk mawk nawk
awk
1846 # Extract the first word of "$ac_prog", so it can be a program name with args.
1847 set dummy
$ac_prog; ac_word
=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_AWK+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 if test -n "$AWK"; then
1854 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1860 test -z "$as_dir" && as_dir
=.
1861 for ac_exec_ext
in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_AWK
="$ac_prog"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1873 if test -n "$AWK"; then
1874 echo "$as_me:$LINENO: result: $AWK" >&5
1875 echo "${ECHO_T}$AWK" >&6
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1881 test -n "$AWK" && break
1884 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1885 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1886 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1887 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 cat >conftest.
make <<\_ACEOF
1892 @
echo 'ac_maketemp="$(MAKE)"'
1894 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1895 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1896 if test -n "$ac_maketemp"; then
1897 eval ac_cv_prog_make_
${ac_make}_set
=yes
1899 eval ac_cv_prog_make_
${ac_make}_set
=no
1903 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1904 echo "$as_me:$LINENO: result: yes" >&5
1905 echo "${ECHO_T}yes" >&6
1908 echo "$as_me:$LINENO: result: no" >&5
1909 echo "${ECHO_T}no" >&6
1910 SET_MAKE
="MAKE=${MAKE-make}"
1913 rm -rf .tst
2>/dev
/null
1914 mkdir .tst
2>/dev
/null
1915 if test -d .tst
; then
1920 rmdir .tst
2>/dev
/null
1922 # test to see if srcdir already configured
1923 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1924 test -f $srcdir/config.status
; then
1925 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1926 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1927 { (exit 1); exit 1; }; }
1930 # test whether we have cygpath
1931 if test -z "$CYGPATH_W"; then
1932 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1933 CYGPATH_W
='cygpath -w'
1940 # Define the identity of the package.
1945 # Some tools Automake needs.
1947 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1950 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1953 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1956 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1959 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1961 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1963 # Installed binaries are usually stripped using `strip' when the user
1964 # run `make install-strip'. However `strip' might not be the right
1965 # tool to use in cross-compilation environments, therefore Automake
1966 # will honor the `STRIP' environment variable to overrule this program.
1967 if test "$cross_compiling" != no
; then
1968 if test -n "$ac_tool_prefix"; then
1969 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1970 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1971 echo "$as_me:$LINENO: checking for $ac_word" >&5
1972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1973 if test "${ac_cv_prog_STRIP+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 if test -n "$STRIP"; then
1977 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1983 test -z "$as_dir" && as_dir
=.
1984 for ac_exec_ext
in '' $ac_executable_extensions; do
1985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1986 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1995 STRIP
=$ac_cv_prog_STRIP
1996 if test -n "$STRIP"; then
1997 echo "$as_me:$LINENO: result: $STRIP" >&5
1998 echo "${ECHO_T}$STRIP" >&6
2000 echo "$as_me:$LINENO: result: no" >&5
2001 echo "${ECHO_T}no" >&6
2005 if test -z "$ac_cv_prog_STRIP"; then
2007 # Extract the first word of "strip", so it can be a program name with args.
2008 set dummy strip
; ac_word
=$2
2009 echo "$as_me:$LINENO: checking for $ac_word" >&5
2010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 if test -n "$ac_ct_STRIP"; then
2015 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2021 test -z "$as_dir" && as_dir
=.
2022 for ac_exec_ext
in '' $ac_executable_extensions; do
2023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2024 ac_cv_prog_ac_ct_STRIP
="strip"
2025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2034 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2035 if test -n "$ac_ct_STRIP"; then
2036 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2037 echo "${ECHO_T}$ac_ct_STRIP" >&6
2039 echo "$as_me:$LINENO: result: no" >&5
2040 echo "${ECHO_T}no" >&6
2045 STRIP
="$ac_cv_prog_STRIP"
2049 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2051 # We need awk for the "check" target. The system "awk" is bad on
2053 # Always define AMTAR for backward compatibility.
2055 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2057 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2064 # The autoconf 2.5x version of the no-executables hack.
2067 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
2068 # the wrong, non-multilib-adjusted value will be used in multilibs.
2069 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
2074 ac_cpp
='$CPP $CPPFLAGS'
2075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2078 if test -n "$ac_tool_prefix"; then
2079 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2080 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2081 echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2083 if test "${ac_cv_prog_CC+set}" = set; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 if test -n "$CC"; then
2087 ac_cv_prog_CC
="$CC" # Let the user override the test.
2089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2093 test -z "$as_dir" && as_dir
=.
2094 for ac_exec_ext
in '' $ac_executable_extensions; do
2095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 if test -n "$CC"; then
2107 echo "$as_me:$LINENO: result: $CC" >&5
2108 echo "${ECHO_T}$CC" >&6
2110 echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6
2115 if test -z "$ac_cv_prog_CC"; then
2117 # Extract the first word of "gcc", so it can be a program name with args.
2118 set dummy gcc
; ac_word
=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 if test -n "$ac_ct_CC"; then
2125 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir
=.
2132 for ac_exec_ext
in '' $ac_executable_extensions; do
2133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134 ac_cv_prog_ac_ct_CC
="gcc"
2135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2144 if test -n "$ac_ct_CC"; then
2145 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2146 echo "${ECHO_T}$ac_ct_CC" >&6
2148 echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6
2157 if test -z "$CC"; then
2158 if test -n "$ac_tool_prefix"; then
2159 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2160 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2161 echo "$as_me:$LINENO: checking for $ac_word" >&5
2162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2163 if test "${ac_cv_prog_CC+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 if test -n "$CC"; then
2167 ac_cv_prog_CC
="$CC" # Let the user override the test.
2169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir
=.
2174 for ac_exec_ext
in '' $ac_executable_extensions; do
2175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2176 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 if test -n "$CC"; then
2187 echo "$as_me:$LINENO: result: $CC" >&5
2188 echo "${ECHO_T}$CC" >&6
2190 echo "$as_me:$LINENO: result: no" >&5
2191 echo "${ECHO_T}no" >&6
2195 if test -z "$ac_cv_prog_CC"; then
2197 # Extract the first word of "cc", so it can be a program name with args.
2198 set dummy cc
; ac_word
=$2
2199 echo "$as_me:$LINENO: checking for $ac_word" >&5
2200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2201 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 if test -n "$ac_ct_CC"; then
2205 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir
=.
2212 for ac_exec_ext
in '' $ac_executable_extensions; do
2213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2214 ac_cv_prog_ac_ct_CC
="cc"
2215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2223 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2224 if test -n "$ac_ct_CC"; then
2225 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2226 echo "${ECHO_T}$ac_ct_CC" >&6
2228 echo "$as_me:$LINENO: result: no" >&5
2229 echo "${ECHO_T}no" >&6
2238 if test -z "$CC"; then
2239 # Extract the first word of "cc", so it can be a program name with args.
2240 set dummy cc
; ac_word
=$2
2241 echo "$as_me:$LINENO: checking for $ac_word" >&5
2242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2243 if test "${ac_cv_prog_CC+set}" = set; then
2244 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 if test -n "$CC"; then
2247 ac_cv_prog_CC
="$CC" # Let the user override the test.
2250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir
=.
2255 for ac_exec_ext
in '' $ac_executable_extensions; do
2256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2257 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2258 ac_prog_rejected
=yes
2262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 if test $ac_prog_rejected = yes; then
2269 # We found a bogon in the path, so make sure we never use it.
2270 set dummy
$ac_cv_prog_CC
2272 if test $# != 0; then
2273 # We chose a different compiler from the bogus one.
2274 # However, it has the same basename, so the bogon will be chosen
2275 # first if we set CC to just the basename; use the full file name.
2277 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2283 if test -n "$CC"; then
2284 echo "$as_me:$LINENO: result: $CC" >&5
2285 echo "${ECHO_T}$CC" >&6
2287 echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6
2292 if test -z "$CC"; then
2293 if test -n "$ac_tool_prefix"; then
2296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2297 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2298 echo "$as_me:$LINENO: checking for $ac_word" >&5
2299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2300 if test "${ac_cv_prog_CC+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 if test -n "$CC"; then
2304 ac_cv_prog_CC
="$CC" # Let the user override the test.
2306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir
=.
2311 for ac_exec_ext
in '' $ac_executable_extensions; do
2312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2313 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 if test -n "$CC"; then
2324 echo "$as_me:$LINENO: result: $CC" >&5
2325 echo "${ECHO_T}$CC" >&6
2327 echo "$as_me:$LINENO: result: no" >&5
2328 echo "${ECHO_T}no" >&6
2331 test -n "$CC" && break
2334 if test -z "$CC"; then
2338 # Extract the first word of "$ac_prog", so it can be a program name with args.
2339 set dummy
$ac_prog; ac_word
=$2
2340 echo "$as_me:$LINENO: checking for $ac_word" >&5
2341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2342 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 if test -n "$ac_ct_CC"; then
2346 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2352 test -z "$as_dir" && as_dir
=.
2353 for ac_exec_ext
in '' $ac_executable_extensions; do
2354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2355 ac_cv_prog_ac_ct_CC
="$ac_prog"
2356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2365 if test -n "$ac_ct_CC"; then
2366 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2367 echo "${ECHO_T}$ac_ct_CC" >&6
2369 echo "$as_me:$LINENO: result: no" >&5
2370 echo "${ECHO_T}no" >&6
2373 test -n "$ac_ct_CC" && break
2382 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2383 See \`config.log' for more details." >&5
2384 echo "$as_me: error: no acceptable C compiler found in \$PATH
2385 See \`config.log' for more details." >&2;}
2386 { (exit 1); exit 1; }; }
2388 # Provide some information about the compiler.
2389 echo "$as_me:$LINENO:" \
2390 "checking for C compiler version" >&5
2391 ac_compiler
=`set X $ac_compile; echo $2`
2392 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2393 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }
2397 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2398 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }
2402 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2403 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }
2408 cat >conftest.
$ac_ext <<_ACEOF
2411 cat confdefs.h
>>conftest.
$ac_ext
2412 cat >>conftest.
$ac_ext <<_ACEOF
2413 /* end confdefs.h. */
2424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2425 (eval $ac_link) 2>&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; then
2434 if test x
$gcc_no_link = xyes
; then
2435 # Setting cross_compile will disable run tests; it will
2436 # also disable AC_CHECK_FILE but that's generally
2437 # correct if we can't link.
2441 cat >conftest.
$ac_ext <<_ACEOF
2444 cat confdefs.h
>>conftest.
$ac_ext
2445 cat >>conftest.
$ac_ext <<_ACEOF
2446 /* end confdefs.h. */
2456 ac_clean_files_save
=$ac_clean_files
2457 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2458 # Try to create an executable without -o first, disregard a.out.
2459 # It will help us diagnose broken compilers, and finding out an intuition
2461 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2462 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2463 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2464 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2465 (eval $ac_link_default) 2>&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; then
2469 # Find the output, starting from the most likely. This scheme is
2470 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2473 # Be careful to initialize this variable, since it used to be cached.
2474 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2476 # b.out is created by i960 compilers.
2477 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2479 test -f "$ac_file" ||
continue
2481 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2484 # This is the source file.
2487 # We found the default executable, but exeext='' is most
2491 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2492 # FIXME: I believe we export ac_cv_exeext for Libtool,
2493 # but it would be cool to find out if it's true. Does anybody
2494 # maintain Libtool? --akim.
2502 echo "$as_me: failed program was:" >&5
2503 sed 's/^/| /' conftest.
$ac_ext >&5
2505 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2506 See \`config.log' for more details." >&5
2507 echo "$as_me: error: C compiler cannot create executables
2508 See \`config.log' for more details." >&2;}
2509 { (exit 77); exit 77; }; }
2512 ac_exeext
=$ac_cv_exeext
2513 echo "$as_me:$LINENO: result: $ac_file" >&5
2514 echo "${ECHO_T}$ac_file" >&6
2516 # Check the compiler produces executables we can run. If not, either
2517 # the compiler is broken, or we cross compile.
2518 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2519 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2520 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2521 # If not cross compiling, check that we can run a simple program.
2522 if test "$cross_compiling" != yes; then
2523 if { ac_try
='./$ac_file'
2524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; }; then
2531 if test "$cross_compiling" = maybe
; then
2534 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2535 If you meant to cross compile, use \`--host'.
2536 See \`config.log' for more details." >&5
2537 echo "$as_me: error: cannot run C compiled programs.
2538 If you meant to cross compile, use \`--host'.
2539 See \`config.log' for more details." >&2;}
2540 { (exit 1); exit 1; }; }
2544 echo "$as_me:$LINENO: result: yes" >&5
2545 echo "${ECHO_T}yes" >&6
2547 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2548 ac_clean_files
=$ac_clean_files_save
2549 # Check the compiler produces executables we can run. If not, either
2550 # the compiler is broken, or we cross compile.
2551 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2552 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2553 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2554 echo "${ECHO_T}$cross_compiling" >&6
2556 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2557 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2559 (eval $ac_link) 2>&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; then
2563 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2564 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2565 # work properly (i.e., refer to `conftest.exe'), while it won't with
2567 for ac_file
in conftest.exe conftest conftest.
*; do
2568 test -f "$ac_file" ||
continue
2570 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2571 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2578 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2585 rm -f conftest
$ac_cv_exeext
2586 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2587 echo "${ECHO_T}$ac_cv_exeext" >&6
2589 rm -f conftest.
$ac_ext
2590 EXEEXT
=$ac_cv_exeext
2593 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2594 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2595 if test "${ac_cv_objext+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 cat >conftest.
$ac_ext <<_ACEOF
2601 cat confdefs.h
>>conftest.
$ac_ext
2602 cat >>conftest.
$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2613 rm -f conftest.o conftest.obj
2614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2615 (eval $ac_compile) 2>&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }; then
2619 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2621 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2622 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2627 echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.
$ac_ext >&5
2630 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2631 See \`config.log' for more details." >&5
2632 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2633 See \`config.log' for more details." >&2;}
2634 { (exit 1); exit 1; }; }
2637 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2639 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2640 echo "${ECHO_T}$ac_cv_objext" >&6
2641 OBJEXT
=$ac_cv_objext
2643 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2644 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2645 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2646 echo $ECHO_N "(cached) $ECHO_C" >&6
2648 cat >conftest.
$ac_ext <<_ACEOF
2651 cat confdefs.h
>>conftest.
$ac_ext
2652 cat >>conftest.
$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2666 rm -f conftest.
$ac_objext
2667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2668 (eval $ac_compile) 2>conftest.er1
2670 grep -v '^ *+' conftest.er1
>conftest.err
2672 cat conftest.err
>&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); } &&
2675 { ac_try
='test -z "$ac_c_werror_flag"
2676 || test ! -s conftest.err'
2677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; } &&
2682 { ac_try
='test -s conftest.$ac_objext'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; }; then
2690 echo "$as_me: failed program was:" >&5
2691 sed 's/^/| /' conftest.
$ac_ext >&5
2695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2696 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2699 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2700 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2701 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2702 ac_test_CFLAGS
=${CFLAGS+set}
2703 ac_save_CFLAGS
=$CFLAGS
2705 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2706 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2707 if test "${ac_cv_prog_cc_g+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 cat >conftest.
$ac_ext <<_ACEOF
2713 cat confdefs.h
>>conftest.
$ac_ext
2714 cat >>conftest.
$ac_ext <<_ACEOF
2715 /* end confdefs.h. */
2725 rm -f conftest.
$ac_objext
2726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2727 (eval $ac_compile) 2>conftest.er1
2729 grep -v '^ *+' conftest.er1
>conftest.err
2731 cat conftest.err
>&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try
='test -z "$ac_c_werror_flag"
2735 || test ! -s conftest.err'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; } &&
2741 { ac_try
='test -s conftest.$ac_objext'
2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; }; then
2749 echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.
$ac_ext >&5
2754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2756 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2757 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2758 if test "$ac_test_CFLAGS" = set; then
2759 CFLAGS
=$ac_save_CFLAGS
2760 elif test $ac_cv_prog_cc_g = yes; then
2761 if test "$GCC" = yes; then
2767 if test "$GCC" = yes; then
2773 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2774 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2775 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 ac_cv_prog_cc_stdc
=no
2780 cat >conftest.
$ac_ext <<_ACEOF
2783 cat confdefs.h
>>conftest.
$ac_ext
2784 cat >>conftest.
$ac_ext <<_ACEOF
2785 /* end confdefs.h. */
2788 #include <sys/types.h>
2789 #include <sys/stat.h>
2790 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2791 struct buf { int x; };
2792 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2793 static char *e (p, i)
2799 static char *f (char * (*g) (char **, int), char **p, ...)
2804 s = g (p, va_arg (v,int));
2809 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2810 function prototypes and stuff, but not '\xHH' hex character constants.
2811 These don't provoke an error unfortunately, instead are silently treated
2812 as 'x'. The following induces an error, until -std1 is added to get
2813 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2814 array size at least. It's necessary to write '\x00'==0 to get something
2815 that's true only with -std1. */
2816 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2818 int test (int i, double x);
2819 struct s1 {int (*f) (int a);};
2820 struct s2 {int (*f) (double a);};
2821 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2827 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2832 # Don't try gcc -ansi; that turns off useful extensions and
2833 # breaks some systems' header files.
2834 # AIX -qlanglvl=ansi
2835 # Ultrix and OSF/1 -std1
2836 # HP-UX 10.20 and later -Ae
2837 # HP-UX older versions -Aa -D_HPUX_SOURCE
2838 # SVR4 -Xc -D__EXTENSIONS__
2839 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2841 CC
="$ac_save_CC $ac_arg"
2842 rm -f conftest.
$ac_objext
2843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2844 (eval $ac_compile) 2>conftest.er1
2846 grep -v '^ *+' conftest.er1
>conftest.err
2848 cat conftest.err
>&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); } &&
2851 { ac_try
='test -z "$ac_c_werror_flag"
2852 || test ! -s conftest.err'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; } &&
2858 { ac_try
='test -s conftest.$ac_objext'
2859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); }; }; then
2864 ac_cv_prog_cc_stdc
=$ac_arg
2867 echo "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.
$ac_ext >&5
2871 rm -f conftest.err conftest.
$ac_objext
2873 rm -f conftest.
$ac_ext conftest.
$ac_objext
2878 case "x$ac_cv_prog_cc_stdc" in
2880 echo "$as_me:$LINENO: result: none needed" >&5
2881 echo "${ECHO_T}none needed" >&6 ;;
2883 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2884 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2885 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2888 # Some people use a C++ compiler to compile C. Since we use `exit',
2889 # in C++ we need to declare it. In case someone uses the same compiler
2890 # for both compiling C and C++ we need to have the C++ compiler decide
2891 # the declaration of exit, since it's the most demanding environment.
2892 cat >conftest.
$ac_ext <<_ACEOF
2897 rm -f conftest.
$ac_objext
2898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2899 (eval $ac_compile) 2>conftest.er1
2901 grep -v '^ *+' conftest.er1
>conftest.err
2903 cat conftest.err
>&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); } &&
2906 { ac_try
='test -z "$ac_c_werror_flag"
2907 || test ! -s conftest.err'
2908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }; } &&
2913 { ac_try
='test -s conftest.$ac_objext'
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; }; then
2919 for ac_declaration
in \
2921 'extern "C" void std::exit (int) throw (); using std::exit;' \
2922 'extern "C" void std::exit (int); using std::exit;' \
2923 'extern "C" void exit (int) throw ();' \
2924 'extern "C" void exit (int);' \
2927 cat >conftest.
$ac_ext <<_ACEOF
2930 cat confdefs.h
>>conftest.
$ac_ext
2931 cat >>conftest.
$ac_ext <<_ACEOF
2932 /* end confdefs.h. */
2943 rm -f conftest.
$ac_objext
2944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2945 (eval $ac_compile) 2>conftest.er1
2947 grep -v '^ *+' conftest.er1
>conftest.err
2949 cat conftest.err
>&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); } &&
2952 { ac_try
='test -z "$ac_c_werror_flag"
2953 || test ! -s conftest.err'
2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; } &&
2959 { ac_try
='test -s conftest.$ac_objext'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; }; then
2967 echo "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.
$ac_ext >&5
2972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2973 cat >conftest.
$ac_ext <<_ACEOF
2976 cat confdefs.h
>>conftest.
$ac_ext
2977 cat >>conftest.
$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2988 rm -f conftest.
$ac_objext
2989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2990 (eval $ac_compile) 2>conftest.er1
2992 grep -v '^ *+' conftest.er1
>conftest.err
2994 cat conftest.err
>&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); } &&
2997 { ac_try
='test -z "$ac_c_werror_flag"
2998 || test ! -s conftest.err'
2999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); }; } &&
3004 { ac_try
='test -s conftest.$ac_objext'
3005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }; }; then
3012 echo "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.
$ac_ext >&5
3016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3019 if test -n "$ac_declaration"; then
3020 echo '#ifdef __cplusplus' >>confdefs.h
3021 echo $ac_declaration >>confdefs.h
3022 echo '#endif' >>confdefs.h
3026 echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.
$ac_ext >&5
3030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3032 ac_cpp
='$CPP $CPPFLAGS'
3033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3036 DEPDIR
="${am__leading_dot}deps"
3038 ac_config_commands
="$ac_config_commands depfiles"
3041 am_make
=${MAKE-make}
3042 cat > confinc
<< 'END'
3047 # If we don't find an include directive, just comment out the code.
3048 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3049 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3053 # First try GNU make style include.
3054 echo "include confinc" > confmf
3055 # We grep out `Entering directory' and `Leaving directory'
3056 # messages which can occur if `w' ends up in MAKEFLAGS.
3057 # In particular we don't look at `^make:' because GNU make might
3058 # be invoked under some other name (usually "gmake"), in which
3059 # case it prints its new name instead of `make'.
3060 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3065 # Now try BSD make style include.
3066 if test "$am__include" = "#"; then
3067 echo '.include "confinc"' > confmf
3068 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3069 am__include
=.include
3076 echo "$as_me:$LINENO: result: $_am_result" >&5
3077 echo "${ECHO_T}$_am_result" >&6
3078 rm -f confinc confmf
3080 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3081 if test "${enable_dependency_tracking+set}" = set; then
3082 enableval
="$enable_dependency_tracking"
3085 if test "x$enable_dependency_tracking" != xno
; then
3086 am_depcomp
="$ac_aux_dir/depcomp"
3091 if test "x$enable_dependency_tracking" != xno; then
3102 depcc
="$CC" am_compiler_list
=
3104 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3105 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3106 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3110 # We make a subdir and do the tests there. Otherwise we can end up
3111 # making bogus files that we don't know about and never remove. For
3112 # instance it was reported that on HP-UX the gcc test will end up
3113 # making a dummy file named `D' -- because `-MD' means `put the output
3116 # Copy depcomp to subdir because otherwise we won't find it if we're
3117 # using a relative directory.
3118 cp "$am_depcomp" conftest.dir
3120 # We will build objects and dependencies in a subdirectory because
3121 # it helps to detect inapplicable dependency modes. For instance
3122 # both Tru64's cc and ICC support -MD to output dependencies as a
3123 # side effect of compilation, but ICC will put the dependencies in
3124 # the current directory while Tru64 will put them in the object
3128 am_cv_CC_dependencies_compiler_type
=none
3129 if test "$am_compiler_list" = ""; then
3130 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3132 for depmode
in $am_compiler_list; do
3133 # Setup a source with many dependencies, because some compilers
3134 # like to wrap large dependency lists on column 80 (with \), and
3135 # we should not choose a depcomp mode which is confused by this.
3137 # We need to recreate these files for each test, as the compiler may
3138 # overwrite some of them when testing with obscure command lines.
3139 # This happens at least with the AIX C compiler.
3141 for i
in 1 2 3 4 5 6; do
3142 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3143 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3144 # Solaris 8's {/usr,}/bin/sh.
3145 touch sub
/conftst
$i.h
3147 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3151 # after this tag, mechanisms are not by side-effect, so they'll
3152 # only be used when explicitly requested
3153 if test "x$enable_dependency_tracking" = xyes
; then
3161 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3162 # mode. It turns out that the SunPro C++ compiler does not properly
3163 # handle `-M -o', and we need to detect this.
3164 if depmode
=$depmode \
3165 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3166 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3167 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3168 >/dev
/null
2>conftest.err
&&
3169 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3170 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3171 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3172 # icc doesn't choke on unknown options, it will just issue warnings
3173 # or remarks (even with -Werror). So we grep stderr for any message
3174 # that says an option was ignored or not supported.
3175 # When given -MP, icc 7.0 and 7.1 complain thusly:
3176 # icc: Command line warning: ignoring option '-M'; no argument required
3177 # The diagnosis changed in icc 8.0:
3178 # icc: Command line remark: option '-MP' not supported
3179 if (grep 'ignoring option' conftest.err ||
3180 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3181 am_cv_CC_dependencies_compiler_type
=$depmode
3190 am_cv_CC_dependencies_compiler_type
=none
3194 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3195 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3196 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3201 test "x$enable_dependency_tracking" != xno \
3202 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3204 am__fastdepCC_FALSE
='#'
3206 am__fastdepCC_TRUE
='#'
3207 am__fastdepCC_FALSE
=
3212 ac_cpp
='$CXXCPP $CPPFLAGS'
3213 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3214 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3215 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3216 if test -n "$ac_tool_prefix"; then
3217 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3220 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3221 echo "$as_me:$LINENO: checking for $ac_word" >&5
3222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3223 if test "${ac_cv_prog_CXX+set}" = set; then
3224 echo $ECHO_N "(cached) $ECHO_C" >&6
3226 if test -n "$CXX"; then
3227 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir
=.
3234 for ac_exec_ext
in '' $ac_executable_extensions; do
3235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3236 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3246 if test -n "$CXX"; then
3247 echo "$as_me:$LINENO: result: $CXX" >&5
3248 echo "${ECHO_T}$CXX" >&6
3250 echo "$as_me:$LINENO: result: no" >&5
3251 echo "${ECHO_T}no" >&6
3254 test -n "$CXX" && break
3257 if test -z "$CXX"; then
3259 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3261 # Extract the first word of "$ac_prog", so it can be a program name with args.
3262 set dummy
$ac_prog; ac_word
=$2
3263 echo "$as_me:$LINENO: checking for $ac_word" >&5
3264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3265 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 if test -n "$ac_ct_CXX"; then
3269 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir
=.
3276 for ac_exec_ext
in '' $ac_executable_extensions; do
3277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3278 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3288 if test -n "$ac_ct_CXX"; then
3289 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3290 echo "${ECHO_T}$ac_ct_CXX" >&6
3292 echo "$as_me:$LINENO: result: no" >&5
3293 echo "${ECHO_T}no" >&6
3296 test -n "$ac_ct_CXX" && break
3298 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3304 # Provide some information about the compiler.
3305 echo "$as_me:$LINENO:" \
3306 "checking for C++ compiler version" >&5
3307 ac_compiler
=`set X $ac_compile; echo $2`
3308 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3309 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); }
3313 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3314 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); }
3318 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3319 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }
3324 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3325 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3326 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 cat >conftest.
$ac_ext <<_ACEOF
3332 cat confdefs.h
>>conftest.
$ac_ext
3333 cat >>conftest.
$ac_ext <<_ACEOF
3334 /* end confdefs.h. */
3347 rm -f conftest.
$ac_objext
3348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3349 (eval $ac_compile) 2>conftest.er1
3351 grep -v '^ *+' conftest.er1
>conftest.err
3353 cat conftest.err
>&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); } &&
3356 { ac_try
='test -z "$ac_cxx_werror_flag"
3357 || test ! -s conftest.err'
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; } &&
3363 { ac_try
='test -s conftest.$ac_objext'
3364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); }; }; then
3371 echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.
$ac_ext >&5
3376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3377 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3380 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3381 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3382 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3383 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3384 ac_save_CXXFLAGS
=$CXXFLAGS
3386 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3387 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3388 if test "${ac_cv_prog_cxx_g+set}" = set; then
3389 echo $ECHO_N "(cached) $ECHO_C" >&6
3391 cat >conftest.
$ac_ext <<_ACEOF
3394 cat confdefs.h
>>conftest.
$ac_ext
3395 cat >>conftest.
$ac_ext <<_ACEOF
3396 /* end confdefs.h. */
3406 rm -f conftest.
$ac_objext
3407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3408 (eval $ac_compile) 2>conftest.er1
3410 grep -v '^ *+' conftest.er1
>conftest.err
3412 cat conftest.err
>&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); } &&
3415 { ac_try
='test -z "$ac_cxx_werror_flag"
3416 || test ! -s conftest.err'
3417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); }; } &&
3422 { ac_try
='test -s conftest.$ac_objext'
3423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }; }; then
3428 ac_cv_prog_cxx_g
=yes
3430 echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.
$ac_ext >&5
3435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3437 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3438 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3439 if test "$ac_test_CXXFLAGS" = set; then
3440 CXXFLAGS
=$ac_save_CXXFLAGS
3441 elif test $ac_cv_prog_cxx_g = yes; then
3442 if test "$GXX" = yes; then
3448 if test "$GXX" = yes; then
3454 for ac_declaration
in \
3456 'extern "C" void std::exit (int) throw (); using std::exit;' \
3457 'extern "C" void std::exit (int); using std::exit;' \
3458 'extern "C" void exit (int) throw ();' \
3459 'extern "C" void exit (int);' \
3462 cat >conftest.
$ac_ext <<_ACEOF
3465 cat confdefs.h
>>conftest.
$ac_ext
3466 cat >>conftest.
$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3478 rm -f conftest.
$ac_objext
3479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3480 (eval $ac_compile) 2>conftest.er1
3482 grep -v '^ *+' conftest.er1
>conftest.err
3484 cat conftest.err
>&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } &&
3487 { ac_try
='test -z "$ac_cxx_werror_flag"
3488 || test ! -s conftest.err'
3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; } &&
3494 { ac_try
='test -s conftest.$ac_objext'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; }; then
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.
$ac_ext >&5
3507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3508 cat >conftest.
$ac_ext <<_ACEOF
3511 cat confdefs.h
>>conftest.
$ac_ext
3512 cat >>conftest.
$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3523 rm -f conftest.
$ac_objext
3524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3525 (eval $ac_compile) 2>conftest.er1
3527 grep -v '^ *+' conftest.er1
>conftest.err
3529 cat conftest.err
>&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); } &&
3532 { ac_try
='test -z "$ac_cxx_werror_flag"
3533 || test ! -s conftest.err'
3534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); }; } &&
3539 { ac_try
='test -s conftest.$ac_objext'
3540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); }; }; then
3547 echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.
$ac_ext >&5
3551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3554 if test -n "$ac_declaration"; then
3555 echo '#ifdef __cplusplus' >>confdefs.h
3556 echo $ac_declaration >>confdefs.h
3557 echo '#endif' >>confdefs.h
3561 ac_cpp
='$CPP $CPPFLAGS'
3562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3566 depcc
="$CXX" am_compiler_list
=
3568 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3569 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3570 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3571 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3574 # We make a subdir and do the tests there. Otherwise we can end up
3575 # making bogus files that we don't know about and never remove. For
3576 # instance it was reported that on HP-UX the gcc test will end up
3577 # making a dummy file named `D' -- because `-MD' means `put the output
3580 # Copy depcomp to subdir because otherwise we won't find it if we're
3581 # using a relative directory.
3582 cp "$am_depcomp" conftest.dir
3584 # We will build objects and dependencies in a subdirectory because
3585 # it helps to detect inapplicable dependency modes. For instance
3586 # both Tru64's cc and ICC support -MD to output dependencies as a
3587 # side effect of compilation, but ICC will put the dependencies in
3588 # the current directory while Tru64 will put them in the object
3592 am_cv_CXX_dependencies_compiler_type
=none
3593 if test "$am_compiler_list" = ""; then
3594 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3596 for depmode
in $am_compiler_list; do
3597 # Setup a source with many dependencies, because some compilers
3598 # like to wrap large dependency lists on column 80 (with \), and
3599 # we should not choose a depcomp mode which is confused by this.
3601 # We need to recreate these files for each test, as the compiler may
3602 # overwrite some of them when testing with obscure command lines.
3603 # This happens at least with the AIX C compiler.
3605 for i
in 1 2 3 4 5 6; do
3606 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3607 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3608 # Solaris 8's {/usr,}/bin/sh.
3609 touch sub
/conftst
$i.h
3611 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3615 # after this tag, mechanisms are not by side-effect, so they'll
3616 # only be used when explicitly requested
3617 if test "x$enable_dependency_tracking" = xyes
; then
3625 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3626 # mode. It turns out that the SunPro C++ compiler does not properly
3627 # handle `-M -o', and we need to detect this.
3628 if depmode
=$depmode \
3629 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3630 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3631 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3632 >/dev
/null
2>conftest.err
&&
3633 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3634 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3635 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3636 # icc doesn't choke on unknown options, it will just issue warnings
3637 # or remarks (even with -Werror). So we grep stderr for any message
3638 # that says an option was ignored or not supported.
3639 # When given -MP, icc 7.0 and 7.1 complain thusly:
3640 # icc: Command line warning: ignoring option '-M'; no argument required
3641 # The diagnosis changed in icc 8.0:
3642 # icc: Command line remark: option '-MP' not supported
3643 if (grep 'ignoring option' conftest.err ||
3644 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3645 am_cv_CXX_dependencies_compiler_type
=$depmode
3654 am_cv_CXX_dependencies_compiler_type
=none
3658 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3659 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3660 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3665 test "x$enable_dependency_tracking" != xno \
3666 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3667 am__fastdepCXX_TRUE
=
3668 am__fastdepCXX_FALSE
='#'
3670 am__fastdepCXX_TRUE
='#'
3671 am__fastdepCXX_FALSE
=
3677 if test "x$CC" != xcc
; then
3678 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3679 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3681 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3682 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3684 set dummy
$CC; ac_cc
=`echo $2 |
3685 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3686 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 cat >conftest.
$ac_ext <<_ACEOF
3692 cat confdefs.h
>>conftest.
$ac_ext
3693 cat >>conftest.
$ac_ext <<_ACEOF
3694 /* end confdefs.h. */
3704 # Make sure it works both with $CC and with simple cc.
3705 # We do the test twice because some compilers refuse to overwrite an
3706 # existing .o file with -o, though they will create one.
3707 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3708 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); } &&
3713 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); };
3719 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3720 if test "x$CC" != xcc
; then
3721 # Test first that cc exists at all.
3722 if { ac_try
='cc -c conftest.$ac_ext >&5'
3723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }; }; then
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); };
3743 # cc exists but doesn't like -o.
3744 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3749 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3754 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3755 echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6
3758 echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6
3761 cat >>confdefs.h
<<\_ACEOF
3762 #define NO_MINUS_C_MINUS_O 1
3767 # FIXME: we rely on the cache variable name because
3768 # there is no other way.
3770 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3771 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3772 # Losing compiler, so override with the script.
3773 # FIXME: It is wrong to rewrite CC.
3774 # But if we don't then we get into trouble of one sort or another.
3775 # A longer-term fix would be to have automake use am__CC in this case,
3776 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3777 CC
="$am_aux_dir/compile $CC"
3784 # Newer automakes demand CCAS and CCASFLAGS.
3786 : ${CCASFLAGS='$(CFLAGS)'}
3790 if test -n "$ac_tool_prefix"; then
3791 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3792 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3793 echo "$as_me:$LINENO: checking for $ac_word" >&5
3794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3795 if test "${ac_cv_prog_AS+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3798 if test -n "$AS"; then
3799 ac_cv_prog_AS
="$AS" # Let the user override the test.
3801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3805 test -z "$as_dir" && as_dir
=.
3806 for ac_exec_ext
in '' $ac_executable_extensions; do
3807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_AS
="${ac_tool_prefix}as"
3809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 if test -n "$AS"; then
3819 echo "$as_me:$LINENO: result: $AS" >&5
3820 echo "${ECHO_T}$AS" >&6
3822 echo "$as_me:$LINENO: result: no" >&5
3823 echo "${ECHO_T}no" >&6
3827 if test -z "$ac_cv_prog_AS"; then
3829 # Extract the first word of "as", so it can be a program name with args.
3830 set dummy as
; ac_word
=$2
3831 echo "$as_me:$LINENO: checking for $ac_word" >&5
3832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3833 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 if test -n "$ac_ct_AS"; then
3837 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_ac_ct_AS
="as"
3847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3856 if test -n "$ac_ct_AS"; then
3857 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3858 echo "${ECHO_T}$ac_ct_AS" >&6
3860 echo "$as_me:$LINENO: result: no" >&5
3861 echo "${ECHO_T}no" >&6
3869 if test -n "$ac_tool_prefix"; then
3870 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3871 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3872 echo "$as_me:$LINENO: checking for $ac_word" >&5
3873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3874 if test "${ac_cv_prog_AR+set}" = set; then
3875 echo $ECHO_N "(cached) $ECHO_C" >&6
3877 if test -n "$AR"; then
3878 ac_cv_prog_AR
="$AR" # Let the user override the test.
3880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3884 test -z "$as_dir" && as_dir
=.
3885 for ac_exec_ext
in '' $ac_executable_extensions; do
3886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3887 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3897 if test -n "$AR"; then
3898 echo "$as_me:$LINENO: result: $AR" >&5
3899 echo "${ECHO_T}$AR" >&6
3901 echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6
3906 if test -z "$ac_cv_prog_AR"; then
3908 # Extract the first word of "ar", so it can be a program name with args.
3909 set dummy
ar; ac_word
=$2
3910 echo "$as_me:$LINENO: checking for $ac_word" >&5
3911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3912 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3913 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 if test -n "$ac_ct_AR"; then
3916 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3922 test -z "$as_dir" && as_dir
=.
3923 for ac_exec_ext
in '' $ac_executable_extensions; do
3924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3925 ac_cv_prog_ac_ct_AR
="ar"
3926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3935 if test -n "$ac_ct_AR"; then
3936 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3937 echo "${ECHO_T}$ac_ct_AR" >&6
3939 echo "$as_me:$LINENO: result: no" >&5
3940 echo "${ECHO_T}no" >&6
3948 if test -n "$ac_tool_prefix"; then
3949 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3950 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3951 echo "$as_me:$LINENO: checking for $ac_word" >&5
3952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3953 if test "${ac_cv_prog_RANLIB+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 if test -n "$RANLIB"; then
3957 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3963 test -z "$as_dir" && as_dir
=.
3964 for ac_exec_ext
in '' $ac_executable_extensions; do
3965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3966 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3975 RANLIB
=$ac_cv_prog_RANLIB
3976 if test -n "$RANLIB"; then
3977 echo "$as_me:$LINENO: result: $RANLIB" >&5
3978 echo "${ECHO_T}$RANLIB" >&6
3980 echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6
3985 if test -z "$ac_cv_prog_RANLIB"; then
3986 ac_ct_RANLIB
=$RANLIB
3987 # Extract the first word of "ranlib", so it can be a program name with args.
3988 set dummy ranlib
; ac_word
=$2
3989 echo "$as_me:$LINENO: checking for $ac_word" >&5
3990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3991 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3992 echo $ECHO_N "(cached) $ECHO_C" >&6
3994 if test -n "$ac_ct_RANLIB"; then
3995 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir
=.
4002 for ac_exec_ext
in '' $ac_executable_extensions; do
4003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4014 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4015 if test -n "$ac_ct_RANLIB"; then
4016 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4017 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4019 echo "$as_me:$LINENO: result: no" >&5
4020 echo "${ECHO_T}no" >&6
4023 RANLIB
=$ac_ct_RANLIB
4025 RANLIB
="$ac_cv_prog_RANLIB"
4029 # Find a good install program. We prefer a C program (faster),
4030 # so one script is as good as another. But avoid the broken or
4031 # incompatible versions:
4032 # SysV /etc/install, /usr/sbin/install
4033 # SunOS /usr/etc/install
4034 # IRIX /sbin/install
4036 # AmigaOS /C/install, which installs bootblocks on floppy discs
4037 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4038 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4039 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4040 # OS/2's system install, which has a completely different semantic
4041 # ./install, which can be erroneously created by make from ./install.sh.
4042 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4043 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4044 if test -z "$INSTALL"; then
4045 if test "${ac_cv_path_install+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4052 test -z "$as_dir" && as_dir
=.
4053 # Account for people who put trailing slashes in PATH elements.
4055 .
/ | .
// |
/cC
/* | \
4056 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4057 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4060 # OSF1 and SCO ODT 3.0 have their own names for install.
4061 # Don't use installbsd from OSF since it installs stuff as root
4063 for ac_prog
in ginstall scoinst
install; do
4064 for ac_exec_ext
in '' $ac_executable_extensions; do
4065 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4066 if test $ac_prog = install &&
4067 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4068 # AIX install. It has an incompatible calling convention.
4070 elif test $ac_prog = install &&
4071 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4072 # program-specific install script used by HP pwplus--don't use.
4075 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4087 if test "${ac_cv_path_install+set}" = set; then
4088 INSTALL
=$ac_cv_path_install
4090 # As a last resort, use the slow shell script. We don't cache a
4091 # path for INSTALL within a source directory, because that will
4092 # break other packages using the cache if that directory is
4093 # removed, or if the path is relative.
4094 INSTALL
=$ac_install_sh
4097 echo "$as_me:$LINENO: result: $INSTALL" >&5
4098 echo "${ECHO_T}$INSTALL" >&6
4100 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4101 # It thinks the first close brace ends the variable substitution.
4102 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4104 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4106 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4109 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4110 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4111 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4112 if test "${enable_maintainer_mode+set}" = set; then
4113 enableval
="$enable_maintainer_mode"
4114 USE_MAINTAINER_MODE
=$enableval
4116 USE_MAINTAINER_MODE
=no
4118 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4119 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4122 if test $USE_MAINTAINER_MODE = yes; then
4123 MAINTAINER_MODE_TRUE
=
4124 MAINTAINER_MODE_FALSE
='#'
4126 MAINTAINER_MODE_TRUE
='#'
4127 MAINTAINER_MODE_FALSE
=
4130 MAINT
=$MAINTAINER_MODE_TRUE
4134 .
${srcdir}/configure.
host
4136 case ${gc_basedir} in
4137 /* | A-Za-z
:/\\*) gc_flagbasedir
=${gc_basedir} ;;
4138 *) gc_flagbasedir
='$(top_builddir)/'${gc_basedir} ;;
4141 gc_cflags
="${gc_cflags} -Iinclude -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
4144 gc_cflags
="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
4149 GC_CFLAGS
=${gc_cflags}
4154 macro_version
='2.1a'
4155 macro_revision
='1.2435'
4168 ltmain
="$ac_aux_dir/ltmain.sh"
4178 # Check whether --enable-shared or --disable-shared was given.
4179 if test "${enable_shared+set}" = set; then
4180 enableval
="$enable_shared"
4181 p
=${PACKAGE-default}
4183 yes) enable_shared
=yes ;;
4184 no
) enable_shared
=no
;;
4187 # Look at the argument we got. We use all the common list separators.
4188 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4189 for pkg
in $enableval; do
4191 if test "X$pkg" = "X$p"; then
4209 # Check whether --enable-static or --disable-static was given.
4210 if test "${enable_static+set}" = set; then
4211 enableval
="$enable_static"
4212 p
=${PACKAGE-default}
4214 yes) enable_static
=yes ;;
4215 no
) enable_static
=no
;;
4218 # Look at the argument we got. We use all the common list separators.
4219 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4220 for pkg
in $enableval; do
4222 if test "X$pkg" = "X$p"; then
4241 # Check whether --with-pic or --without-pic was given.
4242 if test "${with_pic+set}" = set; then
4249 test -z "$pic_mode" && pic_mode
=default
4257 # Check whether --enable-fast-install or --disable-fast-install was given.
4258 if test "${enable_fast_install+set}" = set; then
4259 enableval
="$enable_fast_install"
4260 p
=${PACKAGE-default}
4262 yes) enable_fast_install
=yes ;;
4263 no
) enable_fast_install
=no
;;
4265 enable_fast_install
=no
4266 # Look at the argument we got. We use all the common list separators.
4267 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4268 for pkg
in $enableval; do
4270 if test "X$pkg" = "X$p"; then
4271 enable_fast_install
=yes
4278 enable_fast_install
=yes
4288 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4289 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4290 if test "${lt_cv_path_SED+set}" = set; then
4291 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 # Loop through the user's path and test for sed and gsed.
4294 # Then use that list of sed's as ones to test for truncation.
4295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4299 test -z "$as_dir" && as_dir
=.
4300 for lt_ac_prog
in sed gsed
; do
4301 for ac_exec_ext
in '' $ac_executable_extensions; do
4302 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4303 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4311 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4312 # along with /bin/sed that truncates output.
4313 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4314 test ! -f $lt_ac_sed && continue
4315 cat /dev
/null
> conftest.
in
4317 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4318 # Check for GNU sed and select it if it is found.
4319 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4320 lt_cv_path_SED
=$lt_ac_sed
4324 cat conftest.
in conftest.
in >conftest.tmp
4325 mv conftest.tmp conftest.
in
4326 cp conftest.
in conftest.
nl
4328 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4329 cmp -s conftest.out conftest.
nl ||
break
4330 # 10000 chars as input seems more than enough
4331 test $lt_ac_count -gt 10 && break
4332 lt_ac_count
=`expr $lt_ac_count + 1`
4333 if test $lt_ac_count -gt $lt_ac_max; then
4334 lt_ac_max
=$lt_ac_count
4335 lt_cv_path_SED
=$lt_ac_sed
4344 echo "$as_me:$LINENO: result: $SED" >&5
4345 echo "${ECHO_T}$SED" >&6
4347 test -z "$SED" && SED
=sed
4348 Xsed
="$SED -e 1s/^X//"
4360 echo "$as_me:$LINENO: checking for egrep" >&5
4361 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4362 if test "${ac_cv_prog_egrep+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4366 then ac_cv_prog_egrep
='grep -E'
4367 else ac_cv_prog_egrep
='egrep'
4370 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4371 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4372 EGREP
=$ac_cv_prog_egrep
4375 echo "$as_me:$LINENO: checking for fgrep" >&5
4376 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4377 if test "${ac_cv_prog_fgrep+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4381 then ac_cv_prog_fgrep
='grep -F'
4382 else ac_cv_prog_fgrep
='fgrep'
4385 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4386 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4387 FGREP
=$ac_cv_prog_fgrep
4390 test -z "$GREP" && GREP
=grep
4410 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4411 if test "${with_gnu_ld+set}" = set; then
4412 withval
="$with_gnu_ld"
4413 test "$withval" = no || with_gnu_ld
=yes
4418 if test "$GCC" = yes; then
4419 # Check if gcc -print-prog-name=ld gives a path.
4420 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4421 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4424 # gcc leaves a trailing carriage return which upsets mingw
4425 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4427 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4430 # Accept absolute paths.
4432 re_direlt
='/[^/][^/]*/\.\./'
4433 # Canonicalize the pathname of ld
4434 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4435 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4436 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4438 test -z "$LD" && LD
="$ac_prog"
4441 # If it fails, then pretend we aren't using GCC.
4445 # If it is relative, then search for the first ld in PATH.
4449 elif test "$with_gnu_ld" = yes; then
4450 echo "$as_me:$LINENO: checking for GNU ld" >&5
4451 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4453 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4454 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4456 if test "${lt_cv_path_LD+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4459 if test -z "$LD"; then
4460 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4461 for ac_dir
in $PATH; do
4463 test -z "$ac_dir" && ac_dir
=.
4464 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4465 lt_cv_path_LD
="$ac_dir/$ac_prog"
4466 # Check to see if the program is GNU ld. I'd rather use --version,
4467 # but apparently some variants of GNU ld only accept -v.
4468 # Break only if it was the GNU/non-GNU ld that we prefer.
4469 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4470 *GNU
* |
*'with BFD'*)
4471 test "$with_gnu_ld" != no
&& break
4474 test "$with_gnu_ld" != yes && break
4481 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4486 if test -n "$LD"; then
4487 echo "$as_me:$LINENO: result: $LD" >&5
4488 echo "${ECHO_T}$LD" >&6
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4493 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4494 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4495 { (exit 1); exit 1; }; }
4496 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4497 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4498 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4499 echo $ECHO_N "(cached) $ECHO_C" >&6
4501 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4502 case `$LD -v 2>&1 </dev/null` in
4503 *GNU
* |
*'with BFD'*)
4504 lt_cv_prog_gnu_ld
=yes
4507 lt_cv_prog_gnu_ld
=no
4511 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4512 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4513 with_gnu_ld
=$lt_cv_prog_gnu_ld
4524 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4525 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4526 if test "${lt_cv_path_NM+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 if test -n "$NM"; then
4530 # Let the user override the test.
4533 lt_nm_to_check
="${ac_tool_prefix}nm"
4534 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4535 lt_nm_to_check
="$lt_nm_to_check nm"
4537 for lt_tmp_nm
in $lt_nm_to_check; do
4538 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4539 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4541 test -z "$ac_dir" && ac_dir
=.
4542 tmp_nm
="$ac_dir/$lt_tmp_nm"
4543 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4544 # Check to see if the nm accepts a BSD-compat flag.
4545 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4546 # nm: unknown option "B" ignored
4547 # Tru64's nm complains that /dev/null is an invalid object file
4548 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4549 */dev
/null
* |
*'Invalid file or object type'*)
4550 lt_cv_path_NM
="$tmp_nm -B"
4554 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4556 lt_cv_path_NM
="$tmp_nm -p"
4560 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4561 continue # so that we can try to find one that supports BSD flags
4570 : ${lt_cv_path_NM=no}
4573 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4574 echo "${ECHO_T}$lt_cv_path_NM" >&6
4575 if test "$lt_cv_path_NM" != "no"; then
4578 # Didn't find any BSD compatible name lister, look for dumpbin.
4579 if test -n "$ac_tool_prefix"; then
4580 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4582 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4583 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4584 echo "$as_me:$LINENO: checking for $ac_word" >&5
4585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4586 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4587 echo $ECHO_N "(cached) $ECHO_C" >&6
4589 if test -n "$DUMPBIN"; then
4590 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir
=.
4597 for ac_exec_ext
in '' $ac_executable_extensions; do
4598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4608 DUMPBIN
=$ac_cv_prog_DUMPBIN
4609 if test -n "$DUMPBIN"; then
4610 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4611 echo "${ECHO_T}$DUMPBIN" >&6
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4617 test -n "$DUMPBIN" && break
4620 if test -z "$DUMPBIN"; then
4621 ac_ct_DUMPBIN
=$DUMPBIN
4622 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4624 # Extract the first word of "$ac_prog", so it can be a program name with args.
4625 set dummy
$ac_prog; ac_word
=$2
4626 echo "$as_me:$LINENO: checking for $ac_word" >&5
4627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4628 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4629 echo $ECHO_N "(cached) $ECHO_C" >&6
4631 if test -n "$ac_ct_DUMPBIN"; then
4632 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir
=.
4639 for ac_exec_ext
in '' $ac_executable_extensions; do
4640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4641 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4651 if test -n "$ac_ct_DUMPBIN"; then
4652 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4653 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4659 test -n "$ac_ct_DUMPBIN" && break
4661 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4663 DUMPBIN
=$ac_ct_DUMPBIN
4667 if test "$DUMPBIN" != ":"; then
4671 test -z "$NM" && NM
=nm
4678 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4679 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4680 if test "${lt_cv_nm_interface+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4683 lt_cv_nm_interface
="BSD nm"
4684 echo "int some_variable = 0;" > conftest.
$ac_ext
4685 (eval echo "\"\$as_me:4685: $ac_compile\"" >&5)
4686 (eval "$ac_compile" 2>conftest.err
)
4687 cat conftest.err
>&5
4688 (eval echo "\"\$as_me:4688: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4689 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4690 cat conftest.err
>&5
4691 (eval echo "\"\$as_me:4691: output\"" >&5)
4692 cat conftest.out
>&5
4693 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4694 lt_cv_nm_interface
="MS dumpbin"
4698 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4699 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4701 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4702 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4704 if test "$LN_S" = "ln -s"; then
4705 echo "$as_me:$LINENO: result: yes" >&5
4706 echo "${ECHO_T}yes" >&6
4708 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4709 echo "${ECHO_T}no, using $LN_S" >&6
4712 # find the maximum length of command line arguments
4713 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4714 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4715 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4716 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 # On DJGPP, this test can blow up pretty badly due to problems in libc
4724 # (any single argument exceeding 2000 bytes causes a buffer overrun
4725 # during glob expansion). Even if it were fixed, the result of this
4726 # check would be larger than it should be.
4727 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4731 # Under GNU Hurd, this test is not required because there is
4732 # no limit to the length of command line arguments.
4733 # Libtool will interpret -1 as no limit whatsoever
4734 lt_cv_sys_max_cmd_len
=-1;
4738 # On Win9x/ME, this test blows up -- it succeeds, but takes
4739 # about 5 minutes as the teststring grows exponentially.
4740 # Worse, since 9x/ME are not pre-emptively multitasking,
4741 # you end up with a "frozen" computer, even though with patience
4742 # the test eventually succeeds (with a max line length of 256k).
4743 # Instead, let's just punt: use the minimum linelength reported by
4744 # all of the supported platforms: 8192 (on NT/2K/XP).
4745 lt_cv_sys_max_cmd_len
=8192;
4749 # On AmigaOS with pdksh, this test takes hours, literally.
4750 # So we just punt and use a minimum line length of 8192.
4751 lt_cv_sys_max_cmd_len
=8192;
4754 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4755 # This has been around since 386BSD, at least. Likely further.
4756 if test -x /sbin
/sysctl
; then
4757 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4758 elif test -x /usr
/sbin
/sysctl
; then
4759 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4761 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4763 # And add a safety zone
4764 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4765 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4769 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4770 lt_cv_sys_max_cmd_len
=196608
4774 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4775 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4776 # nice to cause kernel panics so lets avoid the loop below.
4777 # First set a reasonable default.
4778 lt_cv_sys_max_cmd_len
=16384
4780 if test -x /sbin
/sysconfig
; then
4781 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4782 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4787 lt_cv_sys_max_cmd_len
=102400
4789 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4790 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4791 if test -n "$kargmax"; then
4792 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4794 lt_cv_sys_max_cmd_len
=32768
4798 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4799 if test -n $lt_cv_sys_max_cmd_len; then
4800 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4801 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4803 # Make teststring a little bigger before we do anything with it.
4804 # a 1K string should be a reasonable start.
4805 for i
in 1 2 3 4 5 6 7 8 ; do
4806 teststring
=$teststring$teststring
4808 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4809 # If test is not a shell built-in, we'll probably end up computing a
4810 # maximum length that is only half of the actual maximum length, but
4812 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4813 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4814 test $i != 17 # 1/2 MB should be enough
4817 teststring
=$teststring$teststring
4819 # Only check the string length outside the loop.
4820 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4822 # Add a significant safety factor because C++ compilers can tack on
4823 # massive amounts of additional arguments before passing them to the
4824 # linker. It appears as though 1/2 is a usable value.
4825 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4832 if test -n $lt_cv_sys_max_cmd_len ; then
4833 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4834 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4836 echo "$as_me:$LINENO: result: none" >&5
4837 echo "${ECHO_T}none" >&6
4839 max_cmd_len
=$lt_cv_sys_max_cmd_len
4851 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4852 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4853 # Try some XSI features
4856 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4857 = c,a/b,, ) >/dev/null 2>&1 \
4859 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4860 echo "${ECHO_T}$xsi_shell" >&6
4863 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4864 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4866 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4868 && lt_shell_append=yes
4869 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4870 echo "${ECHO_T}$lt_shell_append" >&6
4873 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4883 # test EBCDIC or ASCII
4884 case `echo X|tr X '\101'` in
4885 A) # ASCII based system
4886 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4887 lt_SP2NL='tr \040 \012'
4888 lt_NL2SP='tr \015\012 \040\040'
4890 *) # EBCDIC based system
4891 lt_SP2NL='tr \100 \n'
4892 lt_NL2SP='tr \r\n \100\100'
4904 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4905 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4906 if test "${lt_cv_ld_reload_flag+set}" = set; then
4907 echo $ECHO_N "(cached
) $ECHO_C" >&6
4909 lt_cv_ld_reload_flag='-r'
4911 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4912 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4913 reload_flag=$lt_cv_ld_reload_flag
4914 case $reload_flag in
4916 *) reload_flag=" $reload_flag" ;;
4918 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4921 if test "$GCC" = yes; then
4922 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4924 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4938 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4939 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4940 if test "${lt_cv_deplibs_check_method+set}" = set; then
4941 echo $ECHO_N "(cached
) $ECHO_C" >&6
4943 lt_cv_file_magic_cmd='$MAGIC_CMD'
4944 lt_cv_file_magic_test_file=
4945 lt_cv_deplibs_check_method='unknown'
4946 # Need to set the preceding variable on all platforms that support
4947 # interlibrary dependencies.
4948 # 'none' -- dependencies not supported.
4949 # `unknown' -- same as none, but documents that we really don't know.
4950 # 'pass_all' -- all dependencies passed with no checks.
4951 # 'test_compile' -- check by making test program.
4952 # 'file_magic [[regex]]' -- check by looking for files in library path
4953 # which responds to the $file_magic_cmd with a given extended regex.
4954 # If you have `file' or equivalent on your system and you're not sure
4955 # whether `pass_all' will *always* work, you probably want this one.
4959 lt_cv_deplibs_check_method=pass_all
4963 lt_cv_deplibs_check_method=pass_all
4967 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4968 lt_cv_file_magic_cmd='/usr/bin/file -L'
4969 lt_cv_file_magic_test_file=/shlib/libc.so
4973 # func_win32_libid is a shell function defined in ltmain.sh
4974 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4975 lt_cv_file_magic_cmd='func_win32_libid'
4979 # Base MSYS/MinGW do not provide the 'file' command needed by
4980 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4981 # unless we find 'file', for example because we are cross-compiling.
4982 if ( file / ) >/dev/null 2>&1; then
4983 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4984 lt_cv_file_magic_cmd='func_win32_libid'
4986 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4987 lt_cv_file_magic_cmd='$OBJDUMP -f'
4991 darwin* | rhapsody*)
4992 lt_cv_deplibs_check_method=pass_all
4995 freebsd* | dragonfly*)
4996 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4999 # Not sure whether the presence of OpenBSD here was a mistake.
5000 # Let's accept both of them until this is cleared up.
5001 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5002 lt_cv_file_magic_cmd=/usr/bin/file
5003 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5007 lt_cv_deplibs_check_method=pass_all
5012 lt_cv_deplibs_check_method=pass_all
5015 hpux10.20* | hpux11*)
5016 lt_cv_file_magic_cmd=/usr/bin/file
5019 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5020 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5023 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]'
5024 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5027 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5028 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5034 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5035 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5038 irix5* | irix6* | nonstopux*)
5040 *-32|*"-32 ") libmagic=32-bit;;
5041 *-n32|*"-n32 ") libmagic=N32;;
5042 *-64|*"-64 ") libmagic=64-bit;;
5043 *) libmagic=never-match;;
5045 lt_cv_deplibs_check_method=pass_all
5048 # This must be Linux ELF.
5049 linux* | k*bsd*-gnu)
5050 lt_cv_deplibs_check_method=pass_all
5054 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5055 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5057 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5062 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5063 lt_cv_file_magic_cmd=/usr/bin/file
5064 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5068 lt_cv_deplibs_check_method=pass_all
5072 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5073 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5075 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5079 osf3* | osf4* | osf5*)
5080 lt_cv_deplibs_check_method=pass_all
5084 lt_cv_deplibs_check_method=pass_all
5088 lt_cv_deplibs_check_method=pass_all
5091 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5092 lt_cv_deplibs_check_method=pass_all
5096 case $host_vendor in
5098 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]'
5099 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5102 lt_cv_deplibs_check_method=pass_all
5105 lt_cv_file_magic_cmd='/bin/file'
5106 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5109 lt_cv_file_magic_cmd='/bin/file'
5110 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5111 lt_cv_file_magic_test_file=/lib/libc.so
5114 lt_cv_deplibs_check_method=pass_all
5117 lt_cv_deplibs_check_method=pass_all
5123 lt_cv_deplibs_check_method=pass_all
5128 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5129 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5130 file_magic_cmd=$lt_cv_file_magic_cmd
5131 deplibs_check_method=$lt_cv_deplibs_check_method
5132 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5145 if test -n "$ac_tool_prefix"; then
5146 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5147 set dummy ${ac_tool_prefix}ar; ac_word=$2
5148 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5149 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5150 if test "${ac_cv_prog_AR+set}" = set; then
5151 echo $ECHO_N "(cached
) $ECHO_C" >&6
5153 if test -n "$AR"; then
5154 ac_cv_prog_AR="$AR" # Let the user override the test.
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_AR="${ac_tool_prefix}ar"
5164 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5173 if test -n "$AR"; then
5174 echo "$as_me:$LINENO: result
: $AR" >&5
5175 echo "${ECHO_T}$AR" >&6
5177 echo "$as_me:$LINENO: result
: no
" >&5
5178 echo "${ECHO_T}no
" >&6
5182 if test -z "$ac_cv_prog_AR"; then
5184 # Extract the first word of "ar", so it can be a program name with args.
5185 set dummy ar; ac_word=$2
5186 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5187 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5188 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5189 echo $ECHO_N "(cached
) $ECHO_C" >&6
5191 if test -n "$ac_ct_AR"; then
5192 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5198 test -z "$as_dir" && as_dir=.
5199 for ac_exec_ext in '' $ac_executable_extensions; do
5200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_ac_ct_AR="ar"
5202 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5208 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5211 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5212 if test -n "$ac_ct_AR"; then
5213 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5214 echo "${ECHO_T}$ac_ct_AR" >&6
5216 echo "$as_me:$LINENO: result
: no
" >&5
5217 echo "${ECHO_T}no
" >&6
5225 test -z "$AR" && AR=ar
5226 test -z "$AR_FLAGS" && AR_FLAGS=cru
5238 if test -n "$ac_tool_prefix"; then
5239 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5240 set dummy ${ac_tool_prefix}strip; ac_word=$2
5241 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5242 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5243 if test "${ac_cv_prog_STRIP+set}" = set; then
5244 echo $ECHO_N "(cached
) $ECHO_C" >&6
5246 if test -n "$STRIP"; then
5247 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5257 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5265 STRIP=$ac_cv_prog_STRIP
5266 if test -n "$STRIP"; then
5267 echo "$as_me:$LINENO: result
: $STRIP" >&5
5268 echo "${ECHO_T}$STRIP" >&6
5270 echo "$as_me:$LINENO: result
: no
" >&5
5271 echo "${ECHO_T}no
" >&6
5275 if test -z "$ac_cv_prog_STRIP"; then
5277 # Extract the first word of "strip
", so it can be a program name with args.
5278 set dummy strip; ac_word=$2
5279 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5280 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5281 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5282 echo $ECHO_N "(cached
) $ECHO_C" >&6
5284 if test -n "$ac_ct_STRIP"; then
5285 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir=.
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_ac_ct_STRIP="strip
"
5295 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5301 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5304 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5305 if test -n "$ac_ct_STRIP"; then
5306 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5307 echo "${ECHO_T}$ac_ct_STRIP" >&6
5309 echo "$as_me:$LINENO: result
: no
" >&5
5310 echo "${ECHO_T}no
" >&6
5315 STRIP="$ac_cv_prog_STRIP"
5318 test -z "$STRIP" && STRIP=:
5325 if test -n "$ac_tool_prefix"; then
5326 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5328 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5329 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5330 if test "${ac_cv_prog_RANLIB+set}" = set; then
5331 echo $ECHO_N "(cached
) $ECHO_C" >&6
5333 if test -n "$RANLIB"; then
5334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5340 test -z "$as_dir" && as_dir=.
5341 for ac_exec_ext in '' $ac_executable_extensions; do
5342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5343 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5344 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5352 RANLIB=$ac_cv_prog_RANLIB
5353 if test -n "$RANLIB"; then
5354 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5355 echo "${ECHO_T}$RANLIB" >&6
5357 echo "$as_me:$LINENO: result
: no
" >&5
5358 echo "${ECHO_T}no
" >&6
5362 if test -z "$ac_cv_prog_RANLIB"; then
5363 ac_ct_RANLIB=$RANLIB
5364 # Extract the first word of "ranlib
", so it can be a program name with args.
5365 set dummy ranlib; ac_word=$2
5366 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5367 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5368 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5369 echo $ECHO_N "(cached
) $ECHO_C" >&6
5371 if test -n "$ac_ct_RANLIB"; then
5372 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5378 test -z "$as_dir" && as_dir=.
5379 for ac_exec_ext in '' $ac_executable_extensions; do
5380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5381 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5382 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5388 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5391 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5392 if test -n "$ac_ct_RANLIB"; then
5393 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5394 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5396 echo "$as_me:$LINENO: result
: no
" >&5
5397 echo "${ECHO_T}no
" >&6
5400 RANLIB=$ac_ct_RANLIB
5402 RANLIB="$ac_cv_prog_RANLIB"
5405 test -z "$RANLIB" && RANLIB=:
5412 # Determine commands to create old-style static archives.
5413 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5414 old_postinstall_cmds='chmod 644 $oldlib'
5415 old_postuninstall_cmds=
5417 if test -n "$RANLIB"; then
5420 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5423 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5426 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5462 # If no C compiler was specified, use CC.
5465 # If no C compiler flags were specified, use CFLAGS.
5466 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5468 # Allow CC to be a program name with arguments.
5472 # Check for command to grab the raw symbol name followed by C symbol from nm.
5473 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5474 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5475 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5476 echo $ECHO_N "(cached
) $ECHO_C" >&6
5479 # These are sane defaults that work on at least a few old systems.
5480 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5482 # Character class describing NM global symbol codes.
5483 symcode='[BCDEGRST]'
5485 # Regexp to match symbols that can be accessed directly from C.
5486 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5488 # Define system-specific variables.
5493 cygwin* | mingw* | pw32*)
5494 symcode='[ABCDGISTW]'
5497 if test "$host_cpu" = ia64; then
5498 symcode='[ABCDEGRST]'
5502 symcode='[BCDEGRST]'
5505 symcode='[BCDEGQRST]'
5516 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5524 # If we're using GNU nm, then use its standard symbol codes.
5525 case `$NM -V 2>&1` in
5526 *GNU* | *'with BFD'*)
5527 symcode='[ABCDGIRSTW]' ;;
5530 # Transform an extracted symbol line into a proper C declaration.
5531 # Some systems (esp. on ia64) link data and code symbols differently,
5532 # so use this general approach.
5533 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5535 # Transform an extracted symbol line into symbol name and symbol address
5536 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5538 # Handle CRLF in mingw tool chain
5542 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5546 # Try without a prefix underscore, then with it.
5547 for ac_symprfx in "" "_
"; do
5549 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5550 symxfrm="\\1 $ac_symprfx\\2 \\2"
5552 # Write the raw and C identifiers.
5553 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5554 # Fake it for dumpbin and say T for any non-static function
5555 # and D for any global variable.
5556 # Also find C++ and __fastcall symbols from MSVC++,
5557 # which start with @ or ?.
5558 lt_cv_sys_global_symbol_pipe="$AWK '"\
5559 " {last_section=section; section=\$ 3};"\
5560 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5561 " \$ 0!~/External *\|/{next};"\
5562 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5563 " {if(hide[section]) next};"\
5564 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5565 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5566 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5567 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5568 " ' prfx
=^
$ac_symprfx"
5570 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5573 # Check to see that the pipe works correctly.
5577 cat > conftest.$ac_ext <<_LT_EOF
5582 void nm_test_func(void);
5583 void nm_test_func(void){}
5587 int main(){nm_test_var='a';nm_test_func();return(0);}
5590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5591 (eval $ac_compile) 2>&5
5593 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5594 (exit $ac_status); }; then
5595 # Now try to grab the symbols.
5597 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5598 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5601 (exit $ac_status); } && test -s "$nlist"; then
5602 # Try sorting and uniquifying the output.
5603 if sort "$nlist" | uniq > "$nlist"T; then
5604 mv -f "$nlist"T "$nlist"
5609 # Make sure that we snagged all the symbols we need.
5610 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5611 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5612 cat <<_LT_EOF > conftest.$ac_ext
5618 # Now generate the symbol file.
5619 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5621 cat <<_LT_EOF >> conftest.$ac_ext
5623 /* The mapping between symbol names and symbols. */
5628 lt__PROGRAM__LTX_preloaded_symbols[] =
5630 { "@PROGRAM@
", (void *) 0 },
5632 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5633 cat <<\_LT_EOF >> conftest.$ac_ext
5637 /* This works around a problem in FreeBSD linker */
5638 #ifdef FREEBSD_WORKAROUND
5639 static const void *lt_preloaded_setup() {
5640 return lt__PROGRAM__LTX_preloaded_symbols;
5648 # Now try linking the two files.
5649 mv conftest.$ac_objext conftstm.$ac_objext
5650 lt_save_LIBS="$LIBS"
5651 lt_save_CFLAGS="$CFLAGS"
5652 LIBS="conftstm.
$ac_objext"
5653 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5655 (eval $ac_link) 2>&5
5657 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5658 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5661 LIBS="$lt_save_LIBS"
5662 CFLAGS="$lt_save_CFLAGS"
5664 echo "cannot
find nm_test_func
in $nlist" >&5
5667 echo "cannot
find nm_test_var
in $nlist" >&5
5670 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5673 echo "$progname: failed program was
:" >&5
5674 cat conftest.$ac_ext >&5
5676 rm -f conftest* conftst*
5678 # Do not use the global_symbol_pipe unless it works.
5679 if test "$pipe_works" = yes; then
5682 lt_cv_sys_global_symbol_pipe=
5688 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5689 lt_cv_sys_global_symbol_to_cdecl=
5691 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5692 echo "$as_me:$LINENO: result
: failed
" >&5
5693 echo "${ECHO_T}failed
" >&6
5695 echo "$as_me:$LINENO: result
: ok
" >&5
5696 echo "${ECHO_T}ok
" >&6
5716 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5717 if test "${enable_libtool_lock+set}" = set; then
5718 enableval="$enable_libtool_lock"
5721 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5723 # Some flags need to be propagated to the compiler or linker for good
5727 # Find out which ABI we are using.
5728 echo 'int i;' > conftest.$ac_ext
5729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5730 (eval $ac_compile) 2>&5
5732 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5733 (exit $ac_status); }; then
5734 case `/usr/bin/file conftest.$ac_objext` in
5746 # Find out which ABI we are using.
5747 echo '#line 5747 "configure
"' > conftest.$ac_ext
5748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5749 (eval $ac_compile) 2>&5
5751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5752 (exit $ac_status); }; then
5753 if test "$lt_cv_prog_gnu_ld" = yes; then
5754 case `/usr/bin/file conftest.$ac_objext` in
5756 LD="${LD-ld} -melf32bsmip"
5759 LD="${LD-ld} -melf32bmipn32"
5762 LD="${LD-ld} -melf64bmip"
5766 case `/usr/bin/file conftest.$ac_objext` in
5782 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5783 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5784 # Find out which ABI we are using.
5785 echo 'int i;' > conftest.$ac_ext
5786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5787 (eval $ac_compile) 2>&5
5789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5790 (exit $ac_status); }; then
5791 case `/usr/bin/file conftest.o` in
5794 x86_64-*kfreebsd*-gnu)
5795 LD="${LD-ld} -m elf_i386_fbsd
"
5798 LD="${LD-ld} -m elf_i386
"
5800 ppc64-*linux*|powerpc64-*linux*)
5801 LD="${LD-ld} -m elf32ppclinux
"
5804 LD="${LD-ld} -m elf_s390
"
5807 LD="${LD-ld} -m elf32_sparc
"
5813 x86_64-*kfreebsd*-gnu)
5814 LD="${LD-ld} -m elf_x86_64_fbsd
"
5817 LD="${LD-ld} -m elf_x86_64
"
5819 ppc*-*linux*|powerpc*-*linux*)
5820 LD="${LD-ld} -m elf64ppc
"
5822 s390*-*linux*|s390*-*tpf*)
5823 LD="${LD-ld} -m elf64_s390
"
5826 LD="${LD-ld} -m elf64_sparc
"
5836 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5837 SAVE_CFLAGS="$CFLAGS"
5838 CFLAGS="$CFLAGS -belf"
5839 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5840 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5841 if test "${lt_cv_cc_needs_belf+set}" = set; then
5842 echo $ECHO_N "(cached
) $ECHO_C" >&6
5845 ac_cpp='$CPP $CPPFLAGS'
5846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5850 if test x$gcc_no_link = xyes; then
5851 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
5852 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
5853 { (exit 1); exit 1; }; }
5855 cat >conftest.$ac_ext <<_ACEOF
5858 cat confdefs.h >>conftest.$ac_ext
5859 cat >>conftest.$ac_ext <<_ACEOF
5860 /* end confdefs.h. */
5870 rm -f conftest.$ac_objext conftest$ac_exeext
5871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5872 (eval $ac_link) 2>conftest.er1
5874 grep -v '^ *+' conftest.er1 >conftest.err
5876 cat conftest.err >&5
5877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5878 (exit $ac_status); } &&
5879 { ac_try='test -z "$ac_c_werror_flag"
5880 || test ! -s conftest.err'
5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5884 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5885 (exit $ac_status); }; } &&
5886 { ac_try='test -s conftest$ac_exeext'
5887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5890 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5891 (exit $ac_status); }; }; then
5892 lt_cv_cc_needs_belf=yes
5894 echo "$as_me: failed program was
:" >&5
5895 sed 's/^/| /' conftest.$ac_ext >&5
5897 lt_cv_cc_needs_belf=no
5899 rm -f conftest.err conftest.$ac_objext \
5900 conftest$ac_exeext conftest.$ac_ext
5902 ac_cpp='$CPP $CPPFLAGS'
5903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5908 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5909 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5910 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5911 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5912 CFLAGS="$SAVE_CFLAGS"
5916 # Find out which ABI we are using.
5917 echo 'int i;' > conftest.$ac_ext
5918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5919 (eval $ac_compile) 2>&5
5921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5922 (exit $ac_status); }; then
5923 case `/usr/bin/file conftest.o` in
5925 case $lt_cv_prog_gnu_ld in
5926 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5927 *) LD="${LD-ld} -64" ;;
5936 need_locks="$enable_libtool_lock"
5939 ac_cpp='$CPP $CPPFLAGS'
5940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5943 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5944 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5945 # On Suns, sometimes $CPP names a directory.
5946 if test -n "$CPP" && test -d "$CPP"; then
5949 if test -z "$CPP"; then
5950 if test "${ac_cv_prog_CPP+set}" = set; then
5951 echo $ECHO_N "(cached
) $ECHO_C" >&6
5953 # Double quotes because CPP needs to be expanded
5954 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5957 for ac_c_preproc_warn_flag in '' yes
5959 # Use a header file that comes with gcc, so configuring glibc
5960 # with a fresh cross-compiler works.
5961 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5962 # <limits.h> exists even on freestanding compilers.
5963 # On the NeXT, cc -E runs the code through the compiler's parser,
5964 # not just through cpp. "Syntax error
" is here to catch this case.
5965 cat >conftest.$ac_ext <<_ACEOF
5968 cat confdefs.h >>conftest.$ac_ext
5969 cat >>conftest.$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5972 # include <limits.h>
5974 # include <assert.h>
5978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5981 grep -v '^ *+' conftest.er1 >conftest.err
5983 cat conftest.err >&5
5984 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5985 (exit $ac_status); } >/dev/null; then
5986 if test -s conftest.err; then
5987 ac_cpp_err=$ac_c_preproc_warn_flag
5988 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5995 if test -z "$ac_cpp_err"; then
5998 echo "$as_me: failed program was
:" >&5
5999 sed 's/^/| /' conftest.$ac_ext >&5
6001 # Broken: fails on valid input.
6004 rm -f conftest.err conftest.$ac_ext
6006 # OK, works on sane cases. Now check whether non-existent headers
6007 # can be detected and how.
6008 cat >conftest.$ac_ext <<_ACEOF
6011 cat confdefs.h >>conftest.$ac_ext
6012 cat >>conftest.$ac_ext <<_ACEOF
6013 /* end confdefs.h. */
6014 #include <ac_nonexistent.h>
6016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6019 grep -v '^ *+' conftest.er1 >conftest.err
6021 cat conftest.err >&5
6022 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6023 (exit $ac_status); } >/dev/null; then
6024 if test -s conftest.err; then
6025 ac_cpp_err=$ac_c_preproc_warn_flag
6026 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6033 if test -z "$ac_cpp_err"; then
6034 # Broken: success on invalid input.
6037 echo "$as_me: failed program was
:" >&5
6038 sed 's/^/| /' conftest.$ac_ext >&5
6040 # Passes both tests.
6044 rm -f conftest.err conftest.$ac_ext
6047 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6048 rm -f conftest.err conftest.$ac_ext
6049 if $ac_preproc_ok; then
6061 echo "$as_me:$LINENO: result
: $CPP" >&5
6062 echo "${ECHO_T}$CPP" >&6
6064 for ac_c_preproc_warn_flag in '' yes
6066 # Use a header file that comes with gcc, so configuring glibc
6067 # with a fresh cross-compiler works.
6068 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6069 # <limits.h> exists even on freestanding compilers.
6070 # On the NeXT, cc -E runs the code through the compiler's parser,
6071 # not just through cpp. "Syntax error
" is here to catch this case.
6072 cat >conftest.$ac_ext <<_ACEOF
6075 cat confdefs.h >>conftest.$ac_ext
6076 cat >>conftest.$ac_ext <<_ACEOF
6077 /* end confdefs.h. */
6079 # include <limits.h>
6081 # include <assert.h>
6085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6088 grep -v '^ *+' conftest.er1 >conftest.err
6090 cat conftest.err >&5
6091 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6092 (exit $ac_status); } >/dev/null; then
6093 if test -s conftest.err; then
6094 ac_cpp_err=$ac_c_preproc_warn_flag
6095 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6102 if test -z "$ac_cpp_err"; then
6105 echo "$as_me: failed program was
:" >&5
6106 sed 's/^/| /' conftest.$ac_ext >&5
6108 # Broken: fails on valid input.
6111 rm -f conftest.err conftest.$ac_ext
6113 # OK, works on sane cases. Now check whether non-existent headers
6114 # can be detected and how.
6115 cat >conftest.$ac_ext <<_ACEOF
6118 cat confdefs.h >>conftest.$ac_ext
6119 cat >>conftest.$ac_ext <<_ACEOF
6120 /* end confdefs.h. */
6121 #include <ac_nonexistent.h>
6123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6126 grep -v '^ *+' conftest.er1 >conftest.err
6128 cat conftest.err >&5
6129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6130 (exit $ac_status); } >/dev/null; then
6131 if test -s conftest.err; then
6132 ac_cpp_err=$ac_c_preproc_warn_flag
6133 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6140 if test -z "$ac_cpp_err"; then
6141 # Broken: success on invalid input.
6144 echo "$as_me: failed program was
:" >&5
6145 sed 's/^/| /' conftest.$ac_ext >&5
6147 # Passes both tests.
6151 rm -f conftest.err conftest.$ac_ext
6154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6155 rm -f conftest.err conftest.$ac_ext
6156 if $ac_preproc_ok; then
6159 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
6160 See \
`config.log' for more details." >&5
6161 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6162 See \`config.log
' for more details." >&2;}
6163 { (exit 1); exit 1; }; }
6167 ac_cpp='$CPP $CPPFLAGS'
6168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6169 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6173 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6174 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6175 if test "${ac_cv_header_stdc+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 cat >conftest.$ac_ext <<_ACEOF
6181 cat confdefs.h >>conftest.$ac_ext
6182 cat >>conftest.$ac_ext <<_ACEOF
6183 /* end confdefs.h. */
6197 rm -f conftest.$ac_objext
6198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6199 (eval $ac_compile) 2>conftest.er1
6201 grep -v '^
*+' conftest.er1 >conftest.err
6203 cat conftest.err >&5
6204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); } &&
6206 { ac_try='test -z "$ac_c_werror_flag"
6207 ||
test ! -s conftest.err
'
6208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); }; } &&
6213 { ac_try='test -s conftest.
$ac_objext'
6214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); }; }; then
6219 ac_cv_header_stdc=yes
6221 echo "$as_me: failed program was:" >&5
6222 sed 's
/^
/|
/' conftest.$ac_ext >&5
6224 ac_cv_header_stdc=no
6226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6228 if test $ac_cv_header_stdc = yes; then
6229 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6230 cat >conftest.$ac_ext <<_ACEOF
6233 cat confdefs.h >>conftest.$ac_ext
6234 cat >>conftest.$ac_ext <<_ACEOF
6235 /* end confdefs.h. */
6239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6240 $EGREP "memchr" >/dev/null 2>&1; then
6243 ac_cv_header_stdc=no
6249 if test $ac_cv_header_stdc = yes; then
6250 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6251 cat >conftest.$ac_ext <<_ACEOF
6254 cat confdefs.h >>conftest.$ac_ext
6255 cat >>conftest.$ac_ext <<_ACEOF
6256 /* end confdefs.h. */
6260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6261 $EGREP "free" >/dev/null 2>&1; then
6264 ac_cv_header_stdc=no
6270 if test $ac_cv_header_stdc = yes; then
6271 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6272 if test "$cross_compiling" = yes; then
6275 cat >conftest.$ac_ext <<_ACEOF
6278 cat confdefs.h >>conftest.$ac_ext
6279 cat >>conftest.$ac_ext <<_ACEOF
6280 /* end confdefs.h. */
6282 #if ((' ' & 0x0FF) == 0x020)
6283 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6284 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6286 # define ISLOWER(c) \
6287 (('a
' <= (c) && (c) <= 'i
') \
6288 || ('j
' <= (c) && (c) <= 'r
') \
6289 || ('s
' <= (c) && (c) <= 'z
'))
6290 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6293 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6298 for (i = 0; i < 256; i++)
6299 if (XOR (islower (i), ISLOWER (i))
6300 || toupper (i) != TOUPPER (i))
6305 rm -f conftest$ac_exeext
6306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6307 (eval $ac_link) 2>&5
6309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); }; }; then
6318 echo "$as_me: program exited with status $ac_status" >&5
6319 echo "$as_me: failed program was:" >&5
6320 sed 's
/^
/|
/' conftest.$ac_ext >&5
6323 ac_cv_header_stdc=no
6325 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6329 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6330 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6331 if test $ac_cv_header_stdc = yes; then
6333 cat >>confdefs.h <<\_ACEOF
6334 #define STDC_HEADERS 1
6339 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6349 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6350 inttypes.h stdint.h unistd.h
6352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6353 echo "$as_me:$LINENO: checking for $ac_header" >&5
6354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6356 echo $ECHO_N "(cached) $ECHO_C" >&6
6358 cat >conftest.$ac_ext <<_ACEOF
6361 cat confdefs.h >>conftest.$ac_ext
6362 cat >>conftest.$ac_ext <<_ACEOF
6363 /* end confdefs.h. */
6364 $ac_includes_default
6366 #include <$ac_header>
6368 rm -f conftest.$ac_objext
6369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6370 (eval $ac_compile) 2>conftest.er1
6372 grep -v '^
*+' conftest.er1 >conftest.err
6374 cat conftest.err >&5
6375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 (exit $ac_status); } &&
6377 { ac_try='test -z "$ac_c_werror_flag"
6378 ||
test ! -s conftest.err
'
6379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); }; } &&
6384 { ac_try='test -s conftest.
$ac_objext'
6385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389 (exit $ac_status); }; }; then
6390 eval "$as_ac_Header=yes"
6392 echo "$as_me: failed program was:" >&5
6393 sed 's
/^
/|
/' conftest.$ac_ext >&5
6395 eval "$as_ac_Header=no"
6397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6402 cat >>confdefs.h <<_ACEOF
6403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6412 for ac_header in dlfcn.h
6414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6415 echo "$as_me:$LINENO: checking for $ac_header" >&5
6416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6418 echo $ECHO_N "(cached) $ECHO_C" >&6
6420 cat >conftest.$ac_ext <<_ACEOF
6423 cat confdefs.h >>conftest.$ac_ext
6424 cat >>conftest.$ac_ext <<_ACEOF
6425 /* end confdefs.h. */
6426 $ac_includes_default
6428 #include <$ac_header>
6430 rm -f conftest.$ac_objext
6431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6432 (eval $ac_compile) 2>conftest.er1
6434 grep -v '^
*+' conftest.er1 >conftest.err
6436 cat conftest.err >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } &&
6439 { ac_try='test -z "$ac_c_werror_flag"
6440 ||
test ! -s conftest.err
'
6441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); }; } &&
6446 { ac_try='test -s conftest.
$ac_objext'
6447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); }; }; then
6452 eval "$as_ac_Header=yes"
6454 echo "$as_me: failed program was:" >&5
6455 sed 's
/^
/|
/' conftest.$ac_ext >&5
6457 eval "$as_ac_Header=no"
6459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6464 cat >>confdefs.h <<_ACEOF
6465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6475 ac_cpp='$CXXCPP $CPPFLAGS'
6476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6477 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6479 if test -n "$ac_tool_prefix"; then
6480 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6482 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6483 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6484 echo "$as_me:$LINENO: checking for $ac_word" >&5
6485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6486 if test "${ac_cv_prog_CXX+set}" = set; then
6487 echo $ECHO_N "(cached) $ECHO_C" >&6
6489 if test -n "$CXX"; then
6490 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 test -z "$as_dir" && as_dir=.
6497 for ac_exec_ext in '' $ac_executable_extensions; do
6498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6499 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6509 if test -n "$CXX"; then
6510 echo "$as_me:$LINENO: result: $CXX" >&5
6511 echo "${ECHO_T}$CXX" >&6
6513 echo "$as_me:$LINENO: result: no" >&5
6514 echo "${ECHO_T}no" >&6
6517 test -n "$CXX" && break
6520 if test -z "$CXX"; then
6522 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6524 # Extract the first word of "$ac_prog", so it can be a program name with args.
6525 set dummy $ac_prog; ac_word=$2
6526 echo "$as_me:$LINENO: checking for $ac_word" >&5
6527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6528 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6529 echo $ECHO_N "(cached) $ECHO_C" >&6
6531 if test -n "$ac_ct_CXX"; then
6532 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6541 ac_cv_prog_ac_ct_CXX="$ac_prog"
6542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6550 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6551 if test -n "$ac_ct_CXX"; then
6552 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6553 echo "${ECHO_T}$ac_ct_CXX" >&6
6555 echo "$as_me:$LINENO: result: no" >&5
6556 echo "${ECHO_T}no" >&6
6559 test -n "$ac_ct_CXX" && break
6561 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6567 # Provide some information about the compiler.
6568 echo "$as_me:$LINENO:" \
6569 "checking for C++ compiler version" >&5
6570 ac_compiler=`set X $ac_compile; echo $2`
6571 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6572 (eval $ac_compiler --version </dev/null >&5) 2>&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }
6576 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6577 (eval $ac_compiler -v </dev/null >&5) 2>&5
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); }
6581 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6582 (eval $ac_compiler -V </dev/null >&5) 2>&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }
6587 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6588 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6589 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6590 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 cat >conftest.$ac_ext <<_ACEOF
6595 cat confdefs.h >>conftest.$ac_ext
6596 cat >>conftest.$ac_ext <<_ACEOF
6597 /* end confdefs.h. */
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612 (eval $ac_compile) 2>conftest.er1
6614 grep -v '^
*+' conftest.er1 >conftest.err
6616 cat conftest.err >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } &&
6619 { ac_try='test -z "$ac_cxx_werror_flag"
6620 ||
test ! -s conftest.err
'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; } &&
6626 { ac_try='test -s conftest.
$ac_objext'
6627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; }; then
6634 echo "$as_me: failed program was:" >&5
6635 sed 's
/^
/|
/' conftest.$ac_ext >&5
6639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6640 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6643 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6644 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6645 GXX=`test $ac_compiler_gnu = yes && echo yes`
6646 ac_test_CXXFLAGS=${CXXFLAGS+set}
6647 ac_save_CXXFLAGS=$CXXFLAGS
6649 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6650 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6651 if test "${ac_cv_prog_cxx_g+set}" = set; then
6652 echo $ECHO_N "(cached) $ECHO_C" >&6
6654 cat >conftest.$ac_ext <<_ACEOF
6657 cat confdefs.h >>conftest.$ac_ext
6658 cat >>conftest.$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6669 rm -f conftest.$ac_objext
6670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6671 (eval $ac_compile) 2>conftest.er1
6673 grep -v '^
*+' conftest.er1 >conftest.err
6675 cat conftest.err >&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); } &&
6678 { ac_try='test -z "$ac_cxx_werror_flag"
6679 ||
test ! -s conftest.err
'
6680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); }; } &&
6685 { ac_try='test -s conftest.
$ac_objext'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; }; then
6691 ac_cv_prog_cxx_g=yes
6693 echo "$as_me: failed program was:" >&5
6694 sed 's
/^
/|
/' conftest.$ac_ext >&5
6698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6700 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6701 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6702 if test "$ac_test_CXXFLAGS" = set; then
6703 CXXFLAGS=$ac_save_CXXFLAGS
6704 elif test $ac_cv_prog_cxx_g = yes; then
6705 if test "$GXX" = yes; then
6711 if test "$GXX" = yes; then
6717 for ac_declaration in \
6719 'extern
"C" void std
::exit (int
) throw
(); using std
::exit;' \
6720 'extern
"C" void std
::exit (int
); using std
::exit;' \
6721 'extern
"C" void
exit (int
) throw
();' \
6722 'extern
"C" void
exit (int
);' \
6725 cat >conftest.$ac_ext <<_ACEOF
6728 cat confdefs.h >>conftest.$ac_ext
6729 cat >>conftest.$ac_ext <<_ACEOF
6730 /* end confdefs.h. */
6741 rm -f conftest.$ac_objext
6742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6743 (eval $ac_compile) 2>conftest.er1
6745 grep -v '^
*+' conftest.er1 >conftest.err
6747 cat conftest.err >&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); } &&
6750 { ac_try='test -z "$ac_cxx_werror_flag"
6751 ||
test ! -s conftest.err
'
6752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); }; } &&
6757 { ac_try='test -s conftest.
$ac_objext'
6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); }; }; then
6765 echo "$as_me: failed program was:" >&5
6766 sed 's
/^
/|
/' conftest.$ac_ext >&5
6770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6771 cat >conftest.$ac_ext <<_ACEOF
6774 cat confdefs.h >>conftest.$ac_ext
6775 cat >>conftest.$ac_ext <<_ACEOF
6776 /* end confdefs.h. */
6786 rm -f conftest.$ac_objext
6787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6788 (eval $ac_compile) 2>conftest.er1
6790 grep -v '^
*+' conftest.er1 >conftest.err
6792 cat conftest.err >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); } &&
6795 { ac_try='test -z "$ac_cxx_werror_flag"
6796 ||
test ! -s conftest.err
'
6797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); }; } &&
6802 { ac_try='test -s conftest.
$ac_objext'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; }; then
6810 echo "$as_me: failed program was:" >&5
6811 sed 's
/^
/|
/' conftest.$ac_ext >&5
6814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6817 if test -n "$ac_declaration"; then
6818 echo '#ifdef __cplusplus' >>confdefs.h
6819 echo $ac_declaration >>confdefs.h
6820 echo '#endif' >>confdefs.h
6824 ac_cpp
='$CPP $CPPFLAGS'
6825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6829 depcc
="$CXX" am_compiler_list
=
6831 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6832 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6833 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6834 echo $ECHO_N "(cached) $ECHO_C" >&6
6836 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6837 # We make a subdir and do the tests there. Otherwise we can end up
6838 # making bogus files that we don't know about and never remove. For
6839 # instance it was reported that on HP-UX the gcc test will end up
6840 # making a dummy file named `D' -- because `-MD' means `put the output
6843 # Copy depcomp to subdir because otherwise we won't find it if we're
6844 # using a relative directory.
6845 cp "$am_depcomp" conftest.dir
6847 # We will build objects and dependencies in a subdirectory because
6848 # it helps to detect inapplicable dependency modes. For instance
6849 # both Tru64's cc and ICC support -MD to output dependencies as a
6850 # side effect of compilation, but ICC will put the dependencies in
6851 # the current directory while Tru64 will put them in the object
6855 am_cv_CXX_dependencies_compiler_type
=none
6856 if test "$am_compiler_list" = ""; then
6857 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6859 for depmode
in $am_compiler_list; do
6860 # Setup a source with many dependencies, because some compilers
6861 # like to wrap large dependency lists on column 80 (with \), and
6862 # we should not choose a depcomp mode which is confused by this.
6864 # We need to recreate these files for each test, as the compiler may
6865 # overwrite some of them when testing with obscure command lines.
6866 # This happens at least with the AIX C compiler.
6868 for i
in 1 2 3 4 5 6; do
6869 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6870 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6871 # Solaris 8's {/usr,}/bin/sh.
6872 touch sub
/conftst
$i.h
6874 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6878 # after this tag, mechanisms are not by side-effect, so they'll
6879 # only be used when explicitly requested
6880 if test "x$enable_dependency_tracking" = xyes
; then
6888 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6889 # mode. It turns out that the SunPro C++ compiler does not properly
6890 # handle `-M -o', and we need to detect this.
6891 if depmode
=$depmode \
6892 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6893 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6894 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6895 >/dev
/null
2>conftest.err
&&
6896 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6897 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6898 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6899 # icc doesn't choke on unknown options, it will just issue warnings
6900 # or remarks (even with -Werror). So we grep stderr for any message
6901 # that says an option was ignored or not supported.
6902 # When given -MP, icc 7.0 and 7.1 complain thusly:
6903 # icc: Command line warning: ignoring option '-M'; no argument required
6904 # The diagnosis changed in icc 8.0:
6905 # icc: Command line remark: option '-MP' not supported
6906 if (grep 'ignoring option' conftest.err ||
6907 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6908 am_cv_CXX_dependencies_compiler_type
=$depmode
6917 am_cv_CXX_dependencies_compiler_type
=none
6921 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6922 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6923 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6928 test "x$enable_dependency_tracking" != xno \
6929 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6930 am__fastdepCXX_TRUE
=
6931 am__fastdepCXX_FALSE
='#'
6933 am__fastdepCXX_TRUE
='#'
6934 am__fastdepCXX_FALSE
=
6938 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6939 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6940 (test "X$CXX" != "Xg++"))) ; then
6942 ac_cpp
='$CXXCPP $CPPFLAGS'
6943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6946 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6947 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6948 if test -z "$CXXCPP"; then
6949 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6950 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 # Double quotes because CXXCPP needs to be expanded
6953 for CXXCPP
in "$CXX -E" "/lib/cpp"
6956 for ac_cxx_preproc_warn_flag
in '' yes
6958 # Use a header file that comes with gcc, so configuring glibc
6959 # with a fresh cross-compiler works.
6960 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6961 # <limits.h> exists even on freestanding compilers.
6962 # On the NeXT, cc -E runs the code through the compiler's parser,
6963 # not just through cpp. "Syntax error" is here to catch this case.
6964 cat >conftest.
$ac_ext <<_ACEOF
6967 cat confdefs.h
>>conftest.
$ac_ext
6968 cat >>conftest.
$ac_ext <<_ACEOF
6969 /* end confdefs.h. */
6971 # include <limits.h>
6973 # include <assert.h>
6977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6978 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6980 grep -v '^ *+' conftest.er1
>conftest.err
6982 cat conftest.err
>&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); } >/dev
/null
; then
6985 if test -s conftest.err
; then
6986 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6987 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6994 if test -z "$ac_cpp_err"; then
6997 echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.
$ac_ext >&5
7000 # Broken: fails on valid input.
7003 rm -f conftest.err conftest.
$ac_ext
7005 # OK, works on sane cases. Now check whether non-existent headers
7006 # can be detected and how.
7007 cat >conftest.
$ac_ext <<_ACEOF
7010 cat confdefs.h
>>conftest.
$ac_ext
7011 cat >>conftest.
$ac_ext <<_ACEOF
7012 /* end confdefs.h. */
7013 #include <ac_nonexistent.h>
7015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7016 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7018 grep -v '^ *+' conftest.er1
>conftest.err
7020 cat conftest.err
>&5
7021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); } >/dev
/null
; then
7023 if test -s conftest.err
; then
7024 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7025 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7032 if test -z "$ac_cpp_err"; then
7033 # Broken: success on invalid input.
7036 echo "$as_me: failed program was:" >&5
7037 sed 's/^/| /' conftest.
$ac_ext >&5
7039 # Passes both tests.
7043 rm -f conftest.err conftest.
$ac_ext
7046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7047 rm -f conftest.err conftest.
$ac_ext
7048 if $ac_preproc_ok; then
7053 ac_cv_prog_CXXCPP
=$CXXCPP
7056 CXXCPP
=$ac_cv_prog_CXXCPP
7058 ac_cv_prog_CXXCPP
=$CXXCPP
7060 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7061 echo "${ECHO_T}$CXXCPP" >&6
7063 for ac_cxx_preproc_warn_flag
in '' yes
7065 # Use a header file that comes with gcc, so configuring glibc
7066 # with a fresh cross-compiler works.
7067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7068 # <limits.h> exists even on freestanding compilers.
7069 # On the NeXT, cc -E runs the code through the compiler's parser,
7070 # not just through cpp. "Syntax error" is here to catch this case.
7071 cat >conftest.
$ac_ext <<_ACEOF
7074 cat confdefs.h
>>conftest.
$ac_ext
7075 cat >>conftest.
$ac_ext <<_ACEOF
7076 /* end confdefs.h. */
7078 # include <limits.h>
7080 # include <assert.h>
7084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7085 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7087 grep -v '^ *+' conftest.er1
>conftest.err
7089 cat conftest.err
>&5
7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 (exit $ac_status); } >/dev
/null
; then
7092 if test -s conftest.err
; then
7093 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7094 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7101 if test -z "$ac_cpp_err"; then
7104 echo "$as_me: failed program was:" >&5
7105 sed 's/^/| /' conftest.
$ac_ext >&5
7107 # Broken: fails on valid input.
7110 rm -f conftest.err conftest.
$ac_ext
7112 # OK, works on sane cases. Now check whether non-existent headers
7113 # can be detected and how.
7114 cat >conftest.
$ac_ext <<_ACEOF
7117 cat confdefs.h
>>conftest.
$ac_ext
7118 cat >>conftest.
$ac_ext <<_ACEOF
7119 /* end confdefs.h. */
7120 #include <ac_nonexistent.h>
7122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7125 grep -v '^ *+' conftest.er1
>conftest.err
7127 cat conftest.err
>&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); } >/dev
/null
; then
7130 if test -s conftest.err
; then
7131 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7132 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7139 if test -z "$ac_cpp_err"; then
7140 # Broken: success on invalid input.
7143 echo "$as_me: failed program was:" >&5
7144 sed 's/^/| /' conftest.
$ac_ext >&5
7146 # Passes both tests.
7150 rm -f conftest.err conftest.
$ac_ext
7153 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7154 rm -f conftest.err conftest.
$ac_ext
7155 if $ac_preproc_ok; then
7158 _lt_caught_CXX_error
=yes
7162 ac_cpp
='$CPP $CPPFLAGS'
7163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7168 _lt_caught_CXX_error
=yes
7175 # This can be used to rebuild libtool when needed
7176 LIBTOOL_DEPS
="$ltmain"
7178 # Always use our own libtool.
7179 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7205 test -z "$LN_S" && LN_S
="ln -s"
7220 if test -n "${ZSH_VERSION+set}" ; then
7221 setopt NO_GLOB_SUBST
7224 echo "$as_me:$LINENO: checking for objdir" >&5
7225 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7226 if test "${lt_cv_objdir+set}" = set; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7229 rm -f .libs
2>/dev
/null
7230 mkdir .libs
2>/dev
/null
7231 if test -d .libs
; then
7234 # MS-DOS does not allow filenames that begin with a dot.
7237 rmdir .libs
2>/dev
/null
7239 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7240 echo "${ECHO_T}$lt_cv_objdir" >&6
7241 objdir
=$lt_cv_objdir
7247 cat >>confdefs.h
<<_ACEOF
7248 #define LT_OBJDIR "$lt_cv_objdir/"
7269 # AIX sometimes has problems with the GCC collect2 program. For some
7270 # reason, if we set the COLLECT_NAMES environment variable, the problems
7271 # vanish in a puff of smoke.
7272 if test "X${COLLECT_NAMES+set}" != Xset
; then
7274 export COLLECT_NAMES
7279 # Sed substitution that helps us do robust quoting. It backslashifies
7280 # metacharacters that are still active within double-quoted strings.
7281 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7283 # Same as above, but do not quote variable references.
7284 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7286 # Sed substitution to delay expansion of an escaped shell variable in a
7287 # double_quote_subst'ed string.
7288 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7290 # Sed substitution to delay expansion of an escaped single quote.
7291 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7293 # Sed substitution to avoid accidental globbing in evaled expressions
7294 no_glob_subst
='s/\*/\\\*/g'
7298 can_build_shared
=yes
7300 # All known linkers require a `.a' archive for static linking (except MSVC,
7301 # which needs '.lib').
7304 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7307 old_CFLAGS
="$CFLAGS"
7309 # Set sane defaults for various variables
7310 test -z "$CC" && CC
=cc
7311 test -z "$LTCC" && LTCC
=$CC
7312 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7313 test -z "$LD" && LD
=ld
7314 test -z "$ac_objext" && ac_objext
=o
7316 for cc_temp
in $compiler""; do
7318 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7319 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7324 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7327 # Only perform the check for file, if the check method requires it
7328 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7329 case $deplibs_check_method in
7331 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7332 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7333 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7334 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7335 echo $ECHO_N "(cached) $ECHO_C" >&6
7339 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7342 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7343 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7344 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7345 for ac_dir
in $ac_dummy; do
7347 test -z "$ac_dir" && ac_dir
=.
7348 if test -f $ac_dir/${ac_tool_prefix}file; then
7349 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7350 if test -n "$file_magic_test_file"; then
7351 case $deplibs_check_method in
7353 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7354 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7355 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7356 $EGREP "$file_magic_regex" > /dev
/null
; then
7361 *** Warning: the command libtool uses to detect shared libraries,
7362 *** $file_magic_cmd, produces output that libtool cannot recognize.
7363 *** The result is that libtool may fail to recognize shared libraries
7364 *** as such. This will affect the creation of libtool libraries that
7365 *** depend on shared libraries, but programs linked with such libtool
7366 *** libraries will work regardless of this problem. Nevertheless, you
7367 *** may want to report the problem to your system manager and/or to
7368 *** bug-libtool@gnu.org
7378 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7383 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7384 if test -n "$MAGIC_CMD"; then
7385 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7386 echo "${ECHO_T}$MAGIC_CMD" >&6
7388 echo "$as_me:$LINENO: result: no" >&5
7389 echo "${ECHO_T}no" >&6
7396 if test -z "$lt_cv_path_MAGIC_CMD"; then
7397 if test -n "$ac_tool_prefix"; then
7398 echo "$as_me:$LINENO: checking for file" >&5
7399 echo $ECHO_N "checking for file... $ECHO_C" >&6
7400 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7401 echo $ECHO_N "(cached) $ECHO_C" >&6
7405 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7408 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7409 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7410 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7411 for ac_dir
in $ac_dummy; do
7413 test -z "$ac_dir" && ac_dir
=.
7414 if test -f $ac_dir/file; then
7415 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7416 if test -n "$file_magic_test_file"; then
7417 case $deplibs_check_method in
7419 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7420 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7421 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7422 $EGREP "$file_magic_regex" > /dev
/null
; then
7427 *** Warning: the command libtool uses to detect shared libraries,
7428 *** $file_magic_cmd, produces output that libtool cannot recognize.
7429 *** The result is that libtool may fail to recognize shared libraries
7430 *** as such. This will affect the creation of libtool libraries that
7431 *** depend on shared libraries, but programs linked with such libtool
7432 *** libraries will work regardless of this problem. Nevertheless, you
7433 *** may want to report the problem to your system manager and/or to
7434 *** bug-libtool@gnu.org
7444 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7449 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7450 if test -n "$MAGIC_CMD"; then
7451 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7452 echo "${ECHO_T}$MAGIC_CMD" >&6
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7468 # Use C for the default configuration in the libtool script
7472 ac_cpp
='$CPP $CPPFLAGS'
7473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7478 # Source file extension for C test sources.
7481 # Object file extension for compiled C test sources.
7485 # Code to be used in simple compile tests
7486 lt_simple_compile_test_code
="int some_variable = 0;"
7488 # Code to be used in simple link tests
7489 lt_simple_link_test_code
='int main(){return(0);}'
7497 # If no C compiler was specified, use CC.
7500 # If no C compiler flags were specified, use CFLAGS.
7501 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7503 # Allow CC to be a program name with arguments.
7506 # Save the default compiler, since it gets overwritten when the other
7507 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7508 compiler_DEFAULT
=$CC
7510 # save warnings/boilerplate of simple test code
7511 ac_outfile
=conftest.
$ac_objext
7512 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7513 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7514 _lt_compiler_boilerplate
=`cat conftest.err`
7517 ac_outfile
=conftest.
$ac_objext
7518 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7519 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7520 _lt_linker_boilerplate
=`cat conftest.err`
7525 ## There is no encapsulation within the following macros, do not change
7526 ## the running order or otherwise move them around unless you know exactly
7527 ## what you are doing...
7528 if test -n "$compiler"; then
7530 lt_prog_compiler_no_builtin_flag
=
7532 if test "$GCC" = yes; then
7533 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7535 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7536 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7537 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7540 lt_cv_prog_compiler_rtti_exceptions
=no
7541 ac_outfile
=conftest.
$ac_objext
7542 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7543 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7544 # Insert the option either (1) after the last *FLAGS variable, or
7545 # (2) before a word containing "conftest.", or (3) at the end.
7546 # Note that $ac_compile itself does not contain backslashes and begins
7547 # with a dollar sign (not a hyphen), so the echo should work correctly.
7548 # The option is referenced via a variable to avoid confusing sed.
7549 lt_compile
=`echo "$ac_compile" | $SED \
7550 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7551 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7552 -e 's:$: $lt_compiler_flag:'`
7553 (eval echo "\"\$as_me:7553: $lt_compile\"" >&5)
7554 (eval "$lt_compile" 2>conftest.err
)
7556 cat conftest.err
>&5
7557 echo "$as_me:7557: \$? = $ac_status" >&5
7558 if (exit $ac_status) && test -s "$ac_outfile"; then
7559 # The compiler can only warn and ignore the option if not recognized
7560 # So say no if there are warnings other than the usual output.
7561 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7562 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7563 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7564 lt_cv_prog_compiler_rtti_exceptions
=yes
7570 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7571 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7573 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7574 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7586 lt_prog_compiler_wl
=
7587 lt_prog_compiler_pic
=
7588 lt_prog_compiler_static
=
7590 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7591 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7593 if test "$GCC" = yes; then
7594 lt_prog_compiler_wl
='-Wl,'
7595 lt_prog_compiler_static
='-static'
7599 # All AIX code is PIC.
7600 if test "$host_cpu" = ia64
; then
7601 # AIX 5 now supports IA64 processor
7602 lt_prog_compiler_static
='-Bstatic'
7607 if test "$host_cpu" = m68k
; then
7608 # FIXME: we need at least 68020 code to build shared libraries, but
7609 # adding the `-m68020' flag to GCC prevents building anything better,
7611 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7615 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7616 # PIC is the default for these OSes.
7619 mingw
* | cygwin
* | pw32
* | os2
*)
7620 # This hack is so that the source file can tell whether it is being
7621 # built for inclusion in a dll (and should export symbols for example).
7622 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7623 # (--disable-auto-import) libraries
7624 lt_prog_compiler_pic
='-DDLL_EXPORT'
7627 darwin
* | rhapsody
*)
7628 # PIC is the default on this platform
7629 # Common symbols not allowed in MH_DYLIB files
7630 lt_prog_compiler_pic
='-fno-common'
7634 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7641 lt_prog_compiler_pic
='-fPIC'
7647 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7648 # Instead, we relocate shared libraries at runtime.
7652 # Just because we use GCC doesn't mean we suddenly get shared libraries
7653 # on systems that don't support them.
7654 lt_prog_compiler_can_build_shared
=no
7659 # QNX uses GNU C++, but need to define -shared option too, otherwise
7661 lt_prog_compiler_pic
='-fPIC -shared'
7665 if test -d /usr
/nec
; then
7666 lt_prog_compiler_pic
=-Kconform_pic
7671 lt_prog_compiler_pic
='-fPIC'
7675 # PORTME Check for flag to pass linker flags through the system compiler.
7678 lt_prog_compiler_wl
='-Wl,'
7679 if test "$host_cpu" = ia64
; then
7680 # AIX 5 now supports IA64 processor
7681 lt_prog_compiler_static
='-Bstatic'
7683 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7687 # PIC is the default on this platform
7688 # Common symbols not allowed in MH_DYLIB files
7689 case $cc_basename in
7691 lt_prog_compiler_pic
='-qnocommon'
7692 lt_prog_compiler_wl
='-Wl,'
7697 mingw
* | cygwin
* | pw32
* | os2
*)
7698 # This hack is so that the source file can tell whether it is being
7699 # built for inclusion in a dll (and should export symbols for example).
7700 lt_prog_compiler_pic
='-DDLL_EXPORT'
7703 hpux9
* | hpux10
* | hpux11
*)
7704 lt_prog_compiler_wl
='-Wl,'
7705 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7712 lt_prog_compiler_pic
='+Z'
7715 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7716 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7719 irix5
* | irix6
* | nonstopux
*)
7720 lt_prog_compiler_wl
='-Wl,'
7721 # PIC (with -KPIC) is the default.
7722 lt_prog_compiler_static
='-non_shared'
7725 linux
* | k
*bsd
*-gnu)
7726 case $cc_basename in
7728 lt_prog_compiler_wl
='-Wl,'
7729 lt_prog_compiler_pic
='-KPIC'
7730 lt_prog_compiler_static
='-static'
7732 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7733 # Portland Group compilers (*not* the Pentium gcc compiler,
7734 # which looks to be a dead project)
7735 lt_prog_compiler_wl
='-Wl,'
7736 lt_prog_compiler_pic
='-fpic'
7737 lt_prog_compiler_static
='-Bstatic'
7740 lt_prog_compiler_wl
='-Wl,'
7741 # All Alpha code is PIC.
7742 lt_prog_compiler_static
='-non_shared'
7745 case `$CC -V 2>&1 | sed 5q` in
7748 lt_prog_compiler_pic
='-KPIC'
7749 lt_prog_compiler_static
='-Bstatic'
7750 lt_prog_compiler_wl
='-Wl,'
7753 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7754 lt_prog_compiler_pic
='-KPIC'
7755 lt_prog_compiler_static
='-Bstatic'
7756 lt_prog_compiler_wl
=''
7764 lt_prog_compiler_pic
='-KPIC'
7765 lt_prog_compiler_static
='-Bstatic'
7769 # QNX uses GNU C++, but need to define -shared option too, otherwise
7771 lt_prog_compiler_pic
='-fPIC -shared'
7774 osf3
* | osf4
* | osf5
*)
7775 lt_prog_compiler_wl
='-Wl,'
7776 # All OSF/1 code is PIC.
7777 lt_prog_compiler_static
='-non_shared'
7781 lt_prog_compiler_static
='-non_shared'
7785 lt_prog_compiler_pic
='-KPIC'
7786 lt_prog_compiler_static
='-Bstatic'
7787 case $cc_basename in
7789 lt_prog_compiler_wl
='-Qoption ld ';;
7791 lt_prog_compiler_wl
='-Wl,';;
7796 lt_prog_compiler_wl
='-Qoption ld '
7797 lt_prog_compiler_pic
='-PIC'
7798 lt_prog_compiler_static
='-Bstatic'
7801 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7802 lt_prog_compiler_wl
='-Wl,'
7803 lt_prog_compiler_pic
='-KPIC'
7804 lt_prog_compiler_static
='-Bstatic'
7808 if test -d /usr
/nec
;then
7809 lt_prog_compiler_pic
='-Kconform_pic'
7810 lt_prog_compiler_static
='-Bstatic'
7814 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7815 lt_prog_compiler_wl
='-Wl,'
7816 lt_prog_compiler_pic
='-KPIC'
7817 lt_prog_compiler_static
='-Bstatic'
7821 lt_prog_compiler_wl
='-Wl,'
7822 lt_prog_compiler_can_build_shared
=no
7826 lt_prog_compiler_pic
='-pic'
7827 lt_prog_compiler_static
='-Bstatic'
7831 lt_prog_compiler_can_build_shared
=no
7837 # For platforms which do not support PIC, -DPIC is meaningless:
7839 lt_prog_compiler_pic
=
7842 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7845 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7846 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7854 # Check to make sure the PIC flag actually works.
7856 if test -n "$lt_prog_compiler_pic"; then
7857 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7858 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7859 if test "${lt_prog_compiler_pic_works+set}" = set; then
7860 echo $ECHO_N "(cached) $ECHO_C" >&6
7862 lt_prog_compiler_pic_works
=no
7863 ac_outfile
=conftest.
$ac_objext
7864 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7865 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7866 # Insert the option either (1) after the last *FLAGS variable, or
7867 # (2) before a word containing "conftest.", or (3) at the end.
7868 # Note that $ac_compile itself does not contain backslashes and begins
7869 # with a dollar sign (not a hyphen), so the echo should work correctly.
7870 # The option is referenced via a variable to avoid confusing sed.
7871 lt_compile
=`echo "$ac_compile" | $SED \
7872 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7874 -e 's:$: $lt_compiler_flag:'`
7875 (eval echo "\"\$as_me:7875: $lt_compile\"" >&5)
7876 (eval "$lt_compile" 2>conftest.err
)
7878 cat conftest.err
>&5
7879 echo "$as_me:7879: \$? = $ac_status" >&5
7880 if (exit $ac_status) && test -s "$ac_outfile"; then
7881 # The compiler can only warn and ignore the option if not recognized
7882 # So say no if there are warnings other than the usual output.
7883 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7884 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7885 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7886 lt_prog_compiler_pic_works
=yes
7892 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7893 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7895 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7896 case $lt_prog_compiler_pic in
7898 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7901 lt_prog_compiler_pic
=
7902 lt_prog_compiler_can_build_shared
=no
7913 # Check to make sure the static flag actually works.
7915 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7916 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7917 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7918 if test "${lt_prog_compiler_static_works+set}" = set; then
7919 echo $ECHO_N "(cached) $ECHO_C" >&6
7921 lt_prog_compiler_static_works
=no
7922 save_LDFLAGS
="$LDFLAGS"
7923 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7924 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7925 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7926 # The linker can only warn and ignore the option if not recognized
7927 # So say no if there are warnings
7928 if test -s conftest.err
; then
7929 # Append any errors to the config.log.
7930 cat conftest.err
1>&5
7931 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7932 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7933 if diff conftest.exp conftest.er2
>/dev
/null
; then
7934 lt_prog_compiler_static_works
=yes
7937 lt_prog_compiler_static_works
=yes
7941 LDFLAGS
="$save_LDFLAGS"
7944 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7945 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7947 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7950 lt_prog_compiler_static
=
7959 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7960 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7961 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7962 echo $ECHO_N "(cached) $ECHO_C" >&6
7964 lt_cv_prog_compiler_c_o
=no
7965 $RM -r conftest
2>/dev
/null
7969 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7971 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7972 # Insert the option either (1) after the last *FLAGS variable, or
7973 # (2) before a word containing "conftest.", or (3) at the end.
7974 # Note that $ac_compile itself does not contain backslashes and begins
7975 # with a dollar sign (not a hyphen), so the echo should work correctly.
7976 lt_compile
=`echo "$ac_compile" | $SED \
7977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7979 -e 's:$: $lt_compiler_flag:'`
7980 (eval echo "\"\$as_me:7980: $lt_compile\"" >&5)
7981 (eval "$lt_compile" 2>out
/conftest.err
)
7983 cat out
/conftest.err
>&5
7984 echo "$as_me:7984: \$? = $ac_status" >&5
7985 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7987 # The compiler can only warn and ignore the option if not recognized
7988 # So say no if there are warnings
7989 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7990 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7991 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7992 lt_cv_prog_compiler_c_o
=yes
7997 # SGI C++ compiler will create directory out/ii_files/ for
7998 # template instantiation
7999 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8000 $RM out
/* && rmdir out
8006 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8007 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8014 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8015 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8016 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 lt_cv_prog_compiler_c_o
=no
8020 $RM -r conftest
2>/dev
/null
8024 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8026 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8027 # Insert the option either (1) after the last *FLAGS variable, or
8028 # (2) before a word containing "conftest.", or (3) at the end.
8029 # Note that $ac_compile itself does not contain backslashes and begins
8030 # with a dollar sign (not a hyphen), so the echo should work correctly.
8031 lt_compile
=`echo "$ac_compile" | $SED \
8032 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8033 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8034 -e 's:$: $lt_compiler_flag:'`
8035 (eval echo "\"\$as_me:8035: $lt_compile\"" >&5)
8036 (eval "$lt_compile" 2>out
/conftest.err
)
8038 cat out
/conftest.err
>&5
8039 echo "$as_me:8039: \$? = $ac_status" >&5
8040 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8042 # The compiler can only warn and ignore the option if not recognized
8043 # So say no if there are warnings
8044 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8045 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8046 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8047 lt_cv_prog_compiler_c_o
=yes
8052 # SGI C++ compiler will create directory out/ii_files/ for
8053 # template instantiation
8054 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8055 $RM out
/* && rmdir out
8061 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8062 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8067 hard_links
="nottested"
8068 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8069 # do not overwrite the value of need_locks provided by the user
8070 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8071 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8074 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8076 ln conftest.a conftest.b
2>&5 || hard_links
=no
8077 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8078 echo "$as_me:$LINENO: result: $hard_links" >&5
8079 echo "${ECHO_T}$hard_links" >&6
8080 if test "$hard_links" = no
; then
8081 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8082 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8094 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8095 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8098 allow_undefined_flag
=
8099 always_export_symbols
=no
8101 archive_expsym_cmds
=
8102 compiler_needs_object
=no
8103 enable_shared_with_static_runtimes
=no
8104 export_dynamic_flag_spec
=
8105 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8106 hardcode_automatic
=no
8108 hardcode_direct_absolute
=no
8109 hardcode_libdir_flag_spec
=
8110 hardcode_libdir_flag_spec_ld
=
8111 hardcode_libdir_separator
=
8113 hardcode_shlibpath_var
=unsupported
8115 link_all_deplibs
=unknown
8118 old_archive_from_new_cmds
=
8119 old_archive_from_expsyms_cmds
=
8120 thread_safe_flag_spec
=
8121 whole_archive_flag_spec
=
8122 # include_expsyms should be a list of space-separated symbols to be *always*
8123 # included in the symbol list
8125 # exclude_expsyms can be an extended regexp of symbols to exclude
8126 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8127 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8128 # as well as any symbol that contains `d'.
8129 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8130 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8131 # platforms (ab)use it in PIC code, but their linkers get confused if
8132 # the symbol is explicitly referenced. Since portable code cannot
8133 # rely on this symbol name, it's probably fine to never include it in
8134 # preloaded symbol tables.
8135 extract_expsyms_cmds
=
8138 cygwin
* | mingw
* | pw32
*)
8139 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8140 # When not using gcc, we currently assume that we are using
8141 # Microsoft Visual C++.
8142 if test "$GCC" != yes; then
8147 # we just hope/assume this is gcc and not c89 (= MSVC++)
8156 if test "$with_gnu_ld" = yes; then
8157 # If archive_cmds runs LD, not CC, wlarc should be empty
8160 # Set some defaults for GNU ld with shared library support. These
8161 # are reset later if shared libraries are not supported. Putting them
8162 # here allows them to be overridden if necessary.
8163 runpath_var
=LD_RUN_PATH
8164 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8165 export_dynamic_flag_spec
='${wl}--export-dynamic'
8166 # ancient GNU ld didn't support --whole-archive et. al.
8167 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8168 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8170 whole_archive_flag_spec
=
8172 supports_anon_versioning
=no
8173 case `$LD -v 2>&1` in
8174 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8175 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8176 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8177 *\
2.11.
*) ;; # other 2.11 versions
8178 *) supports_anon_versioning
=yes ;;
8181 # See if GNU ld supports shared libraries.
8183 aix3
* | aix4
* | aix5
*)
8184 # On AIX/PPC, the GNU linker is very broken
8185 if test "$host_cpu" != ia64
; then
8189 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8190 *** to be unable to reliably create shared libraries on AIX.
8191 *** Therefore, libtool is disabling shared libraries support. If you
8192 *** really care for shared libraries, you may want to modify your PATH
8193 *** so that a non-GNU linker is found, and then restart.
8200 if test "$host_cpu" = m68k
; then
8201 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)'
8202 hardcode_libdir_flag_spec
='-L$libdir'
8203 hardcode_minus_L
=yes
8206 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8207 # that the semantics of dynamic libraries on AmigaOS, at least up
8208 # to version 4, is to share data among multiple programs linked
8209 # with the same dynamic library. Since this doesn't match the
8210 # behavior of shared libraries on other platforms, we can't use
8216 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8217 allow_undefined_flag
=unsupported
8218 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8219 # support --undefined. This deserves some investigation. FIXME
8220 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8226 cygwin
* | mingw
* | pw32
*)
8227 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8228 # as there is no search path for DLLs.
8229 hardcode_libdir_flag_spec
='-L$libdir'
8230 allow_undefined_flag
=unsupported
8231 always_export_symbols
=no
8232 enable_shared_with_static_runtimes
=yes
8233 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8235 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8236 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8237 # If the export-symbols file already is a .def file (1st line
8238 # is EXPORTS), use it as is; otherwise, prepend...
8239 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8240 cp $export_symbols $output_objdir/$soname.def;
8242 echo EXPORTS > $output_objdir/$soname.def;
8243 cat $export_symbols >> $output_objdir/$soname.def;
8245 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8253 hardcode_shlibpath_var
=no
8254 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8255 export_dynamic_flag_spec
='${wl}-E'
8256 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8257 # Instead, shared libraries are loaded at an image base (0x10000000 by
8258 # default) and relocated if they conflict, which is a slow very memory
8259 # consuming and fragmenting process. To avoid this, we pick a random,
8260 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8261 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8262 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8263 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'
8266 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8268 if test "$host_os" = linux-dietlibc
; then
8269 case $cc_basename in
8270 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8273 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8274 && test "$tmp_diet" = no
8277 case $cc_basename,$host_cpu in
8278 pgcc
*) # Portland Group C compiler
8279 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'
8280 tmp_addflag
=' $pic_flag'
8282 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8283 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'
8284 tmp_addflag
=' $pic_flag -Mnomain' ;;
8285 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8286 tmp_addflag
=' -i_dynamic' ;;
8287 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8288 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8289 ifc
* | ifort
*) # Intel Fortran compiler
8290 tmp_addflag
=' -nofor_main' ;;
8292 case `$CC -V 2>&1 | sed 5q` in
8293 *Sun\ C
*) # Sun C 5.9
8294 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'
8295 compiler_needs_object
=yes
8296 tmp_sharedflag
='-G' ;;
8297 *Sun\ F
*) # Sun Fortran 8.3
8298 tmp_sharedflag
='-G' ;;
8300 tmp_sharedflag
='-shared' ;;
8302 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8304 if test "x$supports_anon_versioning" = xyes
; then
8305 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8306 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8307 echo "local: *; };" >> $output_objdir/$libname.ver~
8308 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8316 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8317 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8320 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8321 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8326 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8330 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8331 *** create shared libraries on Solaris systems. Therefore, libtool
8332 *** is disabling shared libraries support. We urge you to upgrade GNU
8333 *** binutils to release 2.9.1 or newer. Another option is to modify
8334 *** your PATH or compiler configuration so that the native linker is
8335 *** used, and then restart.
8338 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8339 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8340 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8346 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8347 case `$LD -v 2>&1` in
8348 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8352 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8353 *** reliably create shared libraries on SCO systems. Therefore, libtool
8354 *** is disabling shared libraries support. We urge you to upgrade GNU
8355 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8356 *** your PATH or compiler configuration so that the native linker is
8357 *** used, and then restart.
8362 # For security reasons, it is highly recommended that you always
8363 # use absolute paths for naming shared libraries, and exclude the
8364 # DT_RUNPATH tag from executables and libraries. But doing so
8365 # requires that you compile everything twice, which is a pain.
8366 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8367 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8368 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8369 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8378 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8381 hardcode_shlibpath_var
=no
8385 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8386 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8387 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8394 if test "$ld_shlibs" = no
; then
8396 hardcode_libdir_flag_spec
=
8397 export_dynamic_flag_spec
=
8398 whole_archive_flag_spec
=
8401 # PORTME fill in a description of your system's linker (not GNU ld)
8404 allow_undefined_flag
=unsupported
8405 always_export_symbols
=yes
8406 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'
8407 # Note: this linker hardcodes the directories in LIBPATH if there
8408 # are no directories specified by -L.
8409 hardcode_minus_L
=yes
8410 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8411 # Neither direct hardcoding nor static linking is supported with a
8413 hardcode_direct
=unsupported
8418 if test "$host_cpu" = ia64
; then
8419 # On IA64, the linker does run time linking by default, so we don't
8420 # have to do anything special.
8421 aix_use_runtimelinking
=no
8422 exp_sym_flag
='-Bexport'
8425 # If we're using GNU nm, then we don't want the "-C" option.
8426 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8427 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8428 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'
8430 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'
8432 aix_use_runtimelinking
=no
8434 # Test if we are trying to use run time linking or normal
8435 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8436 # need to do runtime linking.
8437 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8438 for ld_flag
in $LDFLAGS; do
8439 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8440 aix_use_runtimelinking
=yes
8447 exp_sym_flag
='-bexport'
8448 no_entry_flag
='-bnoentry'
8451 # When large executables or shared objects are built, AIX ld can
8452 # have problems creating the table of contents. If linking a library
8453 # or program results in "error TOC overflow" add -mminimal-toc to
8454 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8455 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8459 hardcode_direct_absolute
=yes
8460 hardcode_libdir_separator
=':'
8461 link_all_deplibs
=yes
8462 file_list_spec
='${wl}-f,'
8464 if test "$GCC" = yes; then
8465 case $host_os in aix4.
[012]|aix4.
[012].
*)
8466 # We only want to do this on AIX 4.2 and lower, the check
8467 # below for broken collect2 doesn't work under 4.3+
8468 collect2name
=`${CC} -print-prog-name=collect2`
8469 if test -f "$collect2name" &&
8470 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8472 # We have reworked collect2
8475 # We have old collect2
8476 hardcode_direct
=unsupported
8477 # It fails to find uninstalled libraries when the uninstalled
8478 # path is not listed in the libpath. Setting hardcode_minus_L
8479 # to unsupported forces relinking
8480 hardcode_minus_L
=yes
8481 hardcode_libdir_flag_spec
='-L$libdir'
8482 hardcode_libdir_separator
=
8486 shared_flag
='-shared'
8487 if test "$aix_use_runtimelinking" = yes; then
8488 shared_flag
="$shared_flag "'${wl}-G'
8492 if test "$host_cpu" = ia64
; then
8493 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8494 # chokes on -Wl,-G. The following line is correct:
8497 if test "$aix_use_runtimelinking" = yes; then
8498 shared_flag
='${wl}-G'
8500 shared_flag
='${wl}-bM:SRE'
8505 # It seems that -bexpall does not export symbols beginning with
8506 # underscore (_), so it is better to generate a list of symbols to export.
8507 always_export_symbols
=yes
8508 if test "$aix_use_runtimelinking" = yes; then
8509 # Warning - without using the other runtime loading flags (-brtl),
8510 # -berok will link without error, but may produce a broken library.
8511 allow_undefined_flag
='-berok'
8512 # Determine the default libpath from the value encoded in an
8514 if test x
$gcc_no_link = xyes
; then
8515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8517 { (exit 1); exit 1; }; }
8519 cat >conftest.
$ac_ext <<_ACEOF
8522 cat confdefs.h
>>conftest.
$ac_ext
8523 cat >>conftest.
$ac_ext <<_ACEOF
8524 /* end confdefs.h. */
8534 rm -f conftest.
$ac_objext conftest
$ac_exeext
8535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8536 (eval $ac_link) 2>conftest.er1
8538 grep -v '^ *+' conftest.er1
>conftest.err
8540 cat conftest.err
>&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); } &&
8543 { ac_try
='test -z "$ac_c_werror_flag"
8544 || test ! -s conftest.err'
8545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); }; } &&
8550 { ac_try
='test -s conftest$ac_exeext'
8551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); }; }; then
8557 lt_aix_libpath_sed
='
8558 /Import File Strings/,/^$/ {
8564 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8565 # Check for a 64-bit object if we didn't find anything.
8566 if test -z "$aix_libpath"; then
8567 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8570 echo "$as_me: failed program was:" >&5
8571 sed 's/^/| /' conftest.
$ac_ext >&5
8574 rm -f conftest.err conftest.
$ac_objext \
8575 conftest
$ac_exeext conftest.
$ac_ext
8576 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8578 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8579 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"
8581 if test "$host_cpu" = ia64
; then
8582 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8583 allow_undefined_flag
="-z nodefs"
8584 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"
8586 # Determine the default libpath from the value encoded in an
8588 if test x
$gcc_no_link = xyes
; then
8589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8591 { (exit 1); exit 1; }; }
8593 cat >conftest.
$ac_ext <<_ACEOF
8596 cat confdefs.h
>>conftest.
$ac_ext
8597 cat >>conftest.
$ac_ext <<_ACEOF
8598 /* end confdefs.h. */
8608 rm -f conftest.
$ac_objext conftest
$ac_exeext
8609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8610 (eval $ac_link) 2>conftest.er1
8612 grep -v '^ *+' conftest.er1
>conftest.err
8614 cat conftest.err
>&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); } &&
8617 { ac_try
='test -z "$ac_c_werror_flag"
8618 || test ! -s conftest.err'
8619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); }; } &&
8624 { ac_try
='test -s conftest$ac_exeext'
8625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); }; }; then
8631 lt_aix_libpath_sed
='
8632 /Import File Strings/,/^$/ {
8638 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8639 # Check for a 64-bit object if we didn't find anything.
8640 if test -z "$aix_libpath"; then
8641 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8644 echo "$as_me: failed program was:" >&5
8645 sed 's/^/| /' conftest.
$ac_ext >&5
8648 rm -f conftest.err conftest.
$ac_objext \
8649 conftest
$ac_exeext conftest.
$ac_ext
8650 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8652 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8653 # Warning - without using the other run time loading flags,
8654 # -berok will link without error, but may produce a broken library.
8655 no_undefined_flag
=' ${wl}-bernotok'
8656 allow_undefined_flag
=' ${wl}-berok'
8657 # Exported symbols can be pulled into shared objects from archives
8658 whole_archive_flag_spec
='$convenience'
8659 archive_cmds_need_lc
=yes
8660 # This is similar to how AIX traditionally builds its shared libraries.
8661 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'
8667 if test "$host_cpu" = m68k
; then
8668 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)'
8669 hardcode_libdir_flag_spec
='-L$libdir'
8670 hardcode_minus_L
=yes
8672 # see comment about different semantics on the GNU ld section
8677 export_dynamic_flag_spec
=-rdynamic
8680 cygwin
* | mingw
* | pw32
*)
8681 # When not using gcc, we currently assume that we are using
8682 # Microsoft Visual C++.
8683 # hardcode_libdir_flag_spec is actually meaningless, as there is
8684 # no search path for DLLs.
8685 hardcode_libdir_flag_spec
=' '
8686 allow_undefined_flag
=unsupported
8687 # Tell ltmain to make .lib files, not .a files.
8689 # Tell ltmain to make .dll files, not .so files.
8691 # FIXME: Setting linknames here is a bad hack.
8692 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8693 # The linker will automatically build a .lib file if we build a DLL.
8694 old_archive_from_new_cmds
='true'
8695 # FIXME: Should let the user specify the lib program.
8696 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8697 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8698 enable_shared_with_static_runtimes
=yes
8701 darwin
* | rhapsody
*)
8703 rhapsody
* | darwin1.
[012])
8704 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8707 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8709 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8712 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8717 archive_cmds_need_lc
=no
8719 hardcode_automatic
=yes
8720 hardcode_shlibpath_var
=unsupported
8721 whole_archive_flag_spec
=''
8722 link_all_deplibs
=yes
8723 if test "$GCC" = yes ; then
8724 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8725 echo $ECHO_N "(cached) $ECHO_C" >&6
8727 lt_cv_apple_cc_single_mod
=no
8728 if test -z "${LT_MULTI_MODULE}"; then
8729 # By default we will add the -single_module flag. You can override
8730 # by either setting the environment variable LT_MULTI_MODULE
8731 # non-empty at configure time, or by adding -multi-module to the
8733 echo "int foo(void){return 1;}" > conftest.c
8734 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8735 -dynamiclib ${wl}-single_module conftest.c
8736 if test -f libconftest.dylib
; then
8737 lt_cv_apple_cc_single_mod
=yes
8738 rm libconftest.dylib
8744 output_verbose_link_cmd
=echo
8745 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8746 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8747 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}'
8749 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8750 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}'
8752 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8753 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}'
8755 case $cc_basename in
8757 output_verbose_link_cmd
=echo
8758 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8759 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8760 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8761 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}'
8762 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}'
8772 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8773 hardcode_libdir_flag_spec
='-L$libdir'
8774 hardcode_shlibpath_var
=no
8781 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8782 # support. Future versions do this automatically, but an explicit c++rt0.o
8783 # does not break anything, and helps significantly (at the cost of a little
8786 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8787 hardcode_libdir_flag_spec
='-R$libdir'
8789 hardcode_shlibpath_var
=no
8792 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8794 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8796 hardcode_minus_L
=yes
8797 hardcode_shlibpath_var
=no
8800 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8801 freebsd
* | dragonfly
*)
8802 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8803 hardcode_libdir_flag_spec
='-R$libdir'
8805 hardcode_shlibpath_var
=no
8809 if test "$GCC" = yes; then
8810 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'
8812 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'
8814 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8815 hardcode_libdir_separator
=:
8818 # hardcode_minus_L: Not really in the search PATH,
8819 # but as the default location of the library.
8820 hardcode_minus_L
=yes
8821 export_dynamic_flag_spec
='${wl}-E'
8825 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8826 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8828 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8830 if test "$with_gnu_ld" = no
; then
8831 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8832 hardcode_libdir_flag_spec_ld
='+b $libdir'
8833 hardcode_libdir_separator
=:
8835 hardcode_direct_absolute
=yes
8836 export_dynamic_flag_spec
='${wl}-E'
8837 # hardcode_minus_L: Not really in the search PATH,
8838 # but as the default location of the library.
8839 hardcode_minus_L
=yes
8844 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8847 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8850 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8853 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8859 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8862 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8865 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8869 if test "$with_gnu_ld" = no
; then
8870 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8871 hardcode_libdir_separator
=:
8876 hardcode_shlibpath_var
=no
8880 hardcode_direct_absolute
=yes
8881 export_dynamic_flag_spec
='${wl}-E'
8883 # hardcode_minus_L: Not really in the search PATH,
8884 # but as the default location of the library.
8885 hardcode_minus_L
=yes
8891 irix5
* | irix6
* | nonstopux
*)
8892 if test "$GCC" = yes; then
8893 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'
8894 # Try to use the -exported_symbol ld option, if it does not
8895 # work, assume that -exports_file does not work either and
8896 # implicitly export all symbols.
8897 save_LDFLAGS
="$LDFLAGS"
8898 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8899 if test x
$gcc_no_link = xyes
; then
8900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8902 { (exit 1); exit 1; }; }
8904 cat >conftest.
$ac_ext <<_ACEOF
8907 rm -f conftest.
$ac_objext conftest
$ac_exeext
8908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8909 (eval $ac_link) 2>conftest.er1
8911 grep -v '^ *+' conftest.er1
>conftest.err
8913 cat conftest.err
>&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); } &&
8916 { ac_try
='test -z "$ac_c_werror_flag"
8917 || test ! -s conftest.err'
8918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); }; } &&
8923 { ac_try
='test -s conftest$ac_exeext'
8924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); }; }; then
8929 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'
8932 echo "$as_me: failed program was:" >&5
8933 sed 's/^/| /' conftest.
$ac_ext >&5
8936 rm -f conftest.err conftest.
$ac_objext \
8937 conftest
$ac_exeext conftest.
$ac_ext
8938 LDFLAGS
="$save_LDFLAGS"
8940 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'
8941 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'
8943 archive_cmds_need_lc
='no'
8944 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8945 hardcode_libdir_separator
=:
8947 link_all_deplibs
=yes
8951 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8952 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8954 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8956 hardcode_libdir_flag_spec
='-R$libdir'
8958 hardcode_shlibpath_var
=no
8962 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8964 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8965 hardcode_libdir_separator
=:
8966 hardcode_shlibpath_var
=no
8974 hardcode_shlibpath_var
=no
8975 hardcode_direct_absolute
=yes
8976 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8977 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8978 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8979 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8980 export_dynamic_flag_spec
='${wl}-E'
8983 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8984 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8985 hardcode_libdir_flag_spec
='-R$libdir'
8988 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8989 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8996 hardcode_libdir_flag_spec
='-L$libdir'
8997 hardcode_minus_L
=yes
8998 allow_undefined_flag
=unsupported
8999 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'
9000 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9004 if test "$GCC" = yes; then
9005 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9006 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'
9008 allow_undefined_flag
=' -expect_unresolved \*'
9009 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'
9011 archive_cmds_need_lc
='no'
9012 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9013 hardcode_libdir_separator
=:
9016 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9017 if test "$GCC" = yes; then
9018 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9019 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'
9020 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9022 allow_undefined_flag
=' -expect_unresolved \*'
9023 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'
9024 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~
9025 $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'
9027 # Both c and cxx compiler support -rpath directly
9028 hardcode_libdir_flag_spec
='-rpath $libdir'
9030 archive_cmds_need_lc
='no'
9031 hardcode_libdir_separator
=:
9035 no_undefined_flag
=' -z defs'
9036 if test "$GCC" = yes; then
9038 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9039 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9040 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9042 case `$CC -V 2>&1` in
9045 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9046 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9047 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9051 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9052 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9053 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9057 hardcode_libdir_flag_spec
='-R$libdir'
9058 hardcode_shlibpath_var
=no
9060 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9062 # The compiler driver will combine and reorder linker options,
9063 # but understands `-z linker_flag'. GCC discards it without `$wl',
9064 # but is careful enough not to reorder.
9065 # Supported since Solaris 2.6 (maybe 2.5.1?)
9066 if test "$GCC" = yes; then
9067 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9069 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9073 link_all_deplibs
=yes
9077 if test "x$host_vendor" = xsequent
; then
9078 # Use $CC to link under sequent, because it throws in some extra .o
9079 # files that make .init and .fini sections work.
9080 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9082 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9084 hardcode_libdir_flag_spec
='-L$libdir'
9086 hardcode_minus_L
=yes
9087 hardcode_shlibpath_var
=no
9091 case $host_vendor in
9093 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9094 hardcode_direct
=yes # is this really true???
9097 ## LD is ld it makes a PLAMLIB
9098 ## CC just makes a GrossModule.
9099 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9100 reload_cmds
='$CC -r -o $output$reload_objs'
9104 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9105 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9108 runpath_var
='LD_RUN_PATH'
9109 hardcode_shlibpath_var
=no
9113 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9114 hardcode_shlibpath_var
=no
9115 export_dynamic_flag_spec
='-Bexport'
9119 if test -d /usr
/nec
; then
9120 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9121 hardcode_shlibpath_var
=no
9122 runpath_var
=LD_RUN_PATH
9123 hardcode_runpath_var
=yes
9128 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9129 no_undefined_flag
='${wl}-z,text'
9130 archive_cmds_need_lc
=no
9131 hardcode_shlibpath_var
=no
9132 runpath_var
='LD_RUN_PATH'
9134 if test "$GCC" = yes; then
9135 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9136 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9138 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9139 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9143 sysv5
* | sco3.2v5
* | sco5v6
*)
9144 # Note: We can NOT use -z defs as we might desire, because we do not
9145 # link with -lc, and that would cause any symbols used from libc to
9146 # always be unresolved, which means just about no library would
9147 # ever link correctly. If we're not using GNU ld we use -z text
9148 # though, which does catch some bad symbols but isn't as heavy-handed
9150 no_undefined_flag
='${wl}-z,text'
9151 allow_undefined_flag
='${wl}-z,nodefs'
9152 archive_cmds_need_lc
=no
9153 hardcode_shlibpath_var
=no
9154 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9155 hardcode_libdir_separator
=':'
9156 link_all_deplibs
=yes
9157 export_dynamic_flag_spec
='${wl}-Bexport'
9158 runpath_var
='LD_RUN_PATH'
9160 if test "$GCC" = yes; then
9161 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9162 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9164 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9165 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9170 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9171 hardcode_libdir_flag_spec
='-L$libdir'
9172 hardcode_shlibpath_var
=no
9180 if test x
$host_vendor = xsni
; then
9182 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9183 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9189 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9190 echo "${ECHO_T}$ld_shlibs" >&6
9191 test "$ld_shlibs" = no
&& can_build_shared
=no
9193 with_gnu_ld
=$with_gnu_ld
9210 # Do we need to explicitly link libc?
9212 case "x$archive_cmds_need_lc" in
9214 # Assume -lc should be added
9215 archive_cmds_need_lc
=yes
9217 if test "$enable_shared" = yes && test "$GCC" = yes; then
9218 case $archive_cmds in
9220 # FIXME: we may have to deal with multi-command sequences.
9223 # Test whether the compiler implicitly links with -lc since on some
9224 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9225 # to ld, don't add -lc before -lgcc.
9226 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9227 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9229 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9232 (eval $ac_compile) 2>&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); } 2>conftest.err
; then
9238 libobjs
=conftest.
$ac_objext
9240 wl
=$lt_prog_compiler_wl
9241 pic_flag
=$lt_prog_compiler_pic
9247 lt_save_allow_undefined_flag
=$allow_undefined_flag
9248 allow_undefined_flag
=
9249 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9250 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); }
9255 archive_cmds_need_lc
=no
9257 archive_cmds_need_lc
=yes
9259 allow_undefined_flag
=$lt_save_allow_undefined_flag
9261 cat conftest.err
1>&5
9264 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9265 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9428 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9429 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9431 if test "$withGCC" = yes; then
9433 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9434 *) lt_awk_arg
="/^libraries:/" ;;
9436 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9437 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9438 # if the path contains ";" then we assume it to be the separator
9439 # otherwise default to the standard path separator (i.e. ":") - it is
9440 # assumed that no part of a normal pathname contains ";" but that should
9441 # okay in the real world where ";" in dirpaths is itself problematic.
9442 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9444 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9446 # Ok, now we have the path, separated by spaces, we can step through it
9447 # and add multilib dir if necessary.
9448 lt_tmp_lt_search_path_spec
=
9449 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9450 for lt_sys_path
in $lt_search_path_spec; do
9451 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9452 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9454 test -d "$lt_sys_path" && \
9455 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9458 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9459 BEGIN {RS=" "; FS="/|\n";} {
9462 for (lt_i = NF; lt_i > 0; lt_i--) {
9463 if ($lt_i != "" && $lt_i != ".") {
9464 if ($lt_i == "..") {
9467 if (lt_count == 0) {
9468 lt_foo="/" $lt_i lt_foo;
9475 if (lt_foo != "") { lt_freq[lt_foo]++; }
9476 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9478 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9480 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9483 libname_spec
='lib$name'
9491 shlibpath_overrides_runpath
=unknown
9493 dynamic_linker
="$host_os ld.so"
9494 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9495 need_lib_prefix
=unknown
9496 hardcode_into_libs
=no
9498 # when you set need_version to no, make sure it does not cause -set_version
9499 # flags to be left without arguments
9500 need_version
=unknown
9505 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9506 shlibpath_var
=LIBPATH
9508 # AIX 3 has no versioning support, so we append a major version to the name.
9509 soname_spec
='${libname}${release}${shared_ext}$major'
9516 hardcode_into_libs
=yes
9517 if test "$host_cpu" = ia64
; then
9518 # AIX 5 supports IA64
9519 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9520 shlibpath_var
=LD_LIBRARY_PATH
9522 # With GCC up to 2.95.x, collect2 would create an import file
9523 # for dependence libraries. The import file would start with
9524 # the line `#! .'. This would cause the generated library to
9525 # depend on `.', always an invalid library. This was fixed in
9526 # development snapshots of GCC prior to 3.0.
9528 aix4 | aix4.
[01] | aix4.
[01].
*)
9529 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9531 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9538 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9539 # soname into executable. Probably we can add versioning support to
9540 # collect2, so additional links can be useful in future.
9541 if test "$aix_use_runtimelinking" = yes; then
9542 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9543 # instead of lib<name>.a to let people know that these are not
9544 # typical AIX shared libraries.
9545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9547 # We preserve .a as extension for shared libraries through AIX4.2
9548 # and later when we are not doing run time linking.
9549 library_names_spec
='${libname}${release}.a $libname.a'
9550 soname_spec
='${libname}${release}${shared_ext}$major'
9552 shlibpath_var
=LIBPATH
9557 if test "$host_cpu" = m68k
; then
9558 library_names_spec
='$libname.ixlibrary $libname.a'
9559 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9560 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'
9567 library_names_spec
='${libname}${shared_ext}'
9568 dynamic_linker
="$host_os ld.so"
9569 shlibpath_var
=LIBRARY_PATH
9575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9576 soname_spec
='${libname}${release}${shared_ext}$major'
9577 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9578 shlibpath_var
=LD_LIBRARY_PATH
9579 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9580 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9581 # the default ld.so.conf also contains /usr/contrib/lib and
9582 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9583 # libtool to hard-code these into programs
9586 cygwin
* | mingw
* | pw32
*)
9587 version_type
=windows
9592 case $withGCC,$host_os in
9593 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9594 library_names_spec
='$libname.dll.a'
9595 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9596 postinstall_cmds
='base_file=`basename \${file}`~
9597 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9598 dldir=$destdir/`dirname \$dlpath`~
9599 test -d \$dldir || mkdir -p \$dldir~
9600 $install_prog $dir/$dlname \$dldir/$dlname~
9601 chmod a+x \$dldir/$dlname~
9602 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9603 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9605 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9606 dlpath=$dir/\$dldll~
9608 shlibpath_overrides_runpath
=yes
9612 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9613 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9614 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9617 # MinGW DLLs use traditional 'lib' prefix
9618 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9619 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9620 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9621 # It is most probably a Windows format PATH printed by
9622 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9623 # path with ; separators, and with drive letters. We can handle the
9624 # drive letters (cygwin fileutils understands them), so leave them,
9625 # especially as we might pass files found there to a mingw objdump,
9626 # which wouldn't understand a cygwinified path. Ahh.
9627 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9629 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9633 # pw32 DLLs use 'pw' prefix rather than 'lib'
9634 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9640 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9643 dynamic_linker
='Win32 ld.exe'
9644 # FIXME: first we should search . and the directory the executable is in
9648 darwin
* | rhapsody
*)
9649 dynamic_linker
="$host_os dyld"
9653 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9654 soname_spec
='${libname}${release}${major}$shared_ext'
9655 shlibpath_overrides_runpath
=yes
9656 shlibpath_var
=DYLD_LIBRARY_PATH
9657 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9659 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9660 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9668 soname_spec
='${libname}${release}${shared_ext}$major'
9669 shlibpath_var
=LD_LIBRARY_PATH
9676 freebsd
* | dragonfly
*)
9677 # DragonFly does not have aout. When/if they implement a new
9678 # versioning mechanism, adjust this.
9679 if test -x /usr
/bin
/objformat
; then
9680 objformat
=`/usr/bin/objformat`
9683 freebsd
[123]*) objformat
=aout
;;
9687 version_type
=freebsd-
$objformat
9688 case $version_type in
9690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9695 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9699 shlibpath_var
=LD_LIBRARY_PATH
9702 shlibpath_overrides_runpath
=yes
9704 freebsd3.
[01]* | freebsdelf3.
[01]*)
9705 shlibpath_overrides_runpath
=yes
9706 hardcode_into_libs
=yes
9708 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9709 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9710 shlibpath_overrides_runpath
=no
9711 hardcode_into_libs
=yes
9713 *) # from 4.6 on, and DragonFly
9714 shlibpath_overrides_runpath
=yes
9715 hardcode_into_libs
=yes
9724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9725 soname_spec
='${libname}${release}${shared_ext}$major'
9726 shlibpath_var
=LD_LIBRARY_PATH
9727 hardcode_into_libs
=yes
9730 hpux9
* | hpux10
* | hpux11
*)
9731 # Give a soname corresponding to the major version so that dld.sl refuses to
9732 # link against other versions.
9739 hardcode_into_libs
=yes
9740 dynamic_linker
="$host_os dld.so"
9741 shlibpath_var
=LD_LIBRARY_PATH
9742 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9744 soname_spec
='${libname}${release}${shared_ext}$major'
9745 if test "X$HPUX_IA64_MODE" = X32
; then
9746 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9748 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9750 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9754 hardcode_into_libs
=yes
9755 dynamic_linker
="$host_os dld.sl"
9756 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9757 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9759 soname_spec
='${libname}${release}${shared_ext}$major'
9760 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9761 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9765 dynamic_linker
="$host_os dld.sl"
9766 shlibpath_var
=SHLIB_PATH
9767 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9769 soname_spec
='${libname}${release}${shared_ext}$major'
9772 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9773 postinstall_cmds
='chmod 555 $lib'
9780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9781 soname_spec
='${libname}${release}${shared_ext}$major'
9782 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9783 shlibpath_var
=LD_LIBRARY_PATH
9784 shlibpath_overrides_runpath
=no
9785 hardcode_into_libs
=yes
9788 irix5
* | irix6
* | nonstopux
*)
9790 nonstopux
*) version_type
=nonstopux
;;
9792 if test "$lt_cv_prog_gnu_ld" = yes; then
9800 soname_spec
='${libname}${release}${shared_ext}$major'
9801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9803 irix5
* | nonstopux
*)
9807 case $LD in # libtool.m4 will add one of these switches to LD
9808 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9809 libsuff
= shlibsuff
= libmagic
=32-bit;;
9810 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9811 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9812 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9813 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9814 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9818 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9819 shlibpath_overrides_runpath
=no
9820 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9821 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9822 hardcode_into_libs
=yes
9825 # No shared lib support for Linux oldld, aout, or coff.
9826 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9830 # This must be Linux ELF.
9831 linux
* | k
*bsd
*-gnu)
9835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9836 soname_spec
='${libname}${release}${shared_ext}$major'
9837 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9838 shlibpath_var
=LD_LIBRARY_PATH
9839 shlibpath_overrides_runpath
=no
9840 # Some binutils ld are patched to set DT_RUNPATH
9841 save_LDFLAGS
=$LDFLAGS
9843 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9844 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9845 if test x
$gcc_no_link = xyes
; then
9846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9848 { (exit 1); exit 1; }; }
9850 cat >conftest.
$ac_ext <<_ACEOF
9853 cat confdefs.h
>>conftest.
$ac_ext
9854 cat >>conftest.
$ac_ext <<_ACEOF
9855 /* end confdefs.h. */
9865 rm -f conftest.
$ac_objext conftest
$ac_exeext
9866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9867 (eval $ac_link) 2>conftest.er1
9869 grep -v '^ *+' conftest.er1
>conftest.err
9871 cat conftest.err
>&5
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 (exit $ac_status); } &&
9874 { ac_try
='test -z "$ac_c_werror_flag"
9875 || test ! -s conftest.err'
9876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); }; } &&
9881 { ac_try
='test -s conftest$ac_exeext'
9882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); }; }; then
9887 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
9888 shlibpath_overrides_runpath
=yes
9892 echo "$as_me: failed program was:" >&5
9893 sed 's/^/| /' conftest.
$ac_ext >&5
9896 rm -f conftest.err conftest.
$ac_objext \
9897 conftest
$ac_exeext conftest.
$ac_ext
9898 LDFLAGS
=$save_LDFLAGS
9901 # This implies no fast_install, which is unacceptable.
9902 # Some rework will be needed to allow for fast_install
9903 # before this can be enabled.
9904 hardcode_into_libs
=yes
9906 # Append ld.so.conf contents to the search path
9907 if test -f /etc
/ld.so.conf
; then
9908 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' ' '`
9909 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9912 # We used to test for /lib/ld.so.1 and disable shared libraries on
9913 # powerpc, because MkLinux only supported shared libraries with the
9914 # GNU dynamic linker. Since this was broken with cross compilers,
9915 # most powerpc-linux boxes support dynamic linking these days and
9916 # people can always --disable-shared, the test was removed, and we
9917 # assume the GNU/Linux dynamic linker is in use.
9918 dynamic_linker
='GNU/Linux ld.so'
9925 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9927 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9928 dynamic_linker
='NetBSD (a.out) ld.so'
9930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9931 soname_spec
='${libname}${release}${shared_ext}$major'
9932 dynamic_linker
='NetBSD ld.elf_so'
9934 shlibpath_var
=LD_LIBRARY_PATH
9935 shlibpath_overrides_runpath
=yes
9936 hardcode_into_libs
=yes
9941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9942 shlibpath_var
=LD_LIBRARY_PATH
9943 shlibpath_overrides_runpath
=yes
9950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9951 soname_spec
='${libname}${release}${shared_ext}$major'
9952 shlibpath_var
=LD_LIBRARY_PATH
9953 shlibpath_overrides_runpath
=no
9954 hardcode_into_libs
=yes
9955 dynamic_linker
='ldqnx.so'
9960 sys_lib_dlsearch_path_spec
="/usr/lib"
9962 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9964 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9965 *) need_version
=no
;;
9967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9968 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9969 shlibpath_var
=LD_LIBRARY_PATH
9970 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9972 openbsd2.
[89] | openbsd2.
[89].
*)
9973 shlibpath_overrides_runpath
=no
9976 shlibpath_overrides_runpath
=yes
9980 shlibpath_overrides_runpath
=yes
9985 libname_spec
='$name'
9988 library_names_spec
='$libname${shared_ext} $libname.a'
9989 dynamic_linker
='OS/2 ld.exe'
9990 shlibpath_var
=LIBPATH
9993 osf3
* | osf4
* | osf5
*)
9997 soname_spec
='${libname}${release}${shared_ext}$major'
9998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9999 shlibpath_var
=LD_LIBRARY_PATH
10000 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10001 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10013 soname_spec
='${libname}${release}${shared_ext}$major'
10014 shlibpath_var
=LD_LIBRARY_PATH
10015 shlibpath_overrides_runpath
=yes
10016 hardcode_into_libs
=yes
10017 # ldd complains unless libraries are executable
10018 postinstall_cmds
='chmod +x $lib'
10023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10024 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10025 shlibpath_var
=LD_LIBRARY_PATH
10026 shlibpath_overrides_runpath
=yes
10027 if test "$with_gnu_ld" = yes; then
10035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10036 soname_spec
='${libname}${release}${shared_ext}$major'
10037 shlibpath_var
=LD_LIBRARY_PATH
10038 case $host_vendor in
10040 shlibpath_overrides_runpath
=no
10042 runpath_var
=LD_RUN_PATH
10050 shlibpath_overrides_runpath
=no
10051 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10057 if test -d /usr
/nec
;then
10059 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10060 soname_spec
='$libname${shared_ext}.$major'
10061 shlibpath_var
=LD_LIBRARY_PATH
10065 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10066 version_type
=freebsd-elf
10069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10070 soname_spec
='${libname}${release}${shared_ext}$major'
10071 shlibpath_var
=LD_LIBRARY_PATH
10072 shlibpath_overrides_runpath
=yes
10073 hardcode_into_libs
=yes
10074 if test "$with_gnu_ld" = yes; then
10075 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10077 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10080 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10084 sys_lib_dlsearch_path_spec
='/usr/lib'
10088 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10092 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10093 shlibpath_var
=LD_LIBRARY_PATH
10094 shlibpath_overrides_runpath
=no
10095 hardcode_into_libs
=yes
10100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10101 soname_spec
='${libname}${release}${shared_ext}$major'
10102 shlibpath_var
=LD_LIBRARY_PATH
10109 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10110 echo "${ECHO_T}$dynamic_linker" >&6
10111 test "$dynamic_linker" = no
&& can_build_shared
=no
10113 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10114 if test "$GCC" = yes; then
10115 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10204 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10205 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10207 if test -n "$hardcode_libdir_flag_spec" ||
10208 test -n "$runpath_var" ||
10209 test "X$hardcode_automatic" = "Xyes" ; then
10211 # We can hardcode non-existent directories.
10212 if test "$hardcode_direct" != no
&&
10213 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10214 # have to relink, otherwise we might link with an installed library
10215 # when we should be linking with a yet-to-be-installed one
10216 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10217 test "$hardcode_minus_L" != no
; then
10218 # Linking always hardcodes the temporary library directory.
10219 hardcode_action
=relink
10221 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10222 hardcode_action
=immediate
10225 # We cannot hardcode anything, or else we can only hardcode existing
10227 hardcode_action
=unsupported
10229 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10230 echo "${ECHO_T}$hardcode_action" >&6
10232 if test "$hardcode_action" = relink ||
10233 test "$inherit_rpath" = yes; then
10234 # Fast installation is not supported
10235 enable_fast_install
=no
10236 elif test "$shlibpath_overrides_runpath" = yes ||
10237 test "$enable_shared" = no
; then
10238 # Fast installation is not necessary
10239 enable_fast_install
=needless
10247 if test "x$enable_dlopen" != xyes
; then
10248 enable_dlopen
=unknown
10249 enable_dlopen_self
=unknown
10250 enable_dlopen_self_static
=unknown
10257 lt_cv_dlopen
="load_add_on"
10259 lt_cv_dlopen_self
=yes
10263 lt_cv_dlopen
="LoadLibrary"
10268 lt_cv_dlopen
="dlopen"
10273 # if libdl is installed we need to link against it
10274 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10275 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10276 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10279 ac_check_lib_save_LIBS
=$LIBS
10281 if test x
$gcc_no_link = xyes
; then
10282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10284 { (exit 1); exit 1; }; }
10286 cat >conftest.
$ac_ext <<_ACEOF
10289 cat confdefs.h
>>conftest.
$ac_ext
10290 cat >>conftest.
$ac_ext <<_ACEOF
10291 /* end confdefs.h. */
10293 /* Override any gcc2 internal prototype to avoid an error. */
10297 /* We use char because int might match the return type of a gcc2
10298 builtin and then its argument prototype would still apply. */
10308 rm -f conftest.
$ac_objext conftest
$ac_exeext
10309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10310 (eval $ac_link) 2>conftest.er1
10312 grep -v '^ *+' conftest.er1
>conftest.err
10314 cat conftest.err
>&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } &&
10317 { ac_try
='test -z "$ac_c_werror_flag"
10318 || test ! -s conftest.err'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; } &&
10324 { ac_try
='test -s conftest$ac_exeext'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; }; then
10330 ac_cv_lib_dl_dlopen
=yes
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.
$ac_ext >&5
10335 ac_cv_lib_dl_dlopen
=no
10337 rm -f conftest.err conftest.
$ac_objext \
10338 conftest
$ac_exeext conftest.
$ac_ext
10339 LIBS
=$ac_check_lib_save_LIBS
10341 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10342 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10343 if test $ac_cv_lib_dl_dlopen = yes; then
10344 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10347 lt_cv_dlopen
="dyld"
10349 lt_cv_dlopen_self
=yes
10356 echo "$as_me:$LINENO: checking for shl_load" >&5
10357 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10358 if test "${ac_cv_func_shl_load+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 if test x
$gcc_no_link = xyes
; then
10362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10364 { (exit 1); exit 1; }; }
10366 cat >conftest.
$ac_ext <<_ACEOF
10369 cat confdefs.h
>>conftest.
$ac_ext
10370 cat >>conftest.
$ac_ext <<_ACEOF
10371 /* end confdefs.h. */
10372 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10374 #define shl_load innocuous_shl_load
10376 /* System header to define __stub macros and hopefully few prototypes,
10377 which can conflict with char shl_load (); below.
10378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10379 <limits.h> exists even on freestanding compilers. */
10382 # include <limits.h>
10384 # include <assert.h>
10389 /* Override any gcc2 internal prototype to avoid an error. */
10394 /* We use char because int might match the return type of a gcc2
10395 builtin and then its argument prototype would still apply. */
10397 /* The GNU C library defines this for functions which it implements
10398 to always fail with ENOSYS. Some functions are actually named
10399 something starting with __ and the normal name is an alias. */
10400 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10403 char (*f) () = shl_load;
10412 return f != shl_load;
10417 rm -f conftest.
$ac_objext conftest
$ac_exeext
10418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10419 (eval $ac_link) 2>conftest.er1
10421 grep -v '^ *+' conftest.er1
>conftest.err
10423 cat conftest.err
>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); } &&
10426 { ac_try
='test -z "$ac_c_werror_flag"
10427 || test ! -s conftest.err'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; } &&
10433 { ac_try
='test -s conftest$ac_exeext'
10434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435 (eval $ac_try) 2>&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); }; }; then
10439 ac_cv_func_shl_load
=yes
10441 echo "$as_me: failed program was:" >&5
10442 sed 's/^/| /' conftest.
$ac_ext >&5
10444 ac_cv_func_shl_load
=no
10446 rm -f conftest.err conftest.
$ac_objext \
10447 conftest
$ac_exeext conftest.
$ac_ext
10449 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10450 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10451 if test $ac_cv_func_shl_load = yes; then
10452 lt_cv_dlopen
="shl_load"
10454 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10455 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10456 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10457 echo $ECHO_N "(cached) $ECHO_C" >&6
10459 ac_check_lib_save_LIBS
=$LIBS
10461 if test x
$gcc_no_link = xyes
; then
10462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10464 { (exit 1); exit 1; }; }
10466 cat >conftest.
$ac_ext <<_ACEOF
10469 cat confdefs.h
>>conftest.
$ac_ext
10470 cat >>conftest.
$ac_ext <<_ACEOF
10471 /* end confdefs.h. */
10473 /* Override any gcc2 internal prototype to avoid an error. */
10477 /* We use char because int might match the return type of a gcc2
10478 builtin and then its argument prototype would still apply. */
10488 rm -f conftest.
$ac_objext conftest
$ac_exeext
10489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10490 (eval $ac_link) 2>conftest.er1
10492 grep -v '^ *+' conftest.er1
>conftest.err
10494 cat conftest.err
>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); } &&
10497 { ac_try
='test -z "$ac_c_werror_flag"
10498 || test ! -s conftest.err'
10499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10500 (eval $ac_try) 2>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; } &&
10504 { ac_try
='test -s conftest$ac_exeext'
10505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10506 (eval $ac_try) 2>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); }; }; then
10510 ac_cv_lib_dld_shl_load
=yes
10512 echo "$as_me: failed program was:" >&5
10513 sed 's/^/| /' conftest.
$ac_ext >&5
10515 ac_cv_lib_dld_shl_load
=no
10517 rm -f conftest.err conftest.
$ac_objext \
10518 conftest
$ac_exeext conftest.
$ac_ext
10519 LIBS
=$ac_check_lib_save_LIBS
10521 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10522 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10523 if test $ac_cv_lib_dld_shl_load = yes; then
10524 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10526 echo "$as_me:$LINENO: checking for dlopen" >&5
10527 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10528 if test "${ac_cv_func_dlopen+set}" = set; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10531 if test x
$gcc_no_link = xyes
; then
10532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10534 { (exit 1); exit 1; }; }
10536 cat >conftest.
$ac_ext <<_ACEOF
10539 cat confdefs.h
>>conftest.
$ac_ext
10540 cat >>conftest.
$ac_ext <<_ACEOF
10541 /* end confdefs.h. */
10542 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10544 #define dlopen innocuous_dlopen
10546 /* System header to define __stub macros and hopefully few prototypes,
10547 which can conflict with char dlopen (); below.
10548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10549 <limits.h> exists even on freestanding compilers. */
10552 # include <limits.h>
10554 # include <assert.h>
10559 /* Override any gcc2 internal prototype to avoid an error. */
10564 /* We use char because int might match the return type of a gcc2
10565 builtin and then its argument prototype would still apply. */
10567 /* The GNU C library defines this for functions which it implements
10568 to always fail with ENOSYS. Some functions are actually named
10569 something starting with __ and the normal name is an alias. */
10570 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10573 char (*f) () = dlopen;
10582 return f != dlopen;
10587 rm -f conftest.
$ac_objext conftest
$ac_exeext
10588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10589 (eval $ac_link) 2>conftest.er1
10591 grep -v '^ *+' conftest.er1
>conftest.err
10593 cat conftest.err
>&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } &&
10596 { ac_try
='test -z "$ac_c_werror_flag"
10597 || test ! -s conftest.err'
10598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10599 (eval $ac_try) 2>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; } &&
10603 { ac_try
='test -s conftest$ac_exeext'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; }; then
10609 ac_cv_func_dlopen
=yes
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.
$ac_ext >&5
10614 ac_cv_func_dlopen
=no
10616 rm -f conftest.err conftest.
$ac_objext \
10617 conftest
$ac_exeext conftest.
$ac_ext
10619 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10620 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10621 if test $ac_cv_func_dlopen = yes; then
10622 lt_cv_dlopen
="dlopen"
10624 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10625 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10626 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6
10629 ac_check_lib_save_LIBS
=$LIBS
10631 if test x
$gcc_no_link = xyes
; then
10632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10634 { (exit 1); exit 1; }; }
10636 cat >conftest.
$ac_ext <<_ACEOF
10639 cat confdefs.h
>>conftest.
$ac_ext
10640 cat >>conftest.
$ac_ext <<_ACEOF
10641 /* end confdefs.h. */
10643 /* Override any gcc2 internal prototype to avoid an error. */
10647 /* We use char because int might match the return type of a gcc2
10648 builtin and then its argument prototype would still apply. */
10658 rm -f conftest.
$ac_objext conftest
$ac_exeext
10659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10660 (eval $ac_link) 2>conftest.er1
10662 grep -v '^ *+' conftest.er1
>conftest.err
10664 cat conftest.err
>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } &&
10667 { ac_try
='test -z "$ac_c_werror_flag"
10668 || test ! -s conftest.err'
10669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10670 (eval $ac_try) 2>&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); }; } &&
10674 { ac_try
='test -s conftest$ac_exeext'
10675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10676 (eval $ac_try) 2>&5
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); }; }; then
10680 ac_cv_lib_dl_dlopen
=yes
10682 echo "$as_me: failed program was:" >&5
10683 sed 's/^/| /' conftest.
$ac_ext >&5
10685 ac_cv_lib_dl_dlopen
=no
10687 rm -f conftest.err conftest.
$ac_objext \
10688 conftest
$ac_exeext conftest.
$ac_ext
10689 LIBS
=$ac_check_lib_save_LIBS
10691 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10692 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10693 if test $ac_cv_lib_dl_dlopen = yes; then
10694 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10696 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10697 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10698 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10701 ac_check_lib_save_LIBS
=$LIBS
10702 LIBS
="-lsvld $LIBS"
10703 if test x
$gcc_no_link = xyes
; then
10704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10706 { (exit 1); exit 1; }; }
10708 cat >conftest.
$ac_ext <<_ACEOF
10711 cat confdefs.h
>>conftest.
$ac_ext
10712 cat >>conftest.
$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10715 /* Override any gcc2 internal prototype to avoid an error. */
10719 /* We use char because int might match the return type of a gcc2
10720 builtin and then its argument prototype would still apply. */
10730 rm -f conftest.
$ac_objext conftest
$ac_exeext
10731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10732 (eval $ac_link) 2>conftest.er1
10734 grep -v '^ *+' conftest.er1
>conftest.err
10736 cat conftest.err
>&5
10737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10738 (exit $ac_status); } &&
10739 { ac_try
='test -z "$ac_c_werror_flag"
10740 || test ! -s conftest.err'
10741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10742 (eval $ac_try) 2>&5
10744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745 (exit $ac_status); }; } &&
10746 { ac_try
='test -s conftest$ac_exeext'
10747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10748 (eval $ac_try) 2>&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; }; then
10752 ac_cv_lib_svld_dlopen
=yes
10754 echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.
$ac_ext >&5
10757 ac_cv_lib_svld_dlopen
=no
10759 rm -f conftest.err conftest.
$ac_objext \
10760 conftest
$ac_exeext conftest.
$ac_ext
10761 LIBS
=$ac_check_lib_save_LIBS
10763 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10764 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10765 if test $ac_cv_lib_svld_dlopen = yes; then
10766 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10768 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10769 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10770 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10771 echo $ECHO_N "(cached) $ECHO_C" >&6
10773 ac_check_lib_save_LIBS
=$LIBS
10775 if test x
$gcc_no_link = xyes
; then
10776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10778 { (exit 1); exit 1; }; }
10780 cat >conftest.
$ac_ext <<_ACEOF
10783 cat confdefs.h
>>conftest.
$ac_ext
10784 cat >>conftest.
$ac_ext <<_ACEOF
10785 /* end confdefs.h. */
10787 /* Override any gcc2 internal prototype to avoid an error. */
10791 /* We use char because int might match the return type of a gcc2
10792 builtin and then its argument prototype would still apply. */
10802 rm -f conftest.
$ac_objext conftest
$ac_exeext
10803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10804 (eval $ac_link) 2>conftest.er1
10806 grep -v '^ *+' conftest.er1
>conftest.err
10808 cat conftest.err
>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); } &&
10811 { ac_try
='test -z "$ac_c_werror_flag"
10812 || test ! -s conftest.err'
10813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10814 (eval $ac_try) 2>&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); }; } &&
10818 { ac_try
='test -s conftest$ac_exeext'
10819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10820 (eval $ac_try) 2>&5
10822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 (exit $ac_status); }; }; then
10824 ac_cv_lib_dld_dld_link
=yes
10826 echo "$as_me: failed program was:" >&5
10827 sed 's/^/| /' conftest.
$ac_ext >&5
10829 ac_cv_lib_dld_dld_link
=no
10831 rm -f conftest.err conftest.
$ac_objext \
10832 conftest
$ac_exeext conftest.
$ac_ext
10833 LIBS
=$ac_check_lib_save_LIBS
10835 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10836 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10837 if test $ac_cv_lib_dld_dld_link = yes; then
10838 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10859 if test "x$lt_cv_dlopen" != xno
; then
10865 case $lt_cv_dlopen in
10867 save_CPPFLAGS
="$CPPFLAGS"
10868 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10870 save_LDFLAGS
="$LDFLAGS"
10871 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10874 LIBS
="$lt_cv_dlopen_libs $LIBS"
10876 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10877 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10878 if test "${lt_cv_dlopen_self+set}" = set; then
10879 echo $ECHO_N "(cached) $ECHO_C" >&6
10881 if test "$cross_compiling" = yes; then :
10882 lt_cv_dlopen_self
=cross
10884 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10885 lt_status
=$lt_dlunknown
10886 cat > conftest.
$ac_ext <<_LT_EOF
10887 #line 10887 "configure"
10888 #include "confdefs.h"
10897 # define LT_DLGLOBAL RTLD_GLOBAL
10900 # define LT_DLGLOBAL DL_GLOBAL
10902 # define LT_DLGLOBAL 0
10906 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10907 find out it does not work in some platform. */
10908 #ifndef LT_DLLAZY_OR_NOW
10910 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10913 # define LT_DLLAZY_OR_NOW DL_LAZY
10916 # define LT_DLLAZY_OR_NOW RTLD_NOW
10919 # define LT_DLLAZY_OR_NOW DL_NOW
10921 # define LT_DLLAZY_OR_NOW 0
10929 extern "C" void exit (int);
10932 void fnord() { int i=42;}
10935 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10936 int status = $lt_dlunknown;
10940 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10941 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10942 /* dlclose (self); */
10950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10951 (eval $ac_link) 2>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10955 (.
/conftest
; exit; ) >&5 2>/dev
/null
10957 case x
$lt_status in
10958 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10959 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10960 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10963 # compilation failed
10964 lt_cv_dlopen_self
=no
10971 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10972 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10974 if test "x$lt_cv_dlopen_self" = xyes
; then
10975 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10976 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10977 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10978 if test "${lt_cv_dlopen_self_static+set}" = set; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6
10981 if test "$cross_compiling" = yes; then :
10982 lt_cv_dlopen_self_static
=cross
10984 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10985 lt_status
=$lt_dlunknown
10986 cat > conftest.
$ac_ext <<_LT_EOF
10987 #line 10987 "configure"
10988 #include "confdefs.h"
10997 # define LT_DLGLOBAL RTLD_GLOBAL
11000 # define LT_DLGLOBAL DL_GLOBAL
11002 # define LT_DLGLOBAL 0
11006 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11007 find out it does not work in some platform. */
11008 #ifndef LT_DLLAZY_OR_NOW
11010 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11013 # define LT_DLLAZY_OR_NOW DL_LAZY
11016 # define LT_DLLAZY_OR_NOW RTLD_NOW
11019 # define LT_DLLAZY_OR_NOW DL_NOW
11021 # define LT_DLLAZY_OR_NOW 0
11029 extern "C" void exit (int);
11032 void fnord() { int i=42;}
11035 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11036 int status = $lt_dlunknown;
11040 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11041 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11042 /* dlclose (self); */
11050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11051 (eval $ac_link) 2>&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11055 (.
/conftest
; exit; ) >&5 2>/dev
/null
11057 case x
$lt_status in
11058 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11059 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11060 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11063 # compilation failed
11064 lt_cv_dlopen_self_static
=no
11071 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11072 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11075 CPPFLAGS
="$save_CPPFLAGS"
11076 LDFLAGS
="$save_LDFLAGS"
11081 case $lt_cv_dlopen_self in
11082 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11083 *) enable_dlopen_self
=unknown
;;
11086 case $lt_cv_dlopen_self_static in
11087 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11088 *) enable_dlopen_self_static
=unknown
;;
11110 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11111 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11112 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11113 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11114 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11115 echo "$as_me:$LINENO: result: yes" >&5
11116 echo "${ECHO_T}yes" >&6
11118 # FIXME - insert some real tests, host_os isn't really good enough
11121 if test -n "$STRIP" ; then
11122 striplib
="$STRIP -x"
11123 old_striplib
="$STRIP -S"
11124 echo "$as_me:$LINENO: result: yes" >&5
11125 echo "${ECHO_T}yes" >&6
11127 echo "$as_me:$LINENO: result: no" >&5
11128 echo "${ECHO_T}no" >&6
11132 echo "$as_me:$LINENO: result: no" >&5
11133 echo "${ECHO_T}no" >&6
11149 # Report which library types will actually be built
11150 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11151 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11152 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11153 echo "${ECHO_T}$can_build_shared" >&6
11155 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11156 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11157 test "$can_build_shared" = "no" && enable_shared
=no
11159 # On AIX, shared libraries and static libraries use the same namespace, and
11160 # are all built from PIC.
11163 test "$enable_shared" = yes && enable_static
=no
11164 if test -n "$RANLIB"; then
11165 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11166 postinstall_cmds
='$RANLIB $lib'
11171 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11172 test "$enable_shared" = yes && enable_static
=no
11176 echo "$as_me:$LINENO: result: $enable_shared" >&5
11177 echo "${ECHO_T}$enable_shared" >&6
11179 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11180 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11181 # Make sure either enable_shared or enable_static is yes.
11182 test "$enable_shared" = yes || enable_static
=yes
11183 echo "$as_me:$LINENO: result: $enable_static" >&5
11184 echo "${ECHO_T}$enable_static" >&6
11191 ac_cpp
='$CPP $CPPFLAGS'
11192 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11193 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11194 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11200 ac_cpp
='$CXXCPP $CPPFLAGS'
11201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11205 archive_cmds_need_lc_CXX
=no
11206 allow_undefined_flag_CXX
=
11207 always_export_symbols_CXX
=no
11208 archive_expsym_cmds_CXX
=
11209 compiler_needs_object_CXX
=no
11210 export_dynamic_flag_spec_CXX
=
11211 hardcode_direct_CXX
=no
11212 hardcode_direct_absolute_CXX
=no
11213 hardcode_libdir_flag_spec_CXX
=
11214 hardcode_libdir_flag_spec_ld_CXX
=
11215 hardcode_libdir_separator_CXX
=
11216 hardcode_minus_L_CXX
=no
11217 hardcode_shlibpath_var_CXX
=unsupported
11218 hardcode_automatic_CXX
=no
11219 inherit_rpath_CXX
=no
11221 module_expsym_cmds_CXX
=
11222 link_all_deplibs_CXX
=unknown
11223 old_archive_cmds_CXX
=$old_archive_cmds
11224 no_undefined_flag_CXX
=
11225 whole_archive_flag_spec_CXX
=
11226 enable_shared_with_static_runtimes_CXX
=no
11228 # Source file extension for C++ test sources.
11231 # Object file extension for compiled C++ test sources.
11235 # No sense in running all these tests if we already determined that
11236 # the CXX compiler isn't working. Some variables (like enable_shared)
11237 # are currently assumed to apply to all compilers on this platform,
11238 # and will be corrupted by setting them based on a non-working compiler.
11239 if test "$_lt_caught_CXX_error" != yes; then
11240 # Code to be used in simple compile tests
11241 lt_simple_compile_test_code
="int some_variable = 0;"
11243 # Code to be used in simple link tests
11244 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11246 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11253 # If no C compiler was specified, use CC.
11256 # If no C compiler flags were specified, use CFLAGS.
11257 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11259 # Allow CC to be a program name with arguments.
11263 # save warnings/boilerplate of simple test code
11264 ac_outfile
=conftest.
$ac_objext
11265 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11266 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11267 _lt_compiler_boilerplate
=`cat conftest.err`
11270 ac_outfile
=conftest.
$ac_objext
11271 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11272 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11273 _lt_linker_boilerplate
=`cat conftest.err`
11277 # Allow CC to be a program name with arguments.
11282 lt_save_with_gnu_ld
=$with_gnu_ld
11283 lt_save_path_LD
=$lt_cv_path_LD
11284 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11285 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11287 $as_unset lt_cv_prog_gnu_ld
11289 if test -n "${lt_cv_path_LDCXX+set}"; then
11290 lt_cv_path_LD
=$lt_cv_path_LDCXX
11292 $as_unset lt_cv_path_LD
11294 test -z "${LDCXX+set}" || LD
=$LDCXX
11298 for cc_temp
in $compiler""; do
11300 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11301 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11306 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11309 if test -n "$compiler"; then
11310 # We don't want -fno-exception when compiling C++ code, so set the
11311 # no_builtin_flag separately
11312 if test "$GXX" = yes; then
11313 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11315 lt_prog_compiler_no_builtin_flag_CXX
=
11318 if test "$GXX" = yes; then
11319 # Set up default GNU C++ configuration
11323 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11324 if test "${with_gnu_ld+set}" = set; then
11325 withval
="$with_gnu_ld"
11326 test "$withval" = no || with_gnu_ld
=yes
11331 if test "$GCC" = yes; then
11332 # Check if gcc -print-prog-name=ld gives a path.
11333 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11334 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11337 # gcc leaves a trailing carriage return which upsets mingw
11338 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11340 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11343 # Accept absolute paths.
11345 re_direlt
='/[^/][^/]*/\.\./'
11346 # Canonicalize the pathname of ld
11347 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11348 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11349 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11351 test -z "$LD" && LD
="$ac_prog"
11354 # If it fails, then pretend we aren't using GCC.
11358 # If it is relative, then search for the first ld in PATH.
11359 with_gnu_ld
=unknown
11362 elif test "$with_gnu_ld" = yes; then
11363 echo "$as_me:$LINENO: checking for GNU ld" >&5
11364 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11366 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11367 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11369 if test "${lt_cv_path_LD+set}" = set; then
11370 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 if test -z "$LD"; then
11373 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11374 for ac_dir
in $PATH; do
11376 test -z "$ac_dir" && ac_dir
=.
11377 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11378 lt_cv_path_LD
="$ac_dir/$ac_prog"
11379 # Check to see if the program is GNU ld. I'd rather use --version,
11380 # but apparently some variants of GNU ld only accept -v.
11381 # Break only if it was the GNU/non-GNU ld that we prefer.
11382 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11383 *GNU
* |
*'with BFD'*)
11384 test "$with_gnu_ld" != no
&& break
11387 test "$with_gnu_ld" != yes && break
11394 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11398 LD
="$lt_cv_path_LD"
11399 if test -n "$LD"; then
11400 echo "$as_me:$LINENO: result: $LD" >&5
11401 echo "${ECHO_T}$LD" >&6
11403 echo "$as_me:$LINENO: result: no" >&5
11404 echo "${ECHO_T}no" >&6
11406 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11407 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11408 { (exit 1); exit 1; }; }
11409 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11410 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11411 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11412 echo $ECHO_N "(cached) $ECHO_C" >&6
11414 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11415 case `$LD -v 2>&1 </dev/null` in
11416 *GNU
* |
*'with BFD'*)
11417 lt_cv_prog_gnu_ld
=yes
11420 lt_cv_prog_gnu_ld
=no
11424 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11425 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11426 with_gnu_ld
=$lt_cv_prog_gnu_ld
11434 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11435 # archiving commands below assume that GNU ld is being used.
11436 if test "$with_gnu_ld" = yes; then
11437 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11438 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'
11440 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11441 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11443 # If archive_cmds runs LD, not CC, wlarc should be empty
11444 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11445 # investigate it a little bit more. (MM)
11448 # ancient GNU ld didn't support --whole-archive et. al.
11449 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11450 $GREP 'no-whole-archive' > /dev
/null
; then
11451 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11453 whole_archive_flag_spec_CXX
=
11459 # A generic and very simple default shared library creation
11460 # command for GNU C++ for the case where it uses the native
11461 # linker, instead of GNU ld. If possible, this setting should
11462 # overridden to take advantage of the native linker features on
11463 # the platform it is being used on.
11464 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11467 # Commands to make compiler produce verbose output that lists
11468 # what "hidden" libraries, object files and flags are used when
11469 # linking a shared library.
11470 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11478 # PORTME: fill in a description of your system's C++ link characteristics
11479 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11480 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11484 # FIXME: insert proper C++ library support
11488 if test "$host_cpu" = ia64
; then
11489 # On IA64, the linker does run time linking by default, so we don't
11490 # have to do anything special.
11491 aix_use_runtimelinking
=no
11492 exp_sym_flag
='-Bexport'
11495 aix_use_runtimelinking
=no
11497 # Test if we are trying to use run time linking or normal
11498 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11499 # need to do runtime linking.
11500 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
11501 for ld_flag
in $LDFLAGS; do
11504 aix_use_runtimelinking
=yes
11512 exp_sym_flag
='-bexport'
11513 no_entry_flag
='-bnoentry'
11516 # When large executables or shared objects are built, AIX ld can
11517 # have problems creating the table of contents. If linking a library
11518 # or program results in "error TOC overflow" add -mminimal-toc to
11519 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11520 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11522 archive_cmds_CXX
=''
11523 hardcode_direct_CXX
=yes
11524 hardcode_direct_absolute_CXX
=yes
11525 hardcode_libdir_separator_CXX
=':'
11526 link_all_deplibs_CXX
=yes
11527 file_list_spec_CXX
='${wl}-f,'
11529 if test "$GXX" = yes; then
11530 case $host_os in aix4.
[012]|aix4.
[012].
*)
11531 # We only want to do this on AIX 4.2 and lower, the check
11532 # below for broken collect2 doesn't work under 4.3+
11533 collect2name
=`${CC} -print-prog-name=collect2`
11534 if test -f "$collect2name" &&
11535 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11537 # We have reworked collect2
11540 # We have old collect2
11541 hardcode_direct_CXX
=unsupported
11542 # It fails to find uninstalled libraries when the uninstalled
11543 # path is not listed in the libpath. Setting hardcode_minus_L
11544 # to unsupported forces relinking
11545 hardcode_minus_L_CXX
=yes
11546 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11547 hardcode_libdir_separator_CXX
=
11550 shared_flag
='-shared'
11551 if test "$aix_use_runtimelinking" = yes; then
11552 shared_flag
="$shared_flag "'${wl}-G'
11556 if test "$host_cpu" = ia64
; then
11557 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11558 # chokes on -Wl,-G. The following line is correct:
11561 if test "$aix_use_runtimelinking" = yes; then
11562 shared_flag
='${wl}-G'
11564 shared_flag
='${wl}-bM:SRE'
11569 # It seems that -bexpall does not export symbols beginning with
11570 # underscore (_), so it is better to generate a list of symbols to
11572 always_export_symbols_CXX
=yes
11573 if test "$aix_use_runtimelinking" = yes; then
11574 # Warning - without using the other runtime loading flags (-brtl),
11575 # -berok will link without error, but may produce a broken library.
11576 allow_undefined_flag_CXX
='-berok'
11577 # Determine the default libpath from the value encoded in an empty
11579 if test x
$gcc_no_link = xyes
; then
11580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11582 { (exit 1); exit 1; }; }
11584 cat >conftest.
$ac_ext <<_ACEOF
11587 cat confdefs.h
>>conftest.
$ac_ext
11588 cat >>conftest.
$ac_ext <<_ACEOF
11589 /* end confdefs.h. */
11599 rm -f conftest.
$ac_objext conftest
$ac_exeext
11600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11601 (eval $ac_link) 2>conftest.er1
11603 grep -v '^ *+' conftest.er1
>conftest.err
11605 cat conftest.err
>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } &&
11608 { ac_try
='test -z "$ac_cxx_werror_flag"
11609 || test ! -s conftest.err'
11610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11611 (eval $ac_try) 2>&5
11613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 (exit $ac_status); }; } &&
11615 { ac_try
='test -s conftest$ac_exeext'
11616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11617 (eval $ac_try) 2>&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); }; }; then
11622 lt_aix_libpath_sed
='
11623 /Import File Strings/,/^$/ {
11629 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11630 # Check for a 64-bit object if we didn't find anything.
11631 if test -z "$aix_libpath"; then
11632 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11635 echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.
$ac_ext >&5
11639 rm -f conftest.err conftest.
$ac_objext \
11640 conftest
$ac_exeext conftest.
$ac_ext
11641 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11643 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11645 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"
11647 if test "$host_cpu" = ia64
; then
11648 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11649 allow_undefined_flag_CXX
="-z nodefs"
11650 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"
11652 # Determine the default libpath from the value encoded in an
11653 # empty executable.
11654 if test x
$gcc_no_link = xyes
; then
11655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11657 { (exit 1); exit 1; }; }
11659 cat >conftest.
$ac_ext <<_ACEOF
11662 cat confdefs.h
>>conftest.
$ac_ext
11663 cat >>conftest.
$ac_ext <<_ACEOF
11664 /* end confdefs.h. */
11674 rm -f conftest.
$ac_objext conftest
$ac_exeext
11675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11676 (eval $ac_link) 2>conftest.er1
11678 grep -v '^ *+' conftest.er1
>conftest.err
11680 cat conftest.err
>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } &&
11683 { ac_try
='test -z "$ac_cxx_werror_flag"
11684 || test ! -s conftest.err'
11685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686 (eval $ac_try) 2>&5
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; } &&
11690 { ac_try
='test -s conftest$ac_exeext'
11691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11692 (eval $ac_try) 2>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); }; }; then
11697 lt_aix_libpath_sed
='
11698 /Import File Strings/,/^$/ {
11704 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11705 # Check for a 64-bit object if we didn't find anything.
11706 if test -z "$aix_libpath"; then
11707 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11710 echo "$as_me: failed program was:" >&5
11711 sed 's/^/| /' conftest.
$ac_ext >&5
11714 rm -f conftest.err conftest.
$ac_objext \
11715 conftest
$ac_exeext conftest.
$ac_ext
11716 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11718 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11719 # Warning - without using the other run time loading flags,
11720 # -berok will link without error, but may produce a broken library.
11721 no_undefined_flag_CXX
=' ${wl}-bernotok'
11722 allow_undefined_flag_CXX
=' ${wl}-berok'
11723 # Exported symbols can be pulled into shared objects from archives
11724 whole_archive_flag_spec_CXX
='$convenience'
11725 archive_cmds_need_lc_CXX
=yes
11726 # This is similar to how AIX traditionally builds its shared
11728 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'
11734 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11735 allow_undefined_flag_CXX
=unsupported
11736 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11737 # support --undefined. This deserves some investigation. FIXME
11738 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11745 case $cc_basename in
11747 # FIXME: insert proper C++ library support
11753 cygwin
* | mingw
* | pw32
*)
11754 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11755 # as there is no search path for DLLs.
11756 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11757 allow_undefined_flag_CXX
=unsupported
11758 always_export_symbols_CXX
=no
11759 enable_shared_with_static_runtimes_CXX
=yes
11761 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11762 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'
11763 # If the export-symbols file already is a .def file (1st line
11764 # is EXPORTS), use it as is; otherwise, prepend...
11765 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11766 cp $export_symbols $output_objdir/$soname.def;
11768 echo EXPORTS > $output_objdir/$soname.def;
11769 cat $export_symbols >> $output_objdir/$soname.def;
11771 $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'
11776 darwin
* | rhapsody
*)
11778 rhapsody
* | darwin1.
[012])
11779 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
11782 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11784 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11787 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
11792 archive_cmds_need_lc_CXX
=no
11793 hardcode_direct_CXX
=no
11794 hardcode_automatic_CXX
=yes
11795 hardcode_shlibpath_var_CXX
=unsupported
11796 whole_archive_flag_spec_CXX
=''
11797 link_all_deplibs_CXX
=yes
11799 if test "$GXX" = yes ; then
11800 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11803 lt_cv_apple_cc_single_mod
=no
11804 if test -z "${LT_MULTI_MODULE}"; then
11805 # By default we will add the -single_module flag. You can override
11806 # by either setting the environment variable LT_MULTI_MODULE
11807 # non-empty at configure time, or by adding -multi-module to the
11809 echo "int foo(void){return 1;}" > conftest.c
11810 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11811 -dynamiclib ${wl}-single_module conftest.c
11812 if test -f libconftest.dylib
; then
11813 lt_cv_apple_cc_single_mod
=yes
11814 rm libconftest.dylib
11816 rm conftest.
$ac_ext
11820 output_verbose_link_cmd
=echo
11821 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
11822 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11823 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}'
11825 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'
11826 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}'
11828 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11829 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}'
11831 case $cc_basename in
11833 output_verbose_link_cmd
=echo
11834 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'
11835 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11836 # Don't fix this by using the ld -exported_symbols_list flag,
11837 # it doesn't exist in older darwin lds
11838 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}'
11839 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}'
11849 case $cc_basename in
11851 # FIXME: insert proper C++ library support
11855 # Green Hills C++ Compiler
11856 # FIXME: insert proper C++ library support
11860 # FIXME: insert proper C++ library support
11867 # C++ shared libraries reported to be fairly broken before
11873 archive_cmds_need_lc_CXX
=no
11876 freebsd
* | dragonfly
*)
11877 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11886 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11887 hardcode_libdir_separator_CXX
=:
11888 export_dynamic_flag_spec_CXX
='${wl}-E'
11889 hardcode_direct_CXX
=yes
11890 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11891 # but as the default
11892 # location of the library.
11894 case $cc_basename in
11896 # FIXME: insert proper C++ library support
11900 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'
11901 # Commands to make compiler produce verbose output that lists
11902 # what "hidden" libraries, object files and flags are used when
11903 # linking a shared library.
11905 # There doesn't appear to be a way to prevent this compiler from
11906 # explicitly linking system object files so we need to strip them
11907 # from the output so that they don't get included in the library
11909 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'
11912 if test "$GXX" = yes; then
11913 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'
11915 # FIXME: insert proper C++ library support
11923 if test $with_gnu_ld = no
; then
11924 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11925 hardcode_libdir_separator_CXX
=:
11931 export_dynamic_flag_spec_CXX
='${wl}-E'
11937 hardcode_direct_CXX
=no
11938 hardcode_shlibpath_var_CXX
=no
11941 hardcode_direct_CXX
=yes
11942 hardcode_direct_absolute_CXX
=yes
11943 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11944 # but as the default
11945 # location of the library.
11949 case $cc_basename in
11951 # FIXME: insert proper C++ library support
11957 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11960 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11963 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11966 # Commands to make compiler produce verbose output that lists
11967 # what "hidden" libraries, object files and flags are used when
11968 # linking a shared library.
11970 # There doesn't appear to be a way to prevent this compiler from
11971 # explicitly linking system object files so we need to strip them
11972 # from the output so that they don't get included in the library
11974 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'
11977 if test "$GXX" = yes; then
11978 if test $with_gnu_ld = no
; then
11981 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11984 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11987 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'
11992 # FIXME: insert proper C++ library support
12000 hardcode_direct_CXX
=no
12001 hardcode_shlibpath_var_CXX
=no
12002 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12003 export_dynamic_flag_spec_CXX
='${wl}-E'
12004 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12005 # Instead, shared libraries are loaded at an image base (0x10000000 by
12006 # default) and relocated if they conflict, which is a slow very memory
12007 # consuming and fragmenting process. To avoid this, we pick a random,
12008 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12009 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12010 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'
12011 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'
12014 case $cc_basename in
12017 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'
12019 # Archives containing C++ object files must be created using
12020 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12021 # necessary to make sure instantiated templates are included
12023 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12026 if test "$GXX" = yes; then
12027 if test "$with_gnu_ld" = no
; then
12028 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'
12030 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'
12033 link_all_deplibs_CXX
=yes
12036 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12037 hardcode_libdir_separator_CXX
=:
12038 inherit_rpath_CXX
=yes
12041 linux
* | k
*bsd
*-gnu)
12042 case $cc_basename in
12044 # Kuck and Associates, Inc. (KAI) C++ Compiler
12046 # KCC will only create a shared library if the output file
12047 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12048 # to its proper name (with version) after linking.
12049 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'
12050 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'
12051 # Commands to make compiler produce verbose output that lists
12052 # what "hidden" libraries, object files and flags are used when
12053 # linking a shared library.
12055 # There doesn't appear to be a way to prevent this compiler from
12056 # explicitly linking system object files so we need to strip them
12057 # from the output so that they don't get included in the library
12059 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'
12061 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12062 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12064 # Archives containing C++ object files must be created using
12065 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12066 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12071 # version 8.0 and above of icpc choke on multiply defined symbols
12072 # if we add $predep_objects and $postdep_objects, however 7.1 and
12073 # earlier do not add the objects themselves.
12074 case `$CC -V 2>&1` in
12076 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12077 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'
12079 *) # Version 8.0 or newer
12082 ia64
*) tmp_idyn
=' -i_dynamic';;
12084 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12085 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'
12088 archive_cmds_need_lc_CXX
=no
12089 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12090 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12091 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12094 # Portland Group C++ compiler
12097 prelink_cmds_CXX
='tpldir=Template.dir~
12099 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12100 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12101 old_archive_cmds_CXX
='tpldir=Template.dir~
12103 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12104 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12106 archive_cmds_CXX
='tpldir=Template.dir~
12108 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12109 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12110 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12112 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12113 $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'
12115 *) # Version 6 will use weak symbols
12116 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12117 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'
12121 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12122 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12123 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'
12127 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12128 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'
12130 runpath_var
=LD_RUN_PATH
12131 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12132 hardcode_libdir_separator_CXX
=:
12134 # Commands to make compiler produce verbose output that lists
12135 # what "hidden" libraries, object files and flags are used when
12136 # linking a shared library.
12138 # There doesn't appear to be a way to prevent this compiler from
12139 # explicitly linking system object files so we need to strip them
12140 # from the output so that they don't get included in the library
12142 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'
12145 case `$CC -V 2>&1 | sed 5q` in
12148 no_undefined_flag_CXX
=' -zdefs'
12149 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12150 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'
12151 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12152 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'
12153 compiler_needs_object_CXX
=yes
12155 # Not sure whether something based on
12156 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12158 output_verbose_link_cmd
='echo'
12160 # Archives containing C++ object files must be created using
12161 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12162 # necessary to make sure instantiated templates are included
12164 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12172 # FIXME: insert proper C++ library support
12177 # FIXME: insert proper C++ library support
12182 case $cc_basename in
12184 # FIXME: insert proper C++ library support
12188 # FIXME: insert proper C++ library support
12195 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12196 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12198 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12199 hardcode_direct_CXX
=yes
12200 hardcode_shlibpath_var_CXX
=no
12202 # Workaround some broken pre-1.5 toolchains
12203 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12211 # C++ shared libraries are fairly broken
12216 hardcode_direct_CXX
=yes
12217 hardcode_shlibpath_var_CXX
=no
12218 hardcode_direct_absolute_CXX
=yes
12219 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12220 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12221 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12222 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12223 export_dynamic_flag_spec_CXX
='${wl}-E'
12224 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12226 output_verbose_link_cmd
=echo
12229 osf3
* | osf4
* | osf5
*)
12230 case $cc_basename in
12232 # Kuck and Associates, Inc. (KAI) C++ Compiler
12234 # KCC will only create a shared library if the output file
12235 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12236 # to its proper name (with version) after linking.
12237 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'
12239 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12240 hardcode_libdir_separator_CXX
=:
12242 # Archives containing C++ object files must be created using
12243 # the KAI C++ compiler.
12245 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12246 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12250 # Rational C++ 2.4.1
12251 # FIXME: insert proper C++ library support
12257 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12258 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'
12259 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12262 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12263 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'
12264 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12265 echo "-hidden">> $lib.exp~
12266 $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~
12268 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12272 hardcode_libdir_separator_CXX
=:
12274 # Commands to make compiler produce verbose output that lists
12275 # what "hidden" libraries, object files and flags are used when
12276 # linking a shared library.
12278 # There doesn't appear to be a way to prevent this compiler from
12279 # explicitly linking system object files so we need to strip them
12280 # from the output so that they don't get included in the library
12282 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'
12285 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12286 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12289 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'
12292 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'
12296 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12297 hardcode_libdir_separator_CXX
=:
12299 # Commands to make compiler produce verbose output that lists
12300 # what "hidden" libraries, object files and flags are used when
12301 # linking a shared library.
12302 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12305 # FIXME: insert proper C++ library support
12313 # FIXME: insert proper C++ library support
12318 case $cc_basename in
12321 # FIXME: insert proper C++ library support
12326 # FIXME: insert proper C++ library support
12330 # FIXME: insert proper C++ library support
12337 case $cc_basename in
12339 # Sun C++ 4.2, 5.x and Centerline C++
12340 archive_cmds_need_lc_CXX
=yes
12341 no_undefined_flag_CXX
=' -zdefs'
12342 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12343 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12344 $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'
12346 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12347 hardcode_shlibpath_var_CXX
=no
12349 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12351 # The compiler driver will combine and reorder linker options,
12352 # but understands `-z linker_flag'.
12353 # Supported since Solaris 2.6 (maybe 2.5.1?)
12354 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12357 link_all_deplibs_CXX
=yes
12359 output_verbose_link_cmd
='echo'
12361 # Archives containing C++ object files must be created using
12362 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12363 # necessary to make sure instantiated templates are included
12365 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12368 # Green Hills C++ Compiler
12369 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12371 # The C++ compiler must be used to create the archive.
12372 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12375 # GNU C++ compiler with Solaris linker
12376 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12377 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12378 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12379 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12380 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12381 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12383 # Commands to make compiler produce verbose output that lists
12384 # what "hidden" libraries, object files and flags are used when
12385 # linking a shared library.
12386 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12388 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12390 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12391 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12392 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12394 # Commands to make compiler produce verbose output that lists
12395 # what "hidden" libraries, object files and flags are used when
12396 # linking a shared library.
12397 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12400 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12402 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12404 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12412 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12413 no_undefined_flag_CXX
='${wl}-z,text'
12414 archive_cmds_need_lc_CXX
=no
12415 hardcode_shlibpath_var_CXX
=no
12416 runpath_var
='LD_RUN_PATH'
12418 case $cc_basename in
12420 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12421 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12424 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12425 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12430 sysv5
* | sco3.2v5
* | sco5v6
*)
12431 # Note: We can NOT use -z defs as we might desire, because we do not
12432 # link with -lc, and that would cause any symbols used from libc to
12433 # always be unresolved, which means just about no library would
12434 # ever link correctly. If we're not using GNU ld we use -z text
12435 # though, which does catch some bad symbols but isn't as heavy-handed
12437 no_undefined_flag_CXX
='${wl}-z,text'
12438 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12439 archive_cmds_need_lc_CXX
=no
12440 hardcode_shlibpath_var_CXX
=no
12441 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12442 hardcode_libdir_separator_CXX
=':'
12443 link_all_deplibs_CXX
=yes
12444 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12445 runpath_var
='LD_RUN_PATH'
12447 case $cc_basename in
12449 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12450 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12453 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12454 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12460 case $cc_basename in
12462 # NonStop-UX NCC 3.20
12463 # FIXME: insert proper C++ library support
12467 # FIXME: insert proper C++ library support
12474 # FIXME: insert proper C++ library support
12479 # FIXME: insert proper C++ library support
12484 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12485 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12486 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12492 ## There is no encapsulation within the following macros, do not change
12493 ## the running order or otherwise move them around unless you know exactly
12494 ## what you are doing...
12495 # Dependencies to place before and after the object being linked:
12496 predep_objects_CXX
=
12497 postdep_objects_CXX
=
12500 compiler_lib_search_path_CXX
=
12502 cat > conftest.
$ac_ext <<_LT_EOF
12506 Foo (void) { a = 0; }
12512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12513 (eval $ac_compile) 2>&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); }; then
12517 # Parse the compiler output and extract the necessary
12518 # objects, libraries and library flags.
12520 # Sentinel used to keep track of whether or not we are before
12521 # the conftest object file.
12522 pre_test_object_deps_done
=no
12524 # The `*' in the case matches for architectures that use `case' in
12525 # $output_verbose_cmd can trigger glob expansion during the loop
12526 # eval without this substitution.
12527 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12529 for p
in `eval $output_verbose_link_cmd`; do
12533 # Some compilers place space between "-{L,R}" and the path.
12534 # Remove the space.
12535 if test $p = "-L" ||
12536 test $p = "-R"; then
12543 if test "$pre_test_object_deps_done" = no
; then
12546 # Internal compiler library paths should come after those
12547 # provided the user. The postdeps already come after the
12548 # user supplied libs so there is no need to process them.
12549 if test -z "$compiler_lib_search_path_CXX"; then
12550 compiler_lib_search_path_CXX
="${prev}${p}"
12552 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12555 # The "-l" case would never come before the object being
12556 # linked, so don't bother handling this case.
12559 if test -z "$postdeps_CXX"; then
12560 postdeps_CXX
="${prev}${p}"
12562 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12568 # This assumes that the test object file only shows up
12569 # once in the compiler output.
12570 if test "$p" = "conftest.$objext"; then
12571 pre_test_object_deps_done
=yes
12575 if test "$pre_test_object_deps_done" = no
; then
12576 if test -z "$predep_objects_CXX"; then
12577 predep_objects_CXX
="$p"
12579 predep_objects_CXX
="$predep_objects_CXX $p"
12582 if test -z "$postdep_objects_CXX"; then
12583 postdep_objects_CXX
="$p"
12585 postdep_objects_CXX
="$postdep_objects_CXX $p"
12590 *) ;; # Ignore the rest.
12598 echo "libtool.m4: error: problem compiling CXX test program"
12601 $RM -f confest.
$objext
12603 # PORTME: override above test on systems where it is broken
12606 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12607 # hack all around it, let's just trust "g++" to DTRT.
12608 predep_objects_CXX
=
12609 postdep_objects_CXX
=
12614 case `$CC -V 2>&1 | sed 5q` in
12618 # The more standards-conforming stlport4 library is
12619 # incompatible with the Cstd library. Avoid specifying
12620 # it if it's in CXXFLAGS. Ignore libCrun as
12621 # -library=stlport4 depends on it.
12622 case " $CXX $CXXFLAGS " in
12623 *" -library=stlport4 "*)
12624 solaris_use_stlport4
=yes
12628 if test "$solaris_use_stlport4" != yes; then
12629 postdeps_CXX
='-library=Cstd -library=Crun'
12636 case $cc_basename in
12638 # The more standards-conforming stlport4 library is
12639 # incompatible with the Cstd library. Avoid specifying
12640 # it if it's in CXXFLAGS. Ignore libCrun as
12641 # -library=stlport4 depends on it.
12642 case " $CXX $CXXFLAGS " in
12643 *" -library=stlport4 "*)
12644 solaris_use_stlport4
=yes
12648 # Adding this requires a known-good setup of shared libraries for
12649 # Sun compiler versions before 5.6, else PIC objects from an old
12650 # archive will be linked into the output, leading to subtle bugs.
12651 if test "$solaris_use_stlport4" != yes; then
12652 postdeps_CXX
='-library=Cstd -library=Crun'
12660 case " $postdeps_CXX " in
12661 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12689 lt_prog_compiler_wl_CXX
=
12690 lt_prog_compiler_pic_CXX
=
12691 lt_prog_compiler_static_CXX
=
12693 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12694 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12696 # C++ specific cases for pic, static, wl, etc.
12697 if test "$GXX" = yes; then
12698 lt_prog_compiler_wl_CXX
='-Wl,'
12699 lt_prog_compiler_static_CXX
='-static'
12703 # All AIX code is PIC.
12704 if test "$host_cpu" = ia64
; then
12705 # AIX 5 now supports IA64 processor
12706 lt_prog_compiler_static_CXX
='-Bstatic'
12710 if test "$host_cpu" = m68k
; then
12711 # FIXME: we need at least 68020 code to build shared libraries, but
12712 # adding the `-m68020' flag to GCC prevents building anything better,
12714 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12717 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12718 # PIC is the default for these OSes.
12720 mingw
* | cygwin
* | os2
* | pw32
*)
12721 # This hack is so that the source file can tell whether it is being
12722 # built for inclusion in a dll (and should export symbols for example).
12723 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12724 # (--disable-auto-import) libraries
12725 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12727 darwin
* | rhapsody
*)
12728 # PIC is the default on this platform
12729 # Common symbols not allowed in MH_DYLIB files
12730 lt_prog_compiler_pic_CXX
='-fno-common'
12733 # DJGPP does not support shared libraries at all
12734 lt_prog_compiler_pic_CXX
=
12737 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12738 # Instead, we relocate shared libraries at runtime.
12741 if test -d /usr
/nec
; then
12742 lt_prog_compiler_pic_CXX
=-Kconform_pic
12746 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12747 # not for PA HP-UX.
12752 lt_prog_compiler_pic_CXX
='-fPIC'
12757 # QNX uses GNU C++, but need to define -shared option too, otherwise
12758 # it will coredump.
12759 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12762 lt_prog_compiler_pic_CXX
='-fPIC'
12768 # All AIX code is PIC.
12769 if test "$host_cpu" = ia64
; then
12770 # AIX 5 now supports IA64 processor
12771 lt_prog_compiler_static_CXX
='-Bstatic'
12773 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12777 case $cc_basename in
12779 # Green Hills C++ Compiler
12780 # _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"
12785 # PIC is the default on this platform
12786 # Common symbols not allowed in MH_DYLIB files
12787 case $cc_basename in
12789 lt_prog_compiler_pic_CXX
='-qnocommon'
12790 lt_prog_compiler_wl_CXX
='-Wl,'
12795 case $cc_basename in
12797 lt_prog_compiler_pic_CXX
='-KPIC'
12800 # Green Hills C++ Compiler
12801 lt_prog_compiler_pic_CXX
='-pic'
12807 freebsd
* | dragonfly
*)
12808 # FreeBSD uses GNU C++
12810 hpux9
* | hpux10
* | hpux11
*)
12811 case $cc_basename in
12813 lt_prog_compiler_wl_CXX
='-Wl,'
12814 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12815 if test "$host_cpu" != ia64
; then
12816 lt_prog_compiler_pic_CXX
='+Z'
12820 lt_prog_compiler_wl_CXX
='-Wl,'
12821 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12827 lt_prog_compiler_pic_CXX
='+Z'
12836 # This is c89, which is MS Visual C++ (no shared libs)
12837 # Anyone wants to do a port?
12839 irix5
* | irix6
* | nonstopux
*)
12840 case $cc_basename in
12842 lt_prog_compiler_wl_CXX
='-Wl,'
12843 lt_prog_compiler_static_CXX
='-non_shared'
12844 # CC pic flag -KPIC is the default.
12850 linux
* | k
*bsd
*-gnu)
12851 case $cc_basename in
12854 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12855 lt_prog_compiler_pic_CXX
='-fPIC'
12859 lt_prog_compiler_wl_CXX
='-Wl,'
12860 lt_prog_compiler_pic_CXX
='-KPIC'
12861 lt_prog_compiler_static_CXX
='-static'
12864 # Portland Group C++ compiler
12865 lt_prog_compiler_wl_CXX
='-Wl,'
12866 lt_prog_compiler_pic_CXX
='-fpic'
12867 lt_prog_compiler_static_CXX
='-Bstatic'
12871 # Make sure the PIC flag is empty. It appears that all Alpha
12872 # Linux and Compaq Tru64 Unix objects are PIC.
12873 lt_prog_compiler_pic_CXX
=
12874 lt_prog_compiler_static_CXX
='-non_shared'
12877 case `$CC -V 2>&1 | sed 5q` in
12880 lt_prog_compiler_pic_CXX
='-KPIC'
12881 lt_prog_compiler_static_CXX
='-Bstatic'
12882 lt_prog_compiler_wl_CXX
='-Qoption ld '
12893 case $cc_basename in
12895 lt_prog_compiler_pic_CXX
='-W c,exportall'
12904 # QNX uses GNU C++, but need to define -shared option too, otherwise
12905 # it will coredump.
12906 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12908 osf3
* | osf4
* | osf5
*)
12909 case $cc_basename in
12911 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12914 # Rational C++ 2.4.1
12915 lt_prog_compiler_pic_CXX
='-pic'
12918 # Digital/Compaq C++
12919 lt_prog_compiler_wl_CXX
='-Wl,'
12920 # Make sure the PIC flag is empty. It appears that all Alpha
12921 # Linux and Compaq Tru64 Unix objects are PIC.
12922 lt_prog_compiler_pic_CXX
=
12923 lt_prog_compiler_static_CXX
='-non_shared'
12932 case $cc_basename in
12934 # Sun C++ 4.2, 5.x and Centerline C++
12935 lt_prog_compiler_pic_CXX
='-KPIC'
12936 lt_prog_compiler_static_CXX
='-Bstatic'
12937 lt_prog_compiler_wl_CXX
='-Qoption ld '
12940 # Green Hills C++ Compiler
12941 lt_prog_compiler_pic_CXX
='-PIC'
12948 case $cc_basename in
12951 lt_prog_compiler_pic_CXX
='-pic'
12952 lt_prog_compiler_static_CXX
='-Bstatic'
12956 lt_prog_compiler_pic_CXX
='-pic'
12962 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12963 case $cc_basename in
12965 lt_prog_compiler_wl_CXX
='-Wl,'
12966 lt_prog_compiler_pic_CXX
='-KPIC'
12967 lt_prog_compiler_static_CXX
='-Bstatic'
12972 case $cc_basename in
12974 # NonStop-UX NCC 3.20
12975 lt_prog_compiler_pic_CXX
='-KPIC'
12984 lt_prog_compiler_can_build_shared_CXX
=no
12990 # For platforms which do not support PIC, -DPIC is meaningless:
12992 lt_prog_compiler_pic_CXX
=
12995 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12998 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12999 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13004 # Check to make sure the PIC flag actually works.
13006 if test -n "$lt_prog_compiler_pic_CXX"; then
13007 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13008 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13009 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13010 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 lt_prog_compiler_pic_works_CXX
=no
13013 ac_outfile
=conftest.
$ac_objext
13014 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13015 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13016 # Insert the option either (1) after the last *FLAGS variable, or
13017 # (2) before a word containing "conftest.", or (3) at the end.
13018 # Note that $ac_compile itself does not contain backslashes and begins
13019 # with a dollar sign (not a hyphen), so the echo should work correctly.
13020 # The option is referenced via a variable to avoid confusing sed.
13021 lt_compile
=`echo "$ac_compile" | $SED \
13022 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13023 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13024 -e 's:$: $lt_compiler_flag:'`
13025 (eval echo "\"\$as_me:13025: $lt_compile\"" >&5)
13026 (eval "$lt_compile" 2>conftest.err
)
13028 cat conftest.err
>&5
13029 echo "$as_me:13029: \$? = $ac_status" >&5
13030 if (exit $ac_status) && test -s "$ac_outfile"; then
13031 # The compiler can only warn and ignore the option if not recognized
13032 # So say no if there are warnings other than the usual output.
13033 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13034 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13035 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13036 lt_prog_compiler_pic_works_CXX
=yes
13042 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13043 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13045 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
13046 case $lt_prog_compiler_pic_CXX in
13048 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13051 lt_prog_compiler_pic_CXX
=
13052 lt_prog_compiler_can_build_shared_CXX
=no
13060 # Check to make sure the static flag actually works.
13062 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13063 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13064 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13065 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13066 echo $ECHO_N "(cached) $ECHO_C" >&6
13068 lt_prog_compiler_static_works_CXX
=no
13069 save_LDFLAGS
="$LDFLAGS"
13070 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13071 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13072 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13073 # The linker can only warn and ignore the option if not recognized
13074 # So say no if there are warnings
13075 if test -s conftest.err
; then
13076 # Append any errors to the config.log.
13077 cat conftest.err
1>&5
13078 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13079 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13080 if diff conftest.exp conftest.er2
>/dev
/null
; then
13081 lt_prog_compiler_static_works_CXX
=yes
13084 lt_prog_compiler_static_works_CXX
=yes
13088 LDFLAGS
="$save_LDFLAGS"
13091 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13092 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
13094 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
13097 lt_prog_compiler_static_CXX
=
13103 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13104 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13105 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13106 echo $ECHO_N "(cached) $ECHO_C" >&6
13108 lt_cv_prog_compiler_c_o_CXX
=no
13109 $RM -r conftest
2>/dev
/null
13113 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13115 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13116 # Insert the option either (1) after the last *FLAGS variable, or
13117 # (2) before a word containing "conftest.", or (3) at the end.
13118 # Note that $ac_compile itself does not contain backslashes and begins
13119 # with a dollar sign (not a hyphen), so the echo should work correctly.
13120 lt_compile
=`echo "$ac_compile" | $SED \
13121 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13122 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13123 -e 's:$: $lt_compiler_flag:'`
13124 (eval echo "\"\$as_me:13124: $lt_compile\"" >&5)
13125 (eval "$lt_compile" 2>out
/conftest.err
)
13127 cat out
/conftest.err
>&5
13128 echo "$as_me:13128: \$? = $ac_status" >&5
13129 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13131 # The compiler can only warn and ignore the option if not recognized
13132 # So say no if there are warnings
13133 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13134 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13135 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13136 lt_cv_prog_compiler_c_o_CXX
=yes
13141 # SGI C++ compiler will create directory out/ii_files/ for
13142 # template instantiation
13143 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13144 $RM out
/* && rmdir out
13150 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13151 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13155 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13156 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13157 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13158 echo $ECHO_N "(cached) $ECHO_C" >&6
13160 lt_cv_prog_compiler_c_o_CXX
=no
13161 $RM -r conftest
2>/dev
/null
13165 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13167 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13168 # Insert the option either (1) after the last *FLAGS variable, or
13169 # (2) before a word containing "conftest.", or (3) at the end.
13170 # Note that $ac_compile itself does not contain backslashes and begins
13171 # with a dollar sign (not a hyphen), so the echo should work correctly.
13172 lt_compile
=`echo "$ac_compile" | $SED \
13173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13175 -e 's:$: $lt_compiler_flag:'`
13176 (eval echo "\"\$as_me:13176: $lt_compile\"" >&5)
13177 (eval "$lt_compile" 2>out
/conftest.err
)
13179 cat out
/conftest.err
>&5
13180 echo "$as_me:13180: \$? = $ac_status" >&5
13181 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13183 # The compiler can only warn and ignore the option if not recognized
13184 # So say no if there are warnings
13185 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13186 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13187 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13188 lt_cv_prog_compiler_c_o_CXX
=yes
13193 # SGI C++ compiler will create directory out/ii_files/ for
13194 # template instantiation
13195 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13196 $RM out
/* && rmdir out
13202 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13203 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13208 hard_links
="nottested"
13209 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13210 # do not overwrite the value of need_locks provided by the user
13211 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13212 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13215 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13217 ln conftest.a conftest.b
2>&5 || hard_links
=no
13218 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13219 echo "$as_me:$LINENO: result: $hard_links" >&5
13220 echo "${ECHO_T}$hard_links" >&6
13221 if test "$hard_links" = no
; then
13222 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13223 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13232 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13233 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13235 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13238 # If we're using GNU nm, then we don't want the "-C" option.
13239 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13240 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13241 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'
13243 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'
13247 export_symbols_cmds_CXX
="$ltdll_cmds"
13250 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'
13253 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13257 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13258 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13259 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13261 with_gnu_ld_CXX
=$with_gnu_ld
13269 # Do we need to explicitly link libc?
13271 case "x$archive_cmds_need_lc_CXX" in
13273 # Assume -lc should be added
13274 archive_cmds_need_lc_CXX
=yes
13276 if test "$enable_shared" = yes && test "$GCC" = yes; then
13277 case $archive_cmds_CXX in
13279 # FIXME: we may have to deal with multi-command sequences.
13282 # Test whether the compiler implicitly links with -lc since on some
13283 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13284 # to ld, don't add -lc before -lgcc.
13285 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13286 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13288 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13291 (eval $ac_compile) 2>&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); } 2>conftest.err
; then
13297 libobjs
=conftest.
$ac_objext
13299 wl
=$lt_prog_compiler_wl_CXX
13300 pic_flag
=$lt_prog_compiler_pic_CXX
13306 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13307 allow_undefined_flag_CXX
=
13308 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13309 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }
13314 archive_cmds_need_lc_CXX
=no
13316 archive_cmds_need_lc_CXX
=yes
13318 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13320 cat conftest.err
1>&5
13323 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13324 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13394 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13395 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13397 library_names_spec
=
13398 libname_spec
='lib$name'
13402 postuninstall_cmds
=
13406 shlibpath_overrides_runpath
=unknown
13408 dynamic_linker
="$host_os ld.so"
13409 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13410 need_lib_prefix
=unknown
13411 hardcode_into_libs
=no
13413 # when you set need_version to no, make sure it does not cause -set_version
13414 # flags to be left without arguments
13415 need_version
=unknown
13420 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13421 shlibpath_var
=LIBPATH
13423 # AIX 3 has no versioning support, so we append a major version to the name.
13424 soname_spec
='${libname}${release}${shared_ext}$major'
13431 hardcode_into_libs
=yes
13432 if test "$host_cpu" = ia64
; then
13433 # AIX 5 supports IA64
13434 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13435 shlibpath_var
=LD_LIBRARY_PATH
13437 # With GCC up to 2.95.x, collect2 would create an import file
13438 # for dependence libraries. The import file would start with
13439 # the line `#! .'. This would cause the generated library to
13440 # depend on `.', always an invalid library. This was fixed in
13441 # development snapshots of GCC prior to 3.0.
13443 aix4 | aix4.
[01] | aix4.
[01].
*)
13444 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13446 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13449 can_build_shared
=no
13453 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13454 # soname into executable. Probably we can add versioning support to
13455 # collect2, so additional links can be useful in future.
13456 if test "$aix_use_runtimelinking" = yes; then
13457 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13458 # instead of lib<name>.a to let people know that these are not
13459 # typical AIX shared libraries.
13460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13462 # We preserve .a as extension for shared libraries through AIX4.2
13463 # and later when we are not doing run time linking.
13464 library_names_spec
='${libname}${release}.a $libname.a'
13465 soname_spec
='${libname}${release}${shared_ext}$major'
13467 shlibpath_var
=LIBPATH
13472 if test "$host_cpu" = m68k
; then
13473 library_names_spec
='$libname.ixlibrary $libname.a'
13474 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13475 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'
13482 library_names_spec
='${libname}${shared_ext}'
13483 dynamic_linker
="$host_os ld.so"
13484 shlibpath_var
=LIBRARY_PATH
13490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13491 soname_spec
='${libname}${release}${shared_ext}$major'
13492 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13493 shlibpath_var
=LD_LIBRARY_PATH
13494 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13495 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13496 # the default ld.so.conf also contains /usr/contrib/lib and
13497 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13498 # libtool to hard-code these into programs
13501 cygwin
* | mingw
* | pw32
*)
13502 version_type
=windows
13507 case $withGCC,$host_os in
13508 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13509 library_names_spec
='$libname.dll.a'
13510 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13511 postinstall_cmds
='base_file=`basename \${file}`~
13512 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13513 dldir=$destdir/`dirname \$dlpath`~
13514 test -d \$dldir || mkdir -p \$dldir~
13515 $install_prog $dir/$dlname \$dldir/$dlname~
13516 chmod a+x \$dldir/$dlname~
13517 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13518 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13520 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13521 dlpath=$dir/\$dldll~
13523 shlibpath_overrides_runpath
=yes
13527 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13528 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13529 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13532 # MinGW DLLs use traditional 'lib' prefix
13533 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13534 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13535 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
13536 # It is most probably a Windows format PATH printed by
13537 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13538 # path with ; separators, and with drive letters. We can handle the
13539 # drive letters (cygwin fileutils understands them), so leave them,
13540 # especially as we might pass files found there to a mingw objdump,
13541 # which wouldn't understand a cygwinified path. Ahh.
13542 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13544 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13548 # pw32 DLLs use 'pw' prefix rather than 'lib'
13549 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13555 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13558 dynamic_linker
='Win32 ld.exe'
13559 # FIXME: first we should search . and the directory the executable is in
13563 darwin
* | rhapsody
*)
13564 dynamic_linker
="$host_os dyld"
13565 version_type
=darwin
13568 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13569 soname_spec
='${libname}${release}${major}$shared_ext'
13570 shlibpath_overrides_runpath
=yes
13571 shlibpath_var
=DYLD_LIBRARY_PATH
13572 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13574 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13582 soname_spec
='${libname}${release}${shared_ext}$major'
13583 shlibpath_var
=LD_LIBRARY_PATH
13590 freebsd
* | dragonfly
*)
13591 # DragonFly does not have aout. When/if they implement a new
13592 # versioning mechanism, adjust this.
13593 if test -x /usr
/bin
/objformat
; then
13594 objformat
=`/usr/bin/objformat`
13597 freebsd
[123]*) objformat
=aout
;;
13598 *) objformat
=elf
;;
13601 version_type
=freebsd-
$objformat
13602 case $version_type in
13604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13609 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13613 shlibpath_var
=LD_LIBRARY_PATH
13616 shlibpath_overrides_runpath
=yes
13618 freebsd3.
[01]* | freebsdelf3.
[01]*)
13619 shlibpath_overrides_runpath
=yes
13620 hardcode_into_libs
=yes
13622 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13623 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13624 shlibpath_overrides_runpath
=no
13625 hardcode_into_libs
=yes
13627 *) # from 4.6 on, and DragonFly
13628 shlibpath_overrides_runpath
=yes
13629 hardcode_into_libs
=yes
13638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13639 soname_spec
='${libname}${release}${shared_ext}$major'
13640 shlibpath_var
=LD_LIBRARY_PATH
13641 hardcode_into_libs
=yes
13644 hpux9
* | hpux10
* | hpux11
*)
13645 # Give a soname corresponding to the major version so that dld.sl refuses to
13646 # link against other versions.
13653 hardcode_into_libs
=yes
13654 dynamic_linker
="$host_os dld.so"
13655 shlibpath_var
=LD_LIBRARY_PATH
13656 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13658 soname_spec
='${libname}${release}${shared_ext}$major'
13659 if test "X$HPUX_IA64_MODE" = X32
; then
13660 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13662 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13664 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13668 hardcode_into_libs
=yes
13669 dynamic_linker
="$host_os dld.sl"
13670 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13671 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13673 soname_spec
='${libname}${release}${shared_ext}$major'
13674 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13675 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13679 dynamic_linker
="$host_os dld.sl"
13680 shlibpath_var
=SHLIB_PATH
13681 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13683 soname_spec
='${libname}${release}${shared_ext}$major'
13686 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13687 postinstall_cmds
='chmod 555 $lib'
13694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13695 soname_spec
='${libname}${release}${shared_ext}$major'
13696 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13697 shlibpath_var
=LD_LIBRARY_PATH
13698 shlibpath_overrides_runpath
=no
13699 hardcode_into_libs
=yes
13702 irix5
* | irix6
* | nonstopux
*)
13704 nonstopux
*) version_type
=nonstopux
;;
13706 if test "$lt_cv_prog_gnu_ld" = yes; then
13714 soname_spec
='${libname}${release}${shared_ext}$major'
13715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13717 irix5
* | nonstopux
*)
13718 libsuff
= shlibsuff
=
13721 case $LD in # libtool.m4 will add one of these switches to LD
13722 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13723 libsuff
= shlibsuff
= libmagic
=32-bit;;
13724 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13725 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13726 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13727 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13728 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13732 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13733 shlibpath_overrides_runpath
=no
13734 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13735 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13736 hardcode_into_libs
=yes
13739 # No shared lib support for Linux oldld, aout, or coff.
13740 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13744 # This must be Linux ELF.
13745 linux
* | k
*bsd
*-gnu)
13749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13750 soname_spec
='${libname}${release}${shared_ext}$major'
13751 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13752 shlibpath_var
=LD_LIBRARY_PATH
13753 shlibpath_overrides_runpath
=no
13754 # Some binutils ld are patched to set DT_RUNPATH
13755 save_LDFLAGS
=$LDFLAGS
13756 save_libdir
=$libdir
13757 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13758 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13759 if test x
$gcc_no_link = xyes
; then
13760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13762 { (exit 1); exit 1; }; }
13764 cat >conftest.
$ac_ext <<_ACEOF
13767 cat confdefs.h
>>conftest.
$ac_ext
13768 cat >>conftest.
$ac_ext <<_ACEOF
13769 /* end confdefs.h. */
13779 rm -f conftest.
$ac_objext conftest
$ac_exeext
13780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13781 (eval $ac_link) 2>conftest.er1
13783 grep -v '^ *+' conftest.er1
>conftest.err
13785 cat conftest.err
>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } &&
13788 { ac_try
='test -z "$ac_cxx_werror_flag"
13789 || test ! -s conftest.err'
13790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13791 (eval $ac_try) 2>&5
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); }; } &&
13795 { ac_try
='test -s conftest$ac_exeext'
13796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13797 (eval $ac_try) 2>&5
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); }; }; then
13801 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
13802 shlibpath_overrides_runpath
=yes
13806 echo "$as_me: failed program was:" >&5
13807 sed 's/^/| /' conftest.
$ac_ext >&5
13810 rm -f conftest.err conftest.
$ac_objext \
13811 conftest
$ac_exeext conftest.
$ac_ext
13812 LDFLAGS
=$save_LDFLAGS
13813 libdir
=$save_libdir
13815 # This implies no fast_install, which is unacceptable.
13816 # Some rework will be needed to allow for fast_install
13817 # before this can be enabled.
13818 hardcode_into_libs
=yes
13820 # Append ld.so.conf contents to the search path
13821 if test -f /etc
/ld.so.conf
; then
13822 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' ' '`
13823 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13826 # We used to test for /lib/ld.so.1 and disable shared libraries on
13827 # powerpc, because MkLinux only supported shared libraries with the
13828 # GNU dynamic linker. Since this was broken with cross compilers,
13829 # most powerpc-linux boxes support dynamic linking these days and
13830 # people can always --disable-shared, the test was removed, and we
13831 # assume the GNU/Linux dynamic linker is in use.
13832 dynamic_linker
='GNU/Linux ld.so'
13839 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13841 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13842 dynamic_linker
='NetBSD (a.out) ld.so'
13844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13845 soname_spec
='${libname}${release}${shared_ext}$major'
13846 dynamic_linker
='NetBSD ld.elf_so'
13848 shlibpath_var
=LD_LIBRARY_PATH
13849 shlibpath_overrides_runpath
=yes
13850 hardcode_into_libs
=yes
13855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13856 shlibpath_var
=LD_LIBRARY_PATH
13857 shlibpath_overrides_runpath
=yes
13864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13865 soname_spec
='${libname}${release}${shared_ext}$major'
13866 shlibpath_var
=LD_LIBRARY_PATH
13867 shlibpath_overrides_runpath
=no
13868 hardcode_into_libs
=yes
13869 dynamic_linker
='ldqnx.so'
13874 sys_lib_dlsearch_path_spec
="/usr/lib"
13876 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13878 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13879 *) need_version
=no
;;
13881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13882 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13883 shlibpath_var
=LD_LIBRARY_PATH
13884 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13886 openbsd2.
[89] | openbsd2.
[89].
*)
13887 shlibpath_overrides_runpath
=no
13890 shlibpath_overrides_runpath
=yes
13894 shlibpath_overrides_runpath
=yes
13899 libname_spec
='$name'
13902 library_names_spec
='$libname${shared_ext} $libname.a'
13903 dynamic_linker
='OS/2 ld.exe'
13904 shlibpath_var
=LIBPATH
13907 osf3
* | osf4
* | osf5
*)
13911 soname_spec
='${libname}${release}${shared_ext}$major'
13912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13913 shlibpath_var
=LD_LIBRARY_PATH
13914 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13915 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13927 soname_spec
='${libname}${release}${shared_ext}$major'
13928 shlibpath_var
=LD_LIBRARY_PATH
13929 shlibpath_overrides_runpath
=yes
13930 hardcode_into_libs
=yes
13931 # ldd complains unless libraries are executable
13932 postinstall_cmds
='chmod +x $lib'
13937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13938 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13939 shlibpath_var
=LD_LIBRARY_PATH
13940 shlibpath_overrides_runpath
=yes
13941 if test "$with_gnu_ld" = yes; then
13949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13950 soname_spec
='${libname}${release}${shared_ext}$major'
13951 shlibpath_var
=LD_LIBRARY_PATH
13952 case $host_vendor in
13954 shlibpath_overrides_runpath
=no
13956 runpath_var
=LD_RUN_PATH
13964 shlibpath_overrides_runpath
=no
13965 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13971 if test -d /usr
/nec
;then
13973 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13974 soname_spec
='$libname${shared_ext}.$major'
13975 shlibpath_var
=LD_LIBRARY_PATH
13979 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13980 version_type
=freebsd-elf
13983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13984 soname_spec
='${libname}${release}${shared_ext}$major'
13985 shlibpath_var
=LD_LIBRARY_PATH
13986 shlibpath_overrides_runpath
=yes
13987 hardcode_into_libs
=yes
13988 if test "$with_gnu_ld" = yes; then
13989 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13991 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13994 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13998 sys_lib_dlsearch_path_spec
='/usr/lib'
14002 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14006 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14007 shlibpath_var
=LD_LIBRARY_PATH
14008 shlibpath_overrides_runpath
=no
14009 hardcode_into_libs
=yes
14014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14015 soname_spec
='${libname}${release}${shared_ext}$major'
14016 shlibpath_var
=LD_LIBRARY_PATH
14023 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14024 echo "${ECHO_T}$dynamic_linker" >&6
14025 test "$dynamic_linker" = no
&& can_build_shared
=no
14027 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14028 if test "$GCC" = yes; then
14029 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14067 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14068 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14069 hardcode_action_CXX
=
14070 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14071 test -n "$runpath_var_CXX" ||
14072 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14074 # We can hardcode non-existent directories.
14075 if test "$hardcode_direct_CXX" != no
&&
14076 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14077 # have to relink, otherwise we might link with an installed library
14078 # when we should be linking with a yet-to-be-installed one
14079 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14080 test "$hardcode_minus_L_CXX" != no
; then
14081 # Linking always hardcodes the temporary library directory.
14082 hardcode_action_CXX
=relink
14084 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14085 hardcode_action_CXX
=immediate
14088 # We cannot hardcode anything, or else we can only hardcode existing
14090 hardcode_action_CXX
=unsupported
14092 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14093 echo "${ECHO_T}$hardcode_action_CXX" >&6
14095 if test "$hardcode_action_CXX" = relink ||
14096 test "$inherit_rpath_CXX" = yes; then
14097 # Fast installation is not supported
14098 enable_fast_install
=no
14099 elif test "$shlibpath_overrides_runpath" = yes ||
14100 test "$enable_shared" = no
; then
14101 # Fast installation is not necessary
14102 enable_fast_install
=needless
14111 fi # test -n "$compiler"
14117 with_gnu_ld
=$lt_save_with_gnu_ld
14118 lt_cv_path_LDCXX
=$lt_cv_path_LD
14119 lt_cv_path_LD
=$lt_save_path_LD
14120 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14121 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14122 fi # test "$_lt_caught_CXX_error" != yes
14125 ac_cpp
='$CPP $CPPFLAGS'
14126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14142 ac_config_commands
="$ac_config_commands libtool"
14147 # Only expand once:
14152 # Check whether --with-target-subdir or --without-target-subdir was given.
14153 if test "${with_target_subdir+set}" = set; then
14154 withval
="$with_target_subdir"
14158 # Check whether --with-cross-host or --without-cross-host was given.
14159 if test "${with_cross_host+set}" = set; then
14160 withval
="$with_cross_host"
14164 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14165 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14166 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
14167 if test -z "$THREADS"; then
14170 echo "$as_me:$LINENO: result: $THREADS" >&5
14171 echo "${ECHO_T}$THREADS" >&6
14173 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
14174 if test "${enable_parallel_mark+set}" = set; then
14175 enableval
="$enable_parallel_mark"
14177 no | none | single
)
14178 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
14179 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
14180 { (exit 1); exit 1; }; }
14186 AM_CPPFLAGS
="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
14189 no | none | single
)
14192 posix | posix95 | pthreads
)
14194 THREADLIBS
=-lpthread
14196 x86-
*-linux* | ia64-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* | alpha-
*-linux*)
14198 cat >>confdefs.h
<<\_ACEOF
14199 #define GC_LINUX_THREADS 1
14203 cat >>confdefs.h
<<\_ACEOF
14204 #define _REENTRANT 1
14207 if test "${enable_parallel_mark}" = yes; then
14209 cat >>confdefs.h
<<\_ACEOF
14210 #define PARALLEL_MARK 1
14215 cat >>confdefs.h
<<\_ACEOF
14216 #define THREAD_LOCAL_ALLOC 1
14221 cat >>confdefs.h
<<\_ACEOF
14222 #define GC_LINUX_THREADS 1
14225 cat >>confdefs.h
<<\_ACEOF
14226 #define _REENTRANT 1
14232 cat >>confdefs.h
<<\_ACEOF
14233 #define GC_AIX_THREADS 1
14236 cat >>confdefs.h
<<\_ACEOF
14237 #define _REENTRANT 1
14242 { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
14243 echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
14245 cat >>confdefs.h
<<\_ACEOF
14246 #define GC_HPUX_THREADS 1
14250 cat >>confdefs.h
<<\_ACEOF
14251 #define _POSIX_C_SOURCE 199506L
14254 if test "${enable_parallel_mark}" = yes; then
14255 cat >>confdefs.h
<<\_ACEOF
14256 #define PARALLEL_MARK 1
14260 cat >>confdefs.h
<<\_ACEOF
14261 #define THREAD_LOCAL_ALLOC 1
14264 THREADLIBS
="-lpthread -lrt"
14265 # HPUX needs REENTRANT for the _r calls.
14267 cat >>confdefs.h
<<\_ACEOF
14268 #define _REENTRANT 1
14273 { echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
14274 echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
14277 cat >>confdefs.h
<<\_ACEOF
14278 #define GC_FREEBSD_THREADS 1
14281 INCLUDES
="$INCLUDES -pthread"
14282 THREADDLLIBS
=-pthread
14283 cat >>confdefs.h
<<\_ACEOF
14284 #define _REENTRANT 1
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
14298 cat >>confdefs.h
<<\_ACEOF
14299 #define USE_COMPILER_TLS 1
14304 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
14305 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
14307 cat >>confdefs.h
<<\_ACEOF
14308 #define GC_FREEBSD_THREADS 1
14311 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
14312 THREADLIBS
=-pthread
14316 cat >>confdefs.h
<<\_ACEOF
14317 #define GC_SOLARIS_THREADS 1
14321 cat >>confdefs.h
<<\_ACEOF
14322 #define GC_SOLARIS_PTHREADS 1
14328 cat >>confdefs.h
<<\_ACEOF
14329 #define GC_IRIX_THREADS 1
14335 cat >>confdefs.h
<<\_ACEOF
14336 #define GC_WIN32_THREADS 1
14342 cat >>confdefs.h
<<\_ACEOF
14343 #define GC_DARWIN_THREADS 1
14346 cat >>confdefs.h
<<\_ACEOF
14347 #define THREAD_LOCAL_ALLOC 1
14350 if test "${enable_parallel_mark}" = yes; then
14351 cat >>confdefs.h
<<\_ACEOF
14352 #define PARALLEL_MARK 1
14359 cat >>confdefs.h
<<\_ACEOF
14360 #define GC_OSF1_THREADS 1
14363 if test "${enable_parallel_mark}" = yes; then
14364 cat >>confdefs.h
<<\_ACEOF
14365 #define PARALLEL_MARK 1
14368 cat >>confdefs.h
<<\_ACEOF
14369 #define THREAD_LOCAL_ALLOC 1
14372 # May want to enable it in other cases, too.
14373 # Measurements havent yet been done.
14375 AM_CPPFLAGS
="$AM_CPPFLAGS -pthread"
14376 THREADLIBS
="-lpthread -lrt"
14381 cat >>confdefs.h
<<\_ACEOF
14382 #define GC_WIN32_THREADS 1
14388 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
14389 echo "${ECHO_T}$THREADLIBS" >&6
14390 # Use pthread GCC switch
14391 THREADLIBS
=-pthread
14392 if test "${enable_parallel_mark}" = yes; then
14393 cat >>confdefs.h
<<\_ACEOF
14394 #define PARALLEL_MARK 1
14398 cat >>confdefs.h
<<\_ACEOF
14399 #define THREAD_LOCAL_ALLOC 1
14403 cat >>confdefs.h
<<\_ACEOF
14404 #define GC_DGUX386_THREADS 1
14408 cat >>confdefs.h
<<\_ACEOF
14409 #define DGUX_THREADS 1
14412 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
14413 AM_CPPFLAGS
="-pthread $AM_CPPFLAGS"
14417 THREADLIBS
=-lpthread
14418 cat >>confdefs.h
<<\_ACEOF
14419 #define GC_AIX_THREADS 1
14422 cat >>confdefs.h
<<\_ACEOF
14423 #define _REENTRANT 1
14427 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
14428 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
14429 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
14430 { (exit 1); exit 1; }; }
14433 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
14434 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
14435 { (exit 1); exit 1; }; }
14442 powerpc_darwin
=true
14447 if test x
$powerpc_darwin = xtrue
; then
14448 POWERPC_DARWIN_TRUE
=
14449 POWERPC_DARWIN_FALSE
='#'
14451 POWERPC_DARWIN_TRUE
='#'
14452 POWERPC_DARWIN_FALSE
=
14456 # Darwin needs a few extra special tests to deal with variation in the
14459 powerpc
*-*-darwin*)
14460 echo "$as_me:$LINENO: checking for ppc_thread_state_t.r0" >&5
14461 echo $ECHO_N "checking for ppc_thread_state_t.r0... $ECHO_C" >&6
14462 if test "${ac_cv_member_ppc_thread_state_t_r0+set}" = set; then
14463 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 cat >conftest.
$ac_ext <<_ACEOF
14468 cat confdefs.h
>>conftest.
$ac_ext
14469 cat >>conftest.
$ac_ext <<_ACEOF
14470 /* end confdefs.h. */
14471 #include <mach/thread_status.h>
14476 static ppc_thread_state_t ac_aggr;
14483 rm -f conftest.
$ac_objext
14484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14485 (eval $ac_compile) 2>conftest.er1
14487 grep -v '^ *+' conftest.er1
>conftest.err
14489 cat conftest.err
>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } &&
14492 { ac_try
='test -z "$ac_c_werror_flag"
14493 || test ! -s conftest.err'
14494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14495 (eval $ac_try) 2>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); }; } &&
14499 { ac_try
='test -s conftest.$ac_objext'
14500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14501 (eval $ac_try) 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); }; }; then
14505 ac_cv_member_ppc_thread_state_t_r0
=yes
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.
$ac_ext >&5
14510 cat >conftest.
$ac_ext <<_ACEOF
14513 cat confdefs.h
>>conftest.
$ac_ext
14514 cat >>conftest.
$ac_ext <<_ACEOF
14515 /* end confdefs.h. */
14516 #include <mach/thread_status.h>
14521 static ppc_thread_state_t ac_aggr;
14522 if (sizeof ac_aggr.r0)
14528 rm -f conftest.
$ac_objext
14529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14530 (eval $ac_compile) 2>conftest.er1
14532 grep -v '^ *+' conftest.er1
>conftest.err
14534 cat conftest.err
>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); } &&
14537 { ac_try
='test -z "$ac_c_werror_flag"
14538 || test ! -s conftest.err'
14539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 (eval $ac_try) 2>&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); }; } &&
14544 { ac_try
='test -s conftest.$ac_objext'
14545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14546 (eval $ac_try) 2>&5
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); }; }; then
14550 ac_cv_member_ppc_thread_state_t_r0
=yes
14552 echo "$as_me: failed program was:" >&5
14553 sed 's/^/| /' conftest.
$ac_ext >&5
14555 ac_cv_member_ppc_thread_state_t_r0
=no
14557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14561 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t_r0" >&5
14562 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t_r0" >&6
14563 if test $ac_cv_member_ppc_thread_state_t_r0 = yes; then
14565 cat >>confdefs.h
<<\_ACEOF
14566 #define HAS_PPC_THREAD_STATE_R0 1
14571 echo "$as_me:$LINENO: checking for ppc_thread_state_t.__r0" >&5
14572 echo $ECHO_N "checking for ppc_thread_state_t.__r0... $ECHO_C" >&6
14573 if test "${ac_cv_member_ppc_thread_state_t___r0+set}" = set; then
14574 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 cat >conftest.
$ac_ext <<_ACEOF
14579 cat confdefs.h
>>conftest.
$ac_ext
14580 cat >>conftest.
$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14582 #include <mach/thread_status.h>
14587 static ppc_thread_state_t ac_aggr;
14594 rm -f conftest.
$ac_objext
14595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14596 (eval $ac_compile) 2>conftest.er1
14598 grep -v '^ *+' conftest.er1
>conftest.err
14600 cat conftest.err
>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); } &&
14603 { ac_try
='test -z "$ac_c_werror_flag"
14604 || test ! -s conftest.err'
14605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14606 (eval $ac_try) 2>&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); }; } &&
14610 { ac_try
='test -s conftest.$ac_objext'
14611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14612 (eval $ac_try) 2>&5
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); }; }; then
14616 ac_cv_member_ppc_thread_state_t___r0
=yes
14618 echo "$as_me: failed program was:" >&5
14619 sed 's/^/| /' conftest.
$ac_ext >&5
14621 cat >conftest.
$ac_ext <<_ACEOF
14624 cat confdefs.h
>>conftest.
$ac_ext
14625 cat >>conftest.
$ac_ext <<_ACEOF
14626 /* end confdefs.h. */
14627 #include <mach/thread_status.h>
14632 static ppc_thread_state_t ac_aggr;
14633 if (sizeof ac_aggr.__r0)
14639 rm -f conftest.
$ac_objext
14640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14641 (eval $ac_compile) 2>conftest.er1
14643 grep -v '^ *+' conftest.er1
>conftest.err
14645 cat conftest.err
>&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); } &&
14648 { ac_try
='test -z "$ac_c_werror_flag"
14649 || test ! -s conftest.err'
14650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14651 (eval $ac_try) 2>&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); }; } &&
14655 { ac_try
='test -s conftest.$ac_objext'
14656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14657 (eval $ac_try) 2>&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; }; then
14661 ac_cv_member_ppc_thread_state_t___r0
=yes
14663 echo "$as_me: failed program was:" >&5
14664 sed 's/^/| /' conftest.
$ac_ext >&5
14666 ac_cv_member_ppc_thread_state_t___r0
=no
14668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14672 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state_t___r0" >&5
14673 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t___r0" >&6
14674 if test $ac_cv_member_ppc_thread_state_t___r0 = yes; then
14676 cat >>confdefs.h
<<\_ACEOF
14677 #define HAS_PPC_THREAD_STATE___R0 1
14682 echo "$as_me:$LINENO: checking for ppc_thread_state64_t.r0" >&5
14683 echo $ECHO_N "checking for ppc_thread_state64_t.r0... $ECHO_C" >&6
14684 if test "${ac_cv_member_ppc_thread_state64_t_r0+set}" = set; then
14685 echo $ECHO_N "(cached) $ECHO_C" >&6
14687 cat >conftest.
$ac_ext <<_ACEOF
14690 cat confdefs.h
>>conftest.
$ac_ext
14691 cat >>conftest.
$ac_ext <<_ACEOF
14692 /* end confdefs.h. */
14693 #include <mach/thread_status.h>
14698 static ppc_thread_state64_t ac_aggr;
14705 rm -f conftest.
$ac_objext
14706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14707 (eval $ac_compile) 2>conftest.er1
14709 grep -v '^ *+' conftest.er1
>conftest.err
14711 cat conftest.err
>&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } &&
14714 { ac_try
='test -z "$ac_c_werror_flag"
14715 || test ! -s conftest.err'
14716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14717 (eval $ac_try) 2>&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); }; } &&
14721 { ac_try
='test -s conftest.$ac_objext'
14722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14723 (eval $ac_try) 2>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; }; then
14727 ac_cv_member_ppc_thread_state64_t_r0
=yes
14729 echo "$as_me: failed program was:" >&5
14730 sed 's/^/| /' conftest.
$ac_ext >&5
14732 cat >conftest.
$ac_ext <<_ACEOF
14735 cat confdefs.h
>>conftest.
$ac_ext
14736 cat >>conftest.
$ac_ext <<_ACEOF
14737 /* end confdefs.h. */
14738 #include <mach/thread_status.h>
14743 static ppc_thread_state64_t ac_aggr;
14744 if (sizeof ac_aggr.r0)
14750 rm -f conftest.
$ac_objext
14751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14752 (eval $ac_compile) 2>conftest.er1
14754 grep -v '^ *+' conftest.er1
>conftest.err
14756 cat conftest.err
>&5
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); } &&
14759 { ac_try
='test -z "$ac_c_werror_flag"
14760 || test ! -s conftest.err'
14761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14762 (eval $ac_try) 2>&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); }; } &&
14766 { ac_try
='test -s conftest.$ac_objext'
14767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14768 (eval $ac_try) 2>&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); }; }; then
14772 ac_cv_member_ppc_thread_state64_t_r0
=yes
14774 echo "$as_me: failed program was:" >&5
14775 sed 's/^/| /' conftest.
$ac_ext >&5
14777 ac_cv_member_ppc_thread_state64_t_r0
=no
14779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14783 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t_r0" >&5
14784 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t_r0" >&6
14785 if test $ac_cv_member_ppc_thread_state64_t_r0 = yes; then
14787 cat >>confdefs.h
<<\_ACEOF
14788 #define HAS_PPC_THREAD_STATE64_R0 1
14793 echo "$as_me:$LINENO: checking for ppc_thread_state64_t.__r0" >&5
14794 echo $ECHO_N "checking for ppc_thread_state64_t.__r0... $ECHO_C" >&6
14795 if test "${ac_cv_member_ppc_thread_state64_t___r0+set}" = set; then
14796 echo $ECHO_N "(cached) $ECHO_C" >&6
14798 cat >conftest.
$ac_ext <<_ACEOF
14801 cat confdefs.h
>>conftest.
$ac_ext
14802 cat >>conftest.
$ac_ext <<_ACEOF
14803 /* end confdefs.h. */
14804 #include <mach/thread_status.h>
14809 static ppc_thread_state64_t ac_aggr;
14816 rm -f conftest.
$ac_objext
14817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14818 (eval $ac_compile) 2>conftest.er1
14820 grep -v '^ *+' conftest.er1
>conftest.err
14822 cat conftest.err
>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); } &&
14825 { ac_try
='test -z "$ac_c_werror_flag"
14826 || test ! -s conftest.err'
14827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14828 (eval $ac_try) 2>&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); }; } &&
14832 { ac_try
='test -s conftest.$ac_objext'
14833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834 (eval $ac_try) 2>&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); }; }; then
14838 ac_cv_member_ppc_thread_state64_t___r0
=yes
14840 echo "$as_me: failed program was:" >&5
14841 sed 's/^/| /' conftest.
$ac_ext >&5
14843 cat >conftest.
$ac_ext <<_ACEOF
14846 cat confdefs.h
>>conftest.
$ac_ext
14847 cat >>conftest.
$ac_ext <<_ACEOF
14848 /* end confdefs.h. */
14849 #include <mach/thread_status.h>
14854 static ppc_thread_state64_t ac_aggr;
14855 if (sizeof ac_aggr.__r0)
14861 rm -f conftest.
$ac_objext
14862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14863 (eval $ac_compile) 2>conftest.er1
14865 grep -v '^ *+' conftest.er1
>conftest.err
14867 cat conftest.err
>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } &&
14870 { ac_try
='test -z "$ac_c_werror_flag"
14871 || test ! -s conftest.err'
14872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14873 (eval $ac_try) 2>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; } &&
14877 { ac_try
='test -s conftest.$ac_objext'
14878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14879 (eval $ac_try) 2>&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); }; }; then
14883 ac_cv_member_ppc_thread_state64_t___r0
=yes
14885 echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.
$ac_ext >&5
14888 ac_cv_member_ppc_thread_state64_t___r0
=no
14890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14894 echo "$as_me:$LINENO: result: $ac_cv_member_ppc_thread_state64_t___r0" >&5
14895 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t___r0" >&6
14896 if test $ac_cv_member_ppc_thread_state64_t___r0 = yes; then
14898 cat >>confdefs.h
<<\_ACEOF
14899 #define HAS_PPC_THREAD_STATE64___R0 1
14906 echo "$as_me:$LINENO: checking for x86_thread_state32_t.eax" >&5
14907 echo $ECHO_N "checking for x86_thread_state32_t.eax... $ECHO_C" >&6
14908 if test "${ac_cv_member_x86_thread_state32_t_eax+set}" = set; then
14909 echo $ECHO_N "(cached) $ECHO_C" >&6
14911 cat >conftest.
$ac_ext <<_ACEOF
14914 cat confdefs.h
>>conftest.
$ac_ext
14915 cat >>conftest.
$ac_ext <<_ACEOF
14916 /* end confdefs.h. */
14917 #include <sys/cdefs.h>
14918 #include <mach/thread_status.h>
14923 static x86_thread_state32_t ac_aggr;
14930 rm -f conftest.
$ac_objext
14931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14932 (eval $ac_compile) 2>conftest.er1
14934 grep -v '^ *+' conftest.er1
>conftest.err
14936 cat conftest.err
>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try
='test -z "$ac_c_werror_flag"
14940 || test ! -s conftest.err'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; } &&
14946 { ac_try
='test -s conftest.$ac_objext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 ac_cv_member_x86_thread_state32_t_eax
=yes
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.
$ac_ext >&5
14957 cat >conftest.
$ac_ext <<_ACEOF
14960 cat confdefs.h
>>conftest.
$ac_ext
14961 cat >>conftest.
$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14963 #include <sys/cdefs.h>
14964 #include <mach/thread_status.h>
14969 static x86_thread_state32_t ac_aggr;
14970 if (sizeof ac_aggr.eax)
14976 rm -f conftest.
$ac_objext
14977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14978 (eval $ac_compile) 2>conftest.er1
14980 grep -v '^ *+' conftest.er1
>conftest.err
14982 cat conftest.err
>&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } &&
14985 { ac_try
='test -z "$ac_c_werror_flag"
14986 || test ! -s conftest.err'
14987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14988 (eval $ac_try) 2>&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); }; } &&
14992 { ac_try
='test -s conftest.$ac_objext'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; }; then
14998 ac_cv_member_x86_thread_state32_t_eax
=yes
15000 echo "$as_me: failed program was:" >&5
15001 sed 's/^/| /' conftest.
$ac_ext >&5
15003 ac_cv_member_x86_thread_state32_t_eax
=no
15005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15009 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t_eax" >&5
15010 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t_eax" >&6
15011 if test $ac_cv_member_x86_thread_state32_t_eax = yes; then
15013 cat >>confdefs.h
<<\_ACEOF
15014 #define HAS_X86_THREAD_STATE32_EAX 1
15019 echo "$as_me:$LINENO: checking for x86_thread_state32_t.__eax" >&5
15020 echo $ECHO_N "checking for x86_thread_state32_t.__eax... $ECHO_C" >&6
15021 if test "${ac_cv_member_x86_thread_state32_t___eax+set}" = set; then
15022 echo $ECHO_N "(cached) $ECHO_C" >&6
15024 cat >conftest.
$ac_ext <<_ACEOF
15027 cat confdefs.h
>>conftest.
$ac_ext
15028 cat >>conftest.
$ac_ext <<_ACEOF
15029 /* end confdefs.h. */
15030 #include <sys/cdefs.h>
15031 #include <mach/thread_status.h>
15036 static x86_thread_state32_t ac_aggr;
15043 rm -f conftest.
$ac_objext
15044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15045 (eval $ac_compile) 2>conftest.er1
15047 grep -v '^ *+' conftest.er1
>conftest.err
15049 cat conftest.err
>&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); } &&
15052 { ac_try
='test -z "$ac_c_werror_flag"
15053 || test ! -s conftest.err'
15054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15055 (eval $ac_try) 2>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }; } &&
15059 { ac_try
='test -s conftest.$ac_objext'
15060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 (eval $ac_try) 2>&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); }; }; then
15065 ac_cv_member_x86_thread_state32_t___eax
=yes
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.
$ac_ext >&5
15070 cat >conftest.
$ac_ext <<_ACEOF
15073 cat confdefs.h
>>conftest.
$ac_ext
15074 cat >>conftest.
$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 #include <sys/cdefs.h>
15077 #include <mach/thread_status.h>
15082 static x86_thread_state32_t ac_aggr;
15083 if (sizeof ac_aggr.__eax)
15089 rm -f conftest.
$ac_objext
15090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15091 (eval $ac_compile) 2>conftest.er1
15093 grep -v '^ *+' conftest.er1
>conftest.err
15095 cat conftest.err
>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); } &&
15098 { ac_try
='test -z "$ac_c_werror_flag"
15099 || test ! -s conftest.err'
15100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15101 (eval $ac_try) 2>&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); }; } &&
15105 { ac_try
='test -s conftest.$ac_objext'
15106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15107 (eval $ac_try) 2>&5
15109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110 (exit $ac_status); }; }; then
15111 ac_cv_member_x86_thread_state32_t___eax
=yes
15113 echo "$as_me: failed program was:" >&5
15114 sed 's/^/| /' conftest.
$ac_ext >&5
15116 ac_cv_member_x86_thread_state32_t___eax
=no
15118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15122 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state32_t___eax" >&5
15123 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t___eax" >&6
15124 if test $ac_cv_member_x86_thread_state32_t___eax = yes; then
15126 cat >>confdefs.h
<<\_ACEOF
15127 #define HAS_X86_THREAD_STATE32___EAX 1
15134 echo "$as_me:$LINENO: checking for x86_thread_state64_t.rax" >&5
15135 echo $ECHO_N "checking for x86_thread_state64_t.rax... $ECHO_C" >&6
15136 if test "${ac_cv_member_x86_thread_state64_t_rax+set}" = set; then
15137 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 cat >conftest.
$ac_ext <<_ACEOF
15142 cat confdefs.h
>>conftest.
$ac_ext
15143 cat >>conftest.
$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15145 #include <sys/cdefs.h>
15146 #include <mach/thread_status.h>
15151 static x86_thread_state64_t ac_aggr;
15158 rm -f conftest.
$ac_objext
15159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15160 (eval $ac_compile) 2>conftest.er1
15162 grep -v '^ *+' conftest.er1
>conftest.err
15164 cat conftest.err
>&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); } &&
15167 { ac_try
='test -z "$ac_c_werror_flag"
15168 || test ! -s conftest.err'
15169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15170 (eval $ac_try) 2>&5
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); }; } &&
15174 { ac_try
='test -s conftest.$ac_objext'
15175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15176 (eval $ac_try) 2>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); }; }; then
15180 ac_cv_member_x86_thread_state64_t_rax
=yes
15182 echo "$as_me: failed program was:" >&5
15183 sed 's/^/| /' conftest.
$ac_ext >&5
15185 cat >conftest.
$ac_ext <<_ACEOF
15188 cat confdefs.h
>>conftest.
$ac_ext
15189 cat >>conftest.
$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15191 #include <sys/cdefs.h>
15192 #include <mach/thread_status.h>
15197 static x86_thread_state64_t ac_aggr;
15198 if (sizeof ac_aggr.rax)
15204 rm -f conftest.
$ac_objext
15205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15206 (eval $ac_compile) 2>conftest.er1
15208 grep -v '^ *+' conftest.er1
>conftest.err
15210 cat conftest.err
>&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); } &&
15213 { ac_try
='test -z "$ac_c_werror_flag"
15214 || test ! -s conftest.err'
15215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15216 (eval $ac_try) 2>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; } &&
15220 { ac_try
='test -s conftest.$ac_objext'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; }; then
15226 ac_cv_member_x86_thread_state64_t_rax
=yes
15228 echo "$as_me: failed program was:" >&5
15229 sed 's/^/| /' conftest.
$ac_ext >&5
15231 ac_cv_member_x86_thread_state64_t_rax
=no
15233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15237 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t_rax" >&5
15238 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t_rax" >&6
15239 if test $ac_cv_member_x86_thread_state64_t_rax = yes; then
15241 cat >>confdefs.h
<<\_ACEOF
15242 #define HAS_X86_THREAD_STATE64_RAX 1
15247 echo "$as_me:$LINENO: checking for x86_thread_state64_t.__rax" >&5
15248 echo $ECHO_N "checking for x86_thread_state64_t.__rax... $ECHO_C" >&6
15249 if test "${ac_cv_member_x86_thread_state64_t___rax+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 cat >conftest.
$ac_ext <<_ACEOF
15255 cat confdefs.h
>>conftest.
$ac_ext
15256 cat >>conftest.
$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15258 #include <sys/cdefs.h>
15259 #include <mach/thread_status.h>
15264 static x86_thread_state64_t ac_aggr;
15271 rm -f conftest.
$ac_objext
15272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15273 (eval $ac_compile) 2>conftest.er1
15275 grep -v '^ *+' conftest.er1
>conftest.err
15277 cat conftest.err
>&5
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); } &&
15280 { ac_try
='test -z "$ac_c_werror_flag"
15281 || test ! -s conftest.err'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; } &&
15287 { ac_try
='test -s conftest.$ac_objext'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; }; then
15293 ac_cv_member_x86_thread_state64_t___rax
=yes
15295 echo "$as_me: failed program was:" >&5
15296 sed 's/^/| /' conftest.
$ac_ext >&5
15298 cat >conftest.
$ac_ext <<_ACEOF
15301 cat confdefs.h
>>conftest.
$ac_ext
15302 cat >>conftest.
$ac_ext <<_ACEOF
15303 /* end confdefs.h. */
15304 #include <sys/cdefs.h>
15305 #include <mach/thread_status.h>
15310 static x86_thread_state64_t ac_aggr;
15311 if (sizeof ac_aggr.__rax)
15317 rm -f conftest.
$ac_objext
15318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15319 (eval $ac_compile) 2>conftest.er1
15321 grep -v '^ *+' conftest.er1
>conftest.err
15323 cat conftest.err
>&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } &&
15326 { ac_try
='test -z "$ac_c_werror_flag"
15327 || test ! -s conftest.err'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; } &&
15333 { ac_try
='test -s conftest.$ac_objext'
15334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15335 (eval $ac_try) 2>&5
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); }; }; then
15339 ac_cv_member_x86_thread_state64_t___rax
=yes
15341 echo "$as_me: failed program was:" >&5
15342 sed 's/^/| /' conftest.
$ac_ext >&5
15344 ac_cv_member_x86_thread_state64_t___rax
=no
15346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15350 echo "$as_me:$LINENO: result: $ac_cv_member_x86_thread_state64_t___rax" >&5
15351 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t___rax" >&6
15352 if test $ac_cv_member_x86_thread_state64_t___rax = yes; then
15354 cat >>confdefs.h
<<\_ACEOF
15355 #define HAS_X86_THREAD_STATE64___RAX 1
15364 # We never want libdl on darwin. It is a fake libdl that just ends up making
15365 # dyld calls anyway
15369 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15370 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15371 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15372 echo $ECHO_N "(cached) $ECHO_C" >&6
15374 ac_check_lib_save_LIBS
=$LIBS
15376 if test x
$gcc_no_link = xyes
; then
15377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15379 { (exit 1); exit 1; }; }
15381 cat >conftest.
$ac_ext <<_ACEOF
15384 cat confdefs.h
>>conftest.
$ac_ext
15385 cat >>conftest.
$ac_ext <<_ACEOF
15386 /* end confdefs.h. */
15388 /* Override any gcc2 internal prototype to avoid an error. */
15392 /* We use char because int might match the return type of a gcc2
15393 builtin and then its argument prototype would still apply. */
15403 rm -f conftest.
$ac_objext conftest
$ac_exeext
15404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15405 (eval $ac_link) 2>conftest.er1
15407 grep -v '^ *+' conftest.er1
>conftest.err
15409 cat conftest.err
>&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); } &&
15412 { ac_try
='test -z "$ac_c_werror_flag"
15413 || test ! -s conftest.err'
15414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15415 (eval $ac_try) 2>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; } &&
15419 { ac_try
='test -s conftest$ac_exeext'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; }; then
15425 ac_cv_lib_dl_dlopen
=yes
15427 echo "$as_me: failed program was:" >&5
15428 sed 's/^/| /' conftest.
$ac_ext >&5
15430 ac_cv_lib_dl_dlopen
=no
15432 rm -f conftest.err conftest.
$ac_objext \
15433 conftest
$ac_exeext conftest.
$ac_ext
15434 LIBS
=$ac_check_lib_save_LIBS
15436 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15437 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15438 if test $ac_cv_lib_dl_dlopen = yes; then
15439 EXTRA_TEST_LIBS
="$EXTRA_TEST_LIBS -ldl"
15445 # extra LD Flags which are required for targets
15448 extra_ldflags_libgc
=-Wl,-single_module
15455 target_all
=libgcjgc.la
15460 # Check whether --with-ecos or --without-ecos was given.
15461 if test "${with_ecos+set}" = set; then
15462 withval
="$with_ecos"
15463 TARGET_ECOS
="$with_ecos"
15471 case "$TARGET_ECOS" in
15476 cat >>confdefs.h
<<\_ACEOF
15480 AM_CPPFLAGS
="${AM_CPPFLAGS} -I${TARGET_ECOS}/include"
15481 addobjs
="$addobjs ecos.lo"
15485 if test "${enable_cplusplus}" = yes; then
15486 addincludes
="$addincludes include/gc_cpp.h include/gc_allocator.h"
15487 addtests
="$addtests test_cpp"
15492 if test "${enable_cplusplus}" = yes; then
15494 CPLUSPLUS_FALSE
='#'
15505 # Configuration of shared libraries
15507 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15508 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15509 # Check whether --enable-shared or --disable-shared was given.
15510 if test "${enable_shared+set}" = set; then
15511 enableval
="$enable_shared"
15512 p
=${PACKAGE-default}
15514 yes) enable_shared
=yes ;;
15515 no
) enable_shared
=no
;;
15518 # Look at the argument we got. We use all the common list separators.
15519 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
15520 for pkg
in $enableval; do
15522 if test "X$pkg" = "X$p"; then
15541 echo "$as_me:$LINENO: result: no" >&5
15542 echo "${ECHO_T}no" >&6
15545 echo "$as_me:$LINENO: result: yes" >&5
15546 echo "${ECHO_T}yes" >&6
15550 # Checks for pthreads functions
15553 LIBS
="$LIBS $THREADLIBS"
15555 for ac_func
in pthread_getattr_np
15557 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15558 echo "$as_me:$LINENO: checking for $ac_func" >&5
15559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15560 if eval "test \"\${$as_ac_var+set}\" = set"; then
15561 echo $ECHO_N "(cached) $ECHO_C" >&6
15563 if test x
$gcc_no_link = xyes
; then
15564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15566 { (exit 1); exit 1; }; }
15568 cat >conftest.
$ac_ext <<_ACEOF
15571 cat confdefs.h
>>conftest.
$ac_ext
15572 cat >>conftest.
$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15576 #define $ac_func innocuous_$ac_func
15578 /* System header to define __stub macros and hopefully few prototypes,
15579 which can conflict with char $ac_func (); below.
15580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15581 <limits.h> exists even on freestanding compilers. */
15584 # include <limits.h>
15586 # include <assert.h>
15591 /* Override any gcc2 internal prototype to avoid an error. */
15596 /* We use char because int might match the return type of a gcc2
15597 builtin and then its argument prototype would still apply. */
15599 /* The GNU C library defines this for functions which it implements
15600 to always fail with ENOSYS. Some functions are actually named
15601 something starting with __ and the normal name is an alias. */
15602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15605 char (*f) () = $ac_func;
15614 return f != $ac_func;
15619 rm -f conftest.
$ac_objext conftest
$ac_exeext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15621 (eval $ac_link) 2>conftest.er1
15623 grep -v '^ *+' conftest.er1
>conftest.err
15625 cat conftest.err
>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try
='test -z "$ac_c_werror_flag"
15629 || test ! -s conftest.err'
15630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15631 (eval $ac_try) 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; } &&
15635 { ac_try
='test -s conftest$ac_exeext'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; }; then
15641 eval "$as_ac_var=yes"
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.
$ac_ext >&5
15646 eval "$as_ac_var=no"
15648 rm -f conftest.err conftest.
$ac_objext \
15649 conftest
$ac_exeext conftest.
$ac_ext
15651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15653 if test `eval echo '${'$as_ac_var'}'` = yes; then
15654 cat >>confdefs.h
<<_ACEOF
15655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15663 # Configuration of machine-dependent code
15665 # Set NO_EXECUTE_PERMISSION by default because gcj already uses
15666 # ffi_closure_{alloc,free} which takes care of allocating trampolines
15667 # in executable memory.
15669 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
15670 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
15674 machdep
="alpha_mach_dep.lo"
15675 if test x
"${ac_cv_lib_dl_dlopen}" != xyes
; then
15676 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
15677 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
15681 machdep
="alpha_mach_dep.lo"
15683 i?
86-*-solaris2.
[89] | i?
86-*-solaris2.1?
)
15685 cat >>confdefs.h
<<\_ACEOF
15686 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
15691 machdep
="mips_ultrix_mach_dep.lo"
15693 cat >>confdefs.h
<<\_ACEOF
15694 #define STACKBASE __stackbase
15698 cat >>confdefs.h
<<\_ACEOF
15699 #define DATASTART_IS_ETEXT 1
15704 machdep
="mips_ultrix_mach-dep.lo"
15706 mips-nec-sysv
*|mips-unknown-sysv
*)
15711 machdep
="mips_sgi_mach_dep.lo"
15714 machdep
="sparc_netbsd_mach_dep.lo"
15716 sparc-sun-solaris2.3
)
15717 machdep
="sparc_mach_dep.lo"
15719 cat >>confdefs.h
<<\_ACEOF
15720 #define SUNOS53_SHARED_LIB 1
15724 sparc
*-sun-solaris2.
*)
15725 machdep
="sparc_mach_dep.lo"
15728 machdep
="mach_dep.lo ia64_save_regs_in_stack.lo"
15732 cat >>confdefs.h
<<\_ACEOF
15733 #define NO_EXECUTE_PERMISSION 1
15736 if test x
"$machdep" = x
; then
15737 echo "$as_me:$LINENO: result: $machdep" >&5
15738 echo "${ECHO_T}$machdep" >&6
15739 machdep
="mach_dep.lo"
15741 addobjs
="$addobjs $machdep"
15748 # Check for AViiON Machines running DGUX
15750 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
15751 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
15753 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15754 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15755 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15756 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15757 echo $ECHO_N "(cached) $ECHO_C" >&6
15759 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15760 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15762 # Is the header compilable?
15763 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
15764 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
15765 cat >conftest.
$ac_ext <<_ACEOF
15768 cat confdefs.h
>>conftest.
$ac_ext
15769 cat >>conftest.
$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 $ac_includes_default
15772 #include <sys/dg_sys_info.h>
15774 rm -f conftest.
$ac_objext
15775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15776 (eval $ac_compile) 2>conftest.er1
15778 grep -v '^ *+' conftest.er1
>conftest.err
15780 cat conftest.err
>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try
='test -z "$ac_c_werror_flag"
15784 || test ! -s conftest.err'
15785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15786 (eval $ac_try) 2>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; } &&
15790 { ac_try
='test -s conftest.$ac_objext'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; }; then
15796 ac_header_compiler
=yes
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.
$ac_ext >&5
15801 ac_header_compiler
=no
15803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15805 echo "${ECHO_T}$ac_header_compiler" >&6
15807 # Is the header present?
15808 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
15809 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
15810 cat >conftest.
$ac_ext <<_ACEOF
15813 cat confdefs.h
>>conftest.
$ac_ext
15814 cat >>conftest.
$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816 #include <sys/dg_sys_info.h>
15818 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15819 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15821 grep -v '^ *+' conftest.er1
>conftest.err
15823 cat conftest.err
>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } >/dev
/null
; then
15826 if test -s conftest.err
; then
15827 ac_cpp_err
=$ac_c_preproc_warn_flag
15828 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15835 if test -z "$ac_cpp_err"; then
15836 ac_header_preproc
=yes
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.
$ac_ext >&5
15841 ac_header_preproc
=no
15843 rm -f conftest.err conftest.
$ac_ext
15844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15845 echo "${ECHO_T}$ac_header_preproc" >&6
15847 # So? What about this header?
15848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15850 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
15851 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15852 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
15853 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
15854 ac_header_preproc
=yes
15857 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
15858 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
15859 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
15860 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
15861 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
15862 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
15863 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
15864 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
15865 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
15866 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
15867 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
15868 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
15871 ## ------------------------------------------ ##
15872 ## Report this to the AC_PACKAGE_NAME lists. ##
15873 ## ------------------------------------------ ##
15876 sed "s/^/$as_me: WARNING: /" >&2
15879 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
15880 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
15881 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
15882 echo $ECHO_N "(cached) $ECHO_C" >&6
15884 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
15886 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
15887 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
15890 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
15896 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
15897 echo "${ECHO_T}$ac_is_dgux" >&6
15898 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
15899 if test $ac_is_dgux = yes; then
15900 if test "$enable_full_debug" = "yes"; then
15901 CFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15902 CXXFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15904 CFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15905 CXXFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
15911 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
15912 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
15915 if test "$GCC" = yes; then
15916 echo "$as_me:$LINENO: result: yes" >&5
15917 echo "${ECHO_T}yes" >&6
15919 for i
in $CFLAGS; do
15924 new_CFLAGS
="$new_CFLAGS $i"
15928 CFLAGS
="$new_CFLAGS"
15930 echo "$as_me:$LINENO: result: no" >&5
15931 echo "${ECHO_T}no" >&6
15934 *) echo "$as_me:$LINENO: result: no" >&5
15935 echo "${ECHO_T}no" >&6 ;;
15938 MY_CFLAGS
="$CFLAGS"
15942 cat >>confdefs.h
<<\_ACEOF
15947 cat >>confdefs.h
<<\_ACEOF
15948 #define NO_SIGNALS 1
15952 cat >>confdefs.h
<<\_ACEOF
15953 #define ALL_INTERIOR_POINTERS 1
15958 cat >>confdefs.h
<<\_ACEOF
15959 #define JAVA_FINALIZATION 1
15963 cat >>confdefs.h
<<\_ACEOF
15964 #define GC_GCJ_SUPPORT 1
15968 cat >>confdefs.h
<<\_ACEOF
15969 #define ATOMIC_UNCOLLECTABLE 1
15973 # Check whether --enable-gc-debug or --disable-gc-debug was given.
15974 if test "${enable_gc_debug+set}" = set; then
15975 enableval
="$enable_gc_debug"
15976 if test "$enable_gc_debug" = "yes"; then
15977 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
15978 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
15980 cat >>confdefs.h
<<\_ACEOF
15981 #define KEEP_BACK_PTRS 1
15985 cat >>confdefs.h
<<\_ACEOF
15986 #define DBG_HDRS_ALL 1
15992 cat >>confdefs.h
<<\_ACEOF
15993 #define MAKE_BACK_GRAPH 1
15997 x86-
*-linux* | i586-
*-linux* | i686-
*-linux* | x86_64-
*-linux* )
15998 cat >>confdefs.h
<<\_ACEOF
15999 #define MAKE_BACK_GRAPH 1
16002 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
16003 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
16005 cat >>confdefs.h
<<\_ACEOF
16006 #define SAVE_CALL_COUNT 8
16011 cat >>confdefs.h
<<\_ACEOF
16012 #define MAKE_BACK_GRAPH 1
16020 if test "${gc_use_mmap}" = "yes"; then
16022 cat >>confdefs.h
<<\_ACEOF
16028 if test -n "$with_cross_host" &&
16029 test x
"$with_cross_host" != x
"no"; then
16030 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
16031 toolexeclibdir
='$(toolexecdir)/lib'
16033 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
16034 toolexeclibdir
='$(libdir)'
16036 multi_os_directory
=`$CC -print-multi-os-directory`
16037 case $multi_os_directory in
16038 .
) ;; # Avoid trailing /.
16039 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
16044 if test "${multilib}" = "yes"; then
16045 multilib_arg
="--enable-multilib"
16050 ac_config_headers
="$ac_config_headers include/gc_config.h include/gc_ext_config.h"
16053 ac_config_files
="$ac_config_files Makefile include/Makefile"
16055 cat >confcache
<<\_ACEOF
16056 # This file is a shell script that caches the results of configure
16057 # tests run on this system so they can be shared between configure
16058 # scripts and configure runs, see configure's option --config-cache.
16059 # It is not useful on other systems. If it contains results you don't
16060 # want to keep, you may remove or edit it.
16062 # config.status only pays attention to the cache file if you give it
16063 # the --recheck option to rerun configure.
16065 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16066 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16067 # following values.
16071 # The following way of writing the cache mishandles newlines in values,
16072 # but we know of no workaround that is simple, portable, and efficient.
16073 # So, don't put newlines in cache variables' values.
16074 # Ultrix sh set writes to stderr and can't be redirected directly,
16075 # and sets the high bit in the cache file unless we assign to the vars.
16078 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16080 # `set' does not quote correctly, so add quotes (double-quote
16081 # substitution turns \\\\ into \\, and sed turns \\ into \).
16084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16087 # `set' quotes correctly as required by POSIX, so do not add quotes.
16089 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16096 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16098 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16100 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16101 if test -w $cache_file; then
16102 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16103 cat confcache
>$cache_file
16105 echo "not updating unwritable cache $cache_file"
16110 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16111 # Let make expand exec_prefix.
16112 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16114 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16115 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16116 # trailing colons and then remove the whole line if VPATH becomes empty
16117 # (actually we leave an empty line to preserve line numbers).
16118 if test "x$srcdir" = x.
; then
16119 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16120 s/:*\$(srcdir):*/:/;
16121 s/:*\${srcdir}:*/:/;
16123 s/^\([^=]*=[ ]*\):*/\1/;
16129 DEFS
=-DHAVE_CONFIG_H
16133 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16134 # 1. Remove the extension, and $U if already installed.
16135 ac_i
=`echo "$ac_i" |
16136 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16138 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16139 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16141 LIBOBJS
=$ac_libobjs
16143 LTLIBOBJS
=$ac_ltlibobjs
16146 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16147 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16148 Usually this means the macro was only invoked conditionally." >&5
16149 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16150 Usually this means the macro was only invoked conditionally." >&2;}
16151 { (exit 1); exit 1; }; }
16153 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16154 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16155 Usually this means the macro was only invoked conditionally." >&5
16156 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16157 Usually this means the macro was only invoked conditionally." >&2;}
16158 { (exit 1); exit 1; }; }
16160 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16161 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16162 Usually this means the macro was only invoked conditionally." >&5
16163 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16164 Usually this means the macro was only invoked conditionally." >&2;}
16165 { (exit 1); exit 1; }; }
16167 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16168 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16169 Usually this means the macro was only invoked conditionally." >&5
16170 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16171 Usually this means the macro was only invoked conditionally." >&2;}
16172 { (exit 1); exit 1; }; }
16174 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16175 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16176 Usually this means the macro was only invoked conditionally." >&5
16177 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16178 Usually this means the macro was only invoked conditionally." >&2;}
16179 { (exit 1); exit 1; }; }
16181 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
16182 { { echo "$as_me:$LINENO: error: conditional \"POWERPC_DARWIN\" was never defined.
16183 Usually this means the macro was only invoked conditionally." >&5
16184 echo "$as_me: error: conditional \"POWERPC_DARWIN\" was never defined.
16185 Usually this means the macro was only invoked conditionally." >&2;}
16186 { (exit 1); exit 1; }; }
16188 if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
16189 { { echo "$as_me:$LINENO: error: conditional \"CPLUSPLUS\" was never defined.
16190 Usually this means the macro was only invoked conditionally." >&5
16191 echo "$as_me: error: conditional \"CPLUSPLUS\" was never defined.
16192 Usually this means the macro was only invoked conditionally." >&2;}
16193 { (exit 1); exit 1; }; }
16196 : ${CONFIG_STATUS=./config.status}
16197 ac_clean_files_save
=$ac_clean_files
16198 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16199 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16200 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16201 cat >$CONFIG_STATUS <<_ACEOF
16203 # Generated by $as_me.
16204 # Run this file to recreate the current configuration.
16205 # Compiler output produced by configure, useful for debugging
16206 # configure, is in config.log if it exists.
16209 ac_cs_recheck=false
16211 SHELL=\${CONFIG_SHELL-$SHELL}
16214 cat >>$CONFIG_STATUS <<\_ACEOF
16215 ## --------------------- ##
16216 ## M4sh Initialization. ##
16217 ## --------------------- ##
16219 # Be Bourne compatible
16220 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16223 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16224 # is contrary to our usage. Disable this feature.
16225 alias -g '${1+"$@"}'='"$@"'
16226 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
16229 DUALCASE
=1; export DUALCASE
# for MKS sh
16231 # Support unset when possible.
16232 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
16239 # Work around bugs in pre-3.0 UWIN ksh.
16240 $as_unset ENV MAIL MAILPATH
16247 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16248 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16249 LC_TELEPHONE LC_TIME
16251 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16252 eval $as_var=C
; export $as_var
16258 # Required to use basename.
16259 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16265 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
16266 as_basename
=basename
16272 # Name of the executable.
16273 as_me
=`$as_basename "$0" ||
16274 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16275 X"$0" : 'X\(//\)$' \| \
16276 X"$0" : 'X\(/\)$' \| \
16277 . : '\(.\)' 2>/dev/null ||
16279 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16280 /^X\/\(\/\/\)$/{ s//\1/; q; }
16281 /^X\/\(\/\).*/{ s//\1/; q; }
16285 # PATH needs CR, and LINENO needs CR and PATH.
16286 # Avoid depending upon Character Ranges.
16287 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16288 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16289 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16290 as_cr_digits
='0123456789'
16291 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16293 # The user is always right.
16294 if test "${PATH_SEPARATOR+set}" != set; then
16295 echo "#! /bin/sh" >conf$$.sh
16296 echo "exit 0" >>conf$$.sh
16298 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16307 as_lineno_1
=$LINENO
16308 as_lineno_2
=$LINENO
16309 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
16310 test "x$as_lineno_1" != "x$as_lineno_2" &&
16311 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
16312 # Find who we are. Look in the path if we contain no path at all
16315 *[\\/]* ) as_myself
=$0 ;;
16316 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16317 for as_dir
in $PATH
16320 test -z "$as_dir" && as_dir
=.
16321 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
16326 # We did not find ourselves, most probably we were run as `sh COMMAND'
16327 # in which case we are not to be found in the path.
16328 if test "x$as_myself" = x
; then
16331 if test ! -f "$as_myself"; then
16332 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16333 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16334 { (exit 1); exit 1; }; }
16336 case $CONFIG_SHELL in
16338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16339 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
16342 test -z "$as_dir" && as_dir
=.
16343 for as_base
in sh bash ksh sh5
; do
16346 if ("$as_dir/$as_base" -c '
16347 as_lineno_1=$LINENO
16348 as_lineno_2=$LINENO
16349 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16350 test "x$as_lineno_1" != "x$as_lineno_2" &&
16351 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
16352 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
16353 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
16354 CONFIG_SHELL
=$as_dir/$as_base
16355 export CONFIG_SHELL
16356 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16364 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16365 # uniformly replaced by the line number. The first 'sed' inserts a
16366 # line-number line before each line; the second 'sed' does the real
16367 # work. The second script uses 'N' to pair each line-number line
16368 # with the numbered line, and appends trailing '-' during
16369 # substitution so that $LINENO is not a special case at line end.
16370 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16371 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16372 sed '=' <$as_myself |
16377 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16380 s,^['$as_cr_digits']*\n,,
16381 ' >$as_me.lineno
&&
16382 chmod +x
$as_me.lineno ||
16383 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16384 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16385 { (exit 1); exit 1; }; }
16387 # Don't try to exec as it changes $[0], causing all sort of problems
16388 # (the dirname of $[0] is not the place where we might find the
16389 # original and so on. Autoconf is especially sensible to this).
16391 # Exit status is that of the last command.
16396 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16397 *c
*,-n*) ECHO_N
= ECHO_C
='
16399 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
16400 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
16403 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16409 rm -f conf$$ conf$$.exe conf$$.
file
16411 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16412 # We could just check for DJGPP; but this test a) works b) is more generic
16413 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16414 if test -f conf$$.exe
; then
16415 # Don't use ln at all; we don't have any links
16420 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16425 rm -f conf$$ conf$$.exe conf$$.
file
16427 if mkdir
-p .
2>/dev
/null
; then
16430 test -d .
/-p && rmdir .
/-p
16434 as_executable_p
="test -f"
16436 # Sed expression to map a string onto a valid CPP name.
16437 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16439 # Sed expression to map a string onto a valid variable name.
16440 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16444 # We need space, tab and new line, in precisely that order.
16454 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16455 # report actual input values of CONFIG_FILES etc. instead of their
16456 # values after options handling. Logging --version etc. is OK.
16460 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16461 ## Running $as_me. ##
16466 This file was extended by $as_me, which was
16467 generated by GNU Autoconf 2.59. Invocation command line was
16469 CONFIG_FILES = $CONFIG_FILES
16470 CONFIG_HEADERS = $CONFIG_HEADERS
16471 CONFIG_LINKS = $CONFIG_LINKS
16472 CONFIG_COMMANDS = $CONFIG_COMMANDS
16476 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16480 # Files that config.status was made for.
16481 if test -n "$ac_config_files"; then
16482 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16485 if test -n "$ac_config_headers"; then
16486 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16489 if test -n "$ac_config_links"; then
16490 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16493 if test -n "$ac_config_commands"; then
16494 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16497 cat >>$CONFIG_STATUS <<\_ACEOF
16500 \`$as_me' instantiates files from templates according to the
16501 current configuration.
16503 Usage: $0 [OPTIONS] [FILE]...
16505 -h, --help print this help, then exit
16506 -V, --version print version number, then exit
16507 -q, --quiet do not print progress messages
16508 -d, --debug don't remove temporary files
16509 --recheck update $as_me by reconfiguring in the same conditions
16510 --file=FILE[:TEMPLATE]
16511 instantiate the configuration file FILE
16512 --header=FILE[:TEMPLATE]
16513 instantiate the configuration header FILE
16515 Configuration files:
16518 Configuration headers:
16521 Configuration commands:
16524 Report bugs to <bug-autoconf@gnu.org>."
16527 cat >>$CONFIG_STATUS <<_ACEOF
16530 configured by $0, generated by GNU Autoconf 2.59,
16531 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16533 Copyright (C) 2003 Free Software Foundation, Inc.
16534 This config.status script is free software; the Free Software Foundation
16535 gives unlimited permission to copy, distribute and modify it."
16540 cat >>$CONFIG_STATUS <<\_ACEOF
16541 # If no file are specified by the user, then we need to provide default
16542 # value. By we need to know if files were specified by the user.
16548 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
16549 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
16557 *) # This is not an option, so the user has probably given explicit
16560 ac_need_defaults
=false
;;
16564 # Handling of the options.
16566 cat >>$CONFIG_STATUS <<\_ACEOF
16567 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16569 --version |
--vers* |
-V )
16570 echo "$ac_cs_version"; exit 0 ;;
16572 # Conflict between --help and --header
16573 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16574 Try \`$0 --help' for more information." >&5
16575 echo "$as_me: error: ambiguous option: $1
16576 Try \`$0 --help' for more information." >&2;}
16577 { (exit 1); exit 1; }; };;
16578 --help |
--hel |
-h )
16579 echo "$ac_cs_usage"; exit 0 ;;
16580 --debug |
--d* |
-d )
16582 --file |
--fil |
--fi |
--f )
16584 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16585 ac_need_defaults
=false
;;
16586 --header |
--heade |
--head |
--hea )
16588 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
16589 ac_need_defaults
=false
;;
16590 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16591 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16594 # This is an error.
16595 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16596 Try \`$0 --help' for more information." >&5
16597 echo "$as_me: error: unrecognized option: $1
16598 Try \`$0 --help' for more information." >&2;}
16599 { (exit 1); exit 1; }; } ;;
16601 *) ac_config_targets
="$ac_config_targets $1" ;;
16607 ac_configure_extra_args
=
16609 if $ac_cs_silent; then
16611 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16615 cat >>$CONFIG_STATUS <<_ACEOF
16616 if \$ac_cs_recheck; then
16617 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16618 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16623 cat >>$CONFIG_STATUS <<_ACEOF
16625 # INIT-COMMANDS section.
16632 with_multisubdir="$with_multisubdir"
16633 with_multisrctop="$with_multisrctop"
16634 with_target_subdir="$with_target_subdir"
16635 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16636 multi_basedir="$multi_basedir"
16637 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16639 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16642 # The HP-UX ksh and POSIX shell print the target directory to stdout
16643 # if CDPATH is set.
16644 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16646 sed_quote_subst='$sed_quote_subst'
16647 double_quote_subst='$double_quote_subst'
16648 delay_variable_subst='$delay_variable_subst'
16649 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16650 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16651 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16652 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16653 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16654 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16655 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16656 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16657 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16658 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16659 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16660 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16661 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16662 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16663 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16664 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16665 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16666 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16667 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16668 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16669 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16670 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16671 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16672 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16673 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16674 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16675 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16676 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16677 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16678 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16679 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16680 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16681 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16682 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16683 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16684 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16685 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16686 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16687 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16688 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16689 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16690 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16691 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16692 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"`'
16693 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16694 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16695 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16696 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16697 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16698 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16699 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16700 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16701 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16702 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16703 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16704 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16705 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16706 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16707 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16708 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16709 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16710 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16711 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16712 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16713 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16714 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16715 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16716 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16717 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16718 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16719 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16720 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16721 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16722 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16723 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16724 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16725 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16726 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16727 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16728 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16729 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16730 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16731 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16732 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16733 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16734 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16735 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16736 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16737 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16738 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16739 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16740 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16741 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16742 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16743 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16744 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16745 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16746 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16747 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16748 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16749 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16750 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16751 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16752 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16753 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16754 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16755 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16756 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16757 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16758 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16759 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16760 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16761 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16762 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16763 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16764 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16765 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16766 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16767 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16768 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16769 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16770 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16771 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16772 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16773 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16774 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16775 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16776 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16777 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16778 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16779 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16780 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16781 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16782 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16783 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16784 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16785 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16786 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16787 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16788 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16789 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16790 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16791 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16792 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16793 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16794 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16795 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16796 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16797 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16798 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16799 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16800 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16801 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16802 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16803 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16804 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16805 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16806 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16807 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16808 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16809 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16810 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16813 LTCFLAGS='$LTCFLAGS'
16814 compiler='$compiler_DEFAULT'
16816 # Quote evaled strings.
16827 deplibs_check_method \
16836 lt_cv_sys_global_symbol_pipe \
16837 lt_cv_sys_global_symbol_to_cdecl \
16838 lt_cv_sys_global_symbol_to_c_name_address \
16841 lt_prog_compiler_no_builtin_flag \
16842 lt_prog_compiler_wl \
16843 lt_prog_compiler_pic \
16844 lt_prog_compiler_static \
16845 lt_cv_prog_compiler_c_o \
16848 export_dynamic_flag_spec \
16849 whole_archive_flag_spec \
16850 compiler_needs_object \
16852 allow_undefined_flag \
16853 no_undefined_flag \
16854 hardcode_libdir_flag_spec \
16855 hardcode_libdir_flag_spec_ld \
16856 hardcode_libdir_separator \
16861 variables_saved_for_relink \
16863 library_names_spec \
16872 compiler_lib_search_path \
16875 lt_prog_compiler_no_builtin_flag_CXX \
16876 lt_prog_compiler_wl_CXX \
16877 lt_prog_compiler_pic_CXX \
16878 lt_prog_compiler_static_CXX \
16879 lt_cv_prog_compiler_c_o_CXX \
16880 export_dynamic_flag_spec_CXX \
16881 whole_archive_flag_spec_CXX \
16882 compiler_needs_object_CXX \
16884 allow_undefined_flag_CXX \
16885 no_undefined_flag_CXX \
16886 hardcode_libdir_flag_spec_CXX \
16887 hardcode_libdir_flag_spec_ld_CXX \
16888 hardcode_libdir_separator_CXX \
16889 fix_srcfile_path_CXX \
16890 exclude_expsyms_CXX \
16891 include_expsyms_CXX \
16892 file_list_spec_CXX \
16893 predep_objects_CXX \
16894 postdep_objects_CXX \
16897 compiler_lib_search_path_CXX; do
16898 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16899 *[\\\\\\\`\\"\\\$]*)
16900 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16903 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16908 # Double-quote double-evaled strings.
16909 for var in reload_cmds \
16910 old_postinstall_cmds \
16911 old_postuninstall_cmds \
16913 extract_expsyms_cmds \
16914 old_archive_from_new_cmds \
16915 old_archive_from_expsyms_cmds \
16917 archive_expsym_cmds \
16919 module_expsym_cmds \
16920 export_symbols_cmds \
16923 postuninstall_cmds \
16925 sys_lib_search_path_spec \
16926 sys_lib_dlsearch_path_spec \
16927 old_archive_cmds_CXX \
16928 old_archive_from_new_cmds_CXX \
16929 old_archive_from_expsyms_cmds_CXX \
16931 archive_expsym_cmds_CXX \
16933 module_expsym_cmds_CXX \
16934 export_symbols_cmds_CXX \
16935 prelink_cmds_CXX; do
16936 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16937 *[\\\\\\\`\\"\\\$]*)
16938 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16941 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16946 # Fix-up fallback echo if it was mangled by the above quoting rules.
16948 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16952 ac_aux_dir='$ac_aux_dir'
16953 xsi_shell='$xsi_shell'
16954 lt_shell_append='$lt_shell_append'
16956 # See if we are running on zsh, and set the options which allow our
16957 # commands through without removal of \ escapes INIT.
16958 if test -n "\${ZSH_VERSION+set}" ; then
16959 setopt NO_GLOB_SUBST
16965 TIMESTAMP='$TIMESTAMP'
16978 cat >>$CONFIG_STATUS <<\_ACEOF
16979 for ac_config_target
in $ac_config_targets
16981 case "$ac_config_target" in
16982 # Handling of arguments.
16983 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16984 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16985 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16986 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16987 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16988 "include/gc_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_config.h" ;;
16989 "include/gc_ext_config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/gc_ext_config.h" ;;
16990 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16991 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16992 { (exit 1); exit 1; }; };;
16996 # If the user did not use the arguments to specify the items to instantiate,
16997 # then the envvar interface is used. Set only those that are not.
16998 # We use the long form for the default assignment because of an extremely
16999 # bizarre bug on SunOS 4.1.3.
17000 if $ac_need_defaults; then
17001 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17002 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17003 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17006 # Have a temporary directory for convenience. Make it in the build tree
17007 # simply because there is no reason to put it here, and in addition,
17008 # creating and moving files from /tmp can sometimes cause problems.
17009 # Create a temporary directory, and hook for its removal unless debugging.
17012 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17013 trap '{ (exit 1); exit 1; }' 1 2 13 15
17016 # Create a (secure) tmp directory for tmp files.
17019 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17020 test -n "$tmp" && test -d "$tmp"
17023 tmp
=.
/confstat$$
-$RANDOM
17024 (umask 077 && mkdir
$tmp)
17027 echo "$me: cannot create a temporary directory in ." >&2
17028 { (exit 1); exit 1; }
17033 cat >>$CONFIG_STATUS <<_ACEOF
17036 # CONFIG_FILES section.
17039 # No need to generate the scripts if there are no CONFIG_FILES.
17040 # This happens for instance when ./config.status config.h
17041 if test -n "\$CONFIG_FILES"; then
17042 # Protect against being on the right side of a sed subst in config.status.
17043 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17044 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17045 s,@SHELL@,$SHELL,;t t
17046 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17047 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17048 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17049 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17050 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17051 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17052 s,@exec_prefix@,$exec_prefix,;t t
17053 s,@prefix@,$prefix,;t t
17054 s,@program_transform_name@,$program_transform_name,;t t
17055 s,@bindir@,$bindir,;t t
17056 s,@sbindir@,$sbindir,;t t
17057 s,@libexecdir@,$libexecdir,;t t
17058 s,@datadir@,$datadir,;t t
17059 s,@sysconfdir@,$sysconfdir,;t t
17060 s,@sharedstatedir@,$sharedstatedir,;t t
17061 s,@localstatedir@,$localstatedir,;t t
17062 s,@libdir@,$libdir,;t t
17063 s,@includedir@,$includedir,;t t
17064 s,@oldincludedir@,$oldincludedir,;t t
17065 s,@infodir@,$infodir,;t t
17066 s,@mandir@,$mandir,;t t
17067 s,@build_alias@,$build_alias,;t t
17068 s,@host_alias@,$host_alias,;t t
17069 s,@target_alias@,$target_alias,;t t
17070 s,@DEFS@,$DEFS,;t t
17071 s,@ECHO_C@,$ECHO_C,;t t
17072 s,@ECHO_N@,$ECHO_N,;t t
17073 s,@ECHO_T@,$ECHO_T,;t t
17074 s,@LIBS@,$LIBS,;t t
17075 s,@multi_basedir@,$multi_basedir,;t t
17076 s,@build@,$build,;t t
17077 s,@build_cpu@,$build_cpu,;t t
17078 s,@build_vendor@,$build_vendor,;t t
17079 s,@build_os@,$build_os,;t t
17080 s,@host@,$host,;t t
17081 s,@host_cpu@,$host_cpu,;t t
17082 s,@host_vendor@,$host_vendor,;t t
17083 s,@host_os@,$host_os,;t t
17084 s,@target@,$target,;t t
17085 s,@target_cpu@,$target_cpu,;t t
17086 s,@target_vendor@,$target_vendor,;t t
17087 s,@target_os@,$target_os,;t t
17088 s,@target_noncanonical@,$target_noncanonical,;t t
17089 s,@mkinstalldirs@,$mkinstalldirs,;t t
17090 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17091 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17092 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17093 s,@CYGPATH_W@,$CYGPATH_W,;t t
17094 s,@PACKAGE@,$PACKAGE,;t t
17095 s,@VERSION@,$VERSION,;t t
17096 s,@ACLOCAL@,$ACLOCAL,;t t
17097 s,@AUTOCONF@,$AUTOCONF,;t t
17098 s,@AUTOMAKE@,$AUTOMAKE,;t t
17099 s,@AUTOHEADER@,$AUTOHEADER,;t t
17100 s,@MAKEINFO@,$MAKEINFO,;t t
17101 s,@install_sh@,$install_sh,;t t
17102 s,@STRIP@,$STRIP,;t t
17103 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17104 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17105 s,@mkdir_p@,$mkdir_p,;t t
17107 s,@SET_MAKE@,$SET_MAKE,;t t
17108 s,@am__leading_dot@,$am__leading_dot,;t t
17109 s,@AMTAR@,$AMTAR,;t t
17110 s,@am__tar@,$am__tar,;t t
17111 s,@am__untar@,$am__untar,;t t
17113 s,@ac_ct_CC@,$ac_ct_CC,;t t
17114 s,@EXEEXT@,$EXEEXT,;t t
17115 s,@OBJEXT@,$OBJEXT,;t t
17116 s,@DEPDIR@,$DEPDIR,;t t
17117 s,@am__include@,$am__include,;t t
17118 s,@am__quote@,$am__quote,;t t
17119 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17120 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17121 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17122 s,@CCDEPMODE@,$CCDEPMODE,;t t
17123 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17124 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17126 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17127 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17128 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17129 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17130 s,@CFLAGS@,$CFLAGS,;t t
17131 s,@CXXFLAGS@,$CXXFLAGS,;t t
17132 s,@CCAS@,$CCAS,;t t
17133 s,@CCASFLAGS@,$CCASFLAGS,;t t
17135 s,@ac_ct_AS@,$ac_ct_AS,;t t
17137 s,@ac_ct_AR@,$ac_ct_AR,;t t
17138 s,@RANLIB@,$RANLIB,;t t
17139 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17140 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17141 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17142 s,@MAINT@,$MAINT,;t t
17143 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
17144 s,@LIBTOOL@,$LIBTOOL,;t t
17146 s,@EGREP@,$EGREP,;t t
17147 s,@FGREP@,$FGREP,;t t
17148 s,@GREP@,$GREP,;t t
17150 s,@DUMPBIN@,$DUMPBIN,;t t
17151 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
17153 s,@LN_S@,$LN_S,;t t
17154 s,@lt_ECHO@,$lt_ECHO,;t t
17156 s,@CPPFLAGS@,$CPPFLAGS,;t t
17157 s,@LDFLAGS@,$LDFLAGS,;t t
17158 s,@CXXCPP@,$CXXCPP,;t t
17159 s,@THREADLIBS@,$THREADLIBS,;t t
17160 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
17161 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
17162 s,@extra_ldflags_libgc@,$extra_ldflags_libgc,;t t
17163 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
17164 s,@target_all@,$target_all,;t t
17165 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
17166 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
17167 s,@AM_CPPFLAGS@,$AM_CPPFLAGS,;t t
17168 s,@addobjs@,$addobjs,;t t
17169 s,@addincludes@,$addincludes,;t t
17170 s,@addlibs@,$addlibs,;t t
17171 s,@addtests@,$addtests,;t t
17172 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
17173 s,@toolexecdir@,$toolexecdir,;t t
17174 s,@toolexeclibdir@,$toolexeclibdir,;t t
17175 s,@LIBOBJS@,$LIBOBJS,;t t
17176 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17181 cat >>$CONFIG_STATUS <<\_ACEOF
17182 # Split the substitutions into bite-sized pieces for seds with
17183 # small command number limits, like on Digital OSF/1 and HP-UX.
17184 ac_max_sed_lines
=48
17185 ac_sed_frag
=1 # Number of current file.
17186 ac_beg
=1 # First line for current file.
17187 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17190 while $ac_more_lines; do
17191 if test $ac_beg -gt 1; then
17192 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17194 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17196 if test ! -s $tmp/subs.frag
; then
17197 ac_more_lines
=false
17199 # The purpose of the label and of the branching condition is to
17200 # speed up the sed processing (if there are no `@' at all, there
17201 # is no need to browse any of the substitutions).
17202 # These are the two extra sed commands mentioned above.
17204 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17205 if test -z "$ac_sed_cmds"; then
17206 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17208 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17210 ac_sed_frag
=`expr $ac_sed_frag + 1`
17212 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17215 if test -z "$ac_sed_cmds"; then
17218 fi # test -n "$CONFIG_FILES"
17221 cat >>$CONFIG_STATUS <<\_ACEOF
17222 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17223 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17225 - |
*:- |
*:-:* ) # input from stdin
17227 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17228 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17229 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17230 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17231 * ) ac_file_in
=$ac_file.
in ;;
17234 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17235 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17236 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17237 X"$ac_file" : 'X\(//\)[^/]' \| \
17238 X"$ac_file" : 'X\(//\)$' \| \
17239 X"$ac_file" : 'X\(/\)' \| \
17240 . : '\(.\)' 2>/dev/null ||
17242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17243 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17244 /^X\(\/\/\)$/{ s//\1/; q; }
17245 /^X\(\/\).*/{ s//\1/; q; }
17247 { if $as_mkdir_p; then
17252 while test ! -d "$as_dir"; do
17253 as_dirs
="$as_dir $as_dirs"
17254 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17255 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17256 X"$as_dir" : 'X\(//\)[^/]' \| \
17257 X"$as_dir" : 'X\(//\)$' \| \
17258 X"$as_dir" : 'X\(/\)' \| \
17259 . : '\(.\)' 2>/dev/null ||
17261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17262 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17263 /^X\(\/\/\)$/{ s//\1/; q; }
17264 /^X\(\/\).*/{ s//\1/; q; }
17267 test ! -n "$as_dirs" || mkdir
$as_dirs
17268 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17269 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17270 { (exit 1); exit 1; }; }; }
17274 if test "$ac_dir" != .
; then
17275 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17276 # A "../" for each directory in $ac_dir_suffix.
17277 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17279 ac_dir_suffix
= ac_top_builddir
=
17283 .
) # No --srcdir option. We are building in place.
17285 if test -z "$ac_top_builddir"; then
17288 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17290 [\\/]* | ?
:[\\/]* ) # Absolute path.
17291 ac_srcdir
=$srcdir$ac_dir_suffix;
17292 ac_top_srcdir
=$srcdir ;;
17293 *) # Relative path.
17294 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17295 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17298 # Do not use `cd foo && pwd` to compute absolute paths, because
17299 # the directories may not exist.
17301 .
) ac_abs_builddir
="$ac_dir";;
17304 .
) ac_abs_builddir
=`pwd`;;
17305 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17306 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17309 case $ac_abs_builddir in
17310 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17312 case ${ac_top_builddir}.
in
17313 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17314 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17315 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17318 case $ac_abs_builddir in
17319 .
) ac_abs_srcdir
=$ac_srcdir;;
17322 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17323 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17324 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17327 case $ac_abs_builddir in
17328 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17330 case $ac_top_srcdir in
17331 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17332 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17333 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17339 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17340 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17343 if test x
"$ac_file" != x-
; then
17344 { echo "$as_me:$LINENO: creating $ac_file" >&5
17345 echo "$as_me: creating $ac_file" >&6;}
17348 # Let's still pretend it is `configure' which instantiates (i.e., don't
17349 # use $as_me), people would be surprised to read:
17350 # /* config.h. Generated by config.status. */
17351 if test x
"$ac_file" = x-
; then
17354 configure_input
="$ac_file. "
17356 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17357 sed 's,.*/,,'` by configure."
17359 # First look for the input files in the build tree, otherwise in the
17361 ac_file_inputs
=`IFS=:
17362 for f in $ac_file_in; do
17364 -) echo $tmp/stdin ;;
17366 # Absolute (can't be DOS-style, as IFS=:)
17367 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17368 echo "$as_me: error: cannot find input file: $f" >&2;}
17369 { (exit 1); exit 1; }; }
17372 if test -f "$f"; then
17375 elif test -f "$srcdir/$f"; then
17380 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17381 echo "$as_me: error: cannot find input file: $f" >&2;}
17382 { (exit 1); exit 1; }; }
17385 done` ||
{ (exit 1); exit 1; }
17387 cat >>$CONFIG_STATUS <<_ACEOF
17391 cat >>$CONFIG_STATUS <<\_ACEOF
17393 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17394 s
,@configure_input@
,$configure_input,;t t
17395 s
,@srcdir@
,$ac_srcdir,;t t
17396 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17397 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17398 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17399 s
,@builddir@
,$ac_builddir,;t t
17400 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17401 s
,@top_builddir@
,$ac_top_builddir,;t t
17402 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17403 s
,@INSTALL@
,$ac_INSTALL,;t t
17404 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17406 if test x"$ac_file" != x-; then
17407 mv $tmp/out $ac_file
17415 cat >>$CONFIG_STATUS <<\_ACEOF
17418 # CONFIG_HEADER section.
17421 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
17422 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17424 # ac_d sets the value in "#define NAME VALUE" lines.
17425 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17426 ac_dB
='[ ].*$,\1#\2'
17429 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17430 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17431 ac_uB
='$,\1#\2define\3'
17435 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
17436 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17438 - |
*:- |
*:-:* ) # input from stdin
17440 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17441 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17442 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17443 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17444 * ) ac_file_in
=$ac_file.
in ;;
17447 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
17448 echo "$as_me: creating $ac_file" >&6;}
17450 # First look for the input files in the build tree, otherwise in the
17452 ac_file_inputs
=`IFS=:
17453 for f in $ac_file_in; do
17455 -) echo $tmp/stdin ;;
17457 # Absolute (can't be DOS-style, as IFS=:)
17458 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17459 echo "$as_me: error: cannot find input file: $f" >&2;}
17460 { (exit 1); exit 1; }; }
17461 # Do quote $f, to prevent DOS paths from being IFS'd.
17464 if test -f "$f"; then
17467 elif test -f "$srcdir/$f"; then
17472 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17473 echo "$as_me: error: cannot find input file: $f" >&2;}
17474 { (exit 1); exit 1; }; }
17477 done` ||
{ (exit 1); exit 1; }
17478 # Remove the trailing spaces.
17479 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17483 # Transform confdefs.h into two sed scripts, `conftest.defines' and
17484 # `conftest.undefs', that substitutes the proper values into
17485 # config.h.in to produce config.h. The first handles `#define'
17486 # templates, and the second `#undef' templates.
17487 # And first: Protect against being on the right side of a sed subst in
17488 # config.status. Protect against being in an unquoted here document
17489 # in config.status.
17490 rm -f conftest.defines conftest.undefs
17491 # Using a here document instead of a string reduces the quoting nightmare.
17492 # Putting comments in sed scripts is not portable.
17494 # `end' is used to avoid that the second main sed command (meant for
17495 # 0-ary CPP macros) applies to n-ary macro definitions.
17496 # See the Autoconf documentation for `clear'.
17497 cat >confdef2sed.
sed <<\_ACEOF
17502 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
17504 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17507 # If some macros were called several times there might be several times
17508 # the same #defines, which is useless. Nevertheless, we may not want to
17509 # sort them, since we want the *last* AC-DEFINE to be honored.
17510 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
17511 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
17512 rm -f confdef2sed.sed
17514 # This sed command replaces #undef with comments. This is necessary, for
17515 # example, in the case of _POSIX_SOURCE, which is predefined and required
17516 # on some systems where configure will not decide to define it.
17517 cat >>conftest.undefs <<\_ACEOF
17518 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17521 # Break up conftest.defines because some shells have a limit on the size
17522 # of here documents, and old seds have small limits too (100 cmds).
17523 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17524 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17525 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17526 echo ' :' >>$CONFIG_STATUS
17527 rm -f conftest.tail
17528 while grep . conftest.defines >/dev/null
17530 # Write a limited-size here document to $tmp/defines.sed.
17531 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
17532 # Speed up: don't consider the non `#define' lines.
17533 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
17534 # Work around the forget-to-reset-the-flag bug.
17535 echo 't clr' >>$CONFIG_STATUS
17536 echo ': clr' >>$CONFIG_STATUS
17537 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
17539 sed -f $tmp/defines.sed $tmp/in >$tmp/out
17541 mv $tmp/out $tmp/in
17543 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
17544 rm -f conftest.defines
17545 mv conftest.
tail conftest.defines
17547 rm -f conftest.defines
17548 echo ' fi # grep' >>$CONFIG_STATUS
17549 echo >>$CONFIG_STATUS
17551 # Break up conftest.undefs because some shells have a limit on the size
17552 # of here documents, and old seds have small limits too (100 cmds).
17553 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17554 rm -f conftest.
tail
17555 while grep . conftest.undefs
>/dev
/null
17557 # Write a limited-size here document to $tmp/undefs.sed.
17558 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17559 # Speed up: don't consider the non
`#undef'
17560 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17561 # Work around the forget-to-reset-the-flag bug.
17562 echo 't clr' >>$CONFIG_STATUS
17563 echo ': clr' >>$CONFIG_STATUS
17564 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17566 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17568 mv $tmp/out $tmp/in
17570 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17571 rm -f conftest.undefs
17572 mv conftest.tail conftest.undefs
17574 rm -f conftest.undefs
17576 cat >>$CONFIG_STATUS <<\_ACEOF
17577 # Let's still pretend it is `configure
' which instantiates (i.e., don't
17578 # use $as_me), people would be surprised to read:
17579 # /* config.h. Generated by config.status. */
17580 if test x
"$ac_file" = x-
; then
17581 echo "/* Generated by configure. */" >$tmp/config.h
17583 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17585 cat $tmp/in >>$tmp/config.h
17587 if test x
"$ac_file" != x-
; then
17588 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
17589 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17590 echo "$as_me: $ac_file is unchanged" >&6;}
17592 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17593 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17594 X"$ac_file" : 'X\(//\)[^/]' \| \
17595 X"$ac_file" : 'X\(//\)$' \| \
17596 X"$ac_file" : 'X\(/\)' \| \
17597 . : '\(.\)' 2>/dev/null ||
17599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17600 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17601 /^X\(\/\/\)$/{ s//\1/; q; }
17602 /^X\(\/\).*/{ s//\1/; q; }
17604 { if $as_mkdir_p; then
17609 while test ! -d "$as_dir"; do
17610 as_dirs
="$as_dir $as_dirs"
17611 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17612 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17613 X"$as_dir" : 'X\(//\)[^/]' \| \
17614 X"$as_dir" : 'X\(//\)$' \| \
17615 X"$as_dir" : 'X\(/\)' \| \
17616 . : '\(.\)' 2>/dev/null ||
17618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17619 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17620 /^X\(\/\/\)$/{ s//\1/; q; }
17621 /^X\(\/\).*/{ s//\1/; q; }
17624 test ! -n "$as_dirs" || mkdir
$as_dirs
17625 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17626 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17627 { (exit 1); exit 1; }; }; }
17630 mv $tmp/config.h
$ac_file
17634 rm -f $tmp/config.h
17636 # Compute $ac_file's index in $config_headers.
17638 for _am_header
in $config_headers :; do
17639 case $_am_header in
17640 $ac_file |
$ac_file:* )
17643 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17646 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
17647 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17648 X$ac_file : 'X\(//\)[^/]' \| \
17649 X$ac_file : 'X\(//\)$' \| \
17650 X$ac_file : 'X\(/\)' \| \
17651 . : '\(.\)' 2>/dev/null ||
17653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17654 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17655 /^X\(\/\/\)$/{ s//\1/; q; }
17656 /^X\(\/\).*/{ s//\1/; q; }
17657 s/.*/./; q'`/stamp-h
$_am_stamp_count
17660 cat >>$CONFIG_STATUS <<\_ACEOF
17663 # CONFIG_COMMANDS section.
17665 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
17666 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17667 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17668 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17669 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17670 X"$ac_dest" : 'X\(//\)[^/]' \| \
17671 X"$ac_dest" : 'X\(//\)$' \| \
17672 X"$ac_dest" : 'X\(/\)' \| \
17673 . : '\(.\)' 2>/dev/null ||
17675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17677 /^X\(\/\/\)$/{ s//\1/; q; }
17678 /^X\(\/\).*/{ s//\1/; q; }
17680 { if $as_mkdir_p; then
17685 while test ! -d "$as_dir"; do
17686 as_dirs
="$as_dir $as_dirs"
17687 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17689 X"$as_dir" : 'X\(//\)[^/]' \| \
17690 X"$as_dir" : 'X\(//\)$' \| \
17691 X"$as_dir" : 'X\(/\)' \| \
17692 . : '\(.\)' 2>/dev/null ||
17694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17695 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17696 /^X\(\/\/\)$/{ s//\1/; q; }
17697 /^X\(\/\).*/{ s//\1/; q; }
17700 test ! -n "$as_dirs" || mkdir
$as_dirs
17701 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17702 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17703 { (exit 1); exit 1; }; }; }
17707 if test "$ac_dir" != .
; then
17708 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17709 # A "../" for each directory in $ac_dir_suffix.
17710 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17712 ac_dir_suffix
= ac_top_builddir
=
17716 .
) # No --srcdir option. We are building in place.
17718 if test -z "$ac_top_builddir"; then
17721 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17723 [\\/]* | ?
:[\\/]* ) # Absolute path.
17724 ac_srcdir
=$srcdir$ac_dir_suffix;
17725 ac_top_srcdir
=$srcdir ;;
17726 *) # Relative path.
17727 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17728 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17731 # Do not use `cd foo && pwd` to compute absolute paths, because
17732 # the directories may not exist.
17734 .
) ac_abs_builddir
="$ac_dir";;
17737 .
) ac_abs_builddir
=`pwd`;;
17738 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17739 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17742 case $ac_abs_builddir in
17743 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17745 case ${ac_top_builddir}.
in
17746 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17747 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17748 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17751 case $ac_abs_builddir in
17752 .
) ac_abs_srcdir
=$ac_srcdir;;
17755 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17756 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17757 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17760 case $ac_abs_builddir in
17761 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17763 case $ac_top_srcdir in
17764 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17765 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17766 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17771 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17772 echo "$as_me: executing $ac_dest commands" >&6;}
17775 # Only add multilib support code if we just rebuilt the top-level
17777 case " $CONFIG_FILES " in
17779 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17782 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
17783 # Strip MF so we end up with the name of the file.
17784 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17785 # Check whether this is an Automake generated Makefile or not.
17786 # We used to match only the files named `Makefile.in', but
17787 # some people rename them; so instead we look at the file content.
17788 # Grep'ing the first line is not enough: some people post-process
17789 # each Makefile.in and add a new line on top of each file to say so.
17790 # So let's grep whole file.
17791 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
17792 dirpart
=`(dirname "$mf") 2>/dev/null ||
17793 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17794 X"$mf" : 'X\(//\)[^/]' \| \
17795 X"$mf" : 'X\(//\)$' \| \
17796 X"$mf" : 'X\(/\)' \| \
17797 . : '\(.\)' 2>/dev/null ||
17799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17800 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17801 /^X\(\/\/\)$/{ s//\1/; q; }
17802 /^X\(\/\).*/{ s//\1/; q; }
17807 # Extract the definition of DEPDIR, am__include, and am__quote
17808 # from the Makefile without running `make'.
17809 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17810 test -z "$DEPDIR" && continue
17811 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17812 test -z "am__include" && continue
17813 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17814 # When using ansi2knr, U may be empty or an underscore; expand it
17815 U
=`sed -n 's/^U = //p' < "$mf"`
17816 # Find all dependency output files, they are included files with
17817 # $(DEPDIR) in their names. We invoke sed twice because it is the
17818 # simplest approach to changing $(DEPDIR) to its actual value in the
17820 for file in `sed -n "
17821 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17822 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17823 # Make sure the directory exists.
17824 test -f "$dirpart/$file" && continue
17825 fdir
=`(dirname "$file") 2>/dev/null ||
17826 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17827 X"$file" : 'X\(//\)[^/]' \| \
17828 X"$file" : 'X\(//\)$' \| \
17829 X"$file" : '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; }
17837 { if $as_mkdir_p; then
17838 mkdir
-p $dirpart/$fdir
17840 as_dir
=$dirpart/$fdir
17842 while test ! -d "$as_dir"; do
17843 as_dirs
="$as_dir $as_dirs"
17844 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17845 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17846 X"$as_dir" : 'X\(//\)[^/]' \| \
17847 X"$as_dir" : 'X\(//\)$' \| \
17848 X"$as_dir" : 'X\(/\)' \| \
17849 . : '\(.\)' 2>/dev/null ||
17851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17852 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17853 /^X\(\/\/\)$/{ s//\1/; q; }
17854 /^X\(\/\).*/{ s//\1/; q; }
17857 test ! -n "$as_dirs" || mkdir
$as_dirs
17858 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
17859 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
17860 { (exit 1); exit 1; }; }; }
17862 # echo "creating $dirpart/$file"
17863 echo '# dummy' > "$dirpart/$file"
17869 # See if we are running on zsh, and set the options which allow our
17870 # commands through without removal of \ escapes.
17871 if test -n "${ZSH_VERSION+set}" ; then
17872 setopt NO_GLOB_SUBST
17875 cfgfile
="${ofile}T"
17876 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17879 cat <<_LT_EOF >> "$cfgfile"
17882 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17883 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
17884 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17885 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17887 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17888 # 2006, 2007 Free Software Foundation, Inc.
17890 # This file is part of GNU Libtool:
17891 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17893 # This program is free software; you can redistribute it and/or modify
17894 # it under the terms of the GNU General Public License as published by
17895 # the Free Software Foundation; either version 2 of the License, or
17896 # (at your option) any later version.
17898 # This program is distributed in the hope that it will be useful, but
17899 # WITHOUT ANY WARRANTY; without even the implied warranty of
17900 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17901 # General Public License for more details.
17903 # You should have received a copy of the GNU General Public License
17904 # along with this program; if not, a copy can be downloaded from
17905 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
17906 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17907 # MA 02110-1301, USA.
17909 # As a special exception to the GNU General Public License, if you
17910 # distribute this file as part of a program that contains a
17911 # configuration script generated by Autoconf, you may include it under
17912 # the same distribution terms that you use for the rest of that program.
17915 # The names of the tagged configurations supported by this script.
17916 available_tags="CXX "
17918 # ### BEGIN LIBTOOL CONFIG
17920 # Which release of libtool.m4 was used?
17921 macro_version=$macro_version
17922 macro_revision=$macro_revision
17924 # Whether or not to build shared libraries.
17925 build_libtool_libs=$enable_shared
17927 # Whether or not to build static libraries.
17928 build_old_libs=$enable_static
17930 # What type of objects to build.
17933 # Whether or not to optimize for fast installation.
17934 fast_install=$enable_fast_install
17937 host_alias=$host_alias
17941 # The build system.
17942 build_alias=$build_alias
17946 # A sed program that does not truncate output.
17949 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17950 Xsed="\$SED -e 1s/^X//"
17952 # A grep program that handles long lines.
17958 # A literal string matcher.
17961 # A BSD- or MS-compatible name lister.
17964 # Whether we need soft or hard links.
17967 # What is the maximum length of a command?
17968 max_cmd_len=$max_cmd_len
17970 # Object file suffix (normally "o").
17973 # Executable file suffix (normally "").
17976 # whether the shell understands "unset".
17979 # turn spaces into newlines.
17982 # turn newlines into spaces.
17985 # How to create reloadable object files.
17986 reload_flag=$lt_reload_flag
17987 reload_cmds=$lt_reload_cmds
17989 # Method to check whether dependent libraries are shared objects.
17990 deplibs_check_method=$lt_deplibs_check_method
17992 # Command to use when deplibs_check_method == "file_magic".
17993 file_magic_cmd=$lt_file_magic_cmd
17997 AR_FLAGS=$lt_AR_FLAGS
17999 # A symbol stripping program.
18002 # Commands used to install an old-style archive.
18004 old_postinstall_cmds=$lt_old_postinstall_cmds
18005 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18010 # LTCC compiler flags.
18011 LTCFLAGS=$lt_CFLAGS
18013 # Take the output of nm and produce a listing of raw symbols and C names.
18014 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18016 # Transform the output of nm in a proper C declaration.
18017 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18019 # Transform the output of nm in a C name address pair.
18020 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18022 # The name of the directory that contains temporary libtool files.
18025 # Shell to use when invoking shell scripts.
18028 # An echo program that does not interpret backslashes.
18031 # Used to examine libraries when file_magic_cmd begins with "file".
18032 MAGIC_CMD=$MAGIC_CMD
18034 # Must we lock files when doing compilation?
18035 need_locks=$lt_need_locks
18037 # Old archive suffix (normally "a").
18040 # Shared library suffix (normally ".so").
18041 shrext_cmds=$lt_shrext_cmds
18043 # The commands to extract the exported symbol list from a shared archive.
18044 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18046 # Variables whose values should be saved in libtool wrapper scripts and
18047 # restored at link time.
18048 variables_saved_for_relink=$lt_variables_saved_for_relink
18050 # Do we need the "lib" prefix for modules?
18051 need_lib_prefix=$need_lib_prefix
18053 # Do we need a version for libraries?
18054 need_version=$need_version
18056 # Library versioning type.
18057 version_type=$version_type
18059 # Shared library runtime path variable.
18060 runpath_var=$runpath_var
18062 # Shared library path variable.
18063 shlibpath_var=$shlibpath_var
18065 # Is shlibpath searched before the hard-coded library search path?
18066 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18068 # Format of library name prefix.
18069 libname_spec=$lt_libname_spec
18071 # List of archive names. First name is the real one, the rest are links.
18072 # The last name is the one that the linker finds with -lNAME
18073 library_names_spec=$lt_library_names_spec
18075 # The coded name of the library, if different from the real name.
18076 soname_spec=$lt_soname_spec
18078 # Command to use after installation of a shared archive.
18079 postinstall_cmds=$lt_postinstall_cmds
18081 # Command to use after uninstallation of a shared archive.
18082 postuninstall_cmds=$lt_postuninstall_cmds
18084 # Commands used to finish a libtool library installation in a directory.
18085 finish_cmds=$lt_finish_cmds
18087 # As "finish_cmds", except a single script fragment to be evaled but
18089 finish_eval=$lt_finish_eval
18091 # Whether we should hardcode library paths into libraries.
18092 hardcode_into_libs=$hardcode_into_libs
18094 # Compile-time system search path for libraries.
18095 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18097 # Run-time system search path for libraries.
18098 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18100 # Whether dlopen is supported.
18101 dlopen_support=$enable_dlopen
18103 # Whether dlopen of programs is supported.
18104 dlopen_self=$enable_dlopen_self
18106 # Whether dlopen of statically linked programs is supported.
18107 dlopen_self_static=$enable_dlopen_self_static
18109 # Commands to strip libraries.
18110 old_striplib=$lt_old_striplib
18111 striplib=$lt_striplib
18114 # The linker used to build libraries.
18117 # Commands used to build an old-style archive.
18118 old_archive_cmds=$lt_old_archive_cmds
18120 # A language specific compiler.
18123 # Is the compiler the GNU compiler?
18126 # Compiler flag to turn off builtin functions.
18127 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18129 # How to pass a linker flag through the compiler.
18130 wl=$lt_lt_prog_compiler_wl
18132 # Additional compiler flags for building library objects.
18133 pic_flag=$lt_lt_prog_compiler_pic
18135 # Compiler flag to prevent dynamic linking.
18136 link_static_flag=$lt_lt_prog_compiler_static
18138 # Does compiler simultaneously support -c and -o options?
18139 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18141 # Whether or not to add -lc for building shared libraries.
18142 build_libtool_need_lc=$archive_cmds_need_lc
18144 # Whether or not to disallow shared libs when runtime libs are static.
18145 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18147 # Compiler flag to allow reflexive dlopens.
18148 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18150 # Compiler flag to generate shared objects directly from archives.
18151 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18153 # Whether the compiler copes with passing no objects directly.
18154 compiler_needs_object=$lt_compiler_needs_object
18156 # Create an old-style archive from a shared archive.
18157 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18159 # Create a temporary old-style archive to link instead of a shared archive.
18160 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18162 # Commands used to build a shared archive.
18163 archive_cmds=$lt_archive_cmds
18164 archive_expsym_cmds=$lt_archive_expsym_cmds
18166 # Commands used to build a loadable module if different from building
18167 # a shared archive.
18168 module_cmds=$lt_module_cmds
18169 module_expsym_cmds=$lt_module_expsym_cmds
18171 # Whether we are building with GNU ld or not.
18172 with_gnu_ld=$lt_with_gnu_ld
18174 # Flag that allows shared libraries with undefined symbols to be built.
18175 allow_undefined_flag=$lt_allow_undefined_flag
18177 # Flag that enforces no undefined symbols.
18178 no_undefined_flag=$lt_no_undefined_flag
18180 # Flag to hardcode \$libdir into a binary during linking.
18181 # This must work even if \$libdir does not exist
18182 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18184 # If ld is used when linking, flag to hardcode \$libdir into a binary
18185 # during linking. This must work even if \$libdir does not exist.
18186 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18188 # Whether we need a single "-rpath" flag with a separated argument.
18189 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18191 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18192 # DIR into the resulting binary.
18193 hardcode_direct=$hardcode_direct
18195 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18196 # DIR into the resulting binary and the resulting library dependency is
18197 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18198 # library is relocated.
18199 hardcode_direct_absolute=$hardcode_direct_absolute
18201 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18202 # into the resulting binary.
18203 hardcode_minus_L=$hardcode_minus_L
18205 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18206 # into the resulting binary.
18207 hardcode_shlibpath_var=$hardcode_shlibpath_var
18209 # Set to "yes" if building a shared library automatically hardcodes DIR
18210 # into the library and all subsequent libraries and executables linked
18212 hardcode_automatic=$hardcode_automatic
18214 # Set to yes if linker adds runtime paths of dependent libraries
18215 # to runtime path list.
18216 inherit_rpath=$inherit_rpath
18218 # Whether libtool must link a program against all its dependency libraries.
18219 link_all_deplibs=$link_all_deplibs
18221 # Fix the shell variable \$srcfile for the compiler.
18222 fix_srcfile_path=$lt_fix_srcfile_path
18224 # Set to "yes" if exported symbols are required.
18225 always_export_symbols=$always_export_symbols
18227 # The commands to list exported symbols.
18228 export_symbols_cmds=$lt_export_symbols_cmds
18230 # Symbols that should not be listed in the preloaded symbols.
18231 exclude_expsyms=$lt_exclude_expsyms
18233 # Symbols that must always be exported.
18234 include_expsyms=$lt_include_expsyms
18236 # Commands necessary for linking programs (against libraries) with templates.
18237 prelink_cmds=$lt_prelink_cmds
18239 # Specify filename containing input files.
18240 file_list_spec=$lt_file_list_spec
18242 # How to hardcode a shared library path into an executable.
18243 hardcode_action=$hardcode_action
18245 # Dependencies to place before and after the objects being linked to
18246 # create a shared library.
18247 predep_objects=$lt_predep_objects
18248 postdep_objects=$lt_postdep_objects
18249 predeps=$lt_predeps
18250 postdeps=$lt_postdeps
18252 # The library search path used internally by the compiler when linking
18253 # a shared library.
18254 compiler_lib_search_path=$lt_compiler_lib_search_path
18256 # ### END LIBTOOL CONFIG
18262 cat <<\_LT_EOF
>> "$cfgfile"
18263 # AIX sometimes has problems with the GCC collect2 program. For some
18264 # reason, if we set the COLLECT_NAMES environment variable, the problems
18265 # vanish in a puff of smoke.
18266 if test "X${COLLECT_NAMES+set}" != Xset
; then
18268 export COLLECT_NAMES
18275 ltmain
="$ac_aux_dir/ltmain.sh"
18278 # We use sed instead of cat because bash on DJGPP gets confused if
18279 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18280 # text mode, it properly converts lines to CR/LF. This bash problem
18281 # is reportedly fixed, but why not run on old versions too?
18282 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18283 ||
(rm -f "$cfgfile"; exit 1)
18287 cat << \_LT_EOF
>> "$cfgfile"
18288 # func_dirname file append nondir_replacement
18289 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18290 # otherwise set result to NONDIR_REPLACEMENT.
18294 */*) func_dirname_result
="${1%/*}${2}" ;;
18295 * ) func_dirname_result
="${3}" ;;
18299 # func_basename file
18302 func_basename_result
="${1##*/}"
18305 # func_stripname prefix suffix name
18306 # strip PREFIX and SUFFIX off of NAME.
18307 # PREFIX and SUFFIX must not contain globbing or regex special
18308 # characters, hashes, percent signs, but SUFFIX may contain a leading
18309 # dot (in which case that matches only a dot).
18312 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18313 # positional parameters, so assign one to ordinary parameter first.
18314 func_stripname_result
=${3}
18315 func_stripname_result
=${func_stripname_result#"${1}"}
18316 func_stripname_result
=${func_stripname_result%"${2}"}
18322 func_opt_split_opt
=${1%%=*}
18323 func_opt_split_arg
=${1#*=}
18330 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18331 *) func_lo2o_result
=${1} ;;
18336 *) # Bourne compatible functions.
18337 cat << \_LT_EOF
>> "$cfgfile"
18338 # func_dirname file append nondir_replacement
18339 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18340 # otherwise set result to NONDIR_REPLACEMENT.
18343 # Extract subdirectory from the argument.
18344 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18345 if test "X$func_dirname_result" = "X${1}"; then
18346 func_dirname_result
="${3}"
18348 func_dirname_result
="$func_dirname_result${2}"
18352 # func_basename file
18355 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18358 # func_stripname prefix suffix name
18359 # strip PREFIX and SUFFIX off of NAME.
18360 # PREFIX and SUFFIX must not contain globbing or regex special
18361 # characters, hashes, percent signs, but SUFFIX may contain a leading
18362 # dot (in which case that matches only a dot).
18363 # func_strip_suffix prefix name
18367 .
*) func_stripname_result
=`$ECHO "X${3}" \
18368 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18369 *) func_stripname_result
=`$ECHO "X${3}" \
18370 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18375 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18376 my_sed_long_arg
='1s/^-[^=]*=//'
18381 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18382 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18388 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18393 case $lt_shell_append in
18395 cat << \_LT_EOF
>> "$cfgfile"
18397 # func_append var value
18398 # Append VALUE to the end of shell variable VAR.
18406 cat << \_LT_EOF
>> "$cfgfile"
18408 # func_append var value
18409 # Append VALUE to the end of shell variable VAR.
18419 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18420 ||
(rm -f "$cfgfile"; exit 1)
18422 mv -f "$cfgfile" "$ofile" ||
18423 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18427 cat <<_LT_EOF >> "$ofile"
18429 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18431 # The linker used to build libraries.
18434 # Commands used to build an old-style archive.
18435 old_archive_cmds=$lt_old_archive_cmds_CXX
18437 # A language specific compiler.
18438 CC=$lt_compiler_CXX
18440 # Is the compiler the GNU compiler?
18443 # Compiler flag to turn off builtin functions.
18444 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18446 # How to pass a linker flag through the compiler.
18447 wl=$lt_lt_prog_compiler_wl_CXX
18449 # Additional compiler flags for building library objects.
18450 pic_flag=$lt_lt_prog_compiler_pic_CXX
18452 # Compiler flag to prevent dynamic linking.
18453 link_static_flag=$lt_lt_prog_compiler_static_CXX
18455 # Does compiler simultaneously support -c and -o options?
18456 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18458 # Whether or not to add -lc for building shared libraries.
18459 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18461 # Whether or not to disallow shared libs when runtime libs are static.
18462 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18464 # Compiler flag to allow reflexive dlopens.
18465 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18467 # Compiler flag to generate shared objects directly from archives.
18468 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18470 # Whether the compiler copes with passing no objects directly.
18471 compiler_needs_object=$lt_compiler_needs_object_CXX
18473 # Create an old-style archive from a shared archive.
18474 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18476 # Create a temporary old-style archive to link instead of a shared archive.
18477 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18479 # Commands used to build a shared archive.
18480 archive_cmds=$lt_archive_cmds_CXX
18481 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18483 # Commands used to build a loadable module if different from building
18484 # a shared archive.
18485 module_cmds=$lt_module_cmds_CXX
18486 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18488 # Whether we are building with GNU ld or not.
18489 with_gnu_ld=$lt_with_gnu_ld_CXX
18491 # Flag that allows shared libraries with undefined symbols to be built.
18492 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18494 # Flag that enforces no undefined symbols.
18495 no_undefined_flag=$lt_no_undefined_flag_CXX
18497 # Flag to hardcode \$libdir into a binary during linking.
18498 # This must work even if \$libdir does not exist
18499 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18501 # If ld is used when linking, flag to hardcode \$libdir into a binary
18502 # during linking. This must work even if \$libdir does not exist.
18503 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18505 # Whether we need a single "-rpath" flag with a separated argument.
18506 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18508 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18509 # DIR into the resulting binary.
18510 hardcode_direct=$hardcode_direct_CXX
18512 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18513 # DIR into the resulting binary and the resulting library dependency is
18514 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18515 # library is relocated.
18516 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18518 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18519 # into the resulting binary.
18520 hardcode_minus_L=$hardcode_minus_L_CXX
18522 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18523 # into the resulting binary.
18524 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18526 # Set to "yes" if building a shared library automatically hardcodes DIR
18527 # into the library and all subsequent libraries and executables linked
18529 hardcode_automatic=$hardcode_automatic_CXX
18531 # Set to yes if linker adds runtime paths of dependent libraries
18532 # to runtime path list.
18533 inherit_rpath=$inherit_rpath_CXX
18535 # Whether libtool must link a program against all its dependency libraries.
18536 link_all_deplibs=$link_all_deplibs_CXX
18538 # Fix the shell variable \$srcfile for the compiler.
18539 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18541 # Set to "yes" if exported symbols are required.
18542 always_export_symbols=$always_export_symbols_CXX
18544 # The commands to list exported symbols.
18545 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18547 # Symbols that should not be listed in the preloaded symbols.
18548 exclude_expsyms=$lt_exclude_expsyms_CXX
18550 # Symbols that must always be exported.
18551 include_expsyms=$lt_include_expsyms_CXX
18553 # Commands necessary for linking programs (against libraries) with templates.
18554 prelink_cmds=$lt_prelink_cmds_CXX
18556 # Specify filename containing input files.
18557 file_list_spec=$lt_file_list_spec_CXX
18559 # How to hardcode a shared library path into an executable.
18560 hardcode_action=$hardcode_action_CXX
18562 # Dependencies to place before and after the objects being linked to
18563 # create a shared library.
18564 predep_objects=$lt_predep_objects_CXX
18565 postdep_objects=$lt_postdep_objects_CXX
18566 predeps=$lt_predeps_CXX
18567 postdeps=$lt_postdeps_CXX
18569 # The library search path used internally by the compiler when linking
18570 # a shared library.
18571 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18573 # ### END LIBTOOL TAG CONFIG: CXX
18581 cat >>$CONFIG_STATUS <<\_ACEOF
18583 { (exit 0); exit 0; }
18585 chmod +x
$CONFIG_STATUS
18586 ac_clean_files
=$ac_clean_files_save
18589 # configure is writing to config.log, and then calls config.status.
18590 # config.status does its own redirection, appending to config.log.
18591 # Unfortunately, on DOS this fails, as config.log is still kept open
18592 # by configure, so config.status won't be able to write to it; its
18593 # output is simply discarded. So we exec the FD to /dev/null,
18594 # effectively closing config.log, so it can be properly (re)opened and
18595 # appended to by config.status. When coming back to configure, we
18596 # need to make the FD available again.
18597 if test "$no_create" != yes; then
18599 ac_config_status_args
=
18600 test "$silent" = yes &&
18601 ac_config_status_args
="$ac_config_status_args --quiet"
18603 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18605 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18606 # would make configure fail if this is the last instruction.
18607 $ac_cs_success ||
{ (exit 1); exit 1; }