2 # From configure.ac Revision: 1.25 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for gc 7.0.
6 # Report bugs to <Hans.Boehm@hp.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) ||
{ (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") ||
{
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir
-p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 # Check that we are running under the correct shell.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
561 # Remove one level of quotation (which was required for Make).
562 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
567 if test "X$1" = X--no-reexec
; then
568 # Discard the --no-reexec flag, and continue.
570 elif test "X$1" = X--fallback-echo
; then
571 # Avoid inline document here, it may be left over
573 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
574 # Yippee, $echo works!
577 # Restart under the correct shell.
578 exec $SHELL "$0" --no-reexec ${1+"$@"}
581 if test "X$1" = X--fallback-echo
; then
582 # used as fallback echo
590 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
594 if test -z "$ECHO"; then
595 if test "X${echo_test_string+set}" != Xset
; then
596 # find a string as large as possible, as long as the shell can cope with it
597 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
598 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
599 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
600 echo_test_string
=`eval $cmd` &&
601 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
608 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
609 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
617 # So, first we look for a working echo in the user's PATH.
619 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
620 for dir
in $PATH /usr
/ucb
; do
622 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
632 if test "X$echo" = Xecho
; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
635 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
639 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
640 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL
=/bin
/ksh
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
650 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
651 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
655 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
661 SHELL
="$CONFIG_SHELL"
663 echo="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 echo="$CONFIG_SHELL $0 --fallback-echo"
670 # maybe with a smaller string...
673 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string
=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
686 # Oops. We lost completely, so just stick with echo.
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
698 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
705 tagnames
=${tagnames+${tagnames},}CXX
707 tagnames
=${tagnames+${tagnames},}F77
709 exec 7<&0 </dev
/null
6>&1
712 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
713 # so uname gets run too.
714 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
719 ac_default_prefix
=/usr
/local
721 ac_config_libobj_dir
=.
727 SHELL
=${CONFIG_SHELL-/bin/sh}
729 # Identity of this package.
732 PACKAGE_VERSION
='7.0'
733 PACKAGE_STRING
='gc 7.0'
734 PACKAGE_BUGREPORT
='Hans.Boehm@hp.com'
736 ac_unique_file
="gcj_mlc.c"
737 # Factoring default headers for most tests.
738 ac_includes_default
="\
740 #ifdef HAVE_SYS_TYPES_H
741 # include <sys/types.h>
743 #ifdef HAVE_SYS_STAT_H
744 # include <sys/stat.h>
750 # ifdef HAVE_STDLIB_H
755 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
760 #ifdef HAVE_STRINGS_H
761 # include <strings.h>
763 #ifdef HAVE_INTTYPES_H
764 # include <inttypes.h>
782 program_transform_name
835 INSTALL_STRIP_PROGRAM
844 MAINTAINER_MODE_FALSE
904 ENABLE_GCJ_SUPPORT_TRUE
905 ENABLE_GCJ_SUPPORT_FALSE
910 USE_INTERNAL_LIBATOMIC_OPS_TRUE
911 USE_INTERNAL_LIBATOMIC_OPS_FALSE
912 NEED_ATOMIC_OPS_ASM_TRUE
913 NEED_ATOMIC_OPS_ASM_FALSE
918 ac_precious_vars
='build_alias
935 ac_subdirs_all
='libatomic_ops'
937 # Initialize some variables set by options.
939 ac_init_version
=false
940 # The variables have the same names as the options, with
941 # dashes changed to underlines.
949 program_transform_name
=s
,x
,x
,
957 # Installation directory options.
958 # These are left unexpanded so users can "make install exec_prefix=/foo"
959 # and all the variables that are supposed to be based on exec_prefix
960 # by default will actually change.
961 # Use braces instead of parens because sh, perl, etc. also accept them.
962 # (The list follows the same order as the GNU Coding Standards.)
963 bindir
='${exec_prefix}/bin'
964 sbindir
='${exec_prefix}/sbin'
965 libexecdir
='${exec_prefix}/libexec'
966 datarootdir
='${prefix}/share'
967 datadir
='${datarootdir}'
968 sysconfdir
='${prefix}/etc'
969 sharedstatedir
='${prefix}/com'
970 localstatedir
='${prefix}/var'
971 includedir
='${prefix}/include'
972 oldincludedir
='/usr/include'
973 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
974 infodir
='${datarootdir}/info'
979 libdir
='${exec_prefix}/lib'
980 localedir
='${datarootdir}/locale'
981 mandir
='${datarootdir}/man'
987 # If the previous option needs an argument, assign it.
988 if test -n "$ac_prev"; then
989 eval $ac_prev=\
$ac_option
995 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
999 # Accept the important Cygnus configure options, so we can diagnose typos.
1001 case $ac_dashdash$ac_option in
1005 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1007 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1008 bindir
=$ac_optarg ;;
1010 -build |
--build |
--buil |
--bui |
--bu)
1011 ac_prev
=build_alias
;;
1012 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1013 build_alias
=$ac_optarg ;;
1015 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1016 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1017 ac_prev
=cache_file
;;
1018 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1019 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1020 cache_file
=$ac_optarg ;;
1022 --config-cache |
-C)
1023 cache_file
=config.cache
;;
1025 -datadir |
--datadir |
--datadi |
--datad)
1027 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1028 datadir
=$ac_optarg ;;
1030 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1031 |
--dataroo |
--dataro |
--datar)
1032 ac_prev
=datarootdir
;;
1033 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1034 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1035 datarootdir
=$ac_optarg ;;
1037 -disable-* |
--disable-*)
1038 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1041 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1042 { (exit 1); exit 1; }; }
1043 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1044 eval enable_
$ac_feature=no
;;
1046 -docdir |
--docdir |
--docdi |
--doc |
--do)
1048 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1049 docdir
=$ac_optarg ;;
1051 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1053 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1054 dvidir
=$ac_optarg ;;
1056 -enable-* |
--enable-*)
1057 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1060 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1061 { (exit 1); exit 1; }; }
1062 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1063 eval enable_
$ac_feature=\
$ac_optarg ;;
1065 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1066 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1067 |
--exec |
--exe |
--ex)
1068 ac_prev
=exec_prefix
;;
1069 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1070 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1071 |
--exec=* |
--exe=* |
--ex=*)
1072 exec_prefix
=$ac_optarg ;;
1074 -gas |
--gas |
--ga |
--g)
1075 # Obsolete; use --with-gas.
1078 -help |
--help |
--hel |
--he |
-h)
1079 ac_init_help
=long
;;
1080 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1081 ac_init_help
=recursive
;;
1082 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1083 ac_init_help
=short
;;
1085 -host |
--host |
--hos |
--ho)
1086 ac_prev
=host_alias
;;
1087 -host=* |
--host=* |
--hos=* |
--ho=*)
1088 host_alias
=$ac_optarg ;;
1090 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1092 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1094 htmldir
=$ac_optarg ;;
1096 -includedir |
--includedir |
--includedi |
--included |
--include \
1097 |
--includ |
--inclu |
--incl |
--inc)
1098 ac_prev
=includedir
;;
1099 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1100 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1101 includedir
=$ac_optarg ;;
1103 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1105 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1106 infodir
=$ac_optarg ;;
1108 -libdir |
--libdir |
--libdi |
--libd)
1110 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1111 libdir
=$ac_optarg ;;
1113 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1114 |
--libexe |
--libex |
--libe)
1115 ac_prev
=libexecdir
;;
1116 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1117 |
--libexe=* |
--libex=* |
--libe=*)
1118 libexecdir
=$ac_optarg ;;
1120 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1121 ac_prev
=localedir
;;
1122 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1123 localedir
=$ac_optarg ;;
1125 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1126 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1127 ac_prev
=localstatedir
;;
1128 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1129 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1130 localstatedir
=$ac_optarg ;;
1132 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1134 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1135 mandir
=$ac_optarg ;;
1137 -nfp |
--nfp |
--nf)
1138 # Obsolete; use --without-fp.
1141 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1142 |
--no-cr |
--no-c |
-n)
1145 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1146 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1149 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1150 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1151 |
--oldin |
--oldi |
--old |
--ol |
--o)
1152 ac_prev
=oldincludedir
;;
1153 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1154 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1155 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1156 oldincludedir
=$ac_optarg ;;
1158 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1160 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1161 prefix
=$ac_optarg ;;
1163 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1164 |
--program-pre |
--program-pr |
--program-p)
1165 ac_prev
=program_prefix
;;
1166 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1167 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1168 program_prefix
=$ac_optarg ;;
1170 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1171 |
--program-suf |
--program-su |
--program-s)
1172 ac_prev
=program_suffix
;;
1173 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1174 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1175 program_suffix
=$ac_optarg ;;
1177 -program-transform-name |
--program-transform-name \
1178 |
--program-transform-nam |
--program-transform-na \
1179 |
--program-transform-n |
--program-transform- \
1180 |
--program-transform |
--program-transfor \
1181 |
--program-transfo |
--program-transf \
1182 |
--program-trans |
--program-tran \
1183 |
--progr-tra |
--program-tr |
--program-t)
1184 ac_prev
=program_transform_name
;;
1185 -program-transform-name=* |
--program-transform-name=* \
1186 |
--program-transform-nam=* |
--program-transform-na=* \
1187 |
--program-transform-n=* |
--program-transform-=* \
1188 |
--program-transform=* |
--program-transfor=* \
1189 |
--program-transfo=* |
--program-transf=* \
1190 |
--program-trans=* |
--program-tran=* \
1191 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1192 program_transform_name
=$ac_optarg ;;
1194 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1196 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1197 pdfdir
=$ac_optarg ;;
1199 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1201 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1204 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1205 |
-silent |
--silent |
--silen |
--sile |
--sil)
1208 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1210 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1212 sbindir
=$ac_optarg ;;
1214 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1215 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1216 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1218 ac_prev
=sharedstatedir
;;
1219 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1220 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1221 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1223 sharedstatedir
=$ac_optarg ;;
1225 -site |
--site |
--sit)
1227 -site=* |
--site=* |
--sit=*)
1230 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1232 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1233 srcdir
=$ac_optarg ;;
1235 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1236 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1237 ac_prev
=sysconfdir
;;
1238 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1239 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1240 sysconfdir
=$ac_optarg ;;
1242 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1243 ac_prev
=target_alias
;;
1244 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1245 target_alias
=$ac_optarg ;;
1247 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1250 -version |
--version |
--versio |
--versi |
--vers |
-V)
1251 ac_init_version
=: ;;
1254 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1257 { echo "$as_me: error: invalid package name: $ac_package" >&2
1258 { (exit 1); exit 1; }; }
1259 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1260 eval with_
$ac_package=\
$ac_optarg ;;
1262 -without-* |
--without-*)
1263 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1266 { echo "$as_me: error: invalid package name: $ac_package" >&2
1267 { (exit 1); exit 1; }; }
1268 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1269 eval with_
$ac_package=no
;;
1272 # Obsolete; use --with-x.
1275 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1276 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1277 ac_prev
=x_includes
;;
1278 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1279 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1280 x_includes
=$ac_optarg ;;
1282 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1283 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1284 ac_prev
=x_libraries
;;
1285 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1286 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1287 x_libraries
=$ac_optarg ;;
1289 -*) { echo "$as_me: error: unrecognized option: $ac_option
1290 Try \`$0 --help' for more information." >&2
1291 { (exit 1); exit 1; }; }
1295 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1296 # Reject names that are not valid shell variable names.
1297 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1298 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1299 { (exit 1); exit 1; }; }
1300 eval $ac_envvar=\
$ac_optarg
1301 export $ac_envvar ;;
1304 # FIXME: should be removed in autoconf 3.0.
1305 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1306 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1307 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1308 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1314 if test -n "$ac_prev"; then
1315 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1316 { echo "$as_me: error: missing argument to $ac_option" >&2
1317 { (exit 1); exit 1; }; }
1320 # Be sure to have absolute directory names.
1321 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1322 datadir sysconfdir sharedstatedir localstatedir includedir \
1323 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1324 libdir localedir mandir
1326 eval ac_val
=\$
$ac_var
1328 [\\/$
]* | ?
:[\\/]* ) continue;;
1329 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1331 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1332 { (exit 1); exit 1; }; }
1335 # There might be people who depend on the old broken behavior: `$host'
1336 # used to hold the argument of --host etc.
1337 # FIXME: To remove some day.
1340 target
=$target_alias
1342 # FIXME: To remove some day.
1343 if test "x$host_alias" != x
; then
1344 if test "x$build_alias" = x
; then
1345 cross_compiling
=maybe
1346 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1347 If a cross compiler is detected then cross compile mode will be used." >&2
1348 elif test "x$build_alias" != "x$host_alias"; then
1354 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1356 test "$silent" = yes && exec 6>/dev
/null
1359 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1360 ac_ls_di
=`ls -di .` &&
1361 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1362 { echo "$as_me: error: Working directory cannot be determined" >&2
1363 { (exit 1); exit 1; }; }
1364 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1365 { echo "$as_me: error: pwd does not report name of working directory" >&2
1366 { (exit 1); exit 1; }; }
1369 # Find the source files, if location was not specified.
1370 if test -z "$srcdir"; then
1371 ac_srcdir_defaulted
=yes
1372 # Try the directory containing this script, then the parent directory.
1373 ac_confdir
=`$as_dirname -- "$0" ||
1374 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1375 X"$0" : 'X\(//\)[^/]' \| \
1376 X"$0" : 'X\(//\)$' \| \
1377 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1401 ac_srcdir_defaulted
=no
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1404 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1405 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1406 { (exit 1); exit 1; }; }
1408 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1410 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1411 { (exit 1); exit 1; }; }
1413 # When building in place, set srcdir=.
1414 if test "$ac_abs_confdir" = "$ac_pwd"; then
1417 # Remove unnecessary trailing slashes from srcdir.
1418 # Double slashes in file names in object file debugging info
1419 # mess up M-x gdb in Emacs.
1421 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1423 for ac_var
in $ac_precious_vars; do
1424 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1425 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1426 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1427 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1431 # Report the --help message.
1433 if test "$ac_init_help" = "long"; then
1434 # Omit some internal or obsolete options to make the list less imposing.
1435 # This message is too long to be a string in the A/UX 3.1 sh.
1437 \`configure' configures gc 7.0 to adapt to many kinds of systems.
1439 Usage: $0 [OPTION]... [VAR=VALUE]...
1441 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1442 VAR=VALUE. See below for descriptions of some of the useful variables.
1444 Defaults for the options are specified in brackets.
1447 -h, --help display this help and exit
1448 --help=short display options specific to this package
1449 --help=recursive display the short help of all the included packages
1450 -V, --version display version information and exit
1451 -q, --quiet, --silent do not print \`checking...' messages
1452 --cache-file=FILE cache test results in FILE [disabled]
1453 -C, --config-cache alias for \`--cache-file=config.cache'
1454 -n, --no-create do not create output files
1455 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1457 Installation directories:
1458 --prefix=PREFIX install architecture-independent files in PREFIX
1459 [$ac_default_prefix]
1460 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1463 By default, \`make install' will install all the files in
1464 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1465 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1466 for instance \`--prefix=\$HOME'.
1468 For better control, use the options below.
1470 Fine tuning of the installation directories:
1471 --bindir=DIR user executables [EPREFIX/bin]
1472 --sbindir=DIR system admin executables [EPREFIX/sbin]
1473 --libexecdir=DIR program executables [EPREFIX/libexec]
1474 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1475 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1476 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1477 --libdir=DIR object code libraries [EPREFIX/lib]
1478 --includedir=DIR C header files [PREFIX/include]
1479 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1480 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1481 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1482 --infodir=DIR info documentation [DATAROOTDIR/info]
1483 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1484 --mandir=DIR man documentation [DATAROOTDIR/man]
1485 --docdir=DIR documentation root [DATAROOTDIR/doc/gc]
1486 --htmldir=DIR html documentation [DOCDIR]
1487 --dvidir=DIR dvi documentation [DOCDIR]
1488 --pdfdir=DIR pdf documentation [DOCDIR]
1489 --psdir=DIR ps documentation [DOCDIR]
1495 --program-prefix=PREFIX prepend PREFIX to installed program names
1496 --program-suffix=SUFFIX append SUFFIX to installed program names
1497 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1500 --build=BUILD configure
for building on BUILD
[guessed
]
1501 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1502 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1506 if test -n "$ac_init_help"; then
1507 case $ac_init_help in
1508 short | recursive
) echo "Configuration of gc 7.0:";;
1513 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1514 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1515 --enable-maintainer-mode enable make rules and dependencies not useful
1516 (and sometimes confusing
) to the casual installer
1517 --disable-dependency-tracking speeds up one-time build
1518 --enable-dependency-tracking do not reject slow dependency extractors
1519 --enable-threads=TYPE choose threading package
1520 --enable-parallel-mark parallelize marking and free list construction
1521 --enable-cplusplus install C
++ support
1522 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1523 --enable-static[=PKGS
] build static libraries
[default
=yes]
1524 --enable-fast-install[=PKGS
]
1525 optimize
for fast installation
[default
=yes]
1526 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1527 --disable-gcj-support Disable support
for gcj.
1528 --disable-java-finalization
1529 Disable support
for java finalization.
1530 --disable-atomic-uncollectible
1531 Disable support
for atomic uncollectible allocation.
1532 --enable-redirect-malloc
1533 Redirect malloc and friends to GC routines
1534 --enable-large-config Optimize
for large
(> 100 MB
) heap or root
set
1535 --enable-gc-debug include full support
for pointer backtracing etc.
1536 --enable-gc-assertions collector-internal assertion checking
1539 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1540 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1541 --with-ecos enable runtime eCos target support
1542 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1543 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1545 --with-tags[=TAGS
] include additional configurations
[automatic
]
1546 --with-target-subdir=SUBDIR
1547 configuring with a cross compiler
1548 --with-cross-host=HOST configuring with a cross compiler
1550 Some influential environment variables
:
1551 CC C compiler
command
1552 CFLAGS C compiler flags
1553 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1554 nonstandard directory
<lib dir
>
1555 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1556 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1557 you have headers
in a nonstandard directory
<include dir
>
1558 CXX C
++ compiler
command
1559 CXXFLAGS C
++ compiler flags
1560 CCAS assembler compiler
command (defaults to CC
)
1561 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1563 CXXCPP C
++ preprocessor
1564 F77 Fortran
77 compiler
command
1565 FFLAGS Fortran
77 compiler flags
1567 Use these variables to override the choices made by
`configure' or to help
1568 it to find libraries and programs with nonstandard names/locations.
1570 Report bugs to <Hans.Boehm@hp.com>.
1575 if test "$ac_init_help" = "recursive"; then
1576 # If there are subdirs, report their specific --help.
1577 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1578 test -d "$ac_dir" || continue
1582 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1584 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1585 # A ".." for each directory in $ac_dir_suffix.
1586 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1587 case $ac_top_builddir_sub in
1588 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1592 ac_abs_top_builddir=$ac_pwd
1593 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1594 # for backward compatibility:
1595 ac_top_builddir=$ac_top_build_prefix
1598 .) # We are building in place.
1600 ac_top_srcdir=$ac_top_builddir_sub
1601 ac_abs_top_srcdir=$ac_pwd ;;
1602 [\\/]* | ?:[\\/]* ) # Absolute name.
1603 ac_srcdir=$srcdir$ac_dir_suffix;
1604 ac_top_srcdir=$srcdir
1605 ac_abs_top_srcdir=$srcdir ;;
1607 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1608 ac_top_srcdir=$ac_top_build_prefix$srcdir
1609 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1611 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1613 cd "$ac_dir" || { ac_status=$?; continue; }
1614 # Check for guested configure.
1615 if test -f "$ac_srcdir/configure.gnu"; then
1617 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1618 elif test -f "$ac_srcdir/configure"; then
1620 $SHELL "$ac_srcdir/configure" --help=recursive
1622 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1624 cd "$ac_pwd" || { ac_status=$?; break; }
1628 test -n "$ac_init_help" && exit $ac_status
1629 if $ac_init_version; then
1632 generated by GNU Autoconf 2.61
1634 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1635 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1636 This configure script is free software; the Free Software Foundation
1637 gives unlimited permission to copy, distribute and modify it.
1641 cat >config.log <<_ACEOF
1642 This file contains any messages produced by compilers while
1643 running configure, to aid debugging if configure makes a mistake.
1645 It was created by gc $as_me 7.0, which was
1646 generated by GNU Autoconf 2.61. Invocation command line was
1658 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1659 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1660 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1661 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1662 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1664 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1665 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1667 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1668 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1669 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1670 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1671 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1672 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1673 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681 test -z "$as_dir" && as_dir=.
1682 echo "PATH: $as_dir"
1698 # Keep a trace of the command line.
1699 # Strip out --no-create and --no-recursion so they do not pile up.
1700 # Strip out --silent because we don't want to record it for future runs.
1701 # Also quote any args containing shell meta-characters.
1702 # Make two passes to allow for proper duplicate-argument suppression.
1706 ac_must_keep_next=false
1712 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1713 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1714 | -silent | --silent | --silen | --sile | --sil)
1717 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1720 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1722 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1723 if test $ac_must_keep_next = true; then
1724 ac_must_keep_next=false # Got value, back to normal.
1727 *=* | --config-cache | -C | -disable-* | --disable-* \
1728 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1729 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1730 | -with-* | --with-* | -without-* | --without-* | --x)
1731 case "$ac_configure_args0 " in
1732 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1735 -* ) ac_must_keep_next=true ;;
1738 ac_configure_args="$ac_configure_args '$ac_arg'"
1743 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1744 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1746 # When interrupted or exit'd, cleanup temporary files, and complete
1747 # config.log. We remove comments because anyway the quotes in there
1748 # would cause problems or look ugly.
1749 # WARNING: Use '\'' to represent an apostrophe within the trap.
1750 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1751 trap 'exit_status=$?
1752 # Save into config.log some information that might help in debugging.
1757 ## ---------------- ##
1758 ## Cache variables. ##
1759 ## ---------------- ##
1762 # The following way of writing the cache mishandles newlines in values,
1764 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1765 eval ac_val=\$$ac_var
1769 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1770 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1773 _ | IFS | as_nl) ;; #(
1774 *) $as_unset $ac_var ;;
1779 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1780 *${as_nl}ac_space=\ *)
1782 "s/'\''/'\''\\\\'\'''\''/g;
1783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1786 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1794 ## ----------------- ##
1795 ## Output variables. ##
1796 ## ----------------- ##
1799 for ac_var in $ac_subst_vars
1801 eval ac_val=\$$ac_var
1803 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1805 echo "$ac_var='\''$ac_val'\''"
1809 if test -n "$ac_subst_files"; then
1811 ## ------------------- ##
1812 ## File substitutions. ##
1813 ## ------------------- ##
1816 for ac_var in $ac_subst_files
1818 eval ac_val=\$$ac_var
1820 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1822 echo "$ac_var='\''$ac_val'\''"
1827 if test -s confdefs.h; then
1837 test "$ac_signal" != 0 &&
1838 echo "$as_me: caught signal $ac_signal"
1839 echo "$as_me: exit $exit_status"
1841 rm -f core *.core core.conftest.* &&
1842 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1845 for ac_signal in 1 2 13 15; do
1846 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1850 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1851 rm -f -r conftest* confdefs.h
1853 # Predefined preprocessor variables.
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_NAME "$PACKAGE_NAME"
1860 cat >>confdefs.h <<_ACEOF
1861 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1870 cat >>confdefs.h <<_ACEOF
1871 #define PACKAGE_STRING "$PACKAGE_STRING"
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1880 # Let the site file select an alternate cache file if it wants to.
1881 # Prefer explicitly selected file to automatically selected ones.
1882 if test -n "$CONFIG_SITE"; then
1883 set x "$CONFIG_SITE"
1884 elif test "x$prefix" != xNONE; then
1885 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1887 set x "$ac_default_prefix/share/config.site" \
1888 "$ac_default_prefix/etc/config.site"
1893 if test -r "$ac_site_file"; then
1894 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1895 echo "$as_me: loading site script $ac_site_file" >&6;}
1896 sed 's/^/| /' "$ac_site_file" >&5
1901 if test -r "$cache_file"; then
1902 # Some versions of bash will fail to source /dev/null (special
1903 # files actually), so we avoid doing that.
1904 if test -f "$cache_file"; then
1905 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1906 echo "$as_me: loading cache $cache_file" >&6;}
1908 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1909 *) . "./$cache_file";;
1913 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1914 echo "$as_me: creating cache $cache_file" >&6;}
1918 # Check that the precious variables saved in the cache have kept the same
1920 ac_cache_corrupted=false
1921 for ac_var in $ac_precious_vars; do
1922 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1923 eval ac_new_set=\$ac_env_${ac_var}_set
1924 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1925 eval ac_new_val=\$ac_env_${ac_var}_value
1926 case $ac_old_set,$ac_new_set in
1928 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1929 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1930 ac_cache_corrupted=: ;;
1932 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1933 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1934 ac_cache_corrupted=: ;;
1937 if test "x$ac_old_val" != "x$ac_new_val"; then
1938 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1939 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1940 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1941 echo "$as_me: former value
: $ac_old_val" >&2;}
1942 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1943 echo "$as_me: current value
: $ac_new_val" >&2;}
1944 ac_cache_corrupted=:
1947 # Pass precious variables to config.status.
1948 if test "$ac_new_set" = set; then
1950 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1951 *) ac_arg=$ac_var=$ac_new_val ;;
1953 case " $ac_configure_args " in
1954 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1955 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1959 if $ac_cache_corrupted; then
1960 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1961 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1962 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1963 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1964 { (exit 1); exit 1; }; }
1992 ac_cpp='$CPP $CPPFLAGS'
1993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1998 ## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)?
2001 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2002 if test -f "$ac_dir/install-sh"; then
2004 ac_install_sh="$ac_aux_dir/install-sh -c"
2006 elif test -f "$ac_dir/install.sh"; then
2008 ac_install_sh="$ac_aux_dir/install.sh -c"
2010 elif test -f "$ac_dir/shtool"; then
2012 ac_install_sh="$ac_aux_dir/shtool install -c"
2016 if test -z "$ac_aux_dir"; then
2017 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2018 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2019 { (exit 1); exit 1; }; }
2022 # These three variables are undocumented and unsupported,
2023 # and are intended to be withdrawn in a future Autoconf release.
2024 # They can cause serious problems if a builder's source tree is in a directory
2025 # whose full name contains unusual characters.
2026 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2027 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2028 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2031 # Make sure we can run config.sub.
2032 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2033 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2034 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2035 { (exit 1); exit 1; }; }
2037 { echo "$as_me:$LINENO: checking build system type" >&5
2038 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2039 if test "${ac_cv_build+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 ac_build_alias=$build_alias
2043 test "x$ac_build_alias" = x &&
2044 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2045 test "x$ac_build_alias" = x &&
2046 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2047 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2048 { (exit 1); exit 1; }; }
2049 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2050 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2051 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2052 { (exit 1); exit 1; }; }
2055 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2056 echo "${ECHO_T}$ac_cv_build" >&6; }
2057 case $ac_cv_build in
2059 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2060 echo "$as_me: error: invalid value of canonical build" >&2;}
2061 { (exit 1); exit 1; }; };;
2064 ac_save_IFS=$IFS; IFS='-'
2070 # Remember, the first character of IFS is used to create $*,
2071 # except with old shells:
2074 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2077 { echo "$as_me:$LINENO: checking host system type" >&5
2078 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2079 if test "${ac_cv_host+set}" = set; then
2080 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 if test "x$host_alias" = x; then
2083 ac_cv_host=$ac_cv_build
2085 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2086 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2087 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2088 { (exit 1); exit 1; }; }
2092 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2093 echo "${ECHO_T}$ac_cv_host" >&6; }
2096 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2097 echo "$as_me: error: invalid value of canonical host" >&2;}
2098 { (exit 1); exit 1; }; };;
2101 ac_save_IFS=$IFS; IFS='-'
2107 # Remember, the first character of IFS is used to create $*,
2108 # except with old shells:
2111 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2114 { echo "$as_me:$LINENO: checking target system type" >&5
2115 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2116 if test "${ac_cv_target+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 if test "x$target_alias" = x; then
2120 ac_cv_target=$ac_cv_host
2122 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2123 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2124 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2125 { (exit 1); exit 1; }; }
2129 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2130 echo "${ECHO_T}$ac_cv_target" >&6; }
2131 case $ac_cv_target in
2133 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2134 echo "$as_me: error: invalid value of canonical target" >&2;}
2135 { (exit 1); exit 1; }; };;
2137 target=$ac_cv_target
2138 ac_save_IFS=$IFS; IFS='-'
2144 # Remember, the first character of IFS is used to create $*,
2145 # except with old shells:
2148 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2151 # The aliases save the names the user supplied, while $host etc.
2152 # will get canonicalized.
2153 test -n "$target_alias" &&
2154 test "$program_prefix$program_suffix$program_transform_name" = \
2156 program_prefix=${target_alias}-
2160 { echo "$as_me:$LINENO: checking GC version numbers" >&5
2161 echo $ECHO_N "checking GC version numbers... $ECHO_C" >&6; }
2162 GC_VERSION_MAJOR=`echo $PACKAGE_VERSION |
sed 's/^\([0-9][0-9]*\)[.].*$/\1/g'`
2163 GC_VERSION_MINOR=`echo $PACKAGE_VERSION |
sed 's/^[^.]*[.]\([0-9][0-9]*\).*$/\1/g'`
2164 GC_ALPHA_VERSION=`echo $PACKAGE_VERSION |
sed 's/^[^.]*[.][0-9]*//'`
2166 case "$GC_ALPHA_VERSION" in
2168 GC_ALPHA_VERSION=`echo $GC_ALPHA_VERSION \
2169 |
sed 's/alpha\([0-9][0-9]*\)/\1/'` ;;
2170 *) GC_ALPHA_MAJOR='' ;;
2173 if test :$GC_VERSION_MAJOR: = :: \
2174 -o :$GC_VERSION_MINOR: = :: ;
2176 { echo "$as_me:$LINENO: result: invalid" >&5
2177 echo "${ECHO_T}invalid" >&6; }
2178 { { echo "$as_me:$LINENO: error: nonconforming PACKAGE_VERSION='$PACKAGE_VERSION'" >&5
2179 echo "$as_me: error: nonconforming PACKAGE_VERSION='$PACKAGE_VERSION'" >&2;}
2180 { (exit 1); exit 1; }; }
2183 cat >>confdefs.h <<_ACEOF
2184 #define GC_VERSION_MAJOR $GC_VERSION_MAJOR
2187 cat >>confdefs.h <<_ACEOF
2188 #define GC_VERSION_MINOR $GC_VERSION_MINOR
2191 if test :$GC_ALPHA_VERSION: != :: ; then
2192 cat >>confdefs.h <<_ACEOF
2193 #define GC_ALPHA_VERSION $GC_ALPHA_VERSION
2197 { echo "$as_me:$LINENO: result: major=$GC_VERSION_MAJOR minor=$GC_VERSION_MINOR \
2198 ${GC_ALPHA_VERSION:+alpha=}$GC_ALPHA_VERSION" >&5
2199 echo "${ECHO_T}major=$GC_VERSION_MAJOR minor=$GC_VERSION_MINOR \
2200 ${GC_ALPHA_VERSION:+alpha=}$GC_ALPHA_VERSION" >&6; }
2202 am__api_version="1.9"
2203 # Find a good install program. We prefer a C program (faster),
2204 # so one script is as good as another. But avoid the broken or
2205 # incompatible versions:
2206 # SysV /etc/install, /usr/sbin/install
2207 # SunOS /usr/etc/install
2208 # IRIX /sbin/install
2210 # AmigaOS /C/install, which installs bootblocks on floppy discs
2211 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2212 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2213 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2214 # OS/2's system install, which has a completely different semantic
2215 # ./install, which can be erroneously created by make from ./install.sh.
2216 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2217 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2218 if test -z "$INSTALL"; then
2219 if test "${ac_cv_path_install+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir=.
2227 # Account for people who put trailing slashes in PATH elements.
2229 ./ | .// | /cC/* | \
2230 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2231 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2234 # OSF1 and SCO ODT 3.0 have their own names for install.
2235 # Don't use installbsd from OSF since it installs stuff as root
2237 for ac_prog in ginstall scoinst install; do
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2240 if test $ac_prog = install &&
2241 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2242 # AIX install. It has an incompatible calling convention.
2244 elif test $ac_prog = install &&
2245 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2246 # program-specific install script used by HP pwplus--don't use.
2249 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2262 if test "${ac_cv_path_install+set}" = set; then
2263 INSTALL=$ac_cv_path_install
2265 # As a last resort, use the slow shell script. Don't cache a
2266 # value for INSTALL within a source directory, because that will
2267 # break other packages using the cache if that directory is
2268 # removed, or if the value is a relative name.
2269 INSTALL=$ac_install_sh
2272 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2273 echo "${ECHO_T}$INSTALL" >&6; }
2275 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2276 # It thinks the first close brace ends the variable substitution.
2277 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2279 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2281 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2283 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2284 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2287 echo timestamp > conftest.file
2288 # Do `set' in a subshell so we don't clobber the current shell
's
2289 # arguments. Must try -L first in case configure is actually a
2290 # symlink; some systems play weird games with the mod time of symlinks
2291 # (eg FreeBSD returns the mod time of the symlink's containing
2294 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2295 if test "$*" = "X"; then
2297 set X
`ls -t $srcdir/configure conftest.file`
2300 if test "$*" != "X $srcdir/configure conftest.file" \
2301 && test "$*" != "X conftest.file $srcdir/configure"; then
2303 # If neither matched, then we have a broken ls. This can happen
2304 # if, for instance, CONFIG_SHELL is bash and it inherits a
2305 # broken ls alias from the environment. This has actually
2306 # happened. Such a system could not be considered "sane".
2307 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2308 alias in your environment" >&5
2309 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2310 alias in your environment" >&2;}
2311 { (exit 1); exit 1; }; }
2314 test "$2" = conftest.
file
2320 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2321 Check your system clock" >&5
2322 echo "$as_me: error: newly created file is older than distributed files!
2323 Check your system clock" >&2;}
2324 { (exit 1); exit 1; }; }
2326 { echo "$as_me:$LINENO: result: yes" >&5
2327 echo "${ECHO_T}yes" >&6; }
2328 test "$program_prefix" != NONE
&&
2329 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2330 # Use a double $ so make ignores it.
2331 test "$program_suffix" != NONE
&&
2332 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2333 # Double any \ or $. echo might interpret backslashes.
2334 # By default was `s,x,x', remove it if useless.
2335 cat <<\_ACEOF
>conftest.
sed
2336 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2338 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2341 # expand $ac_aux_dir to an absolute path
2342 am_aux_dir
=`cd $ac_aux_dir && pwd`
2344 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2345 # Use eval to expand $SHELL
2346 if eval "$MISSING --run true"; then
2347 am_missing_run
="$MISSING --run "
2350 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2351 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2354 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2355 # We used to keeping the `.' as first argument, in order to
2356 # allow $(mkdir_p) to be used without argument. As in
2357 # $(mkdir_p) $(somedir)
2358 # where $(somedir) is conditionally defined. However this is wrong
2360 # 1. if the package is installed by a user who cannot write `.'
2361 # make install will fail,
2362 # 2. the above comment should most certainly read
2363 # $(mkdir_p) $(DESTDIR)$(somedir)
2364 # so it does not work when $(somedir) is undefined and
2365 # $(DESTDIR) is not.
2366 # To support the latter case, we have to write
2367 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2368 # so the `.' trick is pointless.
2369 mkdir_p
='mkdir -p --'
2371 # On NextStep and OpenStep, the `mkdir' command does not
2372 # recognize any option. It will interpret all options as
2373 # directories to create, and then abort because `.' already
2375 for d
in .
/-p .
/--version;
2377 test -d $d && rmdir $d
2379 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2380 if test -f "$ac_aux_dir/mkinstalldirs"; then
2381 mkdir_p
='$(mkinstalldirs)'
2383 mkdir_p
='$(install_sh) -d'
2387 for ac_prog
in gawk mawk nawk
awk
2389 # Extract the first word of "$ac_prog", so it can be a program name with args.
2390 set dummy
$ac_prog; ac_word
=$2
2391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393 if test "${ac_cv_prog_AWK+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 if test -n "$AWK"; then
2397 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir
=.
2404 for ac_exec_ext
in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406 ac_cv_prog_AWK
="$ac_prog"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 if test -n "$AWK"; then
2418 { echo "$as_me:$LINENO: result: $AWK" >&5
2419 echo "${ECHO_T}$AWK" >&6; }
2421 { echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6; }
2426 test -n "$AWK" && break
2429 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2430 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2431 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2432 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 cat >conftest.
make <<\_ACEOF
2438 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2440 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2441 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2443 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2445 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2449 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2450 { echo "$as_me:$LINENO: result: yes" >&5
2451 echo "${ECHO_T}yes" >&6; }
2454 { echo "$as_me:$LINENO: result: no" >&5
2455 echo "${ECHO_T}no" >&6; }
2456 SET_MAKE
="MAKE=${MAKE-make}"
2459 rm -rf .tst
2>/dev
/null
2460 mkdir .tst
2>/dev
/null
2461 if test -d .tst
; then
2466 rmdir .tst
2>/dev
/null
2468 # test to see if srcdir already configured
2469 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2470 test -f $srcdir/config.status
; then
2471 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2472 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2473 { (exit 1); exit 1; }; }
2476 # test whether we have cygpath
2477 if test -z "$CYGPATH_W"; then
2478 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2479 CYGPATH_W
='cygpath -w'
2486 # Define the identity of the package.
2491 cat >>confdefs.h
<<_ACEOF
2492 #define PACKAGE "$PACKAGE"
2496 cat >>confdefs.h
<<_ACEOF
2497 #define VERSION "$VERSION"
2500 # Some tools Automake needs.
2502 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2505 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2508 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2511 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2514 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2516 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2518 # Installed binaries are usually stripped using `strip' when the user
2519 # run `make install-strip'. However `strip' might not be the right
2520 # tool to use in cross-compilation environments, therefore Automake
2521 # will honor the `STRIP' environment variable to overrule this program.
2522 if test "$cross_compiling" != no
; then
2523 if test -n "$ac_tool_prefix"; then
2524 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2525 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2528 if test "${ac_cv_prog_STRIP+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 if test -n "$STRIP"; then
2532 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir
=.
2539 for ac_exec_ext
in '' $ac_executable_extensions; do
2540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2541 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 STRIP
=$ac_cv_prog_STRIP
2552 if test -n "$STRIP"; then
2553 { echo "$as_me:$LINENO: result: $STRIP" >&5
2554 echo "${ECHO_T}$STRIP" >&6; }
2556 { echo "$as_me:$LINENO: result: no" >&5
2557 echo "${ECHO_T}no" >&6; }
2562 if test -z "$ac_cv_prog_STRIP"; then
2564 # Extract the first word of "strip", so it can be a program name with args.
2565 set dummy strip
; ac_word
=$2
2566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2568 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2569 echo $ECHO_N "(cached) $ECHO_C" >&6
2571 if test -n "$ac_ct_STRIP"; then
2572 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir
=.
2579 for ac_exec_ext
in '' $ac_executable_extensions; do
2580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581 ac_cv_prog_ac_ct_STRIP
="strip"
2582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2592 if test -n "$ac_ct_STRIP"; then
2593 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2594 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2596 { echo "$as_me:$LINENO: result: no" >&5
2597 echo "${ECHO_T}no" >&6; }
2600 if test "x$ac_ct_STRIP" = x
; then
2603 case $cross_compiling:$ac_tool_warned in
2605 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2606 whose name does not start with the host triplet. If you think this
2607 configuration is useful to you, please write to autoconf@gnu.org." >&5
2608 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2609 whose name does not start with the host triplet. If you think this
2610 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2611 ac_tool_warned
=yes ;;
2616 STRIP
="$ac_cv_prog_STRIP"
2620 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2622 # We need awk for the "check" target. The system "awk" is bad on
2624 # Always define AMTAR for backward compatibility.
2626 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2628 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2634 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2635 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2636 # Check whether --enable-maintainer-mode was given.
2637 if test "${enable_maintainer_mode+set}" = set; then
2638 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2640 USE_MAINTAINER_MODE
=no
2643 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2644 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2647 if test $USE_MAINTAINER_MODE = yes; then
2648 MAINTAINER_MODE_TRUE
=
2649 MAINTAINER_MODE_FALSE
='#'
2651 MAINTAINER_MODE_TRUE
='#'
2652 MAINTAINER_MODE_FALSE
=
2655 MAINT
=$MAINTAINER_MODE_TRUE
2662 DEPDIR
="${am__leading_dot}deps"
2664 ac_config_commands
="$ac_config_commands depfiles"
2667 am_make
=${MAKE-make}
2668 cat > confinc
<< 'END'
2673 # If we don't find an include directive, just comment out the code.
2674 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2675 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2679 # First try GNU make style include.
2680 echo "include confinc" > confmf
2681 # We grep out `Entering directory' and `Leaving directory'
2682 # messages which can occur if `w' ends up in MAKEFLAGS.
2683 # In particular we don't look at `^make:' because GNU make might
2684 # be invoked under some other name (usually "gmake"), in which
2685 # case it prints its new name instead of `make'.
2686 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2691 # Now try BSD make style include.
2692 if test "$am__include" = "#"; then
2693 echo '.include "confinc"' > confmf
2694 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2695 am__include
=.include
2702 { echo "$as_me:$LINENO: result: $_am_result" >&5
2703 echo "${ECHO_T}$_am_result" >&6; }
2704 rm -f confinc confmf
2706 # Check whether --enable-dependency-tracking was given.
2707 if test "${enable_dependency_tracking+set}" = set; then
2708 enableval
=$enable_dependency_tracking;
2711 if test "x$enable_dependency_tracking" != xno
; then
2712 am_depcomp
="$ac_aux_dir/depcomp"
2717 if test "x$enable_dependency_tracking" != xno; then
2728 ac_cpp
='$CPP $CPPFLAGS'
2729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2732 if test -n "$ac_tool_prefix"; then
2733 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2734 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2737 if test "${ac_cv_prog_CC+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 if test -n "$CC"; then
2741 ac_cv_prog_CC
="$CC" # Let the user override the test.
2743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2747 test -z "$as_dir" && as_dir
=.
2748 for ac_exec_ext
in '' $ac_executable_extensions; do
2749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2750 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2761 if test -n "$CC"; then
2762 { echo "$as_me:$LINENO: result: $CC" >&5
2763 echo "${ECHO_T}$CC" >&6; }
2765 { echo "$as_me:$LINENO: result: no" >&5
2766 echo "${ECHO_T}no" >&6; }
2771 if test -z "$ac_cv_prog_CC"; then
2773 # Extract the first word of "gcc", so it can be a program name with args.
2774 set dummy gcc
; ac_word
=$2
2775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2777 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2778 echo $ECHO_N "(cached) $ECHO_C" >&6
2780 if test -n "$ac_ct_CC"; then
2781 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir
=.
2788 for ac_exec_ext
in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 ac_cv_prog_ac_ct_CC
="gcc"
2791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2801 if test -n "$ac_ct_CC"; then
2802 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2803 echo "${ECHO_T}$ac_ct_CC" >&6; }
2805 { echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6; }
2809 if test "x$ac_ct_CC" = x
; then
2812 case $cross_compiling:$ac_tool_warned in
2814 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2815 whose name does not start with the host triplet. If you think this
2816 configuration is useful to you, please write to autoconf@gnu.org." >&5
2817 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2818 whose name does not start with the host triplet. If you think this
2819 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2820 ac_tool_warned
=yes ;;
2828 if test -z "$CC"; then
2829 if test -n "$ac_tool_prefix"; then
2830 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2831 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2834 if test "${ac_cv_prog_CC+set}" = set; then
2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 if test -n "$CC"; then
2838 ac_cv_prog_CC
="$CC" # Let the user override the test.
2840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir
=.
2845 for ac_exec_ext
in '' $ac_executable_extensions; do
2846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 if test -n "$CC"; then
2859 { echo "$as_me:$LINENO: result: $CC" >&5
2860 echo "${ECHO_T}$CC" >&6; }
2862 { echo "$as_me:$LINENO: result: no" >&5
2863 echo "${ECHO_T}no" >&6; }
2869 if test -z "$CC"; then
2870 # Extract the first word of "cc", so it can be a program name with args.
2871 set dummy cc
; ac_word
=$2
2872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2874 if test "${ac_cv_prog_CC+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 if test -n "$CC"; then
2878 ac_cv_prog_CC
="$CC" # Let the user override the test.
2881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2888 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2889 ac_prog_rejected
=yes
2893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 if test $ac_prog_rejected = yes; then
2901 # We found a bogon in the path, so make sure we never use it.
2902 set dummy
$ac_cv_prog_CC
2904 if test $# != 0; then
2905 # We chose a different compiler from the bogus one.
2906 # However, it has the same basename, so the bogon will be chosen
2907 # first if we set CC to just the basename; use the full file name.
2909 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2915 if test -n "$CC"; then
2916 { echo "$as_me:$LINENO: result: $CC" >&5
2917 echo "${ECHO_T}$CC" >&6; }
2919 { echo "$as_me:$LINENO: result: no" >&5
2920 echo "${ECHO_T}no" >&6; }
2925 if test -z "$CC"; then
2926 if test -n "$ac_tool_prefix"; then
2927 for ac_prog
in cl.exe
2929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2930 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2933 if test "${ac_cv_prog_CC+set}" = set; then
2934 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 if test -n "$CC"; then
2937 ac_cv_prog_CC
="$CC" # Let the user override the test.
2939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir
=.
2944 for ac_exec_ext
in '' $ac_executable_extensions; do
2945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2946 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 if test -n "$CC"; then
2958 { echo "$as_me:$LINENO: result: $CC" >&5
2959 echo "${ECHO_T}$CC" >&6; }
2961 { echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6; }
2966 test -n "$CC" && break
2969 if test -z "$CC"; then
2971 for ac_prog
in cl.exe
2973 # Extract the first word of "$ac_prog", so it can be a program name with args.
2974 set dummy
$ac_prog; ac_word
=$2
2975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2977 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2978 echo $ECHO_N "(cached) $ECHO_C" >&6
2980 if test -n "$ac_ct_CC"; then
2981 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir
=.
2988 for ac_exec_ext
in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_ac_ct_CC
="$ac_prog"
2991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3001 if test -n "$ac_ct_CC"; then
3002 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3003 echo "${ECHO_T}$ac_ct_CC" >&6; }
3005 { echo "$as_me:$LINENO: result: no" >&5
3006 echo "${ECHO_T}no" >&6; }
3010 test -n "$ac_ct_CC" && break
3013 if test "x$ac_ct_CC" = x
; then
3016 case $cross_compiling:$ac_tool_warned in
3018 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3019 whose name does not start with the host triplet. If you think this
3020 configuration is useful to you, please write to autoconf@gnu.org." >&5
3021 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3022 whose name does not start with the host triplet. If you think this
3023 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3024 ac_tool_warned
=yes ;;
3033 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3034 See \`config.log' for more details." >&5
3035 echo "$as_me: error: no acceptable C compiler found in \$PATH
3036 See \`config.log' for more details." >&2;}
3037 { (exit 1); exit 1; }; }
3039 # Provide some information about the compiler.
3040 echo "$as_me:$LINENO: checking for C compiler version" >&5
3041 ac_compiler
=`set X $ac_compile; echo $2`
3042 { (ac_try
="$ac_compiler --version >&5"
3044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3045 *) ac_try_echo=$ac_try;;
3047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3048 (eval "$ac_compiler --version >&5") 2>&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); }
3052 { (ac_try="$ac_compiler -v >&5"
3054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3055 *) ac_try_echo
=$ac_try;;
3057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3058 (eval "$ac_compiler -v >&5") 2>&5
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); }
3062 { (ac_try
="$ac_compiler -V >&5"
3064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3068 (eval "$ac_compiler -V >&5") 2>&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }
3073 cat >conftest.$ac_ext <<_ACEOF
3076 cat confdefs.h >>conftest.$ac_ext
3077 cat >>conftest.$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3088 ac_clean_files_save=$ac_clean_files
3089 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3090 # Try to create an executable without -o first, disregard a.out.
3091 # It will help us diagnose broken compilers, and finding out an intuition
3093 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3094 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3095 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3097 # List of possible output files, starting from the most likely.
3098 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3099 # only as a last resort. b.out is created by i960 compilers.
3100 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3102 # The IRIX 6 linker writes into existing files which may not be
3103 # executable, retaining their permissions. Remove them first so a
3104 # subsequent execution test works.
3106 for ac_file in $ac_files
3109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3110 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3115 if { (ac_try="$ac_link_default"
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3121 (eval "$ac_link_default") 2>&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); }; then
3125 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3126 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3127 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3128 # so that the user can short-circuit this test for compilers unknown to
3130 for ac_file
in $ac_files ''
3132 test -f "$ac_file" ||
continue
3134 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3137 # We found the default executable, but exeext='' is most
3141 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3143 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3145 # We set ac_cv_exeext here because the later test for it is not
3146 # safe: cross compilers may not add the suffix if given an `-o'
3147 # argument, so we may need to know it at that point already.
3148 # Even if this section looks crufty: it has the advantage of
3155 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3161 { echo "$as_me:$LINENO: result: $ac_file" >&5
3162 echo "${ECHO_T}$ac_file" >&6; }
3163 if test -z "$ac_file"; then
3164 echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.
$ac_ext >&5
3167 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3168 See \`config.log' for more details." >&5
3169 echo "$as_me: error: C compiler cannot create executables
3170 See \`config.log' for more details." >&2;}
3171 { (exit 77); exit 77; }; }
3174 ac_exeext
=$ac_cv_exeext
3176 # Check that the compiler produces executables we can run. If not, either
3177 # the compiler is broken, or we cross compile.
3178 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3179 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3180 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3181 # If not cross compiling, check that we can run a simple program.
3182 if test "$cross_compiling" != yes; then
3183 if { ac_try
='./$ac_file'
3184 { (case "(($ac_try" in
3185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3189 (eval "$ac_try") 2>&5
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); }; }; then
3195 if test "$cross_compiling" = maybe; then
3198 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3199 If you meant to cross compile, use \`--host'.
3200 See \`config.log' for more details.
" >&5
3201 echo "$as_me: error
: cannot run C compiled programs.
3202 If you meant to cross compile
, use \
`--host'.
3203 See \`config.log
' for more details." >&2;}
3204 { (exit 1); exit 1; }; }
3208 { echo "$as_me:$LINENO: result: yes" >&5
3209 echo "${ECHO_T}yes" >&6; }
3211 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3212 ac_clean_files=$ac_clean_files_save
3213 # Check that the compiler produces executables we can run. If not, either
3214 # the compiler is broken, or we cross compile.
3215 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3216 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3217 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3218 echo "${ECHO_T}$cross_compiling" >&6; }
3220 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3221 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3222 if { (ac_try="$ac_link"
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3228 (eval "$ac_link") 2>&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); }; then
3232 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3233 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3234 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3236 for ac_file
in conftest.exe conftest conftest.
*; do
3237 test -f "$ac_file" ||
continue
3239 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3240 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3246 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3247 See \`config.log' for more details." >&5
3248 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3249 See \`config.log' for more details." >&2;}
3250 { (exit 1); exit 1; }; }
3253 rm -f conftest
$ac_cv_exeext
3254 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3255 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3257 rm -f conftest.
$ac_ext
3258 EXEEXT
=$ac_cv_exeext
3260 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3261 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3262 if test "${ac_cv_objext+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 cat >conftest.
$ac_ext <<_ACEOF
3268 cat confdefs.h
>>conftest.
$ac_ext
3269 cat >>conftest.
$ac_ext <<_ACEOF
3270 /* end confdefs.h. */
3280 rm -f conftest.o conftest.obj
3281 if { (ac_try
="$ac_compile"
3283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3284 *) ac_try_echo=$ac_try;;
3286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3287 (eval "$ac_compile") 2>&5
3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); }; then
3291 for ac_file in conftest.o conftest.obj conftest.*; do
3292 test -f "$ac_file" || continue;
3294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3295 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3300 echo "$as_me: failed program was:" >&5
3301 sed 's/^/| /' conftest.$ac_ext >&5
3303 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3304 See \`config.log
' for more details." >&5
3305 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3306 See \`config.log' for more details.
" >&2;}
3307 { (exit 1); exit 1; }; }
3310 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3312 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3313 echo "${ECHO_T}$ac_cv_objext" >&6; }
3314 OBJEXT=$ac_cv_objext
3316 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3317 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3318 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3319 echo $ECHO_N "(cached
) $ECHO_C" >&6
3321 cat >conftest.$ac_ext <<_ACEOF
3324 cat confdefs.h >>conftest.$ac_ext
3325 cat >>conftest.$ac_ext <<_ACEOF
3326 /* end confdefs.h. */
3339 rm -f conftest.$ac_objext
3340 if { (ac_try="$ac_compile"
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3346 (eval "$ac_compile") 2>conftest.er1
3348 grep -v '^ *+' conftest.er1 >conftest.err
3350 cat conftest.err >&5
3351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3352 (exit $ac_status); } && {
3353 test -z "$ac_c_werror_flag" ||
3354 test ! -s conftest.err
3355 } && test -s conftest.$ac_objext; then
3358 echo "$as_me: failed program was
:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3368 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3369 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3370 GCC=`test $ac_compiler_gnu = yes && echo yes`
3371 ac_test_CFLAGS=${CFLAGS+set}
3372 ac_save_CFLAGS=$CFLAGS
3373 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3374 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3375 if test "${ac_cv_prog_cc_g+set}" = set; then
3376 echo $ECHO_N "(cached
) $ECHO_C" >&6
3378 ac_save_c_werror_flag=$ac_c_werror_flag
3379 ac_c_werror_flag=yes
3382 cat >conftest.$ac_ext <<_ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3397 rm -f conftest.$ac_objext
3398 if { (ac_try="$ac_compile"
3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401 *) ac_try_echo=$ac_try;;
3403 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3404 (eval "$ac_compile") 2>conftest.er1
3406 grep -v '^ *+' conftest.er1 >conftest.err
3408 cat conftest.err >&5
3409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3410 (exit $ac_status); } && {
3411 test -z "$ac_c_werror_flag" ||
3412 test ! -s conftest.err
3413 } && test -s conftest.$ac_objext; then
3416 echo "$as_me: failed program was
:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3420 cat >conftest.$ac_ext <<_ACEOF
3423 cat confdefs.h >>conftest.$ac_ext
3424 cat >>conftest.$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3442 (eval "$ac_compile") 2>conftest.er1
3444 grep -v '^ *+' conftest.er1 >conftest.err
3446 cat conftest.err >&5
3447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3448 (exit $ac_status); } && {
3449 test -z "$ac_c_werror_flag" ||
3450 test ! -s conftest.err
3451 } && test -s conftest.$ac_objext; then
3454 echo "$as_me: failed program was
:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3457 ac_c_werror_flag=$ac_save_c_werror_flag
3459 cat >conftest.$ac_ext <<_ACEOF
3462 cat confdefs.h >>conftest.$ac_ext
3463 cat >>conftest.$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3474 rm -f conftest.$ac_objext
3475 if { (ac_try="$ac_compile"
3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3481 (eval "$ac_compile") 2>conftest.er1
3483 grep -v '^ *+' conftest.er1 >conftest.err
3485 cat conftest.err >&5
3486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3487 (exit $ac_status); } && {
3488 test -z "$ac_c_werror_flag" ||
3489 test ! -s conftest.err
3490 } && test -s conftest.$ac_objext; then
3493 echo "$as_me: failed program was
:" >&5
3494 sed 's/^/| /' conftest.$ac_ext >&5
3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3506 ac_c_werror_flag=$ac_save_c_werror_flag
3508 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3509 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3510 if test "$ac_test_CFLAGS" = set; then
3511 CFLAGS=$ac_save_CFLAGS
3512 elif test $ac_cv_prog_cc_g = yes; then
3513 if test "$GCC" = yes; then
3519 if test "$GCC" = yes; then
3525 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3526 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3527 if test "${ac_cv_prog_cc_c89+set}" = set; then
3528 echo $ECHO_N "(cached
) $ECHO_C" >&6
3530 ac_cv_prog_cc_c89=no
3532 cat >conftest.$ac_ext <<_ACEOF
3535 cat confdefs.h >>conftest.$ac_ext
3536 cat >>conftest.$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3540 #include <sys/types.h>
3541 #include <sys/stat.h>
3542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3543 struct buf { int x; };
3544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3545 static char *e (p, i)
3551 static char *f (char * (*g) (char **, int), char **p, ...)
3556 s = g (p, va_arg (v,int));
3561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3562 function prototypes and stuff, but not '\xHH' hex character constants.
3563 These don't provoke an error unfortunately, instead are silently treated
3564 as 'x'. The following induces an error, until -std is added to get
3565 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3566 array size at least. It's necessary to write '\x00'==0 to get something
3567 that's true only with -std. */
3568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3570 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3571 inside strings and character constants. */
3573 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3575 int test (int i, double x);
3576 struct s1 {int (*f) (int a);};
3577 struct s2 {int (*f) (double a);};
3578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3584 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3589 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3590 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3592 CC="$ac_save_CC $ac_arg"
3593 rm -f conftest.$ac_objext
3594 if { (ac_try="$ac_compile"
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_compile") 2>conftest.er1
3602 grep -v '^ *+' conftest.er1 >conftest.err
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3606 (exit $ac_status); } && {
3607 test -z "$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3609 } && test -s conftest.$ac_objext; then
3610 ac_cv_prog_cc_c89=$ac_arg
3612 echo "$as_me: failed program was
:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3618 rm -f core conftest.err conftest.$ac_objext
3619 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3621 rm -f conftest.$ac_ext
3626 case "x
$ac_cv_prog_cc_c89" in
3628 { echo "$as_me:$LINENO: result
: none needed
" >&5
3629 echo "${ECHO_T}none needed
" >&6; } ;;
3631 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3632 echo "${ECHO_T}unsupported
" >&6; } ;;
3634 CC="$CC $ac_cv_prog_cc_c89"
3635 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3636 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3641 ac_cpp='$CPP $CPPFLAGS'
3642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3646 depcc="$CC" am_compiler_list=
3648 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3649 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3650 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3651 echo $ECHO_N "(cached
) $ECHO_C" >&6
3653 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3654 # We make a subdir and do the tests there. Otherwise we can end up
3655 # making bogus files that we don't know about and never remove. For
3656 # instance it was reported that on HP-UX the gcc test will end up
3657 # making a dummy file named `D' -- because `-MD' means `put the output
3660 # Copy depcomp to subdir because otherwise we won't find it if we're
3661 # using a relative directory.
3662 cp "$am_depcomp" conftest.dir
3664 # We will build objects and dependencies in a subdirectory because
3665 # it helps to detect inapplicable dependency modes. For instance
3666 # both Tru64's cc and ICC support -MD to output dependencies as a
3667 # side effect of compilation, but ICC will put the dependencies in
3668 # the current directory while Tru64 will put them in the object
3672 am_cv_CC_dependencies_compiler_type=none
3673 if test "$am_compiler_list" = ""; then
3674 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3676 for depmode in $am_compiler_list; do
3677 # Setup a source with many dependencies, because some compilers
3678 # like to wrap large dependency lists on column 80 (with \), and
3679 # we should not choose a depcomp mode which is confused by this.
3681 # We need to recreate these files for each test, as the compiler may
3682 # overwrite some of them when testing with obscure command lines.
3683 # This happens at least with the AIX C compiler.
3685 for i in 1 2 3 4 5 6; do
3686 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3687 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3688 # Solaris 8's {/usr,}/bin/sh.
3689 touch sub/conftst$i.h
3691 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3695 # after this tag, mechanisms are not by side-effect, so they'll
3696 # only be used when explicitly requested
3697 if test "x
$enable_dependency_tracking" = xyes; then
3705 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3706 # mode. It turns out that the SunPro C++ compiler does not properly
3707 # handle `-M -o', and we need to detect this.
3708 if depmode=$depmode \
3709 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3710 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3711 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3712 >/dev/null 2>conftest.err &&
3713 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3714 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3715 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3716 # icc doesn't choke on unknown options, it will just issue warnings
3717 # or remarks (even with -Werror). So we grep stderr for any message
3718 # that says an option was ignored or not supported.
3719 # When given -MP, icc 7.0 and 7.1 complain thusly:
3720 # icc: Command line warning: ignoring option '-M'; no argument required
3721 # The diagnosis changed in icc 8.0:
3722 # icc: Command line remark: option '-MP' not supported
3723 if (grep 'ignoring option' conftest.err ||
3724 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3725 am_cv_CC_dependencies_compiler_type=$depmode
3734 am_cv_CC_dependencies_compiler_type=none
3738 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3739 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3740 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3745 test "x
$enable_dependency_tracking" != xno \
3746 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3748 am__fastdepCC_FALSE='#'
3750 am__fastdepCC_TRUE='#'
3751 am__fastdepCC_FALSE=
3755 if test "x
$CC" != xcc; then
3756 { echo "$as_me:$LINENO: checking whether
$CC and cc understand
-c and
-o together
" >&5
3757 echo $ECHO_N "checking whether
$CC and cc understand
-c and
-o together...
$ECHO_C" >&6; }
3759 { echo "$as_me:$LINENO: checking whether cc understands
-c and
-o together
" >&5
3760 echo $ECHO_N "checking whether cc understands
-c and
-o together...
$ECHO_C" >&6; }
3762 set dummy $CC; ac_cc=`echo $2 |
3763 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3764 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3765 echo $ECHO_N "(cached
) $ECHO_C" >&6
3767 cat >conftest.$ac_ext <<_ACEOF
3770 cat confdefs.h >>conftest.$ac_ext
3771 cat >>conftest.$ac_ext <<_ACEOF
3772 /* end confdefs.h. */
3782 # Make sure it works both with $CC and with simple cc.
3783 # We do the test twice because some compilers refuse to overwrite an
3784 # existing .o file with -o, though they will create one.
3785 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3787 if { (case "(($ac_try" in
3788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3789 *) ac_try_echo=$ac_try;;
3791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3792 (eval "$ac_try") 2>&5
3794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3795 (exit $ac_status); } &&
3796 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3800 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3801 (eval "$ac_try") 2>&5
3803 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3804 (exit $ac_status); };
3806 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3807 if test "x
$CC" != xcc; then
3808 # Test first that cc exists at all.
3809 if { ac_try='cc -c conftest.$ac_ext >&5'
3810 { (case "(($ac_try" in
3811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812 *) ac_try_echo=$ac_try;;
3814 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3815 (eval "$ac_try") 2>&5
3817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3818 (exit $ac_status); }; }; then
3819 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3821 if { (case "(($ac_try" in
3822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823 *) ac_try_echo=$ac_try;;
3825 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3826 (eval "$ac_try") 2>&5
3828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3829 (exit $ac_status); } &&
3830 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3834 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3835 (eval "$ac_try") 2>&5
3837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3838 (exit $ac_status); };
3843 # cc exists but doesn't like -o.
3844 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3849 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3851 rm -f core conftest*
3854 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3855 { echo "$as_me:$LINENO: result
: yes" >&5
3856 echo "${ECHO_T}yes" >&6; }
3858 { echo "$as_me:$LINENO: result
: no
" >&5
3859 echo "${ECHO_T}no
" >&6; }
3861 cat >>confdefs.h <<\_ACEOF
3862 #define NO_MINUS_C_MINUS_O 1
3867 # FIXME: we rely on the cache variable name because
3868 # there is no other way.
3870 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3871 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3872 # Losing compiler, so override with the script.
3873 # FIXME: It is wrong to rewrite CC.
3874 # But if we don't then we get into trouble of one sort or another.
3875 # A longer-term fix would be to have automake use am__CC in this case,
3876 # and then we could set am__CC="\$
(top_srcdir
)/compile \$
(CC
)"
3877 CC="$am_aux_dir/compile
$CC"
3881 ac_cpp='$CXXCPP $CPPFLAGS'
3882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3885 if test -z "$CXX"; then
3886 if test -n "$CCC"; then
3889 if test -n "$ac_tool_prefix"; then
3890 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3892 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3893 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3894 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3895 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3896 if test "${ac_cv_prog_CXX+set}" = set; then
3897 echo $ECHO_N "(cached
) $ECHO_C" >&6
3899 if test -n "$CXX"; then
3900 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3906 test -z "$as_dir" && as_dir=.
3907 for ac_exec_ext in '' $ac_executable_extensions; do
3908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3909 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3910 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3920 if test -n "$CXX"; then
3921 { echo "$as_me:$LINENO: result
: $CXX" >&5
3922 echo "${ECHO_T}$CXX" >&6; }
3924 { echo "$as_me:$LINENO: result
: no
" >&5
3925 echo "${ECHO_T}no
" >&6; }
3929 test -n "$CXX" && break
3932 if test -z "$CXX"; then
3934 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3936 # Extract the first word of "$ac_prog", so it can be a program name with args.
3937 set dummy $ac_prog; ac_word=$2
3938 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3939 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3940 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3941 echo $ECHO_N "(cached
) $ECHO_C" >&6
3943 if test -n "$ac_ct_CXX"; then
3944 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 test -z "$as_dir" && as_dir=.
3951 for ac_exec_ext in '' $ac_executable_extensions; do
3952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3953 ac_cv_prog_ac_ct_CXX="$ac_prog"
3954 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3963 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3964 if test -n "$ac_ct_CXX"; then
3965 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3966 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3968 { echo "$as_me:$LINENO: result
: no
" >&5
3969 echo "${ECHO_T}no
" >&6; }
3973 test -n "$ac_ct_CXX" && break
3976 if test "x
$ac_ct_CXX" = x; then
3979 case $cross_compiling:$ac_tool_warned in
3981 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3982 whose name does not start with the
host triplet. If you think this
3983 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3984 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3985 whose name does not start with the
host triplet. If you think this
3986 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3987 ac_tool_warned=yes ;;
3995 # Provide some information about the compiler.
3996 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3997 ac_compiler=`set X $ac_compile; echo $2`
3998 { (ac_try="$ac_compiler --version >&5"
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4003 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4004 (eval "$ac_compiler --version >&5") 2>&5
4006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4007 (exit $ac_status); }
4008 { (ac_try="$ac_compiler -v >&5"
4010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011 *) ac_try_echo=$ac_try;;
4013 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4014 (eval "$ac_compiler -v >&5") 2>&5
4016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4017 (exit $ac_status); }
4018 { (ac_try="$ac_compiler -V >&5"
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4023 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4024 (eval "$ac_compiler -V >&5") 2>&5
4026 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4027 (exit $ac_status); }
4029 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
4030 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
4031 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4032 echo $ECHO_N "(cached
) $ECHO_C" >&6
4034 cat >conftest.$ac_ext <<_ACEOF
4037 cat confdefs.h >>conftest.$ac_ext
4038 cat >>conftest.$ac_ext <<_ACEOF
4039 /* end confdefs.h. */
4052 rm -f conftest.$ac_objext
4053 if { (ac_try="$ac_compile"
4055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4058 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4059 (eval "$ac_compile") 2>conftest.er1
4061 grep -v '^ *+' conftest.er1 >conftest.err
4063 cat conftest.err >&5
4064 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4065 (exit $ac_status); } && {
4066 test -z "$ac_cxx_werror_flag" ||
4067 test ! -s conftest.err
4068 } && test -s conftest.$ac_objext; then
4071 echo "$as_me: failed program was
:" >&5
4072 sed 's/^/| /' conftest.$ac_ext >&5
4077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4078 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4081 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
4082 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4083 GXX=`test $ac_compiler_gnu = yes && echo yes`
4084 ac_test_CXXFLAGS=${CXXFLAGS+set}
4085 ac_save_CXXFLAGS=$CXXFLAGS
4086 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
4087 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
4088 if test "${ac_cv_prog_cxx_g+set}" = set; then
4089 echo $ECHO_N "(cached
) $ECHO_C" >&6
4091 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4092 ac_cxx_werror_flag=yes
4095 cat >conftest.$ac_ext <<_ACEOF
4098 cat confdefs.h >>conftest.$ac_ext
4099 cat >>conftest.$ac_ext <<_ACEOF
4100 /* end confdefs.h. */
4110 rm -f conftest.$ac_objext
4111 if { (ac_try="$ac_compile"
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4116 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4117 (eval "$ac_compile") 2>conftest.er1
4119 grep -v '^ *+' conftest.er1 >conftest.err
4121 cat conftest.err >&5
4122 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4123 (exit $ac_status); } && {
4124 test -z "$ac_cxx_werror_flag" ||
4125 test ! -s conftest.err
4126 } && test -s conftest.$ac_objext; then
4127 ac_cv_prog_cxx_g=yes
4129 echo "$as_me: failed program was
:" >&5
4130 sed 's/^/| /' conftest.$ac_ext >&5
4133 cat >conftest.$ac_ext <<_ACEOF
4136 cat confdefs.h >>conftest.$ac_ext
4137 cat >>conftest.$ac_ext <<_ACEOF
4138 /* end confdefs.h. */
4148 rm -f conftest.$ac_objext
4149 if { (ac_try="$ac_compile"
4151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152 *) ac_try_echo=$ac_try;;
4154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4155 (eval "$ac_compile") 2>conftest.er1
4157 grep -v '^ *+' conftest.er1 >conftest.err
4159 cat conftest.err >&5
4160 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4161 (exit $ac_status); } && {
4162 test -z "$ac_cxx_werror_flag" ||
4163 test ! -s conftest.err
4164 } && test -s conftest.$ac_objext; then
4167 echo "$as_me: failed program was
:" >&5
4168 sed 's/^/| /' conftest.$ac_ext >&5
4170 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4172 cat >conftest.$ac_ext <<_ACEOF
4175 cat confdefs.h >>conftest.$ac_ext
4176 cat >>conftest.$ac_ext <<_ACEOF
4177 /* end confdefs.h. */
4187 rm -f conftest.$ac_objext
4188 if { (ac_try="$ac_compile"
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4193 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4194 (eval "$ac_compile") 2>conftest.er1
4196 grep -v '^ *+' conftest.er1 >conftest.err
4198 cat conftest.err >&5
4199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4200 (exit $ac_status); } && {
4201 test -z "$ac_cxx_werror_flag" ||
4202 test ! -s conftest.err
4203 } && test -s conftest.$ac_objext; then
4204 ac_cv_prog_cxx_g=yes
4206 echo "$as_me: failed program was
:" >&5
4207 sed 's/^/| /' conftest.$ac_ext >&5
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4221 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
4222 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4223 if test "$ac_test_CXXFLAGS" = set; then
4224 CXXFLAGS=$ac_save_CXXFLAGS
4225 elif test $ac_cv_prog_cxx_g = yes; then
4226 if test "$GXX" = yes; then
4232 if test "$GXX" = yes; then
4239 ac_cpp='$CPP $CPPFLAGS'
4240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4244 depcc="$CXX" am_compiler_list=
4246 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
4247 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
4248 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4249 echo $ECHO_N "(cached
) $ECHO_C" >&6
4251 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4252 # We make a subdir and do the tests there. Otherwise we can end up
4253 # making bogus files that we don't know about and never remove. For
4254 # instance it was reported that on HP-UX the gcc test will end up
4255 # making a dummy file named `D' -- because `-MD' means `put the output
4258 # Copy depcomp to subdir because otherwise we won't find it if we're
4259 # using a relative directory.
4260 cp "$am_depcomp" conftest.dir
4262 # We will build objects and dependencies in a subdirectory because
4263 # it helps to detect inapplicable dependency modes. For instance
4264 # both Tru64's cc and ICC support -MD to output dependencies as a
4265 # side effect of compilation, but ICC will put the dependencies in
4266 # the current directory while Tru64 will put them in the object
4270 am_cv_CXX_dependencies_compiler_type=none
4271 if test "$am_compiler_list" = ""; then
4272 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4274 for depmode in $am_compiler_list; do
4275 # Setup a source with many dependencies, because some compilers
4276 # like to wrap large dependency lists on column 80 (with \), and
4277 # we should not choose a depcomp mode which is confused by this.
4279 # We need to recreate these files for each test, as the compiler may
4280 # overwrite some of them when testing with obscure command lines.
4281 # This happens at least with the AIX C compiler.
4283 for i in 1 2 3 4 5 6; do
4284 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
4285 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4286 # Solaris 8's {/usr,}/bin/sh.
4287 touch sub/conftst$i.h
4289 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4293 # after this tag, mechanisms are not by side-effect, so they'll
4294 # only be used when explicitly requested
4295 if test "x
$enable_dependency_tracking" = xyes; then
4303 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
4304 # mode. It turns out that the SunPro C++ compiler does not properly
4305 # handle `-M -o', and we need to detect this.
4306 if depmode=$depmode \
4307 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4308 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4309 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4310 >/dev/null 2>conftest.err &&
4311 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4312 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4313 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4314 # icc doesn't choke on unknown options, it will just issue warnings
4315 # or remarks (even with -Werror). So we grep stderr for any message
4316 # that says an option was ignored or not supported.
4317 # When given -MP, icc 7.0 and 7.1 complain thusly:
4318 # icc: Command line warning: ignoring option '-M'; no argument required
4319 # The diagnosis changed in icc 8.0:
4320 # icc: Command line remark: option '-MP' not supported
4321 if (grep 'ignoring option' conftest.err ||
4322 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4323 am_cv_CXX_dependencies_compiler_type=$depmode
4332 am_cv_CXX_dependencies_compiler_type=none
4336 { echo "$as_me:$LINENO: result
: $am_cv_CXX_dependencies_compiler_type" >&5
4337 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4338 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4343 test "x
$enable_dependency_tracking" != xno \
4344 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4345 am__fastdepCXX_TRUE=
4346 am__fastdepCXX_FALSE='#'
4348 am__fastdepCXX_TRUE='#'
4349 am__fastdepCXX_FALSE=
4354 # By default we simply use the C compiler to build assembly code.
4356 test "${CCAS+set}" = set || CCAS=$CC
4357 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4361 ## FIXME: really needed? (AC_LIBTOOL already provides this)
4362 if test -n "$ac_tool_prefix"; then
4363 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4364 set dummy ${ac_tool_prefix}ar; ac_word=$2
4365 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4366 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4367 if test "${ac_cv_prog_AR+set}" = set; then
4368 echo $ECHO_N "(cached
) $ECHO_C" >&6
4370 if test -n "$AR"; then
4371 ac_cv_prog_AR="$AR" # Let the user override the test.
4373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir=.
4378 for ac_exec_ext in '' $ac_executable_extensions; do
4379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4380 ac_cv_prog_AR="${ac_tool_prefix}ar"
4381 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4391 if test -n "$AR"; then
4392 { echo "$as_me:$LINENO: result
: $AR" >&5
4393 echo "${ECHO_T}$AR" >&6; }
4395 { echo "$as_me:$LINENO: result
: no
" >&5
4396 echo "${ECHO_T}no
" >&6; }
4401 if test -z "$ac_cv_prog_AR"; then
4403 # Extract the first word of "ar", so it can be a program name with args.
4404 set dummy ar; ac_word=$2
4405 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4406 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4407 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4408 echo $ECHO_N "(cached
) $ECHO_C" >&6
4410 if test -n "$ac_ct_AR"; then
4411 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4417 test -z "$as_dir" && as_dir=.
4418 for ac_exec_ext in '' $ac_executable_extensions; do
4419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4420 ac_cv_prog_ac_ct_AR="ar"
4421 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4430 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4431 if test -n "$ac_ct_AR"; then
4432 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4433 echo "${ECHO_T}$ac_ct_AR" >&6; }
4435 { echo "$as_me:$LINENO: result
: no
" >&5
4436 echo "${ECHO_T}no
" >&6; }
4439 if test "x
$ac_ct_AR" = x; then
4442 case $cross_compiling:$ac_tool_warned in
4444 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4445 whose name does not start with the
host triplet. If you think this
4446 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4447 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4448 whose name does not start with the
host triplet. If you think this
4449 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4450 ac_tool_warned=yes ;;
4458 if test -n "$ac_tool_prefix"; then
4459 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
4460 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4461 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4462 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4463 if test "${ac_cv_prog_RANLIB+set}" = set; then
4464 echo $ECHO_N "(cached
) $ECHO_C" >&6
4466 if test -n "$RANLIB"; then
4467 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 test -z "$as_dir" && as_dir=.
4474 for ac_exec_ext in '' $ac_executable_extensions; do
4475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4476 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
4477 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4486 RANLIB=$ac_cv_prog_RANLIB
4487 if test -n "$RANLIB"; then
4488 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
4489 echo "${ECHO_T}$RANLIB" >&6; }
4491 { echo "$as_me:$LINENO: result
: no
" >&5
4492 echo "${ECHO_T}no
" >&6; }
4497 if test -z "$ac_cv_prog_RANLIB"; then
4498 ac_ct_RANLIB=$RANLIB
4499 # Extract the first word of "ranlib
", so it can be a program name with args.
4500 set dummy ranlib; ac_word=$2
4501 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4502 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4503 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4504 echo $ECHO_N "(cached
) $ECHO_C" >&6
4506 if test -n "$ac_ct_RANLIB"; then
4507 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir=.
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4516 ac_cv_prog_ac_ct_RANLIB="ranlib
"
4517 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4526 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4527 if test -n "$ac_ct_RANLIB"; then
4528 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
4529 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4531 { echo "$as_me:$LINENO: result
: no
" >&5
4532 echo "${ECHO_T}no
" >&6; }
4535 if test "x
$ac_ct_RANLIB" = x; then
4538 case $cross_compiling:$ac_tool_warned in
4540 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4541 whose name does not start with the
host triplet. If you think this
4542 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4543 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4544 whose name does not start with the
host triplet. If you think this
4545 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4546 ac_tool_warned=yes ;;
4548 RANLIB=$ac_ct_RANLIB
4551 RANLIB="$ac_cv_prog_RANLIB"
4555 # Find a good install program. We prefer a C program (faster),
4556 # so one script is as good as another. But avoid the broken or
4557 # incompatible versions:
4558 # SysV /etc/install, /usr/sbin/install
4559 # SunOS /usr/etc/install
4560 # IRIX /sbin/install
4562 # AmigaOS /C/install, which installs bootblocks on floppy discs
4563 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4564 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4565 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
4566 # OS/2's system install, which has a completely different semantic
4567 # ./install, which can be erroneously created by make from ./install.sh.
4568 { echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
4569 echo $ECHO_N "checking
for a BSD-compatible
install...
$ECHO_C" >&6; }
4570 if test -z "$INSTALL"; then
4571 if test "${ac_cv_path_install+set}" = set; then
4572 echo $ECHO_N "(cached
) $ECHO_C" >&6
4574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir=.
4579 # Account for people who put trailing slashes in PATH elements.
4581 ./ | .// | /cC/* | \
4582 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4583 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4586 # OSF1 and SCO ODT 3.0 have their own names for install.
4587 # Don't use installbsd from OSF since it installs stuff as root
4589 for ac_prog in ginstall scoinst install; do
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4592 if test $ac_prog = install &&
4593 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4594 # AIX install. It has an incompatible calling convention.
4596 elif test $ac_prog = install &&
4597 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4598 # program-specific install script used by HP pwplus--don't use.
4601 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4614 if test "${ac_cv_path_install+set}" = set; then
4615 INSTALL=$ac_cv_path_install
4617 # As a last resort, use the slow shell script. Don't cache a
4618 # value for INSTALL within a source directory, because that will
4619 # break other packages using the cache if that directory is
4620 # removed, or if the value is a relative name.
4621 INSTALL=$ac_install_sh
4624 { echo "$as_me:$LINENO: result
: $INSTALL" >&5
4625 echo "${ECHO_T}$INSTALL" >&6; }
4627 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4628 # It thinks the first close brace ends the variable substitution.
4629 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4631 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4633 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4636 . ${srcdir}/configure.host
4638 GC_CFLAGS=${gc_cflags}
4641 # Check whether --enable-threads was given.
4642 if test "${enable_threads+set}" = set; then
4643 enableval=$enable_threads; THREADS=$enableval
4645 { echo "$as_me:$LINENO: checking
for thread model used by GCC
" >&5
4646 echo $ECHO_N "checking
for thread model used by GCC...
$ECHO_C" >&6; }
4647 THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4648 if test -z "$THREADS"; then
4651 { echo "$as_me:$LINENO: result
: $THREADS" >&5
4652 echo "${ECHO_T}$THREADS" >&6; }
4656 # Check whether --enable-parallel-mark was given.
4657 if test "${enable_parallel_mark+set}" = set; then
4658 enableval=$enable_parallel_mark; case "$THREADS" in
4660 { { echo "$as_me:$LINENO: error
: Parallel mark requires
--enable-threads=x spec
" >&5
4661 echo "$as_me: error
: Parallel mark requires
--enable-threads=x spec
" >&2;}
4662 { (exit 1); exit 1; }; }
4669 # Check whether --enable-cplusplus was given.
4670 if test "${enable_cplusplus+set}" = set; then
4671 enableval=$enable_cplusplus;
4675 INCLUDES=-I${srcdir}/include
4677 need_atomic_ops_asm=false
4678 ## Libraries needed to support dynamic loading and/or threads.
4685 THREADDLLIBS=-lpthread
4687 x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | alpha-*-linux*)
4688 cat >>confdefs.h <<\_ACEOF
4689 #define GC_LINUX_THREADS 1
4692 cat >>confdefs.h <<\_ACEOF
4693 #define _REENTRANT 1
4696 if test "${enable_parallel_mark}" = yes; then
4697 cat >>confdefs.h <<\_ACEOF
4698 #define PARALLEL_MARK 1
4702 cat >>confdefs.h <<\_ACEOF
4703 #define THREAD_LOCAL_ALLOC 1
4706 { echo "$as_me:$LINENO: WARNING
: \"Explict GC_INIT
() calls may be required.
\"" >&5
4707 echo "$as_me: WARNING
: \"Explict GC_INIT
() calls may be required.
\"" >&2;};
4710 cat >>confdefs.h <<\_ACEOF
4711 #define GC_LINUX_THREADS 1
4714 cat >>confdefs.h <<\_ACEOF
4715 #define _REENTRANT 1
4720 cat >>confdefs.h <<\_ACEOF
4721 #define GC_AIX_THREADS 1
4724 cat >>confdefs.h <<\_ACEOF
4725 #define _REENTRANT 1
4730 { echo "$as_me:$LINENO: WARNING
: \"Only HP
/UX
11 POSIX threads are supported.
\"" >&5
4731 echo "$as_me: WARNING
: \"Only HP
/UX
11 POSIX threads are supported.
\"" >&2;}
4732 cat >>confdefs.h <<\_ACEOF
4733 #define GC_HPUX_THREADS 1
4736 cat >>confdefs.h <<\_ACEOF
4737 #define _POSIX_C_SOURCE 199506L
4740 if test "${enable_parallel_mark}" = yes; then
4741 cat >>confdefs.h <<\_ACEOF
4742 #define PARALLEL_MARK 1
4746 cat >>confdefs.h <<\_ACEOF
4747 #define THREAD_LOCAL_ALLOC 1
4750 { echo "$as_me:$LINENO: WARNING
: \"Explict GC_INIT
() calls may be required.
\"" >&5
4751 echo "$as_me: WARNING
: \"Explict GC_INIT
() calls may be required.
\"" >&2;};
4752 THREADDLLIBS="-lpthread -lrt"
4753 # HPUX needs REENTRANT for the _r calls.
4755 cat >>confdefs.h <<\_ACEOF
4756 #define _REENTRANT 1
4761 { echo "$as_me:$LINENO: WARNING
: \"Only HP-UX
11 POSIX threads are supported.
\"" >&5
4762 echo "$as_me: WARNING
: \"Only HP-UX
11 POSIX threads are supported.
\"" >&2;}
4765 { echo "$as_me:$LINENO: WARNING
: \"FreeBSD does not yet fully support threads with Boehm GC.
\"" >&5
4766 echo "$as_me: WARNING
: \"FreeBSD does not yet fully support threads with Boehm GC.
\"" >&2;}
4767 cat >>confdefs.h <<\_ACEOF
4768 #define GC_FREEBSD_THREADS 1
4771 INCLUDES="$INCLUDES -pthread"
4774 cat >>confdefs.h <<\_ACEOF
4775 #define GC_FREEBSD_THREADS 1
4778 INCLUDES="$INCLUDES -pthread"
4779 THREADDLLIBS=-pthread
4780 cat >>confdefs.h <<\_ACEOF
4781 #define _REENTRANT 1
4784 if test "${enable_parallel_mark}" = yes; then
4785 cat >>confdefs.h <<\_ACEOF
4786 #define PARALLEL_MARK 1
4790 cat >>confdefs.h <<\_ACEOF
4791 #define THREAD_LOCAL_ALLOC 1
4794 cat >>confdefs.h <<\_ACEOF
4795 #define USE_COMPILER_TLS 1
4800 cat >>confdefs.h <<\_ACEOF
4801 #define GC_GNU_THREADS 1
4804 cat >>confdefs.h <<\_ACEOF
4805 #define _REENTRANT 1
4808 cat >>confdefs.h <<\_ACEOF
4809 #define THREAD_LOCAL_ALLOC 1
4814 { echo "$as_me:$LINENO: WARNING
: \"Only on NetBSD
2.0 or later.
\"" >&5
4815 echo "$as_me: WARNING
: \"Only on NetBSD
2.0 or later.
\"" >&2;}
4816 cat >>confdefs.h <<\_ACEOF
4817 #define GC_NETBSD_THREADS 1
4820 cat >>confdefs.h <<\_ACEOF
4821 #define _REENTRANT 1
4824 cat >>confdefs.h <<\_ACEOF
4828 THREADDLLIBS="-lpthread -lrt"
4831 cat >>confdefs.h <<\_ACEOF
4832 #define GC_SOLARIS_THREADS 1
4835 cat >>confdefs.h <<\_ACEOF
4836 #define THREAD_LOCAL_ALLOC 1
4839 THREADDLLIBS="-lpthread -lrt"
4840 if test "$GCC" != yes; then
4842 need_atomic_ops_asm=true
4846 cat >>confdefs.h <<\_ACEOF
4847 #define GC_IRIX_THREADS 1
4852 cat >>confdefs.h <<\_ACEOF
4853 #define GC_WIN32_THREADS 1
4856 cat >>confdefs.h <<\_ACEOF
4857 #define THREAD_LOCAL_ALLOC 1
4863 cat >>confdefs.h <<\_ACEOF
4864 #define GC_DARWIN_THREADS 1
4867 cat >>confdefs.h <<\_ACEOF
4868 #define THREAD_LOCAL_ALLOC 1
4871 { echo "$as_me:$LINENO: WARNING
: \"Explict GC_INIT
() calls may be required.
\"" >&5
4872 echo "$as_me: WARNING
: \"Explict GC_INIT
() calls may be required.
\"" >&2;};
4873 if test "${enable_parallel_mark}" = yes; then
4874 cat >>confdefs.h <<\_ACEOF
4875 #define PARALLEL_MARK 1
4882 cat >>confdefs.h <<\_ACEOF
4883 #define GC_OSF1_THREADS 1
4886 if test "${enable_parallel_mark}" = yes; then
4887 cat >>confdefs.h <<\_ACEOF
4888 #define PARALLEL_MARK 1
4891 cat >>confdefs.h <<\_ACEOF
4892 #define THREAD_LOCAL_ALLOC 1
4895 { echo "$as_me:$LINENO: WARNING
: \"Explict GC_INIT
() calls may be required.
\"" >&5
4896 echo "$as_me: WARNING
: \"Explict GC_INIT
() calls may be required.
\"" >&2;};
4897 # May want to enable it in other cases, too.
4898 # Measurements havent yet been done.
4900 INCLUDES="$INCLUDES -pthread"
4901 THREADDLLIBS="-lpthread -lrt"
4904 { { echo "$as_me:$LINENO: error
: \"Pthreads not supported by the GC on this platform.
\"" >&5
4905 echo "$as_me: error
: \"Pthreads not supported by the GC on this platform.
\"" >&2;}
4906 { (exit 1); exit 1; }; }
4911 cat >>confdefs.h <<\_ACEOF
4912 #define GC_WIN32_THREADS 1
4915 cat >>confdefs.h <<\_ACEOF
4922 { echo "$as_me:$LINENO: result
: $THREADDLLIBS" >&5
4923 echo "${ECHO_T}$THREADDLLIBS" >&6; }
4924 # Use pthread GCC switch
4925 THREADDLLIBS=-pthread
4926 if test "${enable_parallel_mark}" = yes; then
4927 cat >>confdefs.h <<\_ACEOF
4928 #define PARALLEL_MARK 1
4932 cat >>confdefs.h <<\_ACEOF
4933 #define THREAD_LOCAL_ALLOC 1
4936 { echo "$as_me:$LINENO: WARNING
: \"Explict GC_INIT
() calls may be required.
\"" >&5
4937 echo "$as_me: WARNING
: \"Explict GC_INIT
() calls may be required.
\"" >&2;};
4938 cat >>confdefs.h <<\_ACEOF
4939 #define GC_DGUX386_THREADS 1
4942 cat >>confdefs.h <<\_ACEOF
4943 #define DGUX_THREADS 1
4946 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
4947 INCLUDES="-pthread $INCLUDES"
4951 THREADDLLIBS=-lpthread
4952 cat >>confdefs.h <<\_ACEOF
4953 #define GC_AIX_THREADS 1
4956 cat >>confdefs.h <<\_ACEOF
4957 #define _REENTRANT 1
4961 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
4962 { { echo "$as_me:$LINENO: error
: thread package
$THREADS not yet supported
" >&5
4963 echo "$as_me: error
: thread package
$THREADS not yet supported
" >&2;}
4964 { (exit 1); exit 1; }; }
4967 { { echo "$as_me:$LINENO: error
: $THREADS is an unknown thread package
" >&5
4968 echo "$as_me: error
: $THREADS is an unknown thread package
" >&2;}
4969 { (exit 1); exit 1; }; }
4975 if test x$THREADS != xnone; then
4985 if test x$THREADS = xposix; then
4995 if test x$darwin_threads = xtrue; then
4996 DARWIN_THREADS_TRUE=
4997 DARWIN_THREADS_FALSE='#'
4999 DARWIN_THREADS_TRUE='#'
5000 DARWIN_THREADS_FALSE=
5005 if test x$win32_threads = xtrue; then
5007 WIN32_THREADS_FALSE='#'
5009 WIN32_THREADS_TRUE='#'
5010 WIN32_THREADS_FALSE=
5020 # Darwin needs a few extra special tests to deal with variation in the
5025 { echo "$as_me:$LINENO: checking
for ppc_thread_state_t.r0
" >&5
5026 echo $ECHO_N "checking
for ppc_thread_state_t.r0...
$ECHO_C" >&6; }
5027 if test "${ac_cv_member_ppc_thread_state_t_r0+set}" = set; then
5028 echo $ECHO_N "(cached
) $ECHO_C" >&6
5030 cat >conftest.$ac_ext <<_ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
5035 /* end confdefs.h. */
5036 #include <mach/thread_status.h>
5041 static ppc_thread_state_t ac_aggr;
5048 rm -f conftest.$ac_objext
5049 if { (ac_try="$ac_compile"
5051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5052 *) ac_try_echo=$ac_try;;
5054 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5055 (eval "$ac_compile") 2>conftest.er1
5057 grep -v '^ *+' conftest.er1 >conftest.err
5059 cat conftest.err >&5
5060 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5061 (exit $ac_status); } && {
5062 test -z "$ac_c_werror_flag" ||
5063 test ! -s conftest.err
5064 } && test -s conftest.$ac_objext; then
5065 ac_cv_member_ppc_thread_state_t_r0=yes
5067 echo "$as_me: failed program was
:" >&5
5068 sed 's/^/| /' conftest.$ac_ext >&5
5070 cat >conftest.$ac_ext <<_ACEOF
5073 cat confdefs.h >>conftest.$ac_ext
5074 cat >>conftest.$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5076 #include <mach/thread_status.h>
5081 static ppc_thread_state_t ac_aggr;
5082 if (sizeof ac_aggr.r0)
5088 rm -f conftest.$ac_objext
5089 if { (ac_try="$ac_compile"
5091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5092 *) ac_try_echo=$ac_try;;
5094 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5095 (eval "$ac_compile") 2>conftest.er1
5097 grep -v '^ *+' conftest.er1 >conftest.err
5099 cat conftest.err >&5
5100 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5101 (exit $ac_status); } && {
5102 test -z "$ac_c_werror_flag" ||
5103 test ! -s conftest.err
5104 } && test -s conftest.$ac_objext; then
5105 ac_cv_member_ppc_thread_state_t_r0=yes
5107 echo "$as_me: failed program was
:" >&5
5108 sed 's/^/| /' conftest.$ac_ext >&5
5110 ac_cv_member_ppc_thread_state_t_r0=no
5113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5118 { echo "$as_me:$LINENO: result
: $ac_cv_member_ppc_thread_state_t_r0" >&5
5119 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t_r0" >&6; }
5120 if test $ac_cv_member_ppc_thread_state_t_r0 = yes; then
5122 cat >>confdefs.h <<\_ACEOF
5123 #define HAS_PPC_THREAD_STATE_R0 1
5128 { echo "$as_me:$LINENO: checking
for ppc_thread_state_t.__r0
" >&5
5129 echo $ECHO_N "checking
for ppc_thread_state_t.__r0...
$ECHO_C" >&6; }
5130 if test "${ac_cv_member_ppc_thread_state_t___r0+set}" = set; then
5131 echo $ECHO_N "(cached
) $ECHO_C" >&6
5133 cat >conftest.$ac_ext <<_ACEOF
5136 cat confdefs.h >>conftest.$ac_ext
5137 cat >>conftest.$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5139 #include <mach/thread_status.h>
5144 static ppc_thread_state_t ac_aggr;
5151 rm -f conftest.$ac_objext
5152 if { (ac_try="$ac_compile"
5154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5155 *) ac_try_echo=$ac_try;;
5157 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5158 (eval "$ac_compile") 2>conftest.er1
5160 grep -v '^ *+' conftest.er1 >conftest.err
5162 cat conftest.err >&5
5163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5164 (exit $ac_status); } && {
5165 test -z "$ac_c_werror_flag" ||
5166 test ! -s conftest.err
5167 } && test -s conftest.$ac_objext; then
5168 ac_cv_member_ppc_thread_state_t___r0=yes
5170 echo "$as_me: failed program was
:" >&5
5171 sed 's/^/| /' conftest.$ac_ext >&5
5173 cat >conftest.$ac_ext <<_ACEOF
5176 cat confdefs.h >>conftest.$ac_ext
5177 cat >>conftest.$ac_ext <<_ACEOF
5178 /* end confdefs.h. */
5179 #include <mach/thread_status.h>
5184 static ppc_thread_state_t ac_aggr;
5185 if (sizeof ac_aggr.__r0)
5191 rm -f conftest.$ac_objext
5192 if { (ac_try="$ac_compile"
5194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5195 *) ac_try_echo=$ac_try;;
5197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5198 (eval "$ac_compile") 2>conftest.er1
5200 grep -v '^ *+' conftest.er1 >conftest.err
5202 cat conftest.err >&5
5203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5204 (exit $ac_status); } && {
5205 test -z "$ac_c_werror_flag" ||
5206 test ! -s conftest.err
5207 } && test -s conftest.$ac_objext; then
5208 ac_cv_member_ppc_thread_state_t___r0=yes
5210 echo "$as_me: failed program was
:" >&5
5211 sed 's/^/| /' conftest.$ac_ext >&5
5213 ac_cv_member_ppc_thread_state_t___r0=no
5216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5221 { echo "$as_me:$LINENO: result
: $ac_cv_member_ppc_thread_state_t___r0" >&5
5222 echo "${ECHO_T}$ac_cv_member_ppc_thread_state_t___r0" >&6; }
5223 if test $ac_cv_member_ppc_thread_state_t___r0 = yes; then
5225 cat >>confdefs.h <<\_ACEOF
5226 #define HAS_PPC_THREAD_STATE___R0 1
5231 { echo "$as_me:$LINENO: checking
for ppc_thread_state64_t.r0
" >&5
5232 echo $ECHO_N "checking
for ppc_thread_state64_t.r0...
$ECHO_C" >&6; }
5233 if test "${ac_cv_member_ppc_thread_state64_t_r0+set}" = set; then
5234 echo $ECHO_N "(cached
) $ECHO_C" >&6
5236 cat >conftest.$ac_ext <<_ACEOF
5239 cat confdefs.h >>conftest.$ac_ext
5240 cat >>conftest.$ac_ext <<_ACEOF
5241 /* end confdefs.h. */
5242 #include <mach/thread_status.h>
5247 static ppc_thread_state64_t ac_aggr;
5254 rm -f conftest.$ac_objext
5255 if { (ac_try="$ac_compile"
5257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5258 *) ac_try_echo=$ac_try;;
5260 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5261 (eval "$ac_compile") 2>conftest.er1
5263 grep -v '^ *+' conftest.er1 >conftest.err
5265 cat conftest.err >&5
5266 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5267 (exit $ac_status); } && {
5268 test -z "$ac_c_werror_flag" ||
5269 test ! -s conftest.err
5270 } && test -s conftest.$ac_objext; then
5271 ac_cv_member_ppc_thread_state64_t_r0=yes
5273 echo "$as_me: failed program was
:" >&5
5274 sed 's/^/| /' conftest.$ac_ext >&5
5276 cat >conftest.$ac_ext <<_ACEOF
5279 cat confdefs.h >>conftest.$ac_ext
5280 cat >>conftest.$ac_ext <<_ACEOF
5281 /* end confdefs.h. */
5282 #include <mach/thread_status.h>
5287 static ppc_thread_state64_t ac_aggr;
5288 if (sizeof ac_aggr.r0)
5294 rm -f conftest.$ac_objext
5295 if { (ac_try="$ac_compile"
5297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5298 *) ac_try_echo=$ac_try;;
5300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5301 (eval "$ac_compile") 2>conftest.er1
5303 grep -v '^ *+' conftest.er1 >conftest.err
5305 cat conftest.err >&5
5306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5307 (exit $ac_status); } && {
5308 test -z "$ac_c_werror_flag" ||
5309 test ! -s conftest.err
5310 } && test -s conftest.$ac_objext; then
5311 ac_cv_member_ppc_thread_state64_t_r0=yes
5313 echo "$as_me: failed program was
:" >&5
5314 sed 's/^/| /' conftest.$ac_ext >&5
5316 ac_cv_member_ppc_thread_state64_t_r0=no
5319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5324 { echo "$as_me:$LINENO: result
: $ac_cv_member_ppc_thread_state64_t_r0" >&5
5325 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t_r0" >&6; }
5326 if test $ac_cv_member_ppc_thread_state64_t_r0 = yes; then
5328 cat >>confdefs.h <<\_ACEOF
5329 #define HAS_PPC_THREAD_STATE64_R0 1
5334 { echo "$as_me:$LINENO: checking
for ppc_thread_state64_t.__r0
" >&5
5335 echo $ECHO_N "checking
for ppc_thread_state64_t.__r0...
$ECHO_C" >&6; }
5336 if test "${ac_cv_member_ppc_thread_state64_t___r0+set}" = set; then
5337 echo $ECHO_N "(cached
) $ECHO_C" >&6
5339 cat >conftest.$ac_ext <<_ACEOF
5342 cat confdefs.h >>conftest.$ac_ext
5343 cat >>conftest.$ac_ext <<_ACEOF
5344 /* end confdefs.h. */
5345 #include <mach/thread_status.h>
5350 static ppc_thread_state64_t ac_aggr;
5357 rm -f conftest.$ac_objext
5358 if { (ac_try="$ac_compile"
5360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5361 *) ac_try_echo=$ac_try;;
5363 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5364 (eval "$ac_compile") 2>conftest.er1
5366 grep -v '^ *+' conftest.er1 >conftest.err
5368 cat conftest.err >&5
5369 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5370 (exit $ac_status); } && {
5371 test -z "$ac_c_werror_flag" ||
5372 test ! -s conftest.err
5373 } && test -s conftest.$ac_objext; then
5374 ac_cv_member_ppc_thread_state64_t___r0=yes
5376 echo "$as_me: failed program was
:" >&5
5377 sed 's/^/| /' conftest.$ac_ext >&5
5379 cat >conftest.$ac_ext <<_ACEOF
5382 cat confdefs.h >>conftest.$ac_ext
5383 cat >>conftest.$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5385 #include <mach/thread_status.h>
5390 static ppc_thread_state64_t ac_aggr;
5391 if (sizeof ac_aggr.__r0)
5397 rm -f conftest.$ac_objext
5398 if { (ac_try="$ac_compile"
5400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5401 *) ac_try_echo=$ac_try;;
5403 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5404 (eval "$ac_compile") 2>conftest.er1
5406 grep -v '^ *+' conftest.er1 >conftest.err
5408 cat conftest.err >&5
5409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5410 (exit $ac_status); } && {
5411 test -z "$ac_c_werror_flag" ||
5412 test ! -s conftest.err
5413 } && test -s conftest.$ac_objext; then
5414 ac_cv_member_ppc_thread_state64_t___r0=yes
5416 echo "$as_me: failed program was
:" >&5
5417 sed 's/^/| /' conftest.$ac_ext >&5
5419 ac_cv_member_ppc_thread_state64_t___r0=no
5422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5427 { echo "$as_me:$LINENO: result
: $ac_cv_member_ppc_thread_state64_t___r0" >&5
5428 echo "${ECHO_T}$ac_cv_member_ppc_thread_state64_t___r0" >&6; }
5429 if test $ac_cv_member_ppc_thread_state64_t___r0 = yes; then
5431 cat >>confdefs.h <<\_ACEOF
5432 #define HAS_PPC_THREAD_STATE64___R0 1
5439 { echo "$as_me:$LINENO: checking
for x86_thread_state32_t.eax
" >&5
5440 echo $ECHO_N "checking
for x86_thread_state32_t.eax...
$ECHO_C" >&6; }
5441 if test "${ac_cv_member_x86_thread_state32_t_eax+set}" = set; then
5442 echo $ECHO_N "(cached
) $ECHO_C" >&6
5444 cat >conftest.$ac_ext <<_ACEOF
5447 cat confdefs.h >>conftest.$ac_ext
5448 cat >>conftest.$ac_ext <<_ACEOF
5449 /* end confdefs.h. */
5450 #include <sys/cdefs.h>
5451 #include <mach/thread_status.h>
5456 static x86_thread_state32_t ac_aggr;
5463 rm -f conftest.$ac_objext
5464 if { (ac_try="$ac_compile"
5466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5467 *) ac_try_echo=$ac_try;;
5469 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5470 (eval "$ac_compile") 2>conftest.er1
5472 grep -v '^ *+' conftest.er1 >conftest.err
5474 cat conftest.err >&5
5475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5476 (exit $ac_status); } && {
5477 test -z "$ac_c_werror_flag" ||
5478 test ! -s conftest.err
5479 } && test -s conftest.$ac_objext; then
5480 ac_cv_member_x86_thread_state32_t_eax=yes
5482 echo "$as_me: failed program was
:" >&5
5483 sed 's/^/| /' conftest.$ac_ext >&5
5485 cat >conftest.$ac_ext <<_ACEOF
5488 cat confdefs.h >>conftest.$ac_ext
5489 cat >>conftest.$ac_ext <<_ACEOF
5490 /* end confdefs.h. */
5491 #include <sys/cdefs.h>
5492 #include <mach/thread_status.h>
5497 static x86_thread_state32_t ac_aggr;
5498 if (sizeof ac_aggr.eax)
5504 rm -f conftest.$ac_objext
5505 if { (ac_try="$ac_compile"
5507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5508 *) ac_try_echo=$ac_try;;
5510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_compile") 2>conftest.er1
5513 grep -v '^ *+' conftest.er1 >conftest.err
5515 cat conftest.err >&5
5516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5517 (exit $ac_status); } && {
5518 test -z "$ac_c_werror_flag" ||
5519 test ! -s conftest.err
5520 } && test -s conftest.$ac_objext; then
5521 ac_cv_member_x86_thread_state32_t_eax=yes
5523 echo "$as_me: failed program was
:" >&5
5524 sed 's/^/| /' conftest.$ac_ext >&5
5526 ac_cv_member_x86_thread_state32_t_eax=no
5529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5534 { echo "$as_me:$LINENO: result
: $ac_cv_member_x86_thread_state32_t_eax" >&5
5535 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t_eax" >&6; }
5536 if test $ac_cv_member_x86_thread_state32_t_eax = yes; then
5538 cat >>confdefs.h <<\_ACEOF
5539 #define HAS_X86_THREAD_STATE32_EAX 1
5544 { echo "$as_me:$LINENO: checking
for x86_thread_state32_t.__eax
" >&5
5545 echo $ECHO_N "checking
for x86_thread_state32_t.__eax...
$ECHO_C" >&6; }
5546 if test "${ac_cv_member_x86_thread_state32_t___eax+set}" = set; then
5547 echo $ECHO_N "(cached
) $ECHO_C" >&6
5549 cat >conftest.$ac_ext <<_ACEOF
5552 cat confdefs.h >>conftest.$ac_ext
5553 cat >>conftest.$ac_ext <<_ACEOF
5554 /* end confdefs.h. */
5555 #include <sys/cdefs.h>
5556 #include <mach/thread_status.h>
5561 static x86_thread_state32_t ac_aggr;
5568 rm -f conftest.$ac_objext
5569 if { (ac_try="$ac_compile"
5571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5572 *) ac_try_echo=$ac_try;;
5574 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5575 (eval "$ac_compile") 2>conftest.er1
5577 grep -v '^ *+' conftest.er1 >conftest.err
5579 cat conftest.err >&5
5580 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5581 (exit $ac_status); } && {
5582 test -z "$ac_c_werror_flag" ||
5583 test ! -s conftest.err
5584 } && test -s conftest.$ac_objext; then
5585 ac_cv_member_x86_thread_state32_t___eax=yes
5587 echo "$as_me: failed program was
:" >&5
5588 sed 's/^/| /' conftest.$ac_ext >&5
5590 cat >conftest.$ac_ext <<_ACEOF
5593 cat confdefs.h >>conftest.$ac_ext
5594 cat >>conftest.$ac_ext <<_ACEOF
5595 /* end confdefs.h. */
5596 #include <sys/cdefs.h>
5597 #include <mach/thread_status.h>
5602 static x86_thread_state32_t ac_aggr;
5603 if (sizeof ac_aggr.__eax)
5609 rm -f conftest.$ac_objext
5610 if { (ac_try="$ac_compile"
5612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5613 *) ac_try_echo=$ac_try;;
5615 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5616 (eval "$ac_compile") 2>conftest.er1
5618 grep -v '^ *+' conftest.er1 >conftest.err
5620 cat conftest.err >&5
5621 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5622 (exit $ac_status); } && {
5623 test -z "$ac_c_werror_flag" ||
5624 test ! -s conftest.err
5625 } && test -s conftest.$ac_objext; then
5626 ac_cv_member_x86_thread_state32_t___eax=yes
5628 echo "$as_me: failed program was
:" >&5
5629 sed 's/^/| /' conftest.$ac_ext >&5
5631 ac_cv_member_x86_thread_state32_t___eax=no
5634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5639 { echo "$as_me:$LINENO: result
: $ac_cv_member_x86_thread_state32_t___eax" >&5
5640 echo "${ECHO_T}$ac_cv_member_x86_thread_state32_t___eax" >&6; }
5641 if test $ac_cv_member_x86_thread_state32_t___eax = yes; then
5643 cat >>confdefs.h <<\_ACEOF
5644 #define HAS_X86_THREAD_STATE32___EAX 1
5651 { echo "$as_me:$LINENO: checking
for x86_thread_state64_t.rax
" >&5
5652 echo $ECHO_N "checking
for x86_thread_state64_t.rax...
$ECHO_C" >&6; }
5653 if test "${ac_cv_member_x86_thread_state64_t_rax+set}" = set; then
5654 echo $ECHO_N "(cached
) $ECHO_C" >&6
5656 cat >conftest.$ac_ext <<_ACEOF
5659 cat confdefs.h >>conftest.$ac_ext
5660 cat >>conftest.$ac_ext <<_ACEOF
5661 /* end confdefs.h. */
5662 #include <sys/cdefs.h>
5663 #include <mach/thread_status.h>
5668 static x86_thread_state64_t ac_aggr;
5675 rm -f conftest.$ac_objext
5676 if { (ac_try="$ac_compile"
5678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5679 *) ac_try_echo=$ac_try;;
5681 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5682 (eval "$ac_compile") 2>conftest.er1
5684 grep -v '^ *+' conftest.er1 >conftest.err
5686 cat conftest.err >&5
5687 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5688 (exit $ac_status); } && {
5689 test -z "$ac_c_werror_flag" ||
5690 test ! -s conftest.err
5691 } && test -s conftest.$ac_objext; then
5692 ac_cv_member_x86_thread_state64_t_rax=yes
5694 echo "$as_me: failed program was
:" >&5
5695 sed 's/^/| /' conftest.$ac_ext >&5
5697 cat >conftest.$ac_ext <<_ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5703 #include <sys/cdefs.h>
5704 #include <mach/thread_status.h>
5709 static x86_thread_state64_t ac_aggr;
5710 if (sizeof ac_aggr.rax)
5716 rm -f conftest.$ac_objext
5717 if { (ac_try="$ac_compile"
5719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5720 *) ac_try_echo=$ac_try;;
5722 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5723 (eval "$ac_compile") 2>conftest.er1
5725 grep -v '^ *+' conftest.er1 >conftest.err
5727 cat conftest.err >&5
5728 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5729 (exit $ac_status); } && {
5730 test -z "$ac_c_werror_flag" ||
5731 test ! -s conftest.err
5732 } && test -s conftest.$ac_objext; then
5733 ac_cv_member_x86_thread_state64_t_rax=yes
5735 echo "$as_me: failed program was
:" >&5
5736 sed 's/^/| /' conftest.$ac_ext >&5
5738 ac_cv_member_x86_thread_state64_t_rax=no
5741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5746 { echo "$as_me:$LINENO: result
: $ac_cv_member_x86_thread_state64_t_rax" >&5
5747 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t_rax" >&6; }
5748 if test $ac_cv_member_x86_thread_state64_t_rax = yes; then
5750 cat >>confdefs.h <<\_ACEOF
5751 #define HAS_X86_THREAD_STATE64_RAX 1
5756 { echo "$as_me:$LINENO: checking
for x86_thread_state64_t.__rax
" >&5
5757 echo $ECHO_N "checking
for x86_thread_state64_t.__rax...
$ECHO_C" >&6; }
5758 if test "${ac_cv_member_x86_thread_state64_t___rax+set}" = set; then
5759 echo $ECHO_N "(cached
) $ECHO_C" >&6
5761 cat >conftest.$ac_ext <<_ACEOF
5764 cat confdefs.h >>conftest.$ac_ext
5765 cat >>conftest.$ac_ext <<_ACEOF
5766 /* end confdefs.h. */
5767 #include <sys/cdefs.h>
5768 #include <mach/thread_status.h>
5773 static x86_thread_state64_t ac_aggr;
5780 rm -f conftest.$ac_objext
5781 if { (ac_try="$ac_compile"
5783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5784 *) ac_try_echo=$ac_try;;
5786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5787 (eval "$ac_compile") 2>conftest.er1
5789 grep -v '^ *+' conftest.er1 >conftest.err
5791 cat conftest.err >&5
5792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5793 (exit $ac_status); } && {
5794 test -z "$ac_c_werror_flag" ||
5795 test ! -s conftest.err
5796 } && test -s conftest.$ac_objext; then
5797 ac_cv_member_x86_thread_state64_t___rax=yes
5799 echo "$as_me: failed program was
:" >&5
5800 sed 's/^/| /' conftest.$ac_ext >&5
5802 cat >conftest.$ac_ext <<_ACEOF
5805 cat confdefs.h >>conftest.$ac_ext
5806 cat >>conftest.$ac_ext <<_ACEOF
5807 /* end confdefs.h. */
5808 #include <sys/cdefs.h>
5809 #include <mach/thread_status.h>
5814 static x86_thread_state64_t ac_aggr;
5815 if (sizeof ac_aggr.__rax)
5821 rm -f conftest.$ac_objext
5822 if { (ac_try="$ac_compile"
5824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5825 *) ac_try_echo=$ac_try;;
5827 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5828 (eval "$ac_compile") 2>conftest.er1
5830 grep -v '^ *+' conftest.er1 >conftest.err
5832 cat conftest.err >&5
5833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5834 (exit $ac_status); } && {
5835 test -z "$ac_c_werror_flag" ||
5836 test ! -s conftest.err
5837 } && test -s conftest.$ac_objext; then
5838 ac_cv_member_x86_thread_state64_t___rax=yes
5840 echo "$as_me: failed program was
:" >&5
5841 sed 's/^/| /' conftest.$ac_ext >&5
5843 ac_cv_member_x86_thread_state64_t___rax=no
5846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5851 { echo "$as_me:$LINENO: result
: $ac_cv_member_x86_thread_state64_t___rax" >&5
5852 echo "${ECHO_T}$ac_cv_member_x86_thread_state64_t___rax" >&6; }
5853 if test $ac_cv_member_x86_thread_state64_t___rax = yes; then
5855 cat >>confdefs.h <<\_ACEOF
5856 #define HAS_X86_THREAD_STATE64___RAX 1
5865 { echo "$as_me:$LINENO: checking
for xlc
" >&5
5866 echo $ECHO_N "checking
for xlc...
$ECHO_C" >&6; }
5867 cat >conftest.$ac_ext <<_ACEOF
5870 cat confdefs.h >>conftest.$ac_ext
5871 cat >>conftest.$ac_ext <<_ACEOF
5872 /* end confdefs.h. */
5886 rm -f conftest.$ac_objext
5887 if { (ac_try="$ac_compile"
5889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5890 *) ac_try_echo=$ac_try;;
5892 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5893 (eval "$ac_compile") 2>conftest.er1
5895 grep -v '^ *+' conftest.er1 >conftest.err
5897 cat conftest.err >&5
5898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5899 (exit $ac_status); } && {
5900 test -z "$ac_c_werror_flag" ||
5901 test ! -s conftest.err
5902 } && test -s conftest.$ac_objext; then
5905 echo "$as_me: failed program was
:" >&5
5906 sed 's/^/| /' conftest.$ac_ext >&5
5911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5912 { echo "$as_me:$LINENO: result
: $compiler_xlc" >&5
5913 echo "${ECHO_T}$compiler_xlc" >&6; }
5916 if test $compiler_xlc = yes; then
5918 COMPILER_XLC_FALSE='#'
5920 COMPILER_XLC_TRUE='#'
5924 if test $compiler_xlc = yes -a "$powerpc_darwin" = true; then
5925 # the darwin stack-frame-walking code is completely broken on xlc
5926 cat >>confdefs.h <<\_ACEOF
5927 #define DARWIN_DONT_PARSE_STACK 1
5932 # We never want libdl on darwin. It is a fake libdl that just ends up making
5937 { echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
5938 echo $ECHO_N "checking
for dlopen
in -ldl...
$ECHO_C" >&6; }
5939 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5940 echo $ECHO_N "(cached
) $ECHO_C" >&6
5942 ac_check_lib_save_LIBS=$LIBS
5944 cat >conftest.$ac_ext <<_ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5951 /* Override any GCC internal prototype to avoid an error.
5952 Use char because int might match the return type of a GCC
5953 builtin and then its argument prototype would still apply. */
5966 rm -f conftest.$ac_objext conftest$ac_exeext
5967 if { (ac_try="$ac_link"
5969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5970 *) ac_try_echo=$ac_try;;
5972 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5973 (eval "$ac_link") 2>conftest.er1
5975 grep -v '^ *+' conftest.er1 >conftest.err
5977 cat conftest.err >&5
5978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5979 (exit $ac_status); } && {
5980 test -z "$ac_c_werror_flag" ||
5981 test ! -s conftest.err
5982 } && test -s conftest$ac_exeext &&
5983 $as_test_x conftest$ac_exeext; then
5984 ac_cv_lib_dl_dlopen=yes
5986 echo "$as_me: failed program was
:" >&5
5987 sed 's/^/| /' conftest.$ac_ext >&5
5989 ac_cv_lib_dl_dlopen=no
5992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5993 conftest$ac_exeext conftest.$ac_ext
5994 LIBS=$ac_check_lib_save_LIBS
5996 { echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
5997 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
5998 if test $ac_cv_lib_dl_dlopen = yes; then
5999 THREADDLLIBS="$THREADDLLIBS -ldl"
6005 # extra LD Flags which are required for targets
6008 extra_ldflags_libgc=-Wl,-single_module
6020 # Check whether --with-ecos was given.
6021 if test "${with_ecos+set}" = set; then
6022 withval=$with_ecos; TARGET_ECOS="$with_ecos"
6030 case "$TARGET_ECOS" in
6034 cat >>confdefs.h <<\_ACEOF
6038 CXXINCLUDES="-I${TARGET_ECOS}/include
"
6039 addobjs="$addobjs ecos.lo
"
6045 if test "${enable_cplusplus}" = yes; then
6059 # Configuration of shared libraries
6061 { echo "$as_me:$LINENO: checking whether to build shared libraries
" >&5
6062 echo $ECHO_N "checking whether to build shared libraries...
$ECHO_C" >&6; }
6063 # Check whether --enable-shared was given.
6064 if test "${enable_shared+set}" = set; then
6065 enableval=$enable_shared; p=${PACKAGE-default}
6067 yes) enable_shared=yes ;;
6068 no) enable_shared=no ;;
6071 # Look at the argument we got. We use all the common list separators.
6072 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6073 for pkg in $enableval; do
6075 if test "X
$pkg" = "X
$p"; then
6091 { echo "$as_me:$LINENO: result
: no
" >&5
6092 echo "${ECHO_T}no
" >&6; }
6095 { echo "$as_me:$LINENO: result
: yes" >&5
6096 echo "${ECHO_T}yes" >&6; }
6100 # Configuration of machine-dependent code
6102 { echo "$as_me:$LINENO: checking
which machine-dependent code should be used
" >&5
6103 echo $ECHO_N "checking
which machine-dependent code should be used...
$ECHO_C" >&6; }
6107 machdep="mach_dep.lo
"
6108 if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then
6109 { echo "$as_me:$LINENO: WARNING
: OpenBSD
/Alpha without dlopen
(). Shared library support is disabled
" >&5
6110 echo "$as_me: WARNING
: OpenBSD
/Alpha without dlopen
(). Shared library support is disabled
" >&2;}
6114 machdep="mach_dep.lo
"
6116 i?86-*-solaris2.[89] | i?86-*-solaris2.1?)
6117 cat >>confdefs.h <<\_ACEOF
6118 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
6123 machdep="mach_dep.lo
"
6124 cat >>confdefs.h <<\_ACEOF
6125 #define STACKBASE __stackbase
6128 cat >>confdefs.h <<\_ACEOF
6129 #define DATASTART_IS_ETEXT 1
6134 machdep="mach-dep.lo
"
6136 mips-nec-sysv*|mips-unknown-sysv*)
6141 machdep="mach_dep.lo
"
6144 machdep="mach_dep.lo sparc_netbsd_mach_dep.lo
"
6146 sparc-sun-solaris2.3)
6147 machdep="mach_dep.lo sparc_mach_dep.lo
"
6148 cat >>confdefs.h <<\_ACEOF
6149 #define SUNOS53_SHARED_LIB 1
6153 sparc*-sun-solaris2.*)
6154 machdep="mach_dep.lo sparc_mach_dep.lo
"
6157 machdep="mach_dep.lo ia64_save_regs_in_stack.lo
"
6160 if test x"$machdep" = x; then
6161 { echo "$as_me:$LINENO: result
: $machdep" >&5
6162 echo "${ECHO_T}$machdep" >&6; }
6163 machdep="mach_dep.lo
"
6165 addobjs="$addobjs $machdep"
6169 # Check whether --enable-static was given.
6170 if test "${enable_static+set}" = set; then
6171 enableval=$enable_static; p=${PACKAGE-default}
6173 yes) enable_static=yes ;;
6174 no) enable_static=no ;;
6177 # Look at the argument we got. We use all the common list separators.
6178 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6179 for pkg in $enableval; do
6181 if test "X
$pkg" = "X
$p"; then
6193 # Check whether --enable-fast-install was given.
6194 if test "${enable_fast_install+set}" = set; then
6195 enableval=$enable_fast_install; p=${PACKAGE-default}
6197 yes) enable_fast_install=yes ;;
6198 no) enable_fast_install=no ;;
6200 enable_fast_install=no
6201 # Look at the argument we got. We use all the common list separators.
6202 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6203 for pkg in $enableval; do
6205 if test "X
$pkg" = "X
$p"; then
6206 enable_fast_install=yes
6213 enable_fast_install=yes
6217 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
6218 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
6219 if test "${lt_cv_path_SED+set}" = set; then
6220 echo $ECHO_N "(cached
) $ECHO_C" >&6
6222 # Loop through the user's path and test for sed and gsed.
6223 # Then use that list of sed's as ones to test for truncation.
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 test -z "$as_dir" && as_dir=.
6229 for lt_ac_prog in sed gsed; do
6230 for ac_exec_ext in '' $ac_executable_extensions; do
6231 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
6232 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6239 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
6240 # along with /bin/sed that truncates output.
6241 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6242 test ! -f $lt_ac_sed && continue
6243 cat /dev/null > conftest.in
6245 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6246 # Check for GNU sed and select it if it is found.
6247 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6248 lt_cv_path_SED=$lt_ac_sed
6252 cat conftest.in conftest.in >conftest.tmp
6253 mv conftest.tmp conftest.in
6254 cp conftest.in conftest.nl
6256 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6257 cmp -s conftest.out conftest.nl || break
6258 # 10000 chars as input seems more than enough
6259 test $lt_ac_count -gt 10 && break
6260 lt_ac_count=`expr $lt_ac_count + 1`
6261 if test $lt_ac_count -gt $lt_ac_max; then
6262 lt_ac_max=$lt_ac_count
6263 lt_cv_path_SED=$lt_ac_sed
6271 { echo "$as_me:$LINENO: result
: $SED" >&5
6272 echo "${ECHO_T}$SED" >&6; }
6274 { echo "$as_me:$LINENO: checking
for grep that handles long lines and
-e" >&5
6275 echo $ECHO_N "checking
for grep that handles long lines and
-e...
$ECHO_C" >&6; }
6276 if test "${ac_cv_path_GREP+set}" = set; then
6277 echo $ECHO_N "(cached
) $ECHO_C" >&6
6279 # Extract the first word of "grep ggrep
" to use in msg output
6280 if test -z "$GREP"; then
6281 set dummy grep ggrep; ac_prog_name=$2
6282 if test "${ac_cv_path_GREP+set}" = set; then
6283 echo $ECHO_N "(cached
) $ECHO_C" >&6
6285 ac_path_GREP_found=false
6286 # Loop through the user's path and test for each of PROGNAME-LIST
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6291 test -z "$as_dir" && as_dir=.
6292 for ac_prog in grep ggrep; do
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6295 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6296 # Check for GNU ac_path_GREP and select it if it is found.
6297 # Check for GNU $ac_path_GREP
6298 case `"$ac_path_GREP" --version 2>&1` in
6300 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6303 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
6306 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6307 mv "conftest.tmp
" "conftest.
in"
6308 cp "conftest.
in" "conftest.
nl"
6309 echo 'GREP' >> "conftest.
nl"
6310 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6311 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6312 ac_count=`expr $ac_count + 1`
6313 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6314 # Best one so far, save it but keep looking for a better one
6315 ac_cv_path_GREP="$ac_path_GREP"
6316 ac_path_GREP_max=$ac_count
6318 # 10*(2^10) chars as input seems more than enough
6319 test $ac_count -gt 10 && break
6321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6325 $ac_path_GREP_found && break 3
6335 GREP="$ac_cv_path_GREP"
6336 if test -z "$GREP"; then
6337 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
6338 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
6339 { (exit 1); exit 1; }; }
6343 ac_cv_path_GREP=$GREP
6348 { echo "$as_me:$LINENO: result
: $ac_cv_path_GREP" >&5
6349 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6350 GREP="$ac_cv_path_GREP"
6353 { echo "$as_me:$LINENO: checking
for egrep" >&5
6354 echo $ECHO_N "checking
for egrep...
$ECHO_C" >&6; }
6355 if test "${ac_cv_path_EGREP+set}" = set; then
6356 echo $ECHO_N "(cached
) $ECHO_C" >&6
6358 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6359 then ac_cv_path_EGREP="$GREP -E"
6361 # Extract the first word of "egrep" to use in msg output
6362 if test -z "$EGREP"; then
6363 set dummy egrep; ac_prog_name=$2
6364 if test "${ac_cv_path_EGREP+set}" = set; then
6365 echo $ECHO_N "(cached
) $ECHO_C" >&6
6367 ac_path_EGREP_found=false
6368 # Loop through the user's path and test for each of PROGNAME-LIST
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6373 test -z "$as_dir" && as_dir=.
6374 for ac_prog in egrep; do
6375 for ac_exec_ext in '' $ac_executable_extensions; do
6376 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6377 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6378 # Check for GNU ac_path_EGREP and select it if it is found.
6379 # Check for GNU $ac_path_EGREP
6380 case `"$ac_path_EGREP" --version 2>&1` in
6382 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6385 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
6388 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6389 mv "conftest.tmp
" "conftest.
in"
6390 cp "conftest.
in" "conftest.
nl"
6391 echo 'EGREP' >> "conftest.
nl"
6392 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6393 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6394 ac_count=`expr $ac_count + 1`
6395 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6396 # Best one so far, save it but keep looking for a better one
6397 ac_cv_path_EGREP="$ac_path_EGREP"
6398 ac_path_EGREP_max=$ac_count
6400 # 10*(2^10) chars as input seems more than enough
6401 test $ac_count -gt 10 && break
6403 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6407 $ac_path_EGREP_found && break 3
6417 EGREP="$ac_cv_path_EGREP"
6418 if test -z "$EGREP"; then
6419 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
6420 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
6421 { (exit 1); exit 1; }; }
6425 ac_cv_path_EGREP=$EGREP
6431 { echo "$as_me:$LINENO: result
: $ac_cv_path_EGREP" >&5
6432 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6433 EGREP="$ac_cv_path_EGREP"
6437 # Check whether --with-gnu-ld was given.
6438 if test "${with_gnu_ld+set}" = set; then
6439 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6445 if test "$GCC" = yes; then
6446 # Check if gcc -print-prog-name=ld gives a path.
6447 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
6448 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
6451 # gcc leaves a trailing carriage return which upsets mingw
6452 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6454 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6457 # Accept absolute paths.
6459 re_direlt='/[^/][^/]*/\.\./'
6460 # Canonicalize the pathname of ld
6461 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6462 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6463 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
6465 test -z "$LD" && LD="$ac_prog"
6468 # If it fails, then pretend we aren't using GCC.
6472 # If it is relative, then search for the first ld in PATH.
6476 elif test "$with_gnu_ld" = yes; then
6477 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
6478 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
6480 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
6481 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
6483 if test "${lt_cv_path_LD+set}" = set; then
6484 echo $ECHO_N "(cached
) $ECHO_C" >&6
6486 if test -z "$LD"; then
6487 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6488 for ac_dir in $PATH; do
6490 test -z "$ac_dir" && ac_dir=.
6491 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6492 lt_cv_path_LD="$ac_dir/$ac_prog"
6493 # Check to see if the program is GNU ld. I'd rather use --version,
6494 # but apparently some variants of GNU ld only accept -v.
6495 # Break only if it was the GNU/non-GNU ld that we prefer.
6496 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6497 *GNU* | *'with BFD'*)
6498 test "$with_gnu_ld" != no && break
6501 test "$with_gnu_ld" != yes && break
6508 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6513 if test -n "$LD"; then
6514 { echo "$as_me:$LINENO: result
: $LD" >&5
6515 echo "${ECHO_T}$LD" >&6; }
6517 { echo "$as_me:$LINENO: result
: no
" >&5
6518 echo "${ECHO_T}no
" >&6; }
6520 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
6521 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
6522 { (exit 1); exit 1; }; }
6523 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
6524 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
6525 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6526 echo $ECHO_N "(cached
) $ECHO_C" >&6
6528 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6529 case `$LD -v 2>&1 </dev/null` in
6530 *GNU* | *'with BFD'*)
6531 lt_cv_prog_gnu_ld=yes
6534 lt_cv_prog_gnu_ld=no
6538 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
6539 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6540 with_gnu_ld=$lt_cv_prog_gnu_ld
6543 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6544 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
6545 if test "${lt_cv_ld_reload_flag+set}" = set; then
6546 echo $ECHO_N "(cached
) $ECHO_C" >&6
6548 lt_cv_ld_reload_flag='-r'
6550 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6551 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6552 reload_flag=$lt_cv_ld_reload_flag
6553 case $reload_flag in
6555 *) reload_flag=" $reload_flag" ;;
6557 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6560 if test "$GCC" = yes; then
6561 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6563 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6568 { echo "$as_me:$LINENO: checking
for BSD-compatible nm
" >&5
6569 echo $ECHO_N "checking
for BSD-compatible nm...
$ECHO_C" >&6; }
6570 if test "${lt_cv_path_NM+set}" = set; then
6571 echo $ECHO_N "(cached
) $ECHO_C" >&6
6573 if test -n "$NM"; then
6574 # Let the user override the test.
6577 lt_nm_to_check="${ac_tool_prefix}nm
"
6578 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6579 lt_nm_to_check="$lt_nm_to_check nm
"
6581 for lt_tmp_nm in $lt_nm_to_check; do
6582 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6583 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6585 test -z "$ac_dir" && ac_dir=.
6586 tmp_nm="$ac_dir/$lt_tmp_nm"
6587 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6588 # Check to see if the nm accepts a BSD-compat flag.
6589 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6590 # nm: unknown option "B
" ignored
6591 # Tru64's nm complains that /dev/null is an invalid object file
6592 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6593 */dev/null* | *'Invalid file or object type'*)
6594 lt_cv_path_NM="$tmp_nm -B"
6598 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6600 lt_cv_path_NM="$tmp_nm -p"
6604 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6605 continue # so that we can try to find one that supports BSD flags
6614 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6617 { echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
6618 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6621 { echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
6622 echo $ECHO_N "checking whether
ln -s works...
$ECHO_C" >&6; }
6624 if test "$LN_S" = "ln -s"; then
6625 { echo "$as_me:$LINENO: result
: yes" >&5
6626 echo "${ECHO_T}yes" >&6; }
6628 { echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
6629 echo "${ECHO_T}no
, using
$LN_S" >&6; }
6632 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
6633 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
6634 if test "${lt_cv_deplibs_check_method+set}" = set; then
6635 echo $ECHO_N "(cached
) $ECHO_C" >&6
6637 lt_cv_file_magic_cmd='$MAGIC_CMD'
6638 lt_cv_file_magic_test_file=
6639 lt_cv_deplibs_check_method='unknown'
6640 # Need to set the preceding variable on all platforms that support
6641 # interlibrary dependencies.
6642 # 'none' -- dependencies not supported.
6643 # `unknown' -- same as none, but documents that we really don't know.
6644 # 'pass_all' -- all dependencies passed with no checks.
6645 # 'test_compile' -- check by making test program.
6646 # 'file_magic [[regex]]' -- check by looking for files in library path
6647 # which responds to the $file_magic_cmd with a given extended regex.
6648 # If you have `file' or equivalent on your system and you're not sure
6649 # whether `pass_all' will *always* work, you probably want this one.
6653 lt_cv_deplibs_check_method=pass_all
6657 lt_cv_deplibs_check_method=pass_all
6661 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6662 lt_cv_file_magic_cmd='/usr/bin/file -L'
6663 lt_cv_file_magic_test_file=/shlib/libc.so
6667 # func_win32_libid is a shell function defined in ltmain.sh
6668 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6669 lt_cv_file_magic_cmd='func_win32_libid'
6673 # Base MSYS/MinGW do not provide the 'file' command needed by
6674 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6675 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6676 lt_cv_file_magic_cmd='$OBJDUMP -f'
6679 darwin* | rhapsody*)
6680 lt_cv_deplibs_check_method=pass_all
6683 freebsd* | kfreebsd*-gnu | dragonfly*)
6684 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6687 # Not sure whether the presence of OpenBSD here was a mistake.
6688 # Let's accept both of them until this is cleared up.
6689 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6690 lt_cv_file_magic_cmd=/usr/bin/file
6691 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6695 lt_cv_deplibs_check_method=pass_all
6700 lt_cv_deplibs_check_method=pass_all
6703 hpux10.20* | hpux11*)
6704 lt_cv_file_magic_cmd=/usr/bin/file
6707 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6708 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6711 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]'
6712 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6715 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6716 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6722 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6723 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6726 irix5* | irix6* | nonstopux*)
6728 *-32|*"-32 ") libmagic=32-bit;;
6729 *-n32|*"-n32 ") libmagic=N32;;
6730 *-64|*"-64 ") libmagic=64-bit;;
6731 *) libmagic=never-match;;
6733 lt_cv_deplibs_check_method=pass_all
6736 # This must be Linux ELF.
6738 lt_cv_deplibs_check_method=pass_all
6742 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6743 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6745 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6750 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6751 lt_cv_file_magic_cmd=/usr/bin/file
6752 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6756 lt_cv_deplibs_check_method=unknown
6760 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6761 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6763 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6767 osf3* | osf4* | osf5*)
6768 lt_cv_deplibs_check_method=pass_all
6772 lt_cv_deplibs_check_method=pass_all
6776 case $host_vendor in
6778 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]'
6779 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6782 lt_cv_deplibs_check_method=pass_all
6785 lt_cv_file_magic_cmd='/bin/file'
6786 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6789 lt_cv_file_magic_cmd='/bin/file'
6790 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6791 lt_cv_file_magic_test_file=/lib/libc.so
6794 lt_cv_deplibs_check_method=pass_all
6797 lt_cv_deplibs_check_method=pass_all
6802 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6803 lt_cv_deplibs_check_method=pass_all
6808 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6809 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
6810 file_magic_cmd=$lt_cv_file_magic_cmd
6811 deplibs_check_method=$lt_cv_deplibs_check_method
6812 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6817 # If no C compiler was specified, use CC.
6820 # If no C compiler flags were specified, use CFLAGS.
6821 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6823 # Allow CC to be a program name with arguments.
6826 # Check whether --enable-libtool-lock was given.
6827 if test "${enable_libtool_lock+set}" = set; then
6828 enableval=$enable_libtool_lock;
6831 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6833 # Some flags need to be propagated to the compiler or linker for good
6837 # Find out which ABI we are using.
6838 echo 'int i;' > conftest.$ac_ext
6839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6840 (eval $ac_compile) 2>&5
6842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6843 (exit $ac_status); }; then
6844 case `/usr/bin/file conftest.$ac_objext` in
6856 # Find out which ABI we are using.
6857 echo '#line 6857 "configure
"' > conftest.$ac_ext
6858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6859 (eval $ac_compile) 2>&5
6861 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6862 (exit $ac_status); }; then
6863 if test "$lt_cv_prog_gnu_ld" = yes; then
6864 case `/usr/bin/file conftest.$ac_objext` in
6866 LD="${LD-ld} -melf32bsmip"
6869 LD="${LD-ld} -melf32bmipn32"
6872 LD="${LD-ld} -melf64bmip"
6876 case `/usr/bin/file conftest.$ac_objext` in
6892 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
6893 # Find out which ABI we are using.
6894 echo 'int i;' > conftest.$ac_ext
6895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6896 (eval $ac_compile) 2>&5
6898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6899 (exit $ac_status); }; then
6900 case `/usr/bin/file conftest.o` in
6904 LD="${LD-ld} -m elf_i386
"
6906 ppc64-*linux*|powerpc64-*linux*)
6907 LD="${LD-ld} -m elf32ppclinux
"
6910 LD="${LD-ld} -m elf_s390
"
6913 LD="${LD-ld} -m elf32_sparc
"
6920 LD="${LD-ld} -m elf_x86_64
"
6922 ppc*-*linux*|powerpc*-*linux*)
6923 LD="${LD-ld} -m elf64ppc
"
6926 LD="${LD-ld} -m elf64_s390
"
6929 LD="${LD-ld} -m elf64_sparc
"
6939 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6940 SAVE_CFLAGS="$CFLAGS"
6941 CFLAGS="$CFLAGS -belf"
6942 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6943 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
6944 if test "${lt_cv_cc_needs_belf+set}" = set; then
6945 echo $ECHO_N "(cached
) $ECHO_C" >&6
6948 ac_cpp='$CPP $CPPFLAGS'
6949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6953 cat >conftest.$ac_ext <<_ACEOF
6956 cat confdefs.h >>conftest.$ac_ext
6957 cat >>conftest.$ac_ext <<_ACEOF
6958 /* end confdefs.h. */
6968 rm -f conftest.$ac_objext conftest$ac_exeext
6969 if { (ac_try="$ac_link"
6971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6972 *) ac_try_echo=$ac_try;;
6974 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6975 (eval "$ac_link") 2>conftest.er1
6977 grep -v '^ *+' conftest.er1 >conftest.err
6979 cat conftest.err >&5
6980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6981 (exit $ac_status); } && {
6982 test -z "$ac_c_werror_flag" ||
6983 test ! -s conftest.err
6984 } && test -s conftest$ac_exeext &&
6985 $as_test_x conftest$ac_exeext; then
6986 lt_cv_cc_needs_belf=yes
6988 echo "$as_me: failed program was
:" >&5
6989 sed 's/^/| /' conftest.$ac_ext >&5
6991 lt_cv_cc_needs_belf=no
6994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6995 conftest$ac_exeext conftest.$ac_ext
6997 ac_cpp='$CPP $CPPFLAGS'
6998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7003 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7004 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7005 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7006 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7007 CFLAGS="$SAVE_CFLAGS"
7011 # Find out which ABI we are using.
7012 echo 'int i;' > conftest.$ac_ext
7013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7014 (eval $ac_compile) 2>&5
7016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7017 (exit $ac_status); }; then
7018 case `/usr/bin/file conftest.o` in
7020 case $lt_cv_prog_gnu_ld in
7021 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7022 *) LD="${LD-ld} -64" ;;
7033 need_locks="$enable_libtool_lock"
7037 ac_cpp='$CPP $CPPFLAGS'
7038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7041 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
7042 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
7043 # On Suns, sometimes $CPP names a directory.
7044 if test -n "$CPP" && test -d "$CPP"; then
7047 if test -z "$CPP"; then
7048 if test "${ac_cv_prog_CPP+set}" = set; then
7049 echo $ECHO_N "(cached
) $ECHO_C" >&6
7051 # Double quotes because CPP needs to be expanded
7052 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7055 for ac_c_preproc_warn_flag in '' yes
7057 # Use a header file that comes with gcc, so configuring glibc
7058 # with a fresh cross-compiler works.
7059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7060 # <limits.h> exists even on freestanding compilers.
7061 # On the NeXT, cc -E runs the code through the compiler's parser,
7062 # not just through cpp. "Syntax error
" is here to catch this case.
7063 cat >conftest.$ac_ext <<_ACEOF
7066 cat confdefs.h >>conftest.$ac_ext
7067 cat >>conftest.$ac_ext <<_ACEOF
7068 /* end confdefs.h. */
7070 # include <limits.h>
7072 # include <assert.h>
7076 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7079 *) ac_try_echo=$ac_try;;
7081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7082 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7084 grep -v '^ *+' conftest.er1 >conftest.err
7086 cat conftest.err >&5
7087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7088 (exit $ac_status); } >/dev/null && {
7089 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7090 test ! -s conftest.err
7094 echo "$as_me: failed program was
:" >&5
7095 sed 's/^/| /' conftest.$ac_ext >&5
7097 # Broken: fails on valid input.
7101 rm -f conftest.err conftest.$ac_ext
7103 # OK, works on sane cases. Now check whether nonexistent headers
7104 # can be detected and how.
7105 cat >conftest.$ac_ext <<_ACEOF
7108 cat confdefs.h >>conftest.$ac_ext
7109 cat >>conftest.$ac_ext <<_ACEOF
7110 /* end confdefs.h. */
7111 #include <ac_nonexistent.h>
7113 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7116 *) ac_try_echo=$ac_try;;
7118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7119 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7121 grep -v '^ *+' conftest.er1 >conftest.err
7123 cat conftest.err >&5
7124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7125 (exit $ac_status); } >/dev/null && {
7126 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7127 test ! -s conftest.err
7129 # Broken: success on invalid input.
7132 echo "$as_me: failed program was
:" >&5
7133 sed 's/^/| /' conftest.$ac_ext >&5
7135 # Passes both tests.
7140 rm -f conftest.err conftest.$ac_ext
7143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7144 rm -f conftest.err conftest.$ac_ext
7145 if $ac_preproc_ok; then
7157 { echo "$as_me:$LINENO: result
: $CPP" >&5
7158 echo "${ECHO_T}$CPP" >&6; }
7160 for ac_c_preproc_warn_flag in '' yes
7162 # Use a header file that comes with gcc, so configuring glibc
7163 # with a fresh cross-compiler works.
7164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7165 # <limits.h> exists even on freestanding compilers.
7166 # On the NeXT, cc -E runs the code through the compiler's parser,
7167 # not just through cpp. "Syntax error
" is here to catch this case.
7168 cat >conftest.$ac_ext <<_ACEOF
7171 cat confdefs.h >>conftest.$ac_ext
7172 cat >>conftest.$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7175 # include <limits.h>
7177 # include <assert.h>
7181 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7184 *) ac_try_echo=$ac_try;;
7186 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7187 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7189 grep -v '^ *+' conftest.er1 >conftest.err
7191 cat conftest.err >&5
7192 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7193 (exit $ac_status); } >/dev/null && {
7194 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7195 test ! -s conftest.err
7199 echo "$as_me: failed program was
:" >&5
7200 sed 's/^/| /' conftest.$ac_ext >&5
7202 # Broken: fails on valid input.
7206 rm -f conftest.err conftest.$ac_ext
7208 # OK, works on sane cases. Now check whether nonexistent headers
7209 # can be detected and how.
7210 cat >conftest.$ac_ext <<_ACEOF
7213 cat confdefs.h >>conftest.$ac_ext
7214 cat >>conftest.$ac_ext <<_ACEOF
7215 /* end confdefs.h. */
7216 #include <ac_nonexistent.h>
7218 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7221 *) ac_try_echo=$ac_try;;
7223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7224 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7226 grep -v '^ *+' conftest.er1 >conftest.err
7228 cat conftest.err >&5
7229 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7230 (exit $ac_status); } >/dev/null && {
7231 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7232 test ! -s conftest.err
7234 # Broken: success on invalid input.
7237 echo "$as_me: failed program was
:" >&5
7238 sed 's/^/| /' conftest.$ac_ext >&5
7240 # Passes both tests.
7245 rm -f conftest.err conftest.$ac_ext
7248 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7249 rm -f conftest.err conftest.$ac_ext
7250 if $ac_preproc_ok; then
7253 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
7254 See \
`config.log' for more details." >&5
7255 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7256 See \`config.log
' for more details." >&2;}
7257 { (exit 1); exit 1; }; }
7261 ac_cpp='$CPP $CPPFLAGS'
7262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7263 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7267 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7268 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7269 if test "${ac_cv_header_stdc+set}" = set; then
7270 echo $ECHO_N "(cached) $ECHO_C" >&6
7272 cat >conftest.$ac_ext <<_ACEOF
7275 cat confdefs.h >>conftest.$ac_ext
7276 cat >>conftest.$ac_ext <<_ACEOF
7277 /* end confdefs.h. */
7291 rm -f conftest.$ac_objext
7292 if { (ac_try="$ac_compile"
7294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7295 *) ac_try_echo=$ac_try;;
7297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7298 (eval "$ac_compile") 2>conftest.er1
7300 grep -v '^
*+' conftest.er1 >conftest.err
7302 cat conftest.err >&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); } && {
7305 test -z "$ac_c_werror_flag" ||
7306 test ! -s conftest.err
7307 } && test -s conftest.$ac_objext; then
7308 ac_cv_header_stdc=yes
7310 echo "$as_me: failed program was:" >&5
7311 sed 's
/^
/|
/' conftest.$ac_ext >&5
7313 ac_cv_header_stdc=no
7316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7318 if test $ac_cv_header_stdc = yes; then
7319 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7320 cat >conftest.$ac_ext <<_ACEOF
7323 cat confdefs.h >>conftest.$ac_ext
7324 cat >>conftest.$ac_ext <<_ACEOF
7325 /* end confdefs.h. */
7329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7330 $EGREP "memchr" >/dev/null 2>&1; then
7333 ac_cv_header_stdc=no
7339 if test $ac_cv_header_stdc = yes; then
7340 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7341 cat >conftest.$ac_ext <<_ACEOF
7344 cat confdefs.h >>conftest.$ac_ext
7345 cat >>conftest.$ac_ext <<_ACEOF
7346 /* end confdefs.h. */
7350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7351 $EGREP "free" >/dev/null 2>&1; then
7354 ac_cv_header_stdc=no
7360 if test $ac_cv_header_stdc = yes; then
7361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7362 if test "$cross_compiling" = yes; then
7365 cat >conftest.$ac_ext <<_ACEOF
7368 cat confdefs.h >>conftest.$ac_ext
7369 cat >>conftest.$ac_ext <<_ACEOF
7370 /* end confdefs.h. */
7373 #if ((' ' & 0x0FF) == 0x020)
7374 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
7375 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
7377 # define ISLOWER(c) \
7378 (('a
' <= (c) && (c) <= 'i
') \
7379 || ('j
' <= (c) && (c) <= 'r
') \
7380 || ('s
' <= (c) && (c) <= 'z
'))
7381 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7384 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7389 for (i = 0; i < 256; i++)
7390 if (XOR (islower (i), ISLOWER (i))
7391 || toupper (i) != TOUPPER (i))
7396 rm -f conftest$ac_exeext
7397 if { (ac_try="$ac_link"
7399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7400 *) ac_try_echo=$ac_try;;
7402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7403 (eval "$ac_link") 2>&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
7407 { (case "(($ac_try" in
7408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7409 *) ac_try_echo=$ac_try;;
7411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7412 (eval "$ac_try") 2>&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); }; }; then
7418 echo "$as_me: program exited with status $ac_status" >&5
7419 echo "$as_me: failed program was:" >&5
7420 sed 's
/^
/|
/' conftest.$ac_ext >&5
7423 ac_cv_header_stdc=no
7425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7431 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7432 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7433 if test $ac_cv_header_stdc = yes; then
7435 cat >>confdefs.h <<\_ACEOF
7436 #define STDC_HEADERS 1
7441 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7451 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7452 inttypes.h stdint.h unistd.h
7454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7458 echo $ECHO_N "(cached) $ECHO_C" >&6
7460 cat >conftest.$ac_ext <<_ACEOF
7463 cat confdefs.h >>conftest.$ac_ext
7464 cat >>conftest.$ac_ext <<_ACEOF
7465 /* end confdefs.h. */
7466 $ac_includes_default
7468 #include <$ac_header>
7470 rm -f conftest.$ac_objext
7471 if { (ac_try="$ac_compile"
7473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7474 *) ac_try_echo=$ac_try;;
7476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7477 (eval "$ac_compile") 2>conftest.er1
7479 grep -v '^
*+' conftest.er1 >conftest.err
7481 cat conftest.err >&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); } && {
7484 test -z "$ac_c_werror_flag" ||
7485 test ! -s conftest.err
7486 } && test -s conftest.$ac_objext; then
7487 eval "$as_ac_Header=yes"
7489 echo "$as_me: failed program was:" >&5
7490 sed 's
/^
/|
/' conftest.$ac_ext >&5
7492 eval "$as_ac_Header=no"
7495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7497 ac_res=`eval echo '${'$as_ac_Header'}'`
7498 { echo "$as_me:$LINENO: result: $ac_res" >&5
7499 echo "${ECHO_T}$ac_res" >&6; }
7500 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7501 cat >>confdefs.h <<_ACEOF
7502 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7511 for ac_header in dlfcn.h
7513 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7515 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7518 echo $ECHO_N "(cached) $ECHO_C" >&6
7520 ac_res=`eval echo '${'$as_ac_Header'}'`
7521 { echo "$as_me:$LINENO: result: $ac_res" >&5
7522 echo "${ECHO_T}$ac_res" >&6; }
7524 # Is the header compilable?
7525 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7526 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7527 cat >conftest.$ac_ext <<_ACEOF
7530 cat confdefs.h >>conftest.$ac_ext
7531 cat >>conftest.$ac_ext <<_ACEOF
7532 /* end confdefs.h. */
7533 $ac_includes_default
7534 #include <$ac_header>
7536 rm -f conftest.$ac_objext
7537 if { (ac_try="$ac_compile"
7539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7540 *) ac_try_echo=$ac_try;;
7542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7543 (eval "$ac_compile") 2>conftest.er1
7545 grep -v '^
*+' conftest.er1 >conftest.err
7547 cat conftest.err >&5
7548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7549 (exit $ac_status); } && {
7550 test -z "$ac_c_werror_flag" ||
7551 test ! -s conftest.err
7552 } && test -s conftest.$ac_objext; then
7553 ac_header_compiler=yes
7555 echo "$as_me: failed program was:" >&5
7556 sed 's
/^
/|
/' conftest.$ac_ext >&5
7558 ac_header_compiler=no
7561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7562 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7563 echo "${ECHO_T}$ac_header_compiler" >&6; }
7565 # Is the header present?
7566 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7568 cat >conftest.$ac_ext <<_ACEOF
7571 cat confdefs.h >>conftest.$ac_ext
7572 cat >>conftest.$ac_ext <<_ACEOF
7573 /* end confdefs.h. */
7574 #include <$ac_header>
7576 if { (ac_try="$ac_cpp conftest.$ac_ext"
7578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7579 *) ac_try_echo=$ac_try;;
7581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7584 grep -v '^
*+' conftest.er1 >conftest.err
7586 cat conftest.err >&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); } >/dev/null && {
7589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7590 test ! -s conftest.err
7592 ac_header_preproc=yes
7594 echo "$as_me: failed program was:" >&5
7595 sed 's
/^
/|
/' conftest.$ac_ext >&5
7597 ac_header_preproc=no
7600 rm -f conftest.err conftest.$ac_ext
7601 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7602 echo "${ECHO_T}$ac_header_preproc" >&6; }
7604 # So? What about this header?
7605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7608 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
7610 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
7611 ac_header_preproc=yes
7614 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7615 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7616 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7617 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7618 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7619 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7620 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7621 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
7623 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
7624 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7625 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7627 ## -------------------------------- ##
7628 ## Report this to Hans.Boehm@hp.com ##
7629 ## -------------------------------- ##
7631 ) | sed "s/^/$as_me: WARNING: /" >&2
7634 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7636 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7637 echo $ECHO_N "(cached) $ECHO_C" >&6
7639 eval "$as_ac_Header=\$ac_header_preproc"
7641 ac_res=`eval echo '${'$as_ac_Header'}'`
7642 { echo "$as_me:$LINENO: result: $ac_res" >&5
7643 echo "${ECHO_T}$ac_res" >&6; }
7646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7647 cat >>confdefs.h <<_ACEOF
7648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7657 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7658 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7659 (test "X$CXX" != "Xg++"))) ; then
7661 ac_cpp='$CXXCPP $CPPFLAGS'
7662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7663 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7665 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7666 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7667 if test -z "$CXXCPP"; then
7668 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7669 echo $ECHO_N "(cached) $ECHO_C" >&6
7671 # Double quotes because CXXCPP needs to be expanded
7672 for CXXCPP in "$CXX -E" "/lib/cpp"
7675 for ac_cxx_preproc_warn_flag in '' yes
7677 # Use a header file that comes with gcc, so configuring glibc
7678 # with a fresh cross-compiler works.
7679 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7680 # <limits.h> exists even on freestanding compilers.
7681 # On the NeXT, cc -E runs the code through the compiler's parser
,
7682 # not just through cpp. "Syntax error" is here to catch this case.
7683 cat >conftest.
$ac_ext <<_ACEOF
7686 cat confdefs.h
>>conftest.
$ac_ext
7687 cat >>conftest.
$ac_ext <<_ACEOF
7688 /* end confdefs.h. */
7690 # include <limits.h>
7692 # include <assert.h>
7696 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7699 *) ac_try_echo=$ac_try;;
7701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7704 grep -v '^ *+' conftest.er1 >conftest.err
7706 cat conftest.err >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); } >/dev/null && {
7709 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7710 test ! -s conftest.err
7714 echo "$as_me: failed program was:" >&5
7715 sed 's/^/| /' conftest.$ac_ext >&5
7717 # Broken: fails on valid input.
7721 rm -f conftest.err conftest.$ac_ext
7723 # OK, works on sane cases. Now check whether nonexistent headers
7724 # can be detected and how.
7725 cat >conftest.$ac_ext <<_ACEOF
7728 cat confdefs.h >>conftest.$ac_ext
7729 cat >>conftest.$ac_ext <<_ACEOF
7730 /* end confdefs.h. */
7731 #include <ac_nonexistent.h>
7733 if { (ac_try="$ac_cpp conftest.$ac_ext"
7735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7736 *) ac_try_echo
=$ac_try;;
7738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7741 grep -v '^ *+' conftest.er1
>conftest.err
7743 cat conftest.err
>&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); } >/dev
/null
&& {
7746 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7747 test ! -s conftest.err
7749 # Broken: success on invalid input.
7752 echo "$as_me: failed program was:" >&5
7753 sed 's/^/| /' conftest.
$ac_ext >&5
7755 # Passes both tests.
7760 rm -f conftest.err conftest.
$ac_ext
7763 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7764 rm -f conftest.err conftest.
$ac_ext
7765 if $ac_preproc_ok; then
7770 ac_cv_prog_CXXCPP
=$CXXCPP
7773 CXXCPP
=$ac_cv_prog_CXXCPP
7775 ac_cv_prog_CXXCPP
=$CXXCPP
7777 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7778 echo "${ECHO_T}$CXXCPP" >&6; }
7780 for ac_cxx_preproc_warn_flag
in '' yes
7782 # Use a header file that comes with gcc, so configuring glibc
7783 # with a fresh cross-compiler works.
7784 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7785 # <limits.h> exists even on freestanding compilers.
7786 # On the NeXT, cc -E runs the code through the compiler's parser,
7787 # not just through cpp. "Syntax error" is here to catch this case.
7788 cat >conftest.
$ac_ext <<_ACEOF
7791 cat confdefs.h
>>conftest.
$ac_ext
7792 cat >>conftest.
$ac_ext <<_ACEOF
7793 /* end confdefs.h. */
7795 # include <limits.h>
7797 # include <assert.h>
7801 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7804 *) ac_try_echo=$ac_try;;
7806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7807 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7809 grep -v '^ *+' conftest.er1 >conftest.err
7811 cat conftest.err >&5
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 (exit $ac_status); } >/dev/null && {
7814 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7815 test ! -s conftest.err
7819 echo "$as_me: failed program was:" >&5
7820 sed 's/^/| /' conftest.$ac_ext >&5
7822 # Broken: fails on valid input.
7826 rm -f conftest.err conftest.$ac_ext
7828 # OK, works on sane cases. Now check whether nonexistent headers
7829 # can be detected and how.
7830 cat >conftest.$ac_ext <<_ACEOF
7833 cat confdefs.h >>conftest.$ac_ext
7834 cat >>conftest.$ac_ext <<_ACEOF
7835 /* end confdefs.h. */
7836 #include <ac_nonexistent.h>
7838 if { (ac_try="$ac_cpp conftest.$ac_ext"
7840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7841 *) ac_try_echo
=$ac_try;;
7843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7846 grep -v '^ *+' conftest.er1
>conftest.err
7848 cat conftest.err
>&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); } >/dev
/null
&& {
7851 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7852 test ! -s conftest.err
7854 # Broken: success on invalid input.
7857 echo "$as_me: failed program was:" >&5
7858 sed 's/^/| /' conftest.
$ac_ext >&5
7860 # Passes both tests.
7865 rm -f conftest.err conftest.
$ac_ext
7868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7869 rm -f conftest.err conftest.
$ac_ext
7870 if $ac_preproc_ok; then
7873 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7874 See \`config.log' for more details." >&5
7875 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7876 See \`config.log' for more details." >&2;}
7877 { (exit 1); exit 1; }; }
7881 ac_cpp
='$CXXCPP $CPPFLAGS'
7882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7890 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7891 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7892 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
7893 if test -n "$ac_tool_prefix"; then
7894 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7897 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7900 if test "${ac_cv_prog_F77+set}" = set; then
7901 echo $ECHO_N "(cached) $ECHO_C" >&6
7903 if test -n "$F77"; then
7904 ac_cv_prog_F77
="$F77" # Let the user override the test.
7906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7910 test -z "$as_dir" && as_dir
=.
7911 for ac_exec_ext
in '' $ac_executable_extensions; do
7912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7913 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
7914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7924 if test -n "$F77"; then
7925 { echo "$as_me:$LINENO: result: $F77" >&5
7926 echo "${ECHO_T}$F77" >&6; }
7928 { echo "$as_me:$LINENO: result: no" >&5
7929 echo "${ECHO_T}no" >&6; }
7933 test -n "$F77" && break
7936 if test -z "$F77"; then
7938 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7940 # Extract the first word of "$ac_prog", so it can be a program name with args.
7941 set dummy
$ac_prog; ac_word
=$2
7942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7944 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7945 echo $ECHO_N "(cached) $ECHO_C" >&6
7947 if test -n "$ac_ct_F77"; then
7948 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
7950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7954 test -z "$as_dir" && as_dir
=.
7955 for ac_exec_ext
in '' $ac_executable_extensions; do
7956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7957 ac_cv_prog_ac_ct_F77
="$ac_prog"
7958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7967 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
7968 if test -n "$ac_ct_F77"; then
7969 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7970 echo "${ECHO_T}$ac_ct_F77" >&6; }
7972 { echo "$as_me:$LINENO: result: no" >&5
7973 echo "${ECHO_T}no" >&6; }
7977 test -n "$ac_ct_F77" && break
7980 if test "x$ac_ct_F77" = x
; then
7983 case $cross_compiling:$ac_tool_warned in
7985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7986 whose name does not start with the host triplet. If you think this
7987 configuration is useful to you, please write to autoconf@gnu.org." >&5
7988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7989 whose name does not start with the host triplet. If you think this
7990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7991 ac_tool_warned
=yes ;;
7998 # Provide some information about the compiler.
7999 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
8000 ac_compiler
=`set X $ac_compile; echo $2`
8001 { (ac_try
="$ac_compiler --version >&5"
8003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8004 *) ac_try_echo=$ac_try;;
8006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8007 (eval "$ac_compiler --version >&5") 2>&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); }
8011 { (ac_try="$ac_compiler -v >&5"
8013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8014 *) ac_try_echo
=$ac_try;;
8016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8017 (eval "$ac_compiler -v >&5") 2>&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); }
8021 { (ac_try
="$ac_compiler -V >&5"
8023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8024 *) ac_try_echo=$ac_try;;
8026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8027 (eval "$ac_compiler -V >&5") 2>&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); }
8033 # If we don't use `.F
' as extension, the preprocessor is not run on the
8034 # input file. (Note that this only needs to work for GNU compilers.)
8037 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8038 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
8039 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8040 echo $ECHO_N "(cached) $ECHO_C" >&6
8042 cat >conftest.$ac_ext <<_ACEOF
8050 rm -f conftest.$ac_objext
8051 if { (ac_try="$ac_compile"
8053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8054 *) ac_try_echo=$ac_try;;
8056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8057 (eval "$ac_compile") 2>conftest.er1
8059 grep -v '^
*+' conftest.er1 >conftest.err
8061 cat conftest.err >&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); } && {
8064 test -z "$ac_f77_werror_flag" ||
8065 test ! -s conftest.err
8066 } && test -s conftest.$ac_objext; then
8069 echo "$as_me: failed program was:" >&5
8070 sed 's
/^
/|
/' conftest.$ac_ext >&5
8075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8076 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8079 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8080 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
8082 ac_test_FFLAGS=${FFLAGS+set}
8083 ac_save_FFLAGS=$FFLAGS
8085 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8086 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
8087 if test "${ac_cv_prog_f77_g+set}" = set; then
8088 echo $ECHO_N "(cached) $ECHO_C" >&6
8091 cat >conftest.$ac_ext <<_ACEOF
8096 rm -f conftest.$ac_objext
8097 if { (ac_try="$ac_compile"
8099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8100 *) ac_try_echo=$ac_try;;
8102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8103 (eval "$ac_compile") 2>conftest.er1
8105 grep -v '^
*+' conftest.er1 >conftest.err
8107 cat conftest.err >&5
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); } && {
8110 test -z "$ac_f77_werror_flag" ||
8111 test ! -s conftest.err
8112 } && test -s conftest.$ac_objext; then
8113 ac_cv_prog_f77_g=yes
8115 echo "$as_me: failed program was:" >&5
8116 sed 's
/^
/|
/' conftest.$ac_ext >&5
8121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8124 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8125 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
8126 if test "$ac_test_FFLAGS" = set; then
8127 FFLAGS=$ac_save_FFLAGS
8128 elif test $ac_cv_prog_f77_g = yes; then
8129 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8135 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8142 G77=`test $ac_compiler_gnu = yes && echo yes`
8144 ac_cpp='$CPP $CPPFLAGS'
8145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
8146 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
8147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8151 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
8153 # find the maximum length of command line arguments
8154 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8155 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
8156 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8157 echo $ECHO_N "(cached) $ECHO_C" >&6
8164 # On DJGPP, this test can blow up pretty badly due to problems in libc
8165 # (any single argument exceeding 2000 bytes causes a buffer overrun
8166 # during glob expansion). Even if it were fixed, the result of this
8167 # check would be larger than it should be.
8168 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
8172 # Under GNU Hurd, this test is not required because there is
8173 # no limit to the length of command line arguments.
8174 # Libtool will interpret -1 as no limit whatsoever
8175 lt_cv_sys_max_cmd_len
=-1;
8179 # On Win9x/ME, this test blows up -- it succeeds, but takes
8180 # about 5 minutes as the teststring grows exponentially.
8181 # Worse, since 9x/ME are not pre-emptively multitasking,
8182 # you end up with a "frozen" computer, even though with patience
8183 # the test eventually succeeds (with a max line length of 256k).
8184 # Instead, let's just punt: use the minimum linelength reported by
8185 # all of the supported platforms: 8192 (on NT/2K/XP).
8186 lt_cv_sys_max_cmd_len
=8192;
8190 # On AmigaOS with pdksh, this test takes hours, literally.
8191 # So we just punt and use a minimum line length of 8192.
8192 lt_cv_sys_max_cmd_len
=8192;
8195 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
8196 # This has been around since 386BSD, at least. Likely further.
8197 if test -x /sbin
/sysctl
; then
8198 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
8199 elif test -x /usr
/sbin
/sysctl
; then
8200 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
8202 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
8204 # And add a safety zone
8205 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8206 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8210 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8211 lt_cv_sys_max_cmd_len
=196608
8215 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8216 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8217 # nice to cause kernel panics so lets avoid the loop below.
8218 # First set a reasonable default.
8219 lt_cv_sys_max_cmd_len
=16384
8221 if test -x /sbin
/sysconfig
; then
8222 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8223 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
8228 lt_cv_sys_max_cmd_len
=102400
8230 sysv5
* | sco5v6
* | sysv4.2uw2
*)
8231 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8232 if test -n "$kargmax"; then
8233 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
8235 lt_cv_sys_max_cmd_len
=32768
8239 # If test is not a shell built-in, we'll probably end up computing a
8240 # maximum length that is only half of the actual maximum length, but
8242 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
8243 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
8244 = "XX$teststring") >/dev
/null
2>&1 &&
8245 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
8246 lt_cv_sys_max_cmd_len
=$new_result &&
8247 test $i != 17 # 1/2 MB should be enough
8250 teststring
=$teststring$teststring
8253 # Add a significant safety factor because C++ compilers can tack on massive
8254 # amounts of additional arguments before passing them to the linker.
8255 # It appears as though 1/2 is a usable value.
8256 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
8262 if test -n $lt_cv_sys_max_cmd_len ; then
8263 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8264 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8266 { echo "$as_me:$LINENO: result: none" >&5
8267 echo "${ECHO_T}none" >&6; }
8273 # Check for command to grab the raw symbol name followed by C symbol from nm.
8274 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8275 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8276 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8277 echo $ECHO_N "(cached) $ECHO_C" >&6
8280 # These are sane defaults that work on at least a few old systems.
8281 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8283 # Character class describing NM global symbol codes.
8284 symcode
='[BCDEGRST]'
8286 # Regexp to match symbols that can be accessed directly from C.
8287 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8289 # Transform an extracted symbol line into a proper C declaration
8290 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8292 # Transform an extracted symbol line into symbol name and symbol address
8293 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
8295 # Define system-specific variables.
8300 cygwin
* | mingw
* | pw32
*)
8301 symcode
='[ABCDGISTW]'
8303 hpux
*) # Its linker distinguishes data from code symbols
8304 if test "$host_cpu" = ia64
; then
8305 symcode
='[ABCDEGRST]'
8307 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8308 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
8311 if test "$host_cpu" = ia64
; then
8312 symcode
='[ABCDGIRSTW]'
8313 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8314 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
8318 symcode
='[BCDEGRST]'
8321 symcode
='[BCDEGQRST]'
8332 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8340 # Handle CRLF in mingw tool chain
8344 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8348 # If we're using GNU nm, then use its standard symbol codes.
8349 case `$NM -V 2>&1` in
8350 *GNU
* |
*'with BFD'*)
8351 symcode
='[ABCDGIRSTW]' ;;
8354 # Try without a prefix undercore, then with it.
8355 for ac_symprfx
in "" "_"; do
8357 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8358 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8360 # Write the raw and C identifiers.
8361 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8363 # Check to see that the pipe works correctly.
8367 cat > conftest.
$ac_ext <<EOF
8372 void nm_test_func(){}
8376 int main(){nm_test_var='a';nm_test_func();return(0);}
8379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8380 (eval $ac_compile) 2>&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); }; then
8384 # Now try to grab the symbols.
8386 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8387 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); } && test -s "$nlist"; then
8391 # Try sorting and uniquifying the output.
8392 if sort "$nlist" |
uniq > "$nlist"T
; then
8393 mv -f "$nlist"T
"$nlist"
8398 # Make sure that we snagged all the symbols we need.
8399 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
8400 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
8401 cat <<EOF > conftest.$ac_ext
8407 # Now generate the symbol file.
8408 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8410 cat <<EOF >> conftest.$ac_ext
8411 #if defined (__STDC__) && __STDC__
8412 # define lt_ptr_t void *
8414 # define lt_ptr_t char *
8418 /* The mapping between symbol names and symbols. */
8423 lt_preloaded_symbols[] =
8426 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
8427 cat <<\EOF
>> conftest.
$ac_ext
8435 # Now try linking the two files.
8436 mv conftest.
$ac_objext conftstm.
$ac_objext
8437 lt_save_LIBS
="$LIBS"
8438 lt_save_CFLAGS
="$CFLAGS"
8439 LIBS
="conftstm.$ac_objext"
8440 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8442 (eval $ac_link) 2>&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
8448 LIBS
="$lt_save_LIBS"
8449 CFLAGS
="$lt_save_CFLAGS"
8451 echo "cannot find nm_test_func in $nlist" >&5
8454 echo "cannot find nm_test_var in $nlist" >&5
8457 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8460 echo "$progname: failed program was:" >&5
8461 cat conftest.
$ac_ext >&5
8463 rm -f conftest
* conftst
*
8465 # Do not use the global_symbol_pipe unless it works.
8466 if test "$pipe_works" = yes; then
8469 lt_cv_sys_global_symbol_pipe
=
8475 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8476 lt_cv_sys_global_symbol_to_cdecl
=
8478 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8479 { echo "$as_me:$LINENO: result: failed" >&5
8480 echo "${ECHO_T}failed" >&6; }
8482 { echo "$as_me:$LINENO: result: ok" >&5
8483 echo "${ECHO_T}ok" >&6; }
8486 { echo "$as_me:$LINENO: checking for objdir" >&5
8487 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8488 if test "${lt_cv_objdir+set}" = set; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8491 rm -f .libs
2>/dev
/null
8492 mkdir .libs
2>/dev
/null
8493 if test -d .libs
; then
8496 # MS-DOS does not allow filenames that begin with a dot.
8499 rmdir .libs
2>/dev
/null
8501 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8502 echo "${ECHO_T}$lt_cv_objdir" >&6; }
8503 objdir
=$lt_cv_objdir
8511 # AIX sometimes has problems with the GCC collect2 program. For some
8512 # reason, if we set the COLLECT_NAMES environment variable, the problems
8513 # vanish in a puff of smoke.
8514 if test "X${COLLECT_NAMES+set}" != Xset
; then
8516 export COLLECT_NAMES
8521 # Sed substitution that helps us do robust quoting. It backslashifies
8522 # metacharacters that are still active within double-quoted strings.
8523 Xsed
='sed -e 1s/^X//'
8524 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
8526 # Same as above, but do not quote variable references.
8527 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
8529 # Sed substitution to delay expansion of an escaped shell variable in a
8530 # double_quote_subst'ed string.
8531 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8533 # Sed substitution to avoid accidental globbing in evaled expressions
8534 no_glob_subst
='s/\*/\\\*/g'
8540 default_ofile
=libtool
8541 can_build_shared
=yes
8543 # All known linkers require a `.a' archive for static linking (except MSVC,
8544 # which needs '.lib').
8546 ltmain
="$ac_aux_dir/ltmain.sh"
8547 ofile
="$default_ofile"
8548 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8550 if test -n "$ac_tool_prefix"; then
8551 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8552 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8555 if test "${ac_cv_prog_AR+set}" = set; then
8556 echo $ECHO_N "(cached) $ECHO_C" >&6
8558 if test -n "$AR"; then
8559 ac_cv_prog_AR
="$AR" # Let the user override the test.
8561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8565 test -z "$as_dir" && as_dir
=.
8566 for ac_exec_ext
in '' $ac_executable_extensions; do
8567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8568 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8579 if test -n "$AR"; then
8580 { echo "$as_me:$LINENO: result: $AR" >&5
8581 echo "${ECHO_T}$AR" >&6; }
8583 { echo "$as_me:$LINENO: result: no" >&5
8584 echo "${ECHO_T}no" >&6; }
8589 if test -z "$ac_cv_prog_AR"; then
8591 # Extract the first word of "ar", so it can be a program name with args.
8592 set dummy
ar; ac_word
=$2
8593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8595 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8596 echo $ECHO_N "(cached) $ECHO_C" >&6
8598 if test -n "$ac_ct_AR"; then
8599 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8605 test -z "$as_dir" && as_dir
=.
8606 for ac_exec_ext
in '' $ac_executable_extensions; do
8607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8608 ac_cv_prog_ac_ct_AR
="ar"
8609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8618 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8619 if test -n "$ac_ct_AR"; then
8620 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8621 echo "${ECHO_T}$ac_ct_AR" >&6; }
8623 { echo "$as_me:$LINENO: result: no" >&5
8624 echo "${ECHO_T}no" >&6; }
8627 if test "x$ac_ct_AR" = x
; then
8630 case $cross_compiling:$ac_tool_warned in
8632 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8633 whose name does not start with the host triplet. If you think this
8634 configuration is useful to you, please write to autoconf@gnu.org." >&5
8635 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8636 whose name does not start with the host triplet. If you think this
8637 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8638 ac_tool_warned
=yes ;;
8646 if test -n "$ac_tool_prefix"; then
8647 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8648 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8651 if test "${ac_cv_prog_RANLIB+set}" = set; then
8652 echo $ECHO_N "(cached) $ECHO_C" >&6
8654 if test -n "$RANLIB"; then
8655 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8661 test -z "$as_dir" && as_dir
=.
8662 for ac_exec_ext
in '' $ac_executable_extensions; do
8663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8664 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8674 RANLIB
=$ac_cv_prog_RANLIB
8675 if test -n "$RANLIB"; then
8676 { echo "$as_me:$LINENO: result: $RANLIB" >&5
8677 echo "${ECHO_T}$RANLIB" >&6; }
8679 { echo "$as_me:$LINENO: result: no" >&5
8680 echo "${ECHO_T}no" >&6; }
8685 if test -z "$ac_cv_prog_RANLIB"; then
8686 ac_ct_RANLIB
=$RANLIB
8687 # Extract the first word of "ranlib", so it can be a program name with args.
8688 set dummy ranlib
; ac_word
=$2
8689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8691 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8692 echo $ECHO_N "(cached) $ECHO_C" >&6
8694 if test -n "$ac_ct_RANLIB"; then
8695 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8701 test -z "$as_dir" && as_dir
=.
8702 for ac_exec_ext
in '' $ac_executable_extensions; do
8703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8704 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8714 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8715 if test -n "$ac_ct_RANLIB"; then
8716 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8717 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8719 { echo "$as_me:$LINENO: result: no" >&5
8720 echo "${ECHO_T}no" >&6; }
8723 if test "x$ac_ct_RANLIB" = x
; then
8726 case $cross_compiling:$ac_tool_warned in
8728 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8729 whose name does not start with the host triplet. If you think this
8730 configuration is useful to you, please write to autoconf@gnu.org." >&5
8731 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8732 whose name does not start with the host triplet. If you think this
8733 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8734 ac_tool_warned
=yes ;;
8736 RANLIB
=$ac_ct_RANLIB
8739 RANLIB
="$ac_cv_prog_RANLIB"
8742 if test -n "$ac_tool_prefix"; then
8743 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8744 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8747 if test "${ac_cv_prog_STRIP+set}" = set; then
8748 echo $ECHO_N "(cached) $ECHO_C" >&6
8750 if test -n "$STRIP"; then
8751 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8757 test -z "$as_dir" && as_dir
=.
8758 for ac_exec_ext
in '' $ac_executable_extensions; do
8759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8760 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8770 STRIP
=$ac_cv_prog_STRIP
8771 if test -n "$STRIP"; then
8772 { echo "$as_me:$LINENO: result: $STRIP" >&5
8773 echo "${ECHO_T}$STRIP" >&6; }
8775 { echo "$as_me:$LINENO: result: no" >&5
8776 echo "${ECHO_T}no" >&6; }
8781 if test -z "$ac_cv_prog_STRIP"; then
8783 # Extract the first word of "strip", so it can be a program name with args.
8784 set dummy strip
; ac_word
=$2
8785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8787 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8788 echo $ECHO_N "(cached) $ECHO_C" >&6
8790 if test -n "$ac_ct_STRIP"; then
8791 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8797 test -z "$as_dir" && as_dir
=.
8798 for ac_exec_ext
in '' $ac_executable_extensions; do
8799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8800 ac_cv_prog_ac_ct_STRIP
="strip"
8801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8810 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8811 if test -n "$ac_ct_STRIP"; then
8812 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8813 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8815 { echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6; }
8819 if test "x$ac_ct_STRIP" = x
; then
8822 case $cross_compiling:$ac_tool_warned in
8824 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8825 whose name does not start with the host triplet. If you think this
8826 configuration is useful to you, please write to autoconf@gnu.org." >&5
8827 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8828 whose name does not start with the host triplet. If you think this
8829 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8830 ac_tool_warned
=yes ;;
8835 STRIP
="$ac_cv_prog_STRIP"
8840 old_CFLAGS
="$CFLAGS"
8842 # Set sane defaults for various variables
8843 test -z "$AR" && AR
=ar
8844 test -z "$AR_FLAGS" && AR_FLAGS
=cru
8845 test -z "$AS" && AS
=as
8846 test -z "$CC" && CC
=cc
8847 test -z "$LTCC" && LTCC
=$CC
8848 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8849 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8850 test -z "$LD" && LD
=ld
8851 test -z "$LN_S" && LN_S
="ln -s"
8852 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8853 test -z "$NM" && NM
=nm
8854 test -z "$SED" && SED
=sed
8855 test -z "$OBJDUMP" && OBJDUMP
=objdump
8856 test -z "$RANLIB" && RANLIB
=:
8857 test -z "$STRIP" && STRIP
=:
8858 test -z "$ac_objext" && ac_objext
=o
8860 # Determine commands to create old-style static archives.
8861 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
8862 old_postinstall_cmds
='chmod 644 $oldlib'
8863 old_postuninstall_cmds
=
8865 if test -n "$RANLIB"; then
8868 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8871 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8874 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8877 for cc_temp
in $compiler""; do
8879 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8880 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8885 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8888 # Only perform the check for file, if the check method requires it
8889 case $deplibs_check_method in
8891 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8892 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8893 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8894 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8899 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8902 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8903 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8904 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8905 for ac_dir
in $ac_dummy; do
8907 test -z "$ac_dir" && ac_dir
=.
8908 if test -f $ac_dir/${ac_tool_prefix}file; then
8909 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8910 if test -n "$file_magic_test_file"; then
8911 case $deplibs_check_method in
8913 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8914 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8915 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8916 $EGREP "$file_magic_regex" > /dev
/null
; then
8921 *** Warning: the command libtool uses to detect shared libraries,
8922 *** $file_magic_cmd, produces output that libtool cannot recognize.
8923 *** The result is that libtool may fail to recognize shared libraries
8924 *** as such. This will affect the creation of libtool libraries that
8925 *** depend on shared libraries, but programs linked with such libtool
8926 *** libraries will work regardless of this problem. Nevertheless, you
8927 *** may want to report the problem to your system manager and/or to
8928 *** bug-libtool@gnu.org
8938 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8943 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8944 if test -n "$MAGIC_CMD"; then
8945 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8946 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8948 { echo "$as_me:$LINENO: result: no" >&5
8949 echo "${ECHO_T}no" >&6; }
8952 if test -z "$lt_cv_path_MAGIC_CMD"; then
8953 if test -n "$ac_tool_prefix"; then
8954 { echo "$as_me:$LINENO: checking for file" >&5
8955 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8956 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8957 echo $ECHO_N "(cached) $ECHO_C" >&6
8961 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8964 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8965 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8966 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8967 for ac_dir
in $ac_dummy; do
8969 test -z "$ac_dir" && ac_dir
=.
8970 if test -f $ac_dir/file; then
8971 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8972 if test -n "$file_magic_test_file"; then
8973 case $deplibs_check_method in
8975 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8976 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8977 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8978 $EGREP "$file_magic_regex" > /dev
/null
; then
8983 *** Warning: the command libtool uses to detect shared libraries,
8984 *** $file_magic_cmd, produces output that libtool cannot recognize.
8985 *** The result is that libtool may fail to recognize shared libraries
8986 *** as such. This will affect the creation of libtool libraries that
8987 *** depend on shared libraries, but programs linked with such libtool
8988 *** libraries will work regardless of this problem. Nevertheless, you
8989 *** may want to report the problem to your system manager and/or to
8990 *** bug-libtool@gnu.org
9000 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9005 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9006 if test -n "$MAGIC_CMD"; then
9007 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9008 echo "${ECHO_T}$MAGIC_CMD" >&6; }
9010 { echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6; }
9026 # Check whether --enable-libtool-lock was given.
9027 if test "${enable_libtool_lock+set}" = set; then
9028 enableval
=$enable_libtool_lock;
9031 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
9034 # Check whether --with-pic was given.
9035 if test "${with_pic+set}" = set; then
9036 withval
=$with_pic; pic_mode
="$withval"
9041 test -z "$pic_mode" && pic_mode
=default
9043 # Use C for the default configuration in the libtool script
9047 ac_cpp
='$CPP $CPPFLAGS'
9048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9053 # Source file extension for C test sources.
9056 # Object file extension for compiled C test sources.
9060 # Code to be used in simple compile tests
9061 lt_simple_compile_test_code
="int some_variable = 0;\n"
9063 # Code to be used in simple link tests
9064 lt_simple_link_test_code
='int main(){return(0);}\n'
9067 # If no C compiler was specified, use CC.
9070 # If no C compiler flags were specified, use CFLAGS.
9071 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9073 # Allow CC to be a program name with arguments.
9077 # save warnings/boilerplate of simple test code
9078 ac_outfile
=conftest.
$ac_objext
9079 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
9080 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9081 _lt_compiler_boilerplate
=`cat conftest.err`
9084 ac_outfile
=conftest.
$ac_objext
9085 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
9086 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9087 _lt_linker_boilerplate
=`cat conftest.err`
9092 ## There is no encapsulation within the following macros, do not change
9093 ## the running order or otherwise move them around unless you know exactly
9094 ## what you are doing...
9096 lt_prog_compiler_no_builtin_flag
=
9098 if test "$GCC" = yes; then
9099 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
9102 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9103 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9104 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9105 echo $ECHO_N "(cached) $ECHO_C" >&6
9107 lt_cv_prog_compiler_rtti_exceptions
=no
9108 ac_outfile
=conftest.
$ac_objext
9109 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9110 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9111 # Insert the option either (1) after the last *FLAGS variable, or
9112 # (2) before a word containing "conftest.", or (3) at the end.
9113 # Note that $ac_compile itself does not contain backslashes and begins
9114 # with a dollar sign (not a hyphen), so the echo should work correctly.
9115 # The option is referenced via a variable to avoid confusing sed.
9116 lt_compile
=`echo "$ac_compile" | $SED \
9117 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9118 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9119 -e 's:$: $lt_compiler_flag:'`
9120 (eval echo "\"\$as_me:9120: $lt_compile\"" >&5)
9121 (eval "$lt_compile" 2>conftest.err
)
9123 cat conftest.err
>&5
9124 echo "$as_me:9124: \$? = $ac_status" >&5
9125 if (exit $ac_status) && test -s "$ac_outfile"; then
9126 # The compiler can only warn and ignore the option if not recognized
9127 # So say no if there are warnings other than the usual output.
9128 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9129 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9130 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9131 lt_cv_prog_compiler_rtti_exceptions
=yes
9137 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9138 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9140 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9141 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9148 lt_prog_compiler_wl
=
9149 lt_prog_compiler_pic
=
9150 lt_prog_compiler_static
=
9152 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9153 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9155 if test "$GCC" = yes; then
9156 lt_prog_compiler_wl
='-Wl,'
9157 lt_prog_compiler_static
='-static'
9161 # All AIX code is PIC.
9162 if test "$host_cpu" = ia64
; then
9163 # AIX 5 now supports IA64 processor
9164 lt_prog_compiler_static
='-Bstatic'
9169 # FIXME: we need at least 68020 code to build shared libraries, but
9170 # adding the `-m68020' flag to GCC prevents building anything better,
9172 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9175 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9176 # PIC is the default for these OSes.
9179 mingw
* | pw32
* | os2
*)
9180 # This hack is so that the source file can tell whether it is being
9181 # built for inclusion in a dll (and should export symbols for example).
9182 lt_prog_compiler_pic
='-DDLL_EXPORT'
9185 darwin
* | rhapsody
*)
9186 # PIC is the default on this platform
9187 # Common symbols not allowed in MH_DYLIB files
9188 lt_prog_compiler_pic
='-fno-common'
9192 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9193 # Instead, we relocate shared libraries at runtime.
9197 # Just because we use GCC doesn't mean we suddenly get shared libraries
9198 # on systems that don't support them.
9199 lt_prog_compiler_can_build_shared
=no
9204 if test -d /usr
/nec
; then
9205 lt_prog_compiler_pic
=-Kconform_pic
9210 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9217 lt_prog_compiler_pic
='-fPIC'
9223 lt_prog_compiler_pic
='-fPIC'
9227 # PORTME Check for flag to pass linker flags through the system compiler.
9230 lt_prog_compiler_wl
='-Wl,'
9231 if test "$host_cpu" = ia64
; then
9232 # AIX 5 now supports IA64 processor
9233 lt_prog_compiler_static
='-Bstatic'
9235 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9239 # PIC is the default on this platform
9240 # Common symbols not allowed in MH_DYLIB files
9241 case $cc_basename in
9243 lt_prog_compiler_pic
='-qnocommon'
9244 lt_prog_compiler_wl
='-Wl,'
9249 mingw
* | pw32
* | os2
*)
9250 # This hack is so that the source file can tell whether it is being
9251 # built for inclusion in a dll (and should export symbols for example).
9252 lt_prog_compiler_pic
='-DDLL_EXPORT'
9255 hpux9
* | hpux10
* | hpux11
*)
9256 lt_prog_compiler_wl
='-Wl,'
9257 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9264 lt_prog_compiler_pic
='+Z'
9267 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9268 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9271 irix5
* | irix6
* | nonstopux
*)
9272 lt_prog_compiler_wl
='-Wl,'
9273 # PIC (with -KPIC) is the default.
9274 lt_prog_compiler_static
='-non_shared'
9278 lt_prog_compiler_pic
='-KPIC'
9279 lt_prog_compiler_static
='-Bstatic'
9283 case $cc_basename in
9285 lt_prog_compiler_wl
='-Wl,'
9286 lt_prog_compiler_pic
='-KPIC'
9287 lt_prog_compiler_static
='-static'
9289 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
9290 # Portland Group compilers (*not* the Pentium gcc compiler,
9291 # which looks to be a dead project)
9292 lt_prog_compiler_wl
='-Wl,'
9293 lt_prog_compiler_pic
='-fpic'
9294 lt_prog_compiler_static
='-Bstatic'
9297 lt_prog_compiler_wl
='-Wl,'
9298 # All Alpha code is PIC.
9299 lt_prog_compiler_static
='-non_shared'
9304 osf3
* | osf4
* | osf5
*)
9305 lt_prog_compiler_wl
='-Wl,'
9306 # All OSF/1 code is PIC.
9307 lt_prog_compiler_static
='-non_shared'
9311 lt_prog_compiler_pic
='-KPIC'
9312 lt_prog_compiler_static
='-Bstatic'
9313 case $cc_basename in
9315 lt_prog_compiler_wl
='-Qoption ld ';;
9317 lt_prog_compiler_wl
='-Wl,';;
9322 lt_prog_compiler_wl
='-Qoption ld '
9323 lt_prog_compiler_pic
='-PIC'
9324 lt_prog_compiler_static
='-Bstatic'
9327 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9328 lt_prog_compiler_wl
='-Wl,'
9329 lt_prog_compiler_pic
='-KPIC'
9330 lt_prog_compiler_static
='-Bstatic'
9334 if test -d /usr
/nec
;then
9335 lt_prog_compiler_pic
='-Kconform_pic'
9336 lt_prog_compiler_static
='-Bstatic'
9340 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9341 lt_prog_compiler_wl
='-Wl,'
9342 lt_prog_compiler_pic
='-KPIC'
9343 lt_prog_compiler_static
='-Bstatic'
9347 lt_prog_compiler_wl
='-Wl,'
9348 lt_prog_compiler_can_build_shared
=no
9352 lt_prog_compiler_pic
='-pic'
9353 lt_prog_compiler_static
='-Bstatic'
9357 lt_prog_compiler_can_build_shared
=no
9362 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9363 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9366 # Check to make sure the PIC flag actually works.
9368 if test -n "$lt_prog_compiler_pic"; then
9370 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9371 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9372 if test "${lt_prog_compiler_pic_works+set}" = set; then
9373 echo $ECHO_N "(cached) $ECHO_C" >&6
9375 lt_prog_compiler_pic_works
=no
9376 ac_outfile
=conftest.
$ac_objext
9377 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9378 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9379 # Insert the option either (1) after the last *FLAGS variable, or
9380 # (2) before a word containing "conftest.", or (3) at the end.
9381 # Note that $ac_compile itself does not contain backslashes and begins
9382 # with a dollar sign (not a hyphen), so the echo should work correctly.
9383 # The option is referenced via a variable to avoid confusing sed.
9384 lt_compile
=`echo "$ac_compile" | $SED \
9385 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9386 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9387 -e 's:$: $lt_compiler_flag:'`
9388 (eval echo "\"\$as_me:9388: $lt_compile\"" >&5)
9389 (eval "$lt_compile" 2>conftest.err
)
9391 cat conftest.err
>&5
9392 echo "$as_me:9392: \$? = $ac_status" >&5
9393 if (exit $ac_status) && test -s "$ac_outfile"; then
9394 # The compiler can only warn and ignore the option if not recognized
9395 # So say no if there are warnings other than the usual output.
9396 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9397 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9398 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9399 lt_prog_compiler_pic_works
=yes
9405 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9406 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
9408 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
9409 case $lt_prog_compiler_pic in
9411 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9414 lt_prog_compiler_pic
=
9415 lt_prog_compiler_can_build_shared
=no
9420 # For platforms which do not support PIC, -DPIC is meaningless:
9422 lt_prog_compiler_pic
=
9425 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9430 # Check to make sure the static flag actually works.
9432 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9433 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9434 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9435 if test "${lt_prog_compiler_static_works+set}" = set; then
9436 echo $ECHO_N "(cached) $ECHO_C" >&6
9438 lt_prog_compiler_static_works
=no
9439 save_LDFLAGS
="$LDFLAGS"
9440 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9441 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
9442 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9443 # The linker can only warn and ignore the option if not recognized
9444 # So say no if there are warnings
9445 if test -s conftest.err
; then
9446 # Append any errors to the config.log.
9447 cat conftest.err
1>&5
9448 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9449 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9450 if diff conftest.exp conftest.er2
>/dev
/null
; then
9451 lt_prog_compiler_static_works
=yes
9454 lt_prog_compiler_static_works
=yes
9458 LDFLAGS
="$save_LDFLAGS"
9461 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9462 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
9464 if test x
"$lt_prog_compiler_static_works" = xyes
; then
9467 lt_prog_compiler_static
=
9471 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9472 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9473 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9474 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 lt_cv_prog_compiler_c_o
=no
9477 $rm -r conftest
2>/dev
/null
9481 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9483 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9484 # Insert the option either (1) after the last *FLAGS variable, or
9485 # (2) before a word containing "conftest.", or (3) at the end.
9486 # Note that $ac_compile itself does not contain backslashes and begins
9487 # with a dollar sign (not a hyphen), so the echo should work correctly.
9488 lt_compile
=`echo "$ac_compile" | $SED \
9489 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9490 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9491 -e 's:$: $lt_compiler_flag:'`
9492 (eval echo "\"\$as_me:9492: $lt_compile\"" >&5)
9493 (eval "$lt_compile" 2>out
/conftest.err
)
9495 cat out
/conftest.err
>&5
9496 echo "$as_me:9496: \$? = $ac_status" >&5
9497 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9499 # The compiler can only warn and ignore the option if not recognized
9500 # So say no if there are warnings
9501 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9502 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9503 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9504 lt_cv_prog_compiler_c_o
=yes
9509 # SGI C++ compiler will create directory out/ii_files/ for
9510 # template instantiation
9511 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
9512 $rm out
/* && rmdir out
9518 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9519 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9522 hard_links
="nottested"
9523 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9524 # do not overwrite the value of need_locks provided by the user
9525 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9526 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9529 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9531 ln conftest.a conftest.b
2>&5 || hard_links
=no
9532 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9533 { echo "$as_me:$LINENO: result: $hard_links" >&5
9534 echo "${ECHO_T}$hard_links" >&6; }
9535 if test "$hard_links" = no
; then
9536 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9537 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9544 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9545 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9548 allow_undefined_flag
=
9549 enable_shared_with_static_runtimes
=no
9551 archive_expsym_cmds
=
9552 old_archive_From_new_cmds
=
9553 old_archive_from_expsyms_cmds
=
9554 export_dynamic_flag_spec
=
9555 whole_archive_flag_spec
=
9556 thread_safe_flag_spec
=
9557 hardcode_libdir_flag_spec
=
9558 hardcode_libdir_flag_spec_ld
=
9559 hardcode_libdir_separator
=
9562 hardcode_shlibpath_var
=unsupported
9563 link_all_deplibs
=unknown
9564 hardcode_automatic
=no
9567 always_export_symbols
=no
9568 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9569 # include_expsyms should be a list of space-separated symbols to be *always*
9570 # included in the symbol list
9572 # exclude_expsyms can be an extended regexp of symbols to exclude
9573 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9574 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9575 # as well as any symbol that contains `d'.
9576 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
9577 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9578 # platforms (ab)use it in PIC code, but their linkers get confused if
9579 # the symbol is explicitly referenced. Since portable code cannot
9580 # rely on this symbol name, it's probably fine to never include it in
9581 # preloaded symbol tables.
9582 extract_expsyms_cmds
=
9583 # Just being paranoid about ensuring that cc_basename is set.
9584 for cc_temp
in $compiler""; do
9586 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9587 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9592 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9595 cygwin
* | mingw
* | pw32
*)
9596 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9597 # When not using gcc, we currently assume that we are using
9598 # Microsoft Visual C++.
9599 if test "$GCC" != yes; then
9604 # we just hope/assume this is gcc and not c89 (= MSVC++)
9613 if test "$with_gnu_ld" = yes; then
9614 # If archive_cmds runs LD, not CC, wlarc should be empty
9617 # Set some defaults for GNU ld with shared library support. These
9618 # are reset later if shared libraries are not supported. Putting them
9619 # here allows them to be overridden if necessary.
9620 runpath_var
=LD_RUN_PATH
9621 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
9622 export_dynamic_flag_spec
='${wl}--export-dynamic'
9623 # ancient GNU ld didn't support --whole-archive et. al.
9624 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
9625 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9627 whole_archive_flag_spec
=
9629 supports_anon_versioning
=no
9630 case `$LD -v 2>/dev/null` in
9631 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9632 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9633 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9634 *\
2.11.
*) ;; # other 2.11 versions
9635 *) supports_anon_versioning
=yes ;;
9638 # See if GNU ld supports shared libraries.
9640 aix3
* | aix4
* | aix5
*)
9641 # On AIX/PPC, the GNU linker is very broken
9642 if test "$host_cpu" != ia64
; then
9646 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9647 *** to be unable to reliably create shared libraries on AIX.
9648 *** Therefore, libtool is disabling shared libraries support. If you
9649 *** really care for shared libraries, you may want to modify your PATH
9650 *** so that a non-GNU linker is found, and then restart.
9657 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)'
9658 hardcode_libdir_flag_spec
='-L$libdir'
9659 hardcode_minus_L
=yes
9661 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9662 # that the semantics of dynamic libraries on AmigaOS, at least up
9663 # to version 4, is to share data among multiple programs linked
9664 # with the same dynamic library. Since this doesn't match the
9665 # behavior of shared libraries on other platforms, we can't use
9671 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9672 allow_undefined_flag
=unsupported
9673 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9674 # support --undefined. This deserves some investigation. FIXME
9675 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9681 cygwin
* | mingw
* | pw32
*)
9682 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9683 # as there is no search path for DLLs.
9684 hardcode_libdir_flag_spec
='-L$libdir'
9685 allow_undefined_flag
=unsupported
9686 always_export_symbols
=no
9687 enable_shared_with_static_runtimes
=yes
9688 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
9690 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
9691 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9692 # If the export-symbols file already is a .def file (1st line
9693 # is EXPORTS), use it as is; otherwise, prepend...
9694 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9695 cp $export_symbols $output_objdir/$soname.def;
9697 echo EXPORTS > $output_objdir/$soname.def;
9698 cat $export_symbols >> $output_objdir/$soname.def;
9700 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9708 hardcode_shlibpath_var
=no
9709 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9710 export_dynamic_flag_spec
='${wl}-E'
9711 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9712 # Instead, shared libraries are loaded at an image base (0x10000000 by
9713 # default) and relocated if they conflict, which is a slow very memory
9714 # consuming and fragmenting process. To avoid this, we pick a random,
9715 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9716 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9717 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9718 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'
9722 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9724 case $cc_basename,$host_cpu in
9725 pgcc
*) # Portland Group C compiler
9726 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'
9727 tmp_addflag
=' $pic_flag'
9729 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9730 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'
9731 tmp_addflag
=' $pic_flag -Mnomain' ;;
9732 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9733 tmp_addflag
=' -i_dynamic' ;;
9734 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9735 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9736 ifc
* | ifort
*) # Intel Fortran compiler
9737 tmp_addflag
=' -nofor_main' ;;
9739 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9741 if test $supports_anon_versioning = yes; then
9742 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
9743 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9744 $echo "local: *; };" >> $output_objdir/$libname.ver~
9745 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9753 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9754 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9757 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9758 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9763 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
9767 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9768 *** create shared libraries on Solaris systems. Therefore, libtool
9769 *** is disabling shared libraries support. We urge you to upgrade GNU
9770 *** binutils to release 2.9.1 or newer. Another option is to modify
9771 *** your PATH or compiler configuration so that the native linker is
9772 *** used, and then restart.
9775 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9776 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9777 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9783 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9784 case `$LD -v 2>&1` in
9785 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9789 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9790 *** reliably create shared libraries on SCO systems. Therefore, libtool
9791 *** is disabling shared libraries support. We urge you to upgrade GNU
9792 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9793 *** your PATH or compiler configuration so that the native linker is
9794 *** used, and then restart.
9799 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9800 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9801 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9802 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9811 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9814 hardcode_shlibpath_var
=no
9818 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9819 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9820 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9827 if test "$ld_shlibs" = no
; then
9829 hardcode_libdir_flag_spec
=
9830 export_dynamic_flag_spec
=
9831 whole_archive_flag_spec
=
9834 # PORTME fill in a description of your system's linker (not GNU ld)
9837 allow_undefined_flag
=unsupported
9838 always_export_symbols
=yes
9839 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'
9840 # Note: this linker hardcodes the directories in LIBPATH if there
9841 # are no directories specified by -L.
9842 hardcode_minus_L
=yes
9843 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9844 # Neither direct hardcoding nor static linking is supported with a
9846 hardcode_direct
=unsupported
9851 if test "$host_cpu" = ia64
; then
9852 # On IA64, the linker does run time linking by default, so we don't
9853 # have to do anything special.
9854 aix_use_runtimelinking
=no
9855 exp_sym_flag
='-Bexport'
9858 # If we're using GNU nm, then we don't want the "-C" option.
9859 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9860 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
9861 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'
9863 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'
9865 aix_use_runtimelinking
=no
9867 # Test if we are trying to use run time linking or normal
9868 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9869 # need to do runtime linking.
9870 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9871 for ld_flag
in $LDFLAGS; do
9872 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9873 aix_use_runtimelinking
=yes
9880 exp_sym_flag
='-bexport'
9881 no_entry_flag
='-bnoentry'
9884 # When large executables or shared objects are built, AIX ld can
9885 # have problems creating the table of contents. If linking a library
9886 # or program results in "error TOC overflow" add -mminimal-toc to
9887 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9888 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9892 hardcode_libdir_separator
=':'
9893 link_all_deplibs
=yes
9895 if test "$GCC" = yes; then
9896 case $host_os in aix4.
[012]|aix4.
[012].
*)
9897 # We only want to do this on AIX 4.2 and lower, the check
9898 # below for broken collect2 doesn't work under 4.3+
9899 collect2name
=`${CC} -print-prog-name=collect2`
9900 if test -f "$collect2name" && \
9901 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9903 # We have reworked collect2
9906 # We have old collect2
9907 hardcode_direct
=unsupported
9908 # It fails to find uninstalled libraries when the uninstalled
9909 # path is not listed in the libpath. Setting hardcode_minus_L
9910 # to unsupported forces relinking
9911 hardcode_minus_L
=yes
9912 hardcode_libdir_flag_spec
='-L$libdir'
9913 hardcode_libdir_separator
=
9917 shared_flag
='-shared'
9918 if test "$aix_use_runtimelinking" = yes; then
9919 shared_flag
="$shared_flag "'${wl}-G'
9923 if test "$host_cpu" = ia64
; then
9924 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9925 # chokes on -Wl,-G. The following line is correct:
9928 if test "$aix_use_runtimelinking" = yes; then
9929 shared_flag
='${wl}-G'
9931 shared_flag
='${wl}-bM:SRE'
9936 # It seems that -bexpall does not export symbols beginning with
9937 # underscore (_), so it is better to generate a list of symbols to export.
9938 always_export_symbols
=yes
9939 if test "$aix_use_runtimelinking" = yes; then
9940 # Warning - without using the other runtime loading flags (-brtl),
9941 # -berok will link without error, but may produce a broken library.
9942 allow_undefined_flag
='-berok'
9943 # Determine the default libpath from the value encoded in an empty executable.
9944 cat >conftest.
$ac_ext <<_ACEOF
9947 cat confdefs.h
>>conftest.
$ac_ext
9948 cat >>conftest.
$ac_ext <<_ACEOF
9949 /* end confdefs.h. */
9959 rm -f conftest.
$ac_objext conftest
$ac_exeext
9960 if { (ac_try
="$ac_link"
9962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9963 *) ac_try_echo=$ac_try;;
9965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9966 (eval "$ac_link") 2>conftest.er1
9968 grep -v '^ *+' conftest.er1 >conftest.err
9970 cat conftest.err >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); } && {
9973 test -z "$ac_c_werror_flag" ||
9974 test ! -s conftest.err
9975 } && test -s conftest$ac_exeext &&
9976 $as_test_x conftest$ac_exeext; then
9978 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9980 # Check for a 64-bit object if we didn't find anything.
9981 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9984 echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.$ac_ext >&5
9990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9991 conftest$ac_exeext conftest.$ac_ext
9992 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9994 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9995 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9997 if test "$host_cpu" = ia64; then
9998 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9999 allow_undefined_flag="-z nodefs"
10000 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"
10002 # Determine the default libpath from the value encoded in an empty executable.
10003 cat >conftest.$ac_ext <<_ACEOF
10006 cat confdefs.h >>conftest.$ac_ext
10007 cat >>conftest.$ac_ext <<_ACEOF
10008 /* end confdefs.h. */
10018 rm -f conftest.$ac_objext conftest$ac_exeext
10019 if { (ac_try="$ac_link"
10020 case "(($ac_try" in
10021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10022 *) ac_try_echo
=$ac_try;;
10024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10025 (eval "$ac_link") 2>conftest.er1
10027 grep -v '^ *+' conftest.er1
>conftest.err
10029 cat conftest.err
>&5
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } && {
10032 test -z "$ac_c_werror_flag" ||
10033 test ! -s conftest.err
10034 } && test -s conftest
$ac_exeext &&
10035 $as_test_x conftest
$ac_exeext; then
10037 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10039 # Check for a 64-bit object if we didn't find anything.
10040 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10043 echo "$as_me: failed program was:" >&5
10044 sed 's/^/| /' conftest.
$ac_ext >&5
10049 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10050 conftest
$ac_exeext conftest.
$ac_ext
10051 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10053 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10054 # Warning - without using the other run time loading flags,
10055 # -berok will link without error, but may produce a broken library.
10056 no_undefined_flag
=' ${wl}-bernotok'
10057 allow_undefined_flag
=' ${wl}-berok'
10058 # Exported symbols can be pulled into shared objects from archives
10059 whole_archive_flag_spec
='$convenience'
10060 archive_cmds_need_lc
=yes
10061 # This is similar to how AIX traditionally builds its shared libraries.
10062 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'
10068 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)'
10069 hardcode_libdir_flag_spec
='-L$libdir'
10070 hardcode_minus_L
=yes
10071 # see comment about different semantics on the GNU ld section
10076 export_dynamic_flag_spec
=-rdynamic
10079 cygwin
* | mingw
* | pw32
*)
10080 # When not using gcc, we currently assume that we are using
10081 # Microsoft Visual C++.
10082 # hardcode_libdir_flag_spec is actually meaningless, as there is
10083 # no search path for DLLs.
10084 hardcode_libdir_flag_spec
=' '
10085 allow_undefined_flag
=unsupported
10086 # Tell ltmain to make .lib files, not .a files.
10088 # Tell ltmain to make .dll files, not .so files.
10090 # FIXME: Setting linknames here is a bad hack.
10091 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10092 # The linker will automatically build a .lib file if we build a DLL.
10093 old_archive_From_new_cmds
='true'
10094 # FIXME: Should let the user specify the lib program.
10095 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
10096 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10097 enable_shared_with_static_runtimes
=yes
10100 darwin
* | rhapsody
*)
10102 rhapsody
* | darwin1.
[012])
10103 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
10106 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10107 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10109 case ${MACOSX_DEPLOYMENT_TARGET} in
10111 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10114 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
10120 archive_cmds_need_lc
=no
10122 hardcode_automatic
=yes
10123 hardcode_shlibpath_var
=unsupported
10124 whole_archive_flag_spec
=''
10125 link_all_deplibs
=yes
10126 if test "$GCC" = yes ; then
10127 output_verbose_link_cmd
='echo'
10128 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10129 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10130 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10131 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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}'
10132 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -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}'
10134 case $cc_basename in
10136 output_verbose_link_cmd
='echo'
10137 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10138 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10139 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10140 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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}'
10141 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -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}'
10151 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10152 hardcode_libdir_flag_spec
='-L$libdir'
10153 hardcode_shlibpath_var
=no
10160 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10161 # support. Future versions do this automatically, but an explicit c++rt0.o
10162 # does not break anything, and helps significantly (at the cost of a little
10165 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10166 hardcode_libdir_flag_spec
='-R$libdir'
10167 hardcode_direct
=yes
10168 hardcode_shlibpath_var
=no
10171 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10173 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10174 hardcode_direct
=yes
10175 hardcode_minus_L
=yes
10176 hardcode_shlibpath_var
=no
10179 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10180 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10181 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10182 hardcode_libdir_flag_spec
='-R$libdir'
10183 hardcode_direct
=yes
10184 hardcode_shlibpath_var
=no
10188 if test "$GCC" = yes; then
10189 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'
10191 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'
10193 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10194 hardcode_libdir_separator
=:
10195 hardcode_direct
=yes
10197 # hardcode_minus_L: Not really in the search PATH,
10198 # but as the default location of the library.
10199 hardcode_minus_L
=yes
10200 export_dynamic_flag_spec
='${wl}-E'
10204 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10205 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10207 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10209 if test "$with_gnu_ld" = no
; then
10210 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10211 hardcode_libdir_separator
=:
10213 hardcode_direct
=yes
10214 export_dynamic_flag_spec
='${wl}-E'
10216 # hardcode_minus_L: Not really in the search PATH,
10217 # but as the default location of the library.
10218 hardcode_minus_L
=yes
10223 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10226 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10229 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10238 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10241 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10244 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10248 if test "$with_gnu_ld" = no
; then
10249 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10250 hardcode_libdir_separator
=:
10254 hardcode_libdir_flag_spec_ld
='+b $libdir'
10256 hardcode_shlibpath_var
=no
10259 hardcode_direct
=yes
10260 export_dynamic_flag_spec
='${wl}-E'
10262 # hardcode_minus_L: Not really in the search PATH,
10263 # but as the default location of the library.
10264 hardcode_minus_L
=yes
10270 irix5
* | irix6
* | nonstopux
*)
10271 if test "$GCC" = yes; then
10272 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10274 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10275 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10277 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10278 hardcode_libdir_separator
=:
10279 link_all_deplibs
=yes
10283 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10284 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10286 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10288 hardcode_libdir_flag_spec
='-R$libdir'
10289 hardcode_direct
=yes
10290 hardcode_shlibpath_var
=no
10294 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10295 hardcode_direct
=yes
10296 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10297 hardcode_libdir_separator
=:
10298 hardcode_shlibpath_var
=no
10302 hardcode_direct
=yes
10303 hardcode_shlibpath_var
=no
10304 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10305 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10306 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10307 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10308 export_dynamic_flag_spec
='${wl}-E'
10311 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10312 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10313 hardcode_libdir_flag_spec
='-R$libdir'
10316 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10317 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10324 hardcode_libdir_flag_spec
='-L$libdir'
10325 hardcode_minus_L
=yes
10326 allow_undefined_flag
=unsupported
10327 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'
10328 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10332 if test "$GCC" = yes; then
10333 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10334 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10336 allow_undefined_flag
=' -expect_unresolved \*'
10337 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10339 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10340 hardcode_libdir_separator
=:
10343 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10344 if test "$GCC" = yes; then
10345 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10346 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10347 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10349 allow_undefined_flag
=' -expect_unresolved \*'
10350 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10351 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10352 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
10354 # Both c and cxx compiler support -rpath directly
10355 hardcode_libdir_flag_spec
='-rpath $libdir'
10357 hardcode_libdir_separator
=:
10361 no_undefined_flag
=' -z text'
10362 if test "$GCC" = yes; then
10364 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10365 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10366 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10369 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10370 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10371 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10373 hardcode_libdir_flag_spec
='-R$libdir'
10374 hardcode_shlibpath_var
=no
10376 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10378 # The compiler driver will combine linker options so we
10379 # cannot just pass the convience library names through
10380 # without $wl, iff we do not link with $LD.
10381 # Luckily, gcc supports the same syntax we need for Sun Studio.
10382 # Supported since Solaris 2.6 (maybe 2.5.1?)
10385 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
10387 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
10390 link_all_deplibs
=yes
10394 if test "x$host_vendor" = xsequent
; then
10395 # Use $CC to link under sequent, because it throws in some extra .o
10396 # files that make .init and .fini sections work.
10397 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10399 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10401 hardcode_libdir_flag_spec
='-L$libdir'
10402 hardcode_direct
=yes
10403 hardcode_minus_L
=yes
10404 hardcode_shlibpath_var
=no
10408 case $host_vendor in
10410 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10411 hardcode_direct
=yes # is this really true???
10414 ## LD is ld it makes a PLAMLIB
10415 ## CC just makes a GrossModule.
10416 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10417 reload_cmds
='$CC -r -o $output$reload_objs'
10421 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10422 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10425 runpath_var
='LD_RUN_PATH'
10426 hardcode_shlibpath_var
=no
10430 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10431 hardcode_shlibpath_var
=no
10432 export_dynamic_flag_spec
='-Bexport'
10436 if test -d /usr
/nec
; then
10437 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10438 hardcode_shlibpath_var
=no
10439 runpath_var
=LD_RUN_PATH
10440 hardcode_runpath_var
=yes
10445 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
10446 no_undefined_flag
='${wl}-z,text'
10447 archive_cmds_need_lc
=no
10448 hardcode_shlibpath_var
=no
10449 runpath_var
='LD_RUN_PATH'
10451 if test "$GCC" = yes; then
10452 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10453 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10455 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10456 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10460 sysv5
* | sco3.2v5
* | sco5v6
*)
10461 # Note: We can NOT use -z defs as we might desire, because we do not
10462 # link with -lc, and that would cause any symbols used from libc to
10463 # always be unresolved, which means just about no library would
10464 # ever link correctly. If we're not using GNU ld we use -z text
10465 # though, which does catch some bad symbols but isn't as heavy-handed
10467 no_undefined_flag
='${wl}-z,text'
10468 allow_undefined_flag
='${wl}-z,nodefs'
10469 archive_cmds_need_lc
=no
10470 hardcode_shlibpath_var
=no
10471 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10472 hardcode_libdir_separator
=':'
10473 link_all_deplibs
=yes
10474 export_dynamic_flag_spec
='${wl}-Bexport'
10475 runpath_var
='LD_RUN_PATH'
10477 if test "$GCC" = yes; then
10478 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10479 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10481 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10482 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10487 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10488 hardcode_libdir_flag_spec
='-L$libdir'
10489 hardcode_shlibpath_var
=no
10498 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10499 echo "${ECHO_T}$ld_shlibs" >&6; }
10500 test "$ld_shlibs" = no
&& can_build_shared
=no
10503 # Do we need to explicitly link libc?
10505 case "x$archive_cmds_need_lc" in
10507 # Assume -lc should be added
10508 archive_cmds_need_lc
=yes
10510 if test "$enable_shared" = yes && test "$GCC" = yes; then
10511 case $archive_cmds in
10513 # FIXME: we may have to deal with multi-command sequences.
10516 # Test whether the compiler implicitly links with -lc since on some
10517 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10518 # to ld, don't add -lc before -lgcc.
10519 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10520 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10522 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10525 (eval $ac_compile) 2>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } 2>conftest.err
; then
10531 libobjs
=conftest.
$ac_objext
10533 wl
=$lt_prog_compiler_wl
10534 pic_flag
=$lt_prog_compiler_pic
10540 lt_save_allow_undefined_flag
=$allow_undefined_flag
10541 allow_undefined_flag
=
10542 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10543 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }
10548 archive_cmds_need_lc
=no
10550 archive_cmds_need_lc
=yes
10552 allow_undefined_flag
=$lt_save_allow_undefined_flag
10554 cat conftest.err
1>&5
10557 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10558 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10565 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10566 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10567 library_names_spec
=
10568 libname_spec
='lib$name'
10572 postuninstall_cmds
=
10576 shlibpath_overrides_runpath
=unknown
10578 dynamic_linker
="$host_os ld.so"
10579 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10580 if test "$GCC" = yes; then
10581 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10582 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
10583 # if the path contains ";" then we assume it to be the separator
10584 # otherwise default to the standard path separator (i.e. ":") - it is
10585 # assumed that no part of a normal pathname contains ";" but that should
10586 # okay in the real world where ";" in dirpaths is itself problematic.
10587 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10589 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10592 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10594 need_lib_prefix
=unknown
10595 hardcode_into_libs
=no
10597 # when you set need_version to no, make sure it does not cause -set_version
10598 # flags to be left without arguments
10599 need_version
=unknown
10604 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10605 shlibpath_var
=LIBPATH
10607 # AIX 3 has no versioning support, so we append a major version to the name.
10608 soname_spec
='${libname}${release}${shared_ext}$major'
10615 hardcode_into_libs
=yes
10616 if test "$host_cpu" = ia64
; then
10617 # AIX 5 supports IA64
10618 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10619 shlibpath_var
=LD_LIBRARY_PATH
10621 # With GCC up to 2.95.x, collect2 would create an import file
10622 # for dependence libraries. The import file would start with
10623 # the line `#! .'. This would cause the generated library to
10624 # depend on `.', always an invalid library. This was fixed in
10625 # development snapshots of GCC prior to 3.0.
10627 aix4 | aix4.
[01] | aix4.
[01].
*)
10628 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10630 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
10633 can_build_shared
=no
10637 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10638 # soname into executable. Probably we can add versioning support to
10639 # collect2, so additional links can be useful in future.
10640 if test "$aix_use_runtimelinking" = yes; then
10641 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10642 # instead of lib<name>.a to let people know that these are not
10643 # typical AIX shared libraries.
10644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10646 # We preserve .a as extension for shared libraries through AIX4.2
10647 # and later when we are not doing run time linking.
10648 library_names_spec
='${libname}${release}.a $libname.a'
10649 soname_spec
='${libname}${release}${shared_ext}$major'
10651 shlibpath_var
=LIBPATH
10656 library_names_spec
='$libname.ixlibrary $libname.a'
10657 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10658 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'
10662 library_names_spec
='${libname}${shared_ext}'
10663 dynamic_linker
="$host_os ld.so"
10664 shlibpath_var
=LIBRARY_PATH
10670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10671 soname_spec
='${libname}${release}${shared_ext}$major'
10672 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10673 shlibpath_var
=LD_LIBRARY_PATH
10674 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10675 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10676 # the default ld.so.conf also contains /usr/contrib/lib and
10677 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10678 # libtool to hard-code these into programs
10681 cygwin
* | mingw
* | pw32
*)
10682 version_type
=windows
10687 case $GCC,$host_os in
10688 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10689 library_names_spec
='$libname.dll.a'
10690 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10691 postinstall_cmds
='base_file=`basename \${file}`~
10692 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10693 dldir=$destdir/`dirname \$dlpath`~
10694 test -d \$dldir || mkdir -p \$dldir~
10695 $install_prog $dir/$dlname \$dldir/$dlname~
10696 chmod a+x \$dldir/$dlname'
10697 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10698 dlpath=$dir/\$dldll~
10700 shlibpath_overrides_runpath
=yes
10704 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10705 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10706 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10709 # MinGW DLLs use traditional 'lib' prefix
10710 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10711 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10712 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
10713 # It is most probably a Windows format PATH printed by
10714 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10715 # path with ; separators, and with drive letters. We can handle the
10716 # drive letters (cygwin fileutils understands them), so leave them,
10717 # especially as we might pass files found there to a mingw objdump,
10718 # which wouldn't understand a cygwinified path. Ahh.
10719 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10721 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10725 # pw32 DLLs use 'pw' prefix rather than 'lib'
10726 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10732 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10735 dynamic_linker
='Win32 ld.exe'
10736 # FIXME: first we should search . and the directory the executable is in
10740 darwin
* | rhapsody
*)
10741 dynamic_linker
="$host_os dyld"
10742 version_type
=darwin
10745 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10746 soname_spec
='${libname}${release}${major}$shared_ext'
10747 shlibpath_overrides_runpath
=yes
10748 shlibpath_var
=DYLD_LIBRARY_PATH
10749 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10750 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10751 if test "$GCC" = yes; then
10752 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
10754 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
10756 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10764 soname_spec
='${libname}${release}${shared_ext}$major'
10765 shlibpath_var
=LD_LIBRARY_PATH
10776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10777 soname_spec
='${libname}${release}${shared_ext}$major'
10778 shlibpath_var
=LD_LIBRARY_PATH
10779 shlibpath_overrides_runpath
=no
10780 hardcode_into_libs
=yes
10781 dynamic_linker
='GNU ld.so'
10784 freebsd
* | dragonfly
*)
10785 # DragonFly does not have aout. When/if they implement a new
10786 # versioning mechanism, adjust this.
10787 if test -x /usr
/bin
/objformat
; then
10788 objformat
=`/usr/bin/objformat`
10791 freebsd
[123]*) objformat
=aout
;;
10792 *) objformat
=elf
;;
10795 version_type
=freebsd-
$objformat
10796 case $version_type in
10798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10803 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10807 shlibpath_var
=LD_LIBRARY_PATH
10810 shlibpath_overrides_runpath
=yes
10812 freebsd3.
[01]* | freebsdelf3.
[01]*)
10813 shlibpath_overrides_runpath
=yes
10814 hardcode_into_libs
=yes
10816 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10817 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10818 shlibpath_overrides_runpath
=no
10819 hardcode_into_libs
=yes
10821 freebsd
*) # from 4.6 on
10822 shlibpath_overrides_runpath
=yes
10823 hardcode_into_libs
=yes
10832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10833 soname_spec
='${libname}${release}${shared_ext}$major'
10834 shlibpath_var
=LD_LIBRARY_PATH
10835 hardcode_into_libs
=yes
10838 hpux9
* | hpux10
* | hpux11
*)
10839 # Give a soname corresponding to the major version so that dld.sl refuses to
10840 # link against other versions.
10847 hardcode_into_libs
=yes
10848 dynamic_linker
="$host_os dld.so"
10849 shlibpath_var
=LD_LIBRARY_PATH
10850 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 soname_spec
='${libname}${release}${shared_ext}$major'
10853 if test "X$HPUX_IA64_MODE" = X32
; then
10854 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10856 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10858 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10862 hardcode_into_libs
=yes
10863 dynamic_linker
="$host_os dld.sl"
10864 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10865 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 soname_spec
='${libname}${release}${shared_ext}$major'
10868 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10869 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10873 dynamic_linker
="$host_os dld.sl"
10874 shlibpath_var
=SHLIB_PATH
10875 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10877 soname_spec
='${libname}${release}${shared_ext}$major'
10880 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10881 postinstall_cmds
='chmod 555 $lib'
10888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10889 soname_spec
='${libname}${release}${shared_ext}$major'
10890 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10891 shlibpath_var
=LD_LIBRARY_PATH
10892 shlibpath_overrides_runpath
=no
10893 hardcode_into_libs
=yes
10896 irix5
* | irix6
* | nonstopux
*)
10898 nonstopux
*) version_type
=nonstopux
;;
10900 if test "$lt_cv_prog_gnu_ld" = yes; then
10908 soname_spec
='${libname}${release}${shared_ext}$major'
10909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10911 irix5
* | nonstopux
*)
10912 libsuff
= shlibsuff
=
10915 case $LD in # libtool.m4 will add one of these switches to LD
10916 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10917 libsuff
= shlibsuff
= libmagic
=32-bit;;
10918 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10919 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10920 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10921 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10922 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10926 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10927 shlibpath_overrides_runpath
=no
10928 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10929 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10930 hardcode_into_libs
=yes
10933 # No shared lib support for Linux oldld, aout, or coff.
10934 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10938 # This must be Linux ELF.
10943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10944 soname_spec
='${libname}${release}${shared_ext}$major'
10945 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10946 shlibpath_var
=LD_LIBRARY_PATH
10947 shlibpath_overrides_runpath
=no
10948 # This implies no fast_install, which is unacceptable.
10949 # Some rework will be needed to allow for fast_install
10950 # before this can be enabled.
10951 hardcode_into_libs
=yes
10953 # Append ld.so.conf contents to the search path
10954 if test -f /etc
/ld.so.conf
; then
10955 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10956 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10959 # We used to test for /lib/ld.so.1 and disable shared libraries on
10960 # powerpc, because MkLinux only supported shared libraries with the
10961 # GNU dynamic linker. Since this was broken with cross compilers,
10962 # most powerpc-linux boxes support dynamic linking these days and
10963 # people can always --disable-shared, the test was removed, and we
10964 # assume the GNU/Linux dynamic linker is in use.
10965 dynamic_linker
='GNU/Linux ld.so'
10972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10973 soname_spec
='${libname}${release}${shared_ext}$major'
10974 shlibpath_var
=LD_LIBRARY_PATH
10975 shlibpath_overrides_runpath
=no
10976 hardcode_into_libs
=yes
10977 dynamic_linker
='GNU ld.so'
10984 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10986 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10987 dynamic_linker
='NetBSD (a.out) ld.so'
10989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10990 soname_spec
='${libname}${release}${shared_ext}$major'
10991 dynamic_linker
='NetBSD ld.elf_so'
10993 shlibpath_var
=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath
=yes
10995 hardcode_into_libs
=yes
11000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11001 shlibpath_var
=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath
=yes
11009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11010 soname_spec
='${libname}${release}${shared_ext}$major'
11011 shlibpath_var
=LD_LIBRARY_PATH
11012 shlibpath_overrides_runpath
=yes
11017 sys_lib_dlsearch_path_spec
="/usr/lib"
11019 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11021 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11022 *) need_version
=no
;;
11024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11025 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11026 shlibpath_var
=LD_LIBRARY_PATH
11027 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11029 openbsd2.
[89] | openbsd2.
[89].
*)
11030 shlibpath_overrides_runpath
=no
11033 shlibpath_overrides_runpath
=yes
11037 shlibpath_overrides_runpath
=yes
11042 libname_spec
='$name'
11045 library_names_spec
='$libname${shared_ext} $libname.a'
11046 dynamic_linker
='OS/2 ld.exe'
11047 shlibpath_var
=LIBPATH
11050 osf3
* | osf4
* | osf5
*)
11054 soname_spec
='${libname}${release}${shared_ext}$major'
11055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 shlibpath_var
=LD_LIBRARY_PATH
11057 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11058 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11066 soname_spec
='${libname}${release}${shared_ext}$major'
11067 shlibpath_var
=LD_LIBRARY_PATH
11068 shlibpath_overrides_runpath
=yes
11069 hardcode_into_libs
=yes
11070 # ldd complains unless libraries are executable
11071 postinstall_cmds
='chmod +x $lib'
11076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11077 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11078 shlibpath_var
=LD_LIBRARY_PATH
11079 shlibpath_overrides_runpath
=yes
11080 if test "$with_gnu_ld" = yes; then
11088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11089 soname_spec
='${libname}${release}${shared_ext}$major'
11090 shlibpath_var
=LD_LIBRARY_PATH
11091 case $host_vendor in
11093 shlibpath_overrides_runpath
=no
11095 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11096 runpath_var
=LD_RUN_PATH
11104 shlibpath_overrides_runpath
=no
11105 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11111 if test -d /usr
/nec
;then
11113 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11114 soname_spec
='$libname${shared_ext}.$major'
11115 shlibpath_var
=LD_LIBRARY_PATH
11119 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11120 version_type
=freebsd-elf
11123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11124 soname_spec
='${libname}${release}${shared_ext}$major'
11125 shlibpath_var
=LD_LIBRARY_PATH
11126 hardcode_into_libs
=yes
11127 if test "$with_gnu_ld" = yes; then
11128 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11129 shlibpath_overrides_runpath
=no
11131 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11132 shlibpath_overrides_runpath
=yes
11135 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11139 sys_lib_dlsearch_path_spec
='/usr/lib'
11144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11145 soname_spec
='${libname}${release}${shared_ext}$major'
11146 shlibpath_var
=LD_LIBRARY_PATH
11153 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11154 echo "${ECHO_T}$dynamic_linker" >&6; }
11155 test "$dynamic_linker" = no
&& can_build_shared
=no
11157 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11158 if test "$GCC" = yes; then
11159 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11162 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11163 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11165 if test -n "$hardcode_libdir_flag_spec" || \
11166 test -n "$runpath_var" || \
11167 test "X$hardcode_automatic" = "Xyes" ; then
11169 # We can hardcode non-existant directories.
11170 if test "$hardcode_direct" != no
&&
11171 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11172 # have to relink, otherwise we might link with an installed library
11173 # when we should be linking with a yet-to-be-installed one
11174 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11175 test "$hardcode_minus_L" != no
; then
11176 # Linking always hardcodes the temporary library directory.
11177 hardcode_action
=relink
11179 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11180 hardcode_action
=immediate
11183 # We cannot hardcode anything, or else we can only hardcode existing
11185 hardcode_action
=unsupported
11187 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
11188 echo "${ECHO_T}$hardcode_action" >&6; }
11190 if test "$hardcode_action" = relink
; then
11191 # Fast installation is not supported
11192 enable_fast_install
=no
11193 elif test "$shlibpath_overrides_runpath" = yes ||
11194 test "$enable_shared" = no
; then
11195 # Fast installation is not necessary
11196 enable_fast_install
=needless
11201 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11202 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11203 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11204 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11205 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11206 { echo "$as_me:$LINENO: result: yes" >&5
11207 echo "${ECHO_T}yes" >&6; }
11209 # FIXME - insert some real tests, host_os isn't really good enough
11212 if test -n "$STRIP" ; then
11213 striplib
="$STRIP -x"
11214 { echo "$as_me:$LINENO: result: yes" >&5
11215 echo "${ECHO_T}yes" >&6; }
11217 { echo "$as_me:$LINENO: result: no" >&5
11218 echo "${ECHO_T}no" >&6; }
11222 { echo "$as_me:$LINENO: result: no" >&5
11223 echo "${ECHO_T}no" >&6; }
11228 if test "x$enable_dlopen" != xyes
; then
11229 enable_dlopen
=unknown
11230 enable_dlopen_self
=unknown
11231 enable_dlopen_self_static
=unknown
11238 lt_cv_dlopen
="load_add_on"
11240 lt_cv_dlopen_self
=yes
11244 lt_cv_dlopen
="LoadLibrary"
11249 lt_cv_dlopen
="dlopen"
11254 # if libdl is installed we need to link against it
11255 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11256 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11257 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11258 echo $ECHO_N "(cached) $ECHO_C" >&6
11260 ac_check_lib_save_LIBS
=$LIBS
11262 cat >conftest.
$ac_ext <<_ACEOF
11265 cat confdefs.h
>>conftest.
$ac_ext
11266 cat >>conftest.
$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11284 rm -f conftest.
$ac_objext conftest
$ac_exeext
11285 if { (ac_try
="$ac_link"
11286 case "(($ac_try" in
11287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11288 *) ac_try_echo=$ac_try;;
11290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_link") 2>conftest.er1
11293 grep -v '^ *+' conftest.er1 >conftest.err
11295 cat conftest.err >&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } && {
11298 test -z "$ac_c_werror_flag" ||
11299 test ! -s conftest.err
11300 } && test -s conftest$ac_exeext &&
11301 $as_test_x conftest$ac_exeext; then
11302 ac_cv_lib_dl_dlopen=yes
11304 echo "$as_me: failed program was:" >&5
11305 sed 's/^/| /' conftest.$ac_ext >&5
11307 ac_cv_lib_dl_dlopen=no
11310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11311 conftest$ac_exeext conftest.$ac_ext
11312 LIBS=$ac_check_lib_save_LIBS
11314 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11315 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11316 if test $ac_cv_lib_dl_dlopen = yes; then
11317 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11320 lt_cv_dlopen="dyld"
11322 lt_cv_dlopen_self=yes
11329 { echo "$as_me:$LINENO: checking for shl_load" >&5
11330 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11331 if test "${ac_cv_func_shl_load+set}" = set; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 cat >conftest.$ac_ext <<_ACEOF
11337 cat confdefs.h >>conftest.$ac_ext
11338 cat >>conftest.$ac_ext <<_ACEOF
11339 /* end confdefs.h. */
11340 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11342 #define shl_load innocuous_shl_load
11344 /* System header to define __stub macros and hopefully few prototypes,
11345 which can conflict with char shl_load (); below.
11346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11347 <limits.h> exists even on freestanding compilers. */
11350 # include <limits.h>
11352 # include <assert.h>
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11364 /* The GNU C library defines this for functions which it implements
11365 to always fail with ENOSYS. Some functions are actually named
11366 something starting with __ and the normal name is an alias. */
11367 #if defined __stub_shl_load || defined __stub___shl_load
11374 return shl_load ();
11379 rm -f conftest.$ac_objext conftest$ac_exeext
11380 if { (ac_try="$ac_link"
11381 case "(($ac_try" in
11382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11383 *) ac_try_echo
=$ac_try;;
11385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11386 (eval "$ac_link") 2>conftest.er1
11388 grep -v '^ *+' conftest.er1
>conftest.err
11390 cat conftest.err
>&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } && {
11393 test -z "$ac_c_werror_flag" ||
11394 test ! -s conftest.err
11395 } && test -s conftest
$ac_exeext &&
11396 $as_test_x conftest
$ac_exeext; then
11397 ac_cv_func_shl_load
=yes
11399 echo "$as_me: failed program was:" >&5
11400 sed 's/^/| /' conftest.
$ac_ext >&5
11402 ac_cv_func_shl_load
=no
11405 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11406 conftest
$ac_exeext conftest.
$ac_ext
11408 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11409 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11410 if test $ac_cv_func_shl_load = yes; then
11411 lt_cv_dlopen
="shl_load"
11413 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11414 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11415 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11416 echo $ECHO_N "(cached) $ECHO_C" >&6
11418 ac_check_lib_save_LIBS
=$LIBS
11420 cat >conftest.
$ac_ext <<_ACEOF
11423 cat confdefs.h
>>conftest.
$ac_ext
11424 cat >>conftest.
$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11437 return shl_load ();
11442 rm -f conftest.
$ac_objext conftest
$ac_exeext
11443 if { (ac_try
="$ac_link"
11444 case "(($ac_try" in
11445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11446 *) ac_try_echo=$ac_try;;
11448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11449 (eval "$ac_link") 2>conftest.er1
11451 grep -v '^ *+' conftest.er1 >conftest.err
11453 cat conftest.err >&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); } && {
11456 test -z "$ac_c_werror_flag" ||
11457 test ! -s conftest.err
11458 } && test -s conftest$ac_exeext &&
11459 $as_test_x conftest$ac_exeext; then
11460 ac_cv_lib_dld_shl_load=yes
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11465 ac_cv_lib_dld_shl_load=no
11468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11469 conftest$ac_exeext conftest.$ac_ext
11470 LIBS=$ac_check_lib_save_LIBS
11472 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11473 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11474 if test $ac_cv_lib_dld_shl_load = yes; then
11475 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11477 { echo "$as_me:$LINENO: checking for dlopen" >&5
11478 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11479 if test "${ac_cv_func_dlopen+set}" = set; then
11480 echo $ECHO_N "(cached) $ECHO_C" >&6
11482 cat >conftest.$ac_ext <<_ACEOF
11485 cat confdefs.h >>conftest.$ac_ext
11486 cat >>conftest.$ac_ext <<_ACEOF
11487 /* end confdefs.h. */
11488 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11490 #define dlopen innocuous_dlopen
11492 /* System header to define __stub macros and hopefully few prototypes,
11493 which can conflict with char dlopen (); below.
11494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11495 <limits.h> exists even on freestanding compilers. */
11498 # include <limits.h>
11500 # include <assert.h>
11505 /* Override any GCC internal prototype to avoid an error.
11506 Use char because int might match the return type of a GCC
11507 builtin and then its argument prototype would still apply. */
11512 /* The GNU C library defines this for functions which it implements
11513 to always fail with ENOSYS. Some functions are actually named
11514 something starting with __ and the normal name is an alias. */
11515 #if defined __stub_dlopen || defined __stub___dlopen
11527 rm -f conftest.$ac_objext conftest$ac_exeext
11528 if { (ac_try="$ac_link"
11529 case "(($ac_try" in
11530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11531 *) ac_try_echo
=$ac_try;;
11533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11534 (eval "$ac_link") 2>conftest.er1
11536 grep -v '^ *+' conftest.er1
>conftest.err
11538 cat conftest.err
>&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } && {
11541 test -z "$ac_c_werror_flag" ||
11542 test ! -s conftest.err
11543 } && test -s conftest
$ac_exeext &&
11544 $as_test_x conftest
$ac_exeext; then
11545 ac_cv_func_dlopen
=yes
11547 echo "$as_me: failed program was:" >&5
11548 sed 's/^/| /' conftest.
$ac_ext >&5
11550 ac_cv_func_dlopen
=no
11553 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11554 conftest
$ac_exeext conftest.
$ac_ext
11556 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11557 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11558 if test $ac_cv_func_dlopen = yes; then
11559 lt_cv_dlopen
="dlopen"
11561 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11562 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11563 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11566 ac_check_lib_save_LIBS
=$LIBS
11568 cat >conftest.
$ac_ext <<_ACEOF
11571 cat confdefs.h
>>conftest.
$ac_ext
11572 cat >>conftest.
$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11590 rm -f conftest.
$ac_objext conftest
$ac_exeext
11591 if { (ac_try
="$ac_link"
11592 case "(($ac_try" in
11593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11594 *) ac_try_echo=$ac_try;;
11596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11597 (eval "$ac_link") 2>conftest.er1
11599 grep -v '^ *+' conftest.er1 >conftest.err
11601 cat conftest.err >&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); } && {
11604 test -z "$ac_c_werror_flag" ||
11605 test ! -s conftest.err
11606 } && test -s conftest$ac_exeext &&
11607 $as_test_x conftest$ac_exeext; then
11608 ac_cv_lib_dl_dlopen=yes
11610 echo "$as_me: failed program was:" >&5
11611 sed 's/^/| /' conftest.$ac_ext >&5
11613 ac_cv_lib_dl_dlopen=no
11616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_lib_save_LIBS
11620 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11621 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11622 if test $ac_cv_lib_dl_dlopen = yes; then
11623 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11625 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11626 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11627 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11628 echo $ECHO_N "(cached) $ECHO_C" >&6
11630 ac_check_lib_save_LIBS=$LIBS
11631 LIBS="-lsvld $LIBS"
11632 cat >conftest.$ac_ext <<_ACEOF
11635 cat confdefs.h >>conftest.$ac_ext
11636 cat >>conftest.$ac_ext <<_ACEOF
11637 /* end confdefs.h. */
11639 /* Override any GCC internal prototype to avoid an error.
11640 Use char because int might match the return type of a GCC
11641 builtin and then its argument prototype would still apply. */
11654 rm -f conftest.$ac_objext conftest$ac_exeext
11655 if { (ac_try="$ac_link"
11656 case "(($ac_try" in
11657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11658 *) ac_try_echo
=$ac_try;;
11660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11661 (eval "$ac_link") 2>conftest.er1
11663 grep -v '^ *+' conftest.er1
>conftest.err
11665 cat conftest.err
>&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); } && {
11668 test -z "$ac_c_werror_flag" ||
11669 test ! -s conftest.err
11670 } && test -s conftest
$ac_exeext &&
11671 $as_test_x conftest
$ac_exeext; then
11672 ac_cv_lib_svld_dlopen
=yes
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.
$ac_ext >&5
11677 ac_cv_lib_svld_dlopen
=no
11680 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11681 conftest
$ac_exeext conftest.
$ac_ext
11682 LIBS
=$ac_check_lib_save_LIBS
11684 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11685 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11686 if test $ac_cv_lib_svld_dlopen = yes; then
11687 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11689 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11690 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11691 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11694 ac_check_lib_save_LIBS
=$LIBS
11696 cat >conftest.
$ac_ext <<_ACEOF
11699 cat confdefs.h
>>conftest.
$ac_ext
11700 cat >>conftest.
$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11703 /* Override any GCC internal prototype to avoid an error.
11704 Use char because int might match the return type of a GCC
11705 builtin and then its argument prototype would still apply. */
11713 return dld_link ();
11718 rm -f conftest.
$ac_objext conftest
$ac_exeext
11719 if { (ac_try
="$ac_link"
11720 case "(($ac_try" in
11721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11722 *) ac_try_echo=$ac_try;;
11724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11725 (eval "$ac_link") 2>conftest.er1
11727 grep -v '^ *+' conftest.er1 >conftest.err
11729 cat conftest.err >&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); } && {
11732 test -z "$ac_c_werror_flag" ||
11733 test ! -s conftest.err
11734 } && test -s conftest$ac_exeext &&
11735 $as_test_x conftest$ac_exeext; then
11736 ac_cv_lib_dld_dld_link=yes
11738 echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.$ac_ext >&5
11741 ac_cv_lib_dld_dld_link=no
11744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11745 conftest$ac_exeext conftest.$ac_ext
11746 LIBS=$ac_check_lib_save_LIBS
11748 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11749 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11750 if test $ac_cv_lib_dld_dld_link = yes; then
11751 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11772 if test "x$lt_cv_dlopen" != xno; then
11778 case $lt_cv_dlopen in
11780 save_CPPFLAGS="$CPPFLAGS"
11781 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11783 save_LDFLAGS="$LDFLAGS"
11784 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11787 LIBS="$lt_cv_dlopen_libs $LIBS"
11789 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11790 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11791 if test "${lt_cv_dlopen_self+set}" = set; then
11792 echo $ECHO_N "(cached) $ECHO_C" >&6
11794 if test "$cross_compiling" = yes; then :
11795 lt_cv_dlopen_self=cross
11797 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11798 lt_status=$lt_dlunknown
11799 cat > conftest.$ac_ext <<EOF
11800 #line 11800 "configure"
11801 #include "confdefs.h"
11810 # define LT_DLGLOBAL RTLD_GLOBAL
11813 # define LT_DLGLOBAL DL_GLOBAL
11815 # define LT_DLGLOBAL 0
11819 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11820 find out it does not work in some platform. */
11821 #ifndef LT_DLLAZY_OR_NOW
11823 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11826 # define LT_DLLAZY_OR_NOW DL_LAZY
11829 # define LT_DLLAZY_OR_NOW RTLD_NOW
11832 # define LT_DLLAZY_OR_NOW DL_NOW
11834 # define LT_DLLAZY_OR_NOW 0
11842 extern "C" void exit (int);
11845 void fnord() { int i=42;}
11848 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11849 int status = $lt_dlunknown;
11853 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11854 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11855 /* dlclose (self); */
11863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11864 (eval $ac_link) 2>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11868 (./conftest; exit; ) >&5 2>/dev/null
11870 case x$lt_status in
11871 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11872 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11873 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11876 # compilation failed
11877 lt_cv_dlopen_self=no
11884 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11885 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11887 if test "x$lt_cv_dlopen_self" = xyes; then
11888 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11889 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11890 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11891 if test "${lt_cv_dlopen_self_static+set}" = set; then
11892 echo $ECHO_N "(cached) $ECHO_C" >&6
11894 if test "$cross_compiling" = yes; then :
11895 lt_cv_dlopen_self_static=cross
11897 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11898 lt_status=$lt_dlunknown
11899 cat > conftest.$ac_ext <<EOF
11900 #line 11900 "configure"
11901 #include "confdefs.h"
11910 # define LT_DLGLOBAL RTLD_GLOBAL
11913 # define LT_DLGLOBAL DL_GLOBAL
11915 # define LT_DLGLOBAL 0
11919 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11920 find out it does not work in some platform. */
11921 #ifndef LT_DLLAZY_OR_NOW
11923 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11926 # define LT_DLLAZY_OR_NOW DL_LAZY
11929 # define LT_DLLAZY_OR_NOW RTLD_NOW
11932 # define LT_DLLAZY_OR_NOW DL_NOW
11934 # define LT_DLLAZY_OR_NOW 0
11942 extern "C" void exit (int);
11945 void fnord() { int i=42;}
11948 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11949 int status = $lt_dlunknown;
11953 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11954 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11955 /* dlclose (self); */
11963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11964 (eval $ac_link) 2>&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11968 (./conftest; exit; ) >&5 2>/dev/null
11970 case x$lt_status in
11971 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11972 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11973 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11976 # compilation failed
11977 lt_cv_dlopen_self_static=no
11984 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11985 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11988 CPPFLAGS="$save_CPPFLAGS"
11989 LDFLAGS="$save_LDFLAGS"
11994 case $lt_cv_dlopen_self in
11995 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11996 *) enable_dlopen_self=unknown ;;
11999 case $lt_cv_dlopen_self_static in
12000 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12001 *) enable_dlopen_self_static=unknown ;;
12006 # Report which library types will actually be built
12007 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12008 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12009 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
12010 echo "${ECHO_T}$can_build_shared" >&6; }
12012 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12013 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12014 test "$can_build_shared" = "no" && enable_shared=no
12016 # On AIX, shared libraries and static libraries use the same namespace, and
12017 # are all built from PIC.
12020 test "$enable_shared" = yes && enable_static=no
12021 if test -n "$RANLIB"; then
12022 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12023 postinstall_cmds='$RANLIB $lib'
12028 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12029 test "$enable_shared" = yes && enable_static=no
12033 { echo "$as_me:$LINENO: result: $enable_shared" >&5
12034 echo "${ECHO_T}$enable_shared" >&6; }
12036 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12037 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12038 # Make sure either enable_shared or enable_static is yes.
12039 test "$enable_shared" = yes || enable_static=yes
12040 { echo "$as_me:$LINENO: result: $enable_static" >&5
12041 echo "${ECHO_T}$enable_static" >&6; }
12043 # The else clause should only fire when bootstrapping the
12044 # libtool distribution, otherwise you forgot to ship ltmain.sh
12045 # with your package, and you will get complaints that there are
12046 # no rules to generate ltmain.sh.
12047 if test -f "$ltmain"; then
12048 # See if we are running on zsh, and set the options which allow our commands through
12049 # without removal of \ escapes.
12050 if test -n "${ZSH_VERSION+set}" ; then
12051 setopt NO_GLOB_SUBST
12053 # Now quote all the things that may contain metacharacters while being
12054 # careful not to overquote the AC_SUBSTed values. We take copies of the
12055 # variables and quote the copies for generation of the libtool script.
12056 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12058 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12059 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12060 deplibs_check_method reload_flag reload_cmds need_locks \
12061 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12062 lt_cv_sys_global_symbol_to_c_name_address \
12063 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12064 old_postinstall_cmds old_postuninstall_cmds \
12068 lt_prog_compiler_wl \
12069 lt_prog_compiler_pic \
12070 lt_prog_compiler_static \
12071 lt_prog_compiler_no_builtin_flag \
12072 export_dynamic_flag_spec \
12073 thread_safe_flag_spec \
12074 whole_archive_flag_spec \
12075 enable_shared_with_static_runtimes \
12077 old_archive_from_new_cmds \
12082 compiler_lib_search_path \
12084 archive_expsym_cmds \
12086 postuninstall_cmds \
12087 old_archive_from_expsyms_cmds \
12088 allow_undefined_flag \
12089 no_undefined_flag \
12090 export_symbols_cmds \
12091 hardcode_libdir_flag_spec \
12092 hardcode_libdir_flag_spec_ld \
12093 hardcode_libdir_separator \
12094 hardcode_automatic \
12096 module_expsym_cmds \
12097 lt_cv_prog_compiler_c_o \
12099 include_expsyms; do
12102 old_archive_cmds | \
12103 old_archive_from_new_cmds | \
12105 archive_expsym_cmds | \
12107 module_expsym_cmds | \
12108 old_archive_from_expsyms_cmds | \
12109 export_symbols_cmds | \
12110 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12111 postinstall_cmds | postuninstall_cmds | \
12112 old_postinstall_cmds | old_postuninstall_cmds | \
12113 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12114 # Double-quote double-evaled strings.
12115 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
12118 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
12124 *'\$0 --fallback-echo"')
12125 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12129 cfgfile="${ofile}T"
12130 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12132 { echo "$as_me:$LINENO: creating $ofile" >&5
12133 echo "$as_me: creating $ofile" >&6;}
12135 cat <<__EOF__ >> "$cfgfile"
12138 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
12139 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12140 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12142 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
12143 # Free Software Foundation, Inc.
12145 # This file is part of GNU Libtool:
12146 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12148 # This program is free software; you can redistribute it and/or modify
12149 # it under the terms of the GNU General Public License as published by
12150 # the Free Software Foundation; either version 2 of the License, or
12151 # (at your option) any later version.
12153 # This program is distributed in the hope that it will be useful, but
12154 # WITHOUT ANY WARRANTY; without even the implied warranty of
12155 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12156 # General Public License for more details.
12158 # You should have received a copy of the GNU General Public License
12159 # along with this program; if not, write to the Free Software
12160 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12162 # As a special exception to the GNU General Public License, if you
12163 # distribute this file as part of a program that contains a
12164 # configuration script generated by Autoconf, you may include it under
12165 # the same distribution terms that you use for the rest of that program.
12167 # A sed program that does not truncate output.
12170 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12171 Xsed="$SED -e 1s/^X//"
12173 # The HP-UX ksh and POSIX shell print the target directory to stdout
12174 # if CDPATH is set.
12175 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12177 # The names of the tagged configurations supported by this script.
12180 # ### BEGIN LIBTOOL CONFIG
12182 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
12184 # Shell to use when invoking shell scripts.
12187 # Whether or not to build shared libraries.
12188 build_libtool_libs=$enable_shared
12190 # Whether or not to build static libraries.
12191 build_old_libs=$enable_static
12193 # Whether or not to add -lc for building shared libraries.
12194 build_libtool_need_lc=$archive_cmds_need_lc
12196 # Whether or not to disallow shared libs when runtime libs are static
12197 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12199 # Whether or not to optimize for fast installation.
12200 fast_install=$enable_fast_install
12203 host_alias=$host_alias
12207 # The build system.
12208 build_alias=$build_alias
12212 # An echo program that does not interpret backslashes.
12217 AR_FLAGS=$lt_AR_FLAGS
12222 # LTCC compiler flags.
12223 LTCFLAGS=$lt_LTCFLAGS
12225 # A language-specific compiler.
12228 # Is the compiler the GNU C compiler?
12234 # The linker used to build libraries.
12237 # Whether we need hard or soft links.
12240 # A BSD-compatible nm program.
12243 # A symbol stripping program
12246 # Used to examine libraries when file_magic_cmd begins "file"
12247 MAGIC_CMD=$MAGIC_CMD
12249 # Used on cygwin: DLL creation program.
12252 # Used on cygwin: object dumper.
12255 # Used on cygwin: assembler.
12258 # The name of the directory that contains temporary libtool files.
12261 # How to create reloadable object files.
12262 reload_flag=$lt_reload_flag
12263 reload_cmds=$lt_reload_cmds
12265 # How to pass a linker flag through the compiler.
12266 wl=$lt_lt_prog_compiler_wl
12268 # Object file suffix (normally "o").
12269 objext="$ac_objext"
12271 # Old archive suffix (normally "a").
12274 # Shared library suffix (normally ".so").
12275 shrext_cmds='$shrext_cmds'
12277 # Executable file suffix (normally "").
12280 # Additional compiler flags for building library objects.
12281 pic_flag=$lt_lt_prog_compiler_pic
12284 # What is the maximum length of a command?
12285 max_cmd_len=$lt_cv_sys_max_cmd_len
12287 # Does compiler simultaneously support -c and -o options?
12288 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12290 # Must we lock files when doing compilation?
12291 need_locks=$lt_need_locks
12293 # Do we need the lib prefix for modules?
12294 need_lib_prefix=$need_lib_prefix
12296 # Do we need a version for libraries?
12297 need_version=$need_version
12299 # Whether dlopen is supported.
12300 dlopen_support=$enable_dlopen
12302 # Whether dlopen of programs is supported.
12303 dlopen_self=$enable_dlopen_self
12305 # Whether dlopen of statically linked programs is supported.
12306 dlopen_self_static=$enable_dlopen_self_static
12308 # Compiler flag to prevent dynamic linking.
12309 link_static_flag=$lt_lt_prog_compiler_static
12311 # Compiler flag to turn off builtin functions.
12312 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12314 # Compiler flag to allow reflexive dlopens.
12315 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12317 # Compiler flag to generate shared objects directly from archives.
12318 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12320 # Compiler flag to generate thread-safe objects.
12321 thread_safe_flag_spec=$lt_thread_safe_flag_spec
12323 # Library versioning type.
12324 version_type=$version_type
12326 # Format of library name prefix.
12327 libname_spec=$lt_libname_spec
12329 # List of archive names. First name is the real one, the rest are links.
12330 # The last name is the one that the linker finds with -lNAME.
12331 library_names_spec=$lt_library_names_spec
12333 # The coded name of the library, if different from the real name.
12334 soname_spec=$lt_soname_spec
12336 # Commands used to build and install an old-style archive.
12338 old_archive_cmds=$lt_old_archive_cmds
12339 old_postinstall_cmds=$lt_old_postinstall_cmds
12340 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12342 # Create an old-style archive from a shared archive.
12343 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12345 # Create a temporary old-style archive to link instead of a shared archive.
12346 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12348 # Commands used to build and install a shared archive.
12349 archive_cmds=$lt_archive_cmds
12350 archive_expsym_cmds=$lt_archive_expsym_cmds
12351 postinstall_cmds=$lt_postinstall_cmds
12352 postuninstall_cmds=$lt_postuninstall_cmds
12354 # Commands used to build a loadable module (assumed same as above if empty)
12355 module_cmds=$lt_module_cmds
12356 module_expsym_cmds=$lt_module_expsym_cmds
12358 # Commands to strip libraries.
12359 old_striplib=$lt_old_striplib
12360 striplib=$lt_striplib
12362 # Dependencies to place before the objects being linked to create a
12364 predep_objects=$lt_predep_objects
12366 # Dependencies to place after the objects being linked to create a
12368 postdep_objects=$lt_postdep_objects
12370 # Dependencies to place before the objects being linked to create a
12372 predeps=$lt_predeps
12374 # Dependencies to place after the objects being linked to create a
12376 postdeps=$lt_postdeps
12378 # The library search path used internally by the compiler when linking
12379 # a shared library.
12380 compiler_lib_search_path=$lt_compiler_lib_search_path
12382 # Method to check whether dependent libraries are shared objects.
12383 deplibs_check_method=$lt_deplibs_check_method
12385 # Command to use when deplibs_check_method == file_magic.
12386 file_magic_cmd=$lt_file_magic_cmd
12388 # Flag that allows shared libraries with undefined symbols to be built.
12389 allow_undefined_flag=$lt_allow_undefined_flag
12391 # Flag that forces no undefined symbols.
12392 no_undefined_flag=$lt_no_undefined_flag
12394 # Commands used to finish a libtool library installation in a directory.
12395 finish_cmds=$lt_finish_cmds
12397 # Same as above, but a single script fragment to be evaled but not shown.
12398 finish_eval=$lt_finish_eval
12400 # Take the output of nm and produce a listing of raw symbols and C names.
12401 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12403 # Transform the output of nm in a proper C declaration
12404 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12406 # Transform the output of nm in a C name address pair
12407 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12409 # This is the shared library runtime path variable.
12410 runpath_var=$runpath_var
12412 # This is the shared library path variable.
12413 shlibpath_var=$shlibpath_var
12415 # Is shlibpath searched before the hard-coded library search path?
12416 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12418 # How to hardcode a shared library path into an executable.
12419 hardcode_action=$hardcode_action
12421 # Whether we should hardcode library paths into libraries.
12422 hardcode_into_libs=$hardcode_into_libs
12424 # Flag to hardcode \$libdir into a binary during linking.
12425 # This must work even if \$libdir does not exist.
12426 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12428 # If ld is used when linking, flag to hardcode \$libdir into
12429 # a binary during linking. This must work even if \$libdir does
12431 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12433 # Whether we need a single -rpath flag with a separated argument.
12434 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12436 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12437 # resulting binary.
12438 hardcode_direct=$hardcode_direct
12440 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12441 # resulting binary.
12442 hardcode_minus_L=$hardcode_minus_L
12444 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12445 # the resulting binary.
12446 hardcode_shlibpath_var=$hardcode_shlibpath_var
12448 # Set to yes if building a shared library automatically hardcodes DIR into the library
12449 # and all subsequent libraries and executables linked against it.
12450 hardcode_automatic=$hardcode_automatic
12452 # Variables whose values should be saved in libtool wrapper scripts and
12453 # restored at relink time.
12454 variables_saved_for_relink="$variables_saved_for_relink"
12456 # Whether libtool must link a program against all its dependency libraries.
12457 link_all_deplibs=$link_all_deplibs
12459 # Compile-time system search path for libraries
12460 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12462 # Run-time system search path for libraries
12463 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12465 # Fix the shell variable \$srcfile for the compiler.
12466 fix_srcfile_path="$fix_srcfile_path"
12468 # Set to yes if exported symbols are required.
12469 always_export_symbols=$always_export_symbols
12471 # The commands to list exported symbols.
12472 export_symbols_cmds=$lt_export_symbols_cmds
12474 # The commands to extract the exported symbol list from a shared archive.
12475 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12477 # Symbols that should not be listed in the preloaded symbols.
12478 exclude_expsyms=$lt_exclude_expsyms
12480 # Symbols that must always be exported.
12481 include_expsyms=$lt_include_expsyms
12483 # ### END LIBTOOL CONFIG
12490 cat <<\EOF >> "$cfgfile"
12492 # AIX sometimes has problems with the GCC collect2 program. For some
12493 # reason, if we set the COLLECT_NAMES environment variable, the problems
12494 # vanish in a puff of smoke.
12495 if test "X${COLLECT_NAMES+set}" != Xset; then
12497 export COLLECT_NAMES
12503 # We use sed instead of cat because bash on DJGPP gets confused if
12504 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12505 # text mode, it properly converts lines to CR/LF. This bash problem
12506 # is reportedly fixed, but why not run on old versions too?
12507 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12509 mv -f "$cfgfile" "$ofile" || \
12510 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12514 # If there is no Makefile yet, we rely on a make rule to execute
12515 # `config.status
--recheck' to rerun these tests and create the
12516 # libtool script then.
12517 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
12518 if test -f "$ltmain_in"; then
12519 test -f Makefile && make "$ltmain"
12525 ac_cpp='$CPP $CPPFLAGS'
12526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12527 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12533 # Check whether --with-tags was given.
12534 if test "${with_tags+set}" = set; then
12535 withval=$with_tags; tagnames="$withval"
12539 if test -f "$ltmain" && test -n "$tagnames"; then
12540 if test ! -f "${ofile}"; then
12541 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
12542 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
12545 if test -z "$LTCC"; then
12546 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
12547 if test -z "$LTCC"; then
12548 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12549 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
12551 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
12552 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
12555 if test -z "$LTCFLAGS"; then
12556 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
12559 # Extract list of available tagged configurations in $ofile.
12560 # Note that this assumes the entire list is on one line.
12561 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12563 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12564 for tagname in $tagnames; do
12566 # Check whether tagname contains only valid characters
12567 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12569 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12570 echo "$as_me: error: invalid tag name: $tagname" >&2;}
12571 { (exit 1); exit 1; }; }
12575 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12577 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12578 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12579 { (exit 1); exit 1; }; }
12582 # Update the list of available tags.
12583 if test -n "$tagname"; then
12584 echo appending configuration tag \"$tagname\" to $ofile
12588 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12589 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
12590 (test "X$CXX" != "Xg++"))) ; then
12592 ac_cpp='$CXXCPP $CPPFLAGS'
12593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12600 archive_cmds_need_lc_CXX=no
12601 allow_undefined_flag_CXX=
12602 always_export_symbols_CXX=no
12603 archive_expsym_cmds_CXX=
12604 export_dynamic_flag_spec_CXX=
12605 hardcode_direct_CXX=no
12606 hardcode_libdir_flag_spec_CXX=
12607 hardcode_libdir_flag_spec_ld_CXX=
12608 hardcode_libdir_separator_CXX=
12609 hardcode_minus_L_CXX=no
12610 hardcode_shlibpath_var_CXX=unsupported
12611 hardcode_automatic_CXX=no
12613 module_expsym_cmds_CXX=
12614 link_all_deplibs_CXX=unknown
12615 old_archive_cmds_CXX=$old_archive_cmds
12616 no_undefined_flag_CXX=
12617 whole_archive_flag_spec_CXX=
12618 enable_shared_with_static_runtimes_CXX=no
12620 # Dependencies to place before and after the object being linked:
12621 predep_objects_CXX=
12622 postdep_objects_CXX=
12625 compiler_lib_search_path_CXX=
12627 # Source file extension for C++ test sources.
12630 # Object file extension for compiled C++ test sources.
12634 # Code to be used in simple compile tests
12635 lt_simple_compile_test_code="int some_variable = 0;\n"
12637 # Code to be used in simple link tests
12638 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
12640 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12642 # If no C compiler was specified, use CC.
12645 # If no C compiler flags were specified, use CFLAGS.
12646 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12648 # Allow CC to be a program name with arguments.
12652 # save warnings/boilerplate of simple test code
12653 ac_outfile=conftest.$ac_objext
12654 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
12655 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12656 _lt_compiler_boilerplate=`cat conftest.err
`
12659 ac_outfile=conftest.$ac_objext
12660 printf "$lt_simple_link_test_code" >conftest.$ac_ext
12661 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12662 _lt_linker_boilerplate=`cat conftest.err
`
12666 # Allow CC to be a program name with arguments.
12671 lt_save_with_gnu_ld=$with_gnu_ld
12672 lt_save_path_LD=$lt_cv_path_LD
12673 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12674 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12676 $as_unset lt_cv_prog_gnu_ld
12678 if test -n "${lt_cv_path_LDCXX+set}"; then
12679 lt_cv_path_LD=$lt_cv_path_LDCXX
12681 $as_unset lt_cv_path_LD
12683 test -z "${LDCXX+set}" || LD=$LDCXX
12687 for cc_temp in $compiler""; do
12689 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12690 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12695 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12698 # We don't want -fno-exception wen compiling C++ code, so set the
12699 # no_builtin_flag separately
12700 if test "$GXX" = yes; then
12701 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12703 lt_prog_compiler_no_builtin_flag_CXX=
12706 if test "$GXX" = yes; then
12707 # Set up default GNU C++ configuration
12710 # Check whether --with-gnu-ld was given.
12711 if test "${with_gnu_ld+set}" = set; then
12712 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12718 if test "$GCC" = yes; then
12719 # Check if gcc -print-prog-name=ld gives a path.
12720 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12721 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12724 # gcc leaves a trailing carriage return which upsets mingw
12725 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
12727 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
12730 # Accept absolute paths.
12732 re_direlt='/[^/][^/]*/\.\./'
12733 # Canonicalize the pathname of ld
12734 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
12735 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12736 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
12738 test -z "$LD" && LD="$ac_prog"
12741 # If it fails, then pretend we aren't using GCC.
12745 # If it is relative, then search for the first ld in PATH.
12746 with_gnu_ld=unknown
12749 elif test "$with_gnu_ld" = yes; then
12750 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12751 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12753 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12754 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12756 if test "${lt_cv_path_LD+set}" = set; then
12757 echo $ECHO_N "(cached) $ECHO_C" >&6
12759 if test -z "$LD"; then
12760 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12761 for ac_dir in $PATH; do
12763 test -z "$ac_dir" && ac_dir=.
12764 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12765 lt_cv_path_LD="$ac_dir/$ac_prog"
12766 # Check to see if the program is GNU ld. I'd rather use --version,
12767 # but apparently some variants of GNU ld only accept -v.
12768 # Break only if it was the GNU/non-GNU ld that we prefer.
12769 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
12770 *GNU* | *'with BFD'*)
12771 test "$with_gnu_ld" != no && break
12774 test "$with_gnu_ld" != yes && break
12781 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12785 LD="$lt_cv_path_LD"
12786 if test -n "$LD"; then
12787 { echo "$as_me:$LINENO: result: $LD" >&5
12788 echo "${ECHO_T}$LD" >&6; }
12790 { echo "$as_me:$LINENO: result: no" >&5
12791 echo "${ECHO_T}no" >&6; }
12793 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12794 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12795 { (exit 1); exit 1; }; }
12796 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12797 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12798 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12799 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12802 case `$LD -v 2>&1 </dev
/null
` in
12803 *GNU* | *'with BFD'*)
12804 lt_cv_prog_gnu_ld=yes
12807 lt_cv_prog_gnu_ld=no
12811 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12812 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12813 with_gnu_ld=$lt_cv_prog_gnu_ld
12817 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12818 # archiving commands below assume that GNU ld is being used.
12819 if test "$with_gnu_ld" = yes; then
12820 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 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'
12823 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12824 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12826 # If archive_cmds runs LD, not CC, wlarc should be empty
12827 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12828 # investigate it a little bit more. (MM)
12831 # ancient GNU ld didn't support --whole-archive et. al.
12832 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
12833 grep 'no-whole-archive' > /dev/null; then
12834 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12836 whole_archive_flag_spec_CXX=
12842 # A generic and very simple default shared library creation
12843 # command for GNU C++ for the case where it uses the native
12844 # linker, instead of GNU ld. If possible, this setting should
12845 # overridden to take advantage of the native linker features on
12846 # the platform it is being used on.
12847 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12850 # Commands to make compiler produce verbose output that lists
12851 # what "hidden" libraries, object files and flags are used when
12852 # linking a shared library.
12853 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12861 # PORTME: fill in a description of your system's C++ link characteristics
12862 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12863 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12867 # FIXME: insert proper C++ library support
12871 if test "$host_cpu" = ia64; then
12872 # On IA64, the linker does run time linking by default, so we don't
12873 # have to do anything special.
12874 aix_use_runtimelinking=no
12875 exp_sym_flag='-Bexport'
12878 aix_use_runtimelinking=no
12880 # Test if we are trying to use run time linking or normal
12881 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12882 # need to do runtime linking.
12883 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12884 for ld_flag in $LDFLAGS; do
12887 aix_use_runtimelinking=yes
12895 exp_sym_flag='-bexport'
12896 no_entry_flag='-bnoentry'
12899 # When large executables or shared objects are built, AIX ld can
12900 # have problems creating the table of contents. If linking a library
12901 # or program results in "error TOC overflow" add -mminimal-toc to
12902 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12903 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12905 archive_cmds_CXX=''
12906 hardcode_direct_CXX=yes
12907 hardcode_libdir_separator_CXX=':'
12908 link_all_deplibs_CXX=yes
12910 if test "$GXX" = yes; then
12911 case $host_os in aix4.[012]|aix4.[012].*)
12912 # We only want to do this on AIX 4.2 and lower, the check
12913 # below for broken collect2 doesn't work under 4.3+
12914 collect2name=`${CC} -print-prog-name=collect2
`
12915 if test -f "$collect2name" && \
12916 strings "$collect2name" | grep resolve_lib_name >/dev/null
12918 # We have reworked collect2
12919 hardcode_direct_CXX=yes
12921 # We have old collect2
12922 hardcode_direct_CXX=unsupported
12923 # It fails to find uninstalled libraries when the uninstalled
12924 # path is not listed in the libpath. Setting hardcode_minus_L
12925 # to unsupported forces relinking
12926 hardcode_minus_L_CXX=yes
12927 hardcode_libdir_flag_spec_CXX='-L$libdir'
12928 hardcode_libdir_separator_CXX=
12932 shared_flag='-shared'
12933 if test "$aix_use_runtimelinking" = yes; then
12934 shared_flag="$shared_flag "'${wl}-G'
12938 if test "$host_cpu" = ia64; then
12939 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12940 # chokes on -Wl,-G. The following line is correct:
12943 if test "$aix_use_runtimelinking" = yes; then
12944 shared_flag='${wl}-G'
12946 shared_flag='${wl}-bM:SRE'
12951 # It seems that -bexpall does not export symbols beginning with
12952 # underscore (_), so it is better to generate a list of symbols to export.
12953 always_export_symbols_CXX=yes
12954 if test "$aix_use_runtimelinking" = yes; then
12955 # Warning - without using the other runtime loading flags (-brtl),
12956 # -berok will link without error, but may produce a broken library.
12957 allow_undefined_flag_CXX='-berok'
12958 # Determine the default libpath from the value encoded in an empty executable.
12959 cat >conftest.$ac_ext <<_ACEOF
12962 cat confdefs.h >>conftest.$ac_ext
12963 cat >>conftest.$ac_ext <<_ACEOF
12964 /* end confdefs.h. */
12974 rm -f conftest.$ac_objext conftest$ac_exeext
12975 if { (ac_try="$ac_link"
12976 case "(($ac_try" in
12977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12978 *) ac_try_echo
=$ac_try;;
12980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12981 (eval "$ac_link") 2>conftest.er1
12983 grep -v '^ *+' conftest.er1
>conftest.err
12985 cat conftest.err
>&5
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); } && {
12988 test -z "$ac_cxx_werror_flag" ||
12989 test ! -s conftest.err
12990 } && test -s conftest
$ac_exeext &&
12991 $as_test_x conftest
$ac_exeext; then
12993 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12995 # Check for a 64-bit object if we didn't find anything.
12996 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12999 echo "$as_me: failed program was:" >&5
13000 sed 's/^/| /' conftest.
$ac_ext >&5
13005 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13006 conftest
$ac_exeext conftest.
$ac_ext
13007 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13009 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13011 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13013 if test "$host_cpu" = ia64
; then
13014 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13015 allow_undefined_flag_CXX
="-z nodefs"
13016 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"
13018 # Determine the default libpath from the value encoded in an empty executable.
13019 cat >conftest.
$ac_ext <<_ACEOF
13022 cat confdefs.h
>>conftest.
$ac_ext
13023 cat >>conftest.
$ac_ext <<_ACEOF
13024 /* end confdefs.h. */
13034 rm -f conftest.
$ac_objext conftest
$ac_exeext
13035 if { (ac_try
="$ac_link"
13036 case "(($ac_try" in
13037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13038 *) ac_try_echo=$ac_try;;
13040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13041 (eval "$ac_link") 2>conftest.er1
13043 grep -v '^ *+' conftest.er1 >conftest.err
13045 cat conftest.err >&5
13046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13047 (exit $ac_status); } && {
13048 test -z "$ac_cxx_werror_flag" ||
13049 test ! -s conftest.err
13050 } && test -s conftest$ac_exeext &&
13051 $as_test_x conftest$ac_exeext; then
13053 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13055 # Check for a 64-bit object if we didn't find anything.
13056 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13059 echo "$as_me: failed program was:" >&5
13060 sed 's/^/| /' conftest.$ac_ext >&5
13065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13066 conftest$ac_exeext conftest.$ac_ext
13067 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13069 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13070 # Warning - without using the other run time loading flags,
13071 # -berok will link without error, but may produce a broken library.
13072 no_undefined_flag_CXX=' ${wl}-bernotok'
13073 allow_undefined_flag_CXX=' ${wl}-berok'
13074 # Exported symbols can be pulled into shared objects from archives
13075 whole_archive_flag_spec_CXX='$convenience'
13076 archive_cmds_need_lc_CXX=yes
13077 # This is similar to how AIX traditionally builds its shared libraries.
13078 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'
13084 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13085 allow_undefined_flag_CXX=unsupported
13086 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13087 # support --undefined. This deserves some investigation. FIXME
13088 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13095 case $cc_basename in
13097 # FIXME: insert proper C++ library support
13103 cygwin* | mingw* | pw32*)
13104 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13105 # as there is no search path for DLLs.
13106 hardcode_libdir_flag_spec_CXX='-L$libdir'
13107 allow_undefined_flag_CXX=unsupported
13108 always_export_symbols_CXX=no
13109 enable_shared_with_static_runtimes_CXX=yes
13111 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13112 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'
13113 # If the export-symbols file already is a .def file (1st line
13114 # is EXPORTS), use it as is; otherwise, prepend...
13115 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
13116 cp $export_symbols $output_objdir/$soname.def;
13118 echo EXPORTS > $output_objdir/$soname.def;
13119 cat $export_symbols >> $output_objdir/$soname.def;
13121 $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'
13126 darwin* | rhapsody*)
13128 rhapsody* | darwin1.[012])
13129 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
13132 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13133 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13135 case ${MACOSX_DEPLOYMENT_TARGET} in
13137 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13140 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
13146 archive_cmds_need_lc_CXX=no
13147 hardcode_direct_CXX=no
13148 hardcode_automatic_CXX=yes
13149 hardcode_shlibpath_var_CXX=unsupported
13150 whole_archive_flag_spec_CXX=''
13151 link_all_deplibs_CXX=yes
13153 if test "$GXX" = yes ; then
13154 lt_int_apple_cc_single_mod=no
13155 output_verbose_link_cmd='echo'
13156 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
13157 lt_int_apple_cc_single_mod=yes
13159 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13160 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13162 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'
13164 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13165 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13166 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13167 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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}'
13169 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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}'
13171 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -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}'
13173 case $cc_basename in
13175 output_verbose_link_cmd='echo'
13176 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'
13177 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13178 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13179 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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}'
13180 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -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}'
13190 case $cc_basename in
13192 # FIXME: insert proper C++ library support
13196 # Green Hills C++ Compiler
13197 # FIXME: insert proper C++ library support
13201 # FIXME: insert proper C++ library support
13207 # C++ shared libraries reported to be fairly broken before switch to ELF
13211 archive_cmds_need_lc_CXX=no
13213 freebsd* | kfreebsd*-gnu | dragonfly*)
13214 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13221 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13222 hardcode_libdir_separator_CXX=:
13223 export_dynamic_flag_spec_CXX='${wl}-E'
13224 hardcode_direct_CXX=yes
13225 hardcode_minus_L_CXX=yes # Not in the search PATH,
13226 # but as the default
13227 # location of the library.
13229 case $cc_basename in
13231 # FIXME: insert proper C++ library support
13235 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'
13236 # Commands to make compiler produce verbose output that lists
13237 # what "hidden" libraries, object files and flags are used when
13238 # linking a shared library.
13240 # There doesn't appear to be a way to prevent this compiler from
13241 # explicitly linking system object files so we need to strip them
13242 # from the output so that they don't get included in the library
13244 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 $list'
13247 if test "$GXX" = yes; then
13248 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'
13250 # FIXME: insert proper C++ library support
13257 if test $with_gnu_ld = no; then
13258 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13259 hardcode_libdir_separator_CXX=:
13263 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13266 export_dynamic_flag_spec_CXX='${wl}-E'
13272 hardcode_direct_CXX=no
13273 hardcode_shlibpath_var_CXX=no
13276 hardcode_direct_CXX=yes
13277 hardcode_minus_L_CXX=yes # Not in the search PATH,
13278 # but as the default
13279 # location of the library.
13283 case $cc_basename in
13285 # FIXME: insert proper C++ library support
13291 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13294 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13297 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13300 # Commands to make compiler produce verbose output that lists
13301 # what "hidden" libraries, object files and flags are used when
13302 # linking a shared library.
13304 # There doesn't appear to be a way to prevent this compiler from
13305 # explicitly linking system object files so we need to strip them
13306 # from the output so that they don't get included in the library
13308 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 $list'
13311 if test "$GXX" = yes; then
13312 if test $with_gnu_ld = no; then
13315 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13318 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13321 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'
13326 # FIXME: insert proper C++ library support
13333 hardcode_direct_CXX=no
13334 hardcode_shlibpath_var_CXX=no
13335 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13336 export_dynamic_flag_spec_CXX='${wl}-E'
13337 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13338 # Instead, shared libraries are loaded at an image base (0x10000000 by
13339 # default) and relocated if they conflict, which is a slow very memory
13340 # consuming and fragmenting process. To avoid this, we pick a random,
13341 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13342 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13343 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'
13344 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'
13347 case $cc_basename in
13350 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13352 # Archives containing C++ object files must be created using
13353 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13354 # necessary to make sure instantiated templates are included
13356 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13359 if test "$GXX" = yes; then
13360 if test "$with_gnu_ld" = no; then
13361 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13363 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
13366 link_all_deplibs_CXX=yes
13369 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13370 hardcode_libdir_separator_CXX=:
13373 case $cc_basename in
13375 # Kuck and Associates, Inc. (KAI) C++ Compiler
13377 # KCC will only create a shared library if the output file
13378 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13379 # to its proper name (with version) after linking.
13380 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'
13381 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'
13382 # Commands to make compiler produce verbose output that lists
13383 # what "hidden" libraries, object files and flags are used when
13384 # linking a shared library.
13386 # There doesn't appear to be a way to prevent this compiler from
13387 # explicitly linking system object files so we need to strip them
13388 # from the output so that they don't get included in the library
13390 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 $list'
13392 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
13393 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13395 # Archives containing C++ object files must be created using
13396 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13397 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13402 # version 8.0 and above of icpc choke on multiply defined symbols
13403 # if we add $predep_objects and $postdep_objects, however 7.1 and
13404 # earlier do not add the objects themselves.
13405 case `$CC -V 2>&1` in
13407 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13408 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'
13410 *) # Version 8.0 or newer
13413 ia64
*) tmp_idyn
=' -i_dynamic';;
13415 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13416 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'
13419 archive_cmds_need_lc_CXX
=no
13420 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13421 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13422 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13425 # Portland Group C++ compiler
13426 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13427 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'
13429 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13430 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13431 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'
13435 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13436 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'
13438 runpath_var
=LD_RUN_PATH
13439 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13440 hardcode_libdir_separator_CXX
=:
13442 # Commands to make compiler produce verbose output that lists
13443 # what "hidden" libraries, object files and flags are used when
13444 # linking a shared library.
13446 # There doesn't appear to be a way to prevent this compiler from
13447 # explicitly linking system object files so we need to strip them
13448 # from the output so that they don't get included in the library
13450 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "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 $list'
13455 # FIXME: insert proper C++ library support
13459 # FIXME: insert proper C++ library support
13463 case $cc_basename in
13465 # FIXME: insert proper C++ library support
13469 # FIXME: insert proper C++ library support
13475 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13476 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13478 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13479 hardcode_direct_CXX
=yes
13480 hardcode_shlibpath_var_CXX
=no
13482 # Workaround some broken pre-1.5 toolchains
13483 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13486 # C++ shared libraries are fairly broken
13490 hardcode_direct_CXX
=yes
13491 hardcode_shlibpath_var_CXX
=no
13492 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13493 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13494 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13495 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13496 export_dynamic_flag_spec_CXX
='${wl}-E'
13497 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13499 output_verbose_link_cmd
='echo'
13502 case $cc_basename in
13504 # Kuck and Associates, Inc. (KAI) C++ Compiler
13506 # KCC will only create a shared library if the output file
13507 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13508 # to its proper name (with version) after linking.
13509 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'
13511 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13512 hardcode_libdir_separator_CXX
=:
13514 # Archives containing C++ object files must be created using
13515 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13516 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13520 # Rational C++ 2.4.1
13521 # FIXME: insert proper C++ library support
13525 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13526 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13528 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13529 hardcode_libdir_separator_CXX
=:
13531 # Commands to make compiler produce verbose output that lists
13532 # what "hidden" libraries, object files and flags are used when
13533 # linking a shared library.
13535 # There doesn't appear to be a way to prevent this compiler from
13536 # explicitly linking system object files so we need to strip them
13537 # from the output so that they don't get included in the library
13539 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "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 $list'
13542 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13543 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13544 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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13546 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13547 hardcode_libdir_separator_CXX
=:
13549 # Commands to make compiler produce verbose output that lists
13550 # what "hidden" libraries, object files and flags are used when
13551 # linking a shared library.
13552 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13555 # FIXME: insert proper C++ library support
13562 case $cc_basename in
13564 # Kuck and Associates, Inc. (KAI) C++ Compiler
13566 # KCC will only create a shared library if the output file
13567 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13568 # to its proper name (with version) after linking.
13569 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'
13571 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13572 hardcode_libdir_separator_CXX
=:
13574 # Archives containing C++ object files must be created using
13575 # the KAI C++ compiler.
13576 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
13579 # Rational C++ 2.4.1
13580 # FIXME: insert proper C++ library support
13584 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13585 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13586 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13587 echo "-hidden">> $lib.exp~
13588 $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 -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
13591 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13592 hardcode_libdir_separator_CXX
=:
13594 # Commands to make compiler produce verbose output that lists
13595 # what "hidden" libraries, object files and flags are used when
13596 # linking a shared library.
13598 # There doesn't appear to be a way to prevent this compiler from
13599 # explicitly linking system object files so we need to strip them
13600 # from the output so that they don't get included in the library
13602 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "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 $list'
13605 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13606 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13607 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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13609 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13610 hardcode_libdir_separator_CXX
=:
13612 # Commands to make compiler produce verbose output that lists
13613 # what "hidden" libraries, object files and flags are used when
13614 # linking a shared library.
13615 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13618 # FIXME: insert proper C++ library support
13625 # FIXME: insert proper C++ library support
13629 case $cc_basename in
13632 # FIXME: insert proper C++ library support
13637 # FIXME: insert proper C++ library support
13641 # FIXME: insert proper C++ library support
13647 case $cc_basename in
13649 # Sun C++ 4.2, 5.x and Centerline C++
13650 archive_cmds_need_lc_CXX
=yes
13651 no_undefined_flag_CXX
=' -zdefs'
13652 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13653 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13654 $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'
13656 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13657 hardcode_shlibpath_var_CXX
=no
13659 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13661 # The C++ compiler is used as linker so we must use $wl
13662 # flag to pass the commands to the underlying system
13663 # linker. We must also pass each convience library through
13664 # to the system linker between allextract/defaultextract.
13665 # The C++ compiler will combine linker options so we
13666 # cannot just pass the convience library names through
13668 # Supported since Solaris 2.6 (maybe 2.5.1?)
13669 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
13672 link_all_deplibs_CXX
=yes
13674 output_verbose_link_cmd
='echo'
13676 # Archives containing C++ object files must be created using
13677 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13678 # necessary to make sure instantiated templates are included
13680 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13683 # Green Hills C++ Compiler
13684 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13686 # The C++ compiler must be used to create the archive.
13687 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13690 # GNU C++ compiler with Solaris linker
13691 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13692 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13693 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
13694 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13695 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13696 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13698 # Commands to make compiler produce verbose output that lists
13699 # what "hidden" libraries, object files and flags are used when
13700 # linking a shared library.
13701 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13703 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13705 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13706 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13707 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13709 # Commands to make compiler produce verbose output that lists
13710 # what "hidden" libraries, object files and flags are used when
13711 # linking a shared library.
13712 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13715 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13720 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13721 no_undefined_flag_CXX
='${wl}-z,text'
13722 archive_cmds_need_lc_CXX
=no
13723 hardcode_shlibpath_var_CXX
=no
13724 runpath_var
='LD_RUN_PATH'
13726 case $cc_basename in
13728 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13729 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13732 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13733 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13737 sysv5
* | sco3.2v5
* | sco5v6
*)
13738 # Note: We can NOT use -z defs as we might desire, because we do not
13739 # link with -lc, and that would cause any symbols used from libc to
13740 # always be unresolved, which means just about no library would
13741 # ever link correctly. If we're not using GNU ld we use -z text
13742 # though, which does catch some bad symbols but isn't as heavy-handed
13744 # For security reasons, it is highly recommended that you always
13745 # use absolute paths for naming shared libraries, and exclude the
13746 # DT_RUNPATH tag from executables and libraries. But doing so
13747 # requires that you compile everything twice, which is a pain.
13748 # So that behaviour is only enabled if SCOABSPATH is set to a
13749 # non-empty value in the environment. Most likely only useful for
13750 # creating official distributions of packages.
13751 # This is a hack until libtool officially supports absolute path
13752 # names for shared libraries.
13753 no_undefined_flag_CXX
='${wl}-z,text'
13754 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13755 archive_cmds_need_lc_CXX
=no
13756 hardcode_shlibpath_var_CXX
=no
13757 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13758 hardcode_libdir_separator_CXX
=':'
13759 link_all_deplibs_CXX
=yes
13760 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13761 runpath_var
='LD_RUN_PATH'
13763 case $cc_basename in
13765 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13766 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13769 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13770 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13775 case $cc_basename in
13777 # NonStop-UX NCC 3.20
13778 # FIXME: insert proper C++ library support
13782 # FIXME: insert proper C++ library support
13788 # FIXME: insert proper C++ library support
13792 # FIXME: insert proper C++ library support
13796 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13797 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13798 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13804 ## There is no encapsulation within the following macros, do not change
13805 ## the running order or otherwise move them around unless you know exactly
13806 ## what you are doing...
13808 cat > conftest.
$ac_ext <<EOF
13812 Foo (void) { a = 0; }
13818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13819 (eval $ac_compile) 2>&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); }; then
13823 # Parse the compiler output and extract the necessary
13824 # objects, libraries and library flags.
13826 # Sentinel used to keep track of whether or not we are before
13827 # the conftest object file.
13828 pre_test_object_deps_done
=no
13830 # The `*' in the case matches for architectures that use `case' in
13831 # $output_verbose_cmd can trigger glob expansion during the loop
13832 # eval without this substitution.
13833 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13835 for p
in `eval $output_verbose_link_cmd`; do
13839 # Some compilers place space between "-{L,R}" and the path.
13840 # Remove the space.
13841 if test $p = "-L" \
13842 ||
test $p = "-R"; then
13849 if test "$pre_test_object_deps_done" = no
; then
13852 # Internal compiler library paths should come after those
13853 # provided the user. The postdeps already come after the
13854 # user supplied libs so there is no need to process them.
13855 if test -z "$compiler_lib_search_path_CXX"; then
13856 compiler_lib_search_path_CXX
="${prev}${p}"
13858 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13861 # The "-l" case would never come before the object being
13862 # linked, so don't bother handling this case.
13865 if test -z "$postdeps_CXX"; then
13866 postdeps_CXX
="${prev}${p}"
13868 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13874 # This assumes that the test object file only shows up
13875 # once in the compiler output.
13876 if test "$p" = "conftest.$objext"; then
13877 pre_test_object_deps_done
=yes
13881 if test "$pre_test_object_deps_done" = no
; then
13882 if test -z "$predep_objects_CXX"; then
13883 predep_objects_CXX
="$p"
13885 predep_objects_CXX
="$predep_objects_CXX $p"
13888 if test -z "$postdep_objects_CXX"; then
13889 postdep_objects_CXX
="$p"
13891 postdep_objects_CXX
="$postdep_objects_CXX $p"
13896 *) ;; # Ignore the rest.
13904 echo "libtool.m4: error: problem compiling CXX test program"
13907 $rm -f confest.
$objext
13909 # PORTME: override above test on systems where it is broken
13912 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13913 # hack all around it, let's just trust "g++" to DTRT.
13914 predep_objects_CXX
=
13915 postdep_objects_CXX
=
13920 case $cc_basename in
13922 # Adding this requires a known-good setup of shared libraries for
13923 # Sun compiler versions before 5.6, else PIC objects from an old
13924 # archive will be linked into the output, leading to subtle bugs.
13925 postdeps_CXX
='-lCstd -lCrun'
13932 case " $postdeps_CXX " in
13933 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13936 lt_prog_compiler_wl_CXX
=
13937 lt_prog_compiler_pic_CXX
=
13938 lt_prog_compiler_static_CXX
=
13940 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13941 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13943 # C++ specific cases for pic, static, wl, etc.
13944 if test "$GXX" = yes; then
13945 lt_prog_compiler_wl_CXX
='-Wl,'
13946 lt_prog_compiler_static_CXX
='-static'
13950 # All AIX code is PIC.
13951 if test "$host_cpu" = ia64
; then
13952 # AIX 5 now supports IA64 processor
13953 lt_prog_compiler_static_CXX
='-Bstatic'
13957 # FIXME: we need at least 68020 code to build shared libraries, but
13958 # adding the `-m68020' flag to GCC prevents building anything better,
13960 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13962 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13963 # PIC is the default for these OSes.
13965 mingw
* | os2
* | pw32
*)
13966 # This hack is so that the source file can tell whether it is being
13967 # built for inclusion in a dll (and should export symbols for example).
13968 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13970 darwin
* | rhapsody
*)
13971 # PIC is the default on this platform
13972 # Common symbols not allowed in MH_DYLIB files
13973 lt_prog_compiler_pic_CXX
='-fno-common'
13976 # DJGPP does not support shared libraries at all
13977 lt_prog_compiler_pic_CXX
=
13980 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13981 # Instead, we relocate shared libraries at runtime.
13984 if test -d /usr
/nec
; then
13985 lt_prog_compiler_pic_CXX
=-Kconform_pic
13989 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13990 # not for PA HP-UX.
13995 lt_prog_compiler_pic_CXX
='-fPIC'
14000 lt_prog_compiler_pic_CXX
='-fPIC'
14006 # All AIX code is PIC.
14007 if test "$host_cpu" = ia64
; then
14008 # AIX 5 now supports IA64 processor
14009 lt_prog_compiler_static_CXX
='-Bstatic'
14011 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14015 case $cc_basename in
14017 # Green Hills C++ Compiler
14018 # _LT_AC_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"
14023 # PIC is the default on this platform
14024 # Common symbols not allowed in MH_DYLIB files
14025 case $cc_basename in
14027 lt_prog_compiler_pic_CXX
='-qnocommon'
14028 lt_prog_compiler_wl_CXX
='-Wl,'
14033 case $cc_basename in
14035 lt_prog_compiler_pic_CXX
='-KPIC'
14038 # Green Hills C++ Compiler
14039 lt_prog_compiler_pic_CXX
='-pic'
14045 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14046 # FreeBSD uses GNU C++
14048 hpux9
* | hpux10
* | hpux11
*)
14049 case $cc_basename in
14051 lt_prog_compiler_wl_CXX
='-Wl,'
14052 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14053 if test "$host_cpu" != ia64
; then
14054 lt_prog_compiler_pic_CXX
='+Z'
14058 lt_prog_compiler_wl_CXX
='-Wl,'
14059 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14065 lt_prog_compiler_pic_CXX
='+Z'
14074 # This is c89, which is MS Visual C++ (no shared libs)
14075 # Anyone wants to do a port?
14077 irix5
* | irix6
* | nonstopux
*)
14078 case $cc_basename in
14080 lt_prog_compiler_wl_CXX
='-Wl,'
14081 lt_prog_compiler_static_CXX
='-non_shared'
14082 # CC pic flag -KPIC is the default.
14089 case $cc_basename in
14092 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14093 lt_prog_compiler_pic_CXX
='-fPIC'
14097 lt_prog_compiler_wl_CXX
='-Wl,'
14098 lt_prog_compiler_pic_CXX
='-KPIC'
14099 lt_prog_compiler_static_CXX
='-static'
14102 # Portland Group C++ compiler.
14103 lt_prog_compiler_wl_CXX
='-Wl,'
14104 lt_prog_compiler_pic_CXX
='-fpic'
14105 lt_prog_compiler_static_CXX
='-Bstatic'
14109 # Make sure the PIC flag is empty. It appears that all Alpha
14110 # Linux and Compaq Tru64 Unix objects are PIC.
14111 lt_prog_compiler_pic_CXX
=
14112 lt_prog_compiler_static_CXX
='-non_shared'
14123 case $cc_basename in
14125 lt_prog_compiler_pic_CXX
='-W c,exportall'
14133 osf3
* | osf4
* | osf5
*)
14134 case $cc_basename in
14136 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14139 # Rational C++ 2.4.1
14140 lt_prog_compiler_pic_CXX
='-pic'
14143 # Digital/Compaq C++
14144 lt_prog_compiler_wl_CXX
='-Wl,'
14145 # Make sure the PIC flag is empty. It appears that all Alpha
14146 # Linux and Compaq Tru64 Unix objects are PIC.
14147 lt_prog_compiler_pic_CXX
=
14148 lt_prog_compiler_static_CXX
='-non_shared'
14157 case $cc_basename in
14159 # Sun C++ 4.2, 5.x and Centerline C++
14160 lt_prog_compiler_pic_CXX
='-KPIC'
14161 lt_prog_compiler_static_CXX
='-Bstatic'
14162 lt_prog_compiler_wl_CXX
='-Qoption ld '
14165 # Green Hills C++ Compiler
14166 lt_prog_compiler_pic_CXX
='-PIC'
14173 case $cc_basename in
14176 lt_prog_compiler_pic_CXX
='-pic'
14177 lt_prog_compiler_static_CXX
='-Bstatic'
14181 lt_prog_compiler_pic_CXX
='-pic'
14188 case $cc_basename in
14190 # NonStop-UX NCC 3.20
14191 lt_prog_compiler_pic_CXX
='-KPIC'
14197 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14198 case $cc_basename in
14200 lt_prog_compiler_wl_CXX
='-Wl,'
14201 lt_prog_compiler_pic_CXX
='-KPIC'
14202 lt_prog_compiler_static_CXX
='-Bstatic'
14209 lt_prog_compiler_can_build_shared_CXX
=no
14214 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14215 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14218 # Check to make sure the PIC flag actually works.
14220 if test -n "$lt_prog_compiler_pic_CXX"; then
14222 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14223 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14224 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14227 lt_prog_compiler_pic_works_CXX
=no
14228 ac_outfile
=conftest.
$ac_objext
14229 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14230 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14231 # Insert the option either (1) after the last *FLAGS variable, or
14232 # (2) before a word containing "conftest.", or (3) at the end.
14233 # Note that $ac_compile itself does not contain backslashes and begins
14234 # with a dollar sign (not a hyphen), so the echo should work correctly.
14235 # The option is referenced via a variable to avoid confusing sed.
14236 lt_compile
=`echo "$ac_compile" | $SED \
14237 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14238 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14239 -e 's:$: $lt_compiler_flag:'`
14240 (eval echo "\"\$as_me:14240: $lt_compile\"" >&5)
14241 (eval "$lt_compile" 2>conftest.err
)
14243 cat conftest.err
>&5
14244 echo "$as_me:14244: \$? = $ac_status" >&5
14245 if (exit $ac_status) && test -s "$ac_outfile"; then
14246 # The compiler can only warn and ignore the option if not recognized
14247 # So say no if there are warnings other than the usual output.
14248 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14249 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14250 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14251 lt_prog_compiler_pic_works_CXX
=yes
14257 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14258 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
14260 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
14261 case $lt_prog_compiler_pic_CXX in
14263 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14266 lt_prog_compiler_pic_CXX
=
14267 lt_prog_compiler_can_build_shared_CXX
=no
14272 # For platforms which do not support PIC, -DPIC is meaningless:
14274 lt_prog_compiler_pic_CXX
=
14277 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14282 # Check to make sure the static flag actually works.
14284 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14285 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14286 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14287 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14290 lt_prog_compiler_static_works_CXX
=no
14291 save_LDFLAGS
="$LDFLAGS"
14292 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14293 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14294 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14295 # The linker can only warn and ignore the option if not recognized
14296 # So say no if there are warnings
14297 if test -s conftest.err
; then
14298 # Append any errors to the config.log.
14299 cat conftest.err
1>&5
14300 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14301 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14302 if diff conftest.exp conftest.er2
>/dev
/null
; then
14303 lt_prog_compiler_static_works_CXX
=yes
14306 lt_prog_compiler_static_works_CXX
=yes
14310 LDFLAGS
="$save_LDFLAGS"
14313 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14314 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
14316 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
14319 lt_prog_compiler_static_CXX
=
14323 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14324 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14325 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14328 lt_cv_prog_compiler_c_o_CXX
=no
14329 $rm -r conftest
2>/dev
/null
14333 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14335 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14336 # Insert the option either (1) after the last *FLAGS variable, or
14337 # (2) before a word containing "conftest.", or (3) at the end.
14338 # Note that $ac_compile itself does not contain backslashes and begins
14339 # with a dollar sign (not a hyphen), so the echo should work correctly.
14340 lt_compile
=`echo "$ac_compile" | $SED \
14341 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14343 -e 's:$: $lt_compiler_flag:'`
14344 (eval echo "\"\$as_me:14344: $lt_compile\"" >&5)
14345 (eval "$lt_compile" 2>out
/conftest.err
)
14347 cat out
/conftest.err
>&5
14348 echo "$as_me:14348: \$? = $ac_status" >&5
14349 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14351 # The compiler can only warn and ignore the option if not recognized
14352 # So say no if there are warnings
14353 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14354 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14355 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14356 lt_cv_prog_compiler_c_o_CXX
=yes
14361 # SGI C++ compiler will create directory out/ii_files/ for
14362 # template instantiation
14363 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14364 $rm out
/* && rmdir out
14370 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14371 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14374 hard_links
="nottested"
14375 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14376 # do not overwrite the value of need_locks provided by the user
14377 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14378 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14381 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14383 ln conftest.a conftest.b
2>&5 || hard_links
=no
14384 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14385 { echo "$as_me:$LINENO: result: $hard_links" >&5
14386 echo "${ECHO_T}$hard_links" >&6; }
14387 if test "$hard_links" = no
; then
14388 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14389 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14396 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14397 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14399 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14402 # If we're using GNU nm, then we don't want the "-C" option.
14403 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14404 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14405 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'
14407 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'
14411 export_symbols_cmds_CXX
="$ltdll_cmds"
14414 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'
14417 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14421 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14422 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14423 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14426 # Do we need to explicitly link libc?
14428 case "x$archive_cmds_need_lc_CXX" in
14430 # Assume -lc should be added
14431 archive_cmds_need_lc_CXX
=yes
14433 if test "$enable_shared" = yes && test "$GCC" = yes; then
14434 case $archive_cmds_CXX in
14436 # FIXME: we may have to deal with multi-command sequences.
14439 # Test whether the compiler implicitly links with -lc since on some
14440 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14441 # to ld, don't add -lc before -lgcc.
14442 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14443 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14445 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14448 (eval $ac_compile) 2>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } 2>conftest.err
; then
14454 libobjs
=conftest.
$ac_objext
14456 wl
=$lt_prog_compiler_wl_CXX
14457 pic_flag
=$lt_prog_compiler_pic_CXX
14463 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14464 allow_undefined_flag_CXX
=
14465 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14466 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }
14471 archive_cmds_need_lc_CXX
=no
14473 archive_cmds_need_lc_CXX
=yes
14475 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14477 cat conftest.err
1>&5
14480 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14481 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14488 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14489 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14490 library_names_spec
=
14491 libname_spec
='lib$name'
14495 postuninstall_cmds
=
14499 shlibpath_overrides_runpath
=unknown
14501 dynamic_linker
="$host_os ld.so"
14502 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14503 if test "$GCC" = yes; then
14504 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14505 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
14506 # if the path contains ";" then we assume it to be the separator
14507 # otherwise default to the standard path separator (i.e. ":") - it is
14508 # assumed that no part of a normal pathname contains ";" but that should
14509 # okay in the real world where ";" in dirpaths is itself problematic.
14510 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14512 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14515 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
14517 need_lib_prefix
=unknown
14518 hardcode_into_libs
=no
14520 # when you set need_version to no, make sure it does not cause -set_version
14521 # flags to be left without arguments
14522 need_version
=unknown
14527 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14528 shlibpath_var
=LIBPATH
14530 # AIX 3 has no versioning support, so we append a major version to the name.
14531 soname_spec
='${libname}${release}${shared_ext}$major'
14538 hardcode_into_libs
=yes
14539 if test "$host_cpu" = ia64
; then
14540 # AIX 5 supports IA64
14541 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14542 shlibpath_var
=LD_LIBRARY_PATH
14544 # With GCC up to 2.95.x, collect2 would create an import file
14545 # for dependence libraries. The import file would start with
14546 # the line `#! .'. This would cause the generated library to
14547 # depend on `.', always an invalid library. This was fixed in
14548 # development snapshots of GCC prior to 3.0.
14550 aix4 | aix4.
[01] | aix4.
[01].
*)
14551 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14553 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14556 can_build_shared
=no
14560 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14561 # soname into executable. Probably we can add versioning support to
14562 # collect2, so additional links can be useful in future.
14563 if test "$aix_use_runtimelinking" = yes; then
14564 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14565 # instead of lib<name>.a to let people know that these are not
14566 # typical AIX shared libraries.
14567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14569 # We preserve .a as extension for shared libraries through AIX4.2
14570 # and later when we are not doing run time linking.
14571 library_names_spec
='${libname}${release}.a $libname.a'
14572 soname_spec
='${libname}${release}${shared_ext}$major'
14574 shlibpath_var
=LIBPATH
14579 library_names_spec
='$libname.ixlibrary $libname.a'
14580 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14581 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'
14585 library_names_spec
='${libname}${shared_ext}'
14586 dynamic_linker
="$host_os ld.so"
14587 shlibpath_var
=LIBRARY_PATH
14593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14594 soname_spec
='${libname}${release}${shared_ext}$major'
14595 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14596 shlibpath_var
=LD_LIBRARY_PATH
14597 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14598 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14599 # the default ld.so.conf also contains /usr/contrib/lib and
14600 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14601 # libtool to hard-code these into programs
14604 cygwin
* | mingw
* | pw32
*)
14605 version_type
=windows
14610 case $GCC,$host_os in
14611 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14612 library_names_spec
='$libname.dll.a'
14613 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14614 postinstall_cmds
='base_file=`basename \${file}`~
14615 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14616 dldir=$destdir/`dirname \$dlpath`~
14617 test -d \$dldir || mkdir -p \$dldir~
14618 $install_prog $dir/$dlname \$dldir/$dlname~
14619 chmod a+x \$dldir/$dlname'
14620 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14621 dlpath=$dir/\$dldll~
14623 shlibpath_overrides_runpath
=yes
14627 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14628 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14629 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14632 # MinGW DLLs use traditional 'lib' prefix
14633 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14634 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14635 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14636 # It is most probably a Windows format PATH printed by
14637 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14638 # path with ; separators, and with drive letters. We can handle the
14639 # drive letters (cygwin fileutils understands them), so leave them,
14640 # especially as we might pass files found there to a mingw objdump,
14641 # which wouldn't understand a cygwinified path. Ahh.
14642 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14644 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14648 # pw32 DLLs use 'pw' prefix rather than 'lib'
14649 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14655 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14658 dynamic_linker
='Win32 ld.exe'
14659 # FIXME: first we should search . and the directory the executable is in
14663 darwin
* | rhapsody
*)
14664 dynamic_linker
="$host_os dyld"
14665 version_type
=darwin
14668 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14669 soname_spec
='${libname}${release}${major}$shared_ext'
14670 shlibpath_overrides_runpath
=yes
14671 shlibpath_var
=DYLD_LIBRARY_PATH
14672 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14673 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14674 if test "$GCC" = yes; then
14675 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14677 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
14679 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14687 soname_spec
='${libname}${release}${shared_ext}$major'
14688 shlibpath_var
=LD_LIBRARY_PATH
14699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14700 soname_spec
='${libname}${release}${shared_ext}$major'
14701 shlibpath_var
=LD_LIBRARY_PATH
14702 shlibpath_overrides_runpath
=no
14703 hardcode_into_libs
=yes
14704 dynamic_linker
='GNU ld.so'
14707 freebsd
* | dragonfly
*)
14708 # DragonFly does not have aout. When/if they implement a new
14709 # versioning mechanism, adjust this.
14710 if test -x /usr
/bin
/objformat
; then
14711 objformat
=`/usr/bin/objformat`
14714 freebsd
[123]*) objformat
=aout
;;
14715 *) objformat
=elf
;;
14718 version_type
=freebsd-
$objformat
14719 case $version_type in
14721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14726 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14730 shlibpath_var
=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath
=yes
14735 freebsd3.
[01]* | freebsdelf3.
[01]*)
14736 shlibpath_overrides_runpath
=yes
14737 hardcode_into_libs
=yes
14739 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14740 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14741 shlibpath_overrides_runpath
=no
14742 hardcode_into_libs
=yes
14744 freebsd
*) # from 4.6 on
14745 shlibpath_overrides_runpath
=yes
14746 hardcode_into_libs
=yes
14755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14756 soname_spec
='${libname}${release}${shared_ext}$major'
14757 shlibpath_var
=LD_LIBRARY_PATH
14758 hardcode_into_libs
=yes
14761 hpux9
* | hpux10
* | hpux11
*)
14762 # Give a soname corresponding to the major version so that dld.sl refuses to
14763 # link against other versions.
14770 hardcode_into_libs
=yes
14771 dynamic_linker
="$host_os dld.so"
14772 shlibpath_var
=LD_LIBRARY_PATH
14773 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14775 soname_spec
='${libname}${release}${shared_ext}$major'
14776 if test "X$HPUX_IA64_MODE" = X32
; then
14777 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14779 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14781 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14785 hardcode_into_libs
=yes
14786 dynamic_linker
="$host_os dld.sl"
14787 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14788 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14790 soname_spec
='${libname}${release}${shared_ext}$major'
14791 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14792 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14796 dynamic_linker
="$host_os dld.sl"
14797 shlibpath_var
=SHLIB_PATH
14798 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14800 soname_spec
='${libname}${release}${shared_ext}$major'
14803 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14804 postinstall_cmds
='chmod 555 $lib'
14811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14812 soname_spec
='${libname}${release}${shared_ext}$major'
14813 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14814 shlibpath_var
=LD_LIBRARY_PATH
14815 shlibpath_overrides_runpath
=no
14816 hardcode_into_libs
=yes
14819 irix5
* | irix6
* | nonstopux
*)
14821 nonstopux
*) version_type
=nonstopux
;;
14823 if test "$lt_cv_prog_gnu_ld" = yes; then
14831 soname_spec
='${libname}${release}${shared_ext}$major'
14832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14834 irix5
* | nonstopux
*)
14835 libsuff
= shlibsuff
=
14838 case $LD in # libtool.m4 will add one of these switches to LD
14839 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14840 libsuff
= shlibsuff
= libmagic
=32-bit;;
14841 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14842 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14843 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14844 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14845 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14849 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14850 shlibpath_overrides_runpath
=no
14851 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14852 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14853 hardcode_into_libs
=yes
14856 # No shared lib support for Linux oldld, aout, or coff.
14857 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14861 # This must be Linux ELF.
14866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14867 soname_spec
='${libname}${release}${shared_ext}$major'
14868 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14869 shlibpath_var
=LD_LIBRARY_PATH
14870 shlibpath_overrides_runpath
=no
14871 # This implies no fast_install, which is unacceptable.
14872 # Some rework will be needed to allow for fast_install
14873 # before this can be enabled.
14874 hardcode_into_libs
=yes
14876 # Append ld.so.conf contents to the search path
14877 if test -f /etc
/ld.so.conf
; then
14878 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14879 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14882 # We used to test for /lib/ld.so.1 and disable shared libraries on
14883 # powerpc, because MkLinux only supported shared libraries with the
14884 # GNU dynamic linker. Since this was broken with cross compilers,
14885 # most powerpc-linux boxes support dynamic linking these days and
14886 # people can always --disable-shared, the test was removed, and we
14887 # assume the GNU/Linux dynamic linker is in use.
14888 dynamic_linker
='GNU/Linux ld.so'
14895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14896 soname_spec
='${libname}${release}${shared_ext}$major'
14897 shlibpath_var
=LD_LIBRARY_PATH
14898 shlibpath_overrides_runpath
=no
14899 hardcode_into_libs
=yes
14900 dynamic_linker
='GNU ld.so'
14907 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14909 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14910 dynamic_linker
='NetBSD (a.out) ld.so'
14912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14913 soname_spec
='${libname}${release}${shared_ext}$major'
14914 dynamic_linker
='NetBSD ld.elf_so'
14916 shlibpath_var
=LD_LIBRARY_PATH
14917 shlibpath_overrides_runpath
=yes
14918 hardcode_into_libs
=yes
14923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14924 shlibpath_var
=LD_LIBRARY_PATH
14925 shlibpath_overrides_runpath
=yes
14932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14933 soname_spec
='${libname}${release}${shared_ext}$major'
14934 shlibpath_var
=LD_LIBRARY_PATH
14935 shlibpath_overrides_runpath
=yes
14940 sys_lib_dlsearch_path_spec
="/usr/lib"
14942 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14944 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14945 *) need_version
=no
;;
14947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14948 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14949 shlibpath_var
=LD_LIBRARY_PATH
14950 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14952 openbsd2.
[89] | openbsd2.
[89].
*)
14953 shlibpath_overrides_runpath
=no
14956 shlibpath_overrides_runpath
=yes
14960 shlibpath_overrides_runpath
=yes
14965 libname_spec
='$name'
14968 library_names_spec
='$libname${shared_ext} $libname.a'
14969 dynamic_linker
='OS/2 ld.exe'
14970 shlibpath_var
=LIBPATH
14973 osf3
* | osf4
* | osf5
*)
14977 soname_spec
='${libname}${release}${shared_ext}$major'
14978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14979 shlibpath_var
=LD_LIBRARY_PATH
14980 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14981 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14989 soname_spec
='${libname}${release}${shared_ext}$major'
14990 shlibpath_var
=LD_LIBRARY_PATH
14991 shlibpath_overrides_runpath
=yes
14992 hardcode_into_libs
=yes
14993 # ldd complains unless libraries are executable
14994 postinstall_cmds
='chmod +x $lib'
14999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15000 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15001 shlibpath_var
=LD_LIBRARY_PATH
15002 shlibpath_overrides_runpath
=yes
15003 if test "$with_gnu_ld" = yes; then
15011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15012 soname_spec
='${libname}${release}${shared_ext}$major'
15013 shlibpath_var
=LD_LIBRARY_PATH
15014 case $host_vendor in
15016 shlibpath_overrides_runpath
=no
15018 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15019 runpath_var
=LD_RUN_PATH
15027 shlibpath_overrides_runpath
=no
15028 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15034 if test -d /usr
/nec
;then
15036 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15037 soname_spec
='$libname${shared_ext}.$major'
15038 shlibpath_var
=LD_LIBRARY_PATH
15042 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15043 version_type
=freebsd-elf
15046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15047 soname_spec
='${libname}${release}${shared_ext}$major'
15048 shlibpath_var
=LD_LIBRARY_PATH
15049 hardcode_into_libs
=yes
15050 if test "$with_gnu_ld" = yes; then
15051 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15052 shlibpath_overrides_runpath
=no
15054 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15055 shlibpath_overrides_runpath
=yes
15058 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15062 sys_lib_dlsearch_path_spec
='/usr/lib'
15067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15068 soname_spec
='${libname}${release}${shared_ext}$major'
15069 shlibpath_var
=LD_LIBRARY_PATH
15076 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15077 echo "${ECHO_T}$dynamic_linker" >&6; }
15078 test "$dynamic_linker" = no
&& can_build_shared
=no
15080 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15081 if test "$GCC" = yes; then
15082 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15085 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15086 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15087 hardcode_action_CXX
=
15088 if test -n "$hardcode_libdir_flag_spec_CXX" || \
15089 test -n "$runpath_var_CXX" || \
15090 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15092 # We can hardcode non-existant directories.
15093 if test "$hardcode_direct_CXX" != no
&&
15094 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15095 # have to relink, otherwise we might link with an installed library
15096 # when we should be linking with a yet-to-be-installed one
15097 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15098 test "$hardcode_minus_L_CXX" != no
; then
15099 # Linking always hardcodes the temporary library directory.
15100 hardcode_action_CXX
=relink
15102 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15103 hardcode_action_CXX
=immediate
15106 # We cannot hardcode anything, or else we can only hardcode existing
15108 hardcode_action_CXX
=unsupported
15110 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15111 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15113 if test "$hardcode_action_CXX" = relink
; then
15114 # Fast installation is not supported
15115 enable_fast_install
=no
15116 elif test "$shlibpath_overrides_runpath" = yes ||
15117 test "$enable_shared" = no
; then
15118 # Fast installation is not necessary
15119 enable_fast_install
=needless
15123 # The else clause should only fire when bootstrapping the
15124 # libtool distribution, otherwise you forgot to ship ltmain.sh
15125 # with your package, and you will get complaints that there are
15126 # no rules to generate ltmain.sh.
15127 if test -f "$ltmain"; then
15128 # See if we are running on zsh, and set the options which allow our commands through
15129 # without removal of \ escapes.
15130 if test -n "${ZSH_VERSION+set}" ; then
15131 setopt NO_GLOB_SUBST
15133 # Now quote all the things that may contain metacharacters while being
15134 # careful not to overquote the AC_SUBSTed values. We take copies of the
15135 # variables and quote the copies for generation of the libtool script.
15136 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15138 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15139 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15140 deplibs_check_method reload_flag reload_cmds need_locks \
15141 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15142 lt_cv_sys_global_symbol_to_c_name_address \
15143 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15144 old_postinstall_cmds old_postuninstall_cmds \
15148 lt_prog_compiler_wl_CXX \
15149 lt_prog_compiler_pic_CXX \
15150 lt_prog_compiler_static_CXX \
15151 lt_prog_compiler_no_builtin_flag_CXX \
15152 export_dynamic_flag_spec_CXX \
15153 thread_safe_flag_spec_CXX \
15154 whole_archive_flag_spec_CXX \
15155 enable_shared_with_static_runtimes_CXX \
15156 old_archive_cmds_CXX \
15157 old_archive_from_new_cmds_CXX \
15158 predep_objects_CXX \
15159 postdep_objects_CXX \
15162 compiler_lib_search_path_CXX \
15164 archive_expsym_cmds_CXX \
15165 postinstall_cmds_CXX \
15166 postuninstall_cmds_CXX \
15167 old_archive_from_expsyms_cmds_CXX \
15168 allow_undefined_flag_CXX \
15169 no_undefined_flag_CXX \
15170 export_symbols_cmds_CXX \
15171 hardcode_libdir_flag_spec_CXX \
15172 hardcode_libdir_flag_spec_ld_CXX \
15173 hardcode_libdir_separator_CXX \
15174 hardcode_automatic_CXX \
15176 module_expsym_cmds_CXX \
15177 lt_cv_prog_compiler_c_o_CXX \
15178 exclude_expsyms_CXX \
15179 include_expsyms_CXX
; do
15182 old_archive_cmds_CXX | \
15183 old_archive_from_new_cmds_CXX | \
15184 archive_cmds_CXX | \
15185 archive_expsym_cmds_CXX | \
15186 module_cmds_CXX | \
15187 module_expsym_cmds_CXX | \
15188 old_archive_from_expsyms_cmds_CXX | \
15189 export_symbols_cmds_CXX | \
15190 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15191 postinstall_cmds | postuninstall_cmds | \
15192 old_postinstall_cmds | old_postuninstall_cmds | \
15193 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15194 # Double-quote double-evaled strings.
15195 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15198 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15204 *'\$0 --fallback-echo"')
15205 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15211 cat <<__EOF__ >> "$cfgfile"
15212 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15214 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15216 # Shell to use when invoking shell scripts.
15219 # Whether or not to build shared libraries.
15220 build_libtool_libs=$enable_shared
15222 # Whether or not to build static libraries.
15223 build_old_libs=$enable_static
15225 # Whether or not to add -lc for building shared libraries.
15226 build_libtool_need_lc=$archive_cmds_need_lc_CXX
15228 # Whether or not to disallow shared libs when runtime libs are static
15229 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15231 # Whether or not to optimize for fast installation.
15232 fast_install=$enable_fast_install
15235 host_alias=$host_alias
15239 # The build system.
15240 build_alias=$build_alias
15244 # An echo program that does not interpret backslashes.
15249 AR_FLAGS=$lt_AR_FLAGS
15254 # LTCC compiler flags.
15255 LTCFLAGS=$lt_LTCFLAGS
15257 # A language-specific compiler.
15258 CC=$lt_compiler_CXX
15260 # Is the compiler the GNU C compiler?
15266 # The linker used to build libraries.
15269 # Whether we need hard or soft links.
15272 # A BSD-compatible nm program.
15275 # A symbol stripping program
15278 # Used to examine libraries when file_magic_cmd begins "file"
15279 MAGIC_CMD=$MAGIC_CMD
15281 # Used on cygwin: DLL creation program.
15284 # Used on cygwin: object dumper.
15287 # Used on cygwin: assembler.
15290 # The name of the directory that contains temporary libtool files.
15293 # How to create reloadable object files.
15294 reload_flag=$lt_reload_flag
15295 reload_cmds=$lt_reload_cmds
15297 # How to pass a linker flag through the compiler.
15298 wl=$lt_lt_prog_compiler_wl_CXX
15300 # Object file suffix (normally "o").
15301 objext="$ac_objext"
15303 # Old archive suffix (normally "a").
15306 # Shared library suffix (normally ".so").
15307 shrext_cmds='$shrext_cmds'
15309 # Executable file suffix (normally "").
15312 # Additional compiler flags for building library objects.
15313 pic_flag=$lt_lt_prog_compiler_pic_CXX
15316 # What is the maximum length of a command?
15317 max_cmd_len=$lt_cv_sys_max_cmd_len
15319 # Does compiler simultaneously support -c and -o options?
15320 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15322 # Must we lock files when doing compilation?
15323 need_locks=$lt_need_locks
15325 # Do we need the lib prefix for modules?
15326 need_lib_prefix=$need_lib_prefix
15328 # Do we need a version for libraries?
15329 need_version=$need_version
15331 # Whether dlopen is supported.
15332 dlopen_support=$enable_dlopen
15334 # Whether dlopen of programs is supported.
15335 dlopen_self=$enable_dlopen_self
15337 # Whether dlopen of statically linked programs is supported.
15338 dlopen_self_static=$enable_dlopen_self_static
15340 # Compiler flag to prevent dynamic linking.
15341 link_static_flag=$lt_lt_prog_compiler_static_CXX
15343 # Compiler flag to turn off builtin functions.
15344 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15346 # Compiler flag to allow reflexive dlopens.
15347 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15349 # Compiler flag to generate shared objects directly from archives.
15350 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15352 # Compiler flag to generate thread-safe objects.
15353 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15355 # Library versioning type.
15356 version_type=$version_type
15358 # Format of library name prefix.
15359 libname_spec=$lt_libname_spec
15361 # List of archive names. First name is the real one, the rest are links.
15362 # The last name is the one that the linker finds with -lNAME.
15363 library_names_spec=$lt_library_names_spec
15365 # The coded name of the library, if different from the real name.
15366 soname_spec=$lt_soname_spec
15368 # Commands used to build and install an old-style archive.
15370 old_archive_cmds=$lt_old_archive_cmds_CXX
15371 old_postinstall_cmds=$lt_old_postinstall_cmds
15372 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15374 # Create an old-style archive from a shared archive.
15375 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15377 # Create a temporary old-style archive to link instead of a shared archive.
15378 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15380 # Commands used to build and install a shared archive.
15381 archive_cmds=$lt_archive_cmds_CXX
15382 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15383 postinstall_cmds=$lt_postinstall_cmds
15384 postuninstall_cmds=$lt_postuninstall_cmds
15386 # Commands used to build a loadable module (assumed same as above if empty)
15387 module_cmds=$lt_module_cmds_CXX
15388 module_expsym_cmds=$lt_module_expsym_cmds_CXX
15390 # Commands to strip libraries.
15391 old_striplib=$lt_old_striplib
15392 striplib=$lt_striplib
15394 # Dependencies to place before the objects being linked to create a
15396 predep_objects=$lt_predep_objects_CXX
15398 # Dependencies to place after the objects being linked to create a
15400 postdep_objects=$lt_postdep_objects_CXX
15402 # Dependencies to place before the objects being linked to create a
15404 predeps=$lt_predeps_CXX
15406 # Dependencies to place after the objects being linked to create a
15408 postdeps=$lt_postdeps_CXX
15410 # The library search path used internally by the compiler when linking
15411 # a shared library.
15412 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15414 # Method to check whether dependent libraries are shared objects.
15415 deplibs_check_method=$lt_deplibs_check_method
15417 # Command to use when deplibs_check_method == file_magic.
15418 file_magic_cmd=$lt_file_magic_cmd
15420 # Flag that allows shared libraries with undefined symbols to be built.
15421 allow_undefined_flag=$lt_allow_undefined_flag_CXX
15423 # Flag that forces no undefined symbols.
15424 no_undefined_flag=$lt_no_undefined_flag_CXX
15426 # Commands used to finish a libtool library installation in a directory.
15427 finish_cmds=$lt_finish_cmds
15429 # Same as above, but a single script fragment to be evaled but not shown.
15430 finish_eval=$lt_finish_eval
15432 # Take the output of nm and produce a listing of raw symbols and C names.
15433 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15435 # Transform the output of nm in a proper C declaration
15436 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15438 # Transform the output of nm in a C name address pair
15439 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15441 # This is the shared library runtime path variable.
15442 runpath_var=$runpath_var
15444 # This is the shared library path variable.
15445 shlibpath_var=$shlibpath_var
15447 # Is shlibpath searched before the hard-coded library search path?
15448 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15450 # How to hardcode a shared library path into an executable.
15451 hardcode_action=$hardcode_action_CXX
15453 # Whether we should hardcode library paths into libraries.
15454 hardcode_into_libs=$hardcode_into_libs
15456 # Flag to hardcode \$libdir into a binary during linking.
15457 # This must work even if \$libdir does not exist.
15458 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15460 # If ld is used when linking, flag to hardcode \$libdir into
15461 # a binary during linking. This must work even if \$libdir does
15463 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15465 # Whether we need a single -rpath flag with a separated argument.
15466 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15468 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15469 # resulting binary.
15470 hardcode_direct=$hardcode_direct_CXX
15472 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15473 # resulting binary.
15474 hardcode_minus_L=$hardcode_minus_L_CXX
15476 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15477 # the resulting binary.
15478 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15480 # Set to yes if building a shared library automatically hardcodes DIR into the library
15481 # and all subsequent libraries and executables linked against it.
15482 hardcode_automatic=$hardcode_automatic_CXX
15484 # Variables whose values should be saved in libtool wrapper scripts and
15485 # restored at relink time.
15486 variables_saved_for_relink="$variables_saved_for_relink"
15488 # Whether libtool must link a program against all its dependency libraries.
15489 link_all_deplibs=$link_all_deplibs_CXX
15491 # Compile-time system search path for libraries
15492 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15494 # Run-time system search path for libraries
15495 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15497 # Fix the shell variable \$srcfile for the compiler.
15498 fix_srcfile_path="$fix_srcfile_path_CXX"
15500 # Set to yes if exported symbols are required.
15501 always_export_symbols=$always_export_symbols_CXX
15503 # The commands to list exported symbols.
15504 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15506 # The commands to extract the exported symbol list from a shared archive.
15507 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15509 # Symbols that should not be listed in the preloaded symbols.
15510 exclude_expsyms=$lt_exclude_expsyms_CXX
15512 # Symbols that must always be exported.
15513 include_expsyms=$lt_include_expsyms_CXX
15515 # ### END LIBTOOL TAG CONFIG: $tagname
15521 # If there is no Makefile yet, we rely on a make rule to execute
15522 # `config.status --recheck' to rerun these tests and create the
15523 # libtool script then.
15524 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15525 if test -f "$ltmain_in"; then
15526 test -f Makefile
&& make "$ltmain"
15532 ac_cpp
='$CPP $CPPFLAGS'
15533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15541 with_gnu_ldcxx
=$with_gnu_ld
15542 with_gnu_ld
=$lt_save_with_gnu_ld
15543 lt_cv_path_LDCXX
=$lt_cv_path_LD
15544 lt_cv_path_LD
=$lt_save_path_LD
15545 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15546 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15554 if test -n "$F77" && test "X$F77" != "Xno"; then
15557 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15558 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15559 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
15562 archive_cmds_need_lc_F77
=no
15563 allow_undefined_flag_F77
=
15564 always_export_symbols_F77
=no
15565 archive_expsym_cmds_F77
=
15566 export_dynamic_flag_spec_F77
=
15567 hardcode_direct_F77
=no
15568 hardcode_libdir_flag_spec_F77
=
15569 hardcode_libdir_flag_spec_ld_F77
=
15570 hardcode_libdir_separator_F77
=
15571 hardcode_minus_L_F77
=no
15572 hardcode_automatic_F77
=no
15574 module_expsym_cmds_F77
=
15575 link_all_deplibs_F77
=unknown
15576 old_archive_cmds_F77
=$old_archive_cmds
15577 no_undefined_flag_F77
=
15578 whole_archive_flag_spec_F77
=
15579 enable_shared_with_static_runtimes_F77
=no
15581 # Source file extension for f77 test sources.
15584 # Object file extension for compiled f77 test sources.
15588 # Code to be used in simple compile tests
15589 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
15591 # Code to be used in simple link tests
15592 lt_simple_link_test_code
=" program t\n end\n"
15594 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15596 # If no C compiler was specified, use CC.
15599 # If no C compiler flags were specified, use CFLAGS.
15600 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15602 # Allow CC to be a program name with arguments.
15606 # save warnings/boilerplate of simple test code
15607 ac_outfile
=conftest.
$ac_objext
15608 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
15609 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15610 _lt_compiler_boilerplate
=`cat conftest.err`
15613 ac_outfile
=conftest.
$ac_objext
15614 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
15615 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15616 _lt_linker_boilerplate
=`cat conftest.err`
15620 # Allow CC to be a program name with arguments.
15625 for cc_temp
in $compiler""; do
15627 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15628 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15633 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15636 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15637 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15638 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
15639 echo "${ECHO_T}$can_build_shared" >&6; }
15641 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15642 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15643 test "$can_build_shared" = "no" && enable_shared
=no
15645 # On AIX, shared libraries and static libraries use the same namespace, and
15646 # are all built from PIC.
15649 test "$enable_shared" = yes && enable_static
=no
15650 if test -n "$RANLIB"; then
15651 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
15652 postinstall_cmds
='$RANLIB $lib'
15656 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
15657 test "$enable_shared" = yes && enable_static
=no
15661 { echo "$as_me:$LINENO: result: $enable_shared" >&5
15662 echo "${ECHO_T}$enable_shared" >&6; }
15664 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15665 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15666 # Make sure either enable_shared or enable_static is yes.
15667 test "$enable_shared" = yes || enable_static
=yes
15668 { echo "$as_me:$LINENO: result: $enable_static" >&5
15669 echo "${ECHO_T}$enable_static" >&6; }
15674 lt_prog_compiler_wl_F77
=
15675 lt_prog_compiler_pic_F77
=
15676 lt_prog_compiler_static_F77
=
15678 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15679 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15681 if test "$GCC" = yes; then
15682 lt_prog_compiler_wl_F77
='-Wl,'
15683 lt_prog_compiler_static_F77
='-static'
15687 # All AIX code is PIC.
15688 if test "$host_cpu" = ia64
; then
15689 # AIX 5 now supports IA64 processor
15690 lt_prog_compiler_static_F77
='-Bstatic'
15695 # FIXME: we need at least 68020 code to build shared libraries, but
15696 # adding the `-m68020' flag to GCC prevents building anything better,
15698 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
15701 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15702 # PIC is the default for these OSes.
15705 mingw
* | pw32
* | os2
*)
15706 # This hack is so that the source file can tell whether it is being
15707 # built for inclusion in a dll (and should export symbols for example).
15708 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15711 darwin
* | rhapsody
*)
15712 # PIC is the default on this platform
15713 # Common symbols not allowed in MH_DYLIB files
15714 lt_prog_compiler_pic_F77
='-fno-common'
15718 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15719 # Instead, we relocate shared libraries at runtime.
15723 # Just because we use GCC doesn't mean we suddenly get shared libraries
15724 # on systems that don't support them.
15725 lt_prog_compiler_can_build_shared_F77
=no
15730 if test -d /usr
/nec
; then
15731 lt_prog_compiler_pic_F77
=-Kconform_pic
15736 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15737 # not for PA HP-UX.
15743 lt_prog_compiler_pic_F77
='-fPIC'
15749 lt_prog_compiler_pic_F77
='-fPIC'
15753 # PORTME Check for flag to pass linker flags through the system compiler.
15756 lt_prog_compiler_wl_F77
='-Wl,'
15757 if test "$host_cpu" = ia64
; then
15758 # AIX 5 now supports IA64 processor
15759 lt_prog_compiler_static_F77
='-Bstatic'
15761 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
15765 # PIC is the default on this platform
15766 # Common symbols not allowed in MH_DYLIB files
15767 case $cc_basename in
15769 lt_prog_compiler_pic_F77
='-qnocommon'
15770 lt_prog_compiler_wl_F77
='-Wl,'
15775 mingw
* | pw32
* | os2
*)
15776 # This hack is so that the source file can tell whether it is being
15777 # built for inclusion in a dll (and should export symbols for example).
15778 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15781 hpux9
* | hpux10
* | hpux11
*)
15782 lt_prog_compiler_wl_F77
='-Wl,'
15783 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15784 # not for PA HP-UX.
15790 lt_prog_compiler_pic_F77
='+Z'
15793 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15794 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
15797 irix5
* | irix6
* | nonstopux
*)
15798 lt_prog_compiler_wl_F77
='-Wl,'
15799 # PIC (with -KPIC) is the default.
15800 lt_prog_compiler_static_F77
='-non_shared'
15804 lt_prog_compiler_pic_F77
='-KPIC'
15805 lt_prog_compiler_static_F77
='-Bstatic'
15809 case $cc_basename in
15811 lt_prog_compiler_wl_F77
='-Wl,'
15812 lt_prog_compiler_pic_F77
='-KPIC'
15813 lt_prog_compiler_static_F77
='-static'
15815 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15816 # Portland Group compilers (*not* the Pentium gcc compiler,
15817 # which looks to be a dead project)
15818 lt_prog_compiler_wl_F77
='-Wl,'
15819 lt_prog_compiler_pic_F77
='-fpic'
15820 lt_prog_compiler_static_F77
='-Bstatic'
15823 lt_prog_compiler_wl_F77
='-Wl,'
15824 # All Alpha code is PIC.
15825 lt_prog_compiler_static_F77
='-non_shared'
15830 osf3
* | osf4
* | osf5
*)
15831 lt_prog_compiler_wl_F77
='-Wl,'
15832 # All OSF/1 code is PIC.
15833 lt_prog_compiler_static_F77
='-non_shared'
15837 lt_prog_compiler_pic_F77
='-KPIC'
15838 lt_prog_compiler_static_F77
='-Bstatic'
15839 case $cc_basename in
15840 f77
* | f90
* | f95
*)
15841 lt_prog_compiler_wl_F77
='-Qoption ld ';;
15843 lt_prog_compiler_wl_F77
='-Wl,';;
15848 lt_prog_compiler_wl_F77
='-Qoption ld '
15849 lt_prog_compiler_pic_F77
='-PIC'
15850 lt_prog_compiler_static_F77
='-Bstatic'
15853 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15854 lt_prog_compiler_wl_F77
='-Wl,'
15855 lt_prog_compiler_pic_F77
='-KPIC'
15856 lt_prog_compiler_static_F77
='-Bstatic'
15860 if test -d /usr
/nec
;then
15861 lt_prog_compiler_pic_F77
='-Kconform_pic'
15862 lt_prog_compiler_static_F77
='-Bstatic'
15866 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15867 lt_prog_compiler_wl_F77
='-Wl,'
15868 lt_prog_compiler_pic_F77
='-KPIC'
15869 lt_prog_compiler_static_F77
='-Bstatic'
15873 lt_prog_compiler_wl_F77
='-Wl,'
15874 lt_prog_compiler_can_build_shared_F77
=no
15878 lt_prog_compiler_pic_F77
='-pic'
15879 lt_prog_compiler_static_F77
='-Bstatic'
15883 lt_prog_compiler_can_build_shared_F77
=no
15888 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15889 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15892 # Check to make sure the PIC flag actually works.
15894 if test -n "$lt_prog_compiler_pic_F77"; then
15896 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15897 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15898 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15899 echo $ECHO_N "(cached) $ECHO_C" >&6
15901 lt_prog_compiler_pic_works_F77
=no
15902 ac_outfile
=conftest.
$ac_objext
15903 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15904 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
15905 # Insert the option either (1) after the last *FLAGS variable, or
15906 # (2) before a word containing "conftest.", or (3) at the end.
15907 # Note that $ac_compile itself does not contain backslashes and begins
15908 # with a dollar sign (not a hyphen), so the echo should work correctly.
15909 # The option is referenced via a variable to avoid confusing sed.
15910 lt_compile
=`echo "$ac_compile" | $SED \
15911 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15912 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15913 -e 's:$: $lt_compiler_flag:'`
15914 (eval echo "\"\$as_me:15914: $lt_compile\"" >&5)
15915 (eval "$lt_compile" 2>conftest.err
)
15917 cat conftest.err
>&5
15918 echo "$as_me:15918: \$? = $ac_status" >&5
15919 if (exit $ac_status) && test -s "$ac_outfile"; then
15920 # The compiler can only warn and ignore the option if not recognized
15921 # So say no if there are warnings other than the usual output.
15922 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15923 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15924 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15925 lt_prog_compiler_pic_works_F77
=yes
15931 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15932 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15934 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
15935 case $lt_prog_compiler_pic_F77 in
15937 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
15940 lt_prog_compiler_pic_F77
=
15941 lt_prog_compiler_can_build_shared_F77
=no
15946 # For platforms which do not support PIC, -DPIC is meaningless:
15948 lt_prog_compiler_pic_F77
=
15951 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
15956 # Check to make sure the static flag actually works.
15958 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
15959 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15960 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15961 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15962 echo $ECHO_N "(cached) $ECHO_C" >&6
15964 lt_prog_compiler_static_works_F77
=no
15965 save_LDFLAGS
="$LDFLAGS"
15966 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15967 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15968 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15969 # The linker can only warn and ignore the option if not recognized
15970 # So say no if there are warnings
15971 if test -s conftest.err
; then
15972 # Append any errors to the config.log.
15973 cat conftest.err
1>&5
15974 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15975 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15976 if diff conftest.exp conftest.er2
>/dev
/null
; then
15977 lt_prog_compiler_static_works_F77
=yes
15980 lt_prog_compiler_static_works_F77
=yes
15984 LDFLAGS
="$save_LDFLAGS"
15987 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15988 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15990 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
15993 lt_prog_compiler_static_F77
=
15997 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15998 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15999 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16000 echo $ECHO_N "(cached) $ECHO_C" >&6
16002 lt_cv_prog_compiler_c_o_F77
=no
16003 $rm -r conftest
2>/dev
/null
16007 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16009 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16010 # Insert the option either (1) after the last *FLAGS variable, or
16011 # (2) before a word containing "conftest.", or (3) at the end.
16012 # Note that $ac_compile itself does not contain backslashes and begins
16013 # with a dollar sign (not a hyphen), so the echo should work correctly.
16014 lt_compile
=`echo "$ac_compile" | $SED \
16015 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16016 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16017 -e 's:$: $lt_compiler_flag:'`
16018 (eval echo "\"\$as_me:16018: $lt_compile\"" >&5)
16019 (eval "$lt_compile" 2>out
/conftest.err
)
16021 cat out
/conftest.err
>&5
16022 echo "$as_me:16022: \$? = $ac_status" >&5
16023 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16025 # The compiler can only warn and ignore the option if not recognized
16026 # So say no if there are warnings
16027 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16028 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16029 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16030 lt_cv_prog_compiler_c_o_F77
=yes
16035 # SGI C++ compiler will create directory out/ii_files/ for
16036 # template instantiation
16037 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16038 $rm out
/* && rmdir out
16044 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16045 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16048 hard_links
="nottested"
16049 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
16050 # do not overwrite the value of need_locks provided by the user
16051 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16052 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16055 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16057 ln conftest.a conftest.b
2>&5 || hard_links
=no
16058 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16059 { echo "$as_me:$LINENO: result: $hard_links" >&5
16060 echo "${ECHO_T}$hard_links" >&6; }
16061 if test "$hard_links" = no
; then
16062 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16063 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16070 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16071 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16074 allow_undefined_flag_F77
=
16075 enable_shared_with_static_runtimes_F77
=no
16077 archive_expsym_cmds_F77
=
16078 old_archive_From_new_cmds_F77
=
16079 old_archive_from_expsyms_cmds_F77
=
16080 export_dynamic_flag_spec_F77
=
16081 whole_archive_flag_spec_F77
=
16082 thread_safe_flag_spec_F77
=
16083 hardcode_libdir_flag_spec_F77
=
16084 hardcode_libdir_flag_spec_ld_F77
=
16085 hardcode_libdir_separator_F77
=
16086 hardcode_direct_F77
=no
16087 hardcode_minus_L_F77
=no
16088 hardcode_shlibpath_var_F77
=unsupported
16089 link_all_deplibs_F77
=unknown
16090 hardcode_automatic_F77
=no
16092 module_expsym_cmds_F77
=
16093 always_export_symbols_F77
=no
16094 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16095 # include_expsyms should be a list of space-separated symbols to be *always*
16096 # included in the symbol list
16097 include_expsyms_F77
=
16098 # exclude_expsyms can be an extended regexp of symbols to exclude
16099 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16100 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16101 # as well as any symbol that contains `d'.
16102 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
16103 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16104 # platforms (ab)use it in PIC code, but their linkers get confused if
16105 # the symbol is explicitly referenced. Since portable code cannot
16106 # rely on this symbol name, it's probably fine to never include it in
16107 # preloaded symbol tables.
16108 extract_expsyms_cmds
=
16109 # Just being paranoid about ensuring that cc_basename is set.
16110 for cc_temp
in $compiler""; do
16112 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16113 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16118 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16121 cygwin
* | mingw
* | pw32
*)
16122 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16123 # When not using gcc, we currently assume that we are using
16124 # Microsoft Visual C++.
16125 if test "$GCC" != yes; then
16130 # we just hope/assume this is gcc and not c89 (= MSVC++)
16139 if test "$with_gnu_ld" = yes; then
16140 # If archive_cmds runs LD, not CC, wlarc should be empty
16143 # Set some defaults for GNU ld with shared library support. These
16144 # are reset later if shared libraries are not supported. Putting them
16145 # here allows them to be overridden if necessary.
16146 runpath_var
=LD_RUN_PATH
16147 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
16148 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
16149 # ancient GNU ld didn't support --whole-archive et. al.
16150 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16151 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16153 whole_archive_flag_spec_F77
=
16155 supports_anon_versioning
=no
16156 case `$LD -v 2>/dev/null` in
16157 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16158 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16159 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16160 *\
2.11.
*) ;; # other 2.11 versions
16161 *) supports_anon_versioning
=yes ;;
16164 # See if GNU ld supports shared libraries.
16166 aix3
* | aix4
* | aix5
*)
16167 # On AIX/PPC, the GNU linker is very broken
16168 if test "$host_cpu" != ia64
; then
16172 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16173 *** to be unable to reliably create shared libraries on AIX.
16174 *** Therefore, libtool is disabling shared libraries support. If you
16175 *** really care for shared libraries, you may want to modify your PATH
16176 *** so that a non-GNU linker is found, and then restart.
16183 archive_cmds_F77
='$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)'
16184 hardcode_libdir_flag_spec_F77
='-L$libdir'
16185 hardcode_minus_L_F77
=yes
16187 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16188 # that the semantics of dynamic libraries on AmigaOS, at least up
16189 # to version 4, is to share data among multiple programs linked
16190 # with the same dynamic library. Since this doesn't match the
16191 # behavior of shared libraries on other platforms, we can't use
16197 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16198 allow_undefined_flag_F77
=unsupported
16199 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16200 # support --undefined. This deserves some investigation. FIXME
16201 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16207 cygwin
* | mingw
* | pw32
*)
16208 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16209 # as there is no search path for DLLs.
16210 hardcode_libdir_flag_spec_F77
='-L$libdir'
16211 allow_undefined_flag_F77
=unsupported
16212 always_export_symbols_F77
=no
16213 enable_shared_with_static_runtimes_F77
=yes
16214 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16216 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16217 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16218 # If the export-symbols file already is a .def file (1st line
16219 # is EXPORTS), use it as is; otherwise, prepend...
16220 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16221 cp $export_symbols $output_objdir/$soname.def;
16223 echo EXPORTS > $output_objdir/$soname.def;
16224 cat $export_symbols >> $output_objdir/$soname.def;
16226 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16233 hardcode_direct_F77
=no
16234 hardcode_shlibpath_var_F77
=no
16235 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16236 export_dynamic_flag_spec_F77
='${wl}-E'
16237 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16238 # Instead, shared libraries are loaded at an image base (0x10000000 by
16239 # default) and relocated if they conflict, which is a slow very memory
16240 # consuming and fragmenting process. To avoid this, we pick a random,
16241 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16242 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16243 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16244 archive_expsym_cmds_F77
='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'
16248 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16250 case $cc_basename,$host_cpu in
16251 pgcc
*) # Portland Group C compiler
16252 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16253 tmp_addflag
=' $pic_flag'
16255 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16256 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16257 tmp_addflag
=' $pic_flag -Mnomain' ;;
16258 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16259 tmp_addflag
=' -i_dynamic' ;;
16260 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16261 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16262 ifc
* | ifort
*) # Intel Fortran compiler
16263 tmp_addflag
=' -nofor_main' ;;
16265 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16267 if test $supports_anon_versioning = yes; then
16268 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
16269 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16270 $echo "local: *; };" >> $output_objdir/$libname.ver~
16271 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16279 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16280 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16283 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16284 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16289 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16293 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16294 *** create shared libraries on Solaris systems. Therefore, libtool
16295 *** is disabling shared libraries support. We urge you to upgrade GNU
16296 *** binutils to release 2.9.1 or newer. Another option is to modify
16297 *** your PATH or compiler configuration so that the native linker is
16298 *** used, and then restart.
16301 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16302 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16303 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16309 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16310 case `$LD -v 2>&1` in
16311 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16315 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16316 *** reliably create shared libraries on SCO systems. Therefore, libtool
16317 *** is disabling shared libraries support. We urge you to upgrade GNU
16318 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16319 *** your PATH or compiler configuration so that the native linker is
16320 *** used, and then restart.
16325 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16326 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16327 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16328 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16337 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16339 hardcode_direct_F77
=yes
16340 hardcode_shlibpath_var_F77
=no
16344 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16345 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16346 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16353 if test "$ld_shlibs_F77" = no
; then
16355 hardcode_libdir_flag_spec_F77
=
16356 export_dynamic_flag_spec_F77
=
16357 whole_archive_flag_spec_F77
=
16360 # PORTME fill in a description of your system's linker (not GNU ld)
16363 allow_undefined_flag_F77
=unsupported
16364 always_export_symbols_F77
=yes
16365 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16366 # Note: this linker hardcodes the directories in LIBPATH if there
16367 # are no directories specified by -L.
16368 hardcode_minus_L_F77
=yes
16369 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16370 # Neither direct hardcoding nor static linking is supported with a
16372 hardcode_direct_F77
=unsupported
16377 if test "$host_cpu" = ia64
; then
16378 # On IA64, the linker does run time linking by default, so we don't
16379 # have to do anything special.
16380 aix_use_runtimelinking
=no
16381 exp_sym_flag
='-Bexport'
16384 # If we're using GNU nm, then we don't want the "-C" option.
16385 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16386 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16387 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16389 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16391 aix_use_runtimelinking
=no
16393 # Test if we are trying to use run time linking or normal
16394 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16395 # need to do runtime linking.
16396 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16397 for ld_flag
in $LDFLAGS; do
16398 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16399 aix_use_runtimelinking
=yes
16406 exp_sym_flag
='-bexport'
16407 no_entry_flag
='-bnoentry'
16410 # When large executables or shared objects are built, AIX ld can
16411 # have problems creating the table of contents. If linking a library
16412 # or program results in "error TOC overflow" add -mminimal-toc to
16413 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16414 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16416 archive_cmds_F77
=''
16417 hardcode_direct_F77
=yes
16418 hardcode_libdir_separator_F77
=':'
16419 link_all_deplibs_F77
=yes
16421 if test "$GCC" = yes; then
16422 case $host_os in aix4.
[012]|aix4.
[012].
*)
16423 # We only want to do this on AIX 4.2 and lower, the check
16424 # below for broken collect2 doesn't work under 4.3+
16425 collect2name
=`${CC} -print-prog-name=collect2`
16426 if test -f "$collect2name" && \
16427 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16429 # We have reworked collect2
16430 hardcode_direct_F77
=yes
16432 # We have old collect2
16433 hardcode_direct_F77
=unsupported
16434 # It fails to find uninstalled libraries when the uninstalled
16435 # path is not listed in the libpath. Setting hardcode_minus_L
16436 # to unsupported forces relinking
16437 hardcode_minus_L_F77
=yes
16438 hardcode_libdir_flag_spec_F77
='-L$libdir'
16439 hardcode_libdir_separator_F77
=
16443 shared_flag
='-shared'
16444 if test "$aix_use_runtimelinking" = yes; then
16445 shared_flag
="$shared_flag "'${wl}-G'
16449 if test "$host_cpu" = ia64
; then
16450 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16451 # chokes on -Wl,-G. The following line is correct:
16454 if test "$aix_use_runtimelinking" = yes; then
16455 shared_flag
='${wl}-G'
16457 shared_flag
='${wl}-bM:SRE'
16462 # It seems that -bexpall does not export symbols beginning with
16463 # underscore (_), so it is better to generate a list of symbols to export.
16464 always_export_symbols_F77
=yes
16465 if test "$aix_use_runtimelinking" = yes; then
16466 # Warning - without using the other runtime loading flags (-brtl),
16467 # -berok will link without error, but may produce a broken library.
16468 allow_undefined_flag_F77
='-berok'
16469 # Determine the default libpath from the value encoded in an empty executable.
16470 cat >conftest.
$ac_ext <<_ACEOF
16475 rm -f conftest.
$ac_objext conftest
$ac_exeext
16476 if { (ac_try
="$ac_link"
16477 case "(($ac_try" in
16478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16479 *) ac_try_echo=$ac_try;;
16481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16482 (eval "$ac_link") 2>conftest.er1
16484 grep -v '^ *+' conftest.er1 >conftest.err
16486 cat conftest.err >&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } && {
16489 test -z "$ac_f77_werror_flag" ||
16490 test ! -s conftest.err
16491 } && test -s conftest$ac_exeext &&
16492 $as_test_x conftest$ac_exeext; then
16494 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16496 # Check for a 64-bit object if we didn't find anything.
16497 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.$ac_ext >&5
16506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16507 conftest$ac_exeext conftest.$ac_ext
16508 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16510 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16511 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16513 if test "$host_cpu" = ia64; then
16514 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16515 allow_undefined_flag_F77="-z nodefs"
16516 archive_expsym_cmds_F77="\$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"
16518 # Determine the default libpath from the value encoded in an empty executable.
16519 cat >conftest.$ac_ext <<_ACEOF
16524 rm -f conftest.$ac_objext conftest$ac_exeext
16525 if { (ac_try="$ac_link"
16526 case "(($ac_try" in
16527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16528 *) ac_try_echo
=$ac_try;;
16530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16531 (eval "$ac_link") 2>conftest.er1
16533 grep -v '^ *+' conftest.er1
>conftest.err
16535 cat conftest.err
>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } && {
16538 test -z "$ac_f77_werror_flag" ||
16539 test ! -s conftest.err
16540 } && test -s conftest
$ac_exeext &&
16541 $as_test_x conftest
$ac_exeext; then
16543 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16545 # Check for a 64-bit object if we didn't find anything.
16546 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.
$ac_ext >&5
16555 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16556 conftest
$ac_exeext conftest.
$ac_ext
16557 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16559 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
16560 # Warning - without using the other run time loading flags,
16561 # -berok will link without error, but may produce a broken library.
16562 no_undefined_flag_F77
=' ${wl}-bernotok'
16563 allow_undefined_flag_F77
=' ${wl}-berok'
16564 # Exported symbols can be pulled into shared objects from archives
16565 whole_archive_flag_spec_F77
='$convenience'
16566 archive_cmds_need_lc_F77
=yes
16567 # This is similar to how AIX traditionally builds its shared libraries.
16568 archive_expsym_cmds_F77
="\$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'
16574 archive_cmds_F77
='$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)'
16575 hardcode_libdir_flag_spec_F77
='-L$libdir'
16576 hardcode_minus_L_F77
=yes
16577 # see comment about different semantics on the GNU ld section
16582 export_dynamic_flag_spec_F77
=-rdynamic
16585 cygwin
* | mingw
* | pw32
*)
16586 # When not using gcc, we currently assume that we are using
16587 # Microsoft Visual C++.
16588 # hardcode_libdir_flag_spec is actually meaningless, as there is
16589 # no search path for DLLs.
16590 hardcode_libdir_flag_spec_F77
=' '
16591 allow_undefined_flag_F77
=unsupported
16592 # Tell ltmain to make .lib files, not .a files.
16594 # Tell ltmain to make .dll files, not .so files.
16596 # FIXME: Setting linknames here is a bad hack.
16597 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16598 # The linker will automatically build a .lib file if we build a DLL.
16599 old_archive_From_new_cmds_F77
='true'
16600 # FIXME: Should let the user specify the lib program.
16601 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
16602 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
16603 enable_shared_with_static_runtimes_F77
=yes
16606 darwin
* | rhapsody
*)
16608 rhapsody
* | darwin1.
[012])
16609 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
16612 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16613 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16615 case ${MACOSX_DEPLOYMENT_TARGET} in
16617 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16620 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
16626 archive_cmds_need_lc_F77
=no
16627 hardcode_direct_F77
=no
16628 hardcode_automatic_F77
=yes
16629 hardcode_shlibpath_var_F77
=unsupported
16630 whole_archive_flag_spec_F77
=''
16631 link_all_deplibs_F77
=yes
16632 if test "$GCC" = yes ; then
16633 output_verbose_link_cmd
='echo'
16634 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16635 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16636 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16637 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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}'
16638 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -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}'
16640 case $cc_basename in
16642 output_verbose_link_cmd
='echo'
16643 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16644 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16645 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16646 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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}'
16647 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -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}'
16657 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16658 hardcode_libdir_flag_spec_F77
='-L$libdir'
16659 hardcode_shlibpath_var_F77
=no
16666 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16667 # support. Future versions do this automatically, but an explicit c++rt0.o
16668 # does not break anything, and helps significantly (at the cost of a little
16671 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16672 hardcode_libdir_flag_spec_F77
='-R$libdir'
16673 hardcode_direct_F77
=yes
16674 hardcode_shlibpath_var_F77
=no
16677 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16679 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16680 hardcode_direct_F77
=yes
16681 hardcode_minus_L_F77
=yes
16682 hardcode_shlibpath_var_F77
=no
16685 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16686 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
16687 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16688 hardcode_libdir_flag_spec_F77
='-R$libdir'
16689 hardcode_direct_F77
=yes
16690 hardcode_shlibpath_var_F77
=no
16694 if test "$GCC" = yes; then
16695 archive_cmds_F77
='$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'
16697 archive_cmds_F77
='$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'
16699 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16700 hardcode_libdir_separator_F77
=:
16701 hardcode_direct_F77
=yes
16703 # hardcode_minus_L: Not really in the search PATH,
16704 # but as the default location of the library.
16705 hardcode_minus_L_F77
=yes
16706 export_dynamic_flag_spec_F77
='${wl}-E'
16710 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16711 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16713 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16715 if test "$with_gnu_ld" = no
; then
16716 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16717 hardcode_libdir_separator_F77
=:
16719 hardcode_direct_F77
=yes
16720 export_dynamic_flag_spec_F77
='${wl}-E'
16722 # hardcode_minus_L: Not really in the search PATH,
16723 # but as the default location of the library.
16724 hardcode_minus_L_F77
=yes
16729 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16732 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16735 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16738 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16744 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16747 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16750 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16754 if test "$with_gnu_ld" = no
; then
16755 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16756 hardcode_libdir_separator_F77
=:
16760 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
16761 hardcode_direct_F77
=no
16762 hardcode_shlibpath_var_F77
=no
16765 hardcode_direct_F77
=yes
16766 export_dynamic_flag_spec_F77
='${wl}-E'
16768 # hardcode_minus_L: Not really in the search PATH,
16769 # but as the default location of the library.
16770 hardcode_minus_L_F77
=yes
16776 irix5
* | irix6
* | nonstopux
*)
16777 if test "$GCC" = yes; then
16778 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16780 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16781 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
16783 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16784 hardcode_libdir_separator_F77
=:
16785 link_all_deplibs_F77
=yes
16789 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16790 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16792 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16794 hardcode_libdir_flag_spec_F77
='-R$libdir'
16795 hardcode_direct_F77
=yes
16796 hardcode_shlibpath_var_F77
=no
16800 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16801 hardcode_direct_F77
=yes
16802 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16803 hardcode_libdir_separator_F77
=:
16804 hardcode_shlibpath_var_F77
=no
16808 hardcode_direct_F77
=yes
16809 hardcode_shlibpath_var_F77
=no
16810 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16811 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16812 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16813 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16814 export_dynamic_flag_spec_F77
='${wl}-E'
16817 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16818 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16819 hardcode_libdir_flag_spec_F77
='-R$libdir'
16822 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16823 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16830 hardcode_libdir_flag_spec_F77
='-L$libdir'
16831 hardcode_minus_L_F77
=yes
16832 allow_undefined_flag_F77
=unsupported
16833 archive_cmds_F77
='$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'
16834 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16838 if test "$GCC" = yes; then
16839 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16840 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16842 allow_undefined_flag_F77
=' -expect_unresolved \*'
16843 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16845 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16846 hardcode_libdir_separator_F77
=:
16849 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16850 if test "$GCC" = yes; then
16851 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16852 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16853 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16855 allow_undefined_flag_F77
=' -expect_unresolved \*'
16856 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16857 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16858 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16860 # Both c and cxx compiler support -rpath directly
16861 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
16863 hardcode_libdir_separator_F77
=:
16867 no_undefined_flag_F77
=' -z text'
16868 if test "$GCC" = yes; then
16870 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16871 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16872 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16875 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16876 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16877 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16879 hardcode_libdir_flag_spec_F77
='-R$libdir'
16880 hardcode_shlibpath_var_F77
=no
16882 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16884 # The compiler driver will combine linker options so we
16885 # cannot just pass the convience library names through
16886 # without $wl, iff we do not link with $LD.
16887 # Luckily, gcc supports the same syntax we need for Sun Studio.
16888 # Supported since Solaris 2.6 (maybe 2.5.1?)
16891 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
16893 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16896 link_all_deplibs_F77
=yes
16900 if test "x$host_vendor" = xsequent
; then
16901 # Use $CC to link under sequent, because it throws in some extra .o
16902 # files that make .init and .fini sections work.
16903 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16905 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16907 hardcode_libdir_flag_spec_F77
='-L$libdir'
16908 hardcode_direct_F77
=yes
16909 hardcode_minus_L_F77
=yes
16910 hardcode_shlibpath_var_F77
=no
16914 case $host_vendor in
16916 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16917 hardcode_direct_F77
=yes # is this really true???
16920 ## LD is ld it makes a PLAMLIB
16921 ## CC just makes a GrossModule.
16922 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16923 reload_cmds_F77
='$CC -r -o $output$reload_objs'
16924 hardcode_direct_F77
=no
16927 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16928 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
16931 runpath_var
='LD_RUN_PATH'
16932 hardcode_shlibpath_var_F77
=no
16936 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16937 hardcode_shlibpath_var_F77
=no
16938 export_dynamic_flag_spec_F77
='-Bexport'
16942 if test -d /usr
/nec
; then
16943 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16944 hardcode_shlibpath_var_F77
=no
16945 runpath_var
=LD_RUN_PATH
16946 hardcode_runpath_var
=yes
16951 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16952 no_undefined_flag_F77
='${wl}-z,text'
16953 archive_cmds_need_lc_F77
=no
16954 hardcode_shlibpath_var_F77
=no
16955 runpath_var
='LD_RUN_PATH'
16957 if test "$GCC" = yes; then
16958 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16959 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16961 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16962 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16966 sysv5
* | sco3.2v5
* | sco5v6
*)
16967 # Note: We can NOT use -z defs as we might desire, because we do not
16968 # link with -lc, and that would cause any symbols used from libc to
16969 # always be unresolved, which means just about no library would
16970 # ever link correctly. If we're not using GNU ld we use -z text
16971 # though, which does catch some bad symbols but isn't as heavy-handed
16973 no_undefined_flag_F77
='${wl}-z,text'
16974 allow_undefined_flag_F77
='${wl}-z,nodefs'
16975 archive_cmds_need_lc_F77
=no
16976 hardcode_shlibpath_var_F77
=no
16977 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16978 hardcode_libdir_separator_F77
=':'
16979 link_all_deplibs_F77
=yes
16980 export_dynamic_flag_spec_F77
='${wl}-Bexport'
16981 runpath_var
='LD_RUN_PATH'
16983 if test "$GCC" = yes; then
16984 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16985 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16987 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16988 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16993 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16994 hardcode_libdir_flag_spec_F77
='-L$libdir'
16995 hardcode_shlibpath_var_F77
=no
17004 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17005 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17006 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
17009 # Do we need to explicitly link libc?
17011 case "x$archive_cmds_need_lc_F77" in
17013 # Assume -lc should be added
17014 archive_cmds_need_lc_F77
=yes
17016 if test "$enable_shared" = yes && test "$GCC" = yes; then
17017 case $archive_cmds_F77 in
17019 # FIXME: we may have to deal with multi-command sequences.
17022 # Test whether the compiler implicitly links with -lc since on some
17023 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17024 # to ld, don't add -lc before -lgcc.
17025 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17026 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17028 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17031 (eval $ac_compile) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } 2>conftest.err
; then
17037 libobjs
=conftest.
$ac_objext
17039 wl
=$lt_prog_compiler_wl_F77
17040 pic_flag
=$lt_prog_compiler_pic_F77
17046 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
17047 allow_undefined_flag_F77
=
17048 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17049 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }
17054 archive_cmds_need_lc_F77
=no
17056 archive_cmds_need_lc_F77
=yes
17058 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
17060 cat conftest.err
1>&5
17063 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17064 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17071 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17072 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17073 library_names_spec
=
17074 libname_spec
='lib$name'
17078 postuninstall_cmds
=
17082 shlibpath_overrides_runpath
=unknown
17084 dynamic_linker
="$host_os ld.so"
17085 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17086 if test "$GCC" = yes; then
17087 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17088 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17089 # if the path contains ";" then we assume it to be the separator
17090 # otherwise default to the standard path separator (i.e. ":") - it is
17091 # assumed that no part of a normal pathname contains ";" but that should
17092 # okay in the real world where ";" in dirpaths is itself problematic.
17093 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17095 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17098 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17100 need_lib_prefix
=unknown
17101 hardcode_into_libs
=no
17103 # when you set need_version to no, make sure it does not cause -set_version
17104 # flags to be left without arguments
17105 need_version
=unknown
17110 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17111 shlibpath_var
=LIBPATH
17113 # AIX 3 has no versioning support, so we append a major version to the name.
17114 soname_spec
='${libname}${release}${shared_ext}$major'
17121 hardcode_into_libs
=yes
17122 if test "$host_cpu" = ia64
; then
17123 # AIX 5 supports IA64
17124 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17125 shlibpath_var
=LD_LIBRARY_PATH
17127 # With GCC up to 2.95.x, collect2 would create an import file
17128 # for dependence libraries. The import file would start with
17129 # the line `#! .'. This would cause the generated library to
17130 # depend on `.', always an invalid library. This was fixed in
17131 # development snapshots of GCC prior to 3.0.
17133 aix4 | aix4.
[01] | aix4.
[01].
*)
17134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17136 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17139 can_build_shared
=no
17143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17144 # soname into executable. Probably we can add versioning support to
17145 # collect2, so additional links can be useful in future.
17146 if test "$aix_use_runtimelinking" = yes; then
17147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17148 # instead of lib<name>.a to let people know that these are not
17149 # typical AIX shared libraries.
17150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17152 # We preserve .a as extension for shared libraries through AIX4.2
17153 # and later when we are not doing run time linking.
17154 library_names_spec
='${libname}${release}.a $libname.a'
17155 soname_spec
='${libname}${release}${shared_ext}$major'
17157 shlibpath_var
=LIBPATH
17162 library_names_spec
='$libname.ixlibrary $libname.a'
17163 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17164 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'
17168 library_names_spec
='${libname}${shared_ext}'
17169 dynamic_linker
="$host_os ld.so"
17170 shlibpath_var
=LIBRARY_PATH
17176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17177 soname_spec
='${libname}${release}${shared_ext}$major'
17178 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17179 shlibpath_var
=LD_LIBRARY_PATH
17180 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17181 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17182 # the default ld.so.conf also contains /usr/contrib/lib and
17183 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17184 # libtool to hard-code these into programs
17187 cygwin
* | mingw
* | pw32
*)
17188 version_type
=windows
17193 case $GCC,$host_os in
17194 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17195 library_names_spec
='$libname.dll.a'
17196 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17197 postinstall_cmds
='base_file=`basename \${file}`~
17198 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17199 dldir=$destdir/`dirname \$dlpath`~
17200 test -d \$dldir || mkdir -p \$dldir~
17201 $install_prog $dir/$dlname \$dldir/$dlname~
17202 chmod a+x \$dldir/$dlname'
17203 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17204 dlpath=$dir/\$dldll~
17206 shlibpath_overrides_runpath
=yes
17210 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17211 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17212 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17215 # MinGW DLLs use traditional 'lib' prefix
17216 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17217 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17218 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17219 # It is most probably a Windows format PATH printed by
17220 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17221 # path with ; separators, and with drive letters. We can handle the
17222 # drive letters (cygwin fileutils understands them), so leave them,
17223 # especially as we might pass files found there to a mingw objdump,
17224 # which wouldn't understand a cygwinified path. Ahh.
17225 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17227 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17231 # pw32 DLLs use 'pw' prefix rather than 'lib'
17232 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17238 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17241 dynamic_linker
='Win32 ld.exe'
17242 # FIXME: first we should search . and the directory the executable is in
17246 darwin
* | rhapsody
*)
17247 dynamic_linker
="$host_os dyld"
17248 version_type
=darwin
17251 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17252 soname_spec
='${libname}${release}${major}$shared_ext'
17253 shlibpath_overrides_runpath
=yes
17254 shlibpath_var
=DYLD_LIBRARY_PATH
17255 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17256 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17257 if test "$GCC" = yes; then
17258 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17260 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17262 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17270 soname_spec
='${libname}${release}${shared_ext}$major'
17271 shlibpath_var
=LD_LIBRARY_PATH
17282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17283 soname_spec
='${libname}${release}${shared_ext}$major'
17284 shlibpath_var
=LD_LIBRARY_PATH
17285 shlibpath_overrides_runpath
=no
17286 hardcode_into_libs
=yes
17287 dynamic_linker
='GNU ld.so'
17290 freebsd
* | dragonfly
*)
17291 # DragonFly does not have aout. When/if they implement a new
17292 # versioning mechanism, adjust this.
17293 if test -x /usr
/bin
/objformat
; then
17294 objformat
=`/usr/bin/objformat`
17297 freebsd
[123]*) objformat
=aout
;;
17298 *) objformat
=elf
;;
17301 version_type
=freebsd-
$objformat
17302 case $version_type in
17304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17309 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17313 shlibpath_var
=LD_LIBRARY_PATH
17316 shlibpath_overrides_runpath
=yes
17318 freebsd3.
[01]* | freebsdelf3.
[01]*)
17319 shlibpath_overrides_runpath
=yes
17320 hardcode_into_libs
=yes
17322 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17323 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17324 shlibpath_overrides_runpath
=no
17325 hardcode_into_libs
=yes
17327 freebsd
*) # from 4.6 on
17328 shlibpath_overrides_runpath
=yes
17329 hardcode_into_libs
=yes
17338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17339 soname_spec
='${libname}${release}${shared_ext}$major'
17340 shlibpath_var
=LD_LIBRARY_PATH
17341 hardcode_into_libs
=yes
17344 hpux9
* | hpux10
* | hpux11
*)
17345 # Give a soname corresponding to the major version so that dld.sl refuses to
17346 # link against other versions.
17353 hardcode_into_libs
=yes
17354 dynamic_linker
="$host_os dld.so"
17355 shlibpath_var
=LD_LIBRARY_PATH
17356 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17358 soname_spec
='${libname}${release}${shared_ext}$major'
17359 if test "X$HPUX_IA64_MODE" = X32
; then
17360 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17362 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17364 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17368 hardcode_into_libs
=yes
17369 dynamic_linker
="$host_os dld.sl"
17370 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17371 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17373 soname_spec
='${libname}${release}${shared_ext}$major'
17374 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17375 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17379 dynamic_linker
="$host_os dld.sl"
17380 shlibpath_var
=SHLIB_PATH
17381 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17383 soname_spec
='${libname}${release}${shared_ext}$major'
17386 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17387 postinstall_cmds
='chmod 555 $lib'
17394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17395 soname_spec
='${libname}${release}${shared_ext}$major'
17396 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17397 shlibpath_var
=LD_LIBRARY_PATH
17398 shlibpath_overrides_runpath
=no
17399 hardcode_into_libs
=yes
17402 irix5
* | irix6
* | nonstopux
*)
17404 nonstopux
*) version_type
=nonstopux
;;
17406 if test "$lt_cv_prog_gnu_ld" = yes; then
17414 soname_spec
='${libname}${release}${shared_ext}$major'
17415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17417 irix5
* | nonstopux
*)
17418 libsuff
= shlibsuff
=
17421 case $LD in # libtool.m4 will add one of these switches to LD
17422 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17423 libsuff
= shlibsuff
= libmagic
=32-bit;;
17424 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17425 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17426 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17427 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17428 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17432 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17433 shlibpath_overrides_runpath
=no
17434 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17435 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17436 hardcode_into_libs
=yes
17439 # No shared lib support for Linux oldld, aout, or coff.
17440 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17444 # This must be Linux ELF.
17449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17450 soname_spec
='${libname}${release}${shared_ext}$major'
17451 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17452 shlibpath_var
=LD_LIBRARY_PATH
17453 shlibpath_overrides_runpath
=no
17454 # This implies no fast_install, which is unacceptable.
17455 # Some rework will be needed to allow for fast_install
17456 # before this can be enabled.
17457 hardcode_into_libs
=yes
17459 # Append ld.so.conf contents to the search path
17460 if test -f /etc
/ld.so.conf
; then
17461 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17462 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17465 # We used to test for /lib/ld.so.1 and disable shared libraries on
17466 # powerpc, because MkLinux only supported shared libraries with the
17467 # GNU dynamic linker. Since this was broken with cross compilers,
17468 # most powerpc-linux boxes support dynamic linking these days and
17469 # people can always --disable-shared, the test was removed, and we
17470 # assume the GNU/Linux dynamic linker is in use.
17471 dynamic_linker
='GNU/Linux ld.so'
17478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17479 soname_spec
='${libname}${release}${shared_ext}$major'
17480 shlibpath_var
=LD_LIBRARY_PATH
17481 shlibpath_overrides_runpath
=no
17482 hardcode_into_libs
=yes
17483 dynamic_linker
='GNU ld.so'
17490 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17492 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17493 dynamic_linker
='NetBSD (a.out) ld.so'
17495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17496 soname_spec
='${libname}${release}${shared_ext}$major'
17497 dynamic_linker
='NetBSD ld.elf_so'
17499 shlibpath_var
=LD_LIBRARY_PATH
17500 shlibpath_overrides_runpath
=yes
17501 hardcode_into_libs
=yes
17506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17507 shlibpath_var
=LD_LIBRARY_PATH
17508 shlibpath_overrides_runpath
=yes
17515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17516 soname_spec
='${libname}${release}${shared_ext}$major'
17517 shlibpath_var
=LD_LIBRARY_PATH
17518 shlibpath_overrides_runpath
=yes
17523 sys_lib_dlsearch_path_spec
="/usr/lib"
17525 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17527 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17528 *) need_version
=no
;;
17530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17531 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17532 shlibpath_var
=LD_LIBRARY_PATH
17533 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17535 openbsd2.
[89] | openbsd2.
[89].
*)
17536 shlibpath_overrides_runpath
=no
17539 shlibpath_overrides_runpath
=yes
17543 shlibpath_overrides_runpath
=yes
17548 libname_spec
='$name'
17551 library_names_spec
='$libname${shared_ext} $libname.a'
17552 dynamic_linker
='OS/2 ld.exe'
17553 shlibpath_var
=LIBPATH
17556 osf3
* | osf4
* | osf5
*)
17560 soname_spec
='${libname}${release}${shared_ext}$major'
17561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17562 shlibpath_var
=LD_LIBRARY_PATH
17563 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17564 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17572 soname_spec
='${libname}${release}${shared_ext}$major'
17573 shlibpath_var
=LD_LIBRARY_PATH
17574 shlibpath_overrides_runpath
=yes
17575 hardcode_into_libs
=yes
17576 # ldd complains unless libraries are executable
17577 postinstall_cmds
='chmod +x $lib'
17582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17583 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17584 shlibpath_var
=LD_LIBRARY_PATH
17585 shlibpath_overrides_runpath
=yes
17586 if test "$with_gnu_ld" = yes; then
17594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17595 soname_spec
='${libname}${release}${shared_ext}$major'
17596 shlibpath_var
=LD_LIBRARY_PATH
17597 case $host_vendor in
17599 shlibpath_overrides_runpath
=no
17601 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17602 runpath_var
=LD_RUN_PATH
17610 shlibpath_overrides_runpath
=no
17611 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17617 if test -d /usr
/nec
;then
17619 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17620 soname_spec
='$libname${shared_ext}.$major'
17621 shlibpath_var
=LD_LIBRARY_PATH
17625 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17626 version_type
=freebsd-elf
17629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17630 soname_spec
='${libname}${release}${shared_ext}$major'
17631 shlibpath_var
=LD_LIBRARY_PATH
17632 hardcode_into_libs
=yes
17633 if test "$with_gnu_ld" = yes; then
17634 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17635 shlibpath_overrides_runpath
=no
17637 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17638 shlibpath_overrides_runpath
=yes
17641 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17645 sys_lib_dlsearch_path_spec
='/usr/lib'
17650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17651 soname_spec
='${libname}${release}${shared_ext}$major'
17652 shlibpath_var
=LD_LIBRARY_PATH
17659 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17660 echo "${ECHO_T}$dynamic_linker" >&6; }
17661 test "$dynamic_linker" = no
&& can_build_shared
=no
17663 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17664 if test "$GCC" = yes; then
17665 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17668 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17669 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17670 hardcode_action_F77
=
17671 if test -n "$hardcode_libdir_flag_spec_F77" || \
17672 test -n "$runpath_var_F77" || \
17673 test "X$hardcode_automatic_F77" = "Xyes" ; then
17675 # We can hardcode non-existant directories.
17676 if test "$hardcode_direct_F77" != no
&&
17677 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17678 # have to relink, otherwise we might link with an installed library
17679 # when we should be linking with a yet-to-be-installed one
17680 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17681 test "$hardcode_minus_L_F77" != no
; then
17682 # Linking always hardcodes the temporary library directory.
17683 hardcode_action_F77
=relink
17685 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17686 hardcode_action_F77
=immediate
17689 # We cannot hardcode anything, or else we can only hardcode existing
17691 hardcode_action_F77
=unsupported
17693 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17694 echo "${ECHO_T}$hardcode_action_F77" >&6; }
17696 if test "$hardcode_action_F77" = relink
; then
17697 # Fast installation is not supported
17698 enable_fast_install
=no
17699 elif test "$shlibpath_overrides_runpath" = yes ||
17700 test "$enable_shared" = no
; then
17701 # Fast installation is not necessary
17702 enable_fast_install
=needless
17706 # The else clause should only fire when bootstrapping the
17707 # libtool distribution, otherwise you forgot to ship ltmain.sh
17708 # with your package, and you will get complaints that there are
17709 # no rules to generate ltmain.sh.
17710 if test -f "$ltmain"; then
17711 # See if we are running on zsh, and set the options which allow our commands through
17712 # without removal of \ escapes.
17713 if test -n "${ZSH_VERSION+set}" ; then
17714 setopt NO_GLOB_SUBST
17716 # Now quote all the things that may contain metacharacters while being
17717 # careful not to overquote the AC_SUBSTed values. We take copies of the
17718 # variables and quote the copies for generation of the libtool script.
17719 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17721 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17722 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17723 deplibs_check_method reload_flag reload_cmds need_locks \
17724 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17725 lt_cv_sys_global_symbol_to_c_name_address \
17726 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17727 old_postinstall_cmds old_postuninstall_cmds \
17731 lt_prog_compiler_wl_F77 \
17732 lt_prog_compiler_pic_F77 \
17733 lt_prog_compiler_static_F77 \
17734 lt_prog_compiler_no_builtin_flag_F77 \
17735 export_dynamic_flag_spec_F77 \
17736 thread_safe_flag_spec_F77 \
17737 whole_archive_flag_spec_F77 \
17738 enable_shared_with_static_runtimes_F77 \
17739 old_archive_cmds_F77 \
17740 old_archive_from_new_cmds_F77 \
17741 predep_objects_F77 \
17742 postdep_objects_F77 \
17745 compiler_lib_search_path_F77 \
17747 archive_expsym_cmds_F77 \
17748 postinstall_cmds_F77 \
17749 postuninstall_cmds_F77 \
17750 old_archive_from_expsyms_cmds_F77 \
17751 allow_undefined_flag_F77 \
17752 no_undefined_flag_F77 \
17753 export_symbols_cmds_F77 \
17754 hardcode_libdir_flag_spec_F77 \
17755 hardcode_libdir_flag_spec_ld_F77 \
17756 hardcode_libdir_separator_F77 \
17757 hardcode_automatic_F77 \
17759 module_expsym_cmds_F77 \
17760 lt_cv_prog_compiler_c_o_F77 \
17761 exclude_expsyms_F77 \
17762 include_expsyms_F77
; do
17765 old_archive_cmds_F77 | \
17766 old_archive_from_new_cmds_F77 | \
17767 archive_cmds_F77 | \
17768 archive_expsym_cmds_F77 | \
17769 module_cmds_F77 | \
17770 module_expsym_cmds_F77 | \
17771 old_archive_from_expsyms_cmds_F77 | \
17772 export_symbols_cmds_F77 | \
17773 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17774 postinstall_cmds | postuninstall_cmds | \
17775 old_postinstall_cmds | old_postuninstall_cmds | \
17776 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17777 # Double-quote double-evaled strings.
17778 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17781 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17787 *'\$0 --fallback-echo"')
17788 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17794 cat <<__EOF__ >> "$cfgfile"
17795 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17797 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17799 # Shell to use when invoking shell scripts.
17802 # Whether or not to build shared libraries.
17803 build_libtool_libs=$enable_shared
17805 # Whether or not to build static libraries.
17806 build_old_libs=$enable_static
17808 # Whether or not to add -lc for building shared libraries.
17809 build_libtool_need_lc=$archive_cmds_need_lc_F77
17811 # Whether or not to disallow shared libs when runtime libs are static
17812 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17814 # Whether or not to optimize for fast installation.
17815 fast_install=$enable_fast_install
17818 host_alias=$host_alias
17822 # The build system.
17823 build_alias=$build_alias
17827 # An echo program that does not interpret backslashes.
17832 AR_FLAGS=$lt_AR_FLAGS
17837 # LTCC compiler flags.
17838 LTCFLAGS=$lt_LTCFLAGS
17840 # A language-specific compiler.
17841 CC=$lt_compiler_F77
17843 # Is the compiler the GNU C compiler?
17849 # The linker used to build libraries.
17852 # Whether we need hard or soft links.
17855 # A BSD-compatible nm program.
17858 # A symbol stripping program
17861 # Used to examine libraries when file_magic_cmd begins "file"
17862 MAGIC_CMD=$MAGIC_CMD
17864 # Used on cygwin: DLL creation program.
17867 # Used on cygwin: object dumper.
17870 # Used on cygwin: assembler.
17873 # The name of the directory that contains temporary libtool files.
17876 # How to create reloadable object files.
17877 reload_flag=$lt_reload_flag
17878 reload_cmds=$lt_reload_cmds
17880 # How to pass a linker flag through the compiler.
17881 wl=$lt_lt_prog_compiler_wl_F77
17883 # Object file suffix (normally "o").
17884 objext="$ac_objext"
17886 # Old archive suffix (normally "a").
17889 # Shared library suffix (normally ".so").
17890 shrext_cmds='$shrext_cmds'
17892 # Executable file suffix (normally "").
17895 # Additional compiler flags for building library objects.
17896 pic_flag=$lt_lt_prog_compiler_pic_F77
17899 # What is the maximum length of a command?
17900 max_cmd_len=$lt_cv_sys_max_cmd_len
17902 # Does compiler simultaneously support -c and -o options?
17903 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17905 # Must we lock files when doing compilation?
17906 need_locks=$lt_need_locks
17908 # Do we need the lib prefix for modules?
17909 need_lib_prefix=$need_lib_prefix
17911 # Do we need a version for libraries?
17912 need_version=$need_version
17914 # Whether dlopen is supported.
17915 dlopen_support=$enable_dlopen
17917 # Whether dlopen of programs is supported.
17918 dlopen_self=$enable_dlopen_self
17920 # Whether dlopen of statically linked programs is supported.
17921 dlopen_self_static=$enable_dlopen_self_static
17923 # Compiler flag to prevent dynamic linking.
17924 link_static_flag=$lt_lt_prog_compiler_static_F77
17926 # Compiler flag to turn off builtin functions.
17927 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17929 # Compiler flag to allow reflexive dlopens.
17930 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17932 # Compiler flag to generate shared objects directly from archives.
17933 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17935 # Compiler flag to generate thread-safe objects.
17936 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17938 # Library versioning type.
17939 version_type=$version_type
17941 # Format of library name prefix.
17942 libname_spec=$lt_libname_spec
17944 # List of archive names. First name is the real one, the rest are links.
17945 # The last name is the one that the linker finds with -lNAME.
17946 library_names_spec=$lt_library_names_spec
17948 # The coded name of the library, if different from the real name.
17949 soname_spec=$lt_soname_spec
17951 # Commands used to build and install an old-style archive.
17953 old_archive_cmds=$lt_old_archive_cmds_F77
17954 old_postinstall_cmds=$lt_old_postinstall_cmds
17955 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17957 # Create an old-style archive from a shared archive.
17958 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17960 # Create a temporary old-style archive to link instead of a shared archive.
17961 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17963 # Commands used to build and install a shared archive.
17964 archive_cmds=$lt_archive_cmds_F77
17965 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17966 postinstall_cmds=$lt_postinstall_cmds
17967 postuninstall_cmds=$lt_postuninstall_cmds
17969 # Commands used to build a loadable module (assumed same as above if empty)
17970 module_cmds=$lt_module_cmds_F77
17971 module_expsym_cmds=$lt_module_expsym_cmds_F77
17973 # Commands to strip libraries.
17974 old_striplib=$lt_old_striplib
17975 striplib=$lt_striplib
17977 # Dependencies to place before the objects being linked to create a
17979 predep_objects=$lt_predep_objects_F77
17981 # Dependencies to place after the objects being linked to create a
17983 postdep_objects=$lt_postdep_objects_F77
17985 # Dependencies to place before the objects being linked to create a
17987 predeps=$lt_predeps_F77
17989 # Dependencies to place after the objects being linked to create a
17991 postdeps=$lt_postdeps_F77
17993 # The library search path used internally by the compiler when linking
17994 # a shared library.
17995 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17997 # Method to check whether dependent libraries are shared objects.
17998 deplibs_check_method=$lt_deplibs_check_method
18000 # Command to use when deplibs_check_method == file_magic.
18001 file_magic_cmd=$lt_file_magic_cmd
18003 # Flag that allows shared libraries with undefined symbols to be built.
18004 allow_undefined_flag=$lt_allow_undefined_flag_F77
18006 # Flag that forces no undefined symbols.
18007 no_undefined_flag=$lt_no_undefined_flag_F77
18009 # Commands used to finish a libtool library installation in a directory.
18010 finish_cmds=$lt_finish_cmds
18012 # Same as above, but a single script fragment to be evaled but not shown.
18013 finish_eval=$lt_finish_eval
18015 # Take the output of nm and produce a listing of raw symbols and C names.
18016 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18018 # Transform the output of nm in a proper C declaration
18019 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18021 # Transform the output of nm in a C name address pair
18022 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18024 # This is the shared library runtime path variable.
18025 runpath_var=$runpath_var
18027 # This is the shared library path variable.
18028 shlibpath_var=$shlibpath_var
18030 # Is shlibpath searched before the hard-coded library search path?
18031 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18033 # How to hardcode a shared library path into an executable.
18034 hardcode_action=$hardcode_action_F77
18036 # Whether we should hardcode library paths into libraries.
18037 hardcode_into_libs=$hardcode_into_libs
18039 # Flag to hardcode \$libdir into a binary during linking.
18040 # This must work even if \$libdir does not exist.
18041 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18043 # If ld is used when linking, flag to hardcode \$libdir into
18044 # a binary during linking. This must work even if \$libdir does
18046 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18048 # Whether we need a single -rpath flag with a separated argument.
18049 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18051 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18052 # resulting binary.
18053 hardcode_direct=$hardcode_direct_F77
18055 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18056 # resulting binary.
18057 hardcode_minus_L=$hardcode_minus_L_F77
18059 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18060 # the resulting binary.
18061 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18063 # Set to yes if building a shared library automatically hardcodes DIR into the library
18064 # and all subsequent libraries and executables linked against it.
18065 hardcode_automatic=$hardcode_automatic_F77
18067 # Variables whose values should be saved in libtool wrapper scripts and
18068 # restored at relink time.
18069 variables_saved_for_relink="$variables_saved_for_relink"
18071 # Whether libtool must link a program against all its dependency libraries.
18072 link_all_deplibs=$link_all_deplibs_F77
18074 # Compile-time system search path for libraries
18075 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18077 # Run-time system search path for libraries
18078 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18080 # Fix the shell variable \$srcfile for the compiler.
18081 fix_srcfile_path="$fix_srcfile_path_F77"
18083 # Set to yes if exported symbols are required.
18084 always_export_symbols=$always_export_symbols_F77
18086 # The commands to list exported symbols.
18087 export_symbols_cmds=$lt_export_symbols_cmds_F77
18089 # The commands to extract the exported symbol list from a shared archive.
18090 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18092 # Symbols that should not be listed in the preloaded symbols.
18093 exclude_expsyms=$lt_exclude_expsyms_F77
18095 # Symbols that must always be exported.
18096 include_expsyms=$lt_include_expsyms_F77
18098 # ### END LIBTOOL TAG CONFIG: $tagname
18104 # If there is no Makefile yet, we rely on a make rule to execute
18105 # `config.status --recheck' to rerun these tests and create the
18106 # libtool script then.
18107 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18108 if test -f "$ltmain_in"; then
18109 test -f Makefile
&& make "$ltmain"
18115 ac_cpp
='$CPP $CPPFLAGS'
18116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18128 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18131 # Source file extension for Java test sources.
18134 # Object file extension for compiled Java test sources.
18138 # Code to be used in simple compile tests
18139 lt_simple_compile_test_code
="class foo {}\n"
18141 # Code to be used in simple link tests
18142 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
18144 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18146 # If no C compiler was specified, use CC.
18149 # If no C compiler flags were specified, use CFLAGS.
18150 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18152 # Allow CC to be a program name with arguments.
18156 # save warnings/boilerplate of simple test code
18157 ac_outfile
=conftest.
$ac_objext
18158 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18159 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18160 _lt_compiler_boilerplate
=`cat conftest.err`
18163 ac_outfile
=conftest.
$ac_objext
18164 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18165 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18166 _lt_linker_boilerplate
=`cat conftest.err`
18170 # Allow CC to be a program name with arguments.
18175 for cc_temp
in $compiler""; do
18177 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18178 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18183 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18186 # GCJ did not exist at the time GCC didn't implicitly link libc in.
18187 archive_cmds_need_lc_GCJ
=no
18189 old_archive_cmds_GCJ
=$old_archive_cmds
18192 ## There is no encapsulation within the following macros, do not change
18193 ## the running order or otherwise move them around unless you know exactly
18194 ## what you are doing...
18196 lt_prog_compiler_no_builtin_flag_GCJ
=
18198 if test "$GCC" = yes; then
18199 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
18202 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18203 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18204 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18207 lt_cv_prog_compiler_rtti_exceptions
=no
18208 ac_outfile
=conftest.
$ac_objext
18209 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18210 lt_compiler_flag
="-fno-rtti -fno-exceptions"
18211 # Insert the option either (1) after the last *FLAGS variable, or
18212 # (2) before a word containing "conftest.", or (3) at the end.
18213 # Note that $ac_compile itself does not contain backslashes and begins
18214 # with a dollar sign (not a hyphen), so the echo should work correctly.
18215 # The option is referenced via a variable to avoid confusing sed.
18216 lt_compile
=`echo "$ac_compile" | $SED \
18217 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18218 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18219 -e 's:$: $lt_compiler_flag:'`
18220 (eval echo "\"\$as_me:18220: $lt_compile\"" >&5)
18221 (eval "$lt_compile" 2>conftest.err
)
18223 cat conftest.err
>&5
18224 echo "$as_me:18224: \$? = $ac_status" >&5
18225 if (exit $ac_status) && test -s "$ac_outfile"; then
18226 # The compiler can only warn and ignore the option if not recognized
18227 # So say no if there are warnings other than the usual output.
18228 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
18229 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18230 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18231 lt_cv_prog_compiler_rtti_exceptions
=yes
18237 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18238 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18240 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
18241 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18248 lt_prog_compiler_wl_GCJ
=
18249 lt_prog_compiler_pic_GCJ
=
18250 lt_prog_compiler_static_GCJ
=
18252 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18253 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18255 if test "$GCC" = yes; then
18256 lt_prog_compiler_wl_GCJ
='-Wl,'
18257 lt_prog_compiler_static_GCJ
='-static'
18261 # All AIX code is PIC.
18262 if test "$host_cpu" = ia64
; then
18263 # AIX 5 now supports IA64 processor
18264 lt_prog_compiler_static_GCJ
='-Bstatic'
18269 # FIXME: we need at least 68020 code to build shared libraries, but
18270 # adding the `-m68020' flag to GCC prevents building anything better,
18272 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
18275 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
18276 # PIC is the default for these OSes.
18279 mingw
* | pw32
* | os2
*)
18280 # This hack is so that the source file can tell whether it is being
18281 # built for inclusion in a dll (and should export symbols for example).
18282 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
18285 darwin
* | rhapsody
*)
18286 # PIC is the default on this platform
18287 # Common symbols not allowed in MH_DYLIB files
18288 lt_prog_compiler_pic_GCJ
='-fno-common'
18292 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18293 # Instead, we relocate shared libraries at runtime.
18297 # Just because we use GCC doesn't mean we suddenly get shared libraries
18298 # on systems that don't support them.
18299 lt_prog_compiler_can_build_shared_GCJ
=no
18304 if test -d /usr
/nec
; then
18305 lt_prog_compiler_pic_GCJ
=-Kconform_pic
18310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18311 # not for PA HP-UX.
18317 lt_prog_compiler_pic_GCJ
='-fPIC'
18323 lt_prog_compiler_pic_GCJ
='-fPIC'
18327 # PORTME Check for flag to pass linker flags through the system compiler.
18330 lt_prog_compiler_wl_GCJ
='-Wl,'
18331 if test "$host_cpu" = ia64
; then
18332 # AIX 5 now supports IA64 processor
18333 lt_prog_compiler_static_GCJ
='-Bstatic'
18335 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
18339 # PIC is the default on this platform
18340 # Common symbols not allowed in MH_DYLIB files
18341 case $cc_basename in
18343 lt_prog_compiler_pic_GCJ
='-qnocommon'
18344 lt_prog_compiler_wl_GCJ
='-Wl,'
18349 mingw
* | pw32
* | os2
*)
18350 # This hack is so that the source file can tell whether it is being
18351 # built for inclusion in a dll (and should export symbols for example).
18352 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
18355 hpux9
* | hpux10
* | hpux11
*)
18356 lt_prog_compiler_wl_GCJ
='-Wl,'
18357 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18358 # not for PA HP-UX.
18364 lt_prog_compiler_pic_GCJ
='+Z'
18367 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18368 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
18371 irix5
* | irix6
* | nonstopux
*)
18372 lt_prog_compiler_wl_GCJ
='-Wl,'
18373 # PIC (with -KPIC) is the default.
18374 lt_prog_compiler_static_GCJ
='-non_shared'
18378 lt_prog_compiler_pic_GCJ
='-KPIC'
18379 lt_prog_compiler_static_GCJ
='-Bstatic'
18383 case $cc_basename in
18385 lt_prog_compiler_wl_GCJ
='-Wl,'
18386 lt_prog_compiler_pic_GCJ
='-KPIC'
18387 lt_prog_compiler_static_GCJ
='-static'
18389 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
18390 # Portland Group compilers (*not* the Pentium gcc compiler,
18391 # which looks to be a dead project)
18392 lt_prog_compiler_wl_GCJ
='-Wl,'
18393 lt_prog_compiler_pic_GCJ
='-fpic'
18394 lt_prog_compiler_static_GCJ
='-Bstatic'
18397 lt_prog_compiler_wl_GCJ
='-Wl,'
18398 # All Alpha code is PIC.
18399 lt_prog_compiler_static_GCJ
='-non_shared'
18404 osf3
* | osf4
* | osf5
*)
18405 lt_prog_compiler_wl_GCJ
='-Wl,'
18406 # All OSF/1 code is PIC.
18407 lt_prog_compiler_static_GCJ
='-non_shared'
18411 lt_prog_compiler_pic_GCJ
='-KPIC'
18412 lt_prog_compiler_static_GCJ
='-Bstatic'
18413 case $cc_basename in
18414 f77
* | f90
* | f95
*)
18415 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
18417 lt_prog_compiler_wl_GCJ
='-Wl,';;
18422 lt_prog_compiler_wl_GCJ
='-Qoption ld '
18423 lt_prog_compiler_pic_GCJ
='-PIC'
18424 lt_prog_compiler_static_GCJ
='-Bstatic'
18427 sysv4 | sysv4.2uw2
* | sysv4.3
*)
18428 lt_prog_compiler_wl_GCJ
='-Wl,'
18429 lt_prog_compiler_pic_GCJ
='-KPIC'
18430 lt_prog_compiler_static_GCJ
='-Bstatic'
18434 if test -d /usr
/nec
;then
18435 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
18436 lt_prog_compiler_static_GCJ
='-Bstatic'
18440 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
18441 lt_prog_compiler_wl_GCJ
='-Wl,'
18442 lt_prog_compiler_pic_GCJ
='-KPIC'
18443 lt_prog_compiler_static_GCJ
='-Bstatic'
18447 lt_prog_compiler_wl_GCJ
='-Wl,'
18448 lt_prog_compiler_can_build_shared_GCJ
=no
18452 lt_prog_compiler_pic_GCJ
='-pic'
18453 lt_prog_compiler_static_GCJ
='-Bstatic'
18457 lt_prog_compiler_can_build_shared_GCJ
=no
18462 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18463 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18466 # Check to make sure the PIC flag actually works.
18468 if test -n "$lt_prog_compiler_pic_GCJ"; then
18470 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18471 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18472 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18473 echo $ECHO_N "(cached) $ECHO_C" >&6
18475 lt_prog_compiler_pic_works_GCJ
=no
18476 ac_outfile
=conftest.
$ac_objext
18477 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18478 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
18479 # Insert the option either (1) after the last *FLAGS variable, or
18480 # (2) before a word containing "conftest.", or (3) at the end.
18481 # Note that $ac_compile itself does not contain backslashes and begins
18482 # with a dollar sign (not a hyphen), so the echo should work correctly.
18483 # The option is referenced via a variable to avoid confusing sed.
18484 lt_compile
=`echo "$ac_compile" | $SED \
18485 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18486 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18487 -e 's:$: $lt_compiler_flag:'`
18488 (eval echo "\"\$as_me:18488: $lt_compile\"" >&5)
18489 (eval "$lt_compile" 2>conftest.err
)
18491 cat conftest.err
>&5
18492 echo "$as_me:18492: \$? = $ac_status" >&5
18493 if (exit $ac_status) && test -s "$ac_outfile"; then
18494 # The compiler can only warn and ignore the option if not recognized
18495 # So say no if there are warnings other than the usual output.
18496 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
18497 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18498 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
18499 lt_prog_compiler_pic_works_GCJ
=yes
18505 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18506 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18508 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
18509 case $lt_prog_compiler_pic_GCJ in
18511 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
18514 lt_prog_compiler_pic_GCJ
=
18515 lt_prog_compiler_can_build_shared_GCJ
=no
18520 # For platforms which do not support PIC, -DPIC is meaningless:
18522 lt_prog_compiler_pic_GCJ
=
18525 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
18530 # Check to make sure the static flag actually works.
18532 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
18533 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18534 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18535 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18538 lt_prog_compiler_static_works_GCJ
=no
18539 save_LDFLAGS
="$LDFLAGS"
18540 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
18541 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
18542 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18543 # The linker can only warn and ignore the option if not recognized
18544 # So say no if there are warnings
18545 if test -s conftest.err
; then
18546 # Append any errors to the config.log.
18547 cat conftest.err
1>&5
18548 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
18549 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18550 if diff conftest.exp conftest.er2
>/dev
/null
; then
18551 lt_prog_compiler_static_works_GCJ
=yes
18554 lt_prog_compiler_static_works_GCJ
=yes
18558 LDFLAGS
="$save_LDFLAGS"
18561 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18562 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
18564 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
18567 lt_prog_compiler_static_GCJ
=
18571 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18572 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18573 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 lt_cv_prog_compiler_c_o_GCJ
=no
18577 $rm -r conftest
2>/dev
/null
18581 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18583 lt_compiler_flag
="-o out/conftest2.$ac_objext"
18584 # Insert the option either (1) after the last *FLAGS variable, or
18585 # (2) before a word containing "conftest.", or (3) at the end.
18586 # Note that $ac_compile itself does not contain backslashes and begins
18587 # with a dollar sign (not a hyphen), so the echo should work correctly.
18588 lt_compile
=`echo "$ac_compile" | $SED \
18589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18591 -e 's:$: $lt_compiler_flag:'`
18592 (eval echo "\"\$as_me:18592: $lt_compile\"" >&5)
18593 (eval "$lt_compile" 2>out
/conftest.err
)
18595 cat out
/conftest.err
>&5
18596 echo "$as_me:18596: \$? = $ac_status" >&5
18597 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
18599 # The compiler can only warn and ignore the option if not recognized
18600 # So say no if there are warnings
18601 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
18602 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
18603 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
18604 lt_cv_prog_compiler_c_o_GCJ
=yes
18609 # SGI C++ compiler will create directory out/ii_files/ for
18610 # template instantiation
18611 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
18612 $rm out
/* && rmdir out
18618 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18619 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18622 hard_links
="nottested"
18623 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
18624 # do not overwrite the value of need_locks provided by the user
18625 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18626 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18629 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18631 ln conftest.a conftest.b
2>&5 || hard_links
=no
18632 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
18633 { echo "$as_me:$LINENO: result: $hard_links" >&5
18634 echo "${ECHO_T}$hard_links" >&6; }
18635 if test "$hard_links" = no
; then
18636 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18637 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18644 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18645 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18648 allow_undefined_flag_GCJ
=
18649 enable_shared_with_static_runtimes_GCJ
=no
18651 archive_expsym_cmds_GCJ
=
18652 old_archive_From_new_cmds_GCJ
=
18653 old_archive_from_expsyms_cmds_GCJ
=
18654 export_dynamic_flag_spec_GCJ
=
18655 whole_archive_flag_spec_GCJ
=
18656 thread_safe_flag_spec_GCJ
=
18657 hardcode_libdir_flag_spec_GCJ
=
18658 hardcode_libdir_flag_spec_ld_GCJ
=
18659 hardcode_libdir_separator_GCJ
=
18660 hardcode_direct_GCJ
=no
18661 hardcode_minus_L_GCJ
=no
18662 hardcode_shlibpath_var_GCJ
=unsupported
18663 link_all_deplibs_GCJ
=unknown
18664 hardcode_automatic_GCJ
=no
18666 module_expsym_cmds_GCJ
=
18667 always_export_symbols_GCJ
=no
18668 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18669 # include_expsyms should be a list of space-separated symbols to be *always*
18670 # included in the symbol list
18671 include_expsyms_GCJ
=
18672 # exclude_expsyms can be an extended regexp of symbols to exclude
18673 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18674 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18675 # as well as any symbol that contains `d'.
18676 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
18677 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18678 # platforms (ab)use it in PIC code, but their linkers get confused if
18679 # the symbol is explicitly referenced. Since portable code cannot
18680 # rely on this symbol name, it's probably fine to never include it in
18681 # preloaded symbol tables.
18682 extract_expsyms_cmds
=
18683 # Just being paranoid about ensuring that cc_basename is set.
18684 for cc_temp
in $compiler""; do
18686 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18687 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18692 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18695 cygwin
* | mingw
* | pw32
*)
18696 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18697 # When not using gcc, we currently assume that we are using
18698 # Microsoft Visual C++.
18699 if test "$GCC" != yes; then
18704 # we just hope/assume this is gcc and not c89 (= MSVC++)
18713 if test "$with_gnu_ld" = yes; then
18714 # If archive_cmds runs LD, not CC, wlarc should be empty
18717 # Set some defaults for GNU ld with shared library support. These
18718 # are reset later if shared libraries are not supported. Putting them
18719 # here allows them to be overridden if necessary.
18720 runpath_var
=LD_RUN_PATH
18721 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
18722 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
18723 # ancient GNU ld didn't support --whole-archive et. al.
18724 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
18725 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18727 whole_archive_flag_spec_GCJ
=
18729 supports_anon_versioning
=no
18730 case `$LD -v 2>/dev/null` in
18731 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
18732 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
18733 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
18734 *\
2.11.
*) ;; # other 2.11 versions
18735 *) supports_anon_versioning
=yes ;;
18738 # See if GNU ld supports shared libraries.
18740 aix3
* | aix4
* | aix5
*)
18741 # On AIX/PPC, the GNU linker is very broken
18742 if test "$host_cpu" != ia64
; then
18746 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18747 *** to be unable to reliably create shared libraries on AIX.
18748 *** Therefore, libtool is disabling shared libraries support. If you
18749 *** really care for shared libraries, you may want to modify your PATH
18750 *** so that a non-GNU linker is found, and then restart.
18757 archive_cmds_GCJ
='$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)'
18758 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18759 hardcode_minus_L_GCJ
=yes
18761 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18762 # that the semantics of dynamic libraries on AmigaOS, at least up
18763 # to version 4, is to share data among multiple programs linked
18764 # with the same dynamic library. Since this doesn't match the
18765 # behavior of shared libraries on other platforms, we can't use
18771 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18772 allow_undefined_flag_GCJ
=unsupported
18773 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18774 # support --undefined. This deserves some investigation. FIXME
18775 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18781 cygwin
* | mingw
* | pw32
*)
18782 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18783 # as there is no search path for DLLs.
18784 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18785 allow_undefined_flag_GCJ
=unsupported
18786 always_export_symbols_GCJ
=no
18787 enable_shared_with_static_runtimes_GCJ
=yes
18788 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18790 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
18791 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18792 # If the export-symbols file already is a .def file (1st line
18793 # is EXPORTS), use it as is; otherwise, prepend...
18794 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18795 cp $export_symbols $output_objdir/$soname.def;
18797 echo EXPORTS > $output_objdir/$soname.def;
18798 cat $export_symbols >> $output_objdir/$soname.def;
18800 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18807 hardcode_direct_GCJ
=no
18808 hardcode_shlibpath_var_GCJ
=no
18809 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18810 export_dynamic_flag_spec_GCJ
='${wl}-E'
18811 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18812 # Instead, shared libraries are loaded at an image base (0x10000000 by
18813 # default) and relocated if they conflict, which is a slow very memory
18814 # consuming and fragmenting process. To avoid this, we pick a random,
18815 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18816 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18817 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18818 archive_expsym_cmds_GCJ
='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'
18822 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18824 case $cc_basename,$host_cpu in
18825 pgcc
*) # Portland Group C compiler
18826 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18827 tmp_addflag
=' $pic_flag'
18829 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
18830 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18831 tmp_addflag
=' $pic_flag -Mnomain' ;;
18832 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18833 tmp_addflag
=' -i_dynamic' ;;
18834 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18835 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18836 ifc
* | ifort
*) # Intel Fortran compiler
18837 tmp_addflag
=' -nofor_main' ;;
18839 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18841 if test $supports_anon_versioning = yes; then
18842 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
18843 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18844 $echo "local: *; };" >> $output_objdir/$libname.ver~
18845 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18853 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18854 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18857 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18858 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18863 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
18867 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18868 *** create shared libraries on Solaris systems. Therefore, libtool
18869 *** is disabling shared libraries support. We urge you to upgrade GNU
18870 *** binutils to release 2.9.1 or newer. Another option is to modify
18871 *** your PATH or compiler configuration so that the native linker is
18872 *** used, and then restart.
18875 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18876 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18877 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18883 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18884 case `$LD -v 2>&1` in
18885 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18889 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18890 *** reliably create shared libraries on SCO systems. Therefore, libtool
18891 *** is disabling shared libraries support. We urge you to upgrade GNU
18892 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18893 *** your PATH or compiler configuration so that the native linker is
18894 *** used, and then restart.
18899 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18900 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18901 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18902 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18911 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18913 hardcode_direct_GCJ
=yes
18914 hardcode_shlibpath_var_GCJ
=no
18918 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18919 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18920 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18927 if test "$ld_shlibs_GCJ" = no
; then
18929 hardcode_libdir_flag_spec_GCJ
=
18930 export_dynamic_flag_spec_GCJ
=
18931 whole_archive_flag_spec_GCJ
=
18934 # PORTME fill in a description of your system's linker (not GNU ld)
18937 allow_undefined_flag_GCJ
=unsupported
18938 always_export_symbols_GCJ
=yes
18939 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18940 # Note: this linker hardcodes the directories in LIBPATH if there
18941 # are no directories specified by -L.
18942 hardcode_minus_L_GCJ
=yes
18943 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18944 # Neither direct hardcoding nor static linking is supported with a
18946 hardcode_direct_GCJ
=unsupported
18951 if test "$host_cpu" = ia64
; then
18952 # On IA64, the linker does run time linking by default, so we don't
18953 # have to do anything special.
18954 aix_use_runtimelinking
=no
18955 exp_sym_flag
='-Bexport'
18958 # If we're using GNU nm, then we don't want the "-C" option.
18959 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18960 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
18961 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18963 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18965 aix_use_runtimelinking
=no
18967 # Test if we are trying to use run time linking or normal
18968 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18969 # need to do runtime linking.
18970 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
18971 for ld_flag
in $LDFLAGS; do
18972 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18973 aix_use_runtimelinking
=yes
18980 exp_sym_flag
='-bexport'
18981 no_entry_flag
='-bnoentry'
18984 # When large executables or shared objects are built, AIX ld can
18985 # have problems creating the table of contents. If linking a library
18986 # or program results in "error TOC overflow" add -mminimal-toc to
18987 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18988 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18990 archive_cmds_GCJ
=''
18991 hardcode_direct_GCJ
=yes
18992 hardcode_libdir_separator_GCJ
=':'
18993 link_all_deplibs_GCJ
=yes
18995 if test "$GCC" = yes; then
18996 case $host_os in aix4.
[012]|aix4.
[012].
*)
18997 # We only want to do this on AIX 4.2 and lower, the check
18998 # below for broken collect2 doesn't work under 4.3+
18999 collect2name
=`${CC} -print-prog-name=collect2`
19000 if test -f "$collect2name" && \
19001 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
19003 # We have reworked collect2
19004 hardcode_direct_GCJ
=yes
19006 # We have old collect2
19007 hardcode_direct_GCJ
=unsupported
19008 # It fails to find uninstalled libraries when the uninstalled
19009 # path is not listed in the libpath. Setting hardcode_minus_L
19010 # to unsupported forces relinking
19011 hardcode_minus_L_GCJ
=yes
19012 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19013 hardcode_libdir_separator_GCJ
=
19017 shared_flag
='-shared'
19018 if test "$aix_use_runtimelinking" = yes; then
19019 shared_flag
="$shared_flag "'${wl}-G'
19023 if test "$host_cpu" = ia64
; then
19024 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19025 # chokes on -Wl,-G. The following line is correct:
19028 if test "$aix_use_runtimelinking" = yes; then
19029 shared_flag
='${wl}-G'
19031 shared_flag
='${wl}-bM:SRE'
19036 # It seems that -bexpall does not export symbols beginning with
19037 # underscore (_), so it is better to generate a list of symbols to export.
19038 always_export_symbols_GCJ
=yes
19039 if test "$aix_use_runtimelinking" = yes; then
19040 # Warning - without using the other runtime loading flags (-brtl),
19041 # -berok will link without error, but may produce a broken library.
19042 allow_undefined_flag_GCJ
='-berok'
19043 # Determine the default libpath from the value encoded in an empty executable.
19044 cat >conftest.
$ac_ext <<_ACEOF
19047 cat confdefs.h
>>conftest.
$ac_ext
19048 cat >>conftest.
$ac_ext <<_ACEOF
19049 /* end confdefs.h. */
19059 rm -f conftest.
$ac_objext conftest
$ac_exeext
19060 if { (ac_try
="$ac_link"
19061 case "(($ac_try" in
19062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19063 *) ac_try_echo=$ac_try;;
19065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_link") 2>conftest.er1
19068 grep -v '^ *+' conftest.er1 >conftest.err
19070 cat conftest.err >&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } && {
19073 test -z "$ac_c_werror_flag" ||
19074 test ! -s conftest.err
19075 } && test -s conftest$ac_exeext &&
19076 $as_test_x conftest$ac_exeext; then
19078 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19080 # Check for a 64-bit object if we didn't find anything.
19081 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19084 echo "$as_me: failed program was:" >&5
19085 sed 's/^/| /' conftest.$ac_ext >&5
19090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19091 conftest$ac_exeext conftest.$ac_ext
19092 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19094 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19095 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19097 if test "$host_cpu" = ia64; then
19098 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19099 allow_undefined_flag_GCJ="-z nodefs"
19100 archive_expsym_cmds_GCJ="\$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"
19102 # Determine the default libpath from the value encoded in an empty executable.
19103 cat >conftest.$ac_ext <<_ACEOF
19106 cat confdefs.h >>conftest.$ac_ext
19107 cat >>conftest.$ac_ext <<_ACEOF
19108 /* end confdefs.h. */
19118 rm -f conftest.$ac_objext conftest$ac_exeext
19119 if { (ac_try="$ac_link"
19120 case "(($ac_try" in
19121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19122 *) ac_try_echo
=$ac_try;;
19124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19125 (eval "$ac_link") 2>conftest.er1
19127 grep -v '^ *+' conftest.er1
>conftest.err
19129 cat conftest.err
>&5
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); } && {
19132 test -z "$ac_c_werror_flag" ||
19133 test ! -s conftest.err
19134 } && test -s conftest
$ac_exeext &&
19135 $as_test_x conftest
$ac_exeext; then
19137 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19139 # Check for a 64-bit object if we didn't find anything.
19140 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19143 echo "$as_me: failed program was:" >&5
19144 sed 's/^/| /' conftest.
$ac_ext >&5
19149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19150 conftest
$ac_exeext conftest.
$ac_ext
19151 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
19153 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
19154 # Warning - without using the other run time loading flags,
19155 # -berok will link without error, but may produce a broken library.
19156 no_undefined_flag_GCJ
=' ${wl}-bernotok'
19157 allow_undefined_flag_GCJ
=' ${wl}-berok'
19158 # Exported symbols can be pulled into shared objects from archives
19159 whole_archive_flag_spec_GCJ
='$convenience'
19160 archive_cmds_need_lc_GCJ
=yes
19161 # This is similar to how AIX traditionally builds its shared libraries.
19162 archive_expsym_cmds_GCJ
="\$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'
19168 archive_cmds_GCJ
='$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)'
19169 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19170 hardcode_minus_L_GCJ
=yes
19171 # see comment about different semantics on the GNU ld section
19176 export_dynamic_flag_spec_GCJ
=-rdynamic
19179 cygwin
* | mingw
* | pw32
*)
19180 # When not using gcc, we currently assume that we are using
19181 # Microsoft Visual C++.
19182 # hardcode_libdir_flag_spec is actually meaningless, as there is
19183 # no search path for DLLs.
19184 hardcode_libdir_flag_spec_GCJ
=' '
19185 allow_undefined_flag_GCJ
=unsupported
19186 # Tell ltmain to make .lib files, not .a files.
19188 # Tell ltmain to make .dll files, not .so files.
19190 # FIXME: Setting linknames here is a bad hack.
19191 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19192 # The linker will automatically build a .lib file if we build a DLL.
19193 old_archive_From_new_cmds_GCJ
='true'
19194 # FIXME: Should let the user specify the lib program.
19195 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
19196 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
19197 enable_shared_with_static_runtimes_GCJ
=yes
19200 darwin
* | rhapsody
*)
19202 rhapsody
* | darwin1.
[012])
19203 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
19206 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19207 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19209 case ${MACOSX_DEPLOYMENT_TARGET} in
19211 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19214 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
19220 archive_cmds_need_lc_GCJ
=no
19221 hardcode_direct_GCJ
=no
19222 hardcode_automatic_GCJ
=yes
19223 hardcode_shlibpath_var_GCJ
=unsupported
19224 whole_archive_flag_spec_GCJ
=''
19225 link_all_deplibs_GCJ
=yes
19226 if test "$GCC" = yes ; then
19227 output_verbose_link_cmd
='echo'
19228 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
19229 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19230 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19231 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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}'
19232 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -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}'
19234 case $cc_basename in
19236 output_verbose_link_cmd
='echo'
19237 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
19238 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19239 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19240 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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}'
19241 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -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}'
19251 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19252 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19253 hardcode_shlibpath_var_GCJ
=no
19260 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19261 # support. Future versions do this automatically, but an explicit c++rt0.o
19262 # does not break anything, and helps significantly (at the cost of a little
19265 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19266 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19267 hardcode_direct_GCJ
=yes
19268 hardcode_shlibpath_var_GCJ
=no
19271 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19273 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19274 hardcode_direct_GCJ
=yes
19275 hardcode_minus_L_GCJ
=yes
19276 hardcode_shlibpath_var_GCJ
=no
19279 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19280 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
19281 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19282 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19283 hardcode_direct_GCJ
=yes
19284 hardcode_shlibpath_var_GCJ
=no
19288 if test "$GCC" = yes; then
19289 archive_cmds_GCJ
='$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'
19291 archive_cmds_GCJ
='$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'
19293 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19294 hardcode_libdir_separator_GCJ
=:
19295 hardcode_direct_GCJ
=yes
19297 # hardcode_minus_L: Not really in the search PATH,
19298 # but as the default location of the library.
19299 hardcode_minus_L_GCJ
=yes
19300 export_dynamic_flag_spec_GCJ
='${wl}-E'
19304 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19305 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19307 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19309 if test "$with_gnu_ld" = no
; then
19310 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19311 hardcode_libdir_separator_GCJ
=:
19313 hardcode_direct_GCJ
=yes
19314 export_dynamic_flag_spec_GCJ
='${wl}-E'
19316 # hardcode_minus_L: Not really in the search PATH,
19317 # but as the default location of the library.
19318 hardcode_minus_L_GCJ
=yes
19323 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
19326 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19329 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19332 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19338 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19341 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19344 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19348 if test "$with_gnu_ld" = no
; then
19349 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
19350 hardcode_libdir_separator_GCJ
=:
19354 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
19355 hardcode_direct_GCJ
=no
19356 hardcode_shlibpath_var_GCJ
=no
19359 hardcode_direct_GCJ
=yes
19360 export_dynamic_flag_spec_GCJ
='${wl}-E'
19362 # hardcode_minus_L: Not really in the search PATH,
19363 # but as the default location of the library.
19364 hardcode_minus_L_GCJ
=yes
19370 irix5
* | irix6
* | nonstopux
*)
19371 if test "$GCC" = yes; then
19372 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19374 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19375 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
19377 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19378 hardcode_libdir_separator_GCJ
=:
19379 link_all_deplibs_GCJ
=yes
19383 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19384 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19386 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19388 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19389 hardcode_direct_GCJ
=yes
19390 hardcode_shlibpath_var_GCJ
=no
19394 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19395 hardcode_direct_GCJ
=yes
19396 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19397 hardcode_libdir_separator_GCJ
=:
19398 hardcode_shlibpath_var_GCJ
=no
19402 hardcode_direct_GCJ
=yes
19403 hardcode_shlibpath_var_GCJ
=no
19404 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19405 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19406 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19407 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19408 export_dynamic_flag_spec_GCJ
='${wl}-E'
19411 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
19412 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19413 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19416 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19417 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
19424 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19425 hardcode_minus_L_GCJ
=yes
19426 allow_undefined_flag_GCJ
=unsupported
19427 archive_cmds_GCJ
='$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'
19428 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19432 if test "$GCC" = yes; then
19433 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19434 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19436 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19437 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19439 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19440 hardcode_libdir_separator_GCJ
=:
19443 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
19444 if test "$GCC" = yes; then
19445 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
19446 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19447 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
19449 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
19450 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19451 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
19452 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
19454 # Both c and cxx compiler support -rpath directly
19455 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
19457 hardcode_libdir_separator_GCJ
=:
19461 no_undefined_flag_GCJ
=' -z text'
19462 if test "$GCC" = yes; then
19464 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19465 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19466 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19469 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19470 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19471 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19473 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
19474 hardcode_shlibpath_var_GCJ
=no
19476 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19478 # The compiler driver will combine linker options so we
19479 # cannot just pass the convience library names through
19480 # without $wl, iff we do not link with $LD.
19481 # Luckily, gcc supports the same syntax we need for Sun Studio.
19482 # Supported since Solaris 2.6 (maybe 2.5.1?)
19485 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
19487 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
19490 link_all_deplibs_GCJ
=yes
19494 if test "x$host_vendor" = xsequent
; then
19495 # Use $CC to link under sequent, because it throws in some extra .o
19496 # files that make .init and .fini sections work.
19497 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19499 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19501 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19502 hardcode_direct_GCJ
=yes
19503 hardcode_minus_L_GCJ
=yes
19504 hardcode_shlibpath_var_GCJ
=no
19508 case $host_vendor in
19510 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19511 hardcode_direct_GCJ
=yes # is this really true???
19514 ## LD is ld it makes a PLAMLIB
19515 ## CC just makes a GrossModule.
19516 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19517 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
19518 hardcode_direct_GCJ
=no
19521 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19522 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
19525 runpath_var
='LD_RUN_PATH'
19526 hardcode_shlibpath_var_GCJ
=no
19530 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19531 hardcode_shlibpath_var_GCJ
=no
19532 export_dynamic_flag_spec_GCJ
='-Bexport'
19536 if test -d /usr
/nec
; then
19537 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19538 hardcode_shlibpath_var_GCJ
=no
19539 runpath_var
=LD_RUN_PATH
19540 hardcode_runpath_var
=yes
19545 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
19546 no_undefined_flag_GCJ
='${wl}-z,text'
19547 archive_cmds_need_lc_GCJ
=no
19548 hardcode_shlibpath_var_GCJ
=no
19549 runpath_var
='LD_RUN_PATH'
19551 if test "$GCC" = yes; then
19552 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19553 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19555 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19556 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19560 sysv5
* | sco3.2v5
* | sco5v6
*)
19561 # Note: We can NOT use -z defs as we might desire, because we do not
19562 # link with -lc, and that would cause any symbols used from libc to
19563 # always be unresolved, which means just about no library would
19564 # ever link correctly. If we're not using GNU ld we use -z text
19565 # though, which does catch some bad symbols but isn't as heavy-handed
19567 no_undefined_flag_GCJ
='${wl}-z,text'
19568 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
19569 archive_cmds_need_lc_GCJ
=no
19570 hardcode_shlibpath_var_GCJ
=no
19571 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19572 hardcode_libdir_separator_GCJ
=':'
19573 link_all_deplibs_GCJ
=yes
19574 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
19575 runpath_var
='LD_RUN_PATH'
19577 if test "$GCC" = yes; then
19578 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19579 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19581 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19582 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19587 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19588 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
19589 hardcode_shlibpath_var_GCJ
=no
19598 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19599 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19600 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
19603 # Do we need to explicitly link libc?
19605 case "x$archive_cmds_need_lc_GCJ" in
19607 # Assume -lc should be added
19608 archive_cmds_need_lc_GCJ
=yes
19610 if test "$enable_shared" = yes && test "$GCC" = yes; then
19611 case $archive_cmds_GCJ in
19613 # FIXME: we may have to deal with multi-command sequences.
19616 # Test whether the compiler implicitly links with -lc since on some
19617 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19618 # to ld, don't add -lc before -lgcc.
19619 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19620 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19622 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
19624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19625 (eval $ac_compile) 2>&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } 2>conftest.err
; then
19631 libobjs
=conftest.
$ac_objext
19633 wl
=$lt_prog_compiler_wl_GCJ
19634 pic_flag
=$lt_prog_compiler_pic_GCJ
19640 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
19641 allow_undefined_flag_GCJ
=
19642 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19643 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }
19648 archive_cmds_need_lc_GCJ
=no
19650 archive_cmds_need_lc_GCJ
=yes
19652 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
19654 cat conftest.err
1>&5
19657 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19658 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19665 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19666 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19667 library_names_spec
=
19668 libname_spec
='lib$name'
19672 postuninstall_cmds
=
19676 shlibpath_overrides_runpath
=unknown
19678 dynamic_linker
="$host_os ld.so"
19679 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19680 if test "$GCC" = yes; then
19681 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19682 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
19683 # if the path contains ";" then we assume it to be the separator
19684 # otherwise default to the standard path separator (i.e. ":") - it is
19685 # assumed that no part of a normal pathname contains ";" but that should
19686 # okay in the real world where ";" in dirpaths is itself problematic.
19687 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19689 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19692 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
19694 need_lib_prefix
=unknown
19695 hardcode_into_libs
=no
19697 # when you set need_version to no, make sure it does not cause -set_version
19698 # flags to be left without arguments
19699 need_version
=unknown
19704 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19705 shlibpath_var
=LIBPATH
19707 # AIX 3 has no versioning support, so we append a major version to the name.
19708 soname_spec
='${libname}${release}${shared_ext}$major'
19715 hardcode_into_libs
=yes
19716 if test "$host_cpu" = ia64
; then
19717 # AIX 5 supports IA64
19718 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19719 shlibpath_var
=LD_LIBRARY_PATH
19721 # With GCC up to 2.95.x, collect2 would create an import file
19722 # for dependence libraries. The import file would start with
19723 # the line `#! .'. This would cause the generated library to
19724 # depend on `.', always an invalid library. This was fixed in
19725 # development snapshots of GCC prior to 3.0.
19727 aix4 | aix4.
[01] | aix4.
[01].
*)
19728 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19730 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
19733 can_build_shared
=no
19737 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19738 # soname into executable. Probably we can add versioning support to
19739 # collect2, so additional links can be useful in future.
19740 if test "$aix_use_runtimelinking" = yes; then
19741 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19742 # instead of lib<name>.a to let people know that these are not
19743 # typical AIX shared libraries.
19744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19746 # We preserve .a as extension for shared libraries through AIX4.2
19747 # and later when we are not doing run time linking.
19748 library_names_spec
='${libname}${release}.a $libname.a'
19749 soname_spec
='${libname}${release}${shared_ext}$major'
19751 shlibpath_var
=LIBPATH
19756 library_names_spec
='$libname.ixlibrary $libname.a'
19757 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19758 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'
19762 library_names_spec
='${libname}${shared_ext}'
19763 dynamic_linker
="$host_os ld.so"
19764 shlibpath_var
=LIBRARY_PATH
19770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19771 soname_spec
='${libname}${release}${shared_ext}$major'
19772 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19773 shlibpath_var
=LD_LIBRARY_PATH
19774 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19775 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19776 # the default ld.so.conf also contains /usr/contrib/lib and
19777 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19778 # libtool to hard-code these into programs
19781 cygwin
* | mingw
* | pw32
*)
19782 version_type
=windows
19787 case $GCC,$host_os in
19788 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
19789 library_names_spec
='$libname.dll.a'
19790 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19791 postinstall_cmds
='base_file=`basename \${file}`~
19792 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19793 dldir=$destdir/`dirname \$dlpath`~
19794 test -d \$dldir || mkdir -p \$dldir~
19795 $install_prog $dir/$dlname \$dldir/$dlname~
19796 chmod a+x \$dldir/$dlname'
19797 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19798 dlpath=$dir/\$dldll~
19800 shlibpath_overrides_runpath
=yes
19804 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19805 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19806 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19809 # MinGW DLLs use traditional 'lib' prefix
19810 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19811 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19812 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
19813 # It is most probably a Windows format PATH printed by
19814 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19815 # path with ; separators, and with drive letters. We can handle the
19816 # drive letters (cygwin fileutils understands them), so leave them,
19817 # especially as we might pass files found there to a mingw objdump,
19818 # which wouldn't understand a cygwinified path. Ahh.
19819 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19821 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19825 # pw32 DLLs use 'pw' prefix rather than 'lib'
19826 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19832 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19835 dynamic_linker
='Win32 ld.exe'
19836 # FIXME: first we should search . and the directory the executable is in
19840 darwin
* | rhapsody
*)
19841 dynamic_linker
="$host_os dyld"
19842 version_type
=darwin
19845 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19846 soname_spec
='${libname}${release}${major}$shared_ext'
19847 shlibpath_overrides_runpath
=yes
19848 shlibpath_var
=DYLD_LIBRARY_PATH
19849 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19850 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19851 if test "$GCC" = yes; then
19852 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
19854 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
19856 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19864 soname_spec
='${libname}${release}${shared_ext}$major'
19865 shlibpath_var
=LD_LIBRARY_PATH
19876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19877 soname_spec
='${libname}${release}${shared_ext}$major'
19878 shlibpath_var
=LD_LIBRARY_PATH
19879 shlibpath_overrides_runpath
=no
19880 hardcode_into_libs
=yes
19881 dynamic_linker
='GNU ld.so'
19884 freebsd
* | dragonfly
*)
19885 # DragonFly does not have aout. When/if they implement a new
19886 # versioning mechanism, adjust this.
19887 if test -x /usr
/bin
/objformat
; then
19888 objformat
=`/usr/bin/objformat`
19891 freebsd
[123]*) objformat
=aout
;;
19892 *) objformat
=elf
;;
19895 version_type
=freebsd-
$objformat
19896 case $version_type in
19898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19903 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19907 shlibpath_var
=LD_LIBRARY_PATH
19910 shlibpath_overrides_runpath
=yes
19912 freebsd3.
[01]* | freebsdelf3.
[01]*)
19913 shlibpath_overrides_runpath
=yes
19914 hardcode_into_libs
=yes
19916 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19917 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19918 shlibpath_overrides_runpath
=no
19919 hardcode_into_libs
=yes
19921 freebsd
*) # from 4.6 on
19922 shlibpath_overrides_runpath
=yes
19923 hardcode_into_libs
=yes
19932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19933 soname_spec
='${libname}${release}${shared_ext}$major'
19934 shlibpath_var
=LD_LIBRARY_PATH
19935 hardcode_into_libs
=yes
19938 hpux9
* | hpux10
* | hpux11
*)
19939 # Give a soname corresponding to the major version so that dld.sl refuses to
19940 # link against other versions.
19947 hardcode_into_libs
=yes
19948 dynamic_linker
="$host_os dld.so"
19949 shlibpath_var
=LD_LIBRARY_PATH
19950 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19952 soname_spec
='${libname}${release}${shared_ext}$major'
19953 if test "X$HPUX_IA64_MODE" = X32
; then
19954 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19956 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19958 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19962 hardcode_into_libs
=yes
19963 dynamic_linker
="$host_os dld.sl"
19964 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19965 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19967 soname_spec
='${libname}${release}${shared_ext}$major'
19968 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19969 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19973 dynamic_linker
="$host_os dld.sl"
19974 shlibpath_var
=SHLIB_PATH
19975 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19977 soname_spec
='${libname}${release}${shared_ext}$major'
19980 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19981 postinstall_cmds
='chmod 555 $lib'
19988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19989 soname_spec
='${libname}${release}${shared_ext}$major'
19990 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19991 shlibpath_var
=LD_LIBRARY_PATH
19992 shlibpath_overrides_runpath
=no
19993 hardcode_into_libs
=yes
19996 irix5
* | irix6
* | nonstopux
*)
19998 nonstopux
*) version_type
=nonstopux
;;
20000 if test "$lt_cv_prog_gnu_ld" = yes; then
20008 soname_spec
='${libname}${release}${shared_ext}$major'
20009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20011 irix5
* | nonstopux
*)
20012 libsuff
= shlibsuff
=
20015 case $LD in # libtool.m4 will add one of these switches to LD
20016 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
20017 libsuff
= shlibsuff
= libmagic
=32-bit;;
20018 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
20019 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
20020 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
20021 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
20022 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
20026 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
20027 shlibpath_overrides_runpath
=no
20028 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20029 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
20030 hardcode_into_libs
=yes
20033 # No shared lib support for Linux oldld, aout, or coff.
20034 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
20038 # This must be Linux ELF.
20043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20044 soname_spec
='${libname}${release}${shared_ext}$major'
20045 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20046 shlibpath_var
=LD_LIBRARY_PATH
20047 shlibpath_overrides_runpath
=no
20048 # This implies no fast_install, which is unacceptable.
20049 # Some rework will be needed to allow for fast_install
20050 # before this can be enabled.
20051 hardcode_into_libs
=yes
20053 # Append ld.so.conf contents to the search path
20054 if test -f /etc
/ld.so.conf
; then
20055 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20056 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
20059 # We used to test for /lib/ld.so.1 and disable shared libraries on
20060 # powerpc, because MkLinux only supported shared libraries with the
20061 # GNU dynamic linker. Since this was broken with cross compilers,
20062 # most powerpc-linux boxes support dynamic linking these days and
20063 # people can always --disable-shared, the test was removed, and we
20064 # assume the GNU/Linux dynamic linker is in use.
20065 dynamic_linker
='GNU/Linux ld.so'
20072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20073 soname_spec
='${libname}${release}${shared_ext}$major'
20074 shlibpath_var
=LD_LIBRARY_PATH
20075 shlibpath_overrides_runpath
=no
20076 hardcode_into_libs
=yes
20077 dynamic_linker
='GNU ld.so'
20084 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
20085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20086 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20087 dynamic_linker
='NetBSD (a.out) ld.so'
20089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20090 soname_spec
='${libname}${release}${shared_ext}$major'
20091 dynamic_linker
='NetBSD ld.elf_so'
20093 shlibpath_var
=LD_LIBRARY_PATH
20094 shlibpath_overrides_runpath
=yes
20095 hardcode_into_libs
=yes
20100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20101 shlibpath_var
=LD_LIBRARY_PATH
20102 shlibpath_overrides_runpath
=yes
20109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20110 soname_spec
='${libname}${release}${shared_ext}$major'
20111 shlibpath_var
=LD_LIBRARY_PATH
20112 shlibpath_overrides_runpath
=yes
20117 sys_lib_dlsearch_path_spec
="/usr/lib"
20119 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20121 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
20122 *) need_version
=no
;;
20124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20125 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20126 shlibpath_var
=LD_LIBRARY_PATH
20127 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20129 openbsd2.
[89] | openbsd2.
[89].
*)
20130 shlibpath_overrides_runpath
=no
20133 shlibpath_overrides_runpath
=yes
20137 shlibpath_overrides_runpath
=yes
20142 libname_spec
='$name'
20145 library_names_spec
='$libname${shared_ext} $libname.a'
20146 dynamic_linker
='OS/2 ld.exe'
20147 shlibpath_var
=LIBPATH
20150 osf3
* | osf4
* | osf5
*)
20154 soname_spec
='${libname}${release}${shared_ext}$major'
20155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20156 shlibpath_var
=LD_LIBRARY_PATH
20157 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20158 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
20165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20166 soname_spec
='${libname}${release}${shared_ext}$major'
20167 shlibpath_var
=LD_LIBRARY_PATH
20168 shlibpath_overrides_runpath
=yes
20169 hardcode_into_libs
=yes
20170 # ldd complains unless libraries are executable
20171 postinstall_cmds
='chmod +x $lib'
20176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20177 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20178 shlibpath_var
=LD_LIBRARY_PATH
20179 shlibpath_overrides_runpath
=yes
20180 if test "$with_gnu_ld" = yes; then
20188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20189 soname_spec
='${libname}${release}${shared_ext}$major'
20190 shlibpath_var
=LD_LIBRARY_PATH
20191 case $host_vendor in
20193 shlibpath_overrides_runpath
=no
20195 export_dynamic_flag_spec
='${wl}-Blargedynsym'
20196 runpath_var
=LD_RUN_PATH
20204 shlibpath_overrides_runpath
=no
20205 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
20211 if test -d /usr
/nec
;then
20213 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20214 soname_spec
='$libname${shared_ext}.$major'
20215 shlibpath_var
=LD_LIBRARY_PATH
20219 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
20220 version_type
=freebsd-elf
20223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20224 soname_spec
='${libname}${release}${shared_ext}$major'
20225 shlibpath_var
=LD_LIBRARY_PATH
20226 hardcode_into_libs
=yes
20227 if test "$with_gnu_ld" = yes; then
20228 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20229 shlibpath_overrides_runpath
=no
20231 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
20232 shlibpath_overrides_runpath
=yes
20235 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
20239 sys_lib_dlsearch_path_spec
='/usr/lib'
20244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20245 soname_spec
='${libname}${release}${shared_ext}$major'
20246 shlibpath_var
=LD_LIBRARY_PATH
20253 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20254 echo "${ECHO_T}$dynamic_linker" >&6; }
20255 test "$dynamic_linker" = no
&& can_build_shared
=no
20257 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
20258 if test "$GCC" = yes; then
20259 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20262 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20263 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20264 hardcode_action_GCJ
=
20265 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20266 test -n "$runpath_var_GCJ" || \
20267 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20269 # We can hardcode non-existant directories.
20270 if test "$hardcode_direct_GCJ" != no
&&
20271 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20272 # have to relink, otherwise we might link with an installed library
20273 # when we should be linking with a yet-to-be-installed one
20274 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20275 test "$hardcode_minus_L_GCJ" != no
; then
20276 # Linking always hardcodes the temporary library directory.
20277 hardcode_action_GCJ
=relink
20279 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20280 hardcode_action_GCJ
=immediate
20283 # We cannot hardcode anything, or else we can only hardcode existing
20285 hardcode_action_GCJ
=unsupported
20287 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20288 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20290 if test "$hardcode_action_GCJ" = relink
; then
20291 # Fast installation is not supported
20292 enable_fast_install
=no
20293 elif test "$shlibpath_overrides_runpath" = yes ||
20294 test "$enable_shared" = no
; then
20295 # Fast installation is not necessary
20296 enable_fast_install
=needless
20300 # The else clause should only fire when bootstrapping the
20301 # libtool distribution, otherwise you forgot to ship ltmain.sh
20302 # with your package, and you will get complaints that there are
20303 # no rules to generate ltmain.sh.
20304 if test -f "$ltmain"; then
20305 # See if we are running on zsh, and set the options which allow our commands through
20306 # without removal of \ escapes.
20307 if test -n "${ZSH_VERSION+set}" ; then
20308 setopt NO_GLOB_SUBST
20310 # Now quote all the things that may contain metacharacters while being
20311 # careful not to overquote the AC_SUBSTed values. We take copies of the
20312 # variables and quote the copies for generation of the libtool script.
20313 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20315 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20316 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20317 deplibs_check_method reload_flag reload_cmds need_locks \
20318 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20319 lt_cv_sys_global_symbol_to_c_name_address \
20320 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20321 old_postinstall_cmds old_postuninstall_cmds \
20325 lt_prog_compiler_wl_GCJ \
20326 lt_prog_compiler_pic_GCJ \
20327 lt_prog_compiler_static_GCJ \
20328 lt_prog_compiler_no_builtin_flag_GCJ \
20329 export_dynamic_flag_spec_GCJ \
20330 thread_safe_flag_spec_GCJ \
20331 whole_archive_flag_spec_GCJ \
20332 enable_shared_with_static_runtimes_GCJ \
20333 old_archive_cmds_GCJ \
20334 old_archive_from_new_cmds_GCJ \
20335 predep_objects_GCJ \
20336 postdep_objects_GCJ \
20339 compiler_lib_search_path_GCJ \
20341 archive_expsym_cmds_GCJ \
20342 postinstall_cmds_GCJ \
20343 postuninstall_cmds_GCJ \
20344 old_archive_from_expsyms_cmds_GCJ \
20345 allow_undefined_flag_GCJ \
20346 no_undefined_flag_GCJ \
20347 export_symbols_cmds_GCJ \
20348 hardcode_libdir_flag_spec_GCJ \
20349 hardcode_libdir_flag_spec_ld_GCJ \
20350 hardcode_libdir_separator_GCJ \
20351 hardcode_automatic_GCJ \
20353 module_expsym_cmds_GCJ \
20354 lt_cv_prog_compiler_c_o_GCJ \
20355 exclude_expsyms_GCJ \
20356 include_expsyms_GCJ
; do
20359 old_archive_cmds_GCJ | \
20360 old_archive_from_new_cmds_GCJ | \
20361 archive_cmds_GCJ | \
20362 archive_expsym_cmds_GCJ | \
20363 module_cmds_GCJ | \
20364 module_expsym_cmds_GCJ | \
20365 old_archive_from_expsyms_cmds_GCJ | \
20366 export_symbols_cmds_GCJ | \
20367 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20368 postinstall_cmds | postuninstall_cmds | \
20369 old_postinstall_cmds | old_postuninstall_cmds | \
20370 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20371 # Double-quote double-evaled strings.
20372 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20375 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20381 *'\$0 --fallback-echo"')
20382 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20388 cat <<__EOF__ >> "$cfgfile"
20389 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20391 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20393 # Shell to use when invoking shell scripts.
20396 # Whether or not to build shared libraries.
20397 build_libtool_libs=$enable_shared
20399 # Whether or not to build static libraries.
20400 build_old_libs=$enable_static
20402 # Whether or not to add -lc for building shared libraries.
20403 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20405 # Whether or not to disallow shared libs when runtime libs are static
20406 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20408 # Whether or not to optimize for fast installation.
20409 fast_install=$enable_fast_install
20412 host_alias=$host_alias
20416 # The build system.
20417 build_alias=$build_alias
20421 # An echo program that does not interpret backslashes.
20426 AR_FLAGS=$lt_AR_FLAGS
20431 # LTCC compiler flags.
20432 LTCFLAGS=$lt_LTCFLAGS
20434 # A language-specific compiler.
20435 CC=$lt_compiler_GCJ
20437 # Is the compiler the GNU C compiler?
20443 # The linker used to build libraries.
20446 # Whether we need hard or soft links.
20449 # A BSD-compatible nm program.
20452 # A symbol stripping program
20455 # Used to examine libraries when file_magic_cmd begins "file"
20456 MAGIC_CMD=$MAGIC_CMD
20458 # Used on cygwin: DLL creation program.
20461 # Used on cygwin: object dumper.
20464 # Used on cygwin: assembler.
20467 # The name of the directory that contains temporary libtool files.
20470 # How to create reloadable object files.
20471 reload_flag=$lt_reload_flag
20472 reload_cmds=$lt_reload_cmds
20474 # How to pass a linker flag through the compiler.
20475 wl=$lt_lt_prog_compiler_wl_GCJ
20477 # Object file suffix (normally "o").
20478 objext="$ac_objext"
20480 # Old archive suffix (normally "a").
20483 # Shared library suffix (normally ".so").
20484 shrext_cmds='$shrext_cmds'
20486 # Executable file suffix (normally "").
20489 # Additional compiler flags for building library objects.
20490 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20493 # What is the maximum length of a command?
20494 max_cmd_len=$lt_cv_sys_max_cmd_len
20496 # Does compiler simultaneously support -c and -o options?
20497 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20499 # Must we lock files when doing compilation?
20500 need_locks=$lt_need_locks
20502 # Do we need the lib prefix for modules?
20503 need_lib_prefix=$need_lib_prefix
20505 # Do we need a version for libraries?
20506 need_version=$need_version
20508 # Whether dlopen is supported.
20509 dlopen_support=$enable_dlopen
20511 # Whether dlopen of programs is supported.
20512 dlopen_self=$enable_dlopen_self
20514 # Whether dlopen of statically linked programs is supported.
20515 dlopen_self_static=$enable_dlopen_self_static
20517 # Compiler flag to prevent dynamic linking.
20518 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20520 # Compiler flag to turn off builtin functions.
20521 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20523 # Compiler flag to allow reflexive dlopens.
20524 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20526 # Compiler flag to generate shared objects directly from archives.
20527 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20529 # Compiler flag to generate thread-safe objects.
20530 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20532 # Library versioning type.
20533 version_type=$version_type
20535 # Format of library name prefix.
20536 libname_spec=$lt_libname_spec
20538 # List of archive names. First name is the real one, the rest are links.
20539 # The last name is the one that the linker finds with -lNAME.
20540 library_names_spec=$lt_library_names_spec
20542 # The coded name of the library, if different from the real name.
20543 soname_spec=$lt_soname_spec
20545 # Commands used to build and install an old-style archive.
20547 old_archive_cmds=$lt_old_archive_cmds_GCJ
20548 old_postinstall_cmds=$lt_old_postinstall_cmds
20549 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20551 # Create an old-style archive from a shared archive.
20552 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20554 # Create a temporary old-style archive to link instead of a shared archive.
20555 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20557 # Commands used to build and install a shared archive.
20558 archive_cmds=$lt_archive_cmds_GCJ
20559 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20560 postinstall_cmds=$lt_postinstall_cmds
20561 postuninstall_cmds=$lt_postuninstall_cmds
20563 # Commands used to build a loadable module (assumed same as above if empty)
20564 module_cmds=$lt_module_cmds_GCJ
20565 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20567 # Commands to strip libraries.
20568 old_striplib=$lt_old_striplib
20569 striplib=$lt_striplib
20571 # Dependencies to place before the objects being linked to create a
20573 predep_objects=$lt_predep_objects_GCJ
20575 # Dependencies to place after the objects being linked to create a
20577 postdep_objects=$lt_postdep_objects_GCJ
20579 # Dependencies to place before the objects being linked to create a
20581 predeps=$lt_predeps_GCJ
20583 # Dependencies to place after the objects being linked to create a
20585 postdeps=$lt_postdeps_GCJ
20587 # The library search path used internally by the compiler when linking
20588 # a shared library.
20589 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20591 # Method to check whether dependent libraries are shared objects.
20592 deplibs_check_method=$lt_deplibs_check_method
20594 # Command to use when deplibs_check_method == file_magic.
20595 file_magic_cmd=$lt_file_magic_cmd
20597 # Flag that allows shared libraries with undefined symbols to be built.
20598 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20600 # Flag that forces no undefined symbols.
20601 no_undefined_flag=$lt_no_undefined_flag_GCJ
20603 # Commands used to finish a libtool library installation in a directory.
20604 finish_cmds=$lt_finish_cmds
20606 # Same as above, but a single script fragment to be evaled but not shown.
20607 finish_eval=$lt_finish_eval
20609 # Take the output of nm and produce a listing of raw symbols and C names.
20610 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20612 # Transform the output of nm in a proper C declaration
20613 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20615 # Transform the output of nm in a C name address pair
20616 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20618 # This is the shared library runtime path variable.
20619 runpath_var=$runpath_var
20621 # This is the shared library path variable.
20622 shlibpath_var=$shlibpath_var
20624 # Is shlibpath searched before the hard-coded library search path?
20625 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20627 # How to hardcode a shared library path into an executable.
20628 hardcode_action=$hardcode_action_GCJ
20630 # Whether we should hardcode library paths into libraries.
20631 hardcode_into_libs=$hardcode_into_libs
20633 # Flag to hardcode \$libdir into a binary during linking.
20634 # This must work even if \$libdir does not exist.
20635 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20637 # If ld is used when linking, flag to hardcode \$libdir into
20638 # a binary during linking. This must work even if \$libdir does
20640 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20642 # Whether we need a single -rpath flag with a separated argument.
20643 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20645 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20646 # resulting binary.
20647 hardcode_direct=$hardcode_direct_GCJ
20649 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20650 # resulting binary.
20651 hardcode_minus_L=$hardcode_minus_L_GCJ
20653 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20654 # the resulting binary.
20655 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20657 # Set to yes if building a shared library automatically hardcodes DIR into the library
20658 # and all subsequent libraries and executables linked against it.
20659 hardcode_automatic=$hardcode_automatic_GCJ
20661 # Variables whose values should be saved in libtool wrapper scripts and
20662 # restored at relink time.
20663 variables_saved_for_relink="$variables_saved_for_relink"
20665 # Whether libtool must link a program against all its dependency libraries.
20666 link_all_deplibs=$link_all_deplibs_GCJ
20668 # Compile-time system search path for libraries
20669 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20671 # Run-time system search path for libraries
20672 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20674 # Fix the shell variable \$srcfile for the compiler.
20675 fix_srcfile_path="$fix_srcfile_path_GCJ"
20677 # Set to yes if exported symbols are required.
20678 always_export_symbols=$always_export_symbols_GCJ
20680 # The commands to list exported symbols.
20681 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20683 # The commands to extract the exported symbol list from a shared archive.
20684 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20686 # Symbols that should not be listed in the preloaded symbols.
20687 exclude_expsyms=$lt_exclude_expsyms_GCJ
20689 # Symbols that must always be exported.
20690 include_expsyms=$lt_include_expsyms_GCJ
20692 # ### END LIBTOOL TAG CONFIG: $tagname
20698 # If there is no Makefile yet, we rely on a make rule to execute
20699 # `config.status --recheck' to rerun these tests and create the
20700 # libtool script then.
20701 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20702 if test -f "$ltmain_in"; then
20703 test -f Makefile
&& make "$ltmain"
20709 ac_cpp
='$CPP $CPPFLAGS'
20710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20724 # Source file extension for RC test sources.
20727 # Object file extension for compiled RC test sources.
20731 # Code to be used in simple compile tests
20732 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
20734 # Code to be used in simple link tests
20735 lt_simple_link_test_code
="$lt_simple_compile_test_code"
20737 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20739 # If no C compiler was specified, use CC.
20742 # If no C compiler flags were specified, use CFLAGS.
20743 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
20745 # Allow CC to be a program name with arguments.
20749 # save warnings/boilerplate of simple test code
20750 ac_outfile
=conftest.
$ac_objext
20751 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
20752 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20753 _lt_compiler_boilerplate
=`cat conftest.err`
20756 ac_outfile
=conftest.
$ac_objext
20757 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
20758 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
20759 _lt_linker_boilerplate
=`cat conftest.err`
20763 # Allow CC to be a program name with arguments.
20768 for cc_temp
in $compiler""; do
20770 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
20771 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
20776 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20778 lt_cv_prog_compiler_c_o_RC
=yes
20780 # The else clause should only fire when bootstrapping the
20781 # libtool distribution, otherwise you forgot to ship ltmain.sh
20782 # with your package, and you will get complaints that there are
20783 # no rules to generate ltmain.sh.
20784 if test -f "$ltmain"; then
20785 # See if we are running on zsh, and set the options which allow our commands through
20786 # without removal of \ escapes.
20787 if test -n "${ZSH_VERSION+set}" ; then
20788 setopt NO_GLOB_SUBST
20790 # Now quote all the things that may contain metacharacters while being
20791 # careful not to overquote the AC_SUBSTed values. We take copies of the
20792 # variables and quote the copies for generation of the libtool script.
20793 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20795 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20796 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20797 deplibs_check_method reload_flag reload_cmds need_locks \
20798 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20799 lt_cv_sys_global_symbol_to_c_name_address \
20800 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20801 old_postinstall_cmds old_postuninstall_cmds \
20805 lt_prog_compiler_wl_RC \
20806 lt_prog_compiler_pic_RC \
20807 lt_prog_compiler_static_RC \
20808 lt_prog_compiler_no_builtin_flag_RC \
20809 export_dynamic_flag_spec_RC \
20810 thread_safe_flag_spec_RC \
20811 whole_archive_flag_spec_RC \
20812 enable_shared_with_static_runtimes_RC \
20813 old_archive_cmds_RC \
20814 old_archive_from_new_cmds_RC \
20815 predep_objects_RC \
20816 postdep_objects_RC \
20819 compiler_lib_search_path_RC \
20821 archive_expsym_cmds_RC \
20822 postinstall_cmds_RC \
20823 postuninstall_cmds_RC \
20824 old_archive_from_expsyms_cmds_RC \
20825 allow_undefined_flag_RC \
20826 no_undefined_flag_RC \
20827 export_symbols_cmds_RC \
20828 hardcode_libdir_flag_spec_RC \
20829 hardcode_libdir_flag_spec_ld_RC \
20830 hardcode_libdir_separator_RC \
20831 hardcode_automatic_RC \
20833 module_expsym_cmds_RC \
20834 lt_cv_prog_compiler_c_o_RC \
20835 exclude_expsyms_RC \
20836 include_expsyms_RC
; do
20839 old_archive_cmds_RC | \
20840 old_archive_from_new_cmds_RC | \
20841 archive_cmds_RC | \
20842 archive_expsym_cmds_RC | \
20844 module_expsym_cmds_RC | \
20845 old_archive_from_expsyms_cmds_RC | \
20846 export_symbols_cmds_RC | \
20847 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20848 postinstall_cmds | postuninstall_cmds | \
20849 old_postinstall_cmds | old_postuninstall_cmds | \
20850 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20851 # Double-quote double-evaled strings.
20852 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20855 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20861 *'\$0 --fallback-echo"')
20862 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20868 cat <<__EOF__ >> "$cfgfile"
20869 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20871 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20873 # Shell to use when invoking shell scripts.
20876 # Whether or not to build shared libraries.
20877 build_libtool_libs=$enable_shared
20879 # Whether or not to build static libraries.
20880 build_old_libs=$enable_static
20882 # Whether or not to add -lc for building shared libraries.
20883 build_libtool_need_lc=$archive_cmds_need_lc_RC
20885 # Whether or not to disallow shared libs when runtime libs are static
20886 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20888 # Whether or not to optimize for fast installation.
20889 fast_install=$enable_fast_install
20892 host_alias=$host_alias
20896 # The build system.
20897 build_alias=$build_alias
20901 # An echo program that does not interpret backslashes.
20906 AR_FLAGS=$lt_AR_FLAGS
20911 # LTCC compiler flags.
20912 LTCFLAGS=$lt_LTCFLAGS
20914 # A language-specific compiler.
20917 # Is the compiler the GNU C compiler?
20923 # The linker used to build libraries.
20926 # Whether we need hard or soft links.
20929 # A BSD-compatible nm program.
20932 # A symbol stripping program
20935 # Used to examine libraries when file_magic_cmd begins "file"
20936 MAGIC_CMD=$MAGIC_CMD
20938 # Used on cygwin: DLL creation program.
20941 # Used on cygwin: object dumper.
20944 # Used on cygwin: assembler.
20947 # The name of the directory that contains temporary libtool files.
20950 # How to create reloadable object files.
20951 reload_flag=$lt_reload_flag
20952 reload_cmds=$lt_reload_cmds
20954 # How to pass a linker flag through the compiler.
20955 wl=$lt_lt_prog_compiler_wl_RC
20957 # Object file suffix (normally "o").
20958 objext="$ac_objext"
20960 # Old archive suffix (normally "a").
20963 # Shared library suffix (normally ".so").
20964 shrext_cmds='$shrext_cmds'
20966 # Executable file suffix (normally "").
20969 # Additional compiler flags for building library objects.
20970 pic_flag=$lt_lt_prog_compiler_pic_RC
20973 # What is the maximum length of a command?
20974 max_cmd_len=$lt_cv_sys_max_cmd_len
20976 # Does compiler simultaneously support -c and -o options?
20977 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20979 # Must we lock files when doing compilation?
20980 need_locks=$lt_need_locks
20982 # Do we need the lib prefix for modules?
20983 need_lib_prefix=$need_lib_prefix
20985 # Do we need a version for libraries?
20986 need_version=$need_version
20988 # Whether dlopen is supported.
20989 dlopen_support=$enable_dlopen
20991 # Whether dlopen of programs is supported.
20992 dlopen_self=$enable_dlopen_self
20994 # Whether dlopen of statically linked programs is supported.
20995 dlopen_self_static=$enable_dlopen_self_static
20997 # Compiler flag to prevent dynamic linking.
20998 link_static_flag=$lt_lt_prog_compiler_static_RC
21000 # Compiler flag to turn off builtin functions.
21001 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21003 # Compiler flag to allow reflexive dlopens.
21004 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21006 # Compiler flag to generate shared objects directly from archives.
21007 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21009 # Compiler flag to generate thread-safe objects.
21010 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21012 # Library versioning type.
21013 version_type=$version_type
21015 # Format of library name prefix.
21016 libname_spec=$lt_libname_spec
21018 # List of archive names. First name is the real one, the rest are links.
21019 # The last name is the one that the linker finds with -lNAME.
21020 library_names_spec=$lt_library_names_spec
21022 # The coded name of the library, if different from the real name.
21023 soname_spec=$lt_soname_spec
21025 # Commands used to build and install an old-style archive.
21027 old_archive_cmds=$lt_old_archive_cmds_RC
21028 old_postinstall_cmds=$lt_old_postinstall_cmds
21029 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21031 # Create an old-style archive from a shared archive.
21032 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21034 # Create a temporary old-style archive to link instead of a shared archive.
21035 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21037 # Commands used to build and install a shared archive.
21038 archive_cmds=$lt_archive_cmds_RC
21039 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21040 postinstall_cmds=$lt_postinstall_cmds
21041 postuninstall_cmds=$lt_postuninstall_cmds
21043 # Commands used to build a loadable module (assumed same as above if empty)
21044 module_cmds=$lt_module_cmds_RC
21045 module_expsym_cmds=$lt_module_expsym_cmds_RC
21047 # Commands to strip libraries.
21048 old_striplib=$lt_old_striplib
21049 striplib=$lt_striplib
21051 # Dependencies to place before the objects being linked to create a
21053 predep_objects=$lt_predep_objects_RC
21055 # Dependencies to place after the objects being linked to create a
21057 postdep_objects=$lt_postdep_objects_RC
21059 # Dependencies to place before the objects being linked to create a
21061 predeps=$lt_predeps_RC
21063 # Dependencies to place after the objects being linked to create a
21065 postdeps=$lt_postdeps_RC
21067 # The library search path used internally by the compiler when linking
21068 # a shared library.
21069 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21071 # Method to check whether dependent libraries are shared objects.
21072 deplibs_check_method=$lt_deplibs_check_method
21074 # Command to use when deplibs_check_method == file_magic.
21075 file_magic_cmd=$lt_file_magic_cmd
21077 # Flag that allows shared libraries with undefined symbols to be built.
21078 allow_undefined_flag=$lt_allow_undefined_flag_RC
21080 # Flag that forces no undefined symbols.
21081 no_undefined_flag=$lt_no_undefined_flag_RC
21083 # Commands used to finish a libtool library installation in a directory.
21084 finish_cmds=$lt_finish_cmds
21086 # Same as above, but a single script fragment to be evaled but not shown.
21087 finish_eval=$lt_finish_eval
21089 # Take the output of nm and produce a listing of raw symbols and C names.
21090 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21092 # Transform the output of nm in a proper C declaration
21093 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21095 # Transform the output of nm in a C name address pair
21096 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21098 # This is the shared library runtime path variable.
21099 runpath_var=$runpath_var
21101 # This is the shared library path variable.
21102 shlibpath_var=$shlibpath_var
21104 # Is shlibpath searched before the hard-coded library search path?
21105 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21107 # How to hardcode a shared library path into an executable.
21108 hardcode_action=$hardcode_action_RC
21110 # Whether we should hardcode library paths into libraries.
21111 hardcode_into_libs=$hardcode_into_libs
21113 # Flag to hardcode \$libdir into a binary during linking.
21114 # This must work even if \$libdir does not exist.
21115 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21117 # If ld is used when linking, flag to hardcode \$libdir into
21118 # a binary during linking. This must work even if \$libdir does
21120 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21122 # Whether we need a single -rpath flag with a separated argument.
21123 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21125 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21126 # resulting binary.
21127 hardcode_direct=$hardcode_direct_RC
21129 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21130 # resulting binary.
21131 hardcode_minus_L=$hardcode_minus_L_RC
21133 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21134 # the resulting binary.
21135 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21137 # Set to yes if building a shared library automatically hardcodes DIR into the library
21138 # and all subsequent libraries and executables linked against it.
21139 hardcode_automatic=$hardcode_automatic_RC
21141 # Variables whose values should be saved in libtool wrapper scripts and
21142 # restored at relink time.
21143 variables_saved_for_relink="$variables_saved_for_relink"
21145 # Whether libtool must link a program against all its dependency libraries.
21146 link_all_deplibs=$link_all_deplibs_RC
21148 # Compile-time system search path for libraries
21149 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21151 # Run-time system search path for libraries
21152 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21154 # Fix the shell variable \$srcfile for the compiler.
21155 fix_srcfile_path="$fix_srcfile_path_RC"
21157 # Set to yes if exported symbols are required.
21158 always_export_symbols=$always_export_symbols_RC
21160 # The commands to list exported symbols.
21161 export_symbols_cmds=$lt_export_symbols_cmds_RC
21163 # The commands to extract the exported symbol list from a shared archive.
21164 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21166 # Symbols that should not be listed in the preloaded symbols.
21167 exclude_expsyms=$lt_exclude_expsyms_RC
21169 # Symbols that must always be exported.
21170 include_expsyms=$lt_include_expsyms_RC
21172 # ### END LIBTOOL TAG CONFIG: $tagname
21178 # If there is no Makefile yet, we rely on a make rule to execute
21179 # `config.status --recheck' to rerun these tests and create the
21180 # libtool script then.
21181 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21182 if test -f "$ltmain_in"; then
21183 test -f Makefile
&& make "$ltmain"
21189 ac_cpp
='$CPP $CPPFLAGS'
21190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21199 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21200 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21201 { (exit 1); exit 1; }; }
21205 # Append the new tag name to the list of available tags.
21206 if test -n "$tagname" ; then
21207 available_tags
="$available_tags $tagname"
21213 # Now substitute the updated list of available tags.
21214 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21215 mv "${ofile}T" "$ofile"
21219 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21220 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21221 { (exit 1); exit 1; }; }
21227 # This can be used to rebuild libtool when needed
21228 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
21230 # Always use our own libtool.
21231 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
21233 # Prevent multiple expansion
21256 # Check for AViiON Machines running DGUX
21259 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
21260 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
21261 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; }
21262 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
21263 echo $ECHO_N "(cached) $ECHO_C" >&6
21265 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
21266 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; }
21268 # Is the header compilable?
21269 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
21270 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6; }
21271 cat >conftest.
$ac_ext <<_ACEOF
21274 cat confdefs.h
>>conftest.
$ac_ext
21275 cat >>conftest.
$ac_ext <<_ACEOF
21276 /* end confdefs.h. */
21277 $ac_includes_default
21278 #include <sys/dg_sys_info.h>
21280 rm -f conftest.
$ac_objext
21281 if { (ac_try
="$ac_compile"
21282 case "(($ac_try" in
21283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_compile") 2>conftest.er1
21289 grep -v '^ *+' conftest.er1 >conftest.err
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } && {
21294 test -z "$ac_c_werror_flag" ||
21295 test ! -s conftest.err
21296 } && test -s conftest.$ac_objext; then
21297 ac_header_compiler=yes
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21302 ac_header_compiler=no
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21306 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21307 echo "${ECHO_T}$ac_header_compiler" >&6; }
21309 # Is the header present?
21310 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
21311 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6; }
21312 cat >conftest.$ac_ext <<_ACEOF
21315 cat confdefs.h >>conftest.$ac_ext
21316 cat >>conftest.$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 #include <sys/dg_sys_info.h>
21320 if { (ac_try="$ac_cpp conftest.$ac_ext"
21321 case "(($ac_try" in
21322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21323 *) ac_try_echo
=$ac_try;;
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21328 grep -v '^ *+' conftest.er1
>conftest.err
21330 cat conftest.err
>&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } >/dev
/null
&& {
21333 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21334 test ! -s conftest.err
21336 ac_header_preproc
=yes
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.
$ac_ext >&5
21341 ac_header_preproc
=no
21344 rm -f conftest.err conftest.
$ac_ext
21345 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21346 echo "${ECHO_T}$ac_header_preproc" >&6; }
21348 # So? What about this header?
21349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21351 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
21352 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21353 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
21354 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
21355 ac_header_preproc
=yes
21358 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
21359 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
21360 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
21361 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
21362 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
21363 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
21364 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
21365 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
21366 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
21367 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
21368 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
21369 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
21371 ## -------------------------------- ##
21372 ## Report this to Hans.Boehm@hp.com ##
21373 ## -------------------------------- ##
21375 ) |
sed "s/^/$as_me: WARNING: /" >&2
21378 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
21379 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; }
21380 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
21381 echo $ECHO_N "(cached) $ECHO_C" >&6
21383 ac_cv_header_sys_dg_sys_info_h
=$ac_header_preproc
21385 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
21386 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; }
21389 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
21395 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
21396 if test $ac_is_dgux = yes; then
21397 if test "$enable_full_debug" = "yes"; then
21398 CFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
21399 CXXFLAGS
="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
21401 CFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
21402 CXXFLAGS
="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
21409 # Check whether --with-target-subdir was given.
21410 if test "${with_target_subdir+set}" = set; then
21411 withval
=$with_target_subdir;
21415 # Check whether --with-cross-host was given.
21416 if test "${with_cross_host+set}" = set; then
21417 withval
=$with_cross_host;
21421 # automake wants to see AC_EXEEXT. But we don't need it. And having
21422 # it is actually a problem, because the compiler we're passed can't
21423 # necessarily do a full link. So we fool automake here.
21425 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
21426 # to nothing, so nothing would remain between `then' and `fi' if it
21427 # were not for the `:' below.
21432 { echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
21433 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6; }
21436 if test "$GCC" = yes; then
21437 { echo "$as_me:$LINENO: result: yes" >&5
21438 echo "${ECHO_T}yes" >&6; }
21440 for i
in $CFLAGS; do
21445 new_CFLAGS
="$new_CFLAGS $i"
21449 CFLAGS
="$new_CFLAGS"
21451 { echo "$as_me:$LINENO: result: no" >&5
21452 echo "${ECHO_T}no" >&6; }
21455 *) { echo "$as_me:$LINENO: result: no" >&5
21456 echo "${ECHO_T}no" >&6; } ;;
21459 cat >>confdefs.h
<<\_ACEOF
21460 #define NO_EXECUTE_PERMISSION 1
21463 cat >>confdefs.h
<<\_ACEOF
21464 #define ALL_INTERIOR_POINTERS 1
21469 # Check whether --enable-gcj-support was given.
21470 if test "${enable_gcj_support+set}" = set; then
21471 enableval
=$enable_gcj_support;
21476 if test x
"$enable_gcj_support" != xno
; then
21477 ENABLE_GCJ_SUPPORT_TRUE
=
21478 ENABLE_GCJ_SUPPORT_FALSE
='#'
21480 ENABLE_GCJ_SUPPORT_TRUE
='#'
21481 ENABLE_GCJ_SUPPORT_FALSE
=
21484 if test x
"$enable_gcj_support" != xno
; then
21486 cat >>confdefs.h
<<\_ACEOF
21487 #define GC_GCJ_SUPPORT 1
21492 # Check whether --enable-java-finalization was given.
21493 if test "${enable_java_finalization+set}" = set; then
21494 enableval
=$enable_java_finalization;
21497 if test x
"$enable_java_finalization" != xno
; then
21498 cat >>confdefs.h
<<\_ACEOF
21499 #define JAVA_FINALIZATION 1
21504 # Check whether --enable-atomic-uncollectable was given.
21505 if test "${enable_atomic_uncollectable+set}" = set; then
21506 enableval
=$enable_atomic_uncollectable;
21509 if test x
"$enable_atomic_uncollectible" != x
"no"; then
21511 cat >>confdefs.h
<<\_ACEOF
21512 #define ATOMIC_UNCOLLECTABLE 1
21517 # Check whether --enable-redirect-malloc was given.
21518 if test "${enable_redirect_malloc+set}" = set; then
21519 enableval
=$enable_redirect_malloc;
21523 if test "${enable_redirect_malloc}" = yes; then
21524 if test "${enable_full_debug}" = yes; then
21525 cat >>confdefs.h
<<\_ACEOF
21526 #define REDIRECT_MALLOC GC_debug_malloc_replacement
21529 cat >>confdefs.h
<<\_ACEOF
21530 #define REDIRECT_REALLOC GC_debug_realloc_replacement
21533 cat >>confdefs.h
<<\_ACEOF
21534 #define REDIRECT_FREE GC_debug_free
21538 cat >>confdefs.h
<<\_ACEOF
21539 #define REDIRECT_MALLOC GC_malloc
21545 # Check whether --enable-large-config was given.
21546 if test "${enable_large_config+set}" = set; then
21547 enableval
=$enable_large_config;
21551 if test "${enable_large_config}" = yes; then
21553 cat >>confdefs.h
<<\_ACEOF
21554 #define LARGE_CONFIG 1
21559 if test -n "${with_cross_host}"; then
21560 cat >>confdefs.h
<<\_ACEOF
21564 cat >>confdefs.h
<<\_ACEOF
21565 #define SMALL_CONFIG 1
21568 cat >>confdefs.h
<<\_ACEOF
21569 #define NO_DEBUGGING 1
21577 # Check whether --enable-gc-debug was given.
21578 if test "${enable_gc_debug+set}" = set; then
21579 enableval
=$enable_gc_debug; if test "$enable_gc_debug" = "yes"; then
21580 { echo "$as_me:$LINENO: WARNING: \"Should define GC_DEBUG and use debug alloc. in clients.\"" >&5
21581 echo "$as_me: WARNING: \"Should define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
21582 cat >>confdefs.h
<<\_ACEOF
21583 #define KEEP_BACK_PTRS 1
21586 cat >>confdefs.h
<<\_ACEOF
21587 #define DBG_HDRS_ALL 1
21592 cat >>confdefs.h
<<\_ACEOF
21593 #define MAKE_BACK_GRAPH 1
21596 cat >>confdefs.h
<<\_ACEOF
21597 #define SAVE_CALL_COUNT 8
21600 { echo "$as_me:$LINENO: checking for backtrace in -lunwind" >&5
21601 echo $ECHO_N "checking for backtrace in -lunwind... $ECHO_C" >&6; }
21602 if test "${ac_cv_lib_unwind_backtrace+set}" = set; then
21603 echo $ECHO_N "(cached) $ECHO_C" >&6
21605 ac_check_lib_save_LIBS
=$LIBS
21606 LIBS
="-lunwind $LIBS"
21607 cat >conftest.
$ac_ext <<_ACEOF
21610 cat confdefs.h
>>conftest.
$ac_ext
21611 cat >>conftest.
$ac_ext <<_ACEOF
21612 /* end confdefs.h. */
21614 /* Override any GCC internal prototype to avoid an error.
21615 Use char because int might match the return type of a GCC
21616 builtin and then its argument prototype would still apply. */
21624 return backtrace ();
21629 rm -f conftest.
$ac_objext conftest
$ac_exeext
21630 if { (ac_try
="$ac_link"
21631 case "(($ac_try" in
21632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21633 *) ac_try_echo=$ac_try;;
21635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21636 (eval "$ac_link") 2>conftest.er1
21638 grep -v '^ *+' conftest.er1 >conftest.err
21640 cat conftest.err >&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } && {
21643 test -z "$ac_c_werror_flag" ||
21644 test ! -s conftest.err
21645 } && test -s conftest$ac_exeext &&
21646 $as_test_x conftest$ac_exeext; then
21647 ac_cv_lib_unwind_backtrace=yes
21649 echo "$as_me: failed program was:" >&5
21650 sed 's/^/| /' conftest.$ac_ext >&5
21652 ac_cv_lib_unwind_backtrace=no
21655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21656 conftest$ac_exeext conftest.$ac_ext
21657 LIBS=$ac_check_lib_save_LIBS
21659 { echo "$as_me:$LINENO: result: $ac_cv_lib_unwind_backtrace" >&5
21660 echo "${ECHO_T}$ac_cv_lib_unwind_backtrace" >&6; }
21661 if test $ac_cv_lib_unwind_backtrace = yes; then
21663 cat >>confdefs.h <<\_ACEOF
21664 #define GC_HAVE_BUILTIN_BACKTRACE 1
21667 UNWINDLIBS=-lunwind
21668 { echo "$as_me:$LINENO: WARNING: \"Client code may need to link against libunwind.\"" >&5
21669 echo "$as_me: WARNING: \"Client code may need to link against libunwind.\"" >&2;}
21674 x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
21675 cat >>confdefs.h <<\_ACEOF
21676 #define MAKE_BACK_GRAPH 1
21679 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
21680 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
21681 cat >>confdefs.h <<\_ACEOF
21682 #define SAVE_CALL_COUNT 8
21687 cat >>confdefs.h <<\_ACEOF
21688 #define MAKE_BACK_GRAPH 1
21699 # Check whether --enable-gc-assertions was given.
21700 if test "${enable_gc_assertions+set}" = set; then
21701 enableval=$enable_gc_assertions;
21704 if test "${enable_gc_assertions}" = yes; then
21705 cat >>confdefs.h <<\_ACEOF
21706 #define GC_ASSERTIONS 1
21713 if test -z "$with_cross_host"; then
21715 USE_LIBDIR_FALSE='#'
21717 USE_LIBDIR_TRUE='#'
21724 atomic_ops_libs=-latomic_ops
21725 if test "${ac_cv_header_atomic_ops_h+set}" = set; then
21726 { echo "$as_me:$LINENO: checking for atomic_ops.h" >&5
21727 echo $ECHO_N "checking for atomic_ops.h... $ECHO_C" >&6; }
21728 if test "${ac_cv_header_atomic_ops_h+set}" = set; then
21729 echo $ECHO_N "(cached) $ECHO_C" >&6
21731 { echo "$as_me:$LINENO: result: $ac_cv_header_atomic_ops_h" >&5
21732 echo "${ECHO_T}$ac_cv_header_atomic_ops_h" >&6; }
21734 # Is the header compilable?
21735 { echo "$as_me:$LINENO: checking atomic_ops.h usability" >&5
21736 echo $ECHO_N "checking atomic_ops.h usability... $ECHO_C" >&6; }
21737 cat >conftest.$ac_ext <<_ACEOF
21740 cat confdefs.h >>conftest.$ac_ext
21741 cat >>conftest.$ac_ext <<_ACEOF
21742 /* end confdefs.h. */
21743 $ac_includes_default
21744 #include <atomic_ops.h>
21746 rm -f conftest.$ac_objext
21747 if { (ac_try="$ac_compile"
21748 case "(($ac_try" in
21749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21750 *) ac_try_echo
=$ac_try;;
21752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21753 (eval "$ac_compile") 2>conftest.er1
21755 grep -v '^ *+' conftest.er1
>conftest.err
21757 cat conftest.err
>&5
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); } && {
21760 test -z "$ac_c_werror_flag" ||
21761 test ! -s conftest.err
21762 } && test -s conftest.
$ac_objext; then
21763 ac_header_compiler
=yes
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.
$ac_ext >&5
21768 ac_header_compiler
=no
21771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21772 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21773 echo "${ECHO_T}$ac_header_compiler" >&6; }
21775 # Is the header present?
21776 { echo "$as_me:$LINENO: checking atomic_ops.h presence" >&5
21777 echo $ECHO_N "checking atomic_ops.h presence... $ECHO_C" >&6; }
21778 cat >conftest.
$ac_ext <<_ACEOF
21781 cat confdefs.h
>>conftest.
$ac_ext
21782 cat >>conftest.
$ac_ext <<_ACEOF
21783 /* end confdefs.h. */
21784 #include <atomic_ops.h>
21786 if { (ac_try
="$ac_cpp conftest.$ac_ext"
21787 case "(($ac_try" in
21788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21789 *) ac_try_echo=$ac_try;;
21791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21794 grep -v '^ *+' conftest.er1 >conftest.err
21796 cat conftest.err >&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); } >/dev/null && {
21799 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21800 test ! -s conftest.err
21802 ac_header_preproc=yes
21804 echo "$as_me: failed program was:" >&5
21805 sed 's/^/| /' conftest.$ac_ext >&5
21807 ac_header_preproc=no
21810 rm -f conftest.err conftest.$ac_ext
21811 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21812 echo "${ECHO_T}$ac_header_preproc" >&6; }
21814 # So? What about this header?
21815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21817 { echo "$as_me:$LINENO: WARNING: atomic_ops.h: accepted by the compiler, rejected by the preprocessor!" >&5
21818 echo "$as_me: WARNING: atomic_ops.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21819 { echo "$as_me:$LINENO: WARNING: atomic_ops.h: proceeding with the compiler's result" >&5
21820 echo "$as_me: WARNING: atomic_ops.h: proceeding with the compiler's result" >&2;}
21821 ac_header_preproc=yes
21824 { echo "$as_me:$LINENO: WARNING: atomic_ops.h: present but cannot be compiled" >&5
21825 echo "$as_me: WARNING: atomic_ops.h: present but cannot be compiled" >&2;}
21826 { echo "$as_me:$LINENO: WARNING: atomic_ops.h: check for missing prerequisite headers?" >&5
21827 echo "$as_me: WARNING: atomic_ops.h: check for missing prerequisite headers?" >&2;}
21828 { echo "$as_me:$LINENO: WARNING: atomic_ops.h: see the Autoconf documentation" >&5
21829 echo "$as_me: WARNING: atomic_ops.h: see the Autoconf documentation" >&2;}
21830 { echo "$as_me:$LINENO: WARNING: atomic_ops.h: section \"Present But Cannot Be Compiled\"" >&5
21831 echo "$as_me: WARNING: atomic_ops.h: section \"Present But Cannot Be Compiled\"" >&2;}
21832 { echo "$as_me:$LINENO: WARNING: atomic_ops.h: proceeding with the preprocessor's result" >&5
21833 echo "$as_me: WARNING: atomic_ops.h: proceeding with the preprocessor's result" >&2;}
21834 { echo "$as_me:$LINENO: WARNING: atomic_ops.h: in the future, the compiler will take precedence" >&5
21835 echo "$as_me: WARNING: atomic_ops.h: in the future, the compiler will take precedence" >&2;}
21837 ## -------------------------------- ##
21838 ## Report this to Hans.Boehm@hp.com ##
21839 ## -------------------------------- ##
21841 ) | sed "s/^/$as_me: WARNING: /" >&2
21844 { echo "$as_me:$LINENO: checking for atomic_ops.h" >&5
21845 echo $ECHO_N "checking for atomic_ops.h... $ECHO_C" >&6; }
21846 if test "${ac_cv_header_atomic_ops_h+set}" = set; then
21847 echo $ECHO_N "(cached) $ECHO_C" >&6
21849 ac_cv_header_atomic_ops_h=$ac_header_preproc
21851 { echo "$as_me:$LINENO: result: $ac_cv_header_atomic_ops_h" >&5
21852 echo "${ECHO_T}$ac_cv_header_atomic_ops_h" >&6; }
21855 if test $ac_cv_header_atomic_ops_h = yes; then
21856 { echo "$as_me:$LINENO: Using pre-installed libatomic_ops" >&5
21857 echo "$as_me: Using pre-installed libatomic_ops" >&6;}
21860 for candidate in ${srcdir}/libatomic_ops*; do
21867 if test -e "$candidate"; then
21868 ao_dir="$candidate"
21873 if test -z "$ao_dir"; then
21874 { { echo "$as_me:$LINENO: error: Missig libatomic_ops." >&5
21875 echo "$as_me: error: Missig libatomic_ops." >&2;}
21876 { (exit 1); exit 1; }; }
21878 ao_version="${ao_dir#*libatomic_ops-}"
21879 { echo "$as_me:$LINENO: Using internal version of libatomic_ops" >&5
21880 echo "$as_me: Using internal version of libatomic_ops" >&6;}
21882 test -e ${srcdir}/libatomic_ops \
21883 || ln -s ${ao_dir} ${srcdir}/libatomic_ops
21884 subdirs="$subdirs libatomic_ops"
21887 test -e ${srcdir}/atomic_ops.c \
21888 || ln -s ${srcdir}/libatomic_ops/src/atomic_ops.c \
21889 ${srcdir}/atomic_ops.c
21891 test -e ${srcdir}/atomic_ops_sysdeps.S \
21892 || ln -s ${srcdir}/libatomic_ops/src/atomic_ops_sysdeps.S \
21893 ${srcdir}/atomic_ops_sysdeps.S
21895 GC_CFLAGS="${GC_CFLAGS} -I \$(top_srcdir)/libatomic_ops/src"
21896 maybe_libatomic_ops="libatomic_ops"
21904 if test -n "$maybe_libatomic_ops" -a "$THREADS" != "none"; then
21905 USE_INTERNAL_LIBATOMIC_OPS_TRUE=
21906 USE_INTERNAL_LIBATOMIC_OPS_FALSE='#'
21908 USE_INTERNAL_LIBATOMIC_OPS_TRUE='#'
21909 USE_INTERNAL_LIBATOMIC_OPS_FALSE=
21914 if test -n "$maybe_libatomic_ops" -a x$need_atomic_ops_asm = xtrue; then
21915 NEED_ATOMIC_OPS_ASM_TRUE=
21916 NEED_ATOMIC_OPS_ASM_FALSE='#'
21918 NEED_ATOMIC_OPS_ASM_TRUE='#'
21919 NEED_ATOMIC_OPS_ASM_FALSE=
21925 ac_config_files="$ac_config_files Makefile bdw-gc.pc"
21928 ac_config_commands="$ac_config_commands default"
21931 cat >confcache <<\_ACEOF
21932 # This file is a shell script that caches the results of configure
21933 # tests run on this system so they can be shared between configure
21934 # scripts and configure runs, see configure's option --config-cache.
21935 # It is not useful on other systems. If it contains results you don't
21936 # want to keep, you may remove or edit it.
21938 # config.status only pays attention to the cache file if you give it
21939 # the --recheck option to rerun configure.
21941 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21942 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21943 # following values.
21947 # The following way of writing the cache mishandles newlines in values,
21948 # but we know of no workaround that is simple, portable, and efficient.
21949 # So, we kill variables containing newlines.
21950 # Ultrix sh set writes to stderr and can't be redirected directly,
21951 # and sets the high bit in the cache file unless we assign to the vars.
21953 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21954 eval ac_val
=\$
$ac_var
21958 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21959 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21962 _ | IFS | as_nl
) ;; #(
21963 *) $as_unset $ac_var ;;
21969 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21970 *${as_nl}ac_space
=\
*)
21971 # `set' does not quote correctly, so add quotes (double-quote
21972 # substitution turns \\\\ into \\, and sed turns \\ into \).
21975 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21978 # `set' quotes correctly as required by POSIX, so do not add quotes.
21979 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21988 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21990 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21992 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21993 if test -w "$cache_file"; then
21994 test "x$cache_file" != "x/dev/null" &&
21995 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21996 echo "$as_me: updating cache $cache_file" >&6;}
21997 cat confcache
>$cache_file
21999 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22000 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22005 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22006 # Let make expand exec_prefix.
22007 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22009 # Transform confdefs.h into DEFS.
22010 # Protect against shell expansion while executing Makefile rules.
22011 # Protect against Makefile macro expansion.
22013 # If the first sed substitution is executed (which looks for macros that
22014 # take arguments), then branch to the quote section. Otherwise,
22015 # look for a macro that doesn't take arguments.
22019 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
22021 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
22025 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
22038 DEFS
=`sed -n "$ac_script" confdefs.h`
22043 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22044 # 1. Remove the extension, and $U if already installed.
22045 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22046 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22047 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22048 # will be set to the directory where LIBOBJS objects are built.
22049 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22050 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22052 LIBOBJS
=$ac_libobjs
22054 LTLIBOBJS
=$ac_ltlibobjs
22057 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22058 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22059 Usually this means the macro was only invoked conditionally." >&5
22060 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22061 Usually this means the macro was only invoked conditionally." >&2;}
22062 { (exit 1); exit 1; }; }
22064 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22065 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22066 Usually this means the macro was only invoked conditionally." >&5
22067 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22068 Usually this means the macro was only invoked conditionally." >&2;}
22069 { (exit 1); exit 1; }; }
22071 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22072 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22073 Usually this means the macro was only invoked conditionally." >&5
22074 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22075 Usually this means the macro was only invoked conditionally." >&2;}
22076 { (exit 1); exit 1; }; }
22078 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22079 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22080 Usually this means the macro was only invoked conditionally." >&5
22081 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22082 Usually this means the macro was only invoked conditionally." >&2;}
22083 { (exit 1); exit 1; }; }
22085 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
22086 { { echo "$as_me:$LINENO: error: conditional \"THREADS\" was never defined.
22087 Usually this means the macro was only invoked conditionally." >&5
22088 echo "$as_me: error: conditional \"THREADS\" was never defined.
22089 Usually this means the macro was only invoked conditionally." >&2;}
22090 { (exit 1); exit 1; }; }
22092 if test -z "${PTHREADS_TRUE}" && test -z "${PTHREADS_FALSE}"; then
22093 { { echo "$as_me:$LINENO: error: conditional \"PTHREADS\" was never defined.
22094 Usually this means the macro was only invoked conditionally." >&5
22095 echo "$as_me: error: conditional \"PTHREADS\" was never defined.
22096 Usually this means the macro was only invoked conditionally." >&2;}
22097 { (exit 1); exit 1; }; }
22099 if test -z "${DARWIN_THREADS_TRUE}" && test -z "${DARWIN_THREADS_FALSE}"; then
22100 { { echo "$as_me:$LINENO: error: conditional \"DARWIN_THREADS\" was never defined.
22101 Usually this means the macro was only invoked conditionally." >&5
22102 echo "$as_me: error: conditional \"DARWIN_THREADS\" was never defined.
22103 Usually this means the macro was only invoked conditionally." >&2;}
22104 { (exit 1); exit 1; }; }
22106 if test -z "${WIN32_THREADS_TRUE}" && test -z "${WIN32_THREADS_FALSE}"; then
22107 { { echo "$as_me:$LINENO: error: conditional \"WIN32_THREADS\" was never defined.
22108 Usually this means the macro was only invoked conditionally." >&5
22109 echo "$as_me: error: conditional \"WIN32_THREADS\" was never defined.
22110 Usually this means the macro was only invoked conditionally." >&2;}
22111 { (exit 1); exit 1; }; }
22113 if test -z "${COMPILER_XLC_TRUE}" && test -z "${COMPILER_XLC_FALSE}"; then
22114 { { echo "$as_me:$LINENO: error: conditional \"COMPILER_XLC\" was never defined.
22115 Usually this means the macro was only invoked conditionally." >&5
22116 echo "$as_me: error: conditional \"COMPILER_XLC\" was never defined.
22117 Usually this means the macro was only invoked conditionally." >&2;}
22118 { (exit 1); exit 1; }; }
22120 if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
22121 { { echo "$as_me:$LINENO: error: conditional \"CPLUSPLUS\" was never defined.
22122 Usually this means the macro was only invoked conditionally." >&5
22123 echo "$as_me: error: conditional \"CPLUSPLUS\" was never defined.
22124 Usually this means the macro was only invoked conditionally." >&2;}
22125 { (exit 1); exit 1; }; }
22127 if test -z "${ENABLE_GCJ_SUPPORT_TRUE}" && test -z "${ENABLE_GCJ_SUPPORT_FALSE}"; then
22128 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GCJ_SUPPORT\" was never defined.
22129 Usually this means the macro was only invoked conditionally." >&5
22130 echo "$as_me: error: conditional \"ENABLE_GCJ_SUPPORT\" was never defined.
22131 Usually this means the macro was only invoked conditionally." >&2;}
22132 { (exit 1); exit 1; }; }
22134 if test -z "${USE_LIBDIR_TRUE}" && test -z "${USE_LIBDIR_FALSE}"; then
22135 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBDIR\" was never defined.
22136 Usually this means the macro was only invoked conditionally." >&5
22137 echo "$as_me: error: conditional \"USE_LIBDIR\" was never defined.
22138 Usually this means the macro was only invoked conditionally." >&2;}
22139 { (exit 1); exit 1; }; }
22141 if test -z "${USE_INTERNAL_LIBATOMIC_OPS_TRUE}" && test -z "${USE_INTERNAL_LIBATOMIC_OPS_FALSE}"; then
22142 { { echo "$as_me:$LINENO: error: conditional \"USE_INTERNAL_LIBATOMIC_OPS\" was never defined.
22143 Usually this means the macro was only invoked conditionally." >&5
22144 echo "$as_me: error: conditional \"USE_INTERNAL_LIBATOMIC_OPS\" was never defined.
22145 Usually this means the macro was only invoked conditionally." >&2;}
22146 { (exit 1); exit 1; }; }
22148 if test -z "${NEED_ATOMIC_OPS_ASM_TRUE}" && test -z "${NEED_ATOMIC_OPS_ASM_FALSE}"; then
22149 { { echo "$as_me:$LINENO: error: conditional \"NEED_ATOMIC_OPS_ASM\" was never defined.
22150 Usually this means the macro was only invoked conditionally." >&5
22151 echo "$as_me: error: conditional \"NEED_ATOMIC_OPS_ASM\" was never defined.
22152 Usually this means the macro was only invoked conditionally." >&2;}
22153 { (exit 1); exit 1; }; }
22156 : ${CONFIG_STATUS=./config.status}
22157 ac_clean_files_save
=$ac_clean_files
22158 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22159 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22160 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22161 cat >$CONFIG_STATUS <<_ACEOF
22163 # Generated by $as_me.
22164 # Run this file to recreate the current configuration.
22165 # Compiler output produced by configure, useful for debugging
22166 # configure, is in config.log if it exists.
22169 ac_cs_recheck=false
22171 SHELL=\${CONFIG_SHELL-$SHELL}
22174 cat >>$CONFIG_STATUS <<\_ACEOF
22175 ## --------------------- ##
22176 ## M4sh Initialization. ##
22177 ## --------------------- ##
22179 # Be more Bourne compatible
22180 DUALCASE
=1; export DUALCASE
# for MKS sh
22181 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22184 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22185 # is contrary to our usage. Disable this feature.
22186 alias -g '${1+"$@"}'='"$@"'
22187 setopt NO_GLOB_SUBST
22189 case `(set -o) 2>/dev/null` in
22190 *posix
*) set -o posix
;;
22199 # Avoid depending upon Character Ranges.
22200 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22201 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22202 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22203 as_cr_digits
='0123456789'
22204 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22206 # The user is always right.
22207 if test "${PATH_SEPARATOR+set}" != set; then
22208 echo "#! /bin/sh" >conf$$.sh
22209 echo "exit 0" >>conf$$.sh
22211 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22219 # Support unset when possible.
22220 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22228 # We need space, tab and new line, in precisely that order. Quoting is
22229 # there to prevent editors from complaining about space-tab.
22230 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22231 # splitting by setting IFS to empty value.)
22236 # Find who we are. Look in the path if we contain no directory separator.
22238 *[\\/]* ) as_myself
=$0 ;;
22239 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22240 for as_dir
in $PATH
22243 test -z "$as_dir" && as_dir
=.
22244 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22250 # We did not find ourselves, most probably we were run as `sh COMMAND'
22251 # in which case we are not to be found in the path.
22252 if test "x$as_myself" = x
; then
22255 if test ! -f "$as_myself"; then
22256 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22257 { (exit 1); exit 1; }
22260 # Work around bugs in pre-3.0 UWIN ksh.
22261 for as_var
in ENV MAIL MAILPATH
22262 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22270 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22271 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22272 LC_TELEPHONE LC_TIME
22274 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22275 eval $as_var=C
; export $as_var
22277 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22281 # Required to use basename.
22282 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22283 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22289 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22290 as_basename
=basename
22296 # Name of the executable.
22297 as_me
=`$as_basename -- "$0" ||
22298 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22299 X"$0" : 'X\(//\)$' \| \
22300 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22302 sed '/^.*\/\([^/][^/]*\)\/*$/{
22321 as_lineno_1
=$LINENO
22322 as_lineno_2
=$LINENO
22323 test "x$as_lineno_1" != "x$as_lineno_2" &&
22324 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22326 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22327 # uniformly replaced by the line number. The first 'sed' inserts a
22328 # line-number line after each line using $LINENO; the second 'sed'
22329 # does the real work. The second script uses 'N' to pair each
22330 # line-number line with the line containing $LINENO, and appends
22331 # trailing '-' during substitution so that $LINENO is not a special
22332 # case at line end.
22333 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22334 # scripts with optimization help from Paolo Bonzini. Blame Lee
22335 # E. McMahon (1931-1989) for sed's syntax. :-)
22347 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22350 ' >$as_me.lineno
&&
22351 chmod +x
"$as_me.lineno" ||
22352 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22353 { (exit 1); exit 1; }; }
22355 # Don't try to exec as it changes $[0], causing all sort of problems
22356 # (the dirname of $[0] is not the place where we might find the
22357 # original and so on. Autoconf is especially sensitive to this).
22358 .
"./$as_me.lineno"
22359 # Exit status is that of the last command.
22364 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22370 ECHO_C
= ECHO_N
= ECHO_T
=
22371 case `echo -n x` in
22373 case `echo 'x\c'` in
22374 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22388 rm -f conf$$ conf$$.exe conf$$.
file
22389 if test -d conf$$.dir
; then
22390 rm -f conf$$.dir
/conf$$.
file
22396 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22398 # ... but there are two gotchas:
22399 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22400 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22401 # In both cases, we have to default to `cp -p'.
22402 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22404 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22409 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22410 rmdir conf$$.dir
2>/dev
/null
22412 if mkdir
-p .
2>/dev
/null
; then
22415 test -d .
/-p && rmdir .
/-p
22419 if test -x / >/dev
/null
2>&1; then
22420 as_test_x
='test -x'
22422 if ls -dL / >/dev
/null
2>&1; then
22429 if test -d "$1"; then
22435 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22436 ???[sx]*):;;*)false;;esac;fi
22440 as_executable_p
=$as_test_x
22442 # Sed expression to map a string onto a valid CPP name.
22443 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22445 # Sed expression to map a string onto a valid variable name.
22446 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22451 # Save the log message, to keep $[0] and so on meaningful, and to
22452 # report actual input values of CONFIG_FILES etc. instead of their
22453 # values after options handling.
22455 This file was extended by gc $as_me 7.0, which was
22456 generated by GNU Autoconf 2.61. Invocation command line was
22458 CONFIG_FILES = $CONFIG_FILES
22459 CONFIG_HEADERS = $CONFIG_HEADERS
22460 CONFIG_LINKS = $CONFIG_LINKS
22461 CONFIG_COMMANDS = $CONFIG_COMMANDS
22464 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22469 cat >>$CONFIG_STATUS <<_ACEOF
22470 # Files that config.status was made for.
22471 config_files="$ac_config_files"
22472 config_commands="$ac_config_commands"
22476 cat >>$CONFIG_STATUS <<\_ACEOF
22478 \`$as_me' instantiates files from templates according to the
22479 current configuration.
22481 Usage: $0 [OPTIONS] [FILE]...
22483 -h, --help print this help, then exit
22484 -V, --version print version number and configuration settings, then exit
22485 -q, --quiet do not print progress messages
22486 -d, --debug don't remove temporary files
22487 --recheck update $as_me by reconfiguring in the same conditions
22488 --file=FILE[:TEMPLATE]
22489 instantiate the configuration file FILE
22491 Configuration files:
22494 Configuration commands:
22497 Report bugs to <bug-autoconf@gnu.org>."
22500 cat >>$CONFIG_STATUS <<_ACEOF
22502 gc config.status 7.0
22503 configured by $0, generated by GNU Autoconf 2.61,
22504 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22506 Copyright (C) 2006 Free Software Foundation, Inc.
22507 This config.status script is free software; the Free Software Foundation
22508 gives unlimited permission to copy, distribute and modify it."
22515 cat >>$CONFIG_STATUS <<\_ACEOF
22516 # If no file are specified by the user, then we need to provide default
22517 # value. By we need to know if files were specified by the user.
22523 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22524 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22535 # Handling of the options.
22536 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22538 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22539 echo "$ac_cs_version"; exit ;;
22540 --debug |
--debu |
--deb |
--de |
--d |
-d )
22542 --file |
--fil |
--fi |
--f )
22544 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22545 ac_need_defaults
=false
;;
22546 --he |
--h |
--help |
--hel |
-h )
22547 echo "$ac_cs_usage"; exit ;;
22548 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22549 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22552 # This is an error.
22553 -*) { echo "$as_me: error: unrecognized option: $1
22554 Try \`$0 --help' for more information." >&2
22555 { (exit 1); exit 1; }; } ;;
22557 *) ac_config_targets
="$ac_config_targets $1"
22558 ac_need_defaults
=false
;;
22564 ac_configure_extra_args
=
22566 if $ac_cs_silent; then
22568 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22572 cat >>$CONFIG_STATUS <<_ACEOF
22573 if \$ac_cs_recheck; then
22574 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22575 CONFIG_SHELL=$SHELL
22576 export CONFIG_SHELL
22577 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22581 cat >>$CONFIG_STATUS <<\_ACEOF
22585 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22586 ## Running $as_me. ##
22592 cat >>$CONFIG_STATUS <<_ACEOF
22596 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22599 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22605 cat >>$CONFIG_STATUS <<\_ACEOF
22607 # Handling of arguments.
22608 for ac_config_target
in $ac_config_targets
22610 case $ac_config_target in
22611 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22612 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22613 "bdw-gc.pc") CONFIG_FILES
="$CONFIG_FILES bdw-gc.pc" ;;
22614 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
22616 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22617 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22618 { (exit 1); exit 1; }; };;
22623 # If the user did not use the arguments to specify the items to instantiate,
22624 # then the envvar interface is used. Set only those that are not.
22625 # We use the long form for the default assignment because of an extremely
22626 # bizarre bug on SunOS 4.1.3.
22627 if $ac_need_defaults; then
22628 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22629 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22632 # Have a temporary directory for convenience. Make it in the build tree
22633 # simply because there is no reason against having it here, and in addition,
22634 # creating and moving files from /tmp can sometimes cause problems.
22635 # Hook for its removal unless debugging.
22636 # Note that there is a small window in which the directory will not be cleaned:
22637 # after its creation but before its name has been assigned to `$tmp'.
22641 trap 'exit_status=$?
22642 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22644 trap '{ (exit 1); exit 1; }' 1 2 13 15
22646 # Create a (secure) tmp directory for tmp files.
22649 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22650 test -n "$tmp" && test -d "$tmp"
22653 tmp
=.
/conf$$
-$RANDOM
22654 (umask 077 && mkdir
"$tmp")
22657 echo "$me: cannot create a temporary directory in ." >&2
22658 { (exit 1); exit 1; }
22662 # Set up the sed scripts for CONFIG_FILES section.
22665 # No need to generate the scripts if there are no CONFIG_FILES.
22666 # This happens for instance when ./config.status config.h
22667 if test -n "$CONFIG_FILES"; then
22674 for ac_last_try
in false false false false false
:; do
22675 cat >conf$
$subs.
sed <<_ACEOF
22676 SHELL!$SHELL$ac_delim
22677 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22678 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22679 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22680 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22681 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22682 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22683 exec_prefix!$exec_prefix$ac_delim
22684 prefix!$prefix$ac_delim
22685 program_transform_name!$program_transform_name$ac_delim
22686 bindir!$bindir$ac_delim
22687 sbindir!$sbindir$ac_delim
22688 libexecdir!$libexecdir$ac_delim
22689 datarootdir!$datarootdir$ac_delim
22690 datadir!$datadir$ac_delim
22691 sysconfdir!$sysconfdir$ac_delim
22692 sharedstatedir!$sharedstatedir$ac_delim
22693 localstatedir!$localstatedir$ac_delim
22694 includedir!$includedir$ac_delim
22695 oldincludedir!$oldincludedir$ac_delim
22696 docdir!$docdir$ac_delim
22697 infodir!$infodir$ac_delim
22698 htmldir!$htmldir$ac_delim
22699 dvidir!$dvidir$ac_delim
22700 pdfdir!$pdfdir$ac_delim
22701 psdir!$psdir$ac_delim
22702 libdir!$libdir$ac_delim
22703 localedir!$localedir$ac_delim
22704 mandir!$mandir$ac_delim
22705 DEFS!$DEFS$ac_delim
22706 ECHO_C!$ECHO_C$ac_delim
22707 ECHO_N!$ECHO_N$ac_delim
22708 ECHO_T!$ECHO_T$ac_delim
22709 LIBS!$LIBS$ac_delim
22710 build_alias!$build_alias$ac_delim
22711 host_alias!$host_alias$ac_delim
22712 target_alias!$target_alias$ac_delim
22713 build!$build$ac_delim
22714 build_cpu!$build_cpu$ac_delim
22715 build_vendor!$build_vendor$ac_delim
22716 build_os!$build_os$ac_delim
22717 host!$host$ac_delim
22718 host_cpu!$host_cpu$ac_delim
22719 host_vendor!$host_vendor$ac_delim
22720 host_os!$host_os$ac_delim
22721 target!$target$ac_delim
22722 target_cpu!$target_cpu$ac_delim
22723 target_vendor!$target_vendor$ac_delim
22724 target_os!$target_os$ac_delim
22725 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22726 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22727 INSTALL_DATA!$INSTALL_DATA$ac_delim
22728 CYGPATH_W!$CYGPATH_W$ac_delim
22729 PACKAGE!$PACKAGE$ac_delim
22730 VERSION!$VERSION$ac_delim
22731 ACLOCAL!$ACLOCAL$ac_delim
22732 AUTOCONF!$AUTOCONF$ac_delim
22733 AUTOMAKE!$AUTOMAKE$ac_delim
22734 AUTOHEADER!$AUTOHEADER$ac_delim
22735 MAKEINFO!$MAKEINFO$ac_delim
22736 install_sh!$install_sh$ac_delim
22737 STRIP!$STRIP$ac_delim
22738 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22739 mkdir_p!$mkdir_p$ac_delim
22741 SET_MAKE!$SET_MAKE$ac_delim
22742 am__leading_dot!$am__leading_dot$ac_delim
22743 AMTAR!$AMTAR$ac_delim
22744 am__tar!$am__tar$ac_delim
22745 am__untar!$am__untar$ac_delim
22746 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
22747 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
22748 MAINT!$MAINT$ac_delim
22749 GC_VERSION!$GC_VERSION$ac_delim
22751 CFLAGS!$CFLAGS$ac_delim
22752 LDFLAGS!$LDFLAGS$ac_delim
22753 CPPFLAGS!$CPPFLAGS$ac_delim
22754 ac_ct_CC!$ac_ct_CC$ac_delim
22755 EXEEXT!$EXEEXT$ac_delim
22756 OBJEXT!$OBJEXT$ac_delim
22757 DEPDIR!$DEPDIR$ac_delim
22758 am__include!$am__include$ac_delim
22759 am__quote!$am__quote$ac_delim
22760 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22761 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22762 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22763 CCDEPMODE!$CCDEPMODE$ac_delim
22764 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22765 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22767 CXXFLAGS!$CXXFLAGS$ac_delim
22768 ac_ct_CXX!$ac_ct_CXX$ac_delim
22769 CXXDEPMODE!$CXXDEPMODE$ac_delim
22770 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22771 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22772 CCAS!$CCAS$ac_delim
22775 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22777 elif $ac_last_try; then
22778 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22779 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22780 { (exit 1); exit 1; }; }
22782 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22786 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22787 if test -n "$ac_eof"; then
22788 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22789 ac_eof
=`expr $ac_eof + 1`
22792 cat >>$CONFIG_STATUS <<_ACEOF
22793 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22794 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22797 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22798 s/^/s,@/; s/!/@,|#_!!_#|/
22801 s/'"$ac_delim"'$/,g/; t
22803 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22804 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22805 rm -f conf$
$subs.
sed
22806 cat >>$CONFIG_STATUS <<_ACEOF
22812 for ac_last_try
in false false false false false
:; do
22813 cat >conf$
$subs.
sed <<_ACEOF
22814 CCASFLAGS!$CCASFLAGS$ac_delim
22816 RANLIB!$RANLIB$ac_delim
22817 GC_CFLAGS!$GC_CFLAGS$ac_delim
22818 THREADDLLIBS!$THREADDLLIBS$ac_delim
22819 THREADS_TRUE!$THREADS_TRUE$ac_delim
22820 THREADS_FALSE!$THREADS_FALSE$ac_delim
22821 PTHREADS_TRUE!$PTHREADS_TRUE$ac_delim
22822 PTHREADS_FALSE!$PTHREADS_FALSE$ac_delim
22823 DARWIN_THREADS_TRUE!$DARWIN_THREADS_TRUE$ac_delim
22824 DARWIN_THREADS_FALSE!$DARWIN_THREADS_FALSE$ac_delim
22825 WIN32_THREADS_TRUE!$WIN32_THREADS_TRUE$ac_delim
22826 WIN32_THREADS_FALSE!$WIN32_THREADS_FALSE$ac_delim
22827 COMPILER_XLC_TRUE!$COMPILER_XLC_TRUE$ac_delim
22828 COMPILER_XLC_FALSE!$COMPILER_XLC_FALSE$ac_delim
22829 extra_ldflags_libgc!$extra_ldflags_libgc$ac_delim
22830 EXTRA_TEST_LIBS!$EXTRA_TEST_LIBS$ac_delim
22831 target_all!$target_all$ac_delim
22832 CPLUSPLUS_TRUE!$CPLUSPLUS_TRUE$ac_delim
22833 CPLUSPLUS_FALSE!$CPLUSPLUS_FALSE$ac_delim
22834 INCLUDES!$INCLUDES$ac_delim
22835 CXXINCLUDES!$CXXINCLUDES$ac_delim
22836 addobjs!$addobjs$ac_delim
22837 addlibs!$addlibs$ac_delim
22838 GREP!$GREP$ac_delim
22839 EGREP!$EGREP$ac_delim
22840 LN_S!$LN_S$ac_delim
22841 ECHO!$ECHO$ac_delim
22843 CXXCPP!$CXXCPP$ac_delim
22845 FFLAGS!$FFLAGS$ac_delim
22846 ac_ct_F77!$ac_ct_F77$ac_delim
22847 LIBTOOL!$LIBTOOL$ac_delim
22848 ENABLE_GCJ_SUPPORT_TRUE!$ENABLE_GCJ_SUPPORT_TRUE$ac_delim
22849 ENABLE_GCJ_SUPPORT_FALSE!$ENABLE_GCJ_SUPPORT_FALSE$ac_delim
22850 UNWINDLIBS!$UNWINDLIBS$ac_delim
22851 USE_LIBDIR_TRUE!$USE_LIBDIR_TRUE$ac_delim
22852 USE_LIBDIR_FALSE!$USE_LIBDIR_FALSE$ac_delim
22853 subdirs!$subdirs$ac_delim
22854 USE_INTERNAL_LIBATOMIC_OPS_TRUE!$USE_INTERNAL_LIBATOMIC_OPS_TRUE$ac_delim
22855 USE_INTERNAL_LIBATOMIC_OPS_FALSE!$USE_INTERNAL_LIBATOMIC_OPS_FALSE$ac_delim
22856 NEED_ATOMIC_OPS_ASM_TRUE!$NEED_ATOMIC_OPS_ASM_TRUE$ac_delim
22857 NEED_ATOMIC_OPS_ASM_FALSE!$NEED_ATOMIC_OPS_ASM_FALSE$ac_delim
22858 atomic_ops_libs!$atomic_ops_libs$ac_delim
22859 LIBOBJS!$LIBOBJS$ac_delim
22860 LTLIBOBJS!$LTLIBOBJS$ac_delim
22863 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 47; then
22865 elif $ac_last_try; then
22866 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22867 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22868 { (exit 1); exit 1; }; }
22870 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22874 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22875 if test -n "$ac_eof"; then
22876 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22877 ac_eof
=`expr $ac_eof + 1`
22880 cat >>$CONFIG_STATUS <<_ACEOF
22881 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22882 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22885 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22886 s/^/s,@/; s/!/@,|#_!!_#|/
22889 s/'"$ac_delim"'$/,g/; t
22891 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22892 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22893 rm -f conf$
$subs.
sed
22894 cat >>$CONFIG_STATUS <<_ACEOF
22901 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22902 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22903 # trailing colons and then remove the whole line if VPATH becomes empty
22904 # (actually we leave an empty line to preserve line numbers).
22905 if test "x$srcdir" = x.
; then
22906 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22907 s/:*\$(srcdir):*/:/
22908 s/:*\${srcdir}:*/:/
22910 s/^\([^=]*=[ ]*\):*/\1/
22916 cat >>$CONFIG_STATUS <<\_ACEOF
22917 fi # test -n "$CONFIG_FILES"
22920 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
22923 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22925 case $ac_mode$ac_tag in
22927 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22928 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22929 { (exit 1); exit 1; }; };;
22930 :[FH
]-) ac_tag
=-:-;;
22931 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22948 -) ac_f
="$tmp/stdin";;
22949 *) # Look for the file first in the build tree, then in the source tree
22950 # (if the path is not absolute). The absolute path cannot be DOS-style,
22951 # because $ac_f cannot contain `:'.
22955 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22957 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22958 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22959 { (exit 1); exit 1; }; };;
22961 ac_file_inputs
="$ac_file_inputs $ac_f"
22964 # Let's still pretend it is `configure' which instantiates (i.e., don't
22965 # use $as_me), people would be surprised to read:
22966 # /* config.h. Generated by config.status. */
22967 configure_input
="Generated from "`IFS=:
22968 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22969 if test x
"$ac_file" != x-
; then
22970 configure_input
="$ac_file. $configure_input"
22971 { echo "$as_me:$LINENO: creating $ac_file" >&5
22972 echo "$as_me: creating $ac_file" >&6;}
22976 *:-:* |
*:-) cat >"$tmp/stdin";;
22981 ac_dir
=`$as_dirname -- "$ac_file" ||
22982 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22983 X"$ac_file" : 'X\(//\)[^/]' \| \
22984 X"$ac_file" : 'X\(//\)$' \| \
22985 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22991 /^X\(\/\/\)[^/].*/{
23006 -*) as_dir
=.
/$as_dir;;
23008 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23012 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23013 *) as_qdir
=$as_dir;;
23015 as_dirs
="'$as_qdir' $as_dirs"
23016 as_dir
=`$as_dirname -- "$as_dir" ||
23017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23018 X"$as_dir" : 'X\(//\)[^/]' \| \
23019 X"$as_dir" : 'X\(//\)$' \| \
23020 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23026 /^X\(\/\/\)[^/].*/{
23039 test -d "$as_dir" && break
23041 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23042 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23043 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23044 { (exit 1); exit 1; }; }; }
23048 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23050 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23051 # A ".." for each directory in $ac_dir_suffix.
23052 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23053 case $ac_top_builddir_sub in
23054 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23055 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23058 ac_abs_top_builddir
=$ac_pwd
23059 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23060 # for backward compatibility:
23061 ac_top_builddir
=$ac_top_build_prefix
23064 .
) # We are building in place.
23066 ac_top_srcdir
=$ac_top_builddir_sub
23067 ac_abs_top_srcdir
=$ac_pwd ;;
23068 [\\/]* | ?
:[\\/]* ) # Absolute name.
23069 ac_srcdir
=$srcdir$ac_dir_suffix;
23070 ac_top_srcdir
=$srcdir
23071 ac_abs_top_srcdir
=$srcdir ;;
23072 *) # Relative name.
23073 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23074 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23075 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23077 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23087 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23088 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23092 cat >>$CONFIG_STATUS <<\_ACEOF
23093 # If the template does not know about datarootdir, expand it.
23094 # FIXME: This hack should be removed a few years after 2.60.
23095 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23097 case `sed -n '/datarootdir/ {
23106 ' $ac_file_inputs` in
23107 *datarootdir
*) ac_datarootdir_seen
=yes;;
23108 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23109 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23110 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23112 cat >>$CONFIG_STATUS <<_ACEOF
23113 ac_datarootdir_hack='
23114 s&@datadir@&$datadir&g
23115 s&@docdir@&$docdir&g
23116 s&@infodir@&$infodir&g
23117 s&@localedir@&$localedir&g
23118 s&@mandir@&$mandir&g
23119 s&\\\${datarootdir}&$datarootdir&g' ;;
23123 # Neutralize VPATH when `$srcdir' = `.'.
23124 # Shell code in configure.ac might set extrasub.
23125 # FIXME: do we really want to maintain this feature?
23126 cat >>$CONFIG_STATUS <<_ACEOF
23130 cat >>$CONFIG_STATUS <<\_ACEOF
23132 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23133 s
&@configure_input@
&$configure_input&;t t
23134 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23135 s
&@srcdir@
&$ac_srcdir&;t t
23136 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23137 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23138 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23139 s
&@builddir@
&$ac_builddir&;t t
23140 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23141 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23142 s
&@INSTALL@
&$ac_INSTALL&;t t
23143 $ac_datarootdir_hack
23144 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23146 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23147 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23148 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23149 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23150 which seems to be undefined. Please make sure it is defined." >&5
23151 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23152 which seems to be undefined. Please make sure it is defined." >&2;}
23156 -) cat "$tmp/out"; rm -f "$tmp/out";;
23157 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23162 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23163 echo "$as_me: executing $ac_file commands" >&6;}
23168 case $ac_file$ac_mode in
23169 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23170 # Strip MF so we end up with the name of the file.
23171 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
23172 # Check whether this is an Automake generated Makefile or not.
23173 # We used to match only the files named `Makefile.in', but
23174 # some people rename them; so instead we look at the file content.
23175 # Grep'ing the first line is not enough: some people post-process
23176 # each Makefile.in and add a new line on top of each file to say so.
23177 # So let's grep whole file.
23178 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23179 dirpart
=`$as_dirname -- "$mf" ||
23180 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23181 X"$mf" : 'X\(//\)[^/]' \| \
23182 X"$mf" : 'X\(//\)$' \| \
23183 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23189 /^X\(\/\/\)[^/].*/{
23205 # Extract the definition of DEPDIR, am__include, and am__quote
23206 # from the Makefile without running `make'.
23207 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23208 test -z "$DEPDIR" && continue
23209 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23210 test -z "am__include" && continue
23211 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23212 # When using ansi2knr, U may be empty or an underscore; expand it
23213 U
=`sed -n 's/^U = //p' < "$mf"`
23214 # Find all dependency output files, they are included files with
23215 # $(DEPDIR) in their names. We invoke sed twice because it is the
23216 # simplest approach to changing $(DEPDIR) to its actual value in the
23218 for file in `sed -n "
23219 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23220 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23221 # Make sure the directory exists.
23222 test -f "$dirpart/$file" && continue
23223 fdir
=`$as_dirname -- "$file" ||
23224 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23225 X"$file" : 'X\(//\)[^/]' \| \
23226 X"$file" : 'X\(//\)$' \| \
23227 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23233 /^X\(\/\/\)[^/].*/{
23246 { as_dir
=$dirpart/$fdir
23248 -*) as_dir
=.
/$as_dir;;
23250 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23254 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23255 *) as_qdir
=$as_dir;;
23257 as_dirs
="'$as_qdir' $as_dirs"
23258 as_dir
=`$as_dirname -- "$as_dir" ||
23259 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23260 X"$as_dir" : 'X\(//\)[^/]' \| \
23261 X"$as_dir" : 'X\(//\)$' \| \
23262 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23268 /^X\(\/\/\)[^/].*/{
23281 test -d "$as_dir" && break
23283 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23284 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23285 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23286 { (exit 1); exit 1; }; }; }
23287 # echo "creating $dirpart/$file"
23288 echo '# dummy' > "$dirpart/$file"
23297 { (exit 0); exit 0; }
23299 chmod +x
$CONFIG_STATUS
23300 ac_clean_files
=$ac_clean_files_save
23303 # configure is writing to config.log, and then calls config.status.
23304 # config.status does its own redirection, appending to config.log.
23305 # Unfortunately, on DOS this fails, as config.log is still kept open
23306 # by configure, so config.status won't be able to write to it; its
23307 # output is simply discarded. So we exec the FD to /dev/null,
23308 # effectively closing config.log, so it can be properly (re)opened and
23309 # appended to by config.status. When coming back to configure, we
23310 # need to make the FD available again.
23311 if test "$no_create" != yes; then
23313 ac_config_status_args
=
23314 test "$silent" = yes &&
23315 ac_config_status_args
="$ac_config_status_args --quiet"
23317 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23319 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23320 # would make configure fail if this is the last instruction.
23321 $ac_cs_success ||
{ (exit 1); exit 1; }
23325 # CONFIG_SUBDIRS section.
23327 if test "$no_recursion" != yes; then
23329 # Remove --cache-file and --srcdir arguments so they do not pile up.
23330 ac_sub_configure_args
=
23332 eval "set x $ac_configure_args"
23336 if test -n "$ac_prev"; then
23341 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
23342 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
23343 ac_prev
=cache_file
;;
23344 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
23345 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
23348 --config-cache |
-C)
23350 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
23352 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
23354 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
23356 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
23360 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
23362 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
23366 # Always prepend --prefix to ensure using the same prefix
23367 # in subdir configurations.
23368 ac_arg
="--prefix=$prefix"
23370 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
23372 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
23375 if test "$silent" = yes; then
23376 ac_sub_configure_args
="--silent $ac_sub_configure_args"
23380 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
23382 # Do not complain, so a configure script can configure whichever
23383 # parts of a large source tree are present.
23384 test -d "$srcdir/$ac_dir" ||
continue
23386 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
23387 echo "$as_me:$LINENO: $ac_msg" >&5
23391 -*) as_dir
=.
/$as_dir;;
23393 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23397 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23398 *) as_qdir
=$as_dir;;
23400 as_dirs
="'$as_qdir' $as_dirs"
23401 as_dir
=`$as_dirname -- "$as_dir" ||
23402 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23403 X"$as_dir" : 'X\(//\)[^/]' \| \
23404 X"$as_dir" : 'X\(//\)$' \| \
23405 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23411 /^X\(\/\/\)[^/].*/{
23424 test -d "$as_dir" && break
23426 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23427 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23428 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23429 { (exit 1); exit 1; }; }; }
23433 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23435 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23436 # A ".." for each directory in $ac_dir_suffix.
23437 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23438 case $ac_top_builddir_sub in
23439 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23440 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23443 ac_abs_top_builddir
=$ac_pwd
23444 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23445 # for backward compatibility:
23446 ac_top_builddir
=$ac_top_build_prefix
23449 .
) # We are building in place.
23451 ac_top_srcdir
=$ac_top_builddir_sub
23452 ac_abs_top_srcdir
=$ac_pwd ;;
23453 [\\/]* | ?
:[\\/]* ) # Absolute name.
23454 ac_srcdir
=$srcdir$ac_dir_suffix;
23455 ac_top_srcdir
=$srcdir
23456 ac_abs_top_srcdir
=$srcdir ;;
23457 *) # Relative name.
23458 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23459 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23460 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23462 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23467 # Check for guested configure; otherwise get Cygnus style configure.
23468 if test -f "$ac_srcdir/configure.gnu"; then
23469 ac_sub_configure
=$ac_srcdir/configure.gnu
23470 elif test -f "$ac_srcdir/configure"; then
23471 ac_sub_configure
=$ac_srcdir/configure
23472 elif test -f "$ac_srcdir/configure.in"; then
23473 # This should be Cygnus configure.
23474 ac_sub_configure
=$ac_aux_dir/configure
23476 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
23477 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
23481 # The recursion is here.
23482 if test -n "$ac_sub_configure"; then
23483 # Make the cache file name correct relative to the subdirectory.
23484 case $cache_file in
23485 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
23486 *) # Relative name.
23487 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
23490 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
23491 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
23492 # The eval makes quoting arguments work.
23493 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
23494 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
23495 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
23496 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
23497 { (exit 1); exit 1; }; }