2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
24 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
25 DUALCASE
=1; export DUALCASE
# for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits
='0123456789'
34 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49 # Support unset when possible.
50 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
66 # Find who we are. Look in the path if we contain no directory separator.
68 *[\\/]* ) as_myself
=$0 ;;
69 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
73 test -z "$as_dir" && as_dir
=.
74 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x
; then
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var
in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C
; export $as_var
107 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
111 # Required to use basename.
112 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
119 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 # Name of the executable.
127 as_me
=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
150 if test "x$CONFIG_SHELL" = x
; then
151 if (eval ":") 2>/dev
/null
; then
157 if test $as_have_required = yes && (eval ":
167 as_func_ret_success () {
170 as_func_ret_failure () {
175 if as_func_success; then
179 echo as_func_success failed.
182 if as_func_failure; then
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev
/null
; then
217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
224 for as_base
in sh bash ksh sh5
; do
225 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
232 for as_shell
in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
245 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
247 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
248 DUALCASE
=1; export DUALCASE
# for MKS sh
253 CONFIG_SHELL
=$as_shell
255 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
265 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
267 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
268 DUALCASE
=1; export DUALCASE
# for MKS sh
280 as_func_ret_success
() {
283 as_func_ret_failure
() {
288 if as_func_success
; then
292 echo as_func_success failed.
295 if as_func_failure
; then
297 echo as_func_failure succeeded.
300 if as_func_ret_success
; then
304 echo as_func_ret_success failed.
307 if as_func_ret_failure
; then
309 echo as_func_ret_failure succeeded.
312 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
316 echo positional parameters were not saved.
319 test $exitcode = 0) ||
{ (exit 1); exit 1; }
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
336 if test "x$CONFIG_SHELL" != x
; then
337 for as_var
in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no
; then
346 echo This
script requires a shell
more modern than all the
347 echo shells that I found on your system. Please
install a
348 echo modern shell
, or manually run the
script under such a
349 echo shell
if you
do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
369 as_func_ret_success () {
372 as_func_ret_failure () {
377 if as_func_success; then
381 echo as_func_success failed.
384 if as_func_failure; then
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 echo positional parameters were not saved.
408 test \$exitcode = 0") ||
{
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system
,
411 echo including any error possibly output before this
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
460 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
466 ECHO_C
= ECHO_N
= ECHO_T
=
470 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
506 rmdir conf$$.dir
2>/dev
/null
508 if mkdir
-p .
2>/dev
/null
; then
511 test -d .
/-p && rmdir .
/-p
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.
file <<_ASEOF
522 if test -x conf$$.
file >/dev
/null
2>&1; then
523 as_executable_p
="test -x"
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538 # Check that we are running under the correct shell.
539 SHELL
=${CONFIG_SHELL-/bin/sh}
543 # Remove one level of quotation (which was required for Make).
544 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
549 if test "X$1" = X--no-reexec
; then
550 # Discard the --no-reexec flag, and continue.
552 elif test "X$1" = X--fallback-echo
; then
553 # Avoid inline document here, it may be left over
555 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
556 # Yippee, $echo works!
559 # Restart under the correct shell.
560 exec $SHELL "$0" --no-reexec ${1+"$@"}
563 if test "X$1" = X--fallback-echo
; then
564 # used as fallback echo
572 # The HP-UX ksh and POSIX shell print the target directory to stdout
574 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
576 if test -z "$ECHO"; then
577 if test "X${echo_test_string+set}" != Xset
; then
578 # find a string as large as possible, as long as the shell can cope with it
579 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
580 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
581 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
582 echo_test_string
=`eval $cmd` &&
583 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
590 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
591 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
592 test "X$echo_testing_string" = "X$echo_test_string"; then
595 # The Solaris, AIX, and Digital Unix default echo programs unquote
596 # backslashes. This makes it impossible to quote backslashes using
597 # echo "$something" | sed 's/\\/\\\\/g'
599 # So, first we look for a working echo in the user's PATH.
601 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
602 for dir
in $PATH /usr
/ucb
; do
604 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
605 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
614 if test "X$echo" = Xecho
; then
615 # We didn't find a better echo, so look for alternatives.
616 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
617 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
618 test "X$echo_testing_string" = "X$echo_test_string"; then
619 # This shell has a builtin print -r that does the trick.
621 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
622 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
623 # If we have ksh, try running configure again with it.
624 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
625 export ORIGINAL_CONFIG_SHELL
626 CONFIG_SHELL
=/bin
/ksh
628 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
632 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
633 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
637 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
643 SHELL
="$CONFIG_SHELL"
645 echo="$CONFIG_SHELL $0 --fallback-echo"
646 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
647 test "X$echo_testing_string" = 'X\t' &&
648 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
650 echo="$CONFIG_SHELL $0 --fallback-echo"
652 # maybe with a smaller string...
655 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
656 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
663 if test "$prev" != 'sed 50q "$0"'; then
664 echo_test_string
=`eval $prev`
665 export echo_test_string
666 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
668 # Oops. We lost completely, so just stick with echo.
677 # Copy echo and quote the copy suitably for passing to libtool from
678 # the Makefile, instead of quoting the original, which is used later.
680 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
681 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
687 tagnames
=${tagnames+${tagnames},}CXX
689 tagnames
=${tagnames+${tagnames},}F77
691 exec 7<&0 </dev
/null
6>&1
694 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
695 # so uname gets run too.
696 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
701 ac_default_prefix
=/usr
/local
703 ac_config_libobj_dir
=.
709 SHELL
=${CONFIG_SHELL-/bin/sh}
711 # Identity of this package.
718 ac_unique_file
="configure.in"
719 # Factoring default headers for most tests.
720 ac_includes_default
="\
723 # include <sys/types.h>
726 # include <sys/stat.h>
737 # if !STDC_HEADERS && HAVE_MEMORY_H
743 # include <strings.h>
746 # include <inttypes.h>
764 program_transform_name
805 INSTALL_STRIP_PROGRAM
858 ac_precious_vars
='build_alias
874 # Initialize some variables set by options.
876 ac_init_version
=false
877 # The variables have the same names as the options, with
878 # dashes changed to underlines.
886 program_transform_name
=s
,x
,x
,
894 # Installation directory options.
895 # These are left unexpanded so users can "make install exec_prefix=/foo"
896 # and all the variables that are supposed to be based on exec_prefix
897 # by default will actually change.
898 # Use braces instead of parens because sh, perl, etc. also accept them.
899 # (The list follows the same order as the GNU Coding Standards.)
900 bindir
='${exec_prefix}/bin'
901 sbindir
='${exec_prefix}/sbin'
902 libexecdir
='${exec_prefix}/libexec'
903 datarootdir
='${prefix}/share'
904 datadir
='${datarootdir}'
905 sysconfdir
='${prefix}/etc'
906 sharedstatedir
='${prefix}/com'
907 localstatedir
='${prefix}/var'
908 includedir
='${prefix}/include'
909 oldincludedir
='/usr/include'
910 docdir
='${datarootdir}/doc/${PACKAGE}'
911 infodir
='${datarootdir}/info'
916 libdir
='${exec_prefix}/lib'
917 localedir
='${datarootdir}/locale'
918 mandir
='${datarootdir}/man'
924 # If the previous option needs an argument, assign it.
925 if test -n "$ac_prev"; then
926 eval $ac_prev=\
$ac_option
932 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
936 # Accept the important Cygnus configure options, so we can diagnose typos.
938 case $ac_dashdash$ac_option in
942 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
944 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
947 -build |
--build |
--buil |
--bui |
--bu)
948 ac_prev
=build_alias
;;
949 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
950 build_alias
=$ac_optarg ;;
952 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
953 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
954 ac_prev
=cache_file
;;
955 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
956 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
957 cache_file
=$ac_optarg ;;
960 cache_file
=config.cache
;;
962 -datadir |
--datadir |
--datadi |
--datad)
964 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
965 datadir
=$ac_optarg ;;
967 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
968 |
--dataroo |
--dataro |
--datar)
969 ac_prev
=datarootdir
;;
970 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
971 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
972 datarootdir
=$ac_optarg ;;
974 -disable-* |
--disable-*)
975 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
978 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
979 { (exit 1); exit 1; }; }
980 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
981 eval enable_
$ac_feature=no
;;
983 -docdir |
--docdir |
--docdi |
--doc |
--do)
985 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
988 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
990 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
993 -enable-* |
--enable-*)
994 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
997 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
998 { (exit 1); exit 1; }; }
999 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
1000 eval enable_
$ac_feature=\
$ac_optarg ;;
1002 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1003 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1004 |
--exec |
--exe |
--ex)
1005 ac_prev
=exec_prefix
;;
1006 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1007 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1008 |
--exec=* |
--exe=* |
--ex=*)
1009 exec_prefix
=$ac_optarg ;;
1011 -gas |
--gas |
--ga |
--g)
1012 # Obsolete; use --with-gas.
1015 -help |
--help |
--hel |
--he |
-h)
1016 ac_init_help
=long
;;
1017 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1018 ac_init_help
=recursive
;;
1019 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1020 ac_init_help
=short
;;
1022 -host |
--host |
--hos |
--ho)
1023 ac_prev
=host_alias
;;
1024 -host=* |
--host=* |
--hos=* |
--ho=*)
1025 host_alias
=$ac_optarg ;;
1027 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1029 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1031 htmldir
=$ac_optarg ;;
1033 -includedir |
--includedir |
--includedi |
--included |
--include \
1034 |
--includ |
--inclu |
--incl |
--inc)
1035 ac_prev
=includedir
;;
1036 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1037 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1038 includedir
=$ac_optarg ;;
1040 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1042 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1043 infodir
=$ac_optarg ;;
1045 -libdir |
--libdir |
--libdi |
--libd)
1047 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1048 libdir
=$ac_optarg ;;
1050 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1051 |
--libexe |
--libex |
--libe)
1052 ac_prev
=libexecdir
;;
1053 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1054 |
--libexe=* |
--libex=* |
--libe=*)
1055 libexecdir
=$ac_optarg ;;
1057 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1058 ac_prev
=localedir
;;
1059 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1060 localedir
=$ac_optarg ;;
1062 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1063 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1064 ac_prev
=localstatedir
;;
1065 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1066 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1067 localstatedir
=$ac_optarg ;;
1069 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1071 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1072 mandir
=$ac_optarg ;;
1074 -nfp |
--nfp |
--nf)
1075 # Obsolete; use --without-fp.
1078 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1079 |
--no-cr |
--no-c |
-n)
1082 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1083 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1086 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1087 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1088 |
--oldin |
--oldi |
--old |
--ol |
--o)
1089 ac_prev
=oldincludedir
;;
1090 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1091 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1092 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1093 oldincludedir
=$ac_optarg ;;
1095 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1097 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1098 prefix
=$ac_optarg ;;
1100 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1101 |
--program-pre |
--program-pr |
--program-p)
1102 ac_prev
=program_prefix
;;
1103 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1104 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1105 program_prefix
=$ac_optarg ;;
1107 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1108 |
--program-suf |
--program-su |
--program-s)
1109 ac_prev
=program_suffix
;;
1110 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1111 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1112 program_suffix
=$ac_optarg ;;
1114 -program-transform-name |
--program-transform-name \
1115 |
--program-transform-nam |
--program-transform-na \
1116 |
--program-transform-n |
--program-transform- \
1117 |
--program-transform |
--program-transfor \
1118 |
--program-transfo |
--program-transf \
1119 |
--program-trans |
--program-tran \
1120 |
--progr-tra |
--program-tr |
--program-t)
1121 ac_prev
=program_transform_name
;;
1122 -program-transform-name=* |
--program-transform-name=* \
1123 |
--program-transform-nam=* |
--program-transform-na=* \
1124 |
--program-transform-n=* |
--program-transform-=* \
1125 |
--program-transform=* |
--program-transfor=* \
1126 |
--program-transfo=* |
--program-transf=* \
1127 |
--program-trans=* |
--program-tran=* \
1128 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1129 program_transform_name
=$ac_optarg ;;
1131 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1133 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1134 pdfdir
=$ac_optarg ;;
1136 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1138 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1141 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1142 |
-silent |
--silent |
--silen |
--sile |
--sil)
1145 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1147 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1149 sbindir
=$ac_optarg ;;
1151 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1152 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1153 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1155 ac_prev
=sharedstatedir
;;
1156 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1157 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1158 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1160 sharedstatedir
=$ac_optarg ;;
1162 -site |
--site |
--sit)
1164 -site=* |
--site=* |
--sit=*)
1167 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1169 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1170 srcdir
=$ac_optarg ;;
1172 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1173 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1174 ac_prev
=sysconfdir
;;
1175 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1176 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1177 sysconfdir
=$ac_optarg ;;
1179 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1180 ac_prev
=target_alias
;;
1181 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1182 target_alias
=$ac_optarg ;;
1184 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1187 -version |
--version |
--versio |
--versi |
--vers |
-V)
1188 ac_init_version
=: ;;
1191 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1194 { echo "$as_me: error: invalid package name: $ac_package" >&2
1195 { (exit 1); exit 1; }; }
1196 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1197 eval with_
$ac_package=\
$ac_optarg ;;
1199 -without-* |
--without-*)
1200 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1203 { echo "$as_me: error: invalid package name: $ac_package" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1206 eval with_
$ac_package=no
;;
1209 # Obsolete; use --with-x.
1212 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1213 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1214 ac_prev
=x_includes
;;
1215 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1216 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1217 x_includes
=$ac_optarg ;;
1219 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1220 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1221 ac_prev
=x_libraries
;;
1222 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1223 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1224 x_libraries
=$ac_optarg ;;
1226 -*) { echo "$as_me: error: unrecognized option: $ac_option
1227 Try \`$0 --help' for more information." >&2
1228 { (exit 1); exit 1; }; }
1232 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1235 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1236 { (exit 1); exit 1; }; }
1237 eval $ac_envvar=\
$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1244 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1251 if test -n "$ac_prev"; then
1252 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1253 { echo "$as_me: error: missing argument to $ac_option" >&2
1254 { (exit 1); exit 1; }; }
1257 # Be sure to have absolute directory names.
1258 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val
=\$
$ac_var
1265 [\\/$
]* | ?
:[\\/]* ) continue;;
1266 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1268 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1269 { (exit 1); exit 1; }; }
1272 # There might be people who depend on the old broken behavior: `$host'
1273 # used to hold the argument of --host etc.
1274 # FIXME: To remove some day.
1277 target
=$target_alias
1279 # FIXME: To remove some day.
1280 if test "x$host_alias" != x
; then
1281 if test "x$build_alias" = x
; then
1282 cross_compiling
=maybe
1283 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1284 If a cross compiler is detected then cross compile mode will be used." >&2
1285 elif test "x$build_alias" != "x$host_alias"; then
1291 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1293 test "$silent" = yes && exec 6>/dev
/null
1296 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1297 ac_ls_di
=`ls -di .` &&
1298 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1299 { echo "$as_me: error: Working directory cannot be determined" >&2
1300 { (exit 1); exit 1; }; }
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 { echo "$as_me: error: pwd does not report name of working directory" >&2
1303 { (exit 1); exit 1; }; }
1306 # Find the source files, if location was not specified.
1307 if test -z "$srcdir"; then
1308 ac_srcdir_defaulted
=yes
1309 # Try the directory containing this script, then the parent directory.
1310 ac_confdir
=`$as_dirname -- "$0" ||
1311 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1312 X"$0" : 'X\(//\)[^/]' \| \
1313 X"$0" : 'X\(//\)$' \| \
1314 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1338 ac_srcdir_defaulted
=no
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1341 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1342 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1343 { (exit 1); exit 1; }; }
1345 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1347 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1348 { (exit 1); exit 1; }; }
1350 # When building in place, set srcdir=.
1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
1354 # Remove unnecessary trailing slashes from srcdir.
1355 # Double slashes in file names in object file debugging info
1356 # mess up M-x gdb in Emacs.
1358 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360 for ac_var
in $ac_precious_vars; do
1361 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1362 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1363 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1364 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1368 # Report the --help message.
1370 if test "$ac_init_help" = "long"; then
1371 # Omit some internal or obsolete options to make the list less imposing.
1372 # This message is too long to be a string in the A/UX 3.1 sh.
1374 \`configure' configures this package to adapt to many kinds of systems.
1376 Usage: $0 [OPTION]... [VAR=VALUE]...
1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1379 VAR=VALUE. See below for descriptions of some of the useful variables.
1381 Defaults for the options are specified in brackets.
1384 -h, --help display this help and exit
1385 --help=short display options specific to this package
1386 --help=recursive display the short help of all the included packages
1387 -V, --version display version information and exit
1388 -q, --quiet, --silent do not print \`checking...' messages
1389 --cache-file=FILE cache test results in FILE [disabled]
1390 -C, --config-cache alias for \`--cache-file=config.cache'
1391 -n, --no-create do not create output files
1392 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1394 Installation directories:
1395 --prefix=PREFIX install architecture-independent files in PREFIX
1396 [$ac_default_prefix]
1397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1400 By default, \`make install' will install all the files in
1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1403 for instance \`--prefix=\$HOME'.
1405 For better control, use the options below.
1407 Fine tuning of the installation directories:
1408 --bindir=DIR user executables [EPREFIX/bin]
1409 --sbindir=DIR system admin executables [EPREFIX/sbin]
1410 --libexecdir=DIR program executables [EPREFIX/libexec]
1411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1413 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1414 --libdir=DIR object code libraries [EPREFIX/lib]
1415 --includedir=DIR C header files [PREFIX/include]
1416 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1417 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1418 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1419 --infodir=DIR info documentation [DATAROOTDIR/info]
1420 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1421 --mandir=DIR man documentation [DATAROOTDIR/man]
1422 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1423 --htmldir=DIR html documentation [DOCDIR]
1424 --dvidir=DIR dvi documentation [DOCDIR]
1425 --pdfdir=DIR pdf documentation [DOCDIR]
1426 --psdir=DIR ps documentation [DOCDIR]
1432 --program-prefix=PREFIX prepend PREFIX to installed program names
1433 --program-suffix=SUFFIX append SUFFIX to installed program names
1434 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1437 --build=BUILD configure
for building on BUILD
[guessed
]
1438 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1442 if test -n "$ac_init_help"; then
1447 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1448 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1449 --disable-dependency-tracking speeds up one-time build
1450 --enable-dependency-tracking do not reject slow dependency extractors
1451 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1452 --enable-static[=PKGS
] build static libraries
[default
=yes]
1453 --enable-fast-install[=PKGS
]
1454 optimize
for fast installation
[default
=yes]
1455 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1458 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1459 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1460 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1461 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1463 --with-tags[=TAGS
] include additional configurations
[automatic
]
1465 Some influential environment variables
:
1466 CXX C
++ compiler
command
1467 CXXFLAGS C
++ compiler flags
1468 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1469 nonstandard directory
<lib dir
>
1470 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1471 you have headers
in a nonstandard directory
<include dir
>
1472 CC C compiler
command
1473 CFLAGS C compiler flags
1475 CXXCPP C
++ preprocessor
1476 F77 Fortran
77 compiler
command
1477 FFLAGS Fortran
77 compiler flags
1479 Use these variables to override the choices made by
`configure' or to help
1480 it to find libraries and programs with nonstandard names/locations.
1486 if test "$ac_init_help" = "recursive"; then
1487 # If there are subdirs, report their specific --help.
1488 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1489 test -d "$ac_dir" || continue
1493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1496 # A ".." for each directory in $ac_dir_suffix.
1497 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1498 case $ac_top_builddir_sub in
1499 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1503 ac_abs_top_builddir=$ac_pwd
1504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1505 # for backward compatibility:
1506 ac_top_builddir=$ac_top_build_prefix
1509 .) # We are building in place.
1511 ac_top_srcdir=$ac_top_builddir_sub
1512 ac_abs_top_srcdir=$ac_pwd ;;
1513 [\\/]* | ?:[\\/]* ) # Absolute name.
1514 ac_srcdir=$srcdir$ac_dir_suffix;
1515 ac_top_srcdir=$srcdir
1516 ac_abs_top_srcdir=$srcdir ;;
1518 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1519 ac_top_srcdir=$ac_top_build_prefix$srcdir
1520 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1524 cd "$ac_dir" || { ac_status=$?; continue; }
1525 # Check for guested configure.
1526 if test -f "$ac_srcdir/configure.gnu"; then
1528 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1529 elif test -f "$ac_srcdir/configure"; then
1531 $SHELL "$ac_srcdir/configure" --help=recursive
1533 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1535 cd "$ac_pwd" || { ac_status=$?; break; }
1539 test -n "$ac_init_help" && exit $ac_status
1540 if $ac_init_version; then
1543 generated by GNU Autoconf 2.60
1545 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1546 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1547 This configure script is free software; the Free Software Foundation
1548 gives unlimited permission to copy, distribute and modify it.
1552 cat >config.log <<_ACEOF
1553 This file contains any messages produced by compilers while
1554 running configure, to aid debugging if configure makes a mistake.
1556 It was created by $as_me, which was
1557 generated by GNU Autoconf 2.60. Invocation command line was
1569 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1570 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1571 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1572 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1573 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1575 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1576 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1578 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1579 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1580 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1581 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1582 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1583 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1584 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1592 test -z "$as_dir" && as_dir=.
1593 echo "PATH: $as_dir"
1609 # Keep a trace of the command line.
1610 # Strip out --no-create and --no-recursion so they do not pile up.
1611 # Strip out --silent because we don't want to record it for future runs.
1612 # Also quote any args containing shell meta-characters.
1613 # Make two passes to allow for proper duplicate-argument suppression.
1617 ac_must_keep_next=false
1623 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1624 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1625 | -silent | --silent | --silen | --sile | --sil)
1628 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1631 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1633 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1634 if test $ac_must_keep_next = true; then
1635 ac_must_keep_next=false # Got value, back to normal.
1638 *=* | --config-cache | -C | -disable-* | --disable-* \
1639 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1640 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1641 | -with-* | --with-* | -without-* | --without-* | --x)
1642 case "$ac_configure_args0 " in
1643 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1646 -* ) ac_must_keep_next=true ;;
1649 ac_configure_args="$ac_configure_args '$ac_arg'"
1654 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1655 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1657 # When interrupted or exit'd, cleanup temporary files, and complete
1658 # config.log. We remove comments because anyway the quotes in there
1659 # would cause problems or look ugly.
1660 # WARNING: Use '\'' to represent an apostrophe within the trap.
1661 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1662 trap 'exit_status=$?
1663 # Save into config.log some information that might help in debugging.
1668 ## ---------------- ##
1669 ## Cache variables. ##
1670 ## ---------------- ##
1673 # The following way of writing the cache mishandles newlines in values,
1675 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1676 eval ac_val=\$$ac_var
1680 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1681 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1684 _ | IFS | as_nl) ;; #(
1685 *) $as_unset $ac_var ;;
1690 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1691 *${as_nl}ac_space=\ *)
1693 "s/'\''/'\''\\\\'\'''\''/g;
1694 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1697 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1705 ## ----------------- ##
1706 ## Output variables. ##
1707 ## ----------------- ##
1710 for ac_var in $ac_subst_vars
1712 eval ac_val=\$$ac_var
1714 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1716 echo "$ac_var='\''$ac_val'\''"
1720 if test -n "$ac_subst_files"; then
1722 ## ------------------- ##
1723 ## File substitutions. ##
1724 ## ------------------- ##
1727 for ac_var in $ac_subst_files
1729 eval ac_val=\$$ac_var
1731 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1733 echo "$ac_var='\''$ac_val'\''"
1738 if test -s confdefs.h; then
1748 test "$ac_signal" != 0 &&
1749 echo "$as_me: caught signal $ac_signal"
1750 echo "$as_me: exit $exit_status"
1752 rm -f core *.core core.conftest.* &&
1753 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1756 for ac_signal in 1 2 13 15; do
1757 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1761 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1762 rm -f -r conftest* confdefs.h
1764 # Predefined preprocessor variables.
1766 cat >>confdefs.h <<_ACEOF
1767 #define PACKAGE_NAME "$PACKAGE_NAME"
1771 cat >>confdefs.h <<_ACEOF
1772 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1776 cat >>confdefs.h <<_ACEOF
1777 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1781 cat >>confdefs.h <<_ACEOF
1782 #define PACKAGE_STRING "$PACKAGE_STRING"
1786 cat >>confdefs.h <<_ACEOF
1787 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1791 # Let the site file select an alternate cache file if it wants to.
1792 # Prefer explicitly selected file to automatically selected ones.
1793 if test -n "$CONFIG_SITE"; then
1794 set x "$CONFIG_SITE"
1795 elif test "x$prefix" != xNONE; then
1796 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1798 set x "$ac_default_prefix/share/config.site" \
1799 "$ac_default_prefix/etc/config.site"
1804 if test -r "$ac_site_file"; then
1805 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1806 echo "$as_me: loading site script $ac_site_file" >&6;}
1807 sed 's/^/| /' "$ac_site_file" >&5
1812 if test -r "$cache_file"; then
1813 # Some versions of bash will fail to source /dev/null (special
1814 # files actually), so we avoid doing that.
1815 if test -f "$cache_file"; then
1816 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1817 echo "$as_me: loading cache $cache_file" >&6;}
1819 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1820 *) . "./$cache_file";;
1824 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1825 echo "$as_me: creating cache $cache_file" >&6;}
1829 # Check that the precious variables saved in the cache have kept the same
1831 ac_cache_corrupted=false
1832 for ac_var in $ac_precious_vars; do
1833 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1834 eval ac_new_set=\$ac_env_${ac_var}_set
1835 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1836 eval ac_new_val=\$ac_env_${ac_var}_value
1837 case $ac_old_set,$ac_new_set in
1839 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1840 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1841 ac_cache_corrupted=: ;;
1843 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1844 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1845 ac_cache_corrupted=: ;;
1848 if test "x$ac_old_val" != "x$ac_new_val"; then
1849 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1850 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1851 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1852 echo "$as_me: former value
: $ac_old_val" >&2;}
1853 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1854 echo "$as_me: current value
: $ac_new_val" >&2;}
1855 ac_cache_corrupted=:
1858 # Pass precious variables to config.status.
1859 if test "$ac_new_set" = set; then
1861 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1862 *) ac_arg=$ac_var=$ac_new_val ;;
1864 case " $ac_configure_args " in
1865 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1866 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1870 if $ac_cache_corrupted; then
1871 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1872 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1873 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1874 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1875 { (exit 1); exit 1; }; }
1895 ac_cpp='$CPP $CPPFLAGS'
1896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1902 ac_config_headers="$ac_config_headers config.h"
1904 am__api_version="1.9"
1906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1907 if test -f "$ac_dir/install-sh"; then
1909 ac_install_sh="$ac_aux_dir/install-sh -c"
1911 elif test -f "$ac_dir/install.sh"; then
1913 ac_install_sh="$ac_aux_dir/install.sh -c"
1915 elif test -f "$ac_dir/shtool"; then
1917 ac_install_sh="$ac_aux_dir/shtool install -c"
1921 if test -z "$ac_aux_dir"; then
1922 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1923 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1924 { (exit 1); exit 1; }; }
1927 # These three variables are undocumented and unsupported,
1928 # and are intended to be withdrawn in a future Autoconf release.
1929 # They can cause serious problems if a builder's source tree is in a directory
1930 # whose full name contains unusual characters.
1931 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1932 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1933 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1936 # Find a good install program. We prefer a C program (faster),
1937 # so one script is as good as another. But avoid the broken or
1938 # incompatible versions:
1939 # SysV /etc/install, /usr/sbin/install
1940 # SunOS /usr/etc/install
1941 # IRIX /sbin/install
1943 # AmigaOS /C/install, which installs bootblocks on floppy discs
1944 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1945 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1946 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1947 # OS/2's system install, which has a completely different semantic
1948 # ./install, which can be erroneously created by make from ./install.sh.
1949 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1950 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1951 if test -z "$INSTALL"; then
1952 if test "${ac_cv_path_install+set}" = set; then
1953 echo $ECHO_N "(cached) $ECHO_C" >&6
1955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1959 test -z "$as_dir" && as_dir=.
1960 # Account for people who put trailing slashes in PATH elements.
1962 ./ | .// | /cC/* | \
1963 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1964 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1967 # OSF1 and SCO ODT 3.0 have their own names for install.
1968 # Don't use installbsd from OSF since it installs stuff as root
1970 for ac_prog in ginstall scoinst install; do
1971 for ac_exec_ext in '' $ac_executable_extensions; do
1972 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1973 if test $ac_prog = install &&
1974 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1975 # AIX install. It has an incompatible calling convention.
1977 elif test $ac_prog = install &&
1978 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1979 # program-specific install script used by HP pwplus--don't use.
1982 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1995 if test "${ac_cv_path_install+set}" = set; then
1996 INSTALL=$ac_cv_path_install
1998 # As a last resort, use the slow shell script. Don't cache a
1999 # value for INSTALL within a source directory, because that will
2000 # break other packages using the cache if that directory is
2001 # removed, or if the value is a relative name.
2002 INSTALL=$ac_install_sh
2005 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2006 echo "${ECHO_T}$INSTALL" >&6; }
2008 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2009 # It thinks the first close brace ends the variable substitution.
2010 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2012 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2014 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2016 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2017 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2020 echo timestamp > conftest.file
2021 # Do `set' in a subshell so we don't clobber the current shell
's
2022 # arguments. Must try -L first in case configure is actually a
2023 # symlink; some systems play weird games with the mod time of symlinks
2024 # (eg FreeBSD returns the mod time of the symlink's containing
2027 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2028 if test "$*" = "X"; then
2030 set X
`ls -t $srcdir/configure conftest.file`
2033 if test "$*" != "X $srcdir/configure conftest.file" \
2034 && test "$*" != "X conftest.file $srcdir/configure"; then
2036 # If neither matched, then we have a broken ls. This can happen
2037 # if, for instance, CONFIG_SHELL is bash and it inherits a
2038 # broken ls alias from the environment. This has actually
2039 # happened. Such a system could not be considered "sane".
2040 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2041 alias in your environment" >&5
2042 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2043 alias in your environment" >&2;}
2044 { (exit 1); exit 1; }; }
2047 test "$2" = conftest.
file
2053 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2054 Check your system clock" >&5
2055 echo "$as_me: error: newly created file is older than distributed files!
2056 Check your system clock" >&2;}
2057 { (exit 1); exit 1; }; }
2059 { echo "$as_me:$LINENO: result: yes" >&5
2060 echo "${ECHO_T}yes" >&6; }
2061 test "$program_prefix" != NONE
&&
2062 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2063 # Use a double $ so make ignores it.
2064 test "$program_suffix" != NONE
&&
2065 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2066 # Double any \ or $. echo might interpret backslashes.
2067 # By default was `s,x,x', remove it if useless.
2068 cat <<\_ACEOF
>conftest.
sed
2069 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2071 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2074 # expand $ac_aux_dir to an absolute path
2075 am_aux_dir
=`cd $ac_aux_dir && pwd`
2077 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2078 # Use eval to expand $SHELL
2079 if eval "$MISSING --run true"; then
2080 am_missing_run
="$MISSING --run "
2083 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2084 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2087 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2088 # We used to keeping the `.' as first argument, in order to
2089 # allow $(mkdir_p) to be used without argument. As in
2090 # $(mkdir_p) $(somedir)
2091 # where $(somedir) is conditionally defined. However this is wrong
2093 # 1. if the package is installed by a user who cannot write `.'
2094 # make install will fail,
2095 # 2. the above comment should most certainly read
2096 # $(mkdir_p) $(DESTDIR)$(somedir)
2097 # so it does not work when $(somedir) is undefined and
2098 # $(DESTDIR) is not.
2099 # To support the latter case, we have to write
2100 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2101 # so the `.' trick is pointless.
2102 mkdir_p
='mkdir -p --'
2104 # On NextStep and OpenStep, the `mkdir' command does not
2105 # recognize any option. It will interpret all options as
2106 # directories to create, and then abort because `.' already
2108 for d
in .
/-p .
/--version;
2110 test -d $d && rmdir $d
2112 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2113 if test -f "$ac_aux_dir/mkinstalldirs"; then
2114 mkdir_p
='$(mkinstalldirs)'
2116 mkdir_p
='$(install_sh) -d'
2120 for ac_prog
in gawk mawk nawk
awk
2122 # Extract the first word of "$ac_prog", so it can be a program name with args.
2123 set dummy
$ac_prog; ac_word
=$2
2124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2126 if test "${ac_cv_prog_AWK+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 if test -n "$AWK"; then
2130 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2136 test -z "$as_dir" && as_dir
=.
2137 for ac_exec_ext
in '' $ac_executable_extensions; do
2138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2139 ac_cv_prog_AWK
="$ac_prog"
2140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 if test -n "$AWK"; then
2151 { echo "$as_me:$LINENO: result: $AWK" >&5
2152 echo "${ECHO_T}$AWK" >&6; }
2154 { echo "$as_me:$LINENO: result: no" >&5
2155 echo "${ECHO_T}no" >&6; }
2159 test -n "$AWK" && break
2162 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2163 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2164 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2165 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 cat >conftest.
make <<\_ACEOF
2171 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2173 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2174 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2176 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2178 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2182 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2183 { echo "$as_me:$LINENO: result: yes" >&5
2184 echo "${ECHO_T}yes" >&6; }
2187 { echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6; }
2189 SET_MAKE
="MAKE=${MAKE-make}"
2192 rm -rf .tst
2>/dev
/null
2193 mkdir .tst
2>/dev
/null
2194 if test -d .tst
; then
2199 rmdir .tst
2>/dev
/null
2201 # test to see if srcdir already configured
2202 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2203 test -f $srcdir/config.status
; then
2204 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2205 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2206 { (exit 1); exit 1; }; }
2209 # test whether we have cygpath
2210 if test -z "$CYGPATH_W"; then
2211 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2212 CYGPATH_W
='cygpath -w'
2219 # Define the identity of the package.
2224 cat >>confdefs.h
<<_ACEOF
2225 #define PACKAGE "$PACKAGE"
2229 cat >>confdefs.h
<<_ACEOF
2230 #define VERSION "$VERSION"
2233 # Some tools Automake needs.
2235 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2238 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2241 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2244 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2247 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2249 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2251 # Installed binaries are usually stripped using `strip' when the user
2252 # run `make install-strip'. However `strip' might not be the right
2253 # tool to use in cross-compilation environments, therefore Automake
2254 # will honor the `STRIP' environment variable to overrule this program.
2255 if test "$cross_compiling" != no
; then
2256 if test -n "$ac_tool_prefix"; then
2257 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2258 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2261 if test "${ac_cv_prog_STRIP+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 if test -n "$STRIP"; then
2265 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir
=.
2272 for ac_exec_ext
in '' $ac_executable_extensions; do
2273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2274 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 STRIP
=$ac_cv_prog_STRIP
2285 if test -n "$STRIP"; then
2286 { echo "$as_me:$LINENO: result: $STRIP" >&5
2287 echo "${ECHO_T}$STRIP" >&6; }
2289 { echo "$as_me:$LINENO: result: no" >&5
2290 echo "${ECHO_T}no" >&6; }
2295 if test -z "$ac_cv_prog_STRIP"; then
2297 # Extract the first word of "strip", so it can be a program name with args.
2298 set dummy strip
; ac_word
=$2
2299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2301 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 if test -n "$ac_ct_STRIP"; then
2305 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir
=.
2312 for ac_exec_ext
in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_prog_ac_ct_STRIP
="strip"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2325 if test -n "$ac_ct_STRIP"; then
2326 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2327 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2329 { echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6; }
2333 if test "x$ac_ct_STRIP" = x
; then
2336 case $cross_compiling:$ac_tool_warned in
2338 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2339 whose name does not start with the host triplet. If you think this
2340 configuration is useful to you, please write to autoconf@gnu.org." >&5
2341 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2342 whose name does not start with the host triplet. If you think this
2343 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2344 ac_tool_warned
=yes ;;
2349 STRIP
="$ac_cv_prog_STRIP"
2353 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2355 # We need awk for the "check" target. The system "awk" is bad on
2357 # Always define AMTAR for backward compatibility.
2359 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2361 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2369 ac_cpp
='$CXXCPP $CPPFLAGS'
2370 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2371 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2372 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2375 ac_cpp
='$CXXCPP $CPPFLAGS'
2376 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2377 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2378 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2379 if test -z "$CXX"; then
2380 if test -n "$CCC"; then
2383 if test -n "$ac_tool_prefix"; then
2384 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2386 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2387 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2390 if test "${ac_cv_prog_CXX+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 if test -n "$CXX"; then
2394 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir
=.
2401 for ac_exec_ext
in '' $ac_executable_extensions; do
2402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2403 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2414 if test -n "$CXX"; then
2415 { echo "$as_me:$LINENO: result: $CXX" >&5
2416 echo "${ECHO_T}$CXX" >&6; }
2418 { echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6; }
2423 test -n "$CXX" && break
2426 if test -z "$CXX"; then
2428 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2430 # Extract the first word of "$ac_prog", so it can be a program name with args.
2431 set dummy
$ac_prog; ac_word
=$2
2432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2434 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 if test -n "$ac_ct_CXX"; then
2438 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir
=.
2445 for ac_exec_ext
in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2458 if test -n "$ac_ct_CXX"; then
2459 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2460 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2462 { echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6; }
2467 test -n "$ac_ct_CXX" && break
2470 if test "x$ac_ct_CXX" = x
; then
2473 case $cross_compiling:$ac_tool_warned in
2475 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2476 whose name does not start with the host triplet. If you think this
2477 configuration is useful to you, please write to autoconf@gnu.org." >&5
2478 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2479 whose name does not start with the host triplet. If you think this
2480 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2481 ac_tool_warned
=yes ;;
2489 # Provide some information about the compiler.
2490 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2491 ac_compiler
=`set X $ac_compile; echo $2`
2492 { (ac_try
="$ac_compiler --version >&5"
2494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2495 *) ac_try_echo=$ac_try;;
2497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2498 (eval "$ac_compiler --version >&5") 2>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); }
2502 { (ac_try="$ac_compiler -v >&5"
2504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2505 *) ac_try_echo
=$ac_try;;
2507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2508 (eval "$ac_compiler -v >&5") 2>&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }
2512 { (ac_try
="$ac_compiler -V >&5"
2514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2515 *) ac_try_echo=$ac_try;;
2517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2518 (eval "$ac_compiler -V >&5") 2>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }
2523 cat >conftest.$ac_ext <<_ACEOF
2526 cat confdefs.h >>conftest.$ac_ext
2527 cat >>conftest.$ac_ext <<_ACEOF
2528 /* end confdefs.h. */
2538 ac_clean_files_save=$ac_clean_files
2539 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2540 # Try to create an executable without -o first, disregard a.out.
2541 # It will help us diagnose broken compilers, and finding out an intuition
2543 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2544 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2545 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2547 # List of possible output files, starting from the most likely.
2548 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2549 # only as a last resort. b.out is created by i960 compilers.
2550 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2552 # The IRIX 6 linker writes into existing files which may not be
2553 # executable, retaining their permissions. Remove them first so a
2554 # subsequent execution test works.
2556 for ac_file in $ac_files
2559 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2560 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2565 if { (ac_try="$ac_link_default"
2567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2568 *) ac_try_echo=$ac_try;;
2570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2571 (eval "$ac_link_default") 2>&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; then
2575 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2576 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2577 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2578 # so that the user can short-circuit this test for compilers unknown to
2580 for ac_file
in $ac_files
2582 test -f "$ac_file" ||
continue
2584 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2587 # We found the default executable, but exeext='' is most
2591 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2593 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2595 # We set ac_cv_exeext here because the later test for it is not
2596 # safe: cross compilers may not add the suffix if given an `-o'
2597 # argument, so we may need to know it at that point already.
2598 # Even if this section looks crufty: it has the advantage of
2605 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2608 echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.
$ac_ext >&5
2611 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2612 See \`config.log' for more details." >&5
2613 echo "$as_me: error: C++ compiler cannot create executables
2614 See \`config.log' for more details." >&2;}
2615 { (exit 77); exit 77; }; }
2618 ac_exeext
=$ac_cv_exeext
2619 { echo "$as_me:$LINENO: result: $ac_file" >&5
2620 echo "${ECHO_T}$ac_file" >&6; }
2622 # Check that the compiler produces executables we can run. If not, either
2623 # the compiler is broken, or we cross compile.
2624 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2625 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2626 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2627 # If not cross compiling, check that we can run a simple program.
2628 if test "$cross_compiling" != yes; then
2629 if { ac_try
='./$ac_file'
2630 { (case "(($ac_try" in
2631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2635 (eval "$ac_try") 2>&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2641 if test "$cross_compiling" = maybe; then
2644 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2645 If you meant to cross compile, use \`--host'.
2646 See \`config.log' for more details.
" >&5
2647 echo "$as_me: error
: cannot run C
++ compiled programs.
2648 If you meant to cross compile
, use \
`--host'.
2649 See \`config.log
' for more details." >&2;}
2650 { (exit 1); exit 1; }; }
2654 { echo "$as_me:$LINENO: result: yes" >&5
2655 echo "${ECHO_T}yes" >&6; }
2657 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2658 ac_clean_files=$ac_clean_files_save
2659 # Check that the compiler produces executables we can run. If not, either
2660 # the compiler is broken, or we cross compile.
2661 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2662 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2663 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2664 echo "${ECHO_T}$cross_compiling" >&6; }
2666 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2667 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2668 if { (ac_try="$ac_link"
2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2674 (eval "$ac_link") 2>&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; then
2678 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2679 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2680 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2682 for ac_file
in conftest.exe conftest conftest.
*; do
2683 test -f "$ac_file" ||
continue
2685 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2686 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2692 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2693 See \`config.log' for more details." >&5
2694 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2695 See \`config.log' for more details." >&2;}
2696 { (exit 1); exit 1; }; }
2699 rm -f conftest
$ac_cv_exeext
2700 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2701 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2703 rm -f conftest.
$ac_ext
2704 EXEEXT
=$ac_cv_exeext
2706 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2707 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2708 if test "${ac_cv_objext+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 cat >conftest.
$ac_ext <<_ACEOF
2714 cat confdefs.h
>>conftest.
$ac_ext
2715 cat >>conftest.
$ac_ext <<_ACEOF
2716 /* end confdefs.h. */
2726 rm -f conftest.o conftest.obj
2727 if { (ac_try
="$ac_compile"
2729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2733 (eval "$ac_compile") 2>&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; then
2737 for ac_file in conftest.o conftest.obj conftest.*; do
2738 test -f "$ac_file" || continue;
2740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2741 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2746 echo "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2749 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2750 See \`config.log
' for more details." >&5
2751 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2752 See \`config.log' for more details.
" >&2;}
2753 { (exit 1); exit 1; }; }
2756 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2758 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2759 echo "${ECHO_T}$ac_cv_objext" >&6; }
2760 OBJEXT=$ac_cv_objext
2762 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2763 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2764 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2765 echo $ECHO_N "(cached
) $ECHO_C" >&6
2767 cat >conftest.$ac_ext <<_ACEOF
2770 cat confdefs.h >>conftest.$ac_ext
2771 cat >>conftest.$ac_ext <<_ACEOF
2772 /* end confdefs.h. */
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2794 grep -v '^ *+' conftest.er1 >conftest.err
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2798 (exit $ac_status); } &&
2799 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2800 { (case "(($ac_try" in
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2804 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2805 (eval "$ac_try") 2>&5
2807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2808 (exit $ac_status); }; } &&
2809 { ac_try='test -s conftest.$ac_objext'
2810 { (case "(($ac_try" in
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2814 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2815 (eval "$ac_try") 2>&5
2817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2818 (exit $ac_status); }; }; then
2821 echo "$as_me: failed program was
:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2828 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2831 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2832 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2833 GXX=`test $ac_compiler_gnu = yes && echo yes`
2834 ac_test_CXXFLAGS=${CXXFLAGS+set}
2835 ac_save_CXXFLAGS=$CXXFLAGS
2836 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2837 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2838 if test "${ac_cv_prog_cxx_g+set}" = set; then
2839 echo $ECHO_N "(cached
) $ECHO_C" >&6
2841 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2842 ac_cxx_werror_flag=yes
2845 cat >conftest.$ac_ext <<_ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2860 rm -f conftest.$ac_objext
2861 if { (ac_try="$ac_compile"
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2866 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2867 (eval "$ac_compile") 2>conftest.er1
2869 grep -v '^ *+' conftest.er1 >conftest.err
2871 cat conftest.err >&5
2872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2873 (exit $ac_status); } &&
2874 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2875 { (case "(($ac_try" in
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2879 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2880 (eval "$ac_try") 2>&5
2882 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2883 (exit $ac_status); }; } &&
2884 { ac_try='test -s conftest.$ac_objext'
2885 { (case "(($ac_try" in
2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2889 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2890 (eval "$ac_try") 2>&5
2892 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2893 (exit $ac_status); }; }; then
2894 ac_cv_prog_cxx_g=yes
2896 echo "$as_me: failed program was
:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2900 cat >conftest.$ac_ext <<_ACEOF
2903 cat confdefs.h >>conftest.$ac_ext
2904 cat >>conftest.$ac_ext <<_ACEOF
2905 /* end confdefs.h. */
2915 rm -f conftest.$ac_objext
2916 if { (ac_try="$ac_compile"
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2922 (eval "$ac_compile") 2>conftest.er1
2924 grep -v '^ *+' conftest.er1 >conftest.err
2926 cat conftest.err >&5
2927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2928 (exit $ac_status); } &&
2929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2930 { (case "(($ac_try" in
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2935 (eval "$ac_try") 2>&5
2937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2938 (exit $ac_status); }; } &&
2939 { ac_try='test -s conftest.$ac_objext'
2940 { (case "(($ac_try" in
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2944 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2945 (eval "$ac_try") 2>&5
2947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2948 (exit $ac_status); }; }; then
2951 echo "$as_me: failed program was
:" >&5
2952 sed 's/^/| /' conftest.$ac_ext >&5
2954 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2956 cat >conftest.$ac_ext <<_ACEOF
2959 cat confdefs.h >>conftest.$ac_ext
2960 cat >>conftest.$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2971 rm -f conftest.$ac_objext
2972 if { (ac_try="$ac_compile"
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_compile") 2>conftest.er1
2980 grep -v '^ *+' conftest.er1 >conftest.err
2982 cat conftest.err >&5
2983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2984 (exit $ac_status); } &&
2985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2986 { (case "(($ac_try" in
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2990 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2991 (eval "$ac_try") 2>&5
2993 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2994 (exit $ac_status); }; } &&
2995 { ac_try='test -s conftest.$ac_objext'
2996 { (case "(($ac_try" in
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3001 (eval "$ac_try") 2>&5
3003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3004 (exit $ac_status); }; }; then
3005 ac_cv_prog_cxx_g=yes
3007 echo "$as_me: failed program was
:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3020 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3022 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3023 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3024 if test "$ac_test_CXXFLAGS" = set; then
3025 CXXFLAGS=$ac_save_CXXFLAGS
3026 elif test $ac_cv_prog_cxx_g = yes; then
3027 if test "$GXX" = yes; then
3033 if test "$GXX" = yes; then
3040 ac_cpp='$CXXCPP $CPPFLAGS'
3041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3044 DEPDIR="${am__leading_dot}deps
"
3046 ac_config_commands="$ac_config_commands depfiles
"
3049 am_make=${MAKE-make}
3050 cat > confinc << 'END'
3055 # If we don't find an include directive, just comment out the code.
3056 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3057 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3061 # First try GNU make style include.
3062 echo "include confinc" > confmf
3063 # We grep out `Entering directory' and `Leaving directory'
3064 # messages which can occur if `w' ends up in MAKEFLAGS.
3065 # In particular we don't look at `^make:' because GNU make might
3066 # be invoked under some other name (usually "gmake"), in which
3067 # case it prints its new name instead of `make'.
3068 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3073 # Now try BSD make style include.
3074 if test "$am__include" = "#"; then
3075 echo '.include "confinc"' > confmf
3076 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3077 am__include
=.include
3084 { echo "$as_me:$LINENO: result: $_am_result" >&5
3085 echo "${ECHO_T}$_am_result" >&6; }
3086 rm -f confinc confmf
3088 # Check whether --enable-dependency-tracking was given.
3089 if test "${enable_dependency_tracking+set}" = set; then
3090 enableval
=$enable_dependency_tracking;
3093 if test "x$enable_dependency_tracking" != xno
; then
3094 am_depcomp
="$ac_aux_dir/depcomp"
3099 if test "x$enable_dependency_tracking" != xno; then
3110 depcc
="$CXX" am_compiler_list
=
3112 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3113 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3114 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3115 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3118 # We make a subdir and do the tests there. Otherwise we can end up
3119 # making bogus files that we don't know about and never remove. For
3120 # instance it was reported that on HP-UX the gcc test will end up
3121 # making a dummy file named `D' -- because `-MD' means `put the output
3124 # Copy depcomp to subdir because otherwise we won't find it if we're
3125 # using a relative directory.
3126 cp "$am_depcomp" conftest.dir
3128 # We will build objects and dependencies in a subdirectory because
3129 # it helps to detect inapplicable dependency modes. For instance
3130 # both Tru64's cc and ICC support -MD to output dependencies as a
3131 # side effect of compilation, but ICC will put the dependencies in
3132 # the current directory while Tru64 will put them in the object
3136 am_cv_CXX_dependencies_compiler_type
=none
3137 if test "$am_compiler_list" = ""; then
3138 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3140 for depmode
in $am_compiler_list; do
3141 # Setup a source with many dependencies, because some compilers
3142 # like to wrap large dependency lists on column 80 (with \), and
3143 # we should not choose a depcomp mode which is confused by this.
3145 # We need to recreate these files for each test, as the compiler may
3146 # overwrite some of them when testing with obscure command lines.
3147 # This happens at least with the AIX C compiler.
3149 for i
in 1 2 3 4 5 6; do
3150 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3151 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3152 # Solaris 8's {/usr,}/bin/sh.
3153 touch sub
/conftst
$i.h
3155 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3159 # after this tag, mechanisms are not by side-effect, so they'll
3160 # only be used when explicitly requested
3161 if test "x$enable_dependency_tracking" = xyes
; then
3169 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3170 # mode. It turns out that the SunPro C++ compiler does not properly
3171 # handle `-M -o', and we need to detect this.
3172 if depmode
=$depmode \
3173 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3174 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3175 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3176 >/dev
/null
2>conftest.err
&&
3177 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3178 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3179 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3180 # icc doesn't choke on unknown options, it will just issue warnings
3181 # or remarks (even with -Werror). So we grep stderr for any message
3182 # that says an option was ignored or not supported.
3183 # When given -MP, icc 7.0 and 7.1 complain thusly:
3184 # icc: Command line warning: ignoring option '-M'; no argument required
3185 # The diagnosis changed in icc 8.0:
3186 # icc: Command line remark: option '-MP' not supported
3187 if (grep 'ignoring option' conftest.err ||
3188 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3189 am_cv_CXX_dependencies_compiler_type
=$depmode
3198 am_cv_CXX_dependencies_compiler_type
=none
3202 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3203 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3204 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3209 test "x$enable_dependency_tracking" != xno \
3210 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3211 am__fastdepCXX_TRUE
=
3212 am__fastdepCXX_FALSE
='#'
3214 am__fastdepCXX_TRUE
='#'
3215 am__fastdepCXX_FALSE
=
3219 # Check whether --enable-shared was given.
3220 if test "${enable_shared+set}" = set; then
3221 enableval
=$enable_shared; p
=${PACKAGE-default}
3223 yes) enable_shared
=yes ;;
3224 no
) enable_shared
=no
;;
3227 # Look at the argument we got. We use all the common list separators.
3228 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3229 for pkg
in $enableval; do
3231 if test "X$pkg" = "X$p"; then
3243 # Check whether --enable-static was given.
3244 if test "${enable_static+set}" = set; then
3245 enableval
=$enable_static; p
=${PACKAGE-default}
3247 yes) enable_static
=yes ;;
3248 no
) enable_static
=no
;;
3251 # Look at the argument we got. We use all the common list separators.
3252 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3253 for pkg
in $enableval; do
3255 if test "X$pkg" = "X$p"; then
3267 # Check whether --enable-fast-install was given.
3268 if test "${enable_fast_install+set}" = set; then
3269 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3271 yes) enable_fast_install
=yes ;;
3272 no
) enable_fast_install
=no
;;
3274 enable_fast_install
=no
3275 # Look at the argument we got. We use all the common list separators.
3276 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3277 for pkg
in $enableval; do
3279 if test "X$pkg" = "X$p"; then
3280 enable_fast_install
=yes
3287 enable_fast_install
=yes
3291 # Make sure we can run config.sub.
3292 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3293 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3294 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3295 { (exit 1); exit 1; }; }
3297 { echo "$as_me:$LINENO: checking build system type" >&5
3298 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3299 if test "${ac_cv_build+set}" = set; then
3300 echo $ECHO_N "(cached) $ECHO_C" >&6
3302 ac_build_alias
=$build_alias
3303 test "x$ac_build_alias" = x
&&
3304 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3305 test "x$ac_build_alias" = x
&&
3306 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3307 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3308 { (exit 1); exit 1; }; }
3309 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3310 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3311 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3312 { (exit 1); exit 1; }; }
3315 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3316 echo "${ECHO_T}$ac_cv_build" >&6; }
3317 case $ac_cv_build in
3319 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3320 echo "$as_me: error: invalid value of canonical build" >&2;}
3321 { (exit 1); exit 1; }; };;
3324 ac_save_IFS
=$IFS; IFS
='-'
3330 # Remember, the first character of IFS is used to create $*,
3331 # except with old shells:
3334 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3337 { echo "$as_me:$LINENO: checking host system type" >&5
3338 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3339 if test "${ac_cv_host+set}" = set; then
3340 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 if test "x$host_alias" = x
; then
3343 ac_cv_host
=$ac_cv_build
3345 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3346 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3347 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3348 { (exit 1); exit 1; }; }
3352 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3353 echo "${ECHO_T}$ac_cv_host" >&6; }
3356 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3357 echo "$as_me: error: invalid value of canonical host" >&2;}
3358 { (exit 1); exit 1; }; };;
3361 ac_save_IFS
=$IFS; IFS
='-'
3367 # Remember, the first character of IFS is used to create $*,
3368 # except with old shells:
3371 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3375 ac_cpp
='$CPP $CPPFLAGS'
3376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3379 if test -n "$ac_tool_prefix"; then
3380 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3381 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3384 if test "${ac_cv_prog_CC+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 if test -n "$CC"; then
3388 ac_cv_prog_CC
="$CC" # Let the user override the test.
3390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir
=.
3395 for ac_exec_ext
in '' $ac_executable_extensions; do
3396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3397 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3408 if test -n "$CC"; then
3409 { echo "$as_me:$LINENO: result: $CC" >&5
3410 echo "${ECHO_T}$CC" >&6; }
3412 { echo "$as_me:$LINENO: result: no" >&5
3413 echo "${ECHO_T}no" >&6; }
3418 if test -z "$ac_cv_prog_CC"; then
3420 # Extract the first word of "gcc", so it can be a program name with args.
3421 set dummy gcc
; ac_word
=$2
3422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 if test -n "$ac_ct_CC"; then
3428 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3434 test -z "$as_dir" && as_dir
=.
3435 for ac_exec_ext
in '' $ac_executable_extensions; do
3436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3437 ac_cv_prog_ac_ct_CC
="gcc"
3438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3447 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3448 if test -n "$ac_ct_CC"; then
3449 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3450 echo "${ECHO_T}$ac_ct_CC" >&6; }
3452 { echo "$as_me:$LINENO: result: no" >&5
3453 echo "${ECHO_T}no" >&6; }
3456 if test "x$ac_ct_CC" = x
; then
3459 case $cross_compiling:$ac_tool_warned in
3461 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3462 whose name does not start with the host triplet. If you think this
3463 configuration is useful to you, please write to autoconf@gnu.org." >&5
3464 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3465 whose name does not start with the host triplet. If you think this
3466 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3467 ac_tool_warned
=yes ;;
3475 if test -z "$CC"; then
3476 if test -n "$ac_tool_prefix"; then
3477 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3478 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3481 if test "${ac_cv_prog_CC+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3484 if test -n "$CC"; then
3485 ac_cv_prog_CC
="$CC" # Let the user override the test.
3487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3491 test -z "$as_dir" && as_dir
=.
3492 for ac_exec_ext
in '' $ac_executable_extensions; do
3493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3494 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 if test -n "$CC"; then
3506 { echo "$as_me:$LINENO: result: $CC" >&5
3507 echo "${ECHO_T}$CC" >&6; }
3509 { echo "$as_me:$LINENO: result: no" >&5
3510 echo "${ECHO_T}no" >&6; }
3516 if test -z "$CC"; then
3517 # Extract the first word of "cc", so it can be a program name with args.
3518 set dummy cc
; ac_word
=$2
3519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3521 if test "${ac_cv_prog_CC+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 if test -n "$CC"; then
3525 ac_cv_prog_CC
="$CC" # Let the user override the test.
3528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3532 test -z "$as_dir" && as_dir
=.
3533 for ac_exec_ext
in '' $ac_executable_extensions; do
3534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3536 ac_prog_rejected
=yes
3540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3547 if test $ac_prog_rejected = yes; then
3548 # We found a bogon in the path, so make sure we never use it.
3549 set dummy
$ac_cv_prog_CC
3551 if test $# != 0; then
3552 # We chose a different compiler from the bogus one.
3553 # However, it has the same basename, so the bogon will be chosen
3554 # first if we set CC to just the basename; use the full file name.
3556 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3562 if test -n "$CC"; then
3563 { echo "$as_me:$LINENO: result: $CC" >&5
3564 echo "${ECHO_T}$CC" >&6; }
3566 { echo "$as_me:$LINENO: result: no" >&5
3567 echo "${ECHO_T}no" >&6; }
3572 if test -z "$CC"; then
3573 if test -n "$ac_tool_prefix"; then
3574 for ac_prog
in cl.exe
3576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3577 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3580 if test "${ac_cv_prog_CC+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 if test -n "$CC"; then
3584 ac_cv_prog_CC
="$CC" # Let the user override the test.
3586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir
=.
3591 for ac_exec_ext
in '' $ac_executable_extensions; do
3592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3593 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 if test -n "$CC"; then
3605 { echo "$as_me:$LINENO: result: $CC" >&5
3606 echo "${ECHO_T}$CC" >&6; }
3608 { echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6; }
3613 test -n "$CC" && break
3616 if test -z "$CC"; then
3618 for ac_prog
in cl.exe
3620 # Extract the first word of "$ac_prog", so it can be a program name with args.
3621 set dummy
$ac_prog; ac_word
=$2
3622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3627 if test -n "$ac_ct_CC"; then
3628 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3634 test -z "$as_dir" && as_dir
=.
3635 for ac_exec_ext
in '' $ac_executable_extensions; do
3636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3637 ac_cv_prog_ac_ct_CC
="$ac_prog"
3638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3648 if test -n "$ac_ct_CC"; then
3649 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3650 echo "${ECHO_T}$ac_ct_CC" >&6; }
3652 { echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6; }
3657 test -n "$ac_ct_CC" && break
3660 if test "x$ac_ct_CC" = x
; then
3663 case $cross_compiling:$ac_tool_warned in
3665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3666 whose name does not start with the host triplet. If you think this
3667 configuration is useful to you, please write to autoconf@gnu.org." >&5
3668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3669 whose name does not start with the host triplet. If you think this
3670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3671 ac_tool_warned
=yes ;;
3680 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3681 See \`config.log' for more details." >&5
3682 echo "$as_me: error: no acceptable C compiler found in \$PATH
3683 See \`config.log' for more details." >&2;}
3684 { (exit 1); exit 1; }; }
3686 # Provide some information about the compiler.
3687 echo "$as_me:$LINENO: checking for C compiler version" >&5
3688 ac_compiler
=`set X $ac_compile; echo $2`
3689 { (ac_try
="$ac_compiler --version >&5"
3691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3692 *) ac_try_echo=$ac_try;;
3694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3695 (eval "$ac_compiler --version >&5") 2>&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }
3699 { (ac_try="$ac_compiler -v >&5"
3701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3702 *) ac_try_echo
=$ac_try;;
3704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3705 (eval "$ac_compiler -v >&5") 2>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); }
3709 { (ac_try
="$ac_compiler -V >&5"
3711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3712 *) ac_try_echo=$ac_try;;
3714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3715 (eval "$ac_compiler -V >&5") 2>&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); }
3720 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3721 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3722 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3725 cat >conftest.$ac_ext <<_ACEOF
3728 cat confdefs.h >>conftest.$ac_ext
3729 cat >>conftest.$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3743 rm -f conftest.$ac_objext
3744 if { (ac_try="$ac_compile"
3746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3747 *) ac_try_echo
=$ac_try;;
3749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3750 (eval "$ac_compile") 2>conftest.er1
3752 grep -v '^ *+' conftest.er1
>conftest.err
3754 cat conftest.err
>&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); } &&
3757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3758 { (case "(($ac_try" in
3759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3760 *) ac_try_echo=$ac_try;;
3762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3763 (eval "$ac_try") 2>&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); }; } &&
3767 { ac_try='test -s conftest.$ac_objext'
3768 { (case "(($ac_try" in
3769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3770 *) ac_try_echo
=$ac_try;;
3772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3773 (eval "$ac_try") 2>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); }; }; then
3779 echo "$as_me: failed program was:" >&5
3780 sed 's/^/| /' conftest.
$ac_ext >&5
3785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3786 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3789 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3790 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3791 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3792 ac_test_CFLAGS
=${CFLAGS+set}
3793 ac_save_CFLAGS
=$CFLAGS
3794 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3795 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3796 if test "${ac_cv_prog_cc_g+set}" = set; then
3797 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 ac_save_c_werror_flag
=$ac_c_werror_flag
3800 ac_c_werror_flag
=yes
3803 cat >conftest.
$ac_ext <<_ACEOF
3806 cat confdefs.h
>>conftest.
$ac_ext
3807 cat >>conftest.
$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3818 rm -f conftest.
$ac_objext
3819 if { (ac_try
="$ac_compile"
3821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3825 (eval "$ac_compile") 2>conftest.er1
3827 grep -v '^ *+' conftest.er1 >conftest.err
3829 cat conftest.err >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); } &&
3832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3833 { (case "(($ac_try" in
3834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3835 *) ac_try_echo
=$ac_try;;
3837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3838 (eval "$ac_try") 2>&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); }; } &&
3842 { ac_try
='test -s conftest.$ac_objext'
3843 { (case "(($ac_try" in
3844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3848 (eval "$ac_try") 2>&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); }; }; then
3854 echo "$as_me: failed program was:" >&5
3855 sed 's/^/| /' conftest.$ac_ext >&5
3858 cat >conftest.$ac_ext <<_ACEOF
3861 cat confdefs.h >>conftest.$ac_ext
3862 cat >>conftest.$ac_ext <<_ACEOF
3863 /* end confdefs.h. */
3873 rm -f conftest.$ac_objext
3874 if { (ac_try="$ac_compile"
3876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3877 *) ac_try_echo
=$ac_try;;
3879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3880 (eval "$ac_compile") 2>conftest.er1
3882 grep -v '^ *+' conftest.er1
>conftest.err
3884 cat conftest.err
>&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); } &&
3887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3888 { (case "(($ac_try" in
3889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;;
3892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3893 (eval "$ac_try") 2>&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); }; } &&
3897 { ac_try='test -s conftest.$ac_objext'
3898 { (case "(($ac_try" in
3899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3900 *) ac_try_echo
=$ac_try;;
3902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3903 (eval "$ac_try") 2>&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); }; }; then
3909 echo "$as_me: failed program was:" >&5
3910 sed 's/^/| /' conftest.
$ac_ext >&5
3912 ac_c_werror_flag
=$ac_save_c_werror_flag
3914 cat >conftest.
$ac_ext <<_ACEOF
3917 cat confdefs.h
>>conftest.
$ac_ext
3918 cat >>conftest.
$ac_ext <<_ACEOF
3919 /* end confdefs.h. */
3929 rm -f conftest.
$ac_objext
3930 if { (ac_try
="$ac_compile"
3932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3933 *) ac_try_echo=$ac_try;;
3935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3936 (eval "$ac_compile") 2>conftest.er1
3938 grep -v '^ *+' conftest.er1 >conftest.err
3940 cat conftest.err >&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); } &&
3943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3944 { (case "(($ac_try" in
3945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3946 *) ac_try_echo
=$ac_try;;
3948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3949 (eval "$ac_try") 2>&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); }; } &&
3953 { ac_try
='test -s conftest.$ac_objext'
3954 { (case "(($ac_try" in
3955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3959 (eval "$ac_try") 2>&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); }; }; then
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.$ac_ext >&5
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3978 ac_c_werror_flag=$ac_save_c_werror_flag
3980 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3981 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3982 if test "$ac_test_CFLAGS" = set; then
3983 CFLAGS=$ac_save_CFLAGS
3984 elif test $ac_cv_prog_cc_g = yes; then
3985 if test "$GCC" = yes; then
3991 if test "$GCC" = yes; then
3997 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3998 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3999 if test "${ac_cv_prog_cc_c89+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 ac_cv_prog_cc_c89=no
4004 cat >conftest.$ac_ext <<_ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4012 #include <sys/types.h>
4013 #include <sys/stat.h>
4014 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4015 struct buf { int x; };
4016 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4017 static char *e (p, i)
4023 static char *f (char * (*g) (char **, int), char **p, ...)
4028 s = g (p, va_arg (v,int));
4033 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4034 function prototypes and stuff, but not '\xHH' hex character constants.
4035 These don't provoke an error unfortunately, instead are silently treated
4036 as 'x'. The following induces an error, until -std is added to get
4037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4038 array size at least. It's necessary to write '\x00'==0 to get something
4039 that's true only with -std. */
4040 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4042 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4043 inside strings and character constants. */
4045 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4047 int test (int i, double x);
4048 struct s1 {int (*f) (int a);};
4049 struct s2 {int (*f) (double a);};
4050 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4056 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4061 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4062 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4064 CC="$ac_save_CC $ac_arg"
4065 rm -f conftest.$ac_objext
4066 if { (ac_try="$ac_compile"
4068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4069 *) ac_try_echo
=$ac_try;;
4071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4072 (eval "$ac_compile") 2>conftest.er1
4074 grep -v '^ *+' conftest.er1
>conftest.err
4076 cat conftest.err
>&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); } &&
4079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4080 { (case "(($ac_try" in
4081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085 (eval "$ac_try") 2>&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; } &&
4089 { ac_try='test -s conftest.$ac_objext'
4090 { (case "(($ac_try" in
4091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4092 *) ac_try_echo
=$ac_try;;
4094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4095 (eval "$ac_try") 2>&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); }; }; then
4099 ac_cv_prog_cc_c89
=$ac_arg
4101 echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.
$ac_ext >&5
4107 rm -f core conftest.err conftest.
$ac_objext
4108 test "x$ac_cv_prog_cc_c89" != "xno" && break
4110 rm -f conftest.
$ac_ext
4115 case "x$ac_cv_prog_cc_c89" in
4117 { echo "$as_me:$LINENO: result: none needed" >&5
4118 echo "${ECHO_T}none needed" >&6; } ;;
4120 { echo "$as_me:$LINENO: result: unsupported" >&5
4121 echo "${ECHO_T}unsupported" >&6; } ;;
4123 CC
="$CC $ac_cv_prog_cc_c89"
4124 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4125 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4130 ac_cpp
='$CXXCPP $CPPFLAGS'
4131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4135 depcc
="$CC" am_compiler_list
=
4137 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4138 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4139 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4142 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4143 # We make a subdir and do the tests there. Otherwise we can end up
4144 # making bogus files that we don't know about and never remove. For
4145 # instance it was reported that on HP-UX the gcc test will end up
4146 # making a dummy file named `D' -- because `-MD' means `put the output
4149 # Copy depcomp to subdir because otherwise we won't find it if we're
4150 # using a relative directory.
4151 cp "$am_depcomp" conftest.dir
4153 # We will build objects and dependencies in a subdirectory because
4154 # it helps to detect inapplicable dependency modes. For instance
4155 # both Tru64's cc and ICC support -MD to output dependencies as a
4156 # side effect of compilation, but ICC will put the dependencies in
4157 # the current directory while Tru64 will put them in the object
4161 am_cv_CC_dependencies_compiler_type
=none
4162 if test "$am_compiler_list" = ""; then
4163 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4165 for depmode
in $am_compiler_list; do
4166 # Setup a source with many dependencies, because some compilers
4167 # like to wrap large dependency lists on column 80 (with \), and
4168 # we should not choose a depcomp mode which is confused by this.
4170 # We need to recreate these files for each test, as the compiler may
4171 # overwrite some of them when testing with obscure command lines.
4172 # This happens at least with the AIX C compiler.
4174 for i
in 1 2 3 4 5 6; do
4175 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4176 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4177 # Solaris 8's {/usr,}/bin/sh.
4178 touch sub
/conftst
$i.h
4180 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4184 # after this tag, mechanisms are not by side-effect, so they'll
4185 # only be used when explicitly requested
4186 if test "x$enable_dependency_tracking" = xyes
; then
4194 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4195 # mode. It turns out that the SunPro C++ compiler does not properly
4196 # handle `-M -o', and we need to detect this.
4197 if depmode
=$depmode \
4198 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4199 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4200 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4201 >/dev
/null
2>conftest.err
&&
4202 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4203 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4204 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4205 # icc doesn't choke on unknown options, it will just issue warnings
4206 # or remarks (even with -Werror). So we grep stderr for any message
4207 # that says an option was ignored or not supported.
4208 # When given -MP, icc 7.0 and 7.1 complain thusly:
4209 # icc: Command line warning: ignoring option '-M'; no argument required
4210 # The diagnosis changed in icc 8.0:
4211 # icc: Command line remark: option '-MP' not supported
4212 if (grep 'ignoring option' conftest.err ||
4213 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4214 am_cv_CC_dependencies_compiler_type
=$depmode
4223 am_cv_CC_dependencies_compiler_type
=none
4227 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4228 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4229 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4234 test "x$enable_dependency_tracking" != xno \
4235 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4237 am__fastdepCC_FALSE
='#'
4239 am__fastdepCC_TRUE
='#'
4240 am__fastdepCC_FALSE
=
4244 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4245 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4246 if test "${lt_cv_path_SED+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 # Loop through the user's path and test for sed and gsed.
4250 # Then use that list of sed's as ones to test for truncation.
4251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4255 test -z "$as_dir" && as_dir
=.
4256 for lt_ac_prog
in sed gsed
; do
4257 for ac_exec_ext
in '' $ac_executable_extensions; do
4258 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4259 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4266 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4267 # along with /bin/sed that truncates output.
4268 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4269 test ! -f $lt_ac_sed && continue
4270 cat /dev
/null
> conftest.
in
4272 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4273 # Check for GNU sed and select it if it is found.
4274 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4275 lt_cv_path_SED
=$lt_ac_sed
4279 cat conftest.
in conftest.
in >conftest.tmp
4280 mv conftest.tmp conftest.
in
4281 cp conftest.
in conftest.
nl
4283 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4284 cmp -s conftest.out conftest.
nl ||
break
4285 # 10000 chars as input seems more than enough
4286 test $lt_ac_count -gt 10 && break
4287 lt_ac_count
=`expr $lt_ac_count + 1`
4288 if test $lt_ac_count -gt $lt_ac_max; then
4289 lt_ac_max
=$lt_ac_count
4290 lt_cv_path_SED
=$lt_ac_sed
4298 { echo "$as_me:$LINENO: result: $SED" >&5
4299 echo "${ECHO_T}$SED" >&6; }
4301 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4302 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4303 if test "${ac_cv_path_GREP+set}" = set; then
4304 echo $ECHO_N "(cached) $ECHO_C" >&6
4306 # Extract the first word of "grep ggrep" to use in msg output
4307 if test -z "$GREP"; then
4308 set dummy
grep ggrep
; ac_prog_name
=$2
4309 if test "${ac_cv_path_GREP+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 ac_path_GREP_found
=false
4313 # Loop through the user's path and test for each of PROGNAME-LIST
4314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4315 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4318 test -z "$as_dir" && as_dir
=.
4319 for ac_prog
in grep ggrep
; do
4320 for ac_exec_ext
in '' $ac_executable_extensions; do
4321 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4322 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
4323 # Check for GNU ac_path_GREP and select it if it is found.
4324 # Check for GNU $ac_path_GREP
4325 case `"$ac_path_GREP" --version 2>&1` in
4327 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4330 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4333 cat "conftest.in" "conftest.in" >"conftest.tmp"
4334 mv "conftest.tmp" "conftest.in"
4335 cp "conftest.in" "conftest.nl"
4336 echo 'GREP' >> "conftest.nl"
4337 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4338 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4339 ac_count
=`expr $ac_count + 1`
4340 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4341 # Best one so far, save it but keep looking for a better one
4342 ac_cv_path_GREP
="$ac_path_GREP"
4343 ac_path_GREP_max
=$ac_count
4345 # 10*(2^10) chars as input seems more than enough
4346 test $ac_count -gt 10 && break
4348 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4352 $ac_path_GREP_found && break 3
4362 GREP
="$ac_cv_path_GREP"
4363 if test -z "$GREP"; then
4364 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4365 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4366 { (exit 1); exit 1; }; }
4370 ac_cv_path_GREP
=$GREP
4375 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4376 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4377 GREP
="$ac_cv_path_GREP"
4380 { echo "$as_me:$LINENO: checking for egrep" >&5
4381 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4382 if test "${ac_cv_path_EGREP+set}" = set; then
4383 echo $ECHO_N "(cached) $ECHO_C" >&6
4385 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4386 then ac_cv_path_EGREP
="$GREP -E"
4388 # Extract the first word of "egrep" to use in msg output
4389 if test -z "$EGREP"; then
4390 set dummy
egrep; ac_prog_name
=$2
4391 if test "${ac_cv_path_EGREP+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 ac_path_EGREP_found
=false
4395 # Loop through the user's path and test for each of PROGNAME-LIST
4396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4397 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4400 test -z "$as_dir" && as_dir
=.
4401 for ac_prog
in egrep; do
4402 for ac_exec_ext
in '' $ac_executable_extensions; do
4403 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4404 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
4405 # Check for GNU ac_path_EGREP and select it if it is found.
4406 # Check for GNU $ac_path_EGREP
4407 case `"$ac_path_EGREP" --version 2>&1` in
4409 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4412 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4415 cat "conftest.in" "conftest.in" >"conftest.tmp"
4416 mv "conftest.tmp" "conftest.in"
4417 cp "conftest.in" "conftest.nl"
4418 echo 'EGREP' >> "conftest.nl"
4419 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4420 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4421 ac_count
=`expr $ac_count + 1`
4422 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4423 # Best one so far, save it but keep looking for a better one
4424 ac_cv_path_EGREP
="$ac_path_EGREP"
4425 ac_path_EGREP_max
=$ac_count
4427 # 10*(2^10) chars as input seems more than enough
4428 test $ac_count -gt 10 && break
4430 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4434 $ac_path_EGREP_found && break 3
4444 EGREP
="$ac_cv_path_EGREP"
4445 if test -z "$EGREP"; then
4446 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4447 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4448 { (exit 1); exit 1; }; }
4452 ac_cv_path_EGREP
=$EGREP
4458 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4459 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4460 EGREP
="$ac_cv_path_EGREP"
4464 # Check whether --with-gnu-ld was given.
4465 if test "${with_gnu_ld+set}" = set; then
4466 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4472 if test "$GCC" = yes; then
4473 # Check if gcc -print-prog-name=ld gives a path.
4474 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4475 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4478 # gcc leaves a trailing carriage return which upsets mingw
4479 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4481 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4484 # Accept absolute paths.
4486 re_direlt
='/[^/][^/]*/\.\./'
4487 # Canonicalize the pathname of ld
4488 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4489 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4490 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4492 test -z "$LD" && LD
="$ac_prog"
4495 # If it fails, then pretend we aren't using GCC.
4499 # If it is relative, then search for the first ld in PATH.
4503 elif test "$with_gnu_ld" = yes; then
4504 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4505 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4507 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4508 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4510 if test "${lt_cv_path_LD+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 if test -z "$LD"; then
4514 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4515 for ac_dir
in $PATH; do
4517 test -z "$ac_dir" && ac_dir
=.
4518 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4519 lt_cv_path_LD
="$ac_dir/$ac_prog"
4520 # Check to see if the program is GNU ld. I'd rather use --version,
4521 # but apparently some variants of GNU ld only accept -v.
4522 # Break only if it was the GNU/non-GNU ld that we prefer.
4523 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4524 *GNU
* |
*'with BFD'*)
4525 test "$with_gnu_ld" != no
&& break
4528 test "$with_gnu_ld" != yes && break
4535 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4540 if test -n "$LD"; then
4541 { echo "$as_me:$LINENO: result: $LD" >&5
4542 echo "${ECHO_T}$LD" >&6; }
4544 { echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6; }
4547 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4548 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4549 { (exit 1); exit 1; }; }
4550 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4551 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4552 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4553 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4556 case `$LD -v 2>&1 </dev/null` in
4557 *GNU
* |
*'with BFD'*)
4558 lt_cv_prog_gnu_ld
=yes
4561 lt_cv_prog_gnu_ld
=no
4565 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4566 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4567 with_gnu_ld
=$lt_cv_prog_gnu_ld
4570 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4571 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4572 if test "${lt_cv_ld_reload_flag+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4575 lt_cv_ld_reload_flag
='-r'
4577 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4578 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4579 reload_flag
=$lt_cv_ld_reload_flag
4580 case $reload_flag in
4582 *) reload_flag
=" $reload_flag" ;;
4584 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4587 if test "$GCC" = yes; then
4588 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4590 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4595 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4596 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4597 if test "${lt_cv_path_NM+set}" = set; then
4598 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 if test -n "$NM"; then
4601 # Let the user override the test.
4604 lt_nm_to_check
="${ac_tool_prefix}nm"
4605 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4606 lt_nm_to_check
="$lt_nm_to_check nm"
4608 for lt_tmp_nm
in $lt_nm_to_check; do
4609 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4610 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4612 test -z "$ac_dir" && ac_dir
=.
4613 tmp_nm
="$ac_dir/$lt_tmp_nm"
4614 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4615 # Check to see if the nm accepts a BSD-compat flag.
4616 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4617 # nm: unknown option "B" ignored
4618 # Tru64's nm complains that /dev/null is an invalid object file
4619 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4620 */dev
/null
* |
*'Invalid file or object type'*)
4621 lt_cv_path_NM
="$tmp_nm -B"
4625 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4627 lt_cv_path_NM
="$tmp_nm -p"
4631 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4632 continue # so that we can try to find one that supports BSD flags
4641 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4644 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4645 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4648 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4649 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4651 if test "$LN_S" = "ln -s"; then
4652 { echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6; }
4655 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4656 echo "${ECHO_T}no, using $LN_S" >&6; }
4659 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4660 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4661 if test "${lt_cv_deplibs_check_method+set}" = set; then
4662 echo $ECHO_N "(cached) $ECHO_C" >&6
4664 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4665 lt_cv_file_magic_test_file
=
4666 lt_cv_deplibs_check_method
='unknown'
4667 # Need to set the preceding variable on all platforms that support
4668 # interlibrary dependencies.
4669 # 'none' -- dependencies not supported.
4670 # `unknown' -- same as none, but documents that we really don't know.
4671 # 'pass_all' -- all dependencies passed with no checks.
4672 # 'test_compile' -- check by making test program.
4673 # 'file_magic [[regex]]' -- check by looking for files in library path
4674 # which responds to the $file_magic_cmd with a given extended regex.
4675 # If you have `file' or equivalent on your system and you're not sure
4676 # whether `pass_all' will *always* work, you probably want this one.
4680 lt_cv_deplibs_check_method
=pass_all
4684 lt_cv_deplibs_check_method
=pass_all
4688 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4689 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4690 lt_cv_file_magic_test_file
=/shlib
/libc.so
4694 # func_win32_libid is a shell function defined in ltmain.sh
4695 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4696 lt_cv_file_magic_cmd
='func_win32_libid'
4700 # Base MSYS/MinGW do not provide the 'file' command needed by
4701 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4702 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4703 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4706 darwin
* | rhapsody
*)
4707 lt_cv_deplibs_check_method
=pass_all
4710 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4711 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4714 # Not sure whether the presence of OpenBSD here was a mistake.
4715 # Let's accept both of them until this is cleared up.
4716 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4717 lt_cv_file_magic_cmd
=/usr
/bin
/file
4718 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4722 lt_cv_deplibs_check_method
=pass_all
4727 lt_cv_deplibs_check_method
=pass_all
4730 hpux10.20
* | hpux11
*)
4731 lt_cv_file_magic_cmd
=/usr
/bin
/file
4734 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4735 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4738 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]'
4739 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4742 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4743 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4749 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4750 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4753 irix5
* | irix6
* | nonstopux
*)
4755 *-32|
*"-32 ") libmagic
=32-bit;;
4756 *-n32|
*"-n32 ") libmagic
=N32
;;
4757 *-64|
*"-64 ") libmagic
=64-bit;;
4758 *) libmagic
=never-match
;;
4760 lt_cv_deplibs_check_method
=pass_all
4763 # This must be Linux ELF.
4765 lt_cv_deplibs_check_method
=pass_all
4769 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4770 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4772 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4777 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4778 lt_cv_file_magic_cmd
=/usr
/bin
/file
4779 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4783 lt_cv_deplibs_check_method
=unknown
4787 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4788 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4790 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4794 osf3
* | osf4
* | osf5
*)
4795 lt_cv_deplibs_check_method
=pass_all
4799 lt_cv_deplibs_check_method
=pass_all
4803 case $host_vendor in
4805 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]'
4806 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4809 lt_cv_deplibs_check_method
=pass_all
4812 lt_cv_file_magic_cmd
='/bin/file'
4813 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4816 lt_cv_file_magic_cmd
='/bin/file'
4817 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4818 lt_cv_file_magic_test_file
=/lib
/libc.so
4821 lt_cv_deplibs_check_method
=pass_all
4824 lt_cv_deplibs_check_method
=pass_all
4829 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4830 lt_cv_deplibs_check_method
=pass_all
4835 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4836 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4837 file_magic_cmd
=$lt_cv_file_magic_cmd
4838 deplibs_check_method
=$lt_cv_deplibs_check_method
4839 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4844 # If no C compiler was specified, use CC.
4847 # If no C compiler flags were specified, use CFLAGS.
4848 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4850 # Allow CC to be a program name with arguments.
4854 # Check whether --enable-libtool-lock was given.
4855 if test "${enable_libtool_lock+set}" = set; then
4856 enableval
=$enable_libtool_lock;
4859 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4861 # Some flags need to be propagated to the compiler or linker for good
4865 # Find out which ABI we are using.
4866 echo 'int i;' > conftest.
$ac_ext
4867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4868 (eval $ac_compile) 2>&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); }; then
4872 case `/usr/bin/file conftest.$ac_objext` in
4884 # Find out which ABI we are using.
4885 echo '#line 4885 "configure"' > conftest.
$ac_ext
4886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4887 (eval $ac_compile) 2>&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); }; then
4891 if test "$lt_cv_prog_gnu_ld" = yes; then
4892 case `/usr/bin/file conftest.$ac_objext` in
4894 LD
="${LD-ld} -melf32bsmip"
4897 LD
="${LD-ld} -melf32bmipn32"
4900 LD
="${LD-ld} -melf64bmip"
4904 case `/usr/bin/file conftest.$ac_objext` in
4920 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4921 # Find out which ABI we are using.
4922 echo 'int i;' > conftest.
$ac_ext
4923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4924 (eval $ac_compile) 2>&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; then
4928 case `/usr/bin/file conftest.o` in
4932 LD
="${LD-ld} -m elf_i386"
4934 ppc64-
*linux
*|powerpc64-
*linux
*)
4935 LD
="${LD-ld} -m elf32ppclinux"
4938 LD
="${LD-ld} -m elf_s390"
4941 LD
="${LD-ld} -m elf32_sparc"
4948 LD
="${LD-ld} -m elf_x86_64"
4950 ppc
*-*linux
*|powerpc
*-*linux
*)
4951 LD
="${LD-ld} -m elf64ppc"
4954 LD
="${LD-ld} -m elf64_s390"
4957 LD
="${LD-ld} -m elf64_sparc"
4967 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4968 SAVE_CFLAGS
="$CFLAGS"
4969 CFLAGS
="$CFLAGS -belf"
4970 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4971 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4972 if test "${lt_cv_cc_needs_belf+set}" = set; then
4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4976 ac_cpp
='$CPP $CPPFLAGS'
4977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4981 cat >conftest.
$ac_ext <<_ACEOF
4984 cat confdefs.h
>>conftest.
$ac_ext
4985 cat >>conftest.
$ac_ext <<_ACEOF
4986 /* end confdefs.h. */
4996 rm -f conftest.
$ac_objext conftest
$ac_exeext
4997 if { (ac_try
="$ac_link"
4999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5000 *) ac_try_echo=$ac_try;;
5002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5003 (eval "$ac_link") 2>conftest.er1
5005 grep -v '^ *+' conftest.er1 >conftest.err
5007 cat conftest.err >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } &&
5010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5011 { (case "(($ac_try" in
5012 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5013 *) ac_try_echo
=$ac_try;;
5015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5016 (eval "$ac_try") 2>&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; } &&
5020 { ac_try
='test -s conftest$ac_exeext'
5021 { (case "(($ac_try" in
5022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5023 *) ac_try_echo=$ac_try;;
5025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5026 (eval "$ac_try") 2>&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; }; then
5030 lt_cv_cc_needs_belf=yes
5032 echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.$ac_ext >&5
5035 lt_cv_cc_needs_belf=no
5038 rm -f core conftest.err conftest.$ac_objext \
5039 conftest$ac_exeext conftest.$ac_ext
5041 ac_cpp='$CPP $CPPFLAGS'
5042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5047 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5048 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5049 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5050 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5051 CFLAGS="$SAVE_CFLAGS"
5055 # Find out which ABI we are using.
5056 echo 'int i;' > conftest.$ac_ext
5057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5058 (eval $ac_compile) 2>&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); }; then
5062 case `/usr
/bin
/file conftest.o
` in
5064 case $lt_cv_prog_gnu_ld in
5065 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5066 *) LD="${LD-ld} -64" ;;
5077 need_locks="$enable_libtool_lock"
5081 ac_cpp='$CPP $CPPFLAGS'
5082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5085 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5086 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5087 # On Suns, sometimes $CPP names a directory.
5088 if test -n "$CPP" && test -d "$CPP"; then
5091 if test -z "$CPP"; then
5092 if test "${ac_cv_prog_CPP+set}" = set; then
5093 echo $ECHO_N "(cached) $ECHO_C" >&6
5095 # Double quotes because CPP needs to be expanded
5096 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5099 for ac_c_preproc_warn_flag in '' yes
5101 # Use a header file that comes with gcc, so configuring glibc
5102 # with a fresh cross-compiler works.
5103 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5104 # <limits.h> exists even on freestanding compilers.
5105 # On the NeXT, cc -E runs the code through the compiler's parser,
5106 # not just through cpp. "Syntax error" is here to catch this case.
5107 cat >conftest.$ac_ext <<_ACEOF
5110 cat confdefs.h >>conftest.$ac_ext
5111 cat >>conftest.$ac_ext <<_ACEOF
5112 /* end confdefs.h. */
5114 # include <limits.h>
5116 # include <assert.h>
5120 if { (ac_try="$ac_cpp conftest.$ac_ext"
5122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5123 *) ac_try_echo
=$ac_try;;
5125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5128 grep -v '^ *+' conftest.er1
>conftest.err
5130 cat conftest.err
>&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); } >/dev
/null
; then
5133 if test -s conftest.err
; then
5134 ac_cpp_err
=$ac_c_preproc_warn_flag
5135 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5142 if test -z "$ac_cpp_err"; then
5145 echo "$as_me: failed program was:" >&5
5146 sed 's/^/| /' conftest.
$ac_ext >&5
5148 # Broken: fails on valid input.
5152 rm -f conftest.err conftest.
$ac_ext
5154 # OK, works on sane cases. Now check whether nonexistent headers
5155 # can be detected and how.
5156 cat >conftest.
$ac_ext <<_ACEOF
5159 cat confdefs.h
>>conftest.
$ac_ext
5160 cat >>conftest.
$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5162 #include <ac_nonexistent.h>
5164 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5167 *) ac_try_echo=$ac_try;;
5169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5172 grep -v '^ *+' conftest.er1 >conftest.err
5174 cat conftest.err >&5
5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 (exit $ac_status); } >/dev/null; then
5177 if test -s conftest.err; then
5178 ac_cpp_err=$ac_c_preproc_warn_flag
5179 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5186 if test -z "$ac_cpp_err"; then
5187 # Broken: success on invalid input.
5190 echo "$as_me: failed program was:" >&5
5191 sed 's/^/| /' conftest.$ac_ext >&5
5193 # Passes both tests.
5198 rm -f conftest.err conftest.$ac_ext
5201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5202 rm -f conftest.err conftest.
$ac_ext
5203 if $ac_preproc_ok; then
5215 { echo "$as_me:$LINENO: result: $CPP" >&5
5216 echo "${ECHO_T}$CPP" >&6; }
5218 for ac_c_preproc_warn_flag
in '' yes
5220 # Use a header file that comes with gcc, so configuring glibc
5221 # with a fresh cross-compiler works.
5222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5223 # <limits.h> exists even on freestanding compilers.
5224 # On the NeXT, cc -E runs the code through the compiler's parser,
5225 # not just through cpp. "Syntax error" is here to catch this case.
5226 cat >conftest.
$ac_ext <<_ACEOF
5229 cat confdefs.h
>>conftest.
$ac_ext
5230 cat >>conftest.
$ac_ext <<_ACEOF
5231 /* end confdefs.h. */
5233 # include <limits.h>
5235 # include <assert.h>
5239 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5242 *) ac_try_echo=$ac_try;;
5244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5247 grep -v '^ *+' conftest.er1 >conftest.err
5249 cat conftest.err >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); } >/dev/null; then
5252 if test -s conftest.err; then
5253 ac_cpp_err=$ac_c_preproc_warn_flag
5254 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5261 if test -z "$ac_cpp_err"; then
5264 echo "$as_me: failed program was:" >&5
5265 sed 's/^/| /' conftest.$ac_ext >&5
5267 # Broken: fails on valid input.
5271 rm -f conftest.err conftest.$ac_ext
5273 # OK, works on sane cases. Now check whether nonexistent headers
5274 # can be detected and how.
5275 cat >conftest.$ac_ext <<_ACEOF
5278 cat confdefs.h >>conftest.$ac_ext
5279 cat >>conftest.$ac_ext <<_ACEOF
5280 /* end confdefs.h. */
5281 #include <ac_nonexistent.h>
5283 if { (ac_try="$ac_cpp conftest.$ac_ext"
5285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5286 *) ac_try_echo
=$ac_try;;
5288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5289 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5291 grep -v '^ *+' conftest.er1
>conftest.err
5293 cat conftest.err
>&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); } >/dev
/null
; then
5296 if test -s conftest.err
; then
5297 ac_cpp_err
=$ac_c_preproc_warn_flag
5298 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5305 if test -z "$ac_cpp_err"; then
5306 # Broken: success on invalid input.
5309 echo "$as_me: failed program was:" >&5
5310 sed 's/^/| /' conftest.
$ac_ext >&5
5312 # Passes both tests.
5317 rm -f conftest.err conftest.
$ac_ext
5320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5321 rm -f conftest.err conftest.
$ac_ext
5322 if $ac_preproc_ok; then
5325 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5326 See \`config.log' for more details." >&5
5327 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5328 See \`config.log' for more details." >&2;}
5329 { (exit 1); exit 1; }; }
5333 ac_cpp
='$CPP $CPPFLAGS'
5334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5339 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5340 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5341 if test "${ac_cv_header_stdc+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 cat >conftest.
$ac_ext <<_ACEOF
5347 cat confdefs.h
>>conftest.
$ac_ext
5348 cat >>conftest.
$ac_ext <<_ACEOF
5349 /* end confdefs.h. */
5363 rm -f conftest.
$ac_objext
5364 if { (ac_try
="$ac_compile"
5366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5367 *) ac_try_echo=$ac_try;;
5369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5370 (eval "$ac_compile") 2>conftest.er1
5372 grep -v '^ *+' conftest.er1 >conftest.err
5374 cat conftest.err >&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); } &&
5377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5378 { (case "(($ac_try" in
5379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5380 *) ac_try_echo
=$ac_try;;
5382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5383 (eval "$ac_try") 2>&5
5385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386 (exit $ac_status); }; } &&
5387 { ac_try
='test -s conftest.$ac_objext'
5388 { (case "(($ac_try" in
5389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5390 *) ac_try_echo=$ac_try;;
5392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5393 (eval "$ac_try") 2>&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); }; }; then
5397 ac_cv_header_stdc=yes
5399 echo "$as_me: failed program was:" >&5
5400 sed 's/^/| /' conftest.$ac_ext >&5
5402 ac_cv_header_stdc=no
5405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5407 if test $ac_cv_header_stdc = yes; then
5408 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5409 cat >conftest.$ac_ext <<_ACEOF
5412 cat confdefs.h >>conftest.$ac_ext
5413 cat >>conftest.$ac_ext <<_ACEOF
5414 /* end confdefs.h. */
5418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5419 $EGREP "memchr" >/dev/null 2>&1; then
5422 ac_cv_header_stdc=no
5428 if test $ac_cv_header_stdc = yes; then
5429 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5430 cat >conftest.$ac_ext <<_ACEOF
5433 cat confdefs.h >>conftest.$ac_ext
5434 cat >>conftest.$ac_ext <<_ACEOF
5435 /* end confdefs.h. */
5439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5440 $EGREP "free" >/dev/null 2>&1; then
5443 ac_cv_header_stdc=no
5449 if test $ac_cv_header_stdc = yes; then
5450 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5451 if test "$cross_compiling" = yes; then
5454 cat >conftest.$ac_ext <<_ACEOF
5457 cat confdefs.h >>conftest.$ac_ext
5458 cat >>conftest.$ac_ext <<_ACEOF
5459 /* end confdefs.h. */
5462 #if ((' ' & 0x0FF) == 0x020)
5463 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5464 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5466 # define ISLOWER(c) \
5467 (('a' <= (c) && (c) <= 'i') \
5468 || ('j' <= (c) && (c) <= 'r') \
5469 || ('s' <= (c) && (c) <= 'z'))
5470 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5473 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5478 for (i = 0; i < 256; i++)
5479 if (XOR (islower (i), ISLOWER (i))
5480 || toupper (i) != TOUPPER (i))
5485 rm -f conftest$ac_exeext
5486 if { (ac_try="$ac_link"
5488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5489 *) ac_try_echo
=$ac_try;;
5491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5492 (eval "$ac_link") 2>&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5496 { (case "(($ac_try" in
5497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5498 *) ac_try_echo=$ac_try;;
5500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5501 (eval "$ac_try") 2>&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }; }; then
5507 echo "$as_me: program exited with status $ac_status" >&5
5508 echo "$as_me: failed program was:" >&5
5509 sed 's/^/| /' conftest.$ac_ext >&5
5512 ac_cv_header_stdc=no
5514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5520 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5521 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5522 if test $ac_cv_header_stdc = yes; then
5524 cat >>confdefs.h <<\_ACEOF
5525 #define STDC_HEADERS 1
5530 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5540 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5541 inttypes.h stdint.h unistd.h
5543 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5544 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+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 $ac_includes_default
5557 #include <$ac_header>
5559 rm -f conftest.$ac_objext
5560 if { (ac_try="$ac_compile"
5562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5563 *) ac_try_echo
=$ac_try;;
5565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5566 (eval "$ac_compile") 2>conftest.er1
5568 grep -v '^ *+' conftest.er1
>conftest.err
5570 cat conftest.err
>&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); } &&
5573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5574 { (case "(($ac_try" in
5575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5576 *) ac_try_echo=$ac_try;;
5578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5579 (eval "$ac_try") 2>&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); }; } &&
5583 { ac_try='test -s conftest.$ac_objext'
5584 { (case "(($ac_try" in
5585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5586 *) ac_try_echo
=$ac_try;;
5588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5589 (eval "$ac_try") 2>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); }; }; then
5593 eval "$as_ac_Header=yes"
5595 echo "$as_me: failed program was:" >&5
5596 sed 's/^/| /' conftest.
$ac_ext >&5
5598 eval "$as_ac_Header=no"
5601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5603 ac_res
=`eval echo '${'$as_ac_Header'}'`
5604 { echo "$as_me:$LINENO: result: $ac_res" >&5
5605 echo "${ECHO_T}$ac_res" >&6; }
5606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5607 cat >>confdefs.h
<<_ACEOF
5608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5617 for ac_header
in dlfcn.h
5619 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5620 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5623 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5624 echo $ECHO_N "(cached) $ECHO_C" >&6
5626 ac_res
=`eval echo '${'$as_ac_Header'}'`
5627 { echo "$as_me:$LINENO: result: $ac_res" >&5
5628 echo "${ECHO_T}$ac_res" >&6; }
5630 # Is the header compilable?
5631 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5633 cat >conftest.
$ac_ext <<_ACEOF
5636 cat confdefs.h
>>conftest.
$ac_ext
5637 cat >>conftest.
$ac_ext <<_ACEOF
5638 /* end confdefs.h. */
5639 $ac_includes_default
5640 #include <$ac_header>
5642 rm -f conftest.
$ac_objext
5643 if { (ac_try
="$ac_compile"
5645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5646 *) ac_try_echo=$ac_try;;
5648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5649 (eval "$ac_compile") 2>conftest.er1
5651 grep -v '^ *+' conftest.er1 >conftest.err
5653 cat conftest.err >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); } &&
5656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5657 { (case "(($ac_try" in
5658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5659 *) ac_try_echo
=$ac_try;;
5661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5662 (eval "$ac_try") 2>&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); }; } &&
5666 { ac_try
='test -s conftest.$ac_objext'
5667 { (case "(($ac_try" in
5668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5669 *) ac_try_echo=$ac_try;;
5671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5672 (eval "$ac_try") 2>&5
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); }; }; then
5676 ac_header_compiler=yes
5678 echo "$as_me: failed program was:" >&5
5679 sed 's/^/| /' conftest.$ac_ext >&5
5681 ac_header_compiler=no
5684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5685 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5686 echo "${ECHO_T}$ac_header_compiler" >&6; }
5688 # Is the header present?
5689 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5691 cat >conftest.$ac_ext <<_ACEOF
5694 cat confdefs.h >>conftest.$ac_ext
5695 cat >>conftest.$ac_ext <<_ACEOF
5696 /* end confdefs.h. */
5697 #include <$ac_header>
5699 if { (ac_try="$ac_cpp conftest.$ac_ext"
5701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5702 *) ac_try_echo
=$ac_try;;
5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5707 grep -v '^ *+' conftest.er1
>conftest.err
5709 cat conftest.err
>&5
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); } >/dev
/null
; then
5712 if test -s conftest.err
; then
5713 ac_cpp_err
=$ac_c_preproc_warn_flag
5714 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5721 if test -z "$ac_cpp_err"; then
5722 ac_header_preproc
=yes
5724 echo "$as_me: failed program was:" >&5
5725 sed 's/^/| /' conftest.
$ac_ext >&5
5727 ac_header_preproc
=no
5730 rm -f conftest.err conftest.
$ac_ext
5731 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5732 echo "${ECHO_T}$ac_header_preproc" >&6; }
5734 # So? What about this header?
5735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5737 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5738 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5740 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5741 ac_header_preproc
=yes
5744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5748 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5749 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5750 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5751 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5754 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5755 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5759 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5761 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5762 echo $ECHO_N "(cached) $ECHO_C" >&6
5764 eval "$as_ac_Header=\$ac_header_preproc"
5766 ac_res
=`eval echo '${'$as_ac_Header'}'`
5767 { echo "$as_me:$LINENO: result: $ac_res" >&5
5768 echo "${ECHO_T}$ac_res" >&6; }
5771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5772 cat >>confdefs.h
<<_ACEOF
5773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5782 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5783 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5784 (test "X$CXX" != "Xg++"))) ; then
5786 ac_cpp
='$CXXCPP $CPPFLAGS'
5787 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5788 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5789 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5790 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5791 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5792 if test -z "$CXXCPP"; then
5793 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 # Double quotes because CXXCPP needs to be expanded
5797 for CXXCPP
in "$CXX -E" "/lib/cpp"
5800 for ac_cxx_preproc_warn_flag
in '' yes
5802 # Use a header file that comes with gcc, so configuring glibc
5803 # with a fresh cross-compiler works.
5804 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5805 # <limits.h> exists even on freestanding compilers.
5806 # On the NeXT, cc -E runs the code through the compiler's parser,
5807 # not just through cpp. "Syntax error" is here to catch this case.
5808 cat >conftest.
$ac_ext <<_ACEOF
5811 cat confdefs.h
>>conftest.
$ac_ext
5812 cat >>conftest.
$ac_ext <<_ACEOF
5813 /* end confdefs.h. */
5815 # include <limits.h>
5817 # include <assert.h>
5821 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5824 *) ac_try_echo=$ac_try;;
5826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5829 grep -v '^ *+' conftest.er1 >conftest.err
5831 cat conftest.err >&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); } >/dev/null; then
5834 if test -s conftest.err; then
5835 ac_cpp_err=$ac_cxx_preproc_warn_flag
5836 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5843 if test -z "$ac_cpp_err"; then
5846 echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.$ac_ext >&5
5849 # Broken: fails on valid input.
5853 rm -f conftest.err conftest.$ac_ext
5855 # OK, works on sane cases. Now check whether nonexistent headers
5856 # can be detected and how.
5857 cat >conftest.$ac_ext <<_ACEOF
5860 cat confdefs.h >>conftest.$ac_ext
5861 cat >>conftest.$ac_ext <<_ACEOF
5862 /* end confdefs.h. */
5863 #include <ac_nonexistent.h>
5865 if { (ac_try="$ac_cpp conftest.$ac_ext"
5867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5868 *) ac_try_echo
=$ac_try;;
5870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5873 grep -v '^ *+' conftest.er1
>conftest.err
5875 cat conftest.err
>&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); } >/dev
/null
; then
5878 if test -s conftest.err
; then
5879 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5880 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5887 if test -z "$ac_cpp_err"; then
5888 # Broken: success on invalid input.
5891 echo "$as_me: failed program was:" >&5
5892 sed 's/^/| /' conftest.
$ac_ext >&5
5894 # Passes both tests.
5899 rm -f conftest.err conftest.
$ac_ext
5902 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5903 rm -f conftest.err conftest.
$ac_ext
5904 if $ac_preproc_ok; then
5909 ac_cv_prog_CXXCPP
=$CXXCPP
5912 CXXCPP
=$ac_cv_prog_CXXCPP
5914 ac_cv_prog_CXXCPP
=$CXXCPP
5916 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5917 echo "${ECHO_T}$CXXCPP" >&6; }
5919 for ac_cxx_preproc_warn_flag
in '' yes
5921 # Use a header file that comes with gcc, so configuring glibc
5922 # with a fresh cross-compiler works.
5923 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5924 # <limits.h> exists even on freestanding compilers.
5925 # On the NeXT, cc -E runs the code through the compiler's parser,
5926 # not just through cpp. "Syntax error" is here to catch this case.
5927 cat >conftest.
$ac_ext <<_ACEOF
5930 cat confdefs.h
>>conftest.
$ac_ext
5931 cat >>conftest.
$ac_ext <<_ACEOF
5932 /* end confdefs.h. */
5934 # include <limits.h>
5936 # include <assert.h>
5940 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5943 *) ac_try_echo=$ac_try;;
5945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5946 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5948 grep -v '^ *+' conftest.er1 >conftest.err
5950 cat conftest.err >&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); } >/dev/null; then
5953 if test -s conftest.err; then
5954 ac_cpp_err=$ac_cxx_preproc_warn_flag
5955 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5962 if test -z "$ac_cpp_err"; then
5965 echo "$as_me: failed program was:" >&5
5966 sed 's/^/| /' conftest.$ac_ext >&5
5968 # Broken: fails on valid input.
5972 rm -f conftest.err conftest.$ac_ext
5974 # OK, works on sane cases. Now check whether nonexistent headers
5975 # can be detected and how.
5976 cat >conftest.$ac_ext <<_ACEOF
5979 cat confdefs.h >>conftest.$ac_ext
5980 cat >>conftest.$ac_ext <<_ACEOF
5981 /* end confdefs.h. */
5982 #include <ac_nonexistent.h>
5984 if { (ac_try="$ac_cpp conftest.$ac_ext"
5986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5987 *) ac_try_echo
=$ac_try;;
5989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5992 grep -v '^ *+' conftest.er1
>conftest.err
5994 cat conftest.err
>&5
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); } >/dev
/null
; then
5997 if test -s conftest.err
; then
5998 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5999 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6006 if test -z "$ac_cpp_err"; then
6007 # Broken: success on invalid input.
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.
$ac_ext >&5
6013 # Passes both tests.
6018 rm -f conftest.err conftest.
$ac_ext
6021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6022 rm -f conftest.err conftest.
$ac_ext
6023 if $ac_preproc_ok; then
6026 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6027 See \`config.log' for more details." >&5
6028 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6029 See \`config.log' for more details." >&2;}
6030 { (exit 1); exit 1; }; }
6034 ac_cpp
='$CXXCPP $CPPFLAGS'
6035 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6036 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6037 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6043 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6044 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6045 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6046 if test -n "$ac_tool_prefix"; then
6047 for ac_prog
in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
6049 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6050 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6053 if test "${ac_cv_prog_F77+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 if test -n "$F77"; then
6057 ac_cv_prog_F77
="$F77" # Let the user override the test.
6059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6063 test -z "$as_dir" && as_dir
=.
6064 for ac_exec_ext
in '' $ac_executable_extensions; do
6065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6066 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 if test -n "$F77"; then
6078 { echo "$as_me:$LINENO: result: $F77" >&5
6079 echo "${ECHO_T}$F77" >&6; }
6081 { echo "$as_me:$LINENO: result: no" >&5
6082 echo "${ECHO_T}no" >&6; }
6086 test -n "$F77" && break
6089 if test -z "$F77"; then
6091 for ac_prog
in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
6093 # Extract the first word of "$ac_prog", so it can be a program name with args.
6094 set dummy
$ac_prog; ac_word
=$2
6095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6097 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6098 echo $ECHO_N "(cached) $ECHO_C" >&6
6100 if test -n "$ac_ct_F77"; then
6101 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6107 test -z "$as_dir" && as_dir
=.
6108 for ac_exec_ext
in '' $ac_executable_extensions; do
6109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6110 ac_cv_prog_ac_ct_F77
="$ac_prog"
6111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6121 if test -n "$ac_ct_F77"; then
6122 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6123 echo "${ECHO_T}$ac_ct_F77" >&6; }
6125 { echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6; }
6130 test -n "$ac_ct_F77" && break
6133 if test "x$ac_ct_F77" = x
; then
6136 case $cross_compiling:$ac_tool_warned in
6138 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6139 whose name does not start with the host triplet. If you think this
6140 configuration is useful to you, please write to autoconf@gnu.org." >&5
6141 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6142 whose name does not start with the host triplet. If you think this
6143 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6144 ac_tool_warned
=yes ;;
6151 # Provide some information about the compiler.
6152 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6153 ac_compiler
=`set X $ac_compile; echo $2`
6154 { (ac_try
="$ac_compiler --version >&5"
6156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6157 *) ac_try_echo=$ac_try;;
6159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6160 (eval "$ac_compiler --version >&5") 2>&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); }
6164 { (ac_try="$ac_compiler -v >&5"
6166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6167 *) ac_try_echo
=$ac_try;;
6169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6170 (eval "$ac_compiler -v >&5") 2>&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }
6174 { (ac_try
="$ac_compiler -V >&5"
6176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6177 *) ac_try_echo=$ac_try;;
6179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6180 (eval "$ac_compiler -V >&5") 2>&5
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); }
6186 # If we don't use `.F
' as extension, the preprocessor is not run on the
6187 # input file. (Note that this only needs to work for GNU compilers.)
6190 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6191 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6192 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6193 echo $ECHO_N "(cached) $ECHO_C" >&6
6195 cat >conftest.$ac_ext <<_ACEOF
6203 rm -f conftest.$ac_objext
6204 if { (ac_try="$ac_compile"
6206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6207 *) ac_try_echo=$ac_try;;
6209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6210 (eval "$ac_compile") 2>conftest.er1
6212 grep -v '^
*+' conftest.er1 >conftest.err
6214 cat conftest.err >&5
6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); } &&
6217 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
6218 { (case "(($ac_try" in
6219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6220 *) ac_try_echo=$ac_try;;
6222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6223 (eval "$ac_try") 2>&5
6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226 (exit $ac_status); }; } &&
6227 { ac_try='test -s conftest.
$ac_objext'
6228 { (case "(($ac_try" in
6229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6230 *) ac_try_echo=$ac_try;;
6232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6233 (eval "$ac_try") 2>&5
6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 (exit $ac_status); }; }; then
6239 echo "$as_me: failed program was:" >&5
6240 sed 's
/^
/|
/' conftest.$ac_ext >&5
6245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6246 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6249 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6250 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6252 ac_test_FFLAGS=${FFLAGS+set}
6253 ac_save_FFLAGS=$FFLAGS
6255 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6256 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6257 if test "${ac_cv_prog_f77_g+set}" = set; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6261 cat >conftest.$ac_ext <<_ACEOF
6266 rm -f conftest.$ac_objext
6267 if { (ac_try="$ac_compile"
6269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6270 *) ac_try_echo=$ac_try;;
6272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6273 (eval "$ac_compile") 2>conftest.er1
6275 grep -v '^
*+' conftest.er1 >conftest.err
6277 cat conftest.err >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); } &&
6280 { ac_try='test -z "$ac_f77_werror_flag" ||
test ! -s conftest.err
'
6281 { (case "(($ac_try" in
6282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6283 *) ac_try_echo=$ac_try;;
6285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6286 (eval "$ac_try") 2>&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }; } &&
6290 { ac_try='test -s conftest.
$ac_objext'
6291 { (case "(($ac_try" in
6292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6293 *) ac_try_echo=$ac_try;;
6295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6296 (eval "$ac_try") 2>&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; }; then
6300 ac_cv_prog_f77_g=yes
6302 echo "$as_me: failed program was:" >&5
6303 sed 's
/^
/|
/' conftest.$ac_ext >&5
6308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6311 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6312 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6313 if test "$ac_test_FFLAGS" = set; then
6314 FFLAGS=$ac_save_FFLAGS
6315 elif test $ac_cv_prog_f77_g = yes; then
6316 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6322 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6329 G77=`test $ac_compiler_gnu = yes && echo yes`
6331 ac_cpp='$CXXCPP $CPPFLAGS'
6332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6333 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6338 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6340 # find the maximum length of command line arguments
6341 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6342 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6343 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6351 # On DJGPP, this test can blow up pretty badly due to problems in libc
6352 # (any single argument exceeding 2000 bytes causes a buffer overrun
6353 # during glob expansion). Even if it were fixed, the result of this
6354 # check would be larger than it should be.
6355 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6359 # Under GNU Hurd, this test is not required because there is
6360 # no limit to the length of command line arguments.
6361 # Libtool will interpret -1 as no limit whatsoever
6362 lt_cv_sys_max_cmd_len
=-1;
6366 # On Win9x/ME, this test blows up -- it succeeds, but takes
6367 # about 5 minutes as the teststring grows exponentially.
6368 # Worse, since 9x/ME are not pre-emptively multitasking,
6369 # you end up with a "frozen" computer, even though with patience
6370 # the test eventually succeeds (with a max line length of 256k).
6371 # Instead, let's just punt: use the minimum linelength reported by
6372 # all of the supported platforms: 8192 (on NT/2K/XP).
6373 lt_cv_sys_max_cmd_len
=8192;
6377 # On AmigaOS with pdksh, this test takes hours, literally.
6378 # So we just punt and use a minimum line length of 8192.
6379 lt_cv_sys_max_cmd_len
=8192;
6382 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6383 # This has been around since 386BSD, at least. Likely further.
6384 if test -x /sbin
/sysctl
; then
6385 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6386 elif test -x /usr
/sbin
/sysctl
; then
6387 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6389 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6391 # And add a safety zone
6392 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6393 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6397 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6398 lt_cv_sys_max_cmd_len
=196608
6402 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6403 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6404 # nice to cause kernel panics so lets avoid the loop below.
6405 # First set a reasonable default.
6406 lt_cv_sys_max_cmd_len
=16384
6408 if test -x /sbin
/sysconfig
; then
6409 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6410 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6415 lt_cv_sys_max_cmd_len
=102400
6417 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6418 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6419 if test -n "$kargmax"; then
6420 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6422 lt_cv_sys_max_cmd_len
=32768
6426 # If test is not a shell built-in, we'll probably end up computing a
6427 # maximum length that is only half of the actual maximum length, but
6429 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6430 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6431 = "XX$teststring") >/dev
/null
2>&1 &&
6432 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6433 lt_cv_sys_max_cmd_len
=$new_result &&
6434 test $i != 17 # 1/2 MB should be enough
6437 teststring
=$teststring$teststring
6440 # Add a significant safety factor because C++ compilers can tack on massive
6441 # amounts of additional arguments before passing them to the linker.
6442 # It appears as though 1/2 is a usable value.
6443 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6449 if test -n $lt_cv_sys_max_cmd_len ; then
6450 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6451 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6453 { echo "$as_me:$LINENO: result: none" >&5
6454 echo "${ECHO_T}none" >&6; }
6460 # Check for command to grab the raw symbol name followed by C symbol from nm.
6461 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6462 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6463 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 # These are sane defaults that work on at least a few old systems.
6468 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6470 # Character class describing NM global symbol codes.
6471 symcode
='[BCDEGRST]'
6473 # Regexp to match symbols that can be accessed directly from C.
6474 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6476 # Transform an extracted symbol line into a proper C declaration
6477 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6479 # Transform an extracted symbol line into symbol name and symbol address
6480 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'"
6482 # Define system-specific variables.
6487 cygwin
* | mingw
* | pw32
*)
6488 symcode
='[ABCDGISTW]'
6490 hpux
*) # Its linker distinguishes data from code symbols
6491 if test "$host_cpu" = ia64
; then
6492 symcode
='[ABCDEGRST]'
6494 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6495 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'"
6498 if test "$host_cpu" = ia64
; then
6499 symcode
='[ABCDGIRSTW]'
6500 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6501 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'"
6505 symcode
='[BCDEGRST]'
6508 symcode
='[BCDEGQRST]'
6519 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6527 # Handle CRLF in mingw tool chain
6531 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6535 # If we're using GNU nm, then use its standard symbol codes.
6536 case `$NM -V 2>&1` in
6537 *GNU
* |
*'with BFD'*)
6538 symcode
='[ABCDGIRSTW]' ;;
6541 # Try without a prefix undercore, then with it.
6542 for ac_symprfx
in "" "_"; do
6544 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6545 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6547 # Write the raw and C identifiers.
6548 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6550 # Check to see that the pipe works correctly.
6554 cat > conftest.
$ac_ext <<EOF
6559 void nm_test_func(){}
6563 int main(){nm_test_var='a';nm_test_func();return(0);}
6566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6567 (eval $ac_compile) 2>&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; then
6571 # Now try to grab the symbols.
6573 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6574 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); } && test -s "$nlist"; then
6578 # Try sorting and uniquifying the output.
6579 if sort "$nlist" |
uniq > "$nlist"T
; then
6580 mv -f "$nlist"T
"$nlist"
6585 # Make sure that we snagged all the symbols we need.
6586 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6587 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6588 cat <<EOF > conftest.$ac_ext
6594 # Now generate the symbol file.
6595 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6597 cat <<EOF >> conftest.$ac_ext
6598 #if defined (__STDC__) && __STDC__
6599 # define lt_ptr_t void *
6601 # define lt_ptr_t char *
6605 /* The mapping between symbol names and symbols. */
6610 lt_preloaded_symbols[] =
6613 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6614 cat <<\EOF
>> conftest.
$ac_ext
6622 # Now try linking the two files.
6623 mv conftest.
$ac_objext conftstm.
$ac_objext
6624 lt_save_LIBS
="$LIBS"
6625 lt_save_CFLAGS
="$CFLAGS"
6626 LIBS
="conftstm.$ac_objext"
6627 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6629 (eval $ac_link) 2>&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6635 LIBS
="$lt_save_LIBS"
6636 CFLAGS
="$lt_save_CFLAGS"
6638 echo "cannot find nm_test_func in $nlist" >&5
6641 echo "cannot find nm_test_var in $nlist" >&5
6644 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6647 echo "$progname: failed program was:" >&5
6648 cat conftest.
$ac_ext >&5
6650 rm -f conftest
* conftst
*
6652 # Do not use the global_symbol_pipe unless it works.
6653 if test "$pipe_works" = yes; then
6656 lt_cv_sys_global_symbol_pipe
=
6662 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6663 lt_cv_sys_global_symbol_to_cdecl
=
6665 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6666 { echo "$as_me:$LINENO: result: failed" >&5
6667 echo "${ECHO_T}failed" >&6; }
6669 { echo "$as_me:$LINENO: result: ok" >&5
6670 echo "${ECHO_T}ok" >&6; }
6673 { echo "$as_me:$LINENO: checking for objdir" >&5
6674 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6675 if test "${lt_cv_objdir+set}" = set; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 rm -f .libs
2>/dev
/null
6679 mkdir .libs
2>/dev
/null
6680 if test -d .libs
; then
6683 # MS-DOS does not allow filenames that begin with a dot.
6686 rmdir .libs
2>/dev
/null
6688 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6689 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6690 objdir
=$lt_cv_objdir
6698 # AIX sometimes has problems with the GCC collect2 program. For some
6699 # reason, if we set the COLLECT_NAMES environment variable, the problems
6700 # vanish in a puff of smoke.
6701 if test "X${COLLECT_NAMES+set}" != Xset
; then
6703 export COLLECT_NAMES
6708 # Sed substitution that helps us do robust quoting. It backslashifies
6709 # metacharacters that are still active within double-quoted strings.
6710 Xsed
='sed -e 1s/^X//'
6711 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6713 # Same as above, but do not quote variable references.
6714 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6716 # Sed substitution to delay expansion of an escaped shell variable in a
6717 # double_quote_subst'ed string.
6718 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6720 # Sed substitution to avoid accidental globbing in evaled expressions
6721 no_glob_subst
='s/\*/\\\*/g'
6727 default_ofile
=libtool
6728 can_build_shared
=yes
6730 # All known linkers require a `.a' archive for static linking (except MSVC,
6731 # which needs '.lib').
6733 ltmain
="$ac_aux_dir/ltmain.sh"
6734 ofile
="$default_ofile"
6735 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6737 if test -n "$ac_tool_prefix"; then
6738 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6739 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6742 if test "${ac_cv_prog_AR+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 if test -n "$AR"; then
6746 ac_cv_prog_AR
="$AR" # Let the user override the test.
6748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6752 test -z "$as_dir" && as_dir
=.
6753 for ac_exec_ext
in '' $ac_executable_extensions; do
6754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6755 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 if test -n "$AR"; then
6767 { echo "$as_me:$LINENO: result: $AR" >&5
6768 echo "${ECHO_T}$AR" >&6; }
6770 { echo "$as_me:$LINENO: result: no" >&5
6771 echo "${ECHO_T}no" >&6; }
6776 if test -z "$ac_cv_prog_AR"; then
6778 # Extract the first word of "ar", so it can be a program name with args.
6779 set dummy
ar; ac_word
=$2
6780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6782 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6783 echo $ECHO_N "(cached) $ECHO_C" >&6
6785 if test -n "$ac_ct_AR"; then
6786 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6792 test -z "$as_dir" && as_dir
=.
6793 for ac_exec_ext
in '' $ac_executable_extensions; do
6794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6795 ac_cv_prog_ac_ct_AR
="ar"
6796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6805 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6806 if test -n "$ac_ct_AR"; then
6807 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6808 echo "${ECHO_T}$ac_ct_AR" >&6; }
6810 { echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6; }
6814 if test "x$ac_ct_AR" = x
; then
6817 case $cross_compiling:$ac_tool_warned in
6819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6820 whose name does not start with the host triplet. If you think this
6821 configuration is useful to you, please write to autoconf@gnu.org." >&5
6822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6823 whose name does not start with the host triplet. If you think this
6824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6825 ac_tool_warned
=yes ;;
6833 if test -n "$ac_tool_prefix"; then
6834 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6835 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6838 if test "${ac_cv_prog_RANLIB+set}" = set; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6841 if test -n "$RANLIB"; then
6842 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6848 test -z "$as_dir" && as_dir
=.
6849 for ac_exec_ext
in '' $ac_executable_extensions; do
6850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6851 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6861 RANLIB
=$ac_cv_prog_RANLIB
6862 if test -n "$RANLIB"; then
6863 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6864 echo "${ECHO_T}$RANLIB" >&6; }
6866 { echo "$as_me:$LINENO: result: no" >&5
6867 echo "${ECHO_T}no" >&6; }
6872 if test -z "$ac_cv_prog_RANLIB"; then
6873 ac_ct_RANLIB
=$RANLIB
6874 # Extract the first word of "ranlib", so it can be a program name with args.
6875 set dummy ranlib
; ac_word
=$2
6876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6878 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6879 echo $ECHO_N "(cached) $ECHO_C" >&6
6881 if test -n "$ac_ct_RANLIB"; then
6882 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6888 test -z "$as_dir" && as_dir
=.
6889 for ac_exec_ext
in '' $ac_executable_extensions; do
6890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6891 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6901 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6902 if test -n "$ac_ct_RANLIB"; then
6903 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6904 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6906 { echo "$as_me:$LINENO: result: no" >&5
6907 echo "${ECHO_T}no" >&6; }
6910 if test "x$ac_ct_RANLIB" = x
; then
6913 case $cross_compiling:$ac_tool_warned in
6915 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6916 whose name does not start with the host triplet. If you think this
6917 configuration is useful to you, please write to autoconf@gnu.org." >&5
6918 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6919 whose name does not start with the host triplet. If you think this
6920 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6921 ac_tool_warned
=yes ;;
6923 RANLIB
=$ac_ct_RANLIB
6926 RANLIB
="$ac_cv_prog_RANLIB"
6929 if test -n "$ac_tool_prefix"; then
6930 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6931 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6934 if test "${ac_cv_prog_STRIP+set}" = set; then
6935 echo $ECHO_N "(cached) $ECHO_C" >&6
6937 if test -n "$STRIP"; then
6938 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir
=.
6945 for ac_exec_ext
in '' $ac_executable_extensions; do
6946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6947 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 STRIP
=$ac_cv_prog_STRIP
6958 if test -n "$STRIP"; then
6959 { echo "$as_me:$LINENO: result: $STRIP" >&5
6960 echo "${ECHO_T}$STRIP" >&6; }
6962 { echo "$as_me:$LINENO: result: no" >&5
6963 echo "${ECHO_T}no" >&6; }
6968 if test -z "$ac_cv_prog_STRIP"; then
6970 # Extract the first word of "strip", so it can be a program name with args.
6971 set dummy strip
; ac_word
=$2
6972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6974 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6975 echo $ECHO_N "(cached) $ECHO_C" >&6
6977 if test -n "$ac_ct_STRIP"; then
6978 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6984 test -z "$as_dir" && as_dir
=.
6985 for ac_exec_ext
in '' $ac_executable_extensions; do
6986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6987 ac_cv_prog_ac_ct_STRIP
="strip"
6988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6997 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6998 if test -n "$ac_ct_STRIP"; then
6999 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7000 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7002 { echo "$as_me:$LINENO: result: no" >&5
7003 echo "${ECHO_T}no" >&6; }
7006 if test "x$ac_ct_STRIP" = x
; then
7009 case $cross_compiling:$ac_tool_warned in
7011 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7012 whose name does not start with the host triplet. If you think this
7013 configuration is useful to you, please write to autoconf@gnu.org." >&5
7014 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7015 whose name does not start with the host triplet. If you think this
7016 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7017 ac_tool_warned
=yes ;;
7022 STRIP
="$ac_cv_prog_STRIP"
7027 old_CFLAGS
="$CFLAGS"
7029 # Set sane defaults for various variables
7030 test -z "$AR" && AR
=ar
7031 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7032 test -z "$AS" && AS
=as
7033 test -z "$CC" && CC
=cc
7034 test -z "$LTCC" && LTCC
=$CC
7035 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7036 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7037 test -z "$LD" && LD
=ld
7038 test -z "$LN_S" && LN_S
="ln -s"
7039 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7040 test -z "$NM" && NM
=nm
7041 test -z "$SED" && SED
=sed
7042 test -z "$OBJDUMP" && OBJDUMP
=objdump
7043 test -z "$RANLIB" && RANLIB
=:
7044 test -z "$STRIP" && STRIP
=:
7045 test -z "$ac_objext" && ac_objext
=o
7047 # Determine commands to create old-style static archives.
7048 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7049 old_postinstall_cmds
='chmod 644 $oldlib'
7050 old_postuninstall_cmds
=
7052 if test -n "$RANLIB"; then
7055 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7058 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7061 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7064 for cc_temp
in $compiler""; do
7066 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7067 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7072 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7075 # Only perform the check for file, if the check method requires it
7076 case $deplibs_check_method in
7078 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7079 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7080 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7081 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7086 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7089 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7090 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7091 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7092 for ac_dir
in $ac_dummy; do
7094 test -z "$ac_dir" && ac_dir
=.
7095 if test -f $ac_dir/${ac_tool_prefix}file; then
7096 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7097 if test -n "$file_magic_test_file"; then
7098 case $deplibs_check_method in
7100 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7101 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7102 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7103 $EGREP "$file_magic_regex" > /dev
/null
; then
7108 *** Warning: the command libtool uses to detect shared libraries,
7109 *** $file_magic_cmd, produces output that libtool cannot recognize.
7110 *** The result is that libtool may fail to recognize shared libraries
7111 *** as such. This will affect the creation of libtool libraries that
7112 *** depend on shared libraries, but programs linked with such libtool
7113 *** libraries will work regardless of this problem. Nevertheless, you
7114 *** may want to report the problem to your system manager and/or to
7115 *** bug-libtool@gnu.org
7125 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7130 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7131 if test -n "$MAGIC_CMD"; then
7132 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7133 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7135 { echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6; }
7139 if test -z "$lt_cv_path_MAGIC_CMD"; then
7140 if test -n "$ac_tool_prefix"; then
7141 { echo "$as_me:$LINENO: checking for file" >&5
7142 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7143 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7144 echo $ECHO_N "(cached) $ECHO_C" >&6
7148 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7151 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7152 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7153 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7154 for ac_dir
in $ac_dummy; do
7156 test -z "$ac_dir" && ac_dir
=.
7157 if test -f $ac_dir/file; then
7158 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7159 if test -n "$file_magic_test_file"; then
7160 case $deplibs_check_method in
7162 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7163 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7164 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7165 $EGREP "$file_magic_regex" > /dev
/null
; then
7170 *** Warning: the command libtool uses to detect shared libraries,
7171 *** $file_magic_cmd, produces output that libtool cannot recognize.
7172 *** The result is that libtool may fail to recognize shared libraries
7173 *** as such. This will affect the creation of libtool libraries that
7174 *** depend on shared libraries, but programs linked with such libtool
7175 *** libraries will work regardless of this problem. Nevertheless, you
7176 *** may want to report the problem to your system manager and/or to
7177 *** bug-libtool@gnu.org
7187 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7192 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7193 if test -n "$MAGIC_CMD"; then
7194 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7195 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7197 { echo "$as_me:$LINENO: result: no" >&5
7198 echo "${ECHO_T}no" >&6; }
7213 # Check whether --enable-libtool-lock was given.
7214 if test "${enable_libtool_lock+set}" = set; then
7215 enableval
=$enable_libtool_lock;
7218 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7221 # Check whether --with-pic was given.
7222 if test "${with_pic+set}" = set; then
7223 withval
=$with_pic; pic_mode
="$withval"
7228 test -z "$pic_mode" && pic_mode
=default
7230 # Use C for the default configuration in the libtool script
7234 ac_cpp
='$CPP $CPPFLAGS'
7235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7240 # Source file extension for C test sources.
7243 # Object file extension for compiled C test sources.
7247 # Code to be used in simple compile tests
7248 lt_simple_compile_test_code
="int some_variable = 0;\n"
7250 # Code to be used in simple link tests
7251 lt_simple_link_test_code
='int main(){return(0);}\n'
7254 # If no C compiler was specified, use CC.
7257 # If no C compiler flags were specified, use CFLAGS.
7258 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7260 # Allow CC to be a program name with arguments.
7264 # save warnings/boilerplate of simple test code
7265 ac_outfile
=conftest.
$ac_objext
7266 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7267 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7268 _lt_compiler_boilerplate
=`cat conftest.err`
7271 ac_outfile
=conftest.
$ac_objext
7272 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7273 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7274 _lt_linker_boilerplate
=`cat conftest.err`
7279 lt_prog_compiler_no_builtin_flag
=
7281 if test "$GCC" = yes; then
7282 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7285 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7286 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7287 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 lt_cv_prog_compiler_rtti_exceptions
=no
7291 ac_outfile
=conftest.
$ac_objext
7292 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7293 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7294 # Insert the option either (1) after the last *FLAGS variable, or
7295 # (2) before a word containing "conftest.", or (3) at the end.
7296 # Note that $ac_compile itself does not contain backslashes and begins
7297 # with a dollar sign (not a hyphen), so the echo should work correctly.
7298 # The option is referenced via a variable to avoid confusing sed.
7299 lt_compile
=`echo "$ac_compile" | $SED \
7300 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7301 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7302 -e 's:$: $lt_compiler_flag:'`
7303 (eval echo "\"\$as_me:7303: $lt_compile\"" >&5)
7304 (eval "$lt_compile" 2>conftest.err
)
7306 cat conftest.err
>&5
7307 echo "$as_me:7307: \$? = $ac_status" >&5
7308 if (exit $ac_status) && test -s "$ac_outfile"; then
7309 # The compiler can only warn and ignore the option if not recognized
7310 # So say no if there are warnings other than the usual output.
7311 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7312 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7313 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7314 lt_cv_prog_compiler_rtti_exceptions
=yes
7320 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7321 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7323 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7324 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7331 lt_prog_compiler_wl
=
7332 lt_prog_compiler_pic
=
7333 lt_prog_compiler_static
=
7335 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7336 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7338 if test "$GCC" = yes; then
7339 lt_prog_compiler_wl
='-Wl,'
7340 lt_prog_compiler_static
='-static'
7344 # All AIX code is PIC.
7345 if test "$host_cpu" = ia64
; then
7346 # AIX 5 now supports IA64 processor
7347 lt_prog_compiler_static
='-Bstatic'
7352 # FIXME: we need at least 68020 code to build shared libraries, but
7353 # adding the `-m68020' flag to GCC prevents building anything better,
7355 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7358 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7359 # PIC is the default for these OSes.
7362 mingw
* | pw32
* | os2
*)
7363 # This hack is so that the source file can tell whether it is being
7364 # built for inclusion in a dll (and should export symbols for example).
7365 lt_prog_compiler_pic
='-DDLL_EXPORT'
7368 darwin
* | rhapsody
*)
7369 # PIC is the default on this platform
7370 # Common symbols not allowed in MH_DYLIB files
7371 lt_prog_compiler_pic
='-fno-common'
7375 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7376 # Instead, we relocate shared libraries at runtime.
7380 # Just because we use GCC doesn't mean we suddenly get shared libraries
7381 # on systems that don't support them.
7382 lt_prog_compiler_can_build_shared
=no
7387 if test -d /usr
/nec
; then
7388 lt_prog_compiler_pic
=-Kconform_pic
7393 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7400 lt_prog_compiler_pic
='-fPIC'
7406 lt_prog_compiler_pic
='-fPIC'
7410 # PORTME Check for flag to pass linker flags through the system compiler.
7413 lt_prog_compiler_wl
='-Wl,'
7414 if test "$host_cpu" = ia64
; then
7415 # AIX 5 now supports IA64 processor
7416 lt_prog_compiler_static
='-Bstatic'
7418 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7422 # PIC is the default on this platform
7423 # Common symbols not allowed in MH_DYLIB files
7424 case $cc_basename in
7426 lt_prog_compiler_pic
='-qnocommon'
7427 lt_prog_compiler_wl
='-Wl,'
7432 mingw
* | pw32
* | os2
*)
7433 # This hack is so that the source file can tell whether it is being
7434 # built for inclusion in a dll (and should export symbols for example).
7435 lt_prog_compiler_pic
='-DDLL_EXPORT'
7438 hpux9
* | hpux10
* | hpux11
*)
7439 lt_prog_compiler_wl
='-Wl,'
7440 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7447 lt_prog_compiler_pic
='+Z'
7450 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7451 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7454 irix5
* | irix6
* | nonstopux
*)
7455 lt_prog_compiler_wl
='-Wl,'
7456 # PIC (with -KPIC) is the default.
7457 lt_prog_compiler_static
='-non_shared'
7461 lt_prog_compiler_pic
='-KPIC'
7462 lt_prog_compiler_static
='-Bstatic'
7466 case $cc_basename in
7468 lt_prog_compiler_wl
='-Wl,'
7469 lt_prog_compiler_pic
='-KPIC'
7470 lt_prog_compiler_static
='-static'
7472 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7473 # Portland Group compilers (*not* the Pentium gcc compiler,
7474 # which looks to be a dead project)
7475 lt_prog_compiler_wl
='-Wl,'
7476 lt_prog_compiler_pic
='-fpic'
7477 lt_prog_compiler_static
='-Bstatic'
7480 lt_prog_compiler_wl
='-Wl,'
7481 # All Alpha code is PIC.
7482 lt_prog_compiler_static
='-non_shared'
7487 osf3
* | osf4
* | osf5
*)
7488 lt_prog_compiler_wl
='-Wl,'
7489 # All OSF/1 code is PIC.
7490 lt_prog_compiler_static
='-non_shared'
7494 lt_prog_compiler_pic
='-KPIC'
7495 lt_prog_compiler_static
='-Bstatic'
7496 case $cc_basename in
7498 lt_prog_compiler_wl
='-Qoption ld ';;
7500 lt_prog_compiler_wl
='-Wl,';;
7505 lt_prog_compiler_wl
='-Qoption ld '
7506 lt_prog_compiler_pic
='-PIC'
7507 lt_prog_compiler_static
='-Bstatic'
7510 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7511 lt_prog_compiler_wl
='-Wl,'
7512 lt_prog_compiler_pic
='-KPIC'
7513 lt_prog_compiler_static
='-Bstatic'
7517 if test -d /usr
/nec
;then
7518 lt_prog_compiler_pic
='-Kconform_pic'
7519 lt_prog_compiler_static
='-Bstatic'
7523 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7524 lt_prog_compiler_wl
='-Wl,'
7525 lt_prog_compiler_pic
='-KPIC'
7526 lt_prog_compiler_static
='-Bstatic'
7530 lt_prog_compiler_wl
='-Wl,'
7531 lt_prog_compiler_can_build_shared
=no
7535 lt_prog_compiler_pic
='-pic'
7536 lt_prog_compiler_static
='-Bstatic'
7540 lt_prog_compiler_can_build_shared
=no
7545 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7546 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7549 # Check to make sure the PIC flag actually works.
7551 if test -n "$lt_prog_compiler_pic"; then
7553 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7554 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7555 if test "${lt_prog_compiler_pic_works+set}" = set; then
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 lt_prog_compiler_pic_works
=no
7559 ac_outfile
=conftest.
$ac_objext
7560 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7561 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7562 # Insert the option either (1) after the last *FLAGS variable, or
7563 # (2) before a word containing "conftest.", or (3) at the end.
7564 # Note that $ac_compile itself does not contain backslashes and begins
7565 # with a dollar sign (not a hyphen), so the echo should work correctly.
7566 # The option is referenced via a variable to avoid confusing sed.
7567 lt_compile
=`echo "$ac_compile" | $SED \
7568 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7569 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7570 -e 's:$: $lt_compiler_flag:'`
7571 (eval echo "\"\$as_me:7571: $lt_compile\"" >&5)
7572 (eval "$lt_compile" 2>conftest.err
)
7574 cat conftest.err
>&5
7575 echo "$as_me:7575: \$? = $ac_status" >&5
7576 if (exit $ac_status) && test -s "$ac_outfile"; then
7577 # The compiler can only warn and ignore the option if not recognized
7578 # So say no if there are warnings other than the usual output.
7579 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7580 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7581 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7582 lt_prog_compiler_pic_works
=yes
7588 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7589 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7591 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7592 case $lt_prog_compiler_pic in
7594 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7597 lt_prog_compiler_pic
=
7598 lt_prog_compiler_can_build_shared
=no
7603 # For platforms which do not support PIC, -DPIC is meaningless:
7605 lt_prog_compiler_pic
=
7608 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7613 # Check to make sure the static flag actually works.
7615 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7616 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7617 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7618 if test "${lt_prog_compiler_static_works+set}" = set; then
7619 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 lt_prog_compiler_static_works
=no
7622 save_LDFLAGS
="$LDFLAGS"
7623 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7624 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7625 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7626 # The linker can only warn and ignore the option if not recognized
7627 # So say no if there are warnings
7628 if test -s conftest.err
; then
7629 # Append any errors to the config.log.
7630 cat conftest.err
1>&5
7631 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7632 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7633 if diff conftest.exp conftest.er2
>/dev
/null
; then
7634 lt_prog_compiler_static_works
=yes
7637 lt_prog_compiler_static_works
=yes
7641 LDFLAGS
="$save_LDFLAGS"
7644 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7645 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7647 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7650 lt_prog_compiler_static
=
7654 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7655 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7656 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7657 echo $ECHO_N "(cached) $ECHO_C" >&6
7659 lt_cv_prog_compiler_c_o
=no
7660 $rm -r conftest
2>/dev
/null
7664 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7666 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7667 # Insert the option either (1) after the last *FLAGS variable, or
7668 # (2) before a word containing "conftest.", or (3) at the end.
7669 # Note that $ac_compile itself does not contain backslashes and begins
7670 # with a dollar sign (not a hyphen), so the echo should work correctly.
7671 lt_compile
=`echo "$ac_compile" | $SED \
7672 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7673 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7674 -e 's:$: $lt_compiler_flag:'`
7675 (eval echo "\"\$as_me:7675: $lt_compile\"" >&5)
7676 (eval "$lt_compile" 2>out
/conftest.err
)
7678 cat out
/conftest.err
>&5
7679 echo "$as_me:7679: \$? = $ac_status" >&5
7680 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7682 # The compiler can only warn and ignore the option if not recognized
7683 # So say no if there are warnings
7684 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7685 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7686 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7687 lt_cv_prog_compiler_c_o
=yes
7692 # SGI C++ compiler will create directory out/ii_files/ for
7693 # template instantiation
7694 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7695 $rm out
/* && rmdir out
7701 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7702 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7705 hard_links
="nottested"
7706 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7707 # do not overwrite the value of need_locks provided by the user
7708 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7709 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7712 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7714 ln conftest.a conftest.b
2>&5 || hard_links
=no
7715 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7716 { echo "$as_me:$LINENO: result: $hard_links" >&5
7717 echo "${ECHO_T}$hard_links" >&6; }
7718 if test "$hard_links" = no
; then
7719 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7720 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7727 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7728 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7731 allow_undefined_flag
=
7732 enable_shared_with_static_runtimes
=no
7734 archive_expsym_cmds
=
7735 old_archive_From_new_cmds
=
7736 old_archive_from_expsyms_cmds
=
7737 export_dynamic_flag_spec
=
7738 whole_archive_flag_spec
=
7739 thread_safe_flag_spec
=
7740 hardcode_libdir_flag_spec
=
7741 hardcode_libdir_flag_spec_ld
=
7742 hardcode_libdir_separator
=
7745 hardcode_shlibpath_var
=unsupported
7746 link_all_deplibs
=unknown
7747 hardcode_automatic
=no
7750 always_export_symbols
=no
7751 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7752 # include_expsyms should be a list of space-separated symbols to be *always*
7753 # included in the symbol list
7755 # exclude_expsyms can be an extended regexp of symbols to exclude
7756 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7757 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7758 # as well as any symbol that contains `d'.
7759 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7760 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7761 # platforms (ab)use it in PIC code, but their linkers get confused if
7762 # the symbol is explicitly referenced. Since portable code cannot
7763 # rely on this symbol name, it's probably fine to never include it in
7764 # preloaded symbol tables.
7765 extract_expsyms_cmds
=
7766 # Just being paranoid about ensuring that cc_basename is set.
7767 for cc_temp
in $compiler""; do
7769 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7770 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7775 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7778 cygwin
* | mingw
* | pw32
*)
7779 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7780 # When not using gcc, we currently assume that we are using
7781 # Microsoft Visual C++.
7782 if test "$GCC" != yes; then
7787 # we just hope/assume this is gcc and not c89 (= MSVC++)
7796 if test "$with_gnu_ld" = yes; then
7797 # If archive_cmds runs LD, not CC, wlarc should be empty
7800 # Set some defaults for GNU ld with shared library support. These
7801 # are reset later if shared libraries are not supported. Putting them
7802 # here allows them to be overridden if necessary.
7803 runpath_var
=LD_RUN_PATH
7804 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7805 export_dynamic_flag_spec
='${wl}--export-dynamic'
7806 # ancient GNU ld didn't support --whole-archive et. al.
7807 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7808 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7810 whole_archive_flag_spec
=
7812 supports_anon_versioning
=no
7813 case `$LD -v 2>/dev/null` in
7814 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7815 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7816 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7817 *\
2.11.
*) ;; # other 2.11 versions
7818 *) supports_anon_versioning
=yes ;;
7821 # See if GNU ld supports shared libraries.
7823 aix3
* | aix4
* | aix5
*)
7824 # On AIX/PPC, the GNU linker is very broken
7825 if test "$host_cpu" != ia64
; then
7829 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7830 *** to be unable to reliably create shared libraries on AIX.
7831 *** Therefore, libtool is disabling shared libraries support. If you
7832 *** really care for shared libraries, you may want to modify your PATH
7833 *** so that a non-GNU linker is found, and then restart.
7840 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)'
7841 hardcode_libdir_flag_spec
='-L$libdir'
7842 hardcode_minus_L
=yes
7844 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7845 # that the semantics of dynamic libraries on AmigaOS, at least up
7846 # to version 4, is to share data among multiple programs linked
7847 # with the same dynamic library. Since this doesn't match the
7848 # behavior of shared libraries on other platforms, we can't use
7854 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7855 allow_undefined_flag
=unsupported
7856 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7857 # support --undefined. This deserves some investigation. FIXME
7858 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7864 cygwin
* | mingw
* | pw32
*)
7865 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7866 # as there is no search path for DLLs.
7867 hardcode_libdir_flag_spec
='-L$libdir'
7868 allow_undefined_flag
=unsupported
7869 always_export_symbols
=no
7870 enable_shared_with_static_runtimes
=yes
7871 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7873 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7874 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7875 # If the export-symbols file already is a .def file (1st line
7876 # is EXPORTS), use it as is; otherwise, prepend...
7877 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7878 cp $export_symbols $output_objdir/$soname.def;
7880 echo EXPORTS > $output_objdir/$soname.def;
7881 cat $export_symbols >> $output_objdir/$soname.def;
7883 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7891 hardcode_shlibpath_var
=no
7892 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7893 export_dynamic_flag_spec
='${wl}-E'
7894 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7895 # Instead, shared libraries are loaded at an image base (0x10000000 by
7896 # default) and relocated if they conflict, which is a slow very memory
7897 # consuming and fragmenting process. To avoid this, we pick a random,
7898 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7899 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7900 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7901 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'
7905 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7907 case $cc_basename,$host_cpu in
7908 pgcc
*) # Portland Group C compiler
7909 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'
7910 tmp_addflag
=' $pic_flag'
7912 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7913 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'
7914 tmp_addflag
=' $pic_flag -Mnomain' ;;
7915 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7916 tmp_addflag
=' -i_dynamic' ;;
7917 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7918 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7919 ifc
* | ifort
*) # Intel Fortran compiler
7920 tmp_addflag
=' -nofor_main' ;;
7922 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7924 if test $supports_anon_versioning = yes; then
7925 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7926 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7927 $echo "local: *; };" >> $output_objdir/$libname.ver~
7928 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7936 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7937 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7940 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7941 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7946 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7950 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7951 *** create shared libraries on Solaris systems. Therefore, libtool
7952 *** is disabling shared libraries support. We urge you to upgrade GNU
7953 *** binutils to release 2.9.1 or newer. Another option is to modify
7954 *** your PATH or compiler configuration so that the native linker is
7955 *** used, and then restart.
7958 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7959 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7960 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7966 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7967 case `$LD -v 2>&1` in
7968 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7972 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7973 *** reliably create shared libraries on SCO systems. Therefore, libtool
7974 *** is disabling shared libraries support. We urge you to upgrade GNU
7975 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7976 *** your PATH or compiler configuration so that the native linker is
7977 *** used, and then restart.
7982 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7983 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7984 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7985 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7994 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7997 hardcode_shlibpath_var
=no
8001 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8002 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8003 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8010 if test "$ld_shlibs" = no
; then
8012 hardcode_libdir_flag_spec
=
8013 export_dynamic_flag_spec
=
8014 whole_archive_flag_spec
=
8017 # PORTME fill in a description of your system's linker (not GNU ld)
8020 allow_undefined_flag
=unsupported
8021 always_export_symbols
=yes
8022 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'
8023 # Note: this linker hardcodes the directories in LIBPATH if there
8024 # are no directories specified by -L.
8025 hardcode_minus_L
=yes
8026 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8027 # Neither direct hardcoding nor static linking is supported with a
8029 hardcode_direct
=unsupported
8034 if test "$host_cpu" = ia64
; then
8035 # On IA64, the linker does run time linking by default, so we don't
8036 # have to do anything special.
8037 aix_use_runtimelinking
=no
8038 exp_sym_flag
='-Bexport'
8041 # If we're using GNU nm, then we don't want the "-C" option.
8042 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8043 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8044 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'
8046 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'
8048 aix_use_runtimelinking
=no
8050 # Test if we are trying to use run time linking or normal
8051 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8052 # need to do runtime linking.
8053 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8054 for ld_flag
in $LDFLAGS; do
8055 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8056 aix_use_runtimelinking
=yes
8063 exp_sym_flag
='-bexport'
8064 no_entry_flag
='-bnoentry'
8067 # When large executables or shared objects are built, AIX ld can
8068 # have problems creating the table of contents. If linking a library
8069 # or program results in "error TOC overflow" add -mminimal-toc to
8070 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8071 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8075 hardcode_libdir_separator
=':'
8076 link_all_deplibs
=yes
8078 if test "$GCC" = yes; then
8079 case $host_os in aix4.
[012]|aix4.
[012].
*)
8080 # We only want to do this on AIX 4.2 and lower, the check
8081 # below for broken collect2 doesn't work under 4.3+
8082 collect2name
=`${CC} -print-prog-name=collect2`
8083 if test -f "$collect2name" && \
8084 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8086 # We have reworked collect2
8089 # We have old collect2
8090 hardcode_direct
=unsupported
8091 # It fails to find uninstalled libraries when the uninstalled
8092 # path is not listed in the libpath. Setting hardcode_minus_L
8093 # to unsupported forces relinking
8094 hardcode_minus_L
=yes
8095 hardcode_libdir_flag_spec
='-L$libdir'
8096 hardcode_libdir_separator
=
8100 shared_flag
='-shared'
8101 if test "$aix_use_runtimelinking" = yes; then
8102 shared_flag
="$shared_flag "'${wl}-G'
8106 if test "$host_cpu" = ia64
; then
8107 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8108 # chokes on -Wl,-G. The following line is correct:
8111 if test "$aix_use_runtimelinking" = yes; then
8112 shared_flag
='${wl}-G'
8114 shared_flag
='${wl}-bM:SRE'
8119 # It seems that -bexpall does not export symbols beginning with
8120 # underscore (_), so it is better to generate a list of symbols to export.
8121 always_export_symbols
=yes
8122 if test "$aix_use_runtimelinking" = yes; then
8123 # Warning - without using the other runtime loading flags (-brtl),
8124 # -berok will link without error, but may produce a broken library.
8125 allow_undefined_flag
='-berok'
8126 # Determine the default libpath from the value encoded in an empty executable.
8127 cat >conftest.
$ac_ext <<_ACEOF
8130 cat confdefs.h
>>conftest.
$ac_ext
8131 cat >>conftest.
$ac_ext <<_ACEOF
8132 /* end confdefs.h. */
8142 rm -f conftest.
$ac_objext conftest
$ac_exeext
8143 if { (ac_try
="$ac_link"
8145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8146 *) ac_try_echo=$ac_try;;
8148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8149 (eval "$ac_link") 2>conftest.er1
8151 grep -v '^ *+' conftest.er1 >conftest.err
8153 cat conftest.err >&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); } &&
8156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8157 { (case "(($ac_try" in
8158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8159 *) ac_try_echo
=$ac_try;;
8161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8162 (eval "$ac_try") 2>&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; } &&
8166 { ac_try
='test -s conftest$ac_exeext'
8167 { (case "(($ac_try" in
8168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8169 *) ac_try_echo=$ac_try;;
8171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8172 (eval "$ac_try") 2>&5
8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); }; }; then
8177 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8179 # Check for a 64-bit object if we didn't find anything.
8180 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; }
8183 echo "$as_me: failed program was:" >&5
8184 sed 's/^/| /' conftest.$ac_ext >&5
8189 rm -f core conftest.err conftest.$ac_objext \
8190 conftest$ac_exeext conftest.$ac_ext
8191 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8193 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8194 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"
8196 if test "$host_cpu" = ia64; then
8197 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8198 allow_undefined_flag="-z nodefs"
8199 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"
8201 # Determine the default libpath from the value encoded in an empty executable.
8202 cat >conftest.$ac_ext <<_ACEOF
8205 cat confdefs.h >>conftest.$ac_ext
8206 cat >>conftest.$ac_ext <<_ACEOF
8207 /* end confdefs.h. */
8217 rm -f conftest.$ac_objext conftest$ac_exeext
8218 if { (ac_try="$ac_link"
8220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8221 *) ac_try_echo
=$ac_try;;
8223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8224 (eval "$ac_link") 2>conftest.er1
8226 grep -v '^ *+' conftest.er1
>conftest.err
8228 cat conftest.err
>&5
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); } &&
8231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8232 { (case "(($ac_try" in
8233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8234 *) ac_try_echo=$ac_try;;
8236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8237 (eval "$ac_try") 2>&5
8239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240 (exit $ac_status); }; } &&
8241 { ac_try='test -s conftest$ac_exeext'
8242 { (case "(($ac_try" in
8243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8244 *) ac_try_echo
=$ac_try;;
8246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8247 (eval "$ac_try") 2>&5
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); }; }; then
8252 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8254 # Check for a 64-bit object if we didn't find anything.
8255 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; }
8258 echo "$as_me: failed program was:" >&5
8259 sed 's/^/| /' conftest.
$ac_ext >&5
8264 rm -f core conftest.err conftest.
$ac_objext \
8265 conftest
$ac_exeext conftest.
$ac_ext
8266 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8268 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8269 # Warning - without using the other run time loading flags,
8270 # -berok will link without error, but may produce a broken library.
8271 no_undefined_flag
=' ${wl}-bernotok'
8272 allow_undefined_flag
=' ${wl}-berok'
8273 # Exported symbols can be pulled into shared objects from archives
8274 whole_archive_flag_spec
='$convenience'
8275 archive_cmds_need_lc
=yes
8276 # This is similar to how AIX traditionally builds its shared libraries.
8277 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'
8283 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)'
8284 hardcode_libdir_flag_spec
='-L$libdir'
8285 hardcode_minus_L
=yes
8286 # see comment about different semantics on the GNU ld section
8291 export_dynamic_flag_spec
=-rdynamic
8294 cygwin
* | mingw
* | pw32
*)
8295 # When not using gcc, we currently assume that we are using
8296 # Microsoft Visual C++.
8297 # hardcode_libdir_flag_spec is actually meaningless, as there is
8298 # no search path for DLLs.
8299 hardcode_libdir_flag_spec
=' '
8300 allow_undefined_flag
=unsupported
8301 # Tell ltmain to make .lib files, not .a files.
8303 # Tell ltmain to make .dll files, not .so files.
8305 # FIXME: Setting linknames here is a bad hack.
8306 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8307 # The linker will automatically build a .lib file if we build a DLL.
8308 old_archive_From_new_cmds
='true'
8309 # FIXME: Should let the user specify the lib program.
8310 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8311 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8312 enable_shared_with_static_runtimes
=yes
8315 darwin
* | rhapsody
*)
8317 rhapsody
* | darwin1.
[012])
8318 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8321 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8322 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8324 case ${MACOSX_DEPLOYMENT_TARGET} in
8326 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8329 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8335 archive_cmds_need_lc
=no
8337 hardcode_automatic
=yes
8338 hardcode_shlibpath_var
=unsupported
8339 whole_archive_flag_spec
=''
8340 link_all_deplibs
=yes
8341 if test "$GCC" = yes ; then
8342 output_verbose_link_cmd
='echo'
8343 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8344 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8345 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8346 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}'
8347 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}'
8349 case $cc_basename in
8351 output_verbose_link_cmd
='echo'
8352 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8353 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8354 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8355 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}'
8356 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}'
8366 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8367 hardcode_libdir_flag_spec
='-L$libdir'
8368 hardcode_shlibpath_var
=no
8375 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8376 # support. Future versions do this automatically, but an explicit c++rt0.o
8377 # does not break anything, and helps significantly (at the cost of a little
8380 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8381 hardcode_libdir_flag_spec
='-R$libdir'
8383 hardcode_shlibpath_var
=no
8386 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8388 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8390 hardcode_minus_L
=yes
8391 hardcode_shlibpath_var
=no
8394 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8395 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8396 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8397 hardcode_libdir_flag_spec
='-R$libdir'
8399 hardcode_shlibpath_var
=no
8403 if test "$GCC" = yes; then
8404 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'
8406 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'
8408 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8409 hardcode_libdir_separator
=:
8412 # hardcode_minus_L: Not really in the search PATH,
8413 # but as the default location of the library.
8414 hardcode_minus_L
=yes
8415 export_dynamic_flag_spec
='${wl}-E'
8419 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8420 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8422 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8424 if test "$with_gnu_ld" = no
; then
8425 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8426 hardcode_libdir_separator
=:
8429 export_dynamic_flag_spec
='${wl}-E'
8431 # hardcode_minus_L: Not really in the search PATH,
8432 # but as the default location of the library.
8433 hardcode_minus_L
=yes
8438 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8441 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8444 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8447 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8453 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8456 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8459 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8463 if test "$with_gnu_ld" = no
; then
8464 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8465 hardcode_libdir_separator
=:
8469 hardcode_libdir_flag_spec_ld
='+b $libdir'
8471 hardcode_shlibpath_var
=no
8475 export_dynamic_flag_spec
='${wl}-E'
8477 # hardcode_minus_L: Not really in the search PATH,
8478 # but as the default location of the library.
8479 hardcode_minus_L
=yes
8485 irix5
* | irix6
* | nonstopux
*)
8486 if test "$GCC" = yes; then
8487 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'
8489 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'
8490 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8492 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8493 hardcode_libdir_separator
=:
8494 link_all_deplibs
=yes
8498 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8499 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8501 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8503 hardcode_libdir_flag_spec
='-R$libdir'
8505 hardcode_shlibpath_var
=no
8509 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8511 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8512 hardcode_libdir_separator
=:
8513 hardcode_shlibpath_var
=no
8518 hardcode_shlibpath_var
=no
8519 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8520 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8521 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8522 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8523 export_dynamic_flag_spec
='${wl}-E'
8526 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8527 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8528 hardcode_libdir_flag_spec
='-R$libdir'
8531 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8532 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8539 hardcode_libdir_flag_spec
='-L$libdir'
8540 hardcode_minus_L
=yes
8541 allow_undefined_flag
=unsupported
8542 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'
8543 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8547 if test "$GCC" = yes; then
8548 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8549 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'
8551 allow_undefined_flag
=' -expect_unresolved \*'
8552 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'
8554 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8555 hardcode_libdir_separator
=:
8558 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8559 if test "$GCC" = yes; then
8560 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8561 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'
8562 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8564 allow_undefined_flag
=' -expect_unresolved \*'
8565 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'
8566 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8567 $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'
8569 # Both c and cxx compiler support -rpath directly
8570 hardcode_libdir_flag_spec
='-rpath $libdir'
8572 hardcode_libdir_separator
=:
8576 no_undefined_flag
=' -z text'
8577 if test "$GCC" = yes; then
8579 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8580 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8581 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8584 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8585 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8586 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8588 hardcode_libdir_flag_spec
='-R$libdir'
8589 hardcode_shlibpath_var
=no
8591 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8593 # The compiler driver will combine linker options so we
8594 # cannot just pass the convience library names through
8595 # without $wl, iff we do not link with $LD.
8596 # Luckily, gcc supports the same syntax we need for Sun Studio.
8597 # Supported since Solaris 2.6 (maybe 2.5.1?)
8600 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8602 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' ;;
8605 link_all_deplibs
=yes
8609 if test "x$host_vendor" = xsequent
; then
8610 # Use $CC to link under sequent, because it throws in some extra .o
8611 # files that make .init and .fini sections work.
8612 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8614 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8616 hardcode_libdir_flag_spec
='-L$libdir'
8618 hardcode_minus_L
=yes
8619 hardcode_shlibpath_var
=no
8623 case $host_vendor in
8625 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8626 hardcode_direct
=yes # is this really true???
8629 ## LD is ld it makes a PLAMLIB
8630 ## CC just makes a GrossModule.
8631 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8632 reload_cmds
='$CC -r -o $output$reload_objs'
8636 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8637 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8640 runpath_var
='LD_RUN_PATH'
8641 hardcode_shlibpath_var
=no
8645 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8646 hardcode_shlibpath_var
=no
8647 export_dynamic_flag_spec
='-Bexport'
8651 if test -d /usr
/nec
; then
8652 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8653 hardcode_shlibpath_var
=no
8654 runpath_var
=LD_RUN_PATH
8655 hardcode_runpath_var
=yes
8660 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8661 no_undefined_flag
='${wl}-z,text'
8662 archive_cmds_need_lc
=no
8663 hardcode_shlibpath_var
=no
8664 runpath_var
='LD_RUN_PATH'
8666 if test "$GCC" = yes; then
8667 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8668 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8670 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8671 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8675 sysv5
* | sco3.2v5
* | sco5v6
*)
8676 # Note: We can NOT use -z defs as we might desire, because we do not
8677 # link with -lc, and that would cause any symbols used from libc to
8678 # always be unresolved, which means just about no library would
8679 # ever link correctly. If we're not using GNU ld we use -z text
8680 # though, which does catch some bad symbols but isn't as heavy-handed
8682 no_undefined_flag
='${wl}-z,text'
8683 allow_undefined_flag
='${wl}-z,nodefs'
8684 archive_cmds_need_lc
=no
8685 hardcode_shlibpath_var
=no
8686 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8687 hardcode_libdir_separator
=':'
8688 link_all_deplibs
=yes
8689 export_dynamic_flag_spec
='${wl}-Bexport'
8690 runpath_var
='LD_RUN_PATH'
8692 if test "$GCC" = yes; then
8693 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8694 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8696 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8697 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8702 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8703 hardcode_libdir_flag_spec
='-L$libdir'
8704 hardcode_shlibpath_var
=no
8713 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8714 echo "${ECHO_T}$ld_shlibs" >&6; }
8715 test "$ld_shlibs" = no
&& can_build_shared
=no
8718 # Do we need to explicitly link libc?
8720 case "x$archive_cmds_need_lc" in
8722 # Assume -lc should be added
8723 archive_cmds_need_lc
=yes
8725 if test "$enable_shared" = yes && test "$GCC" = yes; then
8726 case $archive_cmds in
8728 # FIXME: we may have to deal with multi-command sequences.
8731 # Test whether the compiler implicitly links with -lc since on some
8732 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8733 # to ld, don't add -lc before -lgcc.
8734 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8735 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8737 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8740 (eval $ac_compile) 2>&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } 2>conftest.err
; then
8746 libobjs
=conftest.
$ac_objext
8748 wl
=$lt_prog_compiler_wl
8749 pic_flag
=$lt_prog_compiler_pic
8755 lt_save_allow_undefined_flag
=$allow_undefined_flag
8756 allow_undefined_flag
=
8757 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8758 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); }
8763 archive_cmds_need_lc
=no
8765 archive_cmds_need_lc
=yes
8767 allow_undefined_flag
=$lt_save_allow_undefined_flag
8769 cat conftest.err
1>&5
8772 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8773 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8780 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8781 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8783 libname_spec
='lib$name'
8791 shlibpath_overrides_runpath
=unknown
8793 dynamic_linker
="$host_os ld.so"
8794 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8795 if test "$GCC" = yes; then
8796 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8797 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8798 # if the path contains ";" then we assume it to be the separator
8799 # otherwise default to the standard path separator (i.e. ":") - it is
8800 # assumed that no part of a normal pathname contains ";" but that should
8801 # okay in the real world where ";" in dirpaths is itself problematic.
8802 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8804 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8807 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8809 need_lib_prefix
=unknown
8810 hardcode_into_libs
=no
8812 # when you set need_version to no, make sure it does not cause -set_version
8813 # flags to be left without arguments
8814 need_version
=unknown
8819 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8820 shlibpath_var
=LIBPATH
8822 # AIX 3 has no versioning support, so we append a major version to the name.
8823 soname_spec
='${libname}${release}${shared_ext}$major'
8830 hardcode_into_libs
=yes
8831 if test "$host_cpu" = ia64
; then
8832 # AIX 5 supports IA64
8833 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8834 shlibpath_var
=LD_LIBRARY_PATH
8836 # With GCC up to 2.95.x, collect2 would create an import file
8837 # for dependence libraries. The import file would start with
8838 # the line `#! .'. This would cause the generated library to
8839 # depend on `.', always an invalid library. This was fixed in
8840 # development snapshots of GCC prior to 3.0.
8842 aix4 | aix4.
[01] | aix4.
[01].
*)
8843 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8845 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8852 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8853 # soname into executable. Probably we can add versioning support to
8854 # collect2, so additional links can be useful in future.
8855 if test "$aix_use_runtimelinking" = yes; then
8856 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8857 # instead of lib<name>.a to let people know that these are not
8858 # typical AIX shared libraries.
8859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8861 # We preserve .a as extension for shared libraries through AIX4.2
8862 # and later when we are not doing run time linking.
8863 library_names_spec
='${libname}${release}.a $libname.a'
8864 soname_spec
='${libname}${release}${shared_ext}$major'
8866 shlibpath_var
=LIBPATH
8871 library_names_spec
='$libname.ixlibrary $libname.a'
8872 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8873 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'
8877 library_names_spec
='${libname}${shared_ext}'
8878 dynamic_linker
="$host_os ld.so"
8879 shlibpath_var
=LIBRARY_PATH
8885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8886 soname_spec
='${libname}${release}${shared_ext}$major'
8887 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8888 shlibpath_var
=LD_LIBRARY_PATH
8889 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8890 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8891 # the default ld.so.conf also contains /usr/contrib/lib and
8892 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8893 # libtool to hard-code these into programs
8896 cygwin
* | mingw
* | pw32
*)
8897 version_type
=windows
8902 case $GCC,$host_os in
8903 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8904 library_names_spec
='$libname.dll.a'
8905 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8906 postinstall_cmds
='base_file=`basename \${file}`~
8907 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8908 dldir=$destdir/`dirname \$dlpath`~
8909 test -d \$dldir || mkdir -p \$dldir~
8910 $install_prog $dir/$dlname \$dldir/$dlname~
8911 chmod a+x \$dldir/$dlname'
8912 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8913 dlpath=$dir/\$dldll~
8915 shlibpath_overrides_runpath
=yes
8919 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8920 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8921 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8924 # MinGW DLLs use traditional 'lib' prefix
8925 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8926 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8927 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8928 # It is most probably a Windows format PATH printed by
8929 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8930 # path with ; separators, and with drive letters. We can handle the
8931 # drive letters (cygwin fileutils understands them), so leave them,
8932 # especially as we might pass files found there to a mingw objdump,
8933 # which wouldn't understand a cygwinified path. Ahh.
8934 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8936 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8940 # pw32 DLLs use 'pw' prefix rather than 'lib'
8941 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8947 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8950 dynamic_linker
='Win32 ld.exe'
8951 # FIXME: first we should search . and the directory the executable is in
8955 darwin
* | rhapsody
*)
8956 dynamic_linker
="$host_os dyld"
8960 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8961 soname_spec
='${libname}${release}${major}$shared_ext'
8962 shlibpath_overrides_runpath
=yes
8963 shlibpath_var
=DYLD_LIBRARY_PATH
8964 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8965 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8966 if test "$GCC" = yes; then
8967 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"`
8969 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8971 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8979 soname_spec
='${libname}${release}${shared_ext}$major'
8980 shlibpath_var
=LD_LIBRARY_PATH
8991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8992 soname_spec
='${libname}${release}${shared_ext}$major'
8993 shlibpath_var
=LD_LIBRARY_PATH
8994 shlibpath_overrides_runpath
=no
8995 hardcode_into_libs
=yes
8996 dynamic_linker
='GNU ld.so'
8999 freebsd
* | dragonfly
*)
9000 # DragonFly does not have aout. When/if they implement a new
9001 # versioning mechanism, adjust this.
9002 if test -x /usr
/bin
/objformat
; then
9003 objformat
=`/usr/bin/objformat`
9006 freebsd
[123]*) objformat
=aout
;;
9010 version_type
=freebsd-
$objformat
9011 case $version_type in
9013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9018 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9022 shlibpath_var
=LD_LIBRARY_PATH
9025 shlibpath_overrides_runpath
=yes
9027 freebsd3.
[01]* | freebsdelf3.
[01]*)
9028 shlibpath_overrides_runpath
=yes
9029 hardcode_into_libs
=yes
9031 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9032 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9033 shlibpath_overrides_runpath
=no
9034 hardcode_into_libs
=yes
9036 freebsd
*) # from 4.6 on
9037 shlibpath_overrides_runpath
=yes
9038 hardcode_into_libs
=yes
9047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9048 soname_spec
='${libname}${release}${shared_ext}$major'
9049 shlibpath_var
=LD_LIBRARY_PATH
9050 hardcode_into_libs
=yes
9053 hpux9
* | hpux10
* | hpux11
*)
9054 # Give a soname corresponding to the major version so that dld.sl refuses to
9055 # link against other versions.
9062 hardcode_into_libs
=yes
9063 dynamic_linker
="$host_os dld.so"
9064 shlibpath_var
=LD_LIBRARY_PATH
9065 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9067 soname_spec
='${libname}${release}${shared_ext}$major'
9068 if test "X$HPUX_IA64_MODE" = X32
; then
9069 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9071 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9073 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9077 hardcode_into_libs
=yes
9078 dynamic_linker
="$host_os dld.sl"
9079 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9080 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9082 soname_spec
='${libname}${release}${shared_ext}$major'
9083 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9084 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9088 dynamic_linker
="$host_os dld.sl"
9089 shlibpath_var
=SHLIB_PATH
9090 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9092 soname_spec
='${libname}${release}${shared_ext}$major'
9095 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9096 postinstall_cmds
='chmod 555 $lib'
9103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9104 soname_spec
='${libname}${release}${shared_ext}$major'
9105 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9106 shlibpath_var
=LD_LIBRARY_PATH
9107 shlibpath_overrides_runpath
=no
9108 hardcode_into_libs
=yes
9111 irix5
* | irix6
* | nonstopux
*)
9113 nonstopux
*) version_type
=nonstopux
;;
9115 if test "$lt_cv_prog_gnu_ld" = yes; then
9123 soname_spec
='${libname}${release}${shared_ext}$major'
9124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9126 irix5
* | nonstopux
*)
9130 case $LD in # libtool.m4 will add one of these switches to LD
9131 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9132 libsuff
= shlibsuff
= libmagic
=32-bit;;
9133 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9134 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9135 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9136 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9137 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9141 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9142 shlibpath_overrides_runpath
=no
9143 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9144 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9145 hardcode_into_libs
=yes
9148 # No shared lib support for Linux oldld, aout, or coff.
9149 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9153 # This must be Linux ELF.
9158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9159 soname_spec
='${libname}${release}${shared_ext}$major'
9160 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9161 shlibpath_var
=LD_LIBRARY_PATH
9162 shlibpath_overrides_runpath
=no
9163 # This implies no fast_install, which is unacceptable.
9164 # Some rework will be needed to allow for fast_install
9165 # before this can be enabled.
9166 hardcode_into_libs
=yes
9168 # Append ld.so.conf contents to the search path
9169 if test -f /etc
/ld.so.conf
; then
9170 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' ' '`
9171 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9174 # We used to test for /lib/ld.so.1 and disable shared libraries on
9175 # powerpc, because MkLinux only supported shared libraries with the
9176 # GNU dynamic linker. Since this was broken with cross compilers,
9177 # most powerpc-linux boxes support dynamic linking these days and
9178 # people can always --disable-shared, the test was removed, and we
9179 # assume the GNU/Linux dynamic linker is in use.
9180 dynamic_linker
='GNU/Linux ld.so'
9187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9188 soname_spec
='${libname}${release}${shared_ext}$major'
9189 shlibpath_var
=LD_LIBRARY_PATH
9190 shlibpath_overrides_runpath
=no
9191 hardcode_into_libs
=yes
9192 dynamic_linker
='GNU ld.so'
9199 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9201 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9202 dynamic_linker
='NetBSD (a.out) ld.so'
9204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9205 soname_spec
='${libname}${release}${shared_ext}$major'
9206 dynamic_linker
='NetBSD ld.elf_so'
9208 shlibpath_var
=LD_LIBRARY_PATH
9209 shlibpath_overrides_runpath
=yes
9210 hardcode_into_libs
=yes
9215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9216 shlibpath_var
=LD_LIBRARY_PATH
9217 shlibpath_overrides_runpath
=yes
9224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9225 soname_spec
='${libname}${release}${shared_ext}$major'
9226 shlibpath_var
=LD_LIBRARY_PATH
9227 shlibpath_overrides_runpath
=yes
9232 sys_lib_dlsearch_path_spec
="/usr/lib"
9234 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9236 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9237 *) need_version
=no
;;
9239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9240 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9241 shlibpath_var
=LD_LIBRARY_PATH
9242 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9244 openbsd2.
[89] | openbsd2.
[89].
*)
9245 shlibpath_overrides_runpath
=no
9248 shlibpath_overrides_runpath
=yes
9252 shlibpath_overrides_runpath
=yes
9257 libname_spec
='$name'
9260 library_names_spec
='$libname${shared_ext} $libname.a'
9261 dynamic_linker
='OS/2 ld.exe'
9262 shlibpath_var
=LIBPATH
9265 osf3
* | osf4
* | osf5
*)
9269 soname_spec
='${libname}${release}${shared_ext}$major'
9270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9271 shlibpath_var
=LD_LIBRARY_PATH
9272 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9273 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9281 soname_spec
='${libname}${release}${shared_ext}$major'
9282 shlibpath_var
=LD_LIBRARY_PATH
9283 shlibpath_overrides_runpath
=yes
9284 hardcode_into_libs
=yes
9285 # ldd complains unless libraries are executable
9286 postinstall_cmds
='chmod +x $lib'
9291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9292 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9293 shlibpath_var
=LD_LIBRARY_PATH
9294 shlibpath_overrides_runpath
=yes
9295 if test "$with_gnu_ld" = yes; then
9303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9304 soname_spec
='${libname}${release}${shared_ext}$major'
9305 shlibpath_var
=LD_LIBRARY_PATH
9306 case $host_vendor in
9308 shlibpath_overrides_runpath
=no
9310 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9311 runpath_var
=LD_RUN_PATH
9319 shlibpath_overrides_runpath
=no
9320 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9326 if test -d /usr
/nec
;then
9328 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9329 soname_spec
='$libname${shared_ext}.$major'
9330 shlibpath_var
=LD_LIBRARY_PATH
9334 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9335 version_type
=freebsd-elf
9338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9339 soname_spec
='${libname}${release}${shared_ext}$major'
9340 shlibpath_var
=LD_LIBRARY_PATH
9341 hardcode_into_libs
=yes
9342 if test "$with_gnu_ld" = yes; then
9343 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9344 shlibpath_overrides_runpath
=no
9346 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9347 shlibpath_overrides_runpath
=yes
9350 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9354 sys_lib_dlsearch_path_spec
='/usr/lib'
9359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9360 soname_spec
='${libname}${release}${shared_ext}$major'
9361 shlibpath_var
=LD_LIBRARY_PATH
9368 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9369 echo "${ECHO_T}$dynamic_linker" >&6; }
9370 test "$dynamic_linker" = no
&& can_build_shared
=no
9372 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9373 if test "$GCC" = yes; then
9374 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9377 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9378 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9380 if test -n "$hardcode_libdir_flag_spec" || \
9381 test -n "$runpath_var" || \
9382 test "X$hardcode_automatic" = "Xyes" ; then
9384 # We can hardcode non-existant directories.
9385 if test "$hardcode_direct" != no
&&
9386 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9387 # have to relink, otherwise we might link with an installed library
9388 # when we should be linking with a yet-to-be-installed one
9389 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9390 test "$hardcode_minus_L" != no
; then
9391 # Linking always hardcodes the temporary library directory.
9392 hardcode_action
=relink
9394 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9395 hardcode_action
=immediate
9398 # We cannot hardcode anything, or else we can only hardcode existing
9400 hardcode_action
=unsupported
9402 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9403 echo "${ECHO_T}$hardcode_action" >&6; }
9405 if test "$hardcode_action" = relink
; then
9406 # Fast installation is not supported
9407 enable_fast_install
=no
9408 elif test "$shlibpath_overrides_runpath" = yes ||
9409 test "$enable_shared" = no
; then
9410 # Fast installation is not necessary
9411 enable_fast_install
=needless
9416 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9417 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9418 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9419 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9420 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9421 { echo "$as_me:$LINENO: result: yes" >&5
9422 echo "${ECHO_T}yes" >&6; }
9424 # FIXME - insert some real tests, host_os isn't really good enough
9427 if test -n "$STRIP" ; then
9428 striplib
="$STRIP -x"
9429 { echo "$as_me:$LINENO: result: yes" >&5
9430 echo "${ECHO_T}yes" >&6; }
9432 { echo "$as_me:$LINENO: result: no" >&5
9433 echo "${ECHO_T}no" >&6; }
9437 { echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6; }
9443 if test "x$enable_dlopen" != xyes
; then
9444 enable_dlopen
=unknown
9445 enable_dlopen_self
=unknown
9446 enable_dlopen_self_static
=unknown
9453 lt_cv_dlopen
="load_add_on"
9455 lt_cv_dlopen_self
=yes
9459 lt_cv_dlopen
="LoadLibrary"
9464 lt_cv_dlopen
="dlopen"
9469 # if libdl is installed we need to link against it
9470 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9471 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9472 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9473 echo $ECHO_N "(cached) $ECHO_C" >&6
9475 ac_check_lib_save_LIBS
=$LIBS
9477 cat >conftest.
$ac_ext <<_ACEOF
9480 cat confdefs.h
>>conftest.
$ac_ext
9481 cat >>conftest.
$ac_ext <<_ACEOF
9482 /* end confdefs.h. */
9484 /* Override any GCC internal prototype to avoid an error.
9485 Use char because int might match the return type of a GCC
9486 builtin and then its argument prototype would still apply. */
9499 rm -f conftest.
$ac_objext conftest
$ac_exeext
9500 if { (ac_try
="$ac_link"
9502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9503 *) ac_try_echo=$ac_try;;
9505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9506 (eval "$ac_link") 2>conftest.er1
9508 grep -v '^ *+' conftest.er1 >conftest.err
9510 cat conftest.err >&5
9511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); } &&
9513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9514 { (case "(($ac_try" in
9515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9516 *) ac_try_echo
=$ac_try;;
9518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9519 (eval "$ac_try") 2>&5
9521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522 (exit $ac_status); }; } &&
9523 { ac_try
='test -s conftest$ac_exeext'
9524 { (case "(($ac_try" in
9525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9526 *) ac_try_echo=$ac_try;;
9528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9529 (eval "$ac_try") 2>&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); }; }; then
9533 ac_cv_lib_dl_dlopen=yes
9535 echo "$as_me: failed program was:" >&5
9536 sed 's/^/| /' conftest.$ac_ext >&5
9538 ac_cv_lib_dl_dlopen=no
9541 rm -f core conftest.err conftest.$ac_objext \
9542 conftest$ac_exeext conftest.$ac_ext
9543 LIBS=$ac_check_lib_save_LIBS
9545 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9546 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9547 if test $ac_cv_lib_dl_dlopen = yes; then
9548 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9553 lt_cv_dlopen_self=yes
9560 { echo "$as_me:$LINENO: checking for shl_load" >&5
9561 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9562 if test "${ac_cv_func_shl_load+set}" = set; then
9563 echo $ECHO_N "(cached) $ECHO_C" >&6
9565 cat >conftest.$ac_ext <<_ACEOF
9568 cat confdefs.h >>conftest.$ac_ext
9569 cat >>conftest.$ac_ext <<_ACEOF
9570 /* end confdefs.h. */
9571 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9573 #define shl_load innocuous_shl_load
9575 /* System header to define __stub macros and hopefully few prototypes,
9576 which can conflict with char shl_load (); below.
9577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9578 <limits.h> exists even on freestanding compilers. */
9581 # include <limits.h>
9583 # include <assert.h>
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9595 /* The GNU C library defines this for functions which it implements
9596 to always fail with ENOSYS. Some functions are actually named
9597 something starting with __ and the normal name is an alias. */
9598 #if defined __stub_shl_load || defined __stub___shl_load
9610 rm -f conftest.$ac_objext conftest$ac_exeext
9611 if { (ac_try="$ac_link"
9613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9614 *) ac_try_echo
=$ac_try;;
9616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9617 (eval "$ac_link") 2>conftest.er1
9619 grep -v '^ *+' conftest.er1
>conftest.err
9621 cat conftest.err
>&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); } &&
9624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9625 { (case "(($ac_try" in
9626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9627 *) ac_try_echo=$ac_try;;
9629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9630 (eval "$ac_try") 2>&5
9632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633 (exit $ac_status); }; } &&
9634 { ac_try='test -s conftest$ac_exeext'
9635 { (case "(($ac_try" in
9636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9637 *) ac_try_echo
=$ac_try;;
9639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9640 (eval "$ac_try") 2>&5
9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); }; }; then
9644 ac_cv_func_shl_load
=yes
9646 echo "$as_me: failed program was:" >&5
9647 sed 's/^/| /' conftest.
$ac_ext >&5
9649 ac_cv_func_shl_load
=no
9652 rm -f core conftest.err conftest.
$ac_objext \
9653 conftest
$ac_exeext conftest.
$ac_ext
9655 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9656 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9657 if test $ac_cv_func_shl_load = yes; then
9658 lt_cv_dlopen
="shl_load"
9660 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9661 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9662 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9663 echo $ECHO_N "(cached) $ECHO_C" >&6
9665 ac_check_lib_save_LIBS
=$LIBS
9667 cat >conftest.
$ac_ext <<_ACEOF
9670 cat confdefs.h
>>conftest.
$ac_ext
9671 cat >>conftest.
$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9689 rm -f conftest.
$ac_objext conftest
$ac_exeext
9690 if { (ac_try
="$ac_link"
9692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9693 *) ac_try_echo=$ac_try;;
9695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9696 (eval "$ac_link") 2>conftest.er1
9698 grep -v '^ *+' conftest.er1 >conftest.err
9700 cat conftest.err >&5
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); } &&
9703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9704 { (case "(($ac_try" in
9705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9706 *) ac_try_echo
=$ac_try;;
9708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9709 (eval "$ac_try") 2>&5
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712 (exit $ac_status); }; } &&
9713 { ac_try
='test -s conftest$ac_exeext'
9714 { (case "(($ac_try" in
9715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9716 *) ac_try_echo=$ac_try;;
9718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9719 (eval "$ac_try") 2>&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); }; }; then
9723 ac_cv_lib_dld_shl_load=yes
9725 echo "$as_me: failed program was:" >&5
9726 sed 's/^/| /' conftest.$ac_ext >&5
9728 ac_cv_lib_dld_shl_load=no
9731 rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 LIBS=$ac_check_lib_save_LIBS
9735 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9736 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9737 if test $ac_cv_lib_dld_shl_load = yes; then
9738 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9740 { echo "$as_me:$LINENO: checking for dlopen" >&5
9741 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9742 if test "${ac_cv_func_dlopen+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9745 cat >conftest.$ac_ext <<_ACEOF
9748 cat confdefs.h >>conftest.$ac_ext
9749 cat >>conftest.$ac_ext <<_ACEOF
9750 /* end confdefs.h. */
9751 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9753 #define dlopen innocuous_dlopen
9755 /* System header to define __stub macros and hopefully few prototypes,
9756 which can conflict with char dlopen (); below.
9757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9758 <limits.h> exists even on freestanding compilers. */
9761 # include <limits.h>
9763 # include <assert.h>
9768 /* Override any GCC internal prototype to avoid an error.
9769 Use char because int might match the return type of a GCC
9770 builtin and then its argument prototype would still apply. */
9775 /* The GNU C library defines this for functions which it implements
9776 to always fail with ENOSYS. Some functions are actually named
9777 something starting with __ and the normal name is an alias. */
9778 #if defined __stub_dlopen || defined __stub___dlopen
9790 rm -f conftest.$ac_objext conftest$ac_exeext
9791 if { (ac_try="$ac_link"
9793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9794 *) ac_try_echo
=$ac_try;;
9796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9797 (eval "$ac_link") 2>conftest.er1
9799 grep -v '^ *+' conftest.er1
>conftest.err
9801 cat conftest.err
>&5
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); } &&
9804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9805 { (case "(($ac_try" in
9806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9807 *) ac_try_echo=$ac_try;;
9809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9810 (eval "$ac_try") 2>&5
9812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813 (exit $ac_status); }; } &&
9814 { ac_try='test -s conftest$ac_exeext'
9815 { (case "(($ac_try" in
9816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9817 *) ac_try_echo
=$ac_try;;
9819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9820 (eval "$ac_try") 2>&5
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); }; }; then
9824 ac_cv_func_dlopen
=yes
9826 echo "$as_me: failed program was:" >&5
9827 sed 's/^/| /' conftest.
$ac_ext >&5
9829 ac_cv_func_dlopen
=no
9832 rm -f core conftest.err conftest.
$ac_objext \
9833 conftest
$ac_exeext conftest.
$ac_ext
9835 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9836 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9837 if test $ac_cv_func_dlopen = yes; then
9838 lt_cv_dlopen
="dlopen"
9840 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9841 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9842 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9843 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 ac_check_lib_save_LIBS
=$LIBS
9847 cat >conftest.
$ac_ext <<_ACEOF
9850 cat confdefs.h
>>conftest.
$ac_ext
9851 cat >>conftest.
$ac_ext <<_ACEOF
9852 /* end confdefs.h. */
9854 /* Override any GCC internal prototype to avoid an error.
9855 Use char because int might match the return type of a GCC
9856 builtin and then its argument prototype would still apply. */
9869 rm -f conftest.
$ac_objext conftest
$ac_exeext
9870 if { (ac_try
="$ac_link"
9872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9873 *) ac_try_echo=$ac_try;;
9875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9876 (eval "$ac_link") 2>conftest.er1
9878 grep -v '^ *+' conftest.er1 >conftest.err
9880 cat conftest.err >&5
9881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9882 (exit $ac_status); } &&
9883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9884 { (case "(($ac_try" in
9885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9886 *) ac_try_echo
=$ac_try;;
9888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9889 (eval "$ac_try") 2>&5
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); }; } &&
9893 { ac_try
='test -s conftest$ac_exeext'
9894 { (case "(($ac_try" in
9895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9896 *) ac_try_echo=$ac_try;;
9898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9899 (eval "$ac_try") 2>&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); }; }; then
9903 ac_cv_lib_dl_dlopen=yes
9905 echo "$as_me: failed program was:" >&5
9906 sed 's/^/| /' conftest.$ac_ext >&5
9908 ac_cv_lib_dl_dlopen=no
9911 rm -f core conftest.err conftest.$ac_objext \
9912 conftest$ac_exeext conftest.$ac_ext
9913 LIBS=$ac_check_lib_save_LIBS
9915 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9916 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9917 if test $ac_cv_lib_dl_dlopen = yes; then
9918 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9920 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9921 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9922 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9923 echo $ECHO_N "(cached) $ECHO_C" >&6
9925 ac_check_lib_save_LIBS=$LIBS
9927 cat >conftest.$ac_ext <<_ACEOF
9930 cat confdefs.h >>conftest.$ac_ext
9931 cat >>conftest.$ac_ext <<_ACEOF
9932 /* end confdefs.h. */
9934 /* Override any GCC internal prototype to avoid an error.
9935 Use char because int might match the return type of a GCC
9936 builtin and then its argument prototype would still apply. */
9949 rm -f conftest.$ac_objext conftest$ac_exeext
9950 if { (ac_try="$ac_link"
9952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9953 *) ac_try_echo
=$ac_try;;
9955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9956 (eval "$ac_link") 2>conftest.er1
9958 grep -v '^ *+' conftest.er1
>conftest.err
9960 cat conftest.err
>&5
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); } &&
9963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9964 { (case "(($ac_try" in
9965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9966 *) ac_try_echo=$ac_try;;
9968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9969 (eval "$ac_try") 2>&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; } &&
9973 { ac_try='test -s conftest$ac_exeext'
9974 { (case "(($ac_try" in
9975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9976 *) ac_try_echo
=$ac_try;;
9978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9979 (eval "$ac_try") 2>&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); }; }; then
9983 ac_cv_lib_svld_dlopen
=yes
9985 echo "$as_me: failed program was:" >&5
9986 sed 's/^/| /' conftest.
$ac_ext >&5
9988 ac_cv_lib_svld_dlopen
=no
9991 rm -f core conftest.err conftest.
$ac_objext \
9992 conftest
$ac_exeext conftest.
$ac_ext
9993 LIBS
=$ac_check_lib_save_LIBS
9995 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9996 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9997 if test $ac_cv_lib_svld_dlopen = yes; then
9998 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10000 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10001 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10002 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10005 ac_check_lib_save_LIBS
=$LIBS
10007 cat >conftest.
$ac_ext <<_ACEOF
10010 cat confdefs.h
>>conftest.
$ac_ext
10011 cat >>conftest.
$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10014 /* Override any GCC internal prototype to avoid an error.
10015 Use char because int might match the return type of a GCC
10016 builtin and then its argument prototype would still apply. */
10024 return dld_link ();
10029 rm -f conftest.
$ac_objext conftest
$ac_exeext
10030 if { (ac_try
="$ac_link"
10031 case "(($ac_try" in
10032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10033 *) ac_try_echo=$ac_try;;
10035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10036 (eval "$ac_link") 2>conftest.er1
10038 grep -v '^ *+' conftest.er1 >conftest.err
10040 cat conftest.err >&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } &&
10043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10044 { (case "(($ac_try" in
10045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10046 *) ac_try_echo
=$ac_try;;
10048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049 (eval "$ac_try") 2>&5
10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052 (exit $ac_status); }; } &&
10053 { ac_try
='test -s conftest$ac_exeext'
10054 { (case "(($ac_try" in
10055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10056 *) ac_try_echo=$ac_try;;
10058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10059 (eval "$ac_try") 2>&5
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); }; }; then
10063 ac_cv_lib_dld_dld_link=yes
10065 echo "$as_me: failed program was:" >&5
10066 sed 's/^/| /' conftest.$ac_ext >&5
10068 ac_cv_lib_dld_dld_link=no
10071 rm -f core conftest.err conftest.$ac_objext \
10072 conftest$ac_exeext conftest.$ac_ext
10073 LIBS=$ac_check_lib_save_LIBS
10075 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10076 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10077 if test $ac_cv_lib_dld_dld_link = yes; then
10078 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10099 if test "x$lt_cv_dlopen" != xno; then
10105 case $lt_cv_dlopen in
10107 save_CPPFLAGS="$CPPFLAGS"
10108 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10110 save_LDFLAGS="$LDFLAGS"
10111 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10114 LIBS="$lt_cv_dlopen_libs $LIBS"
10116 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10117 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10118 if test "${lt_cv_dlopen_self+set}" = set; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10121 if test "$cross_compiling" = yes; then :
10122 lt_cv_dlopen_self=cross
10124 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10125 lt_status=$lt_dlunknown
10126 cat > conftest.$ac_ext <<EOF
10127 #line 10127 "configure"
10128 #include "confdefs.h"
10137 # define LT_DLGLOBAL RTLD_GLOBAL
10140 # define LT_DLGLOBAL DL_GLOBAL
10142 # define LT_DLGLOBAL 0
10146 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10147 find out it does not work in some platform. */
10148 #ifndef LT_DLLAZY_OR_NOW
10150 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10153 # define LT_DLLAZY_OR_NOW DL_LAZY
10156 # define LT_DLLAZY_OR_NOW RTLD_NOW
10159 # define LT_DLLAZY_OR_NOW DL_NOW
10161 # define LT_DLLAZY_OR_NOW 0
10169 extern "C" void exit (int);
10172 void fnord() { int i=42;}
10175 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10176 int status = $lt_dlunknown;
10180 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10181 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10182 /* dlclose (self); */
10190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10191 (eval $ac_link) 2>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10195 (./conftest; exit; ) >&5 2>/dev/null
10197 case x$lt_status in
10198 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10199 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10200 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10203 # compilation failed
10204 lt_cv_dlopen_self=no
10211 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10212 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10214 if test "x$lt_cv_dlopen_self" = xyes; then
10215 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10216 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10217 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10218 if test "${lt_cv_dlopen_self_static+set}" = set; then
10219 echo $ECHO_N "(cached) $ECHO_C" >&6
10221 if test "$cross_compiling" = yes; then :
10222 lt_cv_dlopen_self_static=cross
10224 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10225 lt_status=$lt_dlunknown
10226 cat > conftest.$ac_ext <<EOF
10227 #line 10227 "configure"
10228 #include "confdefs.h"
10237 # define LT_DLGLOBAL RTLD_GLOBAL
10240 # define LT_DLGLOBAL DL_GLOBAL
10242 # define LT_DLGLOBAL 0
10246 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10247 find out it does not work in some platform. */
10248 #ifndef LT_DLLAZY_OR_NOW
10250 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10253 # define LT_DLLAZY_OR_NOW DL_LAZY
10256 # define LT_DLLAZY_OR_NOW RTLD_NOW
10259 # define LT_DLLAZY_OR_NOW DL_NOW
10261 # define LT_DLLAZY_OR_NOW 0
10269 extern "C" void exit (int);
10272 void fnord() { int i=42;}
10275 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10276 int status = $lt_dlunknown;
10280 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10281 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10282 /* dlclose (self); */
10290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10291 (eval $ac_link) 2>&5
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10295 (./conftest; exit; ) >&5 2>/dev/null
10297 case x$lt_status in
10298 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10299 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10300 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10303 # compilation failed
10304 lt_cv_dlopen_self_static=no
10311 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10312 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10315 CPPFLAGS="$save_CPPFLAGS"
10316 LDFLAGS="$save_LDFLAGS"
10321 case $lt_cv_dlopen_self in
10322 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10323 *) enable_dlopen_self=unknown ;;
10326 case $lt_cv_dlopen_self_static in
10327 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10328 *) enable_dlopen_self_static=unknown ;;
10333 # Report which library types will actually be built
10334 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10335 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10336 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10337 echo "${ECHO_T}$can_build_shared" >&6; }
10339 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10340 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10341 test "$can_build_shared" = "no" && enable_shared=no
10343 # On AIX, shared libraries and static libraries use the same namespace, and
10344 # are all built from PIC.
10347 test "$enable_shared" = yes && enable_static=no
10348 if test -n "$RANLIB"; then
10349 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10350 postinstall_cmds='$RANLIB $lib'
10355 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10356 test "$enable_shared" = yes && enable_static=no
10360 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10361 echo "${ECHO_T}$enable_shared" >&6; }
10363 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10364 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10365 # Make sure either enable_shared or enable_static is yes.
10366 test "$enable_shared" = yes || enable_static=yes
10367 { echo "$as_me:$LINENO: result: $enable_static" >&5
10368 echo "${ECHO_T}$enable_static" >&6; }
10370 # The else clause should only fire when bootstrapping the
10371 # libtool distribution, otherwise you forgot to ship ltmain.sh
10372 # with your package, and you will get complaints that there are
10373 # no rules to generate ltmain.sh.
10374 if test -f "$ltmain"; then
10375 # See if we are running on zsh, and set the options which allow our commands through
10376 # without removal of \ escapes.
10377 if test -n "${ZSH_VERSION+set}" ; then
10378 setopt NO_GLOB_SUBST
10380 # Now quote all the things that may contain metacharacters while being
10381 # careful not to overquote the AC_SUBSTed values. We take copies of the
10382 # variables and quote the copies for generation of the libtool script.
10383 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10385 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10386 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10387 deplibs_check_method reload_flag reload_cmds need_locks \
10388 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10389 lt_cv_sys_global_symbol_to_c_name_address \
10390 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10391 old_postinstall_cmds old_postuninstall_cmds \
10395 lt_prog_compiler_wl \
10396 lt_prog_compiler_pic \
10397 lt_prog_compiler_static \
10398 lt_prog_compiler_no_builtin_flag \
10399 export_dynamic_flag_spec \
10400 thread_safe_flag_spec \
10401 whole_archive_flag_spec \
10402 enable_shared_with_static_runtimes \
10404 old_archive_from_new_cmds \
10409 compiler_lib_search_path \
10411 archive_expsym_cmds \
10413 postuninstall_cmds \
10414 old_archive_from_expsyms_cmds \
10415 allow_undefined_flag \
10416 no_undefined_flag \
10417 export_symbols_cmds \
10418 hardcode_libdir_flag_spec \
10419 hardcode_libdir_flag_spec_ld \
10420 hardcode_libdir_separator \
10421 hardcode_automatic \
10423 module_expsym_cmds \
10424 lt_cv_prog_compiler_c_o \
10426 include_expsyms; do
10429 old_archive_cmds | \
10430 old_archive_from_new_cmds | \
10432 archive_expsym_cmds | \
10434 module_expsym_cmds | \
10435 old_archive_from_expsyms_cmds | \
10436 export_symbols_cmds | \
10437 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10438 postinstall_cmds | postuninstall_cmds | \
10439 old_postinstall_cmds | old_postuninstall_cmds | \
10440 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10441 # Double-quote double-evaled strings.
10442 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10445 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10451 *'\$0 --fallback-echo"')
10452 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10456 cfgfile="${ofile}T"
10457 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10459 { echo "$as_me:$LINENO: creating $ofile" >&5
10460 echo "$as_me: creating $ofile" >&6;}
10462 cat <<__EOF__ >> "$cfgfile"
10465 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10466 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10467 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10469 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10470 # Free Software Foundation, Inc.
10472 # This file is part of GNU Libtool:
10473 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10475 # This program is free software; you can redistribute it and/or modify
10476 # it under the terms of the GNU General Public License as published by
10477 # the Free Software Foundation; either version 2 of the License, or
10478 # (at your option) any later version.
10480 # This program is distributed in the hope that it will be useful, but
10481 # WITHOUT ANY WARRANTY; without even the implied warranty of
10482 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10483 # General Public License for more details.
10485 # You should have received a copy of the GNU General Public License
10486 # along with this program; if not, write to the Free Software
10487 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10489 # As a special exception to the GNU General Public License, if you
10490 # distribute this file as part of a program that contains a
10491 # configuration script generated by Autoconf, you may include it under
10492 # the same distribution terms that you use for the rest of that program.
10494 # A sed program that does not truncate output.
10497 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10498 Xsed="$SED -e 1s/^X//"
10500 # The HP-UX ksh and POSIX shell print the target directory to stdout
10501 # if CDPATH is set.
10502 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10504 # The names of the tagged configurations supported by this script.
10507 # ### BEGIN LIBTOOL CONFIG
10509 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10511 # Shell to use when invoking shell scripts.
10514 # Whether or not to build shared libraries.
10515 build_libtool_libs=$enable_shared
10517 # Whether or not to build static libraries.
10518 build_old_libs=$enable_static
10520 # Whether or not to add -lc for building shared libraries.
10521 build_libtool_need_lc=$archive_cmds_need_lc
10523 # Whether or not to disallow shared libs when runtime libs are static
10524 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10526 # Whether or not to optimize for fast installation.
10527 fast_install=$enable_fast_install
10530 host_alias=$host_alias
10534 # The build system.
10535 build_alias=$build_alias
10539 # An echo program that does not interpret backslashes.
10544 AR_FLAGS=$lt_AR_FLAGS
10549 # LTCC compiler flags.
10550 LTCFLAGS=$lt_LTCFLAGS
10552 # A language-specific compiler.
10555 # Is the compiler the GNU C compiler?
10561 # The linker used to build libraries.
10564 # Whether we need hard or soft links.
10567 # A BSD-compatible nm program.
10570 # A symbol stripping program
10573 # Used to examine libraries when file_magic_cmd begins "file"
10574 MAGIC_CMD=$MAGIC_CMD
10576 # Used on cygwin: DLL creation program.
10579 # Used on cygwin: object dumper.
10582 # Used on cygwin: assembler.
10585 # The name of the directory that contains temporary libtool files.
10588 # How to create reloadable object files.
10589 reload_flag=$lt_reload_flag
10590 reload_cmds=$lt_reload_cmds
10592 # How to pass a linker flag through the compiler.
10593 wl=$lt_lt_prog_compiler_wl
10595 # Object file suffix (normally "o").
10596 objext="$ac_objext"
10598 # Old archive suffix (normally "a").
10601 # Shared library suffix (normally ".so").
10602 shrext_cmds='$shrext_cmds'
10604 # Executable file suffix (normally "").
10607 # Additional compiler flags for building library objects.
10608 pic_flag=$lt_lt_prog_compiler_pic
10611 # What is the maximum length of a command?
10612 max_cmd_len=$lt_cv_sys_max_cmd_len
10614 # Does compiler simultaneously support -c and -o options?
10615 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10617 # Must we lock files when doing compilation?
10618 need_locks=$lt_need_locks
10620 # Do we need the lib prefix for modules?
10621 need_lib_prefix=$need_lib_prefix
10623 # Do we need a version for libraries?
10624 need_version=$need_version
10626 # Whether dlopen is supported.
10627 dlopen_support=$enable_dlopen
10629 # Whether dlopen of programs is supported.
10630 dlopen_self=$enable_dlopen_self
10632 # Whether dlopen of statically linked programs is supported.
10633 dlopen_self_static=$enable_dlopen_self_static
10635 # Compiler flag to prevent dynamic linking.
10636 link_static_flag=$lt_lt_prog_compiler_static
10638 # Compiler flag to turn off builtin functions.
10639 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10641 # Compiler flag to allow reflexive dlopens.
10642 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10644 # Compiler flag to generate shared objects directly from archives.
10645 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10647 # Compiler flag to generate thread-safe objects.
10648 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10650 # Library versioning type.
10651 version_type=$version_type
10653 # Format of library name prefix.
10654 libname_spec=$lt_libname_spec
10656 # List of archive names. First name is the real one, the rest are links.
10657 # The last name is the one that the linker finds with -lNAME.
10658 library_names_spec=$lt_library_names_spec
10660 # The coded name of the library, if different from the real name.
10661 soname_spec=$lt_soname_spec
10663 # Commands used to build and install an old-style archive.
10665 old_archive_cmds=$lt_old_archive_cmds
10666 old_postinstall_cmds=$lt_old_postinstall_cmds
10667 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10669 # Create an old-style archive from a shared archive.
10670 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10672 # Create a temporary old-style archive to link instead of a shared archive.
10673 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10675 # Commands used to build and install a shared archive.
10676 archive_cmds=$lt_archive_cmds
10677 archive_expsym_cmds=$lt_archive_expsym_cmds
10678 postinstall_cmds=$lt_postinstall_cmds
10679 postuninstall_cmds=$lt_postuninstall_cmds
10681 # Commands used to build a loadable module (assumed same as above if empty)
10682 module_cmds=$lt_module_cmds
10683 module_expsym_cmds=$lt_module_expsym_cmds
10685 # Commands to strip libraries.
10686 old_striplib=$lt_old_striplib
10687 striplib=$lt_striplib
10689 # Dependencies to place before the objects being linked to create a
10691 predep_objects=$lt_predep_objects
10693 # Dependencies to place after the objects being linked to create a
10695 postdep_objects=$lt_postdep_objects
10697 # Dependencies to place before the objects being linked to create a
10699 predeps=$lt_predeps
10701 # Dependencies to place after the objects being linked to create a
10703 postdeps=$lt_postdeps
10705 # The library search path used internally by the compiler when linking
10706 # a shared library.
10707 compiler_lib_search_path=$lt_compiler_lib_search_path
10709 # Method to check whether dependent libraries are shared objects.
10710 deplibs_check_method=$lt_deplibs_check_method
10712 # Command to use when deplibs_check_method == file_magic.
10713 file_magic_cmd=$lt_file_magic_cmd
10715 # Flag that allows shared libraries with undefined symbols to be built.
10716 allow_undefined_flag=$lt_allow_undefined_flag
10718 # Flag that forces no undefined symbols.
10719 no_undefined_flag=$lt_no_undefined_flag
10721 # Commands used to finish a libtool library installation in a directory.
10722 finish_cmds=$lt_finish_cmds
10724 # Same as above, but a single script fragment to be evaled but not shown.
10725 finish_eval=$lt_finish_eval
10727 # Take the output of nm and produce a listing of raw symbols and C names.
10728 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10730 # Transform the output of nm in a proper C declaration
10731 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10733 # Transform the output of nm in a C name address pair
10734 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10736 # This is the shared library runtime path variable.
10737 runpath_var=$runpath_var
10739 # This is the shared library path variable.
10740 shlibpath_var=$shlibpath_var
10742 # Is shlibpath searched before the hard-coded library search path?
10743 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10745 # How to hardcode a shared library path into an executable.
10746 hardcode_action=$hardcode_action
10748 # Whether we should hardcode library paths into libraries.
10749 hardcode_into_libs=$hardcode_into_libs
10751 # Flag to hardcode \$libdir into a binary during linking.
10752 # This must work even if \$libdir does not exist.
10753 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10755 # If ld is used when linking, flag to hardcode \$libdir into
10756 # a binary during linking. This must work even if \$libdir does
10758 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10760 # Whether we need a single -rpath flag with a separated argument.
10761 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10763 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10764 # resulting binary.
10765 hardcode_direct=$hardcode_direct
10767 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10768 # resulting binary.
10769 hardcode_minus_L=$hardcode_minus_L
10771 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10772 # the resulting binary.
10773 hardcode_shlibpath_var=$hardcode_shlibpath_var
10775 # Set to yes if building a shared library automatically hardcodes DIR into the library
10776 # and all subsequent libraries and executables linked against it.
10777 hardcode_automatic=$hardcode_automatic
10779 # Variables whose values should be saved in libtool wrapper scripts and
10780 # restored at relink time.
10781 variables_saved_for_relink="$variables_saved_for_relink"
10783 # Whether libtool must link a program against all its dependency libraries.
10784 link_all_deplibs=$link_all_deplibs
10786 # Compile-time system search path for libraries
10787 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10789 # Run-time system search path for libraries
10790 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10792 # Fix the shell variable \$srcfile for the compiler.
10793 fix_srcfile_path="$fix_srcfile_path"
10795 # Set to yes if exported symbols are required.
10796 always_export_symbols=$always_export_symbols
10798 # The commands to list exported symbols.
10799 export_symbols_cmds=$lt_export_symbols_cmds
10801 # The commands to extract the exported symbol list from a shared archive.
10802 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10804 # Symbols that should not be listed in the preloaded symbols.
10805 exclude_expsyms=$lt_exclude_expsyms
10807 # Symbols that must always be exported.
10808 include_expsyms=$lt_include_expsyms
10810 # ### END LIBTOOL CONFIG
10817 cat <<\EOF >> "$cfgfile"
10819 # AIX sometimes has problems with the GCC collect2 program. For some
10820 # reason, if we set the COLLECT_NAMES environment variable, the problems
10821 # vanish in a puff of smoke.
10822 if test "X${COLLECT_NAMES+set}" != Xset; then
10824 export COLLECT_NAMES
10830 # We use sed instead of cat because bash on DJGPP gets confused if
10831 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10832 # text mode, it properly converts lines to CR/LF. This bash problem
10833 # is reportedly fixed, but why not run on old versions too?
10834 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10836 mv -f "$cfgfile" "$ofile" || \
10837 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10841 # If there is no Makefile yet, we rely on a make rule to execute
10842 # `config.status
--recheck' to rerun these tests and create the
10843 # libtool script then.
10844 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10845 if test -f "$ltmain_in"; then
10846 test -f Makefile && make "$ltmain"
10852 ac_cpp='$CXXCPP $CPPFLAGS'
10853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10854 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10860 # Check whether --with-tags was given.
10861 if test "${with_tags+set}" = set; then
10862 withval=$with_tags; tagnames="$withval"
10866 if test -f "$ltmain" && test -n "$tagnames"; then
10867 if test ! -f "${ofile}"; then
10868 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10869 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10872 if test -z "$LTCC"; then
10873 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10874 if test -z "$LTCC"; then
10875 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10876 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10878 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10879 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10882 if test -z "$LTCFLAGS"; then
10883 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10886 # Extract list of available tagged configurations in $ofile.
10887 # Note that this assumes the entire list is on one line.
10888 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10890 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10891 for tagname in $tagnames; do
10893 # Check whether tagname contains only valid characters
10894 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10896 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10897 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10898 { (exit 1); exit 1; }; }
10902 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10904 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10905 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10906 { (exit 1); exit 1; }; }
10909 # Update the list of available tags.
10910 if test -n "$tagname"; then
10911 echo appending configuration tag \"$tagname\" to $ofile
10915 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10916 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10917 (test "X$CXX" != "Xg++"))) ; then
10919 ac_cpp='$CXXCPP $CPPFLAGS'
10920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10927 archive_cmds_need_lc_CXX=no
10928 allow_undefined_flag_CXX=
10929 always_export_symbols_CXX=no
10930 archive_expsym_cmds_CXX=
10931 export_dynamic_flag_spec_CXX=
10932 hardcode_direct_CXX=no
10933 hardcode_libdir_flag_spec_CXX=
10934 hardcode_libdir_flag_spec_ld_CXX=
10935 hardcode_libdir_separator_CXX=
10936 hardcode_minus_L_CXX=no
10937 hardcode_shlibpath_var_CXX=unsupported
10938 hardcode_automatic_CXX=no
10940 module_expsym_cmds_CXX=
10941 link_all_deplibs_CXX=unknown
10942 old_archive_cmds_CXX=$old_archive_cmds
10943 no_undefined_flag_CXX=
10944 whole_archive_flag_spec_CXX=
10945 enable_shared_with_static_runtimes_CXX=no
10947 # Dependencies to place before and after the object being linked:
10948 predep_objects_CXX=
10949 postdep_objects_CXX=
10952 compiler_lib_search_path_CXX=
10954 # Source file extension for C++ test sources.
10957 # Object file extension for compiled C++ test sources.
10961 # Code to be used in simple compile tests
10962 lt_simple_compile_test_code="int some_variable = 0;\n"
10964 # Code to be used in simple link tests
10965 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10967 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10969 # If no C compiler was specified, use CC.
10972 # If no C compiler flags were specified, use CFLAGS.
10973 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10975 # Allow CC to be a program name with arguments.
10979 # save warnings/boilerplate of simple test code
10980 ac_outfile=conftest.$ac_objext
10981 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10982 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10983 _lt_compiler_boilerplate=`cat conftest.err
`
10986 ac_outfile=conftest.$ac_objext
10987 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10988 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10989 _lt_linker_boilerplate=`cat conftest.err
`
10993 # Allow CC to be a program name with arguments.
10998 lt_save_with_gnu_ld=$with_gnu_ld
10999 lt_save_path_LD=$lt_cv_path_LD
11000 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11001 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11003 $as_unset lt_cv_prog_gnu_ld
11005 if test -n "${lt_cv_path_LDCXX+set}"; then
11006 lt_cv_path_LD=$lt_cv_path_LDCXX
11008 $as_unset lt_cv_path_LD
11010 test -z "${LDCXX+set}" || LD=$LDCXX
11014 for cc_temp in $compiler""; do
11016 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11017 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11022 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11025 # We don't want -fno-exception wen compiling C++ code, so set the
11026 # no_builtin_flag separately
11027 if test "$GXX" = yes; then
11028 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11030 lt_prog_compiler_no_builtin_flag_CXX=
11033 if test "$GXX" = yes; then
11034 # Set up default GNU C++ configuration
11037 # Check whether --with-gnu-ld was given.
11038 if test "${with_gnu_ld+set}" = set; then
11039 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11045 if test "$GCC" = yes; then
11046 # Check if gcc -print-prog-name=ld gives a path.
11047 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11048 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11051 # gcc leaves a trailing carriage return which upsets mingw
11052 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11054 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11057 # Accept absolute paths.
11059 re_direlt='/[^/][^/]*/\.\./'
11060 # Canonicalize the pathname of ld
11061 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11062 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11063 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11065 test -z "$LD" && LD="$ac_prog"
11068 # If it fails, then pretend we aren't using GCC.
11072 # If it is relative, then search for the first ld in PATH.
11073 with_gnu_ld=unknown
11076 elif test "$with_gnu_ld" = yes; then
11077 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11078 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11080 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11081 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11083 if test "${lt_cv_path_LD+set}" = set; then
11084 echo $ECHO_N "(cached) $ECHO_C" >&6
11086 if test -z "$LD"; then
11087 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11088 for ac_dir in $PATH; do
11090 test -z "$ac_dir" && ac_dir=.
11091 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11092 lt_cv_path_LD="$ac_dir/$ac_prog"
11093 # Check to see if the program is GNU ld. I'd rather use --version,
11094 # but apparently some variants of GNU ld only accept -v.
11095 # Break only if it was the GNU/non-GNU ld that we prefer.
11096 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11097 *GNU* | *'with BFD'*)
11098 test "$with_gnu_ld" != no && break
11101 test "$with_gnu_ld" != yes && break
11108 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11112 LD="$lt_cv_path_LD"
11113 if test -n "$LD"; then
11114 { echo "$as_me:$LINENO: result: $LD" >&5
11115 echo "${ECHO_T}$LD" >&6; }
11117 { echo "$as_me:$LINENO: result: no" >&5
11118 echo "${ECHO_T}no" >&6; }
11120 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11121 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11122 { (exit 1); exit 1; }; }
11123 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11124 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11125 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11126 echo $ECHO_N "(cached) $ECHO_C" >&6
11128 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11129 case `$LD -v 2>&1 </dev
/null
` in
11130 *GNU* | *'with BFD'*)
11131 lt_cv_prog_gnu_ld=yes
11134 lt_cv_prog_gnu_ld=no
11138 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11139 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11140 with_gnu_ld=$lt_cv_prog_gnu_ld
11144 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11145 # archiving commands below assume that GNU ld is being used.
11146 if test "$with_gnu_ld" = yes; then
11147 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11148 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'
11150 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11151 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11153 # If archive_cmds runs LD, not CC, wlarc should be empty
11154 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11155 # investigate it a little bit more. (MM)
11158 # ancient GNU ld didn't support --whole-archive et. al.
11159 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11160 grep 'no-whole-archive' > /dev/null; then
11161 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11163 whole_archive_flag_spec_CXX=
11169 # A generic and very simple default shared library creation
11170 # command for GNU C++ for the case where it uses the native
11171 # linker, instead of GNU ld. If possible, this setting should
11172 # overridden to take advantage of the native linker features on
11173 # the platform it is being used on.
11174 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11177 # Commands to make compiler produce verbose output that lists
11178 # what "hidden" libraries, object files and flags are used when
11179 # linking a shared library.
11180 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11188 # PORTME: fill in a description of your system's C++ link characteristics
11189 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11190 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11194 # FIXME: insert proper C++ library support
11198 if test "$host_cpu" = ia64; then
11199 # On IA64, the linker does run time linking by default, so we don't
11200 # have to do anything special.
11201 aix_use_runtimelinking=no
11202 exp_sym_flag='-Bexport'
11205 aix_use_runtimelinking=no
11207 # Test if we are trying to use run time linking or normal
11208 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11209 # need to do runtime linking.
11210 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11211 for ld_flag in $LDFLAGS; do
11214 aix_use_runtimelinking=yes
11222 exp_sym_flag='-bexport'
11223 no_entry_flag='-bnoentry'
11226 # When large executables or shared objects are built, AIX ld can
11227 # have problems creating the table of contents. If linking a library
11228 # or program results in "error TOC overflow" add -mminimal-toc to
11229 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11230 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11232 archive_cmds_CXX=''
11233 hardcode_direct_CXX=yes
11234 hardcode_libdir_separator_CXX=':'
11235 link_all_deplibs_CXX=yes
11237 if test "$GXX" = yes; then
11238 case $host_os in aix4.[012]|aix4.[012].*)
11239 # We only want to do this on AIX 4.2 and lower, the check
11240 # below for broken collect2 doesn't work under 4.3+
11241 collect2name=`${CC} -print-prog-name=collect2
`
11242 if test -f "$collect2name" && \
11243 strings "$collect2name" | grep resolve_lib_name >/dev/null
11245 # We have reworked collect2
11246 hardcode_direct_CXX=yes
11248 # We have old collect2
11249 hardcode_direct_CXX=unsupported
11250 # It fails to find uninstalled libraries when the uninstalled
11251 # path is not listed in the libpath. Setting hardcode_minus_L
11252 # to unsupported forces relinking
11253 hardcode_minus_L_CXX=yes
11254 hardcode_libdir_flag_spec_CXX='-L$libdir'
11255 hardcode_libdir_separator_CXX=
11259 shared_flag='-shared'
11260 if test "$aix_use_runtimelinking" = yes; then
11261 shared_flag="$shared_flag "'${wl}-G'
11265 if test "$host_cpu" = ia64; then
11266 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11267 # chokes on -Wl,-G. The following line is correct:
11270 if test "$aix_use_runtimelinking" = yes; then
11271 shared_flag='${wl}-G'
11273 shared_flag='${wl}-bM:SRE'
11278 # It seems that -bexpall does not export symbols beginning with
11279 # underscore (_), so it is better to generate a list of symbols to export.
11280 always_export_symbols_CXX=yes
11281 if test "$aix_use_runtimelinking" = yes; then
11282 # Warning - without using the other runtime loading flags (-brtl),
11283 # -berok will link without error, but may produce a broken library.
11284 allow_undefined_flag_CXX='-berok'
11285 # Determine the default libpath from the value encoded in an empty executable.
11286 cat >conftest.$ac_ext <<_ACEOF
11289 cat confdefs.h >>conftest.$ac_ext
11290 cat >>conftest.$ac_ext <<_ACEOF
11291 /* end confdefs.h. */
11301 rm -f conftest.$ac_objext conftest$ac_exeext
11302 if { (ac_try="$ac_link"
11303 case "(($ac_try" in
11304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11305 *) ac_try_echo
=$ac_try;;
11307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11308 (eval "$ac_link") 2>conftest.er1
11310 grep -v '^ *+' conftest.er1
>conftest.err
11312 cat conftest.err
>&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); } &&
11315 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11316 { (case "(($ac_try" in
11317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11318 *) ac_try_echo=$ac_try;;
11320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11321 (eval "$ac_try") 2>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); }; } &&
11325 { ac_try='test -s conftest$ac_exeext'
11326 { (case "(($ac_try" in
11327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11328 *) ac_try_echo
=$ac_try;;
11330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11331 (eval "$ac_try") 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; }; then
11336 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11338 # Check for a 64-bit object if we didn't find anything.
11339 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; }
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.
$ac_ext >&5
11348 rm -f core conftest.err conftest.
$ac_objext \
11349 conftest
$ac_exeext conftest.
$ac_ext
11350 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11352 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11354 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"
11356 if test "$host_cpu" = ia64
; then
11357 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11358 allow_undefined_flag_CXX
="-z nodefs"
11359 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"
11361 # Determine the default libpath from the value encoded in an empty executable.
11362 cat >conftest.
$ac_ext <<_ACEOF
11365 cat confdefs.h
>>conftest.
$ac_ext
11366 cat >>conftest.
$ac_ext <<_ACEOF
11367 /* end confdefs.h. */
11377 rm -f conftest.
$ac_objext conftest
$ac_exeext
11378 if { (ac_try
="$ac_link"
11379 case "(($ac_try" in
11380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11381 *) ac_try_echo=$ac_try;;
11383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11384 (eval "$ac_link") 2>conftest.er1
11386 grep -v '^ *+' conftest.er1 >conftest.err
11388 cat conftest.err >&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); } &&
11391 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11392 { (case "(($ac_try" in
11393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11394 *) ac_try_echo
=$ac_try;;
11396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11397 (eval "$ac_try") 2>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; } &&
11401 { ac_try
='test -s conftest$ac_exeext'
11402 { (case "(($ac_try" in
11403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11404 *) ac_try_echo=$ac_try;;
11406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11407 (eval "$ac_try") 2>&5
11409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); }; }; then
11412 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11414 # Check for a 64-bit object if we didn't find anything.
11415 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; }
11418 echo "$as_me: failed program was:" >&5
11419 sed 's/^/| /' conftest.$ac_ext >&5
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11428 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11429 # Warning - without using the other run time loading flags,
11430 # -berok will link without error, but may produce a broken library.
11431 no_undefined_flag_CXX=' ${wl}-bernotok'
11432 allow_undefined_flag_CXX=' ${wl}-berok'
11433 # Exported symbols can be pulled into shared objects from archives
11434 whole_archive_flag_spec_CXX='$convenience'
11435 archive_cmds_need_lc_CXX=yes
11436 # This is similar to how AIX traditionally builds its shared libraries.
11437 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'
11443 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11444 allow_undefined_flag_CXX=unsupported
11445 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11446 # support --undefined. This deserves some investigation. FIXME
11447 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11454 case $cc_basename in
11456 # FIXME: insert proper C++ library support
11462 cygwin* | mingw* | pw32*)
11463 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11464 # as there is no search path for DLLs.
11465 hardcode_libdir_flag_spec_CXX='-L$libdir'
11466 allow_undefined_flag_CXX=unsupported
11467 always_export_symbols_CXX=no
11468 enable_shared_with_static_runtimes_CXX=yes
11470 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11471 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'
11472 # If the export-symbols file already is a .def file (1st line
11473 # is EXPORTS), use it as is; otherwise, prepend...
11474 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11475 cp $export_symbols $output_objdir/$soname.def;
11477 echo EXPORTS > $output_objdir/$soname.def;
11478 cat $export_symbols >> $output_objdir/$soname.def;
11480 $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'
11485 darwin* | rhapsody*)
11487 rhapsody* | darwin1.[012])
11488 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11491 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11492 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11494 case ${MACOSX_DEPLOYMENT_TARGET} in
11496 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11499 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11505 archive_cmds_need_lc_CXX=no
11506 hardcode_direct_CXX=no
11507 hardcode_automatic_CXX=yes
11508 hardcode_shlibpath_var_CXX=unsupported
11509 whole_archive_flag_spec_CXX=''
11510 link_all_deplibs_CXX=yes
11512 if test "$GXX" = yes ; then
11513 lt_int_apple_cc_single_mod=no
11514 output_verbose_link_cmd='echo'
11515 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11516 lt_int_apple_cc_single_mod=yes
11518 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11519 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11521 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'
11523 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11524 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11525 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11526 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}'
11528 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}'
11530 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}'
11532 case $cc_basename in
11534 output_verbose_link_cmd='echo'
11535 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'
11536 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11537 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11538 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}'
11539 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}'
11549 case $cc_basename in
11551 # FIXME: insert proper C++ library support
11555 # Green Hills C++ Compiler
11556 # FIXME: insert proper C++ library support
11560 # FIXME: insert proper C++ library support
11566 # C++ shared libraries reported to be fairly broken before switch to ELF
11570 archive_cmds_need_lc_CXX=no
11572 freebsd* | kfreebsd*-gnu | dragonfly*)
11573 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11580 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11581 hardcode_libdir_separator_CXX=:
11582 export_dynamic_flag_spec_CXX='${wl}-E'
11583 hardcode_direct_CXX=yes
11584 hardcode_minus_L_CXX=yes # Not in the search PATH,
11585 # but as the default
11586 # location of the library.
11588 case $cc_basename in
11590 # FIXME: insert proper C++ library support
11594 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'
11595 # Commands to make compiler produce verbose output that lists
11596 # what "hidden" libraries, object files and flags are used when
11597 # linking a shared library.
11599 # There doesn't appear to be a way to prevent this compiler from
11600 # explicitly linking system object files so we need to strip them
11601 # from the output so that they don't get included in the library
11603 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'
11606 if test "$GXX" = yes; then
11607 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'
11609 # FIXME: insert proper C++ library support
11616 if test $with_gnu_ld = no; then
11617 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11618 hardcode_libdir_separator_CXX=:
11622 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11625 export_dynamic_flag_spec_CXX='${wl}-E'
11631 hardcode_direct_CXX=no
11632 hardcode_shlibpath_var_CXX=no
11635 hardcode_direct_CXX=yes
11636 hardcode_minus_L_CXX=yes # Not in the search PATH,
11637 # but as the default
11638 # location of the library.
11642 case $cc_basename in
11644 # FIXME: insert proper C++ library support
11650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11653 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11659 # Commands to make compiler produce verbose output that lists
11660 # what "hidden" libraries, object files and flags are used when
11661 # linking a shared library.
11663 # There doesn't appear to be a way to prevent this compiler from
11664 # explicitly linking system object files so we need to strip them
11665 # from the output so that they don't get included in the library
11667 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'
11670 if test "$GXX" = yes; then
11671 if test $with_gnu_ld = no; then
11674 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11677 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11680 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'
11685 # FIXME: insert proper C++ library support
11692 hardcode_direct_CXX=no
11693 hardcode_shlibpath_var_CXX=no
11694 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11695 export_dynamic_flag_spec_CXX='${wl}-E'
11696 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11697 # Instead, shared libraries are loaded at an image base (0x10000000 by
11698 # default) and relocated if they conflict, which is a slow very memory
11699 # consuming and fragmenting process. To avoid this, we pick a random,
11700 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11701 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11702 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'
11703 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'
11706 case $cc_basename in
11709 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'
11711 # Archives containing C++ object files must be created using
11712 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11713 # necessary to make sure instantiated templates are included
11715 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11718 if test "$GXX" = yes; then
11719 if test "$with_gnu_ld" = no; then
11720 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'
11722 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'
11725 link_all_deplibs_CXX=yes
11728 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11729 hardcode_libdir_separator_CXX=:
11732 case $cc_basename in
11734 # Kuck and Associates, Inc. (KAI) C++ Compiler
11736 # KCC will only create a shared library if the output file
11737 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11738 # to its proper name (with version) after linking.
11739 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'
11740 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'
11741 # Commands to make compiler produce verbose output that lists
11742 # what "hidden" libraries, object files and flags are used when
11743 # linking a shared library.
11745 # There doesn't appear to be a way to prevent this compiler from
11746 # explicitly linking system object files so we need to strip them
11747 # from the output so that they don't get included in the library
11749 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'
11751 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11752 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11754 # Archives containing C++ object files must be created using
11755 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11756 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11761 # version 8.0 and above of icpc choke on multiply defined symbols
11762 # if we add $predep_objects and $postdep_objects, however 7.1 and
11763 # earlier do not add the objects themselves.
11764 case `$CC -V 2>&1` in
11766 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11767 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'
11769 *) # Version 8.0 or newer
11772 ia64
*) tmp_idyn
=' -i_dynamic';;
11774 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11775 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'
11778 archive_cmds_need_lc_CXX
=no
11779 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11780 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11781 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11784 # Portland Group C++ compiler
11785 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11786 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'
11788 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11789 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11790 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'
11794 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11795 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'
11797 runpath_var
=LD_RUN_PATH
11798 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11799 hardcode_libdir_separator_CXX
=:
11801 # Commands to make compiler produce verbose output that lists
11802 # what "hidden" libraries, object files and flags are used when
11803 # linking a shared library.
11805 # There doesn't appear to be a way to prevent this compiler from
11806 # explicitly linking system object files so we need to strip them
11807 # from the output so that they don't get included in the library
11809 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'
11814 # FIXME: insert proper C++ library support
11818 # FIXME: insert proper C++ library support
11822 case $cc_basename in
11824 # FIXME: insert proper C++ library support
11828 # FIXME: insert proper C++ library support
11834 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11835 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11837 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11838 hardcode_direct_CXX
=yes
11839 hardcode_shlibpath_var_CXX
=no
11841 # Workaround some broken pre-1.5 toolchains
11842 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11845 # C++ shared libraries are fairly broken
11849 hardcode_direct_CXX
=yes
11850 hardcode_shlibpath_var_CXX
=no
11851 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11852 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11853 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11854 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11855 export_dynamic_flag_spec_CXX
='${wl}-E'
11856 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11858 output_verbose_link_cmd
='echo'
11861 case $cc_basename in
11863 # Kuck and Associates, Inc. (KAI) C++ Compiler
11865 # KCC will only create a shared library if the output file
11866 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11867 # to its proper name (with version) after linking.
11868 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'
11870 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11871 hardcode_libdir_separator_CXX
=:
11873 # Archives containing C++ object files must be created using
11874 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11875 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11879 # Rational C++ 2.4.1
11880 # FIXME: insert proper C++ library support
11884 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11885 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'
11887 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11888 hardcode_libdir_separator_CXX
=:
11890 # Commands to make compiler produce verbose output that lists
11891 # what "hidden" libraries, object files and flags are used when
11892 # linking a shared library.
11894 # There doesn't appear to be a way to prevent this compiler from
11895 # explicitly linking system object files so we need to strip them
11896 # from the output so that they don't get included in the library
11898 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'
11901 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11902 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11903 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'
11905 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11906 hardcode_libdir_separator_CXX
=:
11908 # Commands to make compiler produce verbose output that lists
11909 # what "hidden" libraries, object files and flags are used when
11910 # linking a shared library.
11911 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11914 # FIXME: insert proper C++ library support
11921 case $cc_basename in
11923 # Kuck and Associates, Inc. (KAI) C++ Compiler
11925 # KCC will only create a shared library if the output file
11926 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11927 # to its proper name (with version) after linking.
11928 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'
11930 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11931 hardcode_libdir_separator_CXX
=:
11933 # Archives containing C++ object files must be created using
11934 # the KAI C++ compiler.
11935 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11938 # Rational C++ 2.4.1
11939 # FIXME: insert proper C++ library support
11943 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11944 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'
11945 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11946 echo "-hidden">> $lib.exp~
11947 $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~
11950 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11951 hardcode_libdir_separator_CXX
=:
11953 # Commands to make compiler produce verbose output that lists
11954 # what "hidden" libraries, object files and flags are used when
11955 # linking a shared library.
11957 # There doesn't appear to be a way to prevent this compiler from
11958 # explicitly linking system object files so we need to strip them
11959 # from the output so that they don't get included in the library
11961 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'
11964 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11965 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11966 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'
11968 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11969 hardcode_libdir_separator_CXX
=:
11971 # Commands to make compiler produce verbose output that lists
11972 # what "hidden" libraries, object files and flags are used when
11973 # linking a shared library.
11974 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11977 # FIXME: insert proper C++ library support
11984 # FIXME: insert proper C++ library support
11988 case $cc_basename in
11991 # FIXME: insert proper C++ library support
11996 # FIXME: insert proper C++ library support
12000 # FIXME: insert proper C++ library support
12006 case $cc_basename in
12008 # Sun C++ 4.2, 5.x and Centerline C++
12009 archive_cmds_need_lc_CXX
=yes
12010 no_undefined_flag_CXX
=' -zdefs'
12011 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12012 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12013 $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'
12015 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12016 hardcode_shlibpath_var_CXX
=no
12018 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12020 # The C++ compiler is used as linker so we must use $wl
12021 # flag to pass the commands to the underlying system
12022 # linker. We must also pass each convience library through
12023 # to the system linker between allextract/defaultextract.
12024 # The C++ compiler will combine linker options so we
12025 # cannot just pass the convience library names through
12027 # Supported since Solaris 2.6 (maybe 2.5.1?)
12028 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'
12031 link_all_deplibs_CXX
=yes
12033 output_verbose_link_cmd
='echo'
12035 # Archives containing C++ object files must be created using
12036 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12037 # necessary to make sure instantiated templates are included
12039 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12042 # Green Hills C++ Compiler
12043 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12045 # The C++ compiler must be used to create the archive.
12046 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12049 # GNU C++ compiler with Solaris linker
12050 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12051 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12052 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12053 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12054 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12055 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12057 # Commands to make compiler produce verbose output that lists
12058 # what "hidden" libraries, object files and flags are used when
12059 # linking a shared library.
12060 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12062 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12064 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12065 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12066 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12068 # Commands to make compiler produce verbose output that lists
12069 # what "hidden" libraries, object files and flags are used when
12070 # linking a shared library.
12071 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12074 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12079 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12080 no_undefined_flag_CXX
='${wl}-z,text'
12081 archive_cmds_need_lc_CXX
=no
12082 hardcode_shlibpath_var_CXX
=no
12083 runpath_var
='LD_RUN_PATH'
12085 case $cc_basename in
12087 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12088 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12091 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12092 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12096 sysv5
* | sco3.2v5
* | sco5v6
*)
12097 # Note: We can NOT use -z defs as we might desire, because we do not
12098 # link with -lc, and that would cause any symbols used from libc to
12099 # always be unresolved, which means just about no library would
12100 # ever link correctly. If we're not using GNU ld we use -z text
12101 # though, which does catch some bad symbols but isn't as heavy-handed
12103 # For security reasons, it is highly recommended that you always
12104 # use absolute paths for naming shared libraries, and exclude the
12105 # DT_RUNPATH tag from executables and libraries. But doing so
12106 # requires that you compile everything twice, which is a pain.
12107 # So that behaviour is only enabled if SCOABSPATH is set to a
12108 # non-empty value in the environment. Most likely only useful for
12109 # creating official distributions of packages.
12110 # This is a hack until libtool officially supports absolute path
12111 # names for shared libraries.
12112 no_undefined_flag_CXX
='${wl}-z,text'
12113 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12114 archive_cmds_need_lc_CXX
=no
12115 hardcode_shlibpath_var_CXX
=no
12116 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12117 hardcode_libdir_separator_CXX
=':'
12118 link_all_deplibs_CXX
=yes
12119 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12120 runpath_var
='LD_RUN_PATH'
12122 case $cc_basename in
12124 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12125 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12128 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12129 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12134 case $cc_basename in
12136 # NonStop-UX NCC 3.20
12137 # FIXME: insert proper C++ library support
12141 # FIXME: insert proper C++ library support
12147 # FIXME: insert proper C++ library support
12151 # FIXME: insert proper C++ library support
12155 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12156 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12157 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12163 cat > conftest.
$ac_ext <<EOF
12167 Foo (void) { a = 0; }
12173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12174 (eval $ac_compile) 2>&5
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); }; then
12178 # Parse the compiler output and extract the necessary
12179 # objects, libraries and library flags.
12181 # Sentinel used to keep track of whether or not we are before
12182 # the conftest object file.
12183 pre_test_object_deps_done
=no
12185 # The `*' in the case matches for architectures that use `case' in
12186 # $output_verbose_cmd can trigger glob expansion during the loop
12187 # eval without this substitution.
12188 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12190 for p
in `eval $output_verbose_link_cmd`; do
12194 # Some compilers place space between "-{L,R}" and the path.
12195 # Remove the space.
12196 if test $p = "-L" \
12197 ||
test $p = "-R"; then
12204 if test "$pre_test_object_deps_done" = no
; then
12207 # Internal compiler library paths should come after those
12208 # provided the user. The postdeps already come after the
12209 # user supplied libs so there is no need to process them.
12210 if test -z "$compiler_lib_search_path_CXX"; then
12211 compiler_lib_search_path_CXX
="${prev}${p}"
12213 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12216 # The "-l" case would never come before the object being
12217 # linked, so don't bother handling this case.
12220 if test -z "$postdeps_CXX"; then
12221 postdeps_CXX
="${prev}${p}"
12223 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12229 # This assumes that the test object file only shows up
12230 # once in the compiler output.
12231 if test "$p" = "conftest.$objext"; then
12232 pre_test_object_deps_done
=yes
12236 if test "$pre_test_object_deps_done" = no
; then
12237 if test -z "$predep_objects_CXX"; then
12238 predep_objects_CXX
="$p"
12240 predep_objects_CXX
="$predep_objects_CXX $p"
12243 if test -z "$postdep_objects_CXX"; then
12244 postdep_objects_CXX
="$p"
12246 postdep_objects_CXX
="$postdep_objects_CXX $p"
12251 *) ;; # Ignore the rest.
12259 echo "libtool.m4: error: problem compiling CXX test program"
12262 $rm -f confest.
$objext
12264 # PORTME: override above test on systems where it is broken
12267 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12268 # hack all around it, let's just trust "g++" to DTRT.
12269 predep_objects_CXX
=
12270 postdep_objects_CXX
=
12275 case $cc_basename in
12277 # Adding this requires a known-good setup of shared libraries for
12278 # Sun compiler versions before 5.6, else PIC objects from an old
12279 # archive will be linked into the output, leading to subtle bugs.
12280 postdeps_CXX
='-lCstd -lCrun'
12287 case " $postdeps_CXX " in
12288 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12291 lt_prog_compiler_wl_CXX
=
12292 lt_prog_compiler_pic_CXX
=
12293 lt_prog_compiler_static_CXX
=
12295 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12296 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12298 # C++ specific cases for pic, static, wl, etc.
12299 if test "$GXX" = yes; then
12300 lt_prog_compiler_wl_CXX
='-Wl,'
12301 lt_prog_compiler_static_CXX
='-static'
12305 # All AIX code is PIC.
12306 if test "$host_cpu" = ia64
; then
12307 # AIX 5 now supports IA64 processor
12308 lt_prog_compiler_static_CXX
='-Bstatic'
12312 # FIXME: we need at least 68020 code to build shared libraries, but
12313 # adding the `-m68020' flag to GCC prevents building anything better,
12315 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12317 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12318 # PIC is the default for these OSes.
12320 mingw
* | os2
* | pw32
*)
12321 # This hack is so that the source file can tell whether it is being
12322 # built for inclusion in a dll (and should export symbols for example).
12323 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12325 darwin
* | rhapsody
*)
12326 # PIC is the default on this platform
12327 # Common symbols not allowed in MH_DYLIB files
12328 lt_prog_compiler_pic_CXX
='-fno-common'
12331 # DJGPP does not support shared libraries at all
12332 lt_prog_compiler_pic_CXX
=
12335 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12336 # Instead, we relocate shared libraries at runtime.
12339 if test -d /usr
/nec
; then
12340 lt_prog_compiler_pic_CXX
=-Kconform_pic
12344 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12345 # not for PA HP-UX.
12350 lt_prog_compiler_pic_CXX
='-fPIC'
12355 lt_prog_compiler_pic_CXX
='-fPIC'
12361 # All AIX code is PIC.
12362 if test "$host_cpu" = ia64
; then
12363 # AIX 5 now supports IA64 processor
12364 lt_prog_compiler_static_CXX
='-Bstatic'
12366 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12370 case $cc_basename in
12372 # Green Hills C++ Compiler
12373 # _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"
12378 # PIC is the default on this platform
12379 # Common symbols not allowed in MH_DYLIB files
12380 case $cc_basename in
12382 lt_prog_compiler_pic_CXX
='-qnocommon'
12383 lt_prog_compiler_wl_CXX
='-Wl,'
12388 case $cc_basename in
12390 lt_prog_compiler_pic_CXX
='-KPIC'
12393 # Green Hills C++ Compiler
12394 lt_prog_compiler_pic_CXX
='-pic'
12400 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12401 # FreeBSD uses GNU C++
12403 hpux9
* | hpux10
* | hpux11
*)
12404 case $cc_basename in
12406 lt_prog_compiler_wl_CXX
='-Wl,'
12407 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12408 if test "$host_cpu" != ia64
; then
12409 lt_prog_compiler_pic_CXX
='+Z'
12413 lt_prog_compiler_wl_CXX
='-Wl,'
12414 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12420 lt_prog_compiler_pic_CXX
='+Z'
12429 # This is c89, which is MS Visual C++ (no shared libs)
12430 # Anyone wants to do a port?
12432 irix5
* | irix6
* | nonstopux
*)
12433 case $cc_basename in
12435 lt_prog_compiler_wl_CXX
='-Wl,'
12436 lt_prog_compiler_static_CXX
='-non_shared'
12437 # CC pic flag -KPIC is the default.
12444 case $cc_basename in
12447 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12448 lt_prog_compiler_pic_CXX
='-fPIC'
12452 lt_prog_compiler_wl_CXX
='-Wl,'
12453 lt_prog_compiler_pic_CXX
='-KPIC'
12454 lt_prog_compiler_static_CXX
='-static'
12457 # Portland Group C++ compiler.
12458 lt_prog_compiler_wl_CXX
='-Wl,'
12459 lt_prog_compiler_pic_CXX
='-fpic'
12460 lt_prog_compiler_static_CXX
='-Bstatic'
12464 # Make sure the PIC flag is empty. It appears that all Alpha
12465 # Linux and Compaq Tru64 Unix objects are PIC.
12466 lt_prog_compiler_pic_CXX
=
12467 lt_prog_compiler_static_CXX
='-non_shared'
12478 case $cc_basename in
12480 lt_prog_compiler_pic_CXX
='-W c,exportall'
12488 osf3
* | osf4
* | osf5
*)
12489 case $cc_basename in
12491 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12494 # Rational C++ 2.4.1
12495 lt_prog_compiler_pic_CXX
='-pic'
12498 # Digital/Compaq C++
12499 lt_prog_compiler_wl_CXX
='-Wl,'
12500 # Make sure the PIC flag is empty. It appears that all Alpha
12501 # Linux and Compaq Tru64 Unix objects are PIC.
12502 lt_prog_compiler_pic_CXX
=
12503 lt_prog_compiler_static_CXX
='-non_shared'
12512 case $cc_basename in
12514 # Sun C++ 4.2, 5.x and Centerline C++
12515 lt_prog_compiler_pic_CXX
='-KPIC'
12516 lt_prog_compiler_static_CXX
='-Bstatic'
12517 lt_prog_compiler_wl_CXX
='-Qoption ld '
12520 # Green Hills C++ Compiler
12521 lt_prog_compiler_pic_CXX
='-PIC'
12528 case $cc_basename in
12531 lt_prog_compiler_pic_CXX
='-pic'
12532 lt_prog_compiler_static_CXX
='-Bstatic'
12536 lt_prog_compiler_pic_CXX
='-pic'
12543 case $cc_basename in
12545 # NonStop-UX NCC 3.20
12546 lt_prog_compiler_pic_CXX
='-KPIC'
12552 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12553 case $cc_basename in
12555 lt_prog_compiler_wl_CXX
='-Wl,'
12556 lt_prog_compiler_pic_CXX
='-KPIC'
12557 lt_prog_compiler_static_CXX
='-Bstatic'
12564 lt_prog_compiler_can_build_shared_CXX
=no
12569 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12570 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12573 # Check to make sure the PIC flag actually works.
12575 if test -n "$lt_prog_compiler_pic_CXX"; then
12577 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12578 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12579 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12580 echo $ECHO_N "(cached) $ECHO_C" >&6
12582 lt_prog_compiler_pic_works_CXX
=no
12583 ac_outfile
=conftest.
$ac_objext
12584 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12585 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12586 # Insert the option either (1) after the last *FLAGS variable, or
12587 # (2) before a word containing "conftest.", or (3) at the end.
12588 # Note that $ac_compile itself does not contain backslashes and begins
12589 # with a dollar sign (not a hyphen), so the echo should work correctly.
12590 # The option is referenced via a variable to avoid confusing sed.
12591 lt_compile
=`echo "$ac_compile" | $SED \
12592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12593 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12594 -e 's:$: $lt_compiler_flag:'`
12595 (eval echo "\"\$as_me:12595: $lt_compile\"" >&5)
12596 (eval "$lt_compile" 2>conftest.err
)
12598 cat conftest.err
>&5
12599 echo "$as_me:12599: \$? = $ac_status" >&5
12600 if (exit $ac_status) && test -s "$ac_outfile"; then
12601 # The compiler can only warn and ignore the option if not recognized
12602 # So say no if there are warnings other than the usual output.
12603 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12604 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12605 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12606 lt_prog_compiler_pic_works_CXX
=yes
12612 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12613 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12615 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12616 case $lt_prog_compiler_pic_CXX in
12618 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12621 lt_prog_compiler_pic_CXX
=
12622 lt_prog_compiler_can_build_shared_CXX
=no
12627 # For platforms which do not support PIC, -DPIC is meaningless:
12629 lt_prog_compiler_pic_CXX
=
12632 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12637 # Check to make sure the static flag actually works.
12639 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12640 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12641 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12642 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12643 echo $ECHO_N "(cached) $ECHO_C" >&6
12645 lt_prog_compiler_static_works_CXX
=no
12646 save_LDFLAGS
="$LDFLAGS"
12647 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12648 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12649 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12650 # The linker can only warn and ignore the option if not recognized
12651 # So say no if there are warnings
12652 if test -s conftest.err
; then
12653 # Append any errors to the config.log.
12654 cat conftest.err
1>&5
12655 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12656 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12657 if diff conftest.exp conftest.er2
>/dev
/null
; then
12658 lt_prog_compiler_static_works_CXX
=yes
12661 lt_prog_compiler_static_works_CXX
=yes
12665 LDFLAGS
="$save_LDFLAGS"
12668 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12669 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12671 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12674 lt_prog_compiler_static_CXX
=
12678 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12679 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12680 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12681 echo $ECHO_N "(cached) $ECHO_C" >&6
12683 lt_cv_prog_compiler_c_o_CXX
=no
12684 $rm -r conftest
2>/dev
/null
12688 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12690 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12691 # Insert the option either (1) after the last *FLAGS variable, or
12692 # (2) before a word containing "conftest.", or (3) at the end.
12693 # Note that $ac_compile itself does not contain backslashes and begins
12694 # with a dollar sign (not a hyphen), so the echo should work correctly.
12695 lt_compile
=`echo "$ac_compile" | $SED \
12696 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12697 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12698 -e 's:$: $lt_compiler_flag:'`
12699 (eval echo "\"\$as_me:12699: $lt_compile\"" >&5)
12700 (eval "$lt_compile" 2>out
/conftest.err
)
12702 cat out
/conftest.err
>&5
12703 echo "$as_me:12703: \$? = $ac_status" >&5
12704 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12706 # The compiler can only warn and ignore the option if not recognized
12707 # So say no if there are warnings
12708 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12709 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12710 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12711 lt_cv_prog_compiler_c_o_CXX
=yes
12716 # SGI C++ compiler will create directory out/ii_files/ for
12717 # template instantiation
12718 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12719 $rm out
/* && rmdir out
12725 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12726 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12729 hard_links
="nottested"
12730 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12731 # do not overwrite the value of need_locks provided by the user
12732 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12733 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12736 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12738 ln conftest.a conftest.b
2>&5 || hard_links
=no
12739 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12740 { echo "$as_me:$LINENO: result: $hard_links" >&5
12741 echo "${ECHO_T}$hard_links" >&6; }
12742 if test "$hard_links" = no
; then
12743 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12744 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12751 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12752 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12754 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12757 # If we're using GNU nm, then we don't want the "-C" option.
12758 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12759 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12760 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'
12762 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'
12766 export_symbols_cmds_CXX
="$ltdll_cmds"
12769 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'
12772 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12776 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12777 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12778 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12781 # Do we need to explicitly link libc?
12783 case "x$archive_cmds_need_lc_CXX" in
12785 # Assume -lc should be added
12786 archive_cmds_need_lc_CXX
=yes
12788 if test "$enable_shared" = yes && test "$GCC" = yes; then
12789 case $archive_cmds_CXX in
12791 # FIXME: we may have to deal with multi-command sequences.
12794 # Test whether the compiler implicitly links with -lc since on some
12795 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12796 # to ld, don't add -lc before -lgcc.
12797 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12798 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12800 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12803 (eval $ac_compile) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); } 2>conftest.err
; then
12809 libobjs
=conftest.
$ac_objext
12811 wl
=$lt_prog_compiler_wl_CXX
12812 pic_flag
=$lt_prog_compiler_pic_CXX
12818 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12819 allow_undefined_flag_CXX
=
12820 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12821 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12824 (exit $ac_status); }
12826 archive_cmds_need_lc_CXX
=no
12828 archive_cmds_need_lc_CXX
=yes
12830 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12832 cat conftest.err
1>&5
12835 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12836 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12843 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12844 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12845 library_names_spec
=
12846 libname_spec
='lib$name'
12850 postuninstall_cmds
=
12854 shlibpath_overrides_runpath
=unknown
12856 dynamic_linker
="$host_os ld.so"
12857 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12858 if test "$GCC" = yes; then
12859 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12860 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12861 # if the path contains ";" then we assume it to be the separator
12862 # otherwise default to the standard path separator (i.e. ":") - it is
12863 # assumed that no part of a normal pathname contains ";" but that should
12864 # okay in the real world where ";" in dirpaths is itself problematic.
12865 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12867 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12870 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12872 need_lib_prefix
=unknown
12873 hardcode_into_libs
=no
12875 # when you set need_version to no, make sure it does not cause -set_version
12876 # flags to be left without arguments
12877 need_version
=unknown
12882 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12883 shlibpath_var
=LIBPATH
12885 # AIX 3 has no versioning support, so we append a major version to the name.
12886 soname_spec
='${libname}${release}${shared_ext}$major'
12893 hardcode_into_libs
=yes
12894 if test "$host_cpu" = ia64
; then
12895 # AIX 5 supports IA64
12896 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12897 shlibpath_var
=LD_LIBRARY_PATH
12899 # With GCC up to 2.95.x, collect2 would create an import file
12900 # for dependence libraries. The import file would start with
12901 # the line `#! .'. This would cause the generated library to
12902 # depend on `.', always an invalid library. This was fixed in
12903 # development snapshots of GCC prior to 3.0.
12905 aix4 | aix4.
[01] | aix4.
[01].
*)
12906 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12908 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12911 can_build_shared
=no
12915 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12916 # soname into executable. Probably we can add versioning support to
12917 # collect2, so additional links can be useful in future.
12918 if test "$aix_use_runtimelinking" = yes; then
12919 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12920 # instead of lib<name>.a to let people know that these are not
12921 # typical AIX shared libraries.
12922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12924 # We preserve .a as extension for shared libraries through AIX4.2
12925 # and later when we are not doing run time linking.
12926 library_names_spec
='${libname}${release}.a $libname.a'
12927 soname_spec
='${libname}${release}${shared_ext}$major'
12929 shlibpath_var
=LIBPATH
12934 library_names_spec
='$libname.ixlibrary $libname.a'
12935 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12936 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'
12940 library_names_spec
='${libname}${shared_ext}'
12941 dynamic_linker
="$host_os ld.so"
12942 shlibpath_var
=LIBRARY_PATH
12948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12949 soname_spec
='${libname}${release}${shared_ext}$major'
12950 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12951 shlibpath_var
=LD_LIBRARY_PATH
12952 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12953 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12954 # the default ld.so.conf also contains /usr/contrib/lib and
12955 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12956 # libtool to hard-code these into programs
12959 cygwin
* | mingw
* | pw32
*)
12960 version_type
=windows
12965 case $GCC,$host_os in
12966 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12967 library_names_spec
='$libname.dll.a'
12968 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12969 postinstall_cmds
='base_file=`basename \${file}`~
12970 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12971 dldir=$destdir/`dirname \$dlpath`~
12972 test -d \$dldir || mkdir -p \$dldir~
12973 $install_prog $dir/$dlname \$dldir/$dlname~
12974 chmod a+x \$dldir/$dlname'
12975 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12976 dlpath=$dir/\$dldll~
12978 shlibpath_overrides_runpath
=yes
12982 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12983 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12984 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12987 # MinGW DLLs use traditional 'lib' prefix
12988 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12989 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12990 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12991 # It is most probably a Windows format PATH printed by
12992 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12993 # path with ; separators, and with drive letters. We can handle the
12994 # drive letters (cygwin fileutils understands them), so leave them,
12995 # especially as we might pass files found there to a mingw objdump,
12996 # which wouldn't understand a cygwinified path. Ahh.
12997 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12999 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13003 # pw32 DLLs use 'pw' prefix rather than 'lib'
13004 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13010 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13013 dynamic_linker
='Win32 ld.exe'
13014 # FIXME: first we should search . and the directory the executable is in
13018 darwin
* | rhapsody
*)
13019 dynamic_linker
="$host_os dyld"
13020 version_type
=darwin
13023 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13024 soname_spec
='${libname}${release}${major}$shared_ext'
13025 shlibpath_overrides_runpath
=yes
13026 shlibpath_var
=DYLD_LIBRARY_PATH
13027 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13028 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13029 if test "$GCC" = yes; then
13030 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"`
13032 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13034 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13042 soname_spec
='${libname}${release}${shared_ext}$major'
13043 shlibpath_var
=LD_LIBRARY_PATH
13054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13055 soname_spec
='${libname}${release}${shared_ext}$major'
13056 shlibpath_var
=LD_LIBRARY_PATH
13057 shlibpath_overrides_runpath
=no
13058 hardcode_into_libs
=yes
13059 dynamic_linker
='GNU ld.so'
13062 freebsd
* | dragonfly
*)
13063 # DragonFly does not have aout. When/if they implement a new
13064 # versioning mechanism, adjust this.
13065 if test -x /usr
/bin
/objformat
; then
13066 objformat
=`/usr/bin/objformat`
13069 freebsd
[123]*) objformat
=aout
;;
13070 *) objformat
=elf
;;
13073 version_type
=freebsd-
$objformat
13074 case $version_type in
13076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13081 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13085 shlibpath_var
=LD_LIBRARY_PATH
13088 shlibpath_overrides_runpath
=yes
13090 freebsd3.
[01]* | freebsdelf3.
[01]*)
13091 shlibpath_overrides_runpath
=yes
13092 hardcode_into_libs
=yes
13094 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13095 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13096 shlibpath_overrides_runpath
=no
13097 hardcode_into_libs
=yes
13099 freebsd
*) # from 4.6 on
13100 shlibpath_overrides_runpath
=yes
13101 hardcode_into_libs
=yes
13110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13111 soname_spec
='${libname}${release}${shared_ext}$major'
13112 shlibpath_var
=LD_LIBRARY_PATH
13113 hardcode_into_libs
=yes
13116 hpux9
* | hpux10
* | hpux11
*)
13117 # Give a soname corresponding to the major version so that dld.sl refuses to
13118 # link against other versions.
13125 hardcode_into_libs
=yes
13126 dynamic_linker
="$host_os dld.so"
13127 shlibpath_var
=LD_LIBRARY_PATH
13128 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13130 soname_spec
='${libname}${release}${shared_ext}$major'
13131 if test "X$HPUX_IA64_MODE" = X32
; then
13132 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13134 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13136 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13140 hardcode_into_libs
=yes
13141 dynamic_linker
="$host_os dld.sl"
13142 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13143 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13145 soname_spec
='${libname}${release}${shared_ext}$major'
13146 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13147 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13151 dynamic_linker
="$host_os dld.sl"
13152 shlibpath_var
=SHLIB_PATH
13153 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13155 soname_spec
='${libname}${release}${shared_ext}$major'
13158 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13159 postinstall_cmds
='chmod 555 $lib'
13166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13167 soname_spec
='${libname}${release}${shared_ext}$major'
13168 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13169 shlibpath_var
=LD_LIBRARY_PATH
13170 shlibpath_overrides_runpath
=no
13171 hardcode_into_libs
=yes
13174 irix5
* | irix6
* | nonstopux
*)
13176 nonstopux
*) version_type
=nonstopux
;;
13178 if test "$lt_cv_prog_gnu_ld" = yes; then
13186 soname_spec
='${libname}${release}${shared_ext}$major'
13187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13189 irix5
* | nonstopux
*)
13190 libsuff
= shlibsuff
=
13193 case $LD in # libtool.m4 will add one of these switches to LD
13194 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13195 libsuff
= shlibsuff
= libmagic
=32-bit;;
13196 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13197 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13198 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13199 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13200 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13204 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13205 shlibpath_overrides_runpath
=no
13206 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13207 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13208 hardcode_into_libs
=yes
13211 # No shared lib support for Linux oldld, aout, or coff.
13212 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13216 # This must be Linux ELF.
13221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13222 soname_spec
='${libname}${release}${shared_ext}$major'
13223 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13224 shlibpath_var
=LD_LIBRARY_PATH
13225 shlibpath_overrides_runpath
=no
13226 # This implies no fast_install, which is unacceptable.
13227 # Some rework will be needed to allow for fast_install
13228 # before this can be enabled.
13229 hardcode_into_libs
=yes
13231 # Append ld.so.conf contents to the search path
13232 if test -f /etc
/ld.so.conf
; then
13233 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' ' '`
13234 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13237 # We used to test for /lib/ld.so.1 and disable shared libraries on
13238 # powerpc, because MkLinux only supported shared libraries with the
13239 # GNU dynamic linker. Since this was broken with cross compilers,
13240 # most powerpc-linux boxes support dynamic linking these days and
13241 # people can always --disable-shared, the test was removed, and we
13242 # assume the GNU/Linux dynamic linker is in use.
13243 dynamic_linker
='GNU/Linux ld.so'
13250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13251 soname_spec
='${libname}${release}${shared_ext}$major'
13252 shlibpath_var
=LD_LIBRARY_PATH
13253 shlibpath_overrides_runpath
=no
13254 hardcode_into_libs
=yes
13255 dynamic_linker
='GNU ld.so'
13262 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13264 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13265 dynamic_linker
='NetBSD (a.out) ld.so'
13267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13268 soname_spec
='${libname}${release}${shared_ext}$major'
13269 dynamic_linker
='NetBSD ld.elf_so'
13271 shlibpath_var
=LD_LIBRARY_PATH
13272 shlibpath_overrides_runpath
=yes
13273 hardcode_into_libs
=yes
13278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13279 shlibpath_var
=LD_LIBRARY_PATH
13280 shlibpath_overrides_runpath
=yes
13287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 soname_spec
='${libname}${release}${shared_ext}$major'
13289 shlibpath_var
=LD_LIBRARY_PATH
13290 shlibpath_overrides_runpath
=yes
13295 sys_lib_dlsearch_path_spec
="/usr/lib"
13297 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13299 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13300 *) need_version
=no
;;
13302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13303 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13304 shlibpath_var
=LD_LIBRARY_PATH
13305 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13307 openbsd2.
[89] | openbsd2.
[89].
*)
13308 shlibpath_overrides_runpath
=no
13311 shlibpath_overrides_runpath
=yes
13315 shlibpath_overrides_runpath
=yes
13320 libname_spec
='$name'
13323 library_names_spec
='$libname${shared_ext} $libname.a'
13324 dynamic_linker
='OS/2 ld.exe'
13325 shlibpath_var
=LIBPATH
13328 osf3
* | osf4
* | osf5
*)
13332 soname_spec
='${libname}${release}${shared_ext}$major'
13333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13334 shlibpath_var
=LD_LIBRARY_PATH
13335 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13336 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13344 soname_spec
='${libname}${release}${shared_ext}$major'
13345 shlibpath_var
=LD_LIBRARY_PATH
13346 shlibpath_overrides_runpath
=yes
13347 hardcode_into_libs
=yes
13348 # ldd complains unless libraries are executable
13349 postinstall_cmds
='chmod +x $lib'
13354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13355 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13356 shlibpath_var
=LD_LIBRARY_PATH
13357 shlibpath_overrides_runpath
=yes
13358 if test "$with_gnu_ld" = yes; then
13366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13367 soname_spec
='${libname}${release}${shared_ext}$major'
13368 shlibpath_var
=LD_LIBRARY_PATH
13369 case $host_vendor in
13371 shlibpath_overrides_runpath
=no
13373 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13374 runpath_var
=LD_RUN_PATH
13382 shlibpath_overrides_runpath
=no
13383 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13389 if test -d /usr
/nec
;then
13391 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13392 soname_spec
='$libname${shared_ext}.$major'
13393 shlibpath_var
=LD_LIBRARY_PATH
13397 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13398 version_type
=freebsd-elf
13401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13402 soname_spec
='${libname}${release}${shared_ext}$major'
13403 shlibpath_var
=LD_LIBRARY_PATH
13404 hardcode_into_libs
=yes
13405 if test "$with_gnu_ld" = yes; then
13406 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13407 shlibpath_overrides_runpath
=no
13409 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13410 shlibpath_overrides_runpath
=yes
13413 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13417 sys_lib_dlsearch_path_spec
='/usr/lib'
13422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13423 soname_spec
='${libname}${release}${shared_ext}$major'
13424 shlibpath_var
=LD_LIBRARY_PATH
13431 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13432 echo "${ECHO_T}$dynamic_linker" >&6; }
13433 test "$dynamic_linker" = no
&& can_build_shared
=no
13435 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13436 if test "$GCC" = yes; then
13437 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13440 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13441 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13442 hardcode_action_CXX
=
13443 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13444 test -n "$runpath_var_CXX" || \
13445 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13447 # We can hardcode non-existant directories.
13448 if test "$hardcode_direct_CXX" != no
&&
13449 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13450 # have to relink, otherwise we might link with an installed library
13451 # when we should be linking with a yet-to-be-installed one
13452 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13453 test "$hardcode_minus_L_CXX" != no
; then
13454 # Linking always hardcodes the temporary library directory.
13455 hardcode_action_CXX
=relink
13457 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13458 hardcode_action_CXX
=immediate
13461 # We cannot hardcode anything, or else we can only hardcode existing
13463 hardcode_action_CXX
=unsupported
13465 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13466 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13468 if test "$hardcode_action_CXX" = relink
; then
13469 # Fast installation is not supported
13470 enable_fast_install
=no
13471 elif test "$shlibpath_overrides_runpath" = yes ||
13472 test "$enable_shared" = no
; then
13473 # Fast installation is not necessary
13474 enable_fast_install
=needless
13478 # The else clause should only fire when bootstrapping the
13479 # libtool distribution, otherwise you forgot to ship ltmain.sh
13480 # with your package, and you will get complaints that there are
13481 # no rules to generate ltmain.sh.
13482 if test -f "$ltmain"; then
13483 # See if we are running on zsh, and set the options which allow our commands through
13484 # without removal of \ escapes.
13485 if test -n "${ZSH_VERSION+set}" ; then
13486 setopt NO_GLOB_SUBST
13488 # Now quote all the things that may contain metacharacters while being
13489 # careful not to overquote the AC_SUBSTed values. We take copies of the
13490 # variables and quote the copies for generation of the libtool script.
13491 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13493 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13494 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13495 deplibs_check_method reload_flag reload_cmds need_locks \
13496 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13497 lt_cv_sys_global_symbol_to_c_name_address \
13498 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13499 old_postinstall_cmds old_postuninstall_cmds \
13503 lt_prog_compiler_wl_CXX \
13504 lt_prog_compiler_pic_CXX \
13505 lt_prog_compiler_static_CXX \
13506 lt_prog_compiler_no_builtin_flag_CXX \
13507 export_dynamic_flag_spec_CXX \
13508 thread_safe_flag_spec_CXX \
13509 whole_archive_flag_spec_CXX \
13510 enable_shared_with_static_runtimes_CXX \
13511 old_archive_cmds_CXX \
13512 old_archive_from_new_cmds_CXX \
13513 predep_objects_CXX \
13514 postdep_objects_CXX \
13517 compiler_lib_search_path_CXX \
13519 archive_expsym_cmds_CXX \
13520 postinstall_cmds_CXX \
13521 postuninstall_cmds_CXX \
13522 old_archive_from_expsyms_cmds_CXX \
13523 allow_undefined_flag_CXX \
13524 no_undefined_flag_CXX \
13525 export_symbols_cmds_CXX \
13526 hardcode_libdir_flag_spec_CXX \
13527 hardcode_libdir_flag_spec_ld_CXX \
13528 hardcode_libdir_separator_CXX \
13529 hardcode_automatic_CXX \
13531 module_expsym_cmds_CXX \
13532 lt_cv_prog_compiler_c_o_CXX \
13533 exclude_expsyms_CXX \
13534 include_expsyms_CXX
; do
13537 old_archive_cmds_CXX | \
13538 old_archive_from_new_cmds_CXX | \
13539 archive_cmds_CXX | \
13540 archive_expsym_cmds_CXX | \
13541 module_cmds_CXX | \
13542 module_expsym_cmds_CXX | \
13543 old_archive_from_expsyms_cmds_CXX | \
13544 export_symbols_cmds_CXX | \
13545 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13546 postinstall_cmds | postuninstall_cmds | \
13547 old_postinstall_cmds | old_postuninstall_cmds | \
13548 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13549 # Double-quote double-evaled strings.
13550 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13553 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13559 *'\$0 --fallback-echo"')
13560 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13566 cat <<__EOF__ >> "$cfgfile"
13567 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13569 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13571 # Shell to use when invoking shell scripts.
13574 # Whether or not to build shared libraries.
13575 build_libtool_libs=$enable_shared
13577 # Whether or not to build static libraries.
13578 build_old_libs=$enable_static
13580 # Whether or not to add -lc for building shared libraries.
13581 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13583 # Whether or not to disallow shared libs when runtime libs are static
13584 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13586 # Whether or not to optimize for fast installation.
13587 fast_install=$enable_fast_install
13590 host_alias=$host_alias
13594 # The build system.
13595 build_alias=$build_alias
13599 # An echo program that does not interpret backslashes.
13604 AR_FLAGS=$lt_AR_FLAGS
13609 # LTCC compiler flags.
13610 LTCFLAGS=$lt_LTCFLAGS
13612 # A language-specific compiler.
13613 CC=$lt_compiler_CXX
13615 # Is the compiler the GNU C compiler?
13621 # The linker used to build libraries.
13624 # Whether we need hard or soft links.
13627 # A BSD-compatible nm program.
13630 # A symbol stripping program
13633 # Used to examine libraries when file_magic_cmd begins "file"
13634 MAGIC_CMD=$MAGIC_CMD
13636 # Used on cygwin: DLL creation program.
13639 # Used on cygwin: object dumper.
13642 # Used on cygwin: assembler.
13645 # The name of the directory that contains temporary libtool files.
13648 # How to create reloadable object files.
13649 reload_flag=$lt_reload_flag
13650 reload_cmds=$lt_reload_cmds
13652 # How to pass a linker flag through the compiler.
13653 wl=$lt_lt_prog_compiler_wl_CXX
13655 # Object file suffix (normally "o").
13656 objext="$ac_objext"
13658 # Old archive suffix (normally "a").
13661 # Shared library suffix (normally ".so").
13662 shrext_cmds='$shrext_cmds'
13664 # Executable file suffix (normally "").
13667 # Additional compiler flags for building library objects.
13668 pic_flag=$lt_lt_prog_compiler_pic_CXX
13671 # What is the maximum length of a command?
13672 max_cmd_len=$lt_cv_sys_max_cmd_len
13674 # Does compiler simultaneously support -c and -o options?
13675 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13677 # Must we lock files when doing compilation?
13678 need_locks=$lt_need_locks
13680 # Do we need the lib prefix for modules?
13681 need_lib_prefix=$need_lib_prefix
13683 # Do we need a version for libraries?
13684 need_version=$need_version
13686 # Whether dlopen is supported.
13687 dlopen_support=$enable_dlopen
13689 # Whether dlopen of programs is supported.
13690 dlopen_self=$enable_dlopen_self
13692 # Whether dlopen of statically linked programs is supported.
13693 dlopen_self_static=$enable_dlopen_self_static
13695 # Compiler flag to prevent dynamic linking.
13696 link_static_flag=$lt_lt_prog_compiler_static_CXX
13698 # Compiler flag to turn off builtin functions.
13699 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13701 # Compiler flag to allow reflexive dlopens.
13702 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13704 # Compiler flag to generate shared objects directly from archives.
13705 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13707 # Compiler flag to generate thread-safe objects.
13708 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13710 # Library versioning type.
13711 version_type=$version_type
13713 # Format of library name prefix.
13714 libname_spec=$lt_libname_spec
13716 # List of archive names. First name is the real one, the rest are links.
13717 # The last name is the one that the linker finds with -lNAME.
13718 library_names_spec=$lt_library_names_spec
13720 # The coded name of the library, if different from the real name.
13721 soname_spec=$lt_soname_spec
13723 # Commands used to build and install an old-style archive.
13725 old_archive_cmds=$lt_old_archive_cmds_CXX
13726 old_postinstall_cmds=$lt_old_postinstall_cmds
13727 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13729 # Create an old-style archive from a shared archive.
13730 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13732 # Create a temporary old-style archive to link instead of a shared archive.
13733 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13735 # Commands used to build and install a shared archive.
13736 archive_cmds=$lt_archive_cmds_CXX
13737 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13738 postinstall_cmds=$lt_postinstall_cmds
13739 postuninstall_cmds=$lt_postuninstall_cmds
13741 # Commands used to build a loadable module (assumed same as above if empty)
13742 module_cmds=$lt_module_cmds_CXX
13743 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13745 # Commands to strip libraries.
13746 old_striplib=$lt_old_striplib
13747 striplib=$lt_striplib
13749 # Dependencies to place before the objects being linked to create a
13751 predep_objects=$lt_predep_objects_CXX
13753 # Dependencies to place after the objects being linked to create a
13755 postdep_objects=$lt_postdep_objects_CXX
13757 # Dependencies to place before the objects being linked to create a
13759 predeps=$lt_predeps_CXX
13761 # Dependencies to place after the objects being linked to create a
13763 postdeps=$lt_postdeps_CXX
13765 # The library search path used internally by the compiler when linking
13766 # a shared library.
13767 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13769 # Method to check whether dependent libraries are shared objects.
13770 deplibs_check_method=$lt_deplibs_check_method
13772 # Command to use when deplibs_check_method == file_magic.
13773 file_magic_cmd=$lt_file_magic_cmd
13775 # Flag that allows shared libraries with undefined symbols to be built.
13776 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13778 # Flag that forces no undefined symbols.
13779 no_undefined_flag=$lt_no_undefined_flag_CXX
13781 # Commands used to finish a libtool library installation in a directory.
13782 finish_cmds=$lt_finish_cmds
13784 # Same as above, but a single script fragment to be evaled but not shown.
13785 finish_eval=$lt_finish_eval
13787 # Take the output of nm and produce a listing of raw symbols and C names.
13788 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13790 # Transform the output of nm in a proper C declaration
13791 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13793 # Transform the output of nm in a C name address pair
13794 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13796 # This is the shared library runtime path variable.
13797 runpath_var=$runpath_var
13799 # This is the shared library path variable.
13800 shlibpath_var=$shlibpath_var
13802 # Is shlibpath searched before the hard-coded library search path?
13803 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13805 # How to hardcode a shared library path into an executable.
13806 hardcode_action=$hardcode_action_CXX
13808 # Whether we should hardcode library paths into libraries.
13809 hardcode_into_libs=$hardcode_into_libs
13811 # Flag to hardcode \$libdir into a binary during linking.
13812 # This must work even if \$libdir does not exist.
13813 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13815 # If ld is used when linking, flag to hardcode \$libdir into
13816 # a binary during linking. This must work even if \$libdir does
13818 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13820 # Whether we need a single -rpath flag with a separated argument.
13821 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13823 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13824 # resulting binary.
13825 hardcode_direct=$hardcode_direct_CXX
13827 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13828 # resulting binary.
13829 hardcode_minus_L=$hardcode_minus_L_CXX
13831 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13832 # the resulting binary.
13833 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13835 # Set to yes if building a shared library automatically hardcodes DIR into the library
13836 # and all subsequent libraries and executables linked against it.
13837 hardcode_automatic=$hardcode_automatic_CXX
13839 # Variables whose values should be saved in libtool wrapper scripts and
13840 # restored at relink time.
13841 variables_saved_for_relink="$variables_saved_for_relink"
13843 # Whether libtool must link a program against all its dependency libraries.
13844 link_all_deplibs=$link_all_deplibs_CXX
13846 # Compile-time system search path for libraries
13847 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13849 # Run-time system search path for libraries
13850 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13852 # Fix the shell variable \$srcfile for the compiler.
13853 fix_srcfile_path="$fix_srcfile_path_CXX"
13855 # Set to yes if exported symbols are required.
13856 always_export_symbols=$always_export_symbols_CXX
13858 # The commands to list exported symbols.
13859 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13861 # The commands to extract the exported symbol list from a shared archive.
13862 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13864 # Symbols that should not be listed in the preloaded symbols.
13865 exclude_expsyms=$lt_exclude_expsyms_CXX
13867 # Symbols that must always be exported.
13868 include_expsyms=$lt_include_expsyms_CXX
13870 # ### END LIBTOOL TAG CONFIG: $tagname
13876 # If there is no Makefile yet, we rely on a make rule to execute
13877 # `config.status --recheck' to rerun these tests and create the
13878 # libtool script then.
13879 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13880 if test -f "$ltmain_in"; then
13881 test -f Makefile
&& make "$ltmain"
13887 ac_cpp
='$CXXCPP $CPPFLAGS'
13888 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13889 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13890 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13896 with_gnu_ldcxx
=$with_gnu_ld
13897 with_gnu_ld
=$lt_save_with_gnu_ld
13898 lt_cv_path_LDCXX
=$lt_cv_path_LD
13899 lt_cv_path_LD
=$lt_save_path_LD
13900 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13901 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13909 if test -n "$F77" && test "X$F77" != "Xno"; then
13912 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13913 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13914 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13917 archive_cmds_need_lc_F77
=no
13918 allow_undefined_flag_F77
=
13919 always_export_symbols_F77
=no
13920 archive_expsym_cmds_F77
=
13921 export_dynamic_flag_spec_F77
=
13922 hardcode_direct_F77
=no
13923 hardcode_libdir_flag_spec_F77
=
13924 hardcode_libdir_flag_spec_ld_F77
=
13925 hardcode_libdir_separator_F77
=
13926 hardcode_minus_L_F77
=no
13927 hardcode_automatic_F77
=no
13929 module_expsym_cmds_F77
=
13930 link_all_deplibs_F77
=unknown
13931 old_archive_cmds_F77
=$old_archive_cmds
13932 no_undefined_flag_F77
=
13933 whole_archive_flag_spec_F77
=
13934 enable_shared_with_static_runtimes_F77
=no
13936 # Source file extension for f77 test sources.
13939 # Object file extension for compiled f77 test sources.
13943 # Code to be used in simple compile tests
13944 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13946 # Code to be used in simple link tests
13947 lt_simple_link_test_code
=" program t\n end\n"
13949 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13951 # If no C compiler was specified, use CC.
13954 # If no C compiler flags were specified, use CFLAGS.
13955 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13957 # Allow CC to be a program name with arguments.
13961 # save warnings/boilerplate of simple test code
13962 ac_outfile
=conftest.
$ac_objext
13963 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13964 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13965 _lt_compiler_boilerplate
=`cat conftest.err`
13968 ac_outfile
=conftest.
$ac_objext
13969 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13970 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13971 _lt_linker_boilerplate
=`cat conftest.err`
13975 # Allow CC to be a program name with arguments.
13980 for cc_temp
in $compiler""; do
13982 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13983 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13988 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13991 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13992 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13993 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13994 echo "${ECHO_T}$can_build_shared" >&6; }
13996 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13997 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13998 test "$can_build_shared" = "no" && enable_shared
=no
14000 # On AIX, shared libraries and static libraries use the same namespace, and
14001 # are all built from PIC.
14004 test "$enable_shared" = yes && enable_static
=no
14005 if test -n "$RANLIB"; then
14006 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14007 postinstall_cmds
='$RANLIB $lib'
14011 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14012 test "$enable_shared" = yes && enable_static
=no
14016 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14017 echo "${ECHO_T}$enable_shared" >&6; }
14019 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14020 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14021 # Make sure either enable_shared or enable_static is yes.
14022 test "$enable_shared" = yes || enable_static
=yes
14023 { echo "$as_me:$LINENO: result: $enable_static" >&5
14024 echo "${ECHO_T}$enable_static" >&6; }
14029 lt_prog_compiler_wl_F77
=
14030 lt_prog_compiler_pic_F77
=
14031 lt_prog_compiler_static_F77
=
14033 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14034 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14036 if test "$GCC" = yes; then
14037 lt_prog_compiler_wl_F77
='-Wl,'
14038 lt_prog_compiler_static_F77
='-static'
14042 # All AIX code is PIC.
14043 if test "$host_cpu" = ia64
; then
14044 # AIX 5 now supports IA64 processor
14045 lt_prog_compiler_static_F77
='-Bstatic'
14050 # FIXME: we need at least 68020 code to build shared libraries, but
14051 # adding the `-m68020' flag to GCC prevents building anything better,
14053 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14056 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14057 # PIC is the default for these OSes.
14060 mingw
* | pw32
* | os2
*)
14061 # This hack is so that the source file can tell whether it is being
14062 # built for inclusion in a dll (and should export symbols for example).
14063 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14066 darwin
* | rhapsody
*)
14067 # PIC is the default on this platform
14068 # Common symbols not allowed in MH_DYLIB files
14069 lt_prog_compiler_pic_F77
='-fno-common'
14073 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14074 # Instead, we relocate shared libraries at runtime.
14078 # Just because we use GCC doesn't mean we suddenly get shared libraries
14079 # on systems that don't support them.
14080 lt_prog_compiler_can_build_shared_F77
=no
14085 if test -d /usr
/nec
; then
14086 lt_prog_compiler_pic_F77
=-Kconform_pic
14091 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14092 # not for PA HP-UX.
14098 lt_prog_compiler_pic_F77
='-fPIC'
14104 lt_prog_compiler_pic_F77
='-fPIC'
14108 # PORTME Check for flag to pass linker flags through the system compiler.
14111 lt_prog_compiler_wl_F77
='-Wl,'
14112 if test "$host_cpu" = ia64
; then
14113 # AIX 5 now supports IA64 processor
14114 lt_prog_compiler_static_F77
='-Bstatic'
14116 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14120 # PIC is the default on this platform
14121 # Common symbols not allowed in MH_DYLIB files
14122 case $cc_basename in
14124 lt_prog_compiler_pic_F77
='-qnocommon'
14125 lt_prog_compiler_wl_F77
='-Wl,'
14130 mingw
* | pw32
* | os2
*)
14131 # This hack is so that the source file can tell whether it is being
14132 # built for inclusion in a dll (and should export symbols for example).
14133 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14136 hpux9
* | hpux10
* | hpux11
*)
14137 lt_prog_compiler_wl_F77
='-Wl,'
14138 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14139 # not for PA HP-UX.
14145 lt_prog_compiler_pic_F77
='+Z'
14148 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14149 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14152 irix5
* | irix6
* | nonstopux
*)
14153 lt_prog_compiler_wl_F77
='-Wl,'
14154 # PIC (with -KPIC) is the default.
14155 lt_prog_compiler_static_F77
='-non_shared'
14159 lt_prog_compiler_pic_F77
='-KPIC'
14160 lt_prog_compiler_static_F77
='-Bstatic'
14164 case $cc_basename in
14166 lt_prog_compiler_wl_F77
='-Wl,'
14167 lt_prog_compiler_pic_F77
='-KPIC'
14168 lt_prog_compiler_static_F77
='-static'
14170 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14171 # Portland Group compilers (*not* the Pentium gcc compiler,
14172 # which looks to be a dead project)
14173 lt_prog_compiler_wl_F77
='-Wl,'
14174 lt_prog_compiler_pic_F77
='-fpic'
14175 lt_prog_compiler_static_F77
='-Bstatic'
14178 lt_prog_compiler_wl_F77
='-Wl,'
14179 # All Alpha code is PIC.
14180 lt_prog_compiler_static_F77
='-non_shared'
14185 osf3
* | osf4
* | osf5
*)
14186 lt_prog_compiler_wl_F77
='-Wl,'
14187 # All OSF/1 code is PIC.
14188 lt_prog_compiler_static_F77
='-non_shared'
14192 lt_prog_compiler_pic_F77
='-KPIC'
14193 lt_prog_compiler_static_F77
='-Bstatic'
14194 case $cc_basename in
14195 f77
* | f90
* | f95
*)
14196 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14198 lt_prog_compiler_wl_F77
='-Wl,';;
14203 lt_prog_compiler_wl_F77
='-Qoption ld '
14204 lt_prog_compiler_pic_F77
='-PIC'
14205 lt_prog_compiler_static_F77
='-Bstatic'
14208 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14209 lt_prog_compiler_wl_F77
='-Wl,'
14210 lt_prog_compiler_pic_F77
='-KPIC'
14211 lt_prog_compiler_static_F77
='-Bstatic'
14215 if test -d /usr
/nec
;then
14216 lt_prog_compiler_pic_F77
='-Kconform_pic'
14217 lt_prog_compiler_static_F77
='-Bstatic'
14221 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14222 lt_prog_compiler_wl_F77
='-Wl,'
14223 lt_prog_compiler_pic_F77
='-KPIC'
14224 lt_prog_compiler_static_F77
='-Bstatic'
14228 lt_prog_compiler_wl_F77
='-Wl,'
14229 lt_prog_compiler_can_build_shared_F77
=no
14233 lt_prog_compiler_pic_F77
='-pic'
14234 lt_prog_compiler_static_F77
='-Bstatic'
14238 lt_prog_compiler_can_build_shared_F77
=no
14243 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14244 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14247 # Check to make sure the PIC flag actually works.
14249 if test -n "$lt_prog_compiler_pic_F77"; then
14251 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14252 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14253 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14254 echo $ECHO_N "(cached) $ECHO_C" >&6
14256 lt_prog_compiler_pic_works_F77
=no
14257 ac_outfile
=conftest.
$ac_objext
14258 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14259 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14260 # Insert the option either (1) after the last *FLAGS variable, or
14261 # (2) before a word containing "conftest.", or (3) at the end.
14262 # Note that $ac_compile itself does not contain backslashes and begins
14263 # with a dollar sign (not a hyphen), so the echo should work correctly.
14264 # The option is referenced via a variable to avoid confusing sed.
14265 lt_compile
=`echo "$ac_compile" | $SED \
14266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14268 -e 's:$: $lt_compiler_flag:'`
14269 (eval echo "\"\$as_me:14269: $lt_compile\"" >&5)
14270 (eval "$lt_compile" 2>conftest.err
)
14272 cat conftest.err
>&5
14273 echo "$as_me:14273: \$? = $ac_status" >&5
14274 if (exit $ac_status) && test -s "$ac_outfile"; then
14275 # The compiler can only warn and ignore the option if not recognized
14276 # So say no if there are warnings other than the usual output.
14277 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14278 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14279 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14280 lt_prog_compiler_pic_works_F77
=yes
14286 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14287 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14289 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14290 case $lt_prog_compiler_pic_F77 in
14292 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14295 lt_prog_compiler_pic_F77
=
14296 lt_prog_compiler_can_build_shared_F77
=no
14301 # For platforms which do not support PIC, -DPIC is meaningless:
14303 lt_prog_compiler_pic_F77
=
14306 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14311 # Check to make sure the static flag actually works.
14313 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14314 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14315 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14316 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 lt_prog_compiler_static_works_F77
=no
14320 save_LDFLAGS
="$LDFLAGS"
14321 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14322 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14323 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14324 # The linker can only warn and ignore the option if not recognized
14325 # So say no if there are warnings
14326 if test -s conftest.err
; then
14327 # Append any errors to the config.log.
14328 cat conftest.err
1>&5
14329 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14330 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14331 if diff conftest.exp conftest.er2
>/dev
/null
; then
14332 lt_prog_compiler_static_works_F77
=yes
14335 lt_prog_compiler_static_works_F77
=yes
14339 LDFLAGS
="$save_LDFLAGS"
14342 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14343 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14345 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14348 lt_prog_compiler_static_F77
=
14352 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14353 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14354 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 lt_cv_prog_compiler_c_o_F77
=no
14358 $rm -r conftest
2>/dev
/null
14362 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14364 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14365 # Insert the option either (1) after the last *FLAGS variable, or
14366 # (2) before a word containing "conftest.", or (3) at the end.
14367 # Note that $ac_compile itself does not contain backslashes and begins
14368 # with a dollar sign (not a hyphen), so the echo should work correctly.
14369 lt_compile
=`echo "$ac_compile" | $SED \
14370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14372 -e 's:$: $lt_compiler_flag:'`
14373 (eval echo "\"\$as_me:14373: $lt_compile\"" >&5)
14374 (eval "$lt_compile" 2>out
/conftest.err
)
14376 cat out
/conftest.err
>&5
14377 echo "$as_me:14377: \$? = $ac_status" >&5
14378 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14380 # The compiler can only warn and ignore the option if not recognized
14381 # So say no if there are warnings
14382 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14383 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14384 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14385 lt_cv_prog_compiler_c_o_F77
=yes
14390 # SGI C++ compiler will create directory out/ii_files/ for
14391 # template instantiation
14392 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14393 $rm out
/* && rmdir out
14399 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14400 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14403 hard_links
="nottested"
14404 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14405 # do not overwrite the value of need_locks provided by the user
14406 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14407 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14410 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14412 ln conftest.a conftest.b
2>&5 || hard_links
=no
14413 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14414 { echo "$as_me:$LINENO: result: $hard_links" >&5
14415 echo "${ECHO_T}$hard_links" >&6; }
14416 if test "$hard_links" = no
; then
14417 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14418 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14425 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14426 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14429 allow_undefined_flag_F77
=
14430 enable_shared_with_static_runtimes_F77
=no
14432 archive_expsym_cmds_F77
=
14433 old_archive_From_new_cmds_F77
=
14434 old_archive_from_expsyms_cmds_F77
=
14435 export_dynamic_flag_spec_F77
=
14436 whole_archive_flag_spec_F77
=
14437 thread_safe_flag_spec_F77
=
14438 hardcode_libdir_flag_spec_F77
=
14439 hardcode_libdir_flag_spec_ld_F77
=
14440 hardcode_libdir_separator_F77
=
14441 hardcode_direct_F77
=no
14442 hardcode_minus_L_F77
=no
14443 hardcode_shlibpath_var_F77
=unsupported
14444 link_all_deplibs_F77
=unknown
14445 hardcode_automatic_F77
=no
14447 module_expsym_cmds_F77
=
14448 always_export_symbols_F77
=no
14449 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14450 # include_expsyms should be a list of space-separated symbols to be *always*
14451 # included in the symbol list
14452 include_expsyms_F77
=
14453 # exclude_expsyms can be an extended regexp of symbols to exclude
14454 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14455 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14456 # as well as any symbol that contains `d'.
14457 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14458 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14459 # platforms (ab)use it in PIC code, but their linkers get confused if
14460 # the symbol is explicitly referenced. Since portable code cannot
14461 # rely on this symbol name, it's probably fine to never include it in
14462 # preloaded symbol tables.
14463 extract_expsyms_cmds
=
14464 # Just being paranoid about ensuring that cc_basename is set.
14465 for cc_temp
in $compiler""; do
14467 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14468 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14473 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14476 cygwin
* | mingw
* | pw32
*)
14477 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14478 # When not using gcc, we currently assume that we are using
14479 # Microsoft Visual C++.
14480 if test "$GCC" != yes; then
14485 # we just hope/assume this is gcc and not c89 (= MSVC++)
14494 if test "$with_gnu_ld" = yes; then
14495 # If archive_cmds runs LD, not CC, wlarc should be empty
14498 # Set some defaults for GNU ld with shared library support. These
14499 # are reset later if shared libraries are not supported. Putting them
14500 # here allows them to be overridden if necessary.
14501 runpath_var
=LD_RUN_PATH
14502 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14503 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14504 # ancient GNU ld didn't support --whole-archive et. al.
14505 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14506 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14508 whole_archive_flag_spec_F77
=
14510 supports_anon_versioning
=no
14511 case `$LD -v 2>/dev/null` in
14512 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14513 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14514 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14515 *\
2.11.
*) ;; # other 2.11 versions
14516 *) supports_anon_versioning
=yes ;;
14519 # See if GNU ld supports shared libraries.
14521 aix3
* | aix4
* | aix5
*)
14522 # On AIX/PPC, the GNU linker is very broken
14523 if test "$host_cpu" != ia64
; then
14527 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14528 *** to be unable to reliably create shared libraries on AIX.
14529 *** Therefore, libtool is disabling shared libraries support. If you
14530 *** really care for shared libraries, you may want to modify your PATH
14531 *** so that a non-GNU linker is found, and then restart.
14538 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)'
14539 hardcode_libdir_flag_spec_F77
='-L$libdir'
14540 hardcode_minus_L_F77
=yes
14542 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14543 # that the semantics of dynamic libraries on AmigaOS, at least up
14544 # to version 4, is to share data among multiple programs linked
14545 # with the same dynamic library. Since this doesn't match the
14546 # behavior of shared libraries on other platforms, we can't use
14552 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14553 allow_undefined_flag_F77
=unsupported
14554 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14555 # support --undefined. This deserves some investigation. FIXME
14556 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14562 cygwin
* | mingw
* | pw32
*)
14563 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14564 # as there is no search path for DLLs.
14565 hardcode_libdir_flag_spec_F77
='-L$libdir'
14566 allow_undefined_flag_F77
=unsupported
14567 always_export_symbols_F77
=no
14568 enable_shared_with_static_runtimes_F77
=yes
14569 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14571 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14572 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14573 # If the export-symbols file already is a .def file (1st line
14574 # is EXPORTS), use it as is; otherwise, prepend...
14575 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14576 cp $export_symbols $output_objdir/$soname.def;
14578 echo EXPORTS > $output_objdir/$soname.def;
14579 cat $export_symbols >> $output_objdir/$soname.def;
14581 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14588 hardcode_direct_F77
=no
14589 hardcode_shlibpath_var_F77
=no
14590 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14591 export_dynamic_flag_spec_F77
='${wl}-E'
14592 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14593 # Instead, shared libraries are loaded at an image base (0x10000000 by
14594 # default) and relocated if they conflict, which is a slow very memory
14595 # consuming and fragmenting process. To avoid this, we pick a random,
14596 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14597 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14598 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'
14599 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'
14603 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14605 case $cc_basename,$host_cpu in
14606 pgcc
*) # Portland Group C compiler
14607 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'
14608 tmp_addflag
=' $pic_flag'
14610 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14611 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'
14612 tmp_addflag
=' $pic_flag -Mnomain' ;;
14613 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14614 tmp_addflag
=' -i_dynamic' ;;
14615 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14616 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14617 ifc
* | ifort
*) # Intel Fortran compiler
14618 tmp_addflag
=' -nofor_main' ;;
14620 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14622 if test $supports_anon_versioning = yes; then
14623 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14624 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14625 $echo "local: *; };" >> $output_objdir/$libname.ver~
14626 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14634 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14635 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14638 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14639 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14644 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14648 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14649 *** create shared libraries on Solaris systems. Therefore, libtool
14650 *** is disabling shared libraries support. We urge you to upgrade GNU
14651 *** binutils to release 2.9.1 or newer. Another option is to modify
14652 *** your PATH or compiler configuration so that the native linker is
14653 *** used, and then restart.
14656 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14657 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14658 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14664 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14665 case `$LD -v 2>&1` in
14666 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14670 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14671 *** reliably create shared libraries on SCO systems. Therefore, libtool
14672 *** is disabling shared libraries support. We urge you to upgrade GNU
14673 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14674 *** your PATH or compiler configuration so that the native linker is
14675 *** used, and then restart.
14680 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14681 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14682 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14683 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14692 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14694 hardcode_direct_F77
=yes
14695 hardcode_shlibpath_var_F77
=no
14699 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14700 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14701 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14708 if test "$ld_shlibs_F77" = no
; then
14710 hardcode_libdir_flag_spec_F77
=
14711 export_dynamic_flag_spec_F77
=
14712 whole_archive_flag_spec_F77
=
14715 # PORTME fill in a description of your system's linker (not GNU ld)
14718 allow_undefined_flag_F77
=unsupported
14719 always_export_symbols_F77
=yes
14720 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'
14721 # Note: this linker hardcodes the directories in LIBPATH if there
14722 # are no directories specified by -L.
14723 hardcode_minus_L_F77
=yes
14724 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14725 # Neither direct hardcoding nor static linking is supported with a
14727 hardcode_direct_F77
=unsupported
14732 if test "$host_cpu" = ia64
; then
14733 # On IA64, the linker does run time linking by default, so we don't
14734 # have to do anything special.
14735 aix_use_runtimelinking
=no
14736 exp_sym_flag
='-Bexport'
14739 # If we're using GNU nm, then we don't want the "-C" option.
14740 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14741 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14742 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'
14744 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'
14746 aix_use_runtimelinking
=no
14748 # Test if we are trying to use run time linking or normal
14749 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14750 # need to do runtime linking.
14751 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14752 for ld_flag
in $LDFLAGS; do
14753 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14754 aix_use_runtimelinking
=yes
14761 exp_sym_flag
='-bexport'
14762 no_entry_flag
='-bnoentry'
14765 # When large executables or shared objects are built, AIX ld can
14766 # have problems creating the table of contents. If linking a library
14767 # or program results in "error TOC overflow" add -mminimal-toc to
14768 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14769 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14771 archive_cmds_F77
=''
14772 hardcode_direct_F77
=yes
14773 hardcode_libdir_separator_F77
=':'
14774 link_all_deplibs_F77
=yes
14776 if test "$GCC" = yes; then
14777 case $host_os in aix4.
[012]|aix4.
[012].
*)
14778 # We only want to do this on AIX 4.2 and lower, the check
14779 # below for broken collect2 doesn't work under 4.3+
14780 collect2name
=`${CC} -print-prog-name=collect2`
14781 if test -f "$collect2name" && \
14782 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14784 # We have reworked collect2
14785 hardcode_direct_F77
=yes
14787 # We have old collect2
14788 hardcode_direct_F77
=unsupported
14789 # It fails to find uninstalled libraries when the uninstalled
14790 # path is not listed in the libpath. Setting hardcode_minus_L
14791 # to unsupported forces relinking
14792 hardcode_minus_L_F77
=yes
14793 hardcode_libdir_flag_spec_F77
='-L$libdir'
14794 hardcode_libdir_separator_F77
=
14798 shared_flag
='-shared'
14799 if test "$aix_use_runtimelinking" = yes; then
14800 shared_flag
="$shared_flag "'${wl}-G'
14804 if test "$host_cpu" = ia64
; then
14805 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14806 # chokes on -Wl,-G. The following line is correct:
14809 if test "$aix_use_runtimelinking" = yes; then
14810 shared_flag
='${wl}-G'
14812 shared_flag
='${wl}-bM:SRE'
14817 # It seems that -bexpall does not export symbols beginning with
14818 # underscore (_), so it is better to generate a list of symbols to export.
14819 always_export_symbols_F77
=yes
14820 if test "$aix_use_runtimelinking" = yes; then
14821 # Warning - without using the other runtime loading flags (-brtl),
14822 # -berok will link without error, but may produce a broken library.
14823 allow_undefined_flag_F77
='-berok'
14824 # Determine the default libpath from the value encoded in an empty executable.
14825 cat >conftest.
$ac_ext <<_ACEOF
14830 rm -f conftest.
$ac_objext conftest
$ac_exeext
14831 if { (ac_try
="$ac_link"
14832 case "(($ac_try" in
14833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14834 *) ac_try_echo=$ac_try;;
14836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14837 (eval "$ac_link") 2>conftest.er1
14839 grep -v '^ *+' conftest.er1 >conftest.err
14841 cat conftest.err >&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); } &&
14844 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14845 { (case "(($ac_try" in
14846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14847 *) ac_try_echo
=$ac_try;;
14849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14850 (eval "$ac_try") 2>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; } &&
14854 { ac_try
='test -s conftest$ac_exeext'
14855 { (case "(($ac_try" in
14856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14857 *) ac_try_echo=$ac_try;;
14859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14860 (eval "$ac_try") 2>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); }; }; then
14865 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14867 # Check for a 64-bit object if we didn't find anything.
14868 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; }
14871 echo "$as_me: failed program was:" >&5
14872 sed 's/^/| /' conftest.$ac_ext >&5
14877 rm -f core conftest.err conftest.$ac_objext \
14878 conftest$ac_exeext conftest.$ac_ext
14879 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14881 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14882 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"
14884 if test "$host_cpu" = ia64; then
14885 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14886 allow_undefined_flag_F77="-z nodefs"
14887 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"
14889 # Determine the default libpath from the value encoded in an empty executable.
14890 cat >conftest.$ac_ext <<_ACEOF
14895 rm -f conftest.$ac_objext conftest$ac_exeext
14896 if { (ac_try="$ac_link"
14897 case "(($ac_try" in
14898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14899 *) ac_try_echo
=$ac_try;;
14901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14902 (eval "$ac_link") 2>conftest.er1
14904 grep -v '^ *+' conftest.er1
>conftest.err
14906 cat conftest.err
>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } &&
14909 { ac_try
='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14910 { (case "(($ac_try" in
14911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14912 *) ac_try_echo=$ac_try;;
14914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14915 (eval "$ac_try") 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; } &&
14919 { ac_try='test -s conftest$ac_exeext'
14920 { (case "(($ac_try" in
14921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14922 *) ac_try_echo
=$ac_try;;
14924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14925 (eval "$ac_try") 2>&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); }; }; then
14930 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14932 # Check for a 64-bit object if we didn't find anything.
14933 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; }
14936 echo "$as_me: failed program was:" >&5
14937 sed 's/^/| /' conftest.
$ac_ext >&5
14942 rm -f core conftest.err conftest.
$ac_objext \
14943 conftest
$ac_exeext conftest.
$ac_ext
14944 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14946 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14947 # Warning - without using the other run time loading flags,
14948 # -berok will link without error, but may produce a broken library.
14949 no_undefined_flag_F77
=' ${wl}-bernotok'
14950 allow_undefined_flag_F77
=' ${wl}-berok'
14951 # Exported symbols can be pulled into shared objects from archives
14952 whole_archive_flag_spec_F77
='$convenience'
14953 archive_cmds_need_lc_F77
=yes
14954 # This is similar to how AIX traditionally builds its shared libraries.
14955 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'
14961 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)'
14962 hardcode_libdir_flag_spec_F77
='-L$libdir'
14963 hardcode_minus_L_F77
=yes
14964 # see comment about different semantics on the GNU ld section
14969 export_dynamic_flag_spec_F77
=-rdynamic
14972 cygwin
* | mingw
* | pw32
*)
14973 # When not using gcc, we currently assume that we are using
14974 # Microsoft Visual C++.
14975 # hardcode_libdir_flag_spec is actually meaningless, as there is
14976 # no search path for DLLs.
14977 hardcode_libdir_flag_spec_F77
=' '
14978 allow_undefined_flag_F77
=unsupported
14979 # Tell ltmain to make .lib files, not .a files.
14981 # Tell ltmain to make .dll files, not .so files.
14983 # FIXME: Setting linknames here is a bad hack.
14984 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14985 # The linker will automatically build a .lib file if we build a DLL.
14986 old_archive_From_new_cmds_F77
='true'
14987 # FIXME: Should let the user specify the lib program.
14988 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14989 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14990 enable_shared_with_static_runtimes_F77
=yes
14993 darwin
* | rhapsody
*)
14995 rhapsody
* | darwin1.
[012])
14996 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14999 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15000 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15002 case ${MACOSX_DEPLOYMENT_TARGET} in
15004 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15007 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15013 archive_cmds_need_lc_F77
=no
15014 hardcode_direct_F77
=no
15015 hardcode_automatic_F77
=yes
15016 hardcode_shlibpath_var_F77
=unsupported
15017 whole_archive_flag_spec_F77
=''
15018 link_all_deplibs_F77
=yes
15019 if test "$GCC" = yes ; then
15020 output_verbose_link_cmd
='echo'
15021 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15022 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15023 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15024 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}'
15025 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}'
15027 case $cc_basename in
15029 output_verbose_link_cmd
='echo'
15030 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15031 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15032 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15033 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}'
15034 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}'
15044 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15045 hardcode_libdir_flag_spec_F77
='-L$libdir'
15046 hardcode_shlibpath_var_F77
=no
15053 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15054 # support. Future versions do this automatically, but an explicit c++rt0.o
15055 # does not break anything, and helps significantly (at the cost of a little
15058 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15059 hardcode_libdir_flag_spec_F77
='-R$libdir'
15060 hardcode_direct_F77
=yes
15061 hardcode_shlibpath_var_F77
=no
15064 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15066 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15067 hardcode_direct_F77
=yes
15068 hardcode_minus_L_F77
=yes
15069 hardcode_shlibpath_var_F77
=no
15072 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15073 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15074 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15075 hardcode_libdir_flag_spec_F77
='-R$libdir'
15076 hardcode_direct_F77
=yes
15077 hardcode_shlibpath_var_F77
=no
15081 if test "$GCC" = yes; then
15082 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'
15084 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'
15086 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15087 hardcode_libdir_separator_F77
=:
15088 hardcode_direct_F77
=yes
15090 # hardcode_minus_L: Not really in the search PATH,
15091 # but as the default location of the library.
15092 hardcode_minus_L_F77
=yes
15093 export_dynamic_flag_spec_F77
='${wl}-E'
15097 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15098 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15100 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15102 if test "$with_gnu_ld" = no
; then
15103 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15104 hardcode_libdir_separator_F77
=:
15106 hardcode_direct_F77
=yes
15107 export_dynamic_flag_spec_F77
='${wl}-E'
15109 # hardcode_minus_L: Not really in the search PATH,
15110 # but as the default location of the library.
15111 hardcode_minus_L_F77
=yes
15116 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15119 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15122 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15125 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15131 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15134 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15137 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15141 if test "$with_gnu_ld" = no
; then
15142 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15143 hardcode_libdir_separator_F77
=:
15147 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15148 hardcode_direct_F77
=no
15149 hardcode_shlibpath_var_F77
=no
15152 hardcode_direct_F77
=yes
15153 export_dynamic_flag_spec_F77
='${wl}-E'
15155 # hardcode_minus_L: Not really in the search PATH,
15156 # but as the default location of the library.
15157 hardcode_minus_L_F77
=yes
15163 irix5
* | irix6
* | nonstopux
*)
15164 if test "$GCC" = yes; then
15165 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'
15167 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'
15168 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15170 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15171 hardcode_libdir_separator_F77
=:
15172 link_all_deplibs_F77
=yes
15176 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15177 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15179 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15181 hardcode_libdir_flag_spec_F77
='-R$libdir'
15182 hardcode_direct_F77
=yes
15183 hardcode_shlibpath_var_F77
=no
15187 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15188 hardcode_direct_F77
=yes
15189 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15190 hardcode_libdir_separator_F77
=:
15191 hardcode_shlibpath_var_F77
=no
15195 hardcode_direct_F77
=yes
15196 hardcode_shlibpath_var_F77
=no
15197 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15198 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15199 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15200 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15201 export_dynamic_flag_spec_F77
='${wl}-E'
15204 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15205 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15206 hardcode_libdir_flag_spec_F77
='-R$libdir'
15209 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15210 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15217 hardcode_libdir_flag_spec_F77
='-L$libdir'
15218 hardcode_minus_L_F77
=yes
15219 allow_undefined_flag_F77
=unsupported
15220 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'
15221 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15225 if test "$GCC" = yes; then
15226 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15227 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'
15229 allow_undefined_flag_F77
=' -expect_unresolved \*'
15230 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'
15232 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15233 hardcode_libdir_separator_F77
=:
15236 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15237 if test "$GCC" = yes; then
15238 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15239 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'
15240 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15242 allow_undefined_flag_F77
=' -expect_unresolved \*'
15243 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'
15244 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~
15245 $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'
15247 # Both c and cxx compiler support -rpath directly
15248 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15250 hardcode_libdir_separator_F77
=:
15254 no_undefined_flag_F77
=' -z text'
15255 if test "$GCC" = yes; then
15257 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15258 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15259 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15262 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15263 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15264 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15266 hardcode_libdir_flag_spec_F77
='-R$libdir'
15267 hardcode_shlibpath_var_F77
=no
15269 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15271 # The compiler driver will combine linker options so we
15272 # cannot just pass the convience library names through
15273 # without $wl, iff we do not link with $LD.
15274 # Luckily, gcc supports the same syntax we need for Sun Studio.
15275 # Supported since Solaris 2.6 (maybe 2.5.1?)
15278 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15280 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' ;;
15283 link_all_deplibs_F77
=yes
15287 if test "x$host_vendor" = xsequent
; then
15288 # Use $CC to link under sequent, because it throws in some extra .o
15289 # files that make .init and .fini sections work.
15290 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15292 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15294 hardcode_libdir_flag_spec_F77
='-L$libdir'
15295 hardcode_direct_F77
=yes
15296 hardcode_minus_L_F77
=yes
15297 hardcode_shlibpath_var_F77
=no
15301 case $host_vendor in
15303 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15304 hardcode_direct_F77
=yes # is this really true???
15307 ## LD is ld it makes a PLAMLIB
15308 ## CC just makes a GrossModule.
15309 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15310 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15311 hardcode_direct_F77
=no
15314 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15315 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15318 runpath_var
='LD_RUN_PATH'
15319 hardcode_shlibpath_var_F77
=no
15323 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15324 hardcode_shlibpath_var_F77
=no
15325 export_dynamic_flag_spec_F77
='-Bexport'
15329 if test -d /usr
/nec
; then
15330 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15331 hardcode_shlibpath_var_F77
=no
15332 runpath_var
=LD_RUN_PATH
15333 hardcode_runpath_var
=yes
15338 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15339 no_undefined_flag_F77
='${wl}-z,text'
15340 archive_cmds_need_lc_F77
=no
15341 hardcode_shlibpath_var_F77
=no
15342 runpath_var
='LD_RUN_PATH'
15344 if test "$GCC" = yes; then
15345 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15346 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15348 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15349 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15353 sysv5
* | sco3.2v5
* | sco5v6
*)
15354 # Note: We can NOT use -z defs as we might desire, because we do not
15355 # link with -lc, and that would cause any symbols used from libc to
15356 # always be unresolved, which means just about no library would
15357 # ever link correctly. If we're not using GNU ld we use -z text
15358 # though, which does catch some bad symbols but isn't as heavy-handed
15360 no_undefined_flag_F77
='${wl}-z,text'
15361 allow_undefined_flag_F77
='${wl}-z,nodefs'
15362 archive_cmds_need_lc_F77
=no
15363 hardcode_shlibpath_var_F77
=no
15364 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15365 hardcode_libdir_separator_F77
=':'
15366 link_all_deplibs_F77
=yes
15367 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15368 runpath_var
='LD_RUN_PATH'
15370 if test "$GCC" = yes; then
15371 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15372 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15374 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15375 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15380 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15381 hardcode_libdir_flag_spec_F77
='-L$libdir'
15382 hardcode_shlibpath_var_F77
=no
15391 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15392 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15393 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15396 # Do we need to explicitly link libc?
15398 case "x$archive_cmds_need_lc_F77" in
15400 # Assume -lc should be added
15401 archive_cmds_need_lc_F77
=yes
15403 if test "$enable_shared" = yes && test "$GCC" = yes; then
15404 case $archive_cmds_F77 in
15406 # FIXME: we may have to deal with multi-command sequences.
15409 # Test whether the compiler implicitly links with -lc since on some
15410 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15411 # to ld, don't add -lc before -lgcc.
15412 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15413 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15415 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15418 (eval $ac_compile) 2>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } 2>conftest.err
; then
15424 libobjs
=conftest.
$ac_objext
15426 wl
=$lt_prog_compiler_wl_F77
15427 pic_flag
=$lt_prog_compiler_pic_F77
15433 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15434 allow_undefined_flag_F77
=
15435 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15436 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }
15441 archive_cmds_need_lc_F77
=no
15443 archive_cmds_need_lc_F77
=yes
15445 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15447 cat conftest.err
1>&5
15450 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15451 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15458 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15459 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15460 library_names_spec
=
15461 libname_spec
='lib$name'
15465 postuninstall_cmds
=
15469 shlibpath_overrides_runpath
=unknown
15471 dynamic_linker
="$host_os ld.so"
15472 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15473 if test "$GCC" = yes; then
15474 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15475 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15476 # if the path contains ";" then we assume it to be the separator
15477 # otherwise default to the standard path separator (i.e. ":") - it is
15478 # assumed that no part of a normal pathname contains ";" but that should
15479 # okay in the real world where ";" in dirpaths is itself problematic.
15480 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15482 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15485 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15487 need_lib_prefix
=unknown
15488 hardcode_into_libs
=no
15490 # when you set need_version to no, make sure it does not cause -set_version
15491 # flags to be left without arguments
15492 need_version
=unknown
15497 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15498 shlibpath_var
=LIBPATH
15500 # AIX 3 has no versioning support, so we append a major version to the name.
15501 soname_spec
='${libname}${release}${shared_ext}$major'
15508 hardcode_into_libs
=yes
15509 if test "$host_cpu" = ia64
; then
15510 # AIX 5 supports IA64
15511 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15512 shlibpath_var
=LD_LIBRARY_PATH
15514 # With GCC up to 2.95.x, collect2 would create an import file
15515 # for dependence libraries. The import file would start with
15516 # the line `#! .'. This would cause the generated library to
15517 # depend on `.', always an invalid library. This was fixed in
15518 # development snapshots of GCC prior to 3.0.
15520 aix4 | aix4.
[01] | aix4.
[01].
*)
15521 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15523 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15526 can_build_shared
=no
15530 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15531 # soname into executable. Probably we can add versioning support to
15532 # collect2, so additional links can be useful in future.
15533 if test "$aix_use_runtimelinking" = yes; then
15534 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15535 # instead of lib<name>.a to let people know that these are not
15536 # typical AIX shared libraries.
15537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15539 # We preserve .a as extension for shared libraries through AIX4.2
15540 # and later when we are not doing run time linking.
15541 library_names_spec
='${libname}${release}.a $libname.a'
15542 soname_spec
='${libname}${release}${shared_ext}$major'
15544 shlibpath_var
=LIBPATH
15549 library_names_spec
='$libname.ixlibrary $libname.a'
15550 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15551 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'
15555 library_names_spec
='${libname}${shared_ext}'
15556 dynamic_linker
="$host_os ld.so"
15557 shlibpath_var
=LIBRARY_PATH
15563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15564 soname_spec
='${libname}${release}${shared_ext}$major'
15565 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15566 shlibpath_var
=LD_LIBRARY_PATH
15567 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15568 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15569 # the default ld.so.conf also contains /usr/contrib/lib and
15570 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15571 # libtool to hard-code these into programs
15574 cygwin
* | mingw
* | pw32
*)
15575 version_type
=windows
15580 case $GCC,$host_os in
15581 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15582 library_names_spec
='$libname.dll.a'
15583 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15584 postinstall_cmds
='base_file=`basename \${file}`~
15585 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15586 dldir=$destdir/`dirname \$dlpath`~
15587 test -d \$dldir || mkdir -p \$dldir~
15588 $install_prog $dir/$dlname \$dldir/$dlname~
15589 chmod a+x \$dldir/$dlname'
15590 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15591 dlpath=$dir/\$dldll~
15593 shlibpath_overrides_runpath
=yes
15597 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15598 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15599 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15602 # MinGW DLLs use traditional 'lib' prefix
15603 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15604 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15605 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15606 # It is most probably a Windows format PATH printed by
15607 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15608 # path with ; separators, and with drive letters. We can handle the
15609 # drive letters (cygwin fileutils understands them), so leave them,
15610 # especially as we might pass files found there to a mingw objdump,
15611 # which wouldn't understand a cygwinified path. Ahh.
15612 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15614 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15618 # pw32 DLLs use 'pw' prefix rather than 'lib'
15619 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15625 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15628 dynamic_linker
='Win32 ld.exe'
15629 # FIXME: first we should search . and the directory the executable is in
15633 darwin
* | rhapsody
*)
15634 dynamic_linker
="$host_os dyld"
15635 version_type
=darwin
15638 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15639 soname_spec
='${libname}${release}${major}$shared_ext'
15640 shlibpath_overrides_runpath
=yes
15641 shlibpath_var
=DYLD_LIBRARY_PATH
15642 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15643 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15644 if test "$GCC" = yes; then
15645 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"`
15647 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15649 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15657 soname_spec
='${libname}${release}${shared_ext}$major'
15658 shlibpath_var
=LD_LIBRARY_PATH
15669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15670 soname_spec
='${libname}${release}${shared_ext}$major'
15671 shlibpath_var
=LD_LIBRARY_PATH
15672 shlibpath_overrides_runpath
=no
15673 hardcode_into_libs
=yes
15674 dynamic_linker
='GNU ld.so'
15677 freebsd
* | dragonfly
*)
15678 # DragonFly does not have aout. When/if they implement a new
15679 # versioning mechanism, adjust this.
15680 if test -x /usr
/bin
/objformat
; then
15681 objformat
=`/usr/bin/objformat`
15684 freebsd
[123]*) objformat
=aout
;;
15685 *) objformat
=elf
;;
15688 version_type
=freebsd-
$objformat
15689 case $version_type in
15691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15696 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15700 shlibpath_var
=LD_LIBRARY_PATH
15703 shlibpath_overrides_runpath
=yes
15705 freebsd3.
[01]* | freebsdelf3.
[01]*)
15706 shlibpath_overrides_runpath
=yes
15707 hardcode_into_libs
=yes
15709 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15710 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15711 shlibpath_overrides_runpath
=no
15712 hardcode_into_libs
=yes
15714 freebsd
*) # from 4.6 on
15715 shlibpath_overrides_runpath
=yes
15716 hardcode_into_libs
=yes
15725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15726 soname_spec
='${libname}${release}${shared_ext}$major'
15727 shlibpath_var
=LD_LIBRARY_PATH
15728 hardcode_into_libs
=yes
15731 hpux9
* | hpux10
* | hpux11
*)
15732 # Give a soname corresponding to the major version so that dld.sl refuses to
15733 # link against other versions.
15740 hardcode_into_libs
=yes
15741 dynamic_linker
="$host_os dld.so"
15742 shlibpath_var
=LD_LIBRARY_PATH
15743 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15745 soname_spec
='${libname}${release}${shared_ext}$major'
15746 if test "X$HPUX_IA64_MODE" = X32
; then
15747 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15749 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15751 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15755 hardcode_into_libs
=yes
15756 dynamic_linker
="$host_os dld.sl"
15757 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15758 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15760 soname_spec
='${libname}${release}${shared_ext}$major'
15761 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15762 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15766 dynamic_linker
="$host_os dld.sl"
15767 shlibpath_var
=SHLIB_PATH
15768 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15770 soname_spec
='${libname}${release}${shared_ext}$major'
15773 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15774 postinstall_cmds
='chmod 555 $lib'
15781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15782 soname_spec
='${libname}${release}${shared_ext}$major'
15783 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15784 shlibpath_var
=LD_LIBRARY_PATH
15785 shlibpath_overrides_runpath
=no
15786 hardcode_into_libs
=yes
15789 irix5
* | irix6
* | nonstopux
*)
15791 nonstopux
*) version_type
=nonstopux
;;
15793 if test "$lt_cv_prog_gnu_ld" = yes; then
15801 soname_spec
='${libname}${release}${shared_ext}$major'
15802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15804 irix5
* | nonstopux
*)
15805 libsuff
= shlibsuff
=
15808 case $LD in # libtool.m4 will add one of these switches to LD
15809 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15810 libsuff
= shlibsuff
= libmagic
=32-bit;;
15811 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15812 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15813 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15814 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15815 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15819 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15820 shlibpath_overrides_runpath
=no
15821 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15822 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15823 hardcode_into_libs
=yes
15826 # No shared lib support for Linux oldld, aout, or coff.
15827 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15831 # This must be Linux ELF.
15836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15837 soname_spec
='${libname}${release}${shared_ext}$major'
15838 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15839 shlibpath_var
=LD_LIBRARY_PATH
15840 shlibpath_overrides_runpath
=no
15841 # This implies no fast_install, which is unacceptable.
15842 # Some rework will be needed to allow for fast_install
15843 # before this can be enabled.
15844 hardcode_into_libs
=yes
15846 # Append ld.so.conf contents to the search path
15847 if test -f /etc
/ld.so.conf
; then
15848 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' ' '`
15849 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15852 # We used to test for /lib/ld.so.1 and disable shared libraries on
15853 # powerpc, because MkLinux only supported shared libraries with the
15854 # GNU dynamic linker. Since this was broken with cross compilers,
15855 # most powerpc-linux boxes support dynamic linking these days and
15856 # people can always --disable-shared, the test was removed, and we
15857 # assume the GNU/Linux dynamic linker is in use.
15858 dynamic_linker
='GNU/Linux ld.so'
15865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15866 soname_spec
='${libname}${release}${shared_ext}$major'
15867 shlibpath_var
=LD_LIBRARY_PATH
15868 shlibpath_overrides_runpath
=no
15869 hardcode_into_libs
=yes
15870 dynamic_linker
='GNU ld.so'
15877 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15879 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15880 dynamic_linker
='NetBSD (a.out) ld.so'
15882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15883 soname_spec
='${libname}${release}${shared_ext}$major'
15884 dynamic_linker
='NetBSD ld.elf_so'
15886 shlibpath_var
=LD_LIBRARY_PATH
15887 shlibpath_overrides_runpath
=yes
15888 hardcode_into_libs
=yes
15893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15894 shlibpath_var
=LD_LIBRARY_PATH
15895 shlibpath_overrides_runpath
=yes
15902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15903 soname_spec
='${libname}${release}${shared_ext}$major'
15904 shlibpath_var
=LD_LIBRARY_PATH
15905 shlibpath_overrides_runpath
=yes
15910 sys_lib_dlsearch_path_spec
="/usr/lib"
15912 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15914 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15915 *) need_version
=no
;;
15917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15918 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15919 shlibpath_var
=LD_LIBRARY_PATH
15920 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15922 openbsd2.
[89] | openbsd2.
[89].
*)
15923 shlibpath_overrides_runpath
=no
15926 shlibpath_overrides_runpath
=yes
15930 shlibpath_overrides_runpath
=yes
15935 libname_spec
='$name'
15938 library_names_spec
='$libname${shared_ext} $libname.a'
15939 dynamic_linker
='OS/2 ld.exe'
15940 shlibpath_var
=LIBPATH
15943 osf3
* | osf4
* | osf5
*)
15947 soname_spec
='${libname}${release}${shared_ext}$major'
15948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15949 shlibpath_var
=LD_LIBRARY_PATH
15950 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15951 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15959 soname_spec
='${libname}${release}${shared_ext}$major'
15960 shlibpath_var
=LD_LIBRARY_PATH
15961 shlibpath_overrides_runpath
=yes
15962 hardcode_into_libs
=yes
15963 # ldd complains unless libraries are executable
15964 postinstall_cmds
='chmod +x $lib'
15969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15970 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15971 shlibpath_var
=LD_LIBRARY_PATH
15972 shlibpath_overrides_runpath
=yes
15973 if test "$with_gnu_ld" = yes; then
15981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15982 soname_spec
='${libname}${release}${shared_ext}$major'
15983 shlibpath_var
=LD_LIBRARY_PATH
15984 case $host_vendor in
15986 shlibpath_overrides_runpath
=no
15988 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15989 runpath_var
=LD_RUN_PATH
15997 shlibpath_overrides_runpath
=no
15998 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16004 if test -d /usr
/nec
;then
16006 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16007 soname_spec
='$libname${shared_ext}.$major'
16008 shlibpath_var
=LD_LIBRARY_PATH
16012 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16013 version_type
=freebsd-elf
16016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16017 soname_spec
='${libname}${release}${shared_ext}$major'
16018 shlibpath_var
=LD_LIBRARY_PATH
16019 hardcode_into_libs
=yes
16020 if test "$with_gnu_ld" = yes; then
16021 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16022 shlibpath_overrides_runpath
=no
16024 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16025 shlibpath_overrides_runpath
=yes
16028 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16032 sys_lib_dlsearch_path_spec
='/usr/lib'
16037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16038 soname_spec
='${libname}${release}${shared_ext}$major'
16039 shlibpath_var
=LD_LIBRARY_PATH
16046 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16047 echo "${ECHO_T}$dynamic_linker" >&6; }
16048 test "$dynamic_linker" = no
&& can_build_shared
=no
16050 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16051 if test "$GCC" = yes; then
16052 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16055 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16056 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16057 hardcode_action_F77
=
16058 if test -n "$hardcode_libdir_flag_spec_F77" || \
16059 test -n "$runpath_var_F77" || \
16060 test "X$hardcode_automatic_F77" = "Xyes" ; then
16062 # We can hardcode non-existant directories.
16063 if test "$hardcode_direct_F77" != no
&&
16064 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16065 # have to relink, otherwise we might link with an installed library
16066 # when we should be linking with a yet-to-be-installed one
16067 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16068 test "$hardcode_minus_L_F77" != no
; then
16069 # Linking always hardcodes the temporary library directory.
16070 hardcode_action_F77
=relink
16072 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16073 hardcode_action_F77
=immediate
16076 # We cannot hardcode anything, or else we can only hardcode existing
16078 hardcode_action_F77
=unsupported
16080 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16081 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16083 if test "$hardcode_action_F77" = relink
; then
16084 # Fast installation is not supported
16085 enable_fast_install
=no
16086 elif test "$shlibpath_overrides_runpath" = yes ||
16087 test "$enable_shared" = no
; then
16088 # Fast installation is not necessary
16089 enable_fast_install
=needless
16093 # The else clause should only fire when bootstrapping the
16094 # libtool distribution, otherwise you forgot to ship ltmain.sh
16095 # with your package, and you will get complaints that there are
16096 # no rules to generate ltmain.sh.
16097 if test -f "$ltmain"; then
16098 # See if we are running on zsh, and set the options which allow our commands through
16099 # without removal of \ escapes.
16100 if test -n "${ZSH_VERSION+set}" ; then
16101 setopt NO_GLOB_SUBST
16103 # Now quote all the things that may contain metacharacters while being
16104 # careful not to overquote the AC_SUBSTed values. We take copies of the
16105 # variables and quote the copies for generation of the libtool script.
16106 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16108 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16109 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16110 deplibs_check_method reload_flag reload_cmds need_locks \
16111 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16112 lt_cv_sys_global_symbol_to_c_name_address \
16113 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16114 old_postinstall_cmds old_postuninstall_cmds \
16118 lt_prog_compiler_wl_F77 \
16119 lt_prog_compiler_pic_F77 \
16120 lt_prog_compiler_static_F77 \
16121 lt_prog_compiler_no_builtin_flag_F77 \
16122 export_dynamic_flag_spec_F77 \
16123 thread_safe_flag_spec_F77 \
16124 whole_archive_flag_spec_F77 \
16125 enable_shared_with_static_runtimes_F77 \
16126 old_archive_cmds_F77 \
16127 old_archive_from_new_cmds_F77 \
16128 predep_objects_F77 \
16129 postdep_objects_F77 \
16132 compiler_lib_search_path_F77 \
16134 archive_expsym_cmds_F77 \
16135 postinstall_cmds_F77 \
16136 postuninstall_cmds_F77 \
16137 old_archive_from_expsyms_cmds_F77 \
16138 allow_undefined_flag_F77 \
16139 no_undefined_flag_F77 \
16140 export_symbols_cmds_F77 \
16141 hardcode_libdir_flag_spec_F77 \
16142 hardcode_libdir_flag_spec_ld_F77 \
16143 hardcode_libdir_separator_F77 \
16144 hardcode_automatic_F77 \
16146 module_expsym_cmds_F77 \
16147 lt_cv_prog_compiler_c_o_F77 \
16148 exclude_expsyms_F77 \
16149 include_expsyms_F77
; do
16152 old_archive_cmds_F77 | \
16153 old_archive_from_new_cmds_F77 | \
16154 archive_cmds_F77 | \
16155 archive_expsym_cmds_F77 | \
16156 module_cmds_F77 | \
16157 module_expsym_cmds_F77 | \
16158 old_archive_from_expsyms_cmds_F77 | \
16159 export_symbols_cmds_F77 | \
16160 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16161 postinstall_cmds | postuninstall_cmds | \
16162 old_postinstall_cmds | old_postuninstall_cmds | \
16163 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16164 # Double-quote double-evaled strings.
16165 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16168 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16174 *'\$0 --fallback-echo"')
16175 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16181 cat <<__EOF__ >> "$cfgfile"
16182 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16184 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16186 # Shell to use when invoking shell scripts.
16189 # Whether or not to build shared libraries.
16190 build_libtool_libs=$enable_shared
16192 # Whether or not to build static libraries.
16193 build_old_libs=$enable_static
16195 # Whether or not to add -lc for building shared libraries.
16196 build_libtool_need_lc=$archive_cmds_need_lc_F77
16198 # Whether or not to disallow shared libs when runtime libs are static
16199 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16201 # Whether or not to optimize for fast installation.
16202 fast_install=$enable_fast_install
16205 host_alias=$host_alias
16209 # The build system.
16210 build_alias=$build_alias
16214 # An echo program that does not interpret backslashes.
16219 AR_FLAGS=$lt_AR_FLAGS
16224 # LTCC compiler flags.
16225 LTCFLAGS=$lt_LTCFLAGS
16227 # A language-specific compiler.
16228 CC=$lt_compiler_F77
16230 # Is the compiler the GNU C compiler?
16236 # The linker used to build libraries.
16239 # Whether we need hard or soft links.
16242 # A BSD-compatible nm program.
16245 # A symbol stripping program
16248 # Used to examine libraries when file_magic_cmd begins "file"
16249 MAGIC_CMD=$MAGIC_CMD
16251 # Used on cygwin: DLL creation program.
16254 # Used on cygwin: object dumper.
16257 # Used on cygwin: assembler.
16260 # The name of the directory that contains temporary libtool files.
16263 # How to create reloadable object files.
16264 reload_flag=$lt_reload_flag
16265 reload_cmds=$lt_reload_cmds
16267 # How to pass a linker flag through the compiler.
16268 wl=$lt_lt_prog_compiler_wl_F77
16270 # Object file suffix (normally "o").
16271 objext="$ac_objext"
16273 # Old archive suffix (normally "a").
16276 # Shared library suffix (normally ".so").
16277 shrext_cmds='$shrext_cmds'
16279 # Executable file suffix (normally "").
16282 # Additional compiler flags for building library objects.
16283 pic_flag=$lt_lt_prog_compiler_pic_F77
16286 # What is the maximum length of a command?
16287 max_cmd_len=$lt_cv_sys_max_cmd_len
16289 # Does compiler simultaneously support -c and -o options?
16290 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16292 # Must we lock files when doing compilation?
16293 need_locks=$lt_need_locks
16295 # Do we need the lib prefix for modules?
16296 need_lib_prefix=$need_lib_prefix
16298 # Do we need a version for libraries?
16299 need_version=$need_version
16301 # Whether dlopen is supported.
16302 dlopen_support=$enable_dlopen
16304 # Whether dlopen of programs is supported.
16305 dlopen_self=$enable_dlopen_self
16307 # Whether dlopen of statically linked programs is supported.
16308 dlopen_self_static=$enable_dlopen_self_static
16310 # Compiler flag to prevent dynamic linking.
16311 link_static_flag=$lt_lt_prog_compiler_static_F77
16313 # Compiler flag to turn off builtin functions.
16314 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16316 # Compiler flag to allow reflexive dlopens.
16317 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16319 # Compiler flag to generate shared objects directly from archives.
16320 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16322 # Compiler flag to generate thread-safe objects.
16323 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16325 # Library versioning type.
16326 version_type=$version_type
16328 # Format of library name prefix.
16329 libname_spec=$lt_libname_spec
16331 # List of archive names. First name is the real one, the rest are links.
16332 # The last name is the one that the linker finds with -lNAME.
16333 library_names_spec=$lt_library_names_spec
16335 # The coded name of the library, if different from the real name.
16336 soname_spec=$lt_soname_spec
16338 # Commands used to build and install an old-style archive.
16340 old_archive_cmds=$lt_old_archive_cmds_F77
16341 old_postinstall_cmds=$lt_old_postinstall_cmds
16342 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16344 # Create an old-style archive from a shared archive.
16345 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16347 # Create a temporary old-style archive to link instead of a shared archive.
16348 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16350 # Commands used to build and install a shared archive.
16351 archive_cmds=$lt_archive_cmds_F77
16352 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16353 postinstall_cmds=$lt_postinstall_cmds
16354 postuninstall_cmds=$lt_postuninstall_cmds
16356 # Commands used to build a loadable module (assumed same as above if empty)
16357 module_cmds=$lt_module_cmds_F77
16358 module_expsym_cmds=$lt_module_expsym_cmds_F77
16360 # Commands to strip libraries.
16361 old_striplib=$lt_old_striplib
16362 striplib=$lt_striplib
16364 # Dependencies to place before the objects being linked to create a
16366 predep_objects=$lt_predep_objects_F77
16368 # Dependencies to place after the objects being linked to create a
16370 postdep_objects=$lt_postdep_objects_F77
16372 # Dependencies to place before the objects being linked to create a
16374 predeps=$lt_predeps_F77
16376 # Dependencies to place after the objects being linked to create a
16378 postdeps=$lt_postdeps_F77
16380 # The library search path used internally by the compiler when linking
16381 # a shared library.
16382 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16384 # Method to check whether dependent libraries are shared objects.
16385 deplibs_check_method=$lt_deplibs_check_method
16387 # Command to use when deplibs_check_method == file_magic.
16388 file_magic_cmd=$lt_file_magic_cmd
16390 # Flag that allows shared libraries with undefined symbols to be built.
16391 allow_undefined_flag=$lt_allow_undefined_flag_F77
16393 # Flag that forces no undefined symbols.
16394 no_undefined_flag=$lt_no_undefined_flag_F77
16396 # Commands used to finish a libtool library installation in a directory.
16397 finish_cmds=$lt_finish_cmds
16399 # Same as above, but a single script fragment to be evaled but not shown.
16400 finish_eval=$lt_finish_eval
16402 # Take the output of nm and produce a listing of raw symbols and C names.
16403 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16405 # Transform the output of nm in a proper C declaration
16406 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16408 # Transform the output of nm in a C name address pair
16409 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16411 # This is the shared library runtime path variable.
16412 runpath_var=$runpath_var
16414 # This is the shared library path variable.
16415 shlibpath_var=$shlibpath_var
16417 # Is shlibpath searched before the hard-coded library search path?
16418 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16420 # How to hardcode a shared library path into an executable.
16421 hardcode_action=$hardcode_action_F77
16423 # Whether we should hardcode library paths into libraries.
16424 hardcode_into_libs=$hardcode_into_libs
16426 # Flag to hardcode \$libdir into a binary during linking.
16427 # This must work even if \$libdir does not exist.
16428 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16430 # If ld is used when linking, flag to hardcode \$libdir into
16431 # a binary during linking. This must work even if \$libdir does
16433 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16435 # Whether we need a single -rpath flag with a separated argument.
16436 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16438 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16439 # resulting binary.
16440 hardcode_direct=$hardcode_direct_F77
16442 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16443 # resulting binary.
16444 hardcode_minus_L=$hardcode_minus_L_F77
16446 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16447 # the resulting binary.
16448 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16450 # Set to yes if building a shared library automatically hardcodes DIR into the library
16451 # and all subsequent libraries and executables linked against it.
16452 hardcode_automatic=$hardcode_automatic_F77
16454 # Variables whose values should be saved in libtool wrapper scripts and
16455 # restored at relink time.
16456 variables_saved_for_relink="$variables_saved_for_relink"
16458 # Whether libtool must link a program against all its dependency libraries.
16459 link_all_deplibs=$link_all_deplibs_F77
16461 # Compile-time system search path for libraries
16462 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16464 # Run-time system search path for libraries
16465 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16467 # Fix the shell variable \$srcfile for the compiler.
16468 fix_srcfile_path="$fix_srcfile_path_F77"
16470 # Set to yes if exported symbols are required.
16471 always_export_symbols=$always_export_symbols_F77
16473 # The commands to list exported symbols.
16474 export_symbols_cmds=$lt_export_symbols_cmds_F77
16476 # The commands to extract the exported symbol list from a shared archive.
16477 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16479 # Symbols that should not be listed in the preloaded symbols.
16480 exclude_expsyms=$lt_exclude_expsyms_F77
16482 # Symbols that must always be exported.
16483 include_expsyms=$lt_include_expsyms_F77
16485 # ### END LIBTOOL TAG CONFIG: $tagname
16491 # If there is no Makefile yet, we rely on a make rule to execute
16492 # `config.status --recheck' to rerun these tests and create the
16493 # libtool script then.
16494 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16495 if test -f "$ltmain_in"; then
16496 test -f Makefile
&& make "$ltmain"
16502 ac_cpp
='$CXXCPP $CPPFLAGS'
16503 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16504 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16505 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16515 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16518 # Source file extension for Java test sources.
16521 # Object file extension for compiled Java test sources.
16525 # Code to be used in simple compile tests
16526 lt_simple_compile_test_code
="class foo {}\n"
16528 # Code to be used in simple link tests
16529 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16531 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16533 # If no C compiler was specified, use CC.
16536 # If no C compiler flags were specified, use CFLAGS.
16537 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16539 # Allow CC to be a program name with arguments.
16543 # save warnings/boilerplate of simple test code
16544 ac_outfile
=conftest.
$ac_objext
16545 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16546 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16547 _lt_compiler_boilerplate
=`cat conftest.err`
16550 ac_outfile
=conftest.
$ac_objext
16551 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16552 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16553 _lt_linker_boilerplate
=`cat conftest.err`
16557 # Allow CC to be a program name with arguments.
16562 for cc_temp
in $compiler""; do
16564 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16565 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16570 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16573 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16574 archive_cmds_need_lc_GCJ
=no
16576 old_archive_cmds_GCJ
=$old_archive_cmds
16579 lt_prog_compiler_no_builtin_flag_GCJ
=
16581 if test "$GCC" = yes; then
16582 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16585 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16586 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16587 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 lt_cv_prog_compiler_rtti_exceptions
=no
16591 ac_outfile
=conftest.
$ac_objext
16592 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16593 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16594 # Insert the option either (1) after the last *FLAGS variable, or
16595 # (2) before a word containing "conftest.", or (3) at the end.
16596 # Note that $ac_compile itself does not contain backslashes and begins
16597 # with a dollar sign (not a hyphen), so the echo should work correctly.
16598 # The option is referenced via a variable to avoid confusing sed.
16599 lt_compile
=`echo "$ac_compile" | $SED \
16600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16602 -e 's:$: $lt_compiler_flag:'`
16603 (eval echo "\"\$as_me:16603: $lt_compile\"" >&5)
16604 (eval "$lt_compile" 2>conftest.err
)
16606 cat conftest.err
>&5
16607 echo "$as_me:16607: \$? = $ac_status" >&5
16608 if (exit $ac_status) && test -s "$ac_outfile"; then
16609 # The compiler can only warn and ignore the option if not recognized
16610 # So say no if there are warnings other than the usual output.
16611 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16612 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16613 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16614 lt_cv_prog_compiler_rtti_exceptions
=yes
16620 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16621 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16623 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16624 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16631 lt_prog_compiler_wl_GCJ
=
16632 lt_prog_compiler_pic_GCJ
=
16633 lt_prog_compiler_static_GCJ
=
16635 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16636 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16638 if test "$GCC" = yes; then
16639 lt_prog_compiler_wl_GCJ
='-Wl,'
16640 lt_prog_compiler_static_GCJ
='-static'
16644 # All AIX code is PIC.
16645 if test "$host_cpu" = ia64
; then
16646 # AIX 5 now supports IA64 processor
16647 lt_prog_compiler_static_GCJ
='-Bstatic'
16652 # FIXME: we need at least 68020 code to build shared libraries, but
16653 # adding the `-m68020' flag to GCC prevents building anything better,
16655 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16658 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16659 # PIC is the default for these OSes.
16662 mingw
* | pw32
* | os2
*)
16663 # This hack is so that the source file can tell whether it is being
16664 # built for inclusion in a dll (and should export symbols for example).
16665 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16668 darwin
* | rhapsody
*)
16669 # PIC is the default on this platform
16670 # Common symbols not allowed in MH_DYLIB files
16671 lt_prog_compiler_pic_GCJ
='-fno-common'
16675 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16676 # Instead, we relocate shared libraries at runtime.
16680 # Just because we use GCC doesn't mean we suddenly get shared libraries
16681 # on systems that don't support them.
16682 lt_prog_compiler_can_build_shared_GCJ
=no
16687 if test -d /usr
/nec
; then
16688 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16693 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16694 # not for PA HP-UX.
16700 lt_prog_compiler_pic_GCJ
='-fPIC'
16706 lt_prog_compiler_pic_GCJ
='-fPIC'
16710 # PORTME Check for flag to pass linker flags through the system compiler.
16713 lt_prog_compiler_wl_GCJ
='-Wl,'
16714 if test "$host_cpu" = ia64
; then
16715 # AIX 5 now supports IA64 processor
16716 lt_prog_compiler_static_GCJ
='-Bstatic'
16718 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16722 # PIC is the default on this platform
16723 # Common symbols not allowed in MH_DYLIB files
16724 case $cc_basename in
16726 lt_prog_compiler_pic_GCJ
='-qnocommon'
16727 lt_prog_compiler_wl_GCJ
='-Wl,'
16732 mingw
* | pw32
* | os2
*)
16733 # This hack is so that the source file can tell whether it is being
16734 # built for inclusion in a dll (and should export symbols for example).
16735 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16738 hpux9
* | hpux10
* | hpux11
*)
16739 lt_prog_compiler_wl_GCJ
='-Wl,'
16740 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16741 # not for PA HP-UX.
16747 lt_prog_compiler_pic_GCJ
='+Z'
16750 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16751 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16754 irix5
* | irix6
* | nonstopux
*)
16755 lt_prog_compiler_wl_GCJ
='-Wl,'
16756 # PIC (with -KPIC) is the default.
16757 lt_prog_compiler_static_GCJ
='-non_shared'
16761 lt_prog_compiler_pic_GCJ
='-KPIC'
16762 lt_prog_compiler_static_GCJ
='-Bstatic'
16766 case $cc_basename in
16768 lt_prog_compiler_wl_GCJ
='-Wl,'
16769 lt_prog_compiler_pic_GCJ
='-KPIC'
16770 lt_prog_compiler_static_GCJ
='-static'
16772 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16773 # Portland Group compilers (*not* the Pentium gcc compiler,
16774 # which looks to be a dead project)
16775 lt_prog_compiler_wl_GCJ
='-Wl,'
16776 lt_prog_compiler_pic_GCJ
='-fpic'
16777 lt_prog_compiler_static_GCJ
='-Bstatic'
16780 lt_prog_compiler_wl_GCJ
='-Wl,'
16781 # All Alpha code is PIC.
16782 lt_prog_compiler_static_GCJ
='-non_shared'
16787 osf3
* | osf4
* | osf5
*)
16788 lt_prog_compiler_wl_GCJ
='-Wl,'
16789 # All OSF/1 code is PIC.
16790 lt_prog_compiler_static_GCJ
='-non_shared'
16794 lt_prog_compiler_pic_GCJ
='-KPIC'
16795 lt_prog_compiler_static_GCJ
='-Bstatic'
16796 case $cc_basename in
16797 f77
* | f90
* | f95
*)
16798 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16800 lt_prog_compiler_wl_GCJ
='-Wl,';;
16805 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16806 lt_prog_compiler_pic_GCJ
='-PIC'
16807 lt_prog_compiler_static_GCJ
='-Bstatic'
16810 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16811 lt_prog_compiler_wl_GCJ
='-Wl,'
16812 lt_prog_compiler_pic_GCJ
='-KPIC'
16813 lt_prog_compiler_static_GCJ
='-Bstatic'
16817 if test -d /usr
/nec
;then
16818 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16819 lt_prog_compiler_static_GCJ
='-Bstatic'
16823 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16824 lt_prog_compiler_wl_GCJ
='-Wl,'
16825 lt_prog_compiler_pic_GCJ
='-KPIC'
16826 lt_prog_compiler_static_GCJ
='-Bstatic'
16830 lt_prog_compiler_wl_GCJ
='-Wl,'
16831 lt_prog_compiler_can_build_shared_GCJ
=no
16835 lt_prog_compiler_pic_GCJ
='-pic'
16836 lt_prog_compiler_static_GCJ
='-Bstatic'
16840 lt_prog_compiler_can_build_shared_GCJ
=no
16845 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16846 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16849 # Check to make sure the PIC flag actually works.
16851 if test -n "$lt_prog_compiler_pic_GCJ"; then
16853 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16854 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16855 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16856 echo $ECHO_N "(cached) $ECHO_C" >&6
16858 lt_prog_compiler_pic_works_GCJ
=no
16859 ac_outfile
=conftest.
$ac_objext
16860 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16861 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16862 # Insert the option either (1) after the last *FLAGS variable, or
16863 # (2) before a word containing "conftest.", or (3) at the end.
16864 # Note that $ac_compile itself does not contain backslashes and begins
16865 # with a dollar sign (not a hyphen), so the echo should work correctly.
16866 # The option is referenced via a variable to avoid confusing sed.
16867 lt_compile
=`echo "$ac_compile" | $SED \
16868 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16869 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16870 -e 's:$: $lt_compiler_flag:'`
16871 (eval echo "\"\$as_me:16871: $lt_compile\"" >&5)
16872 (eval "$lt_compile" 2>conftest.err
)
16874 cat conftest.err
>&5
16875 echo "$as_me:16875: \$? = $ac_status" >&5
16876 if (exit $ac_status) && test -s "$ac_outfile"; then
16877 # The compiler can only warn and ignore the option if not recognized
16878 # So say no if there are warnings other than the usual output.
16879 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16880 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16881 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16882 lt_prog_compiler_pic_works_GCJ
=yes
16888 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16889 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16891 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16892 case $lt_prog_compiler_pic_GCJ in
16894 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16897 lt_prog_compiler_pic_GCJ
=
16898 lt_prog_compiler_can_build_shared_GCJ
=no
16903 # For platforms which do not support PIC, -DPIC is meaningless:
16905 lt_prog_compiler_pic_GCJ
=
16908 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16913 # Check to make sure the static flag actually works.
16915 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16916 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16917 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16918 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 lt_prog_compiler_static_works_GCJ
=no
16922 save_LDFLAGS
="$LDFLAGS"
16923 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16924 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16925 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16926 # The linker can only warn and ignore the option if not recognized
16927 # So say no if there are warnings
16928 if test -s conftest.err
; then
16929 # Append any errors to the config.log.
16930 cat conftest.err
1>&5
16931 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16932 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16933 if diff conftest.exp conftest.er2
>/dev
/null
; then
16934 lt_prog_compiler_static_works_GCJ
=yes
16937 lt_prog_compiler_static_works_GCJ
=yes
16941 LDFLAGS
="$save_LDFLAGS"
16944 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16945 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16947 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16950 lt_prog_compiler_static_GCJ
=
16954 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16955 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16956 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16957 echo $ECHO_N "(cached) $ECHO_C" >&6
16959 lt_cv_prog_compiler_c_o_GCJ
=no
16960 $rm -r conftest
2>/dev
/null
16964 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16966 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16967 # Insert the option either (1) after the last *FLAGS variable, or
16968 # (2) before a word containing "conftest.", or (3) at the end.
16969 # Note that $ac_compile itself does not contain backslashes and begins
16970 # with a dollar sign (not a hyphen), so the echo should work correctly.
16971 lt_compile
=`echo "$ac_compile" | $SED \
16972 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16973 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16974 -e 's:$: $lt_compiler_flag:'`
16975 (eval echo "\"\$as_me:16975: $lt_compile\"" >&5)
16976 (eval "$lt_compile" 2>out
/conftest.err
)
16978 cat out
/conftest.err
>&5
16979 echo "$as_me:16979: \$? = $ac_status" >&5
16980 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16982 # The compiler can only warn and ignore the option if not recognized
16983 # So say no if there are warnings
16984 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16985 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16986 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16987 lt_cv_prog_compiler_c_o_GCJ
=yes
16992 # SGI C++ compiler will create directory out/ii_files/ for
16993 # template instantiation
16994 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16995 $rm out
/* && rmdir out
17001 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17002 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17005 hard_links
="nottested"
17006 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17007 # do not overwrite the value of need_locks provided by the user
17008 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17009 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17012 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17014 ln conftest.a conftest.b
2>&5 || hard_links
=no
17015 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17016 { echo "$as_me:$LINENO: result: $hard_links" >&5
17017 echo "${ECHO_T}$hard_links" >&6; }
17018 if test "$hard_links" = no
; then
17019 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17020 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17027 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17028 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17031 allow_undefined_flag_GCJ
=
17032 enable_shared_with_static_runtimes_GCJ
=no
17034 archive_expsym_cmds_GCJ
=
17035 old_archive_From_new_cmds_GCJ
=
17036 old_archive_from_expsyms_cmds_GCJ
=
17037 export_dynamic_flag_spec_GCJ
=
17038 whole_archive_flag_spec_GCJ
=
17039 thread_safe_flag_spec_GCJ
=
17040 hardcode_libdir_flag_spec_GCJ
=
17041 hardcode_libdir_flag_spec_ld_GCJ
=
17042 hardcode_libdir_separator_GCJ
=
17043 hardcode_direct_GCJ
=no
17044 hardcode_minus_L_GCJ
=no
17045 hardcode_shlibpath_var_GCJ
=unsupported
17046 link_all_deplibs_GCJ
=unknown
17047 hardcode_automatic_GCJ
=no
17049 module_expsym_cmds_GCJ
=
17050 always_export_symbols_GCJ
=no
17051 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17052 # include_expsyms should be a list of space-separated symbols to be *always*
17053 # included in the symbol list
17054 include_expsyms_GCJ
=
17055 # exclude_expsyms can be an extended regexp of symbols to exclude
17056 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17057 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17058 # as well as any symbol that contains `d'.
17059 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17060 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17061 # platforms (ab)use it in PIC code, but their linkers get confused if
17062 # the symbol is explicitly referenced. Since portable code cannot
17063 # rely on this symbol name, it's probably fine to never include it in
17064 # preloaded symbol tables.
17065 extract_expsyms_cmds
=
17066 # Just being paranoid about ensuring that cc_basename is set.
17067 for cc_temp
in $compiler""; do
17069 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17070 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17075 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17078 cygwin
* | mingw
* | pw32
*)
17079 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17080 # When not using gcc, we currently assume that we are using
17081 # Microsoft Visual C++.
17082 if test "$GCC" != yes; then
17087 # we just hope/assume this is gcc and not c89 (= MSVC++)
17096 if test "$with_gnu_ld" = yes; then
17097 # If archive_cmds runs LD, not CC, wlarc should be empty
17100 # Set some defaults for GNU ld with shared library support. These
17101 # are reset later if shared libraries are not supported. Putting them
17102 # here allows them to be overridden if necessary.
17103 runpath_var
=LD_RUN_PATH
17104 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17105 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17106 # ancient GNU ld didn't support --whole-archive et. al.
17107 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17108 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17110 whole_archive_flag_spec_GCJ
=
17112 supports_anon_versioning
=no
17113 case `$LD -v 2>/dev/null` in
17114 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17115 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17116 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17117 *\
2.11.
*) ;; # other 2.11 versions
17118 *) supports_anon_versioning
=yes ;;
17121 # See if GNU ld supports shared libraries.
17123 aix3
* | aix4
* | aix5
*)
17124 # On AIX/PPC, the GNU linker is very broken
17125 if test "$host_cpu" != ia64
; then
17129 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17130 *** to be unable to reliably create shared libraries on AIX.
17131 *** Therefore, libtool is disabling shared libraries support. If you
17132 *** really care for shared libraries, you may want to modify your PATH
17133 *** so that a non-GNU linker is found, and then restart.
17140 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)'
17141 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17142 hardcode_minus_L_GCJ
=yes
17144 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17145 # that the semantics of dynamic libraries on AmigaOS, at least up
17146 # to version 4, is to share data among multiple programs linked
17147 # with the same dynamic library. Since this doesn't match the
17148 # behavior of shared libraries on other platforms, we can't use
17154 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17155 allow_undefined_flag_GCJ
=unsupported
17156 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17157 # support --undefined. This deserves some investigation. FIXME
17158 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17164 cygwin
* | mingw
* | pw32
*)
17165 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17166 # as there is no search path for DLLs.
17167 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17168 allow_undefined_flag_GCJ
=unsupported
17169 always_export_symbols_GCJ
=no
17170 enable_shared_with_static_runtimes_GCJ
=yes
17171 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17173 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17174 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17175 # If the export-symbols file already is a .def file (1st line
17176 # is EXPORTS), use it as is; otherwise, prepend...
17177 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17178 cp $export_symbols $output_objdir/$soname.def;
17180 echo EXPORTS > $output_objdir/$soname.def;
17181 cat $export_symbols >> $output_objdir/$soname.def;
17183 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17190 hardcode_direct_GCJ
=no
17191 hardcode_shlibpath_var_GCJ
=no
17192 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17193 export_dynamic_flag_spec_GCJ
='${wl}-E'
17194 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17195 # Instead, shared libraries are loaded at an image base (0x10000000 by
17196 # default) and relocated if they conflict, which is a slow very memory
17197 # consuming and fragmenting process. To avoid this, we pick a random,
17198 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17199 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17200 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'
17201 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'
17205 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17207 case $cc_basename,$host_cpu in
17208 pgcc
*) # Portland Group C compiler
17209 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'
17210 tmp_addflag
=' $pic_flag'
17212 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17213 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'
17214 tmp_addflag
=' $pic_flag -Mnomain' ;;
17215 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17216 tmp_addflag
=' -i_dynamic' ;;
17217 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17218 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17219 ifc
* | ifort
*) # Intel Fortran compiler
17220 tmp_addflag
=' -nofor_main' ;;
17222 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17224 if test $supports_anon_versioning = yes; then
17225 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17226 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17227 $echo "local: *; };" >> $output_objdir/$libname.ver~
17228 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17236 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17237 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17240 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17241 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17246 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17250 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17251 *** create shared libraries on Solaris systems. Therefore, libtool
17252 *** is disabling shared libraries support. We urge you to upgrade GNU
17253 *** binutils to release 2.9.1 or newer. Another option is to modify
17254 *** your PATH or compiler configuration so that the native linker is
17255 *** used, and then restart.
17258 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17259 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17260 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17266 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17267 case `$LD -v 2>&1` in
17268 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17272 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17273 *** reliably create shared libraries on SCO systems. Therefore, libtool
17274 *** is disabling shared libraries support. We urge you to upgrade GNU
17275 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17276 *** your PATH or compiler configuration so that the native linker is
17277 *** used, and then restart.
17282 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17283 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17284 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17285 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17294 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17296 hardcode_direct_GCJ
=yes
17297 hardcode_shlibpath_var_GCJ
=no
17301 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17302 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17303 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17310 if test "$ld_shlibs_GCJ" = no
; then
17312 hardcode_libdir_flag_spec_GCJ
=
17313 export_dynamic_flag_spec_GCJ
=
17314 whole_archive_flag_spec_GCJ
=
17317 # PORTME fill in a description of your system's linker (not GNU ld)
17320 allow_undefined_flag_GCJ
=unsupported
17321 always_export_symbols_GCJ
=yes
17322 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'
17323 # Note: this linker hardcodes the directories in LIBPATH if there
17324 # are no directories specified by -L.
17325 hardcode_minus_L_GCJ
=yes
17326 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17327 # Neither direct hardcoding nor static linking is supported with a
17329 hardcode_direct_GCJ
=unsupported
17334 if test "$host_cpu" = ia64
; then
17335 # On IA64, the linker does run time linking by default, so we don't
17336 # have to do anything special.
17337 aix_use_runtimelinking
=no
17338 exp_sym_flag
='-Bexport'
17341 # If we're using GNU nm, then we don't want the "-C" option.
17342 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17343 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17344 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'
17346 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'
17348 aix_use_runtimelinking
=no
17350 # Test if we are trying to use run time linking or normal
17351 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17352 # need to do runtime linking.
17353 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17354 for ld_flag
in $LDFLAGS; do
17355 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17356 aix_use_runtimelinking
=yes
17363 exp_sym_flag
='-bexport'
17364 no_entry_flag
='-bnoentry'
17367 # When large executables or shared objects are built, AIX ld can
17368 # have problems creating the table of contents. If linking a library
17369 # or program results in "error TOC overflow" add -mminimal-toc to
17370 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17371 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17373 archive_cmds_GCJ
=''
17374 hardcode_direct_GCJ
=yes
17375 hardcode_libdir_separator_GCJ
=':'
17376 link_all_deplibs_GCJ
=yes
17378 if test "$GCC" = yes; then
17379 case $host_os in aix4.
[012]|aix4.
[012].
*)
17380 # We only want to do this on AIX 4.2 and lower, the check
17381 # below for broken collect2 doesn't work under 4.3+
17382 collect2name
=`${CC} -print-prog-name=collect2`
17383 if test -f "$collect2name" && \
17384 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17386 # We have reworked collect2
17387 hardcode_direct_GCJ
=yes
17389 # We have old collect2
17390 hardcode_direct_GCJ
=unsupported
17391 # It fails to find uninstalled libraries when the uninstalled
17392 # path is not listed in the libpath. Setting hardcode_minus_L
17393 # to unsupported forces relinking
17394 hardcode_minus_L_GCJ
=yes
17395 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17396 hardcode_libdir_separator_GCJ
=
17400 shared_flag
='-shared'
17401 if test "$aix_use_runtimelinking" = yes; then
17402 shared_flag
="$shared_flag "'${wl}-G'
17406 if test "$host_cpu" = ia64
; then
17407 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17408 # chokes on -Wl,-G. The following line is correct:
17411 if test "$aix_use_runtimelinking" = yes; then
17412 shared_flag
='${wl}-G'
17414 shared_flag
='${wl}-bM:SRE'
17419 # It seems that -bexpall does not export symbols beginning with
17420 # underscore (_), so it is better to generate a list of symbols to export.
17421 always_export_symbols_GCJ
=yes
17422 if test "$aix_use_runtimelinking" = yes; then
17423 # Warning - without using the other runtime loading flags (-brtl),
17424 # -berok will link without error, but may produce a broken library.
17425 allow_undefined_flag_GCJ
='-berok'
17426 # Determine the default libpath from the value encoded in an empty executable.
17427 cat >conftest.
$ac_ext <<_ACEOF
17430 cat confdefs.h
>>conftest.
$ac_ext
17431 cat >>conftest.
$ac_ext <<_ACEOF
17432 /* end confdefs.h. */
17442 rm -f conftest.
$ac_objext conftest
$ac_exeext
17443 if { (ac_try
="$ac_link"
17444 case "(($ac_try" in
17445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17446 *) ac_try_echo=$ac_try;;
17448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17449 (eval "$ac_link") 2>conftest.er1
17451 grep -v '^ *+' conftest.er1 >conftest.err
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17457 { (case "(($ac_try" in
17458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17459 *) ac_try_echo
=$ac_try;;
17461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17462 (eval "$ac_try") 2>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try
='test -s conftest$ac_exeext'
17467 { (case "(($ac_try" in
17468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17469 *) ac_try_echo=$ac_try;;
17471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17472 (eval "$ac_try") 2>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; }; then
17477 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17479 # Check for a 64-bit object if we didn't find anything.
17480 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; }
17483 echo "$as_me: failed program was:" >&5
17484 sed 's/^/| /' conftest.$ac_ext >&5
17489 rm -f core conftest.err conftest.$ac_objext \
17490 conftest$ac_exeext conftest.$ac_ext
17491 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17493 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17494 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"
17496 if test "$host_cpu" = ia64; then
17497 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17498 allow_undefined_flag_GCJ="-z nodefs"
17499 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"
17501 # Determine the default libpath from the value encoded in an empty executable.
17502 cat >conftest.$ac_ext <<_ACEOF
17505 cat confdefs.h >>conftest.$ac_ext
17506 cat >>conftest.$ac_ext <<_ACEOF
17507 /* end confdefs.h. */
17517 rm -f conftest.$ac_objext conftest$ac_exeext
17518 if { (ac_try="$ac_link"
17519 case "(($ac_try" in
17520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17521 *) ac_try_echo
=$ac_try;;
17523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17524 (eval "$ac_link") 2>conftest.er1
17526 grep -v '^ *+' conftest.er1
>conftest.err
17528 cat conftest.err
>&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); } &&
17531 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17532 { (case "(($ac_try" in
17533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17534 *) ac_try_echo=$ac_try;;
17536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17537 (eval "$ac_try") 2>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; } &&
17541 { ac_try='test -s conftest$ac_exeext'
17542 { (case "(($ac_try" in
17543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17544 *) ac_try_echo
=$ac_try;;
17546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17547 (eval "$ac_try") 2>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); }; }; then
17552 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17554 # Check for a 64-bit object if we didn't find anything.
17555 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; }
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.
$ac_ext >&5
17564 rm -f core conftest.err conftest.
$ac_objext \
17565 conftest
$ac_exeext conftest.
$ac_ext
17566 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17568 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17569 # Warning - without using the other run time loading flags,
17570 # -berok will link without error, but may produce a broken library.
17571 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17572 allow_undefined_flag_GCJ
=' ${wl}-berok'
17573 # Exported symbols can be pulled into shared objects from archives
17574 whole_archive_flag_spec_GCJ
='$convenience'
17575 archive_cmds_need_lc_GCJ
=yes
17576 # This is similar to how AIX traditionally builds its shared libraries.
17577 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'
17583 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)'
17584 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17585 hardcode_minus_L_GCJ
=yes
17586 # see comment about different semantics on the GNU ld section
17591 export_dynamic_flag_spec_GCJ
=-rdynamic
17594 cygwin
* | mingw
* | pw32
*)
17595 # When not using gcc, we currently assume that we are using
17596 # Microsoft Visual C++.
17597 # hardcode_libdir_flag_spec is actually meaningless, as there is
17598 # no search path for DLLs.
17599 hardcode_libdir_flag_spec_GCJ
=' '
17600 allow_undefined_flag_GCJ
=unsupported
17601 # Tell ltmain to make .lib files, not .a files.
17603 # Tell ltmain to make .dll files, not .so files.
17605 # FIXME: Setting linknames here is a bad hack.
17606 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17607 # The linker will automatically build a .lib file if we build a DLL.
17608 old_archive_From_new_cmds_GCJ
='true'
17609 # FIXME: Should let the user specify the lib program.
17610 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17611 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17612 enable_shared_with_static_runtimes_GCJ
=yes
17615 darwin
* | rhapsody
*)
17617 rhapsody
* | darwin1.
[012])
17618 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17621 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17622 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17624 case ${MACOSX_DEPLOYMENT_TARGET} in
17626 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17629 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17635 archive_cmds_need_lc_GCJ
=no
17636 hardcode_direct_GCJ
=no
17637 hardcode_automatic_GCJ
=yes
17638 hardcode_shlibpath_var_GCJ
=unsupported
17639 whole_archive_flag_spec_GCJ
=''
17640 link_all_deplibs_GCJ
=yes
17641 if test "$GCC" = yes ; then
17642 output_verbose_link_cmd
='echo'
17643 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17644 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17645 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17646 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}'
17647 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}'
17649 case $cc_basename in
17651 output_verbose_link_cmd
='echo'
17652 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17653 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17654 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17655 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}'
17656 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}'
17666 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17667 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17668 hardcode_shlibpath_var_GCJ
=no
17675 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17676 # support. Future versions do this automatically, but an explicit c++rt0.o
17677 # does not break anything, and helps significantly (at the cost of a little
17680 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17681 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17682 hardcode_direct_GCJ
=yes
17683 hardcode_shlibpath_var_GCJ
=no
17686 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17688 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17689 hardcode_direct_GCJ
=yes
17690 hardcode_minus_L_GCJ
=yes
17691 hardcode_shlibpath_var_GCJ
=no
17694 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17695 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17696 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17697 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17698 hardcode_direct_GCJ
=yes
17699 hardcode_shlibpath_var_GCJ
=no
17703 if test "$GCC" = yes; then
17704 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'
17706 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'
17708 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17709 hardcode_libdir_separator_GCJ
=:
17710 hardcode_direct_GCJ
=yes
17712 # hardcode_minus_L: Not really in the search PATH,
17713 # but as the default location of the library.
17714 hardcode_minus_L_GCJ
=yes
17715 export_dynamic_flag_spec_GCJ
='${wl}-E'
17719 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17720 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17722 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17724 if test "$with_gnu_ld" = no
; then
17725 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17726 hardcode_libdir_separator_GCJ
=:
17728 hardcode_direct_GCJ
=yes
17729 export_dynamic_flag_spec_GCJ
='${wl}-E'
17731 # hardcode_minus_L: Not really in the search PATH,
17732 # but as the default location of the library.
17733 hardcode_minus_L_GCJ
=yes
17738 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17741 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17744 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17747 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17753 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17756 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17759 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17763 if test "$with_gnu_ld" = no
; then
17764 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17765 hardcode_libdir_separator_GCJ
=:
17769 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17770 hardcode_direct_GCJ
=no
17771 hardcode_shlibpath_var_GCJ
=no
17774 hardcode_direct_GCJ
=yes
17775 export_dynamic_flag_spec_GCJ
='${wl}-E'
17777 # hardcode_minus_L: Not really in the search PATH,
17778 # but as the default location of the library.
17779 hardcode_minus_L_GCJ
=yes
17785 irix5
* | irix6
* | nonstopux
*)
17786 if test "$GCC" = yes; then
17787 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'
17789 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'
17790 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17792 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17793 hardcode_libdir_separator_GCJ
=:
17794 link_all_deplibs_GCJ
=yes
17798 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17799 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17801 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17803 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17804 hardcode_direct_GCJ
=yes
17805 hardcode_shlibpath_var_GCJ
=no
17809 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17810 hardcode_direct_GCJ
=yes
17811 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17812 hardcode_libdir_separator_GCJ
=:
17813 hardcode_shlibpath_var_GCJ
=no
17817 hardcode_direct_GCJ
=yes
17818 hardcode_shlibpath_var_GCJ
=no
17819 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17820 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17821 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17822 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17823 export_dynamic_flag_spec_GCJ
='${wl}-E'
17826 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17827 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17828 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17831 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17832 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17839 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17840 hardcode_minus_L_GCJ
=yes
17841 allow_undefined_flag_GCJ
=unsupported
17842 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'
17843 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17847 if test "$GCC" = yes; then
17848 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17849 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'
17851 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17852 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'
17854 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17855 hardcode_libdir_separator_GCJ
=:
17858 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17859 if test "$GCC" = yes; then
17860 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17861 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'
17862 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17864 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17865 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'
17866 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~
17867 $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'
17869 # Both c and cxx compiler support -rpath directly
17870 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17872 hardcode_libdir_separator_GCJ
=:
17876 no_undefined_flag_GCJ
=' -z text'
17877 if test "$GCC" = yes; then
17879 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17880 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17881 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17884 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17885 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17886 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17888 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17889 hardcode_shlibpath_var_GCJ
=no
17891 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17893 # The compiler driver will combine linker options so we
17894 # cannot just pass the convience library names through
17895 # without $wl, iff we do not link with $LD.
17896 # Luckily, gcc supports the same syntax we need for Sun Studio.
17897 # Supported since Solaris 2.6 (maybe 2.5.1?)
17900 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17902 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' ;;
17905 link_all_deplibs_GCJ
=yes
17909 if test "x$host_vendor" = xsequent
; then
17910 # Use $CC to link under sequent, because it throws in some extra .o
17911 # files that make .init and .fini sections work.
17912 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17914 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17916 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17917 hardcode_direct_GCJ
=yes
17918 hardcode_minus_L_GCJ
=yes
17919 hardcode_shlibpath_var_GCJ
=no
17923 case $host_vendor in
17925 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17926 hardcode_direct_GCJ
=yes # is this really true???
17929 ## LD is ld it makes a PLAMLIB
17930 ## CC just makes a GrossModule.
17931 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17932 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17933 hardcode_direct_GCJ
=no
17936 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17937 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17940 runpath_var
='LD_RUN_PATH'
17941 hardcode_shlibpath_var_GCJ
=no
17945 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17946 hardcode_shlibpath_var_GCJ
=no
17947 export_dynamic_flag_spec_GCJ
='-Bexport'
17951 if test -d /usr
/nec
; then
17952 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17953 hardcode_shlibpath_var_GCJ
=no
17954 runpath_var
=LD_RUN_PATH
17955 hardcode_runpath_var
=yes
17960 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17961 no_undefined_flag_GCJ
='${wl}-z,text'
17962 archive_cmds_need_lc_GCJ
=no
17963 hardcode_shlibpath_var_GCJ
=no
17964 runpath_var
='LD_RUN_PATH'
17966 if test "$GCC" = yes; then
17967 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17968 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17970 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17971 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17975 sysv5
* | sco3.2v5
* | sco5v6
*)
17976 # Note: We can NOT use -z defs as we might desire, because we do not
17977 # link with -lc, and that would cause any symbols used from libc to
17978 # always be unresolved, which means just about no library would
17979 # ever link correctly. If we're not using GNU ld we use -z text
17980 # though, which does catch some bad symbols but isn't as heavy-handed
17982 no_undefined_flag_GCJ
='${wl}-z,text'
17983 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17984 archive_cmds_need_lc_GCJ
=no
17985 hardcode_shlibpath_var_GCJ
=no
17986 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17987 hardcode_libdir_separator_GCJ
=':'
17988 link_all_deplibs_GCJ
=yes
17989 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17990 runpath_var
='LD_RUN_PATH'
17992 if test "$GCC" = yes; then
17993 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17994 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17996 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17997 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18002 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18003 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18004 hardcode_shlibpath_var_GCJ
=no
18013 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18014 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18015 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18018 # Do we need to explicitly link libc?
18020 case "x$archive_cmds_need_lc_GCJ" in
18022 # Assume -lc should be added
18023 archive_cmds_need_lc_GCJ
=yes
18025 if test "$enable_shared" = yes && test "$GCC" = yes; then
18026 case $archive_cmds_GCJ in
18028 # FIXME: we may have to deal with multi-command sequences.
18031 # Test whether the compiler implicitly links with -lc since on some
18032 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18033 # to ld, don't add -lc before -lgcc.
18034 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18035 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18037 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18040 (eval $ac_compile) 2>&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } 2>conftest.err
; then
18046 libobjs
=conftest.
$ac_objext
18048 wl
=$lt_prog_compiler_wl_GCJ
18049 pic_flag
=$lt_prog_compiler_pic_GCJ
18055 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18056 allow_undefined_flag_GCJ
=
18057 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18058 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); }
18063 archive_cmds_need_lc_GCJ
=no
18065 archive_cmds_need_lc_GCJ
=yes
18067 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18069 cat conftest.err
1>&5
18072 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18073 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18080 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18081 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18082 library_names_spec
=
18083 libname_spec
='lib$name'
18087 postuninstall_cmds
=
18091 shlibpath_overrides_runpath
=unknown
18093 dynamic_linker
="$host_os ld.so"
18094 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18095 if test "$GCC" = yes; then
18096 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18097 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
18098 # if the path contains ";" then we assume it to be the separator
18099 # otherwise default to the standard path separator (i.e. ":") - it is
18100 # assumed that no part of a normal pathname contains ";" but that should
18101 # okay in the real world where ";" in dirpaths is itself problematic.
18102 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18104 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18107 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18109 need_lib_prefix
=unknown
18110 hardcode_into_libs
=no
18112 # when you set need_version to no, make sure it does not cause -set_version
18113 # flags to be left without arguments
18114 need_version
=unknown
18119 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18120 shlibpath_var
=LIBPATH
18122 # AIX 3 has no versioning support, so we append a major version to the name.
18123 soname_spec
='${libname}${release}${shared_ext}$major'
18130 hardcode_into_libs
=yes
18131 if test "$host_cpu" = ia64
; then
18132 # AIX 5 supports IA64
18133 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18134 shlibpath_var
=LD_LIBRARY_PATH
18136 # With GCC up to 2.95.x, collect2 would create an import file
18137 # for dependence libraries. The import file would start with
18138 # the line `#! .'. This would cause the generated library to
18139 # depend on `.', always an invalid library. This was fixed in
18140 # development snapshots of GCC prior to 3.0.
18142 aix4 | aix4.
[01] | aix4.
[01].
*)
18143 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18145 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18148 can_build_shared
=no
18152 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18153 # soname into executable. Probably we can add versioning support to
18154 # collect2, so additional links can be useful in future.
18155 if test "$aix_use_runtimelinking" = yes; then
18156 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18157 # instead of lib<name>.a to let people know that these are not
18158 # typical AIX shared libraries.
18159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18161 # We preserve .a as extension for shared libraries through AIX4.2
18162 # and later when we are not doing run time linking.
18163 library_names_spec
='${libname}${release}.a $libname.a'
18164 soname_spec
='${libname}${release}${shared_ext}$major'
18166 shlibpath_var
=LIBPATH
18171 library_names_spec
='$libname.ixlibrary $libname.a'
18172 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18173 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'
18177 library_names_spec
='${libname}${shared_ext}'
18178 dynamic_linker
="$host_os ld.so"
18179 shlibpath_var
=LIBRARY_PATH
18185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18186 soname_spec
='${libname}${release}${shared_ext}$major'
18187 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18188 shlibpath_var
=LD_LIBRARY_PATH
18189 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18190 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18191 # the default ld.so.conf also contains /usr/contrib/lib and
18192 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18193 # libtool to hard-code these into programs
18196 cygwin
* | mingw
* | pw32
*)
18197 version_type
=windows
18202 case $GCC,$host_os in
18203 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18204 library_names_spec
='$libname.dll.a'
18205 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18206 postinstall_cmds
='base_file=`basename \${file}`~
18207 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18208 dldir=$destdir/`dirname \$dlpath`~
18209 test -d \$dldir || mkdir -p \$dldir~
18210 $install_prog $dir/$dlname \$dldir/$dlname~
18211 chmod a+x \$dldir/$dlname'
18212 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18213 dlpath=$dir/\$dldll~
18215 shlibpath_overrides_runpath
=yes
18219 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18220 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18221 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18224 # MinGW DLLs use traditional 'lib' prefix
18225 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18226 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18227 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18228 # It is most probably a Windows format PATH printed by
18229 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18230 # path with ; separators, and with drive letters. We can handle the
18231 # drive letters (cygwin fileutils understands them), so leave them,
18232 # especially as we might pass files found there to a mingw objdump,
18233 # which wouldn't understand a cygwinified path. Ahh.
18234 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18236 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18240 # pw32 DLLs use 'pw' prefix rather than 'lib'
18241 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18247 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18250 dynamic_linker
='Win32 ld.exe'
18251 # FIXME: first we should search . and the directory the executable is in
18255 darwin
* | rhapsody
*)
18256 dynamic_linker
="$host_os dyld"
18257 version_type
=darwin
18260 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18261 soname_spec
='${libname}${release}${major}$shared_ext'
18262 shlibpath_overrides_runpath
=yes
18263 shlibpath_var
=DYLD_LIBRARY_PATH
18264 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18265 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18266 if test "$GCC" = yes; then
18267 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"`
18269 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18271 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18279 soname_spec
='${libname}${release}${shared_ext}$major'
18280 shlibpath_var
=LD_LIBRARY_PATH
18291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18292 soname_spec
='${libname}${release}${shared_ext}$major'
18293 shlibpath_var
=LD_LIBRARY_PATH
18294 shlibpath_overrides_runpath
=no
18295 hardcode_into_libs
=yes
18296 dynamic_linker
='GNU ld.so'
18299 freebsd
* | dragonfly
*)
18300 # DragonFly does not have aout. When/if they implement a new
18301 # versioning mechanism, adjust this.
18302 if test -x /usr
/bin
/objformat
; then
18303 objformat
=`/usr/bin/objformat`
18306 freebsd
[123]*) objformat
=aout
;;
18307 *) objformat
=elf
;;
18310 version_type
=freebsd-
$objformat
18311 case $version_type in
18313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18318 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18322 shlibpath_var
=LD_LIBRARY_PATH
18325 shlibpath_overrides_runpath
=yes
18327 freebsd3.
[01]* | freebsdelf3.
[01]*)
18328 shlibpath_overrides_runpath
=yes
18329 hardcode_into_libs
=yes
18331 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18332 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18333 shlibpath_overrides_runpath
=no
18334 hardcode_into_libs
=yes
18336 freebsd
*) # from 4.6 on
18337 shlibpath_overrides_runpath
=yes
18338 hardcode_into_libs
=yes
18347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18348 soname_spec
='${libname}${release}${shared_ext}$major'
18349 shlibpath_var
=LD_LIBRARY_PATH
18350 hardcode_into_libs
=yes
18353 hpux9
* | hpux10
* | hpux11
*)
18354 # Give a soname corresponding to the major version so that dld.sl refuses to
18355 # link against other versions.
18362 hardcode_into_libs
=yes
18363 dynamic_linker
="$host_os dld.so"
18364 shlibpath_var
=LD_LIBRARY_PATH
18365 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18367 soname_spec
='${libname}${release}${shared_ext}$major'
18368 if test "X$HPUX_IA64_MODE" = X32
; then
18369 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18371 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18373 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18377 hardcode_into_libs
=yes
18378 dynamic_linker
="$host_os dld.sl"
18379 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18380 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18382 soname_spec
='${libname}${release}${shared_ext}$major'
18383 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18384 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18388 dynamic_linker
="$host_os dld.sl"
18389 shlibpath_var
=SHLIB_PATH
18390 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18392 soname_spec
='${libname}${release}${shared_ext}$major'
18395 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18396 postinstall_cmds
='chmod 555 $lib'
18403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18404 soname_spec
='${libname}${release}${shared_ext}$major'
18405 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18406 shlibpath_var
=LD_LIBRARY_PATH
18407 shlibpath_overrides_runpath
=no
18408 hardcode_into_libs
=yes
18411 irix5
* | irix6
* | nonstopux
*)
18413 nonstopux
*) version_type
=nonstopux
;;
18415 if test "$lt_cv_prog_gnu_ld" = yes; then
18423 soname_spec
='${libname}${release}${shared_ext}$major'
18424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18426 irix5
* | nonstopux
*)
18427 libsuff
= shlibsuff
=
18430 case $LD in # libtool.m4 will add one of these switches to LD
18431 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18432 libsuff
= shlibsuff
= libmagic
=32-bit;;
18433 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18434 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18435 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18436 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18437 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18441 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18442 shlibpath_overrides_runpath
=no
18443 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18444 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18445 hardcode_into_libs
=yes
18448 # No shared lib support for Linux oldld, aout, or coff.
18449 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18453 # This must be Linux ELF.
18458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18459 soname_spec
='${libname}${release}${shared_ext}$major'
18460 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18461 shlibpath_var
=LD_LIBRARY_PATH
18462 shlibpath_overrides_runpath
=no
18463 # This implies no fast_install, which is unacceptable.
18464 # Some rework will be needed to allow for fast_install
18465 # before this can be enabled.
18466 hardcode_into_libs
=yes
18468 # Append ld.so.conf contents to the search path
18469 if test -f /etc
/ld.so.conf
; then
18470 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' ' '`
18471 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18474 # We used to test for /lib/ld.so.1 and disable shared libraries on
18475 # powerpc, because MkLinux only supported shared libraries with the
18476 # GNU dynamic linker. Since this was broken with cross compilers,
18477 # most powerpc-linux boxes support dynamic linking these days and
18478 # people can always --disable-shared, the test was removed, and we
18479 # assume the GNU/Linux dynamic linker is in use.
18480 dynamic_linker
='GNU/Linux ld.so'
18487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18488 soname_spec
='${libname}${release}${shared_ext}$major'
18489 shlibpath_var
=LD_LIBRARY_PATH
18490 shlibpath_overrides_runpath
=no
18491 hardcode_into_libs
=yes
18492 dynamic_linker
='GNU ld.so'
18499 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18501 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18502 dynamic_linker
='NetBSD (a.out) ld.so'
18504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18505 soname_spec
='${libname}${release}${shared_ext}$major'
18506 dynamic_linker
='NetBSD ld.elf_so'
18508 shlibpath_var
=LD_LIBRARY_PATH
18509 shlibpath_overrides_runpath
=yes
18510 hardcode_into_libs
=yes
18515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18516 shlibpath_var
=LD_LIBRARY_PATH
18517 shlibpath_overrides_runpath
=yes
18524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18525 soname_spec
='${libname}${release}${shared_ext}$major'
18526 shlibpath_var
=LD_LIBRARY_PATH
18527 shlibpath_overrides_runpath
=yes
18532 sys_lib_dlsearch_path_spec
="/usr/lib"
18534 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18536 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18537 *) need_version
=no
;;
18539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18540 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18541 shlibpath_var
=LD_LIBRARY_PATH
18542 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18544 openbsd2.
[89] | openbsd2.
[89].
*)
18545 shlibpath_overrides_runpath
=no
18548 shlibpath_overrides_runpath
=yes
18552 shlibpath_overrides_runpath
=yes
18557 libname_spec
='$name'
18560 library_names_spec
='$libname${shared_ext} $libname.a'
18561 dynamic_linker
='OS/2 ld.exe'
18562 shlibpath_var
=LIBPATH
18565 osf3
* | osf4
* | osf5
*)
18569 soname_spec
='${libname}${release}${shared_ext}$major'
18570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18571 shlibpath_var
=LD_LIBRARY_PATH
18572 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18573 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18581 soname_spec
='${libname}${release}${shared_ext}$major'
18582 shlibpath_var
=LD_LIBRARY_PATH
18583 shlibpath_overrides_runpath
=yes
18584 hardcode_into_libs
=yes
18585 # ldd complains unless libraries are executable
18586 postinstall_cmds
='chmod +x $lib'
18591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18592 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18593 shlibpath_var
=LD_LIBRARY_PATH
18594 shlibpath_overrides_runpath
=yes
18595 if test "$with_gnu_ld" = yes; then
18603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18604 soname_spec
='${libname}${release}${shared_ext}$major'
18605 shlibpath_var
=LD_LIBRARY_PATH
18606 case $host_vendor in
18608 shlibpath_overrides_runpath
=no
18610 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18611 runpath_var
=LD_RUN_PATH
18619 shlibpath_overrides_runpath
=no
18620 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18626 if test -d /usr
/nec
;then
18628 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18629 soname_spec
='$libname${shared_ext}.$major'
18630 shlibpath_var
=LD_LIBRARY_PATH
18634 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18635 version_type
=freebsd-elf
18638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18639 soname_spec
='${libname}${release}${shared_ext}$major'
18640 shlibpath_var
=LD_LIBRARY_PATH
18641 hardcode_into_libs
=yes
18642 if test "$with_gnu_ld" = yes; then
18643 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18644 shlibpath_overrides_runpath
=no
18646 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18647 shlibpath_overrides_runpath
=yes
18650 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18654 sys_lib_dlsearch_path_spec
='/usr/lib'
18659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18660 soname_spec
='${libname}${release}${shared_ext}$major'
18661 shlibpath_var
=LD_LIBRARY_PATH
18668 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18669 echo "${ECHO_T}$dynamic_linker" >&6; }
18670 test "$dynamic_linker" = no
&& can_build_shared
=no
18672 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18673 if test "$GCC" = yes; then
18674 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18677 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18678 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18679 hardcode_action_GCJ
=
18680 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18681 test -n "$runpath_var_GCJ" || \
18682 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18684 # We can hardcode non-existant directories.
18685 if test "$hardcode_direct_GCJ" != no
&&
18686 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18687 # have to relink, otherwise we might link with an installed library
18688 # when we should be linking with a yet-to-be-installed one
18689 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18690 test "$hardcode_minus_L_GCJ" != no
; then
18691 # Linking always hardcodes the temporary library directory.
18692 hardcode_action_GCJ
=relink
18694 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18695 hardcode_action_GCJ
=immediate
18698 # We cannot hardcode anything, or else we can only hardcode existing
18700 hardcode_action_GCJ
=unsupported
18702 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18703 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18705 if test "$hardcode_action_GCJ" = relink
; then
18706 # Fast installation is not supported
18707 enable_fast_install
=no
18708 elif test "$shlibpath_overrides_runpath" = yes ||
18709 test "$enable_shared" = no
; then
18710 # Fast installation is not necessary
18711 enable_fast_install
=needless
18715 # The else clause should only fire when bootstrapping the
18716 # libtool distribution, otherwise you forgot to ship ltmain.sh
18717 # with your package, and you will get complaints that there are
18718 # no rules to generate ltmain.sh.
18719 if test -f "$ltmain"; then
18720 # See if we are running on zsh, and set the options which allow our commands through
18721 # without removal of \ escapes.
18722 if test -n "${ZSH_VERSION+set}" ; then
18723 setopt NO_GLOB_SUBST
18725 # Now quote all the things that may contain metacharacters while being
18726 # careful not to overquote the AC_SUBSTed values. We take copies of the
18727 # variables and quote the copies for generation of the libtool script.
18728 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18730 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18731 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18732 deplibs_check_method reload_flag reload_cmds need_locks \
18733 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18734 lt_cv_sys_global_symbol_to_c_name_address \
18735 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18736 old_postinstall_cmds old_postuninstall_cmds \
18740 lt_prog_compiler_wl_GCJ \
18741 lt_prog_compiler_pic_GCJ \
18742 lt_prog_compiler_static_GCJ \
18743 lt_prog_compiler_no_builtin_flag_GCJ \
18744 export_dynamic_flag_spec_GCJ \
18745 thread_safe_flag_spec_GCJ \
18746 whole_archive_flag_spec_GCJ \
18747 enable_shared_with_static_runtimes_GCJ \
18748 old_archive_cmds_GCJ \
18749 old_archive_from_new_cmds_GCJ \
18750 predep_objects_GCJ \
18751 postdep_objects_GCJ \
18754 compiler_lib_search_path_GCJ \
18756 archive_expsym_cmds_GCJ \
18757 postinstall_cmds_GCJ \
18758 postuninstall_cmds_GCJ \
18759 old_archive_from_expsyms_cmds_GCJ \
18760 allow_undefined_flag_GCJ \
18761 no_undefined_flag_GCJ \
18762 export_symbols_cmds_GCJ \
18763 hardcode_libdir_flag_spec_GCJ \
18764 hardcode_libdir_flag_spec_ld_GCJ \
18765 hardcode_libdir_separator_GCJ \
18766 hardcode_automatic_GCJ \
18768 module_expsym_cmds_GCJ \
18769 lt_cv_prog_compiler_c_o_GCJ \
18770 exclude_expsyms_GCJ \
18771 include_expsyms_GCJ
; do
18774 old_archive_cmds_GCJ | \
18775 old_archive_from_new_cmds_GCJ | \
18776 archive_cmds_GCJ | \
18777 archive_expsym_cmds_GCJ | \
18778 module_cmds_GCJ | \
18779 module_expsym_cmds_GCJ | \
18780 old_archive_from_expsyms_cmds_GCJ | \
18781 export_symbols_cmds_GCJ | \
18782 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18783 postinstall_cmds | postuninstall_cmds | \
18784 old_postinstall_cmds | old_postuninstall_cmds | \
18785 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18786 # Double-quote double-evaled strings.
18787 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18790 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18796 *'\$0 --fallback-echo"')
18797 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18803 cat <<__EOF__ >> "$cfgfile"
18804 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18806 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18808 # Shell to use when invoking shell scripts.
18811 # Whether or not to build shared libraries.
18812 build_libtool_libs=$enable_shared
18814 # Whether or not to build static libraries.
18815 build_old_libs=$enable_static
18817 # Whether or not to add -lc for building shared libraries.
18818 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18820 # Whether or not to disallow shared libs when runtime libs are static
18821 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18823 # Whether or not to optimize for fast installation.
18824 fast_install=$enable_fast_install
18827 host_alias=$host_alias
18831 # The build system.
18832 build_alias=$build_alias
18836 # An echo program that does not interpret backslashes.
18841 AR_FLAGS=$lt_AR_FLAGS
18846 # LTCC compiler flags.
18847 LTCFLAGS=$lt_LTCFLAGS
18849 # A language-specific compiler.
18850 CC=$lt_compiler_GCJ
18852 # Is the compiler the GNU C compiler?
18858 # The linker used to build libraries.
18861 # Whether we need hard or soft links.
18864 # A BSD-compatible nm program.
18867 # A symbol stripping program
18870 # Used to examine libraries when file_magic_cmd begins "file"
18871 MAGIC_CMD=$MAGIC_CMD
18873 # Used on cygwin: DLL creation program.
18876 # Used on cygwin: object dumper.
18879 # Used on cygwin: assembler.
18882 # The name of the directory that contains temporary libtool files.
18885 # How to create reloadable object files.
18886 reload_flag=$lt_reload_flag
18887 reload_cmds=$lt_reload_cmds
18889 # How to pass a linker flag through the compiler.
18890 wl=$lt_lt_prog_compiler_wl_GCJ
18892 # Object file suffix (normally "o").
18893 objext="$ac_objext"
18895 # Old archive suffix (normally "a").
18898 # Shared library suffix (normally ".so").
18899 shrext_cmds='$shrext_cmds'
18901 # Executable file suffix (normally "").
18904 # Additional compiler flags for building library objects.
18905 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18908 # What is the maximum length of a command?
18909 max_cmd_len=$lt_cv_sys_max_cmd_len
18911 # Does compiler simultaneously support -c and -o options?
18912 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18914 # Must we lock files when doing compilation?
18915 need_locks=$lt_need_locks
18917 # Do we need the lib prefix for modules?
18918 need_lib_prefix=$need_lib_prefix
18920 # Do we need a version for libraries?
18921 need_version=$need_version
18923 # Whether dlopen is supported.
18924 dlopen_support=$enable_dlopen
18926 # Whether dlopen of programs is supported.
18927 dlopen_self=$enable_dlopen_self
18929 # Whether dlopen of statically linked programs is supported.
18930 dlopen_self_static=$enable_dlopen_self_static
18932 # Compiler flag to prevent dynamic linking.
18933 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18935 # Compiler flag to turn off builtin functions.
18936 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18938 # Compiler flag to allow reflexive dlopens.
18939 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18941 # Compiler flag to generate shared objects directly from archives.
18942 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18944 # Compiler flag to generate thread-safe objects.
18945 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18947 # Library versioning type.
18948 version_type=$version_type
18950 # Format of library name prefix.
18951 libname_spec=$lt_libname_spec
18953 # List of archive names. First name is the real one, the rest are links.
18954 # The last name is the one that the linker finds with -lNAME.
18955 library_names_spec=$lt_library_names_spec
18957 # The coded name of the library, if different from the real name.
18958 soname_spec=$lt_soname_spec
18960 # Commands used to build and install an old-style archive.
18962 old_archive_cmds=$lt_old_archive_cmds_GCJ
18963 old_postinstall_cmds=$lt_old_postinstall_cmds
18964 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18966 # Create an old-style archive from a shared archive.
18967 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18969 # Create a temporary old-style archive to link instead of a shared archive.
18970 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18972 # Commands used to build and install a shared archive.
18973 archive_cmds=$lt_archive_cmds_GCJ
18974 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18975 postinstall_cmds=$lt_postinstall_cmds
18976 postuninstall_cmds=$lt_postuninstall_cmds
18978 # Commands used to build a loadable module (assumed same as above if empty)
18979 module_cmds=$lt_module_cmds_GCJ
18980 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18982 # Commands to strip libraries.
18983 old_striplib=$lt_old_striplib
18984 striplib=$lt_striplib
18986 # Dependencies to place before the objects being linked to create a
18988 predep_objects=$lt_predep_objects_GCJ
18990 # Dependencies to place after the objects being linked to create a
18992 postdep_objects=$lt_postdep_objects_GCJ
18994 # Dependencies to place before the objects being linked to create a
18996 predeps=$lt_predeps_GCJ
18998 # Dependencies to place after the objects being linked to create a
19000 postdeps=$lt_postdeps_GCJ
19002 # The library search path used internally by the compiler when linking
19003 # a shared library.
19004 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19006 # Method to check whether dependent libraries are shared objects.
19007 deplibs_check_method=$lt_deplibs_check_method
19009 # Command to use when deplibs_check_method == file_magic.
19010 file_magic_cmd=$lt_file_magic_cmd
19012 # Flag that allows shared libraries with undefined symbols to be built.
19013 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19015 # Flag that forces no undefined symbols.
19016 no_undefined_flag=$lt_no_undefined_flag_GCJ
19018 # Commands used to finish a libtool library installation in a directory.
19019 finish_cmds=$lt_finish_cmds
19021 # Same as above, but a single script fragment to be evaled but not shown.
19022 finish_eval=$lt_finish_eval
19024 # Take the output of nm and produce a listing of raw symbols and C names.
19025 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19027 # Transform the output of nm in a proper C declaration
19028 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19030 # Transform the output of nm in a C name address pair
19031 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19033 # This is the shared library runtime path variable.
19034 runpath_var=$runpath_var
19036 # This is the shared library path variable.
19037 shlibpath_var=$shlibpath_var
19039 # Is shlibpath searched before the hard-coded library search path?
19040 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19042 # How to hardcode a shared library path into an executable.
19043 hardcode_action=$hardcode_action_GCJ
19045 # Whether we should hardcode library paths into libraries.
19046 hardcode_into_libs=$hardcode_into_libs
19048 # Flag to hardcode \$libdir into a binary during linking.
19049 # This must work even if \$libdir does not exist.
19050 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19052 # If ld is used when linking, flag to hardcode \$libdir into
19053 # a binary during linking. This must work even if \$libdir does
19055 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19057 # Whether we need a single -rpath flag with a separated argument.
19058 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19060 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19061 # resulting binary.
19062 hardcode_direct=$hardcode_direct_GCJ
19064 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19065 # resulting binary.
19066 hardcode_minus_L=$hardcode_minus_L_GCJ
19068 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19069 # the resulting binary.
19070 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19072 # Set to yes if building a shared library automatically hardcodes DIR into the library
19073 # and all subsequent libraries and executables linked against it.
19074 hardcode_automatic=$hardcode_automatic_GCJ
19076 # Variables whose values should be saved in libtool wrapper scripts and
19077 # restored at relink time.
19078 variables_saved_for_relink="$variables_saved_for_relink"
19080 # Whether libtool must link a program against all its dependency libraries.
19081 link_all_deplibs=$link_all_deplibs_GCJ
19083 # Compile-time system search path for libraries
19084 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19086 # Run-time system search path for libraries
19087 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19089 # Fix the shell variable \$srcfile for the compiler.
19090 fix_srcfile_path="$fix_srcfile_path_GCJ"
19092 # Set to yes if exported symbols are required.
19093 always_export_symbols=$always_export_symbols_GCJ
19095 # The commands to list exported symbols.
19096 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19098 # The commands to extract the exported symbol list from a shared archive.
19099 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19101 # Symbols that should not be listed in the preloaded symbols.
19102 exclude_expsyms=$lt_exclude_expsyms_GCJ
19104 # Symbols that must always be exported.
19105 include_expsyms=$lt_include_expsyms_GCJ
19107 # ### END LIBTOOL TAG CONFIG: $tagname
19113 # If there is no Makefile yet, we rely on a make rule to execute
19114 # `config.status --recheck' to rerun these tests and create the
19115 # libtool script then.
19116 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19117 if test -f "$ltmain_in"; then
19118 test -f Makefile
&& make "$ltmain"
19124 ac_cpp
='$CXXCPP $CPPFLAGS'
19125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19139 # Source file extension for RC test sources.
19142 # Object file extension for compiled RC test sources.
19146 # Code to be used in simple compile tests
19147 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19149 # Code to be used in simple link tests
19150 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19152 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19154 # If no C compiler was specified, use CC.
19157 # If no C compiler flags were specified, use CFLAGS.
19158 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19160 # Allow CC to be a program name with arguments.
19164 # save warnings/boilerplate of simple test code
19165 ac_outfile
=conftest.
$ac_objext
19166 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19167 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19168 _lt_compiler_boilerplate
=`cat conftest.err`
19171 ac_outfile
=conftest.
$ac_objext
19172 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19173 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19174 _lt_linker_boilerplate
=`cat conftest.err`
19178 # Allow CC to be a program name with arguments.
19183 for cc_temp
in $compiler""; do
19185 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19186 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19191 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19193 lt_cv_prog_compiler_c_o_RC
=yes
19195 # The else clause should only fire when bootstrapping the
19196 # libtool distribution, otherwise you forgot to ship ltmain.sh
19197 # with your package, and you will get complaints that there are
19198 # no rules to generate ltmain.sh.
19199 if test -f "$ltmain"; then
19200 # See if we are running on zsh, and set the options which allow our commands through
19201 # without removal of \ escapes.
19202 if test -n "${ZSH_VERSION+set}" ; then
19203 setopt NO_GLOB_SUBST
19205 # Now quote all the things that may contain metacharacters while being
19206 # careful not to overquote the AC_SUBSTed values. We take copies of the
19207 # variables and quote the copies for generation of the libtool script.
19208 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19210 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19211 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19212 deplibs_check_method reload_flag reload_cmds need_locks \
19213 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19214 lt_cv_sys_global_symbol_to_c_name_address \
19215 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19216 old_postinstall_cmds old_postuninstall_cmds \
19220 lt_prog_compiler_wl_RC \
19221 lt_prog_compiler_pic_RC \
19222 lt_prog_compiler_static_RC \
19223 lt_prog_compiler_no_builtin_flag_RC \
19224 export_dynamic_flag_spec_RC \
19225 thread_safe_flag_spec_RC \
19226 whole_archive_flag_spec_RC \
19227 enable_shared_with_static_runtimes_RC \
19228 old_archive_cmds_RC \
19229 old_archive_from_new_cmds_RC \
19230 predep_objects_RC \
19231 postdep_objects_RC \
19234 compiler_lib_search_path_RC \
19236 archive_expsym_cmds_RC \
19237 postinstall_cmds_RC \
19238 postuninstall_cmds_RC \
19239 old_archive_from_expsyms_cmds_RC \
19240 allow_undefined_flag_RC \
19241 no_undefined_flag_RC \
19242 export_symbols_cmds_RC \
19243 hardcode_libdir_flag_spec_RC \
19244 hardcode_libdir_flag_spec_ld_RC \
19245 hardcode_libdir_separator_RC \
19246 hardcode_automatic_RC \
19248 module_expsym_cmds_RC \
19249 lt_cv_prog_compiler_c_o_RC \
19250 exclude_expsyms_RC \
19251 include_expsyms_RC
; do
19254 old_archive_cmds_RC | \
19255 old_archive_from_new_cmds_RC | \
19256 archive_cmds_RC | \
19257 archive_expsym_cmds_RC | \
19259 module_expsym_cmds_RC | \
19260 old_archive_from_expsyms_cmds_RC | \
19261 export_symbols_cmds_RC | \
19262 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19263 postinstall_cmds | postuninstall_cmds | \
19264 old_postinstall_cmds | old_postuninstall_cmds | \
19265 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19266 # Double-quote double-evaled strings.
19267 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19270 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19276 *'\$0 --fallback-echo"')
19277 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19283 cat <<__EOF__ >> "$cfgfile"
19284 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19286 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19288 # Shell to use when invoking shell scripts.
19291 # Whether or not to build shared libraries.
19292 build_libtool_libs=$enable_shared
19294 # Whether or not to build static libraries.
19295 build_old_libs=$enable_static
19297 # Whether or not to add -lc for building shared libraries.
19298 build_libtool_need_lc=$archive_cmds_need_lc_RC
19300 # Whether or not to disallow shared libs when runtime libs are static
19301 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19303 # Whether or not to optimize for fast installation.
19304 fast_install=$enable_fast_install
19307 host_alias=$host_alias
19311 # The build system.
19312 build_alias=$build_alias
19316 # An echo program that does not interpret backslashes.
19321 AR_FLAGS=$lt_AR_FLAGS
19326 # LTCC compiler flags.
19327 LTCFLAGS=$lt_LTCFLAGS
19329 # A language-specific compiler.
19332 # Is the compiler the GNU C compiler?
19338 # The linker used to build libraries.
19341 # Whether we need hard or soft links.
19344 # A BSD-compatible nm program.
19347 # A symbol stripping program
19350 # Used to examine libraries when file_magic_cmd begins "file"
19351 MAGIC_CMD=$MAGIC_CMD
19353 # Used on cygwin: DLL creation program.
19356 # Used on cygwin: object dumper.
19359 # Used on cygwin: assembler.
19362 # The name of the directory that contains temporary libtool files.
19365 # How to create reloadable object files.
19366 reload_flag=$lt_reload_flag
19367 reload_cmds=$lt_reload_cmds
19369 # How to pass a linker flag through the compiler.
19370 wl=$lt_lt_prog_compiler_wl_RC
19372 # Object file suffix (normally "o").
19373 objext="$ac_objext"
19375 # Old archive suffix (normally "a").
19378 # Shared library suffix (normally ".so").
19379 shrext_cmds='$shrext_cmds'
19381 # Executable file suffix (normally "").
19384 # Additional compiler flags for building library objects.
19385 pic_flag=$lt_lt_prog_compiler_pic_RC
19388 # What is the maximum length of a command?
19389 max_cmd_len=$lt_cv_sys_max_cmd_len
19391 # Does compiler simultaneously support -c and -o options?
19392 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19394 # Must we lock files when doing compilation?
19395 need_locks=$lt_need_locks
19397 # Do we need the lib prefix for modules?
19398 need_lib_prefix=$need_lib_prefix
19400 # Do we need a version for libraries?
19401 need_version=$need_version
19403 # Whether dlopen is supported.
19404 dlopen_support=$enable_dlopen
19406 # Whether dlopen of programs is supported.
19407 dlopen_self=$enable_dlopen_self
19409 # Whether dlopen of statically linked programs is supported.
19410 dlopen_self_static=$enable_dlopen_self_static
19412 # Compiler flag to prevent dynamic linking.
19413 link_static_flag=$lt_lt_prog_compiler_static_RC
19415 # Compiler flag to turn off builtin functions.
19416 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19418 # Compiler flag to allow reflexive dlopens.
19419 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19421 # Compiler flag to generate shared objects directly from archives.
19422 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19424 # Compiler flag to generate thread-safe objects.
19425 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19427 # Library versioning type.
19428 version_type=$version_type
19430 # Format of library name prefix.
19431 libname_spec=$lt_libname_spec
19433 # List of archive names. First name is the real one, the rest are links.
19434 # The last name is the one that the linker finds with -lNAME.
19435 library_names_spec=$lt_library_names_spec
19437 # The coded name of the library, if different from the real name.
19438 soname_spec=$lt_soname_spec
19440 # Commands used to build and install an old-style archive.
19442 old_archive_cmds=$lt_old_archive_cmds_RC
19443 old_postinstall_cmds=$lt_old_postinstall_cmds
19444 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19446 # Create an old-style archive from a shared archive.
19447 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19449 # Create a temporary old-style archive to link instead of a shared archive.
19450 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19452 # Commands used to build and install a shared archive.
19453 archive_cmds=$lt_archive_cmds_RC
19454 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19455 postinstall_cmds=$lt_postinstall_cmds
19456 postuninstall_cmds=$lt_postuninstall_cmds
19458 # Commands used to build a loadable module (assumed same as above if empty)
19459 module_cmds=$lt_module_cmds_RC
19460 module_expsym_cmds=$lt_module_expsym_cmds_RC
19462 # Commands to strip libraries.
19463 old_striplib=$lt_old_striplib
19464 striplib=$lt_striplib
19466 # Dependencies to place before the objects being linked to create a
19468 predep_objects=$lt_predep_objects_RC
19470 # Dependencies to place after the objects being linked to create a
19472 postdep_objects=$lt_postdep_objects_RC
19474 # Dependencies to place before the objects being linked to create a
19476 predeps=$lt_predeps_RC
19478 # Dependencies to place after the objects being linked to create a
19480 postdeps=$lt_postdeps_RC
19482 # The library search path used internally by the compiler when linking
19483 # a shared library.
19484 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19486 # Method to check whether dependent libraries are shared objects.
19487 deplibs_check_method=$lt_deplibs_check_method
19489 # Command to use when deplibs_check_method == file_magic.
19490 file_magic_cmd=$lt_file_magic_cmd
19492 # Flag that allows shared libraries with undefined symbols to be built.
19493 allow_undefined_flag=$lt_allow_undefined_flag_RC
19495 # Flag that forces no undefined symbols.
19496 no_undefined_flag=$lt_no_undefined_flag_RC
19498 # Commands used to finish a libtool library installation in a directory.
19499 finish_cmds=$lt_finish_cmds
19501 # Same as above, but a single script fragment to be evaled but not shown.
19502 finish_eval=$lt_finish_eval
19504 # Take the output of nm and produce a listing of raw symbols and C names.
19505 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19507 # Transform the output of nm in a proper C declaration
19508 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19510 # Transform the output of nm in a C name address pair
19511 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19513 # This is the shared library runtime path variable.
19514 runpath_var=$runpath_var
19516 # This is the shared library path variable.
19517 shlibpath_var=$shlibpath_var
19519 # Is shlibpath searched before the hard-coded library search path?
19520 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19522 # How to hardcode a shared library path into an executable.
19523 hardcode_action=$hardcode_action_RC
19525 # Whether we should hardcode library paths into libraries.
19526 hardcode_into_libs=$hardcode_into_libs
19528 # Flag to hardcode \$libdir into a binary during linking.
19529 # This must work even if \$libdir does not exist.
19530 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19532 # If ld is used when linking, flag to hardcode \$libdir into
19533 # a binary during linking. This must work even if \$libdir does
19535 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19537 # Whether we need a single -rpath flag with a separated argument.
19538 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19540 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19541 # resulting binary.
19542 hardcode_direct=$hardcode_direct_RC
19544 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19545 # resulting binary.
19546 hardcode_minus_L=$hardcode_minus_L_RC
19548 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19549 # the resulting binary.
19550 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19552 # Set to yes if building a shared library automatically hardcodes DIR into the library
19553 # and all subsequent libraries and executables linked against it.
19554 hardcode_automatic=$hardcode_automatic_RC
19556 # Variables whose values should be saved in libtool wrapper scripts and
19557 # restored at relink time.
19558 variables_saved_for_relink="$variables_saved_for_relink"
19560 # Whether libtool must link a program against all its dependency libraries.
19561 link_all_deplibs=$link_all_deplibs_RC
19563 # Compile-time system search path for libraries
19564 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19566 # Run-time system search path for libraries
19567 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19569 # Fix the shell variable \$srcfile for the compiler.
19570 fix_srcfile_path="$fix_srcfile_path_RC"
19572 # Set to yes if exported symbols are required.
19573 always_export_symbols=$always_export_symbols_RC
19575 # The commands to list exported symbols.
19576 export_symbols_cmds=$lt_export_symbols_cmds_RC
19578 # The commands to extract the exported symbol list from a shared archive.
19579 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19581 # Symbols that should not be listed in the preloaded symbols.
19582 exclude_expsyms=$lt_exclude_expsyms_RC
19584 # Symbols that must always be exported.
19585 include_expsyms=$lt_include_expsyms_RC
19587 # ### END LIBTOOL TAG CONFIG: $tagname
19593 # If there is no Makefile yet, we rely on a make rule to execute
19594 # `config.status --recheck' to rerun these tests and create the
19595 # libtool script then.
19596 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19597 if test -f "$ltmain_in"; then
19598 test -f Makefile
&& make "$ltmain"
19604 ac_cpp
='$CXXCPP $CPPFLAGS'
19605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19614 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19615 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19616 { (exit 1); exit 1; }; }
19620 # Append the new tag name to the list of available tags.
19621 if test -n "$tagname" ; then
19622 available_tags
="$available_tags $tagname"
19628 # Now substitute the updated list of available tags.
19629 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19630 mv "${ofile}T" "$ofile"
19634 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19635 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19636 { (exit 1); exit 1; }; }
19642 # This can be used to rebuild libtool when needed
19643 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19645 # Always use our own libtool.
19646 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19648 # Prevent multiple expansion
19669 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19670 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
19671 if test "${ac_cv_c_bigendian+set}" = set; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 # See if sys/param.h defines the BYTE_ORDER macro.
19675 cat >conftest.
$ac_ext <<_ACEOF
19678 cat confdefs.h
>>conftest.
$ac_ext
19679 cat >>conftest.
$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 #include <sys/types.h>
19682 #include <sys/param.h>
19687 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19688 bogus endian macros
19695 rm -f conftest.
$ac_objext
19696 if { (ac_try
="$ac_compile"
19697 case "(($ac_try" in
19698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19699 *) ac_try_echo=$ac_try;;
19701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19702 (eval "$ac_compile") 2>conftest.er1
19704 grep -v '^ *+' conftest.er1 >conftest.err
19706 cat conftest.err >&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } &&
19709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19710 { (case "(($ac_try" in
19711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19712 *) ac_try_echo
=$ac_try;;
19714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19715 (eval "$ac_try") 2>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; } &&
19719 { ac_try
='test -s conftest.$ac_objext'
19720 { (case "(($ac_try" in
19721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19722 *) ac_try_echo=$ac_try;;
19724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19725 (eval "$ac_try") 2>&5
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); }; }; then
19729 # It does; now see whether it defined to BIG_ENDIAN or not.
19730 cat >conftest.$ac_ext <<_ACEOF
19733 cat confdefs.h >>conftest.$ac_ext
19734 cat >>conftest.$ac_ext <<_ACEOF
19735 /* end confdefs.h. */
19736 #include <sys/types.h>
19737 #include <sys/param.h>
19742 #if BYTE_ORDER != BIG_ENDIAN
19750 rm -f conftest.$ac_objext
19751 if { (ac_try="$ac_compile"
19752 case "(($ac_try" in
19753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19754 *) ac_try_echo
=$ac_try;;
19756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19757 (eval "$ac_compile") 2>conftest.er1
19759 grep -v '^ *+' conftest.er1
>conftest.err
19761 cat conftest.err
>&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } &&
19764 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19765 { (case "(($ac_try" in
19766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19767 *) ac_try_echo=$ac_try;;
19769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19770 (eval "$ac_try") 2>&5
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); }; } &&
19774 { ac_try='test -s conftest.$ac_objext'
19775 { (case "(($ac_try" in
19776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19777 *) ac_try_echo
=$ac_try;;
19779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19780 (eval "$ac_try") 2>&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; }; then
19784 ac_cv_c_bigendian
=yes
19786 echo "$as_me: failed program was:" >&5
19787 sed 's/^/| /' conftest.
$ac_ext >&5
19789 ac_cv_c_bigendian
=no
19792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.
$ac_ext >&5
19797 # It does not; compile a test program.
19798 if test "$cross_compiling" = yes; then
19799 # try to guess the endianness by grepping values into an object file
19800 ac_cv_c_bigendian
=unknown
19801 cat >conftest.
$ac_ext <<_ACEOF
19804 cat confdefs.h
>>conftest.
$ac_ext
19805 cat >>conftest.
$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19808 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19809 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
19810 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19811 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19812 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
19816 _ascii (); _ebcdic ();
19821 rm -f conftest.
$ac_objext
19822 if { (ac_try
="$ac_compile"
19823 case "(($ac_try" in
19824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19825 *) ac_try_echo=$ac_try;;
19827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19828 (eval "$ac_compile") 2>conftest.er1
19830 grep -v '^ *+' conftest.er1 >conftest.err
19832 cat conftest.err >&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } &&
19835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19836 { (case "(($ac_try" in
19837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19838 *) ac_try_echo
=$ac_try;;
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_try") 2>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; } &&
19845 { ac_try
='test -s conftest.$ac_objext'
19846 { (case "(($ac_try" in
19847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19848 *) ac_try_echo=$ac_try;;
19850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19851 (eval "$ac_try") 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; }; then
19855 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
19856 ac_cv_c_bigendian=yes
19858 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19859 if test "$ac_cv_c_bigendian" = unknown; then
19860 ac_cv_c_bigendian=no
19862 # finding both strings is unlikely to happen, but who knows?
19863 ac_cv_c_bigendian=unknown
19867 echo "$as_me: failed program was:" >&5
19868 sed 's/^/| /' conftest.$ac_ext >&5
19873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19875 cat >conftest.$ac_ext <<_ACEOF
19878 cat confdefs.h >>conftest.$ac_ext
19879 cat >>conftest.$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 $ac_includes_default
19886 /* Are we little or big endian? From Harbison&Steele. */
19890 char c[sizeof (long int)];
19893 return u.c[sizeof (long int) - 1] == 1;
19899 rm -f conftest$ac_exeext
19900 if { (ac_try="$ac_link"
19901 case "(($ac_try" in
19902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19903 *) ac_try_echo
=$ac_try;;
19905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19906 (eval "$ac_link") 2>&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19910 { (case "(($ac_try" in
19911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19912 *) ac_try_echo=$ac_try;;
19914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19915 (eval "$ac_try") 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; }; then
19919 ac_cv_c_bigendian=no
19921 echo "$as_me: program exited with status $ac_status" >&5
19922 echo "$as_me: failed program was:" >&5
19923 sed 's/^/| /' conftest.$ac_ext >&5
19925 ( exit $ac_status )
19926 ac_cv_c_bigendian=yes
19928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19936 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19937 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
19938 case $ac_cv_c_bigendian in
19941 cat >>confdefs.h <<\_ACEOF
19942 #define WORDS_BIGENDIAN 1
19948 { { echo "$as_me:$LINENO: error: unknown endianness
19949 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
19950 echo "$as_me: error: unknown endianness
19951 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
19952 { (exit 1); exit 1; }; } ;;
19955 { echo "$as_me:$LINENO: checking host system type" >&5
19956 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
19957 if test "${ac_cv_host+set}" = set; then
19958 echo $ECHO_N "(cached) $ECHO_C" >&6
19960 if test "x$host_alias" = x; then
19961 ac_cv_host=$ac_cv_build
19963 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
19964 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
19965 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
19966 { (exit 1); exit 1; }; }
19970 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
19971 echo "${ECHO_T}$ac_cv_host" >&6; }
19972 case $ac_cv_host in
19974 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
19975 echo "$as_me: error: invalid value of canonical host" >&2;}
19976 { (exit 1); exit 1; }; };;
19979 ac_save_IFS=$IFS; IFS='-'
19985 # Remember, the first character of IFS is used to create $*,
19986 # except with old shells:
19989 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
19993 ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile src/server/Makefile test/Makefile test/storage/Makefile"
19995 cat >confcache <<\_ACEOF
19996 # This file is a shell script that caches the results of configure
19997 # tests run on this system so they can be shared between configure
19998 # scripts and configure runs, see configure's option --config-cache.
19999 # It is not useful on other systems. If it contains results you don't
20000 # want to keep, you may remove or edit it.
20002 # config.status only pays attention to the cache file if you give it
20003 # the --recheck option to rerun configure.
20005 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20007 # following values.
20011 # The following way of writing the cache mishandles newlines in values,
20012 # but we know of no workaround that is simple, portable, and efficient.
20013 # So, we kill variables containing newlines.
20014 # Ultrix sh set writes to stderr and can't be redirected directly,
20015 # and sets the high bit in the cache file unless we assign to the vars.
20017 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20018 eval ac_val
=\$
$ac_var
20022 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20023 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20026 _ | IFS | as_nl
) ;; #(
20027 *) $as_unset $ac_var ;;
20033 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20034 *${as_nl}ac_space
=\
*)
20035 # `set' does not quote correctly, so add quotes (double-quote
20036 # substitution turns \\\\ into \\, and sed turns \\ into \).
20039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20042 # `set' quotes correctly as required by POSIX, so do not add quotes.
20043 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20056 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20057 if test -w "$cache_file"; then
20058 test "x$cache_file" != "x/dev/null" &&
20059 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20060 echo "$as_me: updating cache $cache_file" >&6;}
20061 cat confcache
>$cache_file
20063 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20064 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20069 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20070 # Let make expand exec_prefix.
20071 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20073 DEFS
=-DHAVE_CONFIG_H
20077 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20078 # 1. Remove the extension, and $U if already installed.
20079 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20080 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20081 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20082 # will be set to the directory where LIBOBJS objects are built.
20083 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20084 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20086 LIBOBJS
=$ac_libobjs
20088 LTLIBOBJS
=$ac_ltlibobjs
20091 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20092 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20093 Usually this means the macro was only invoked conditionally." >&5
20094 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20095 Usually this means the macro was only invoked conditionally." >&2;}
20096 { (exit 1); exit 1; }; }
20098 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20099 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20100 Usually this means the macro was only invoked conditionally." >&5
20101 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20102 Usually this means the macro was only invoked conditionally." >&2;}
20103 { (exit 1); exit 1; }; }
20105 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20106 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20107 Usually this means the macro was only invoked conditionally." >&5
20108 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20109 Usually this means the macro was only invoked conditionally." >&2;}
20110 { (exit 1); exit 1; }; }
20113 : ${CONFIG_STATUS=./config.status}
20114 ac_clean_files_save
=$ac_clean_files
20115 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20116 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20117 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20118 cat >$CONFIG_STATUS <<_ACEOF
20120 # Generated by $as_me.
20121 # Run this file to recreate the current configuration.
20122 # Compiler output produced by configure, useful for debugging
20123 # configure, is in config.log if it exists.
20126 ac_cs_recheck=false
20128 SHELL=\${CONFIG_SHELL-$SHELL}
20131 cat >>$CONFIG_STATUS <<\_ACEOF
20132 ## --------------------- ##
20133 ## M4sh Initialization. ##
20134 ## --------------------- ##
20136 # Be Bourne compatible
20137 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20140 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20141 # is contrary to our usage. Disable this feature.
20142 alias -g '${1+"$@"}'='"$@"'
20143 setopt NO_GLOB_SUBST
20145 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
20147 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
20148 DUALCASE
=1; export DUALCASE
# for MKS sh
20152 # Avoid depending upon Character Ranges.
20153 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20154 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20155 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20156 as_cr_digits
='0123456789'
20157 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20159 # The user is always right.
20160 if test "${PATH_SEPARATOR+set}" != set; then
20161 echo "#! /bin/sh" >conf$$.sh
20162 echo "exit 0" >>conf$$.sh
20164 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20172 # Support unset when possible.
20173 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20181 # We need space, tab and new line, in precisely that order. Quoting is
20182 # there to prevent editors from complaining about space-tab.
20183 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20184 # splitting by setting IFS to empty value.)
20189 # Find who we are. Look in the path if we contain no directory separator.
20191 *[\\/]* ) as_myself
=$0 ;;
20192 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20193 for as_dir
in $PATH
20196 test -z "$as_dir" && as_dir
=.
20197 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20203 # We did not find ourselves, most probably we were run as `sh COMMAND'
20204 # in which case we are not to be found in the path.
20205 if test "x$as_myself" = x
; then
20208 if test ! -f "$as_myself"; then
20209 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20210 { (exit 1); exit 1; }
20213 # Work around bugs in pre-3.0 UWIN ksh.
20214 for as_var
in ENV MAIL MAILPATH
20215 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20223 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20224 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20225 LC_TELEPHONE LC_TIME
20227 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20228 eval $as_var=C
; export $as_var
20230 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20234 # Required to use basename.
20235 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20236 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20242 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20243 as_basename
=basename
20249 # Name of the executable.
20250 as_me
=`$as_basename -- "$0" ||
20251 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20252 X"$0" : 'X\(//\)$' \| \
20253 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20255 sed '/^.*\/\([^/][^/]*\)\/*$/{
20274 as_lineno_1
=$LINENO
20275 as_lineno_2
=$LINENO
20276 test "x$as_lineno_1" != "x$as_lineno_2" &&
20277 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20279 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20280 # uniformly replaced by the line number. The first 'sed' inserts a
20281 # line-number line after each line using $LINENO; the second 'sed'
20282 # does the real work. The second script uses 'N' to pair each
20283 # line-number line with the line containing $LINENO, and appends
20284 # trailing '-' during substitution so that $LINENO is not a special
20285 # case at line end.
20286 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20287 # scripts with optimization help from Paolo Bonzini. Blame Lee
20288 # E. McMahon (1931-1989) for sed's syntax. :-)
20300 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20303 ' >$as_me.lineno
&&
20304 chmod +x
"$as_me.lineno" ||
20305 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20306 { (exit 1); exit 1; }; }
20308 # Don't try to exec as it changes $[0], causing all sort of problems
20309 # (the dirname of $[0] is not the place where we might find the
20310 # original and so on. Autoconf is especially sensitive to this).
20311 .
"./$as_me.lineno"
20312 # Exit status is that of the last command.
20317 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20323 ECHO_C
= ECHO_N
= ECHO_T
=
20324 case `echo -n x` in
20326 case `echo 'x\c'` in
20327 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20334 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20335 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20341 rm -f conf$$ conf$$.exe conf$$.
file
20342 if test -d conf$$.dir
; then
20343 rm -f conf$$.dir
/conf$$.
file
20349 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20351 # ... but there are two gotchas:
20352 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20353 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20354 # In both cases, we have to default to `cp -p'.
20355 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20357 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20362 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20363 rmdir conf$$.dir
2>/dev
/null
20365 if mkdir
-p .
2>/dev
/null
; then
20368 test -d .
/-p && rmdir .
/-p
20372 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
20373 # systems may use methods other than mode bits to determine executability.
20374 cat >conf$$.
file <<_ASEOF
20378 chmod +x conf$$.
file
20379 if test -x conf$$.
file >/dev
/null
2>&1; then
20380 as_executable_p
="test -x"
20386 # Sed expression to map a string onto a valid CPP name.
20387 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20389 # Sed expression to map a string onto a valid variable name.
20390 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20395 # Save the log message, to keep $[0] and so on meaningful, and to
20396 # report actual input values of CONFIG_FILES etc. instead of their
20397 # values after options handling.
20399 This file was extended by $as_me, which was
20400 generated by GNU Autoconf 2.60. Invocation command line was
20402 CONFIG_FILES = $CONFIG_FILES
20403 CONFIG_HEADERS = $CONFIG_HEADERS
20404 CONFIG_LINKS = $CONFIG_LINKS
20405 CONFIG_COMMANDS = $CONFIG_COMMANDS
20408 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20413 cat >>$CONFIG_STATUS <<_ACEOF
20414 # Files that config.status was made for.
20415 config_files="$ac_config_files"
20416 config_headers="$ac_config_headers"
20417 config_commands="$ac_config_commands"
20421 cat >>$CONFIG_STATUS <<\_ACEOF
20423 \`$as_me' instantiates files from templates according to the
20424 current configuration.
20426 Usage: $0 [OPTIONS] [FILE]...
20428 -h, --help print this help, then exit
20429 -V, --version print version number, then exit
20430 -q, --quiet do not print progress messages
20431 -d, --debug don't remove temporary files
20432 --recheck update $as_me by reconfiguring in the same conditions
20433 --file=FILE[:TEMPLATE]
20434 instantiate the configuration file FILE
20435 --header=FILE[:TEMPLATE]
20436 instantiate the configuration header FILE
20438 Configuration files:
20441 Configuration headers:
20444 Configuration commands:
20447 Report bugs to <bug-autoconf@gnu.org>."
20450 cat >>$CONFIG_STATUS <<_ACEOF
20453 configured by $0, generated by GNU Autoconf 2.60,
20454 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20456 Copyright (C) 2006 Free Software Foundation, Inc.
20457 This config.status script is free software; the Free Software Foundation
20458 gives unlimited permission to copy, distribute and modify it."
20465 cat >>$CONFIG_STATUS <<\_ACEOF
20466 # If no file are specified by the user, then we need to provide default
20467 # value. By we need to know if files were specified by the user.
20473 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20474 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20485 # Handling of the options.
20486 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20488 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20489 echo "$ac_cs_version"; exit ;;
20490 --debug |
--debu |
--deb |
--de |
--d |
-d )
20492 --file |
--fil |
--fi |
--f )
20494 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20495 ac_need_defaults
=false
;;
20496 --header |
--heade |
--head |
--hea )
20498 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20499 ac_need_defaults
=false
;;
20501 # Conflict between --help and --header
20502 { echo "$as_me: error: ambiguous option: $1
20503 Try \`$0 --help' for more information." >&2
20504 { (exit 1); exit 1; }; };;
20505 --help |
--hel |
-h )
20506 echo "$ac_cs_usage"; exit ;;
20507 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20508 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20511 # This is an error.
20512 -*) { echo "$as_me: error: unrecognized option: $1
20513 Try \`$0 --help' for more information." >&2
20514 { (exit 1); exit 1; }; } ;;
20516 *) ac_config_targets
="$ac_config_targets $1"
20517 ac_need_defaults
=false
;;
20523 ac_configure_extra_args
=
20525 if $ac_cs_silent; then
20527 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20531 cat >>$CONFIG_STATUS <<_ACEOF
20532 if \$ac_cs_recheck; then
20533 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20534 CONFIG_SHELL=$SHELL
20535 export CONFIG_SHELL
20536 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20540 cat >>$CONFIG_STATUS <<\_ACEOF
20544 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20545 ## Running $as_me. ##
20551 cat >>$CONFIG_STATUS <<_ACEOF
20555 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20559 cat >>$CONFIG_STATUS <<\_ACEOF
20561 # Handling of arguments.
20562 for ac_config_target
in $ac_config_targets
20564 case $ac_config_target in
20565 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20566 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20567 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20568 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20569 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20570 "src/server/Makefile") CONFIG_FILES
="$CONFIG_FILES src/server/Makefile" ;;
20571 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
20572 "test/storage/Makefile") CONFIG_FILES
="$CONFIG_FILES test/storage/Makefile" ;;
20574 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20575 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20576 { (exit 1); exit 1; }; };;
20581 # If the user did not use the arguments to specify the items to instantiate,
20582 # then the envvar interface is used. Set only those that are not.
20583 # We use the long form for the default assignment because of an extremely
20584 # bizarre bug on SunOS 4.1.3.
20585 if $ac_need_defaults; then
20586 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20587 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20588 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20591 # Have a temporary directory for convenience. Make it in the build tree
20592 # simply because there is no reason against having it here, and in addition,
20593 # creating and moving files from /tmp can sometimes cause problems.
20594 # Hook for its removal unless debugging.
20595 # Note that there is a small window in which the directory will not be cleaned:
20596 # after its creation but before its name has been assigned to `$tmp'.
20600 trap 'exit_status=$?
20601 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20603 trap '{ (exit 1); exit 1; }' 1 2 13 15
20605 # Create a (secure) tmp directory for tmp files.
20608 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20609 test -n "$tmp" && test -d "$tmp"
20612 tmp
=.
/conf$$
-$RANDOM
20613 (umask 077 && mkdir
"$tmp")
20616 echo "$me: cannot create a temporary directory in ." >&2
20617 { (exit 1); exit 1; }
20621 # Set up the sed scripts for CONFIG_FILES section.
20624 # No need to generate the scripts if there are no CONFIG_FILES.
20625 # This happens for instance when ./config.status config.h
20626 if test -n "$CONFIG_FILES"; then
20633 for ac_last_try
in false false false false false
:; do
20634 cat >conf$
$subs.
sed <<_ACEOF
20635 SHELL!$SHELL$ac_delim
20636 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20637 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20638 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20639 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20640 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20641 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20642 exec_prefix!$exec_prefix$ac_delim
20643 prefix!$prefix$ac_delim
20644 program_transform_name!$program_transform_name$ac_delim
20645 bindir!$bindir$ac_delim
20646 sbindir!$sbindir$ac_delim
20647 libexecdir!$libexecdir$ac_delim
20648 datarootdir!$datarootdir$ac_delim
20649 datadir!$datadir$ac_delim
20650 sysconfdir!$sysconfdir$ac_delim
20651 sharedstatedir!$sharedstatedir$ac_delim
20652 localstatedir!$localstatedir$ac_delim
20653 includedir!$includedir$ac_delim
20654 oldincludedir!$oldincludedir$ac_delim
20655 docdir!$docdir$ac_delim
20656 infodir!$infodir$ac_delim
20657 htmldir!$htmldir$ac_delim
20658 dvidir!$dvidir$ac_delim
20659 pdfdir!$pdfdir$ac_delim
20660 psdir!$psdir$ac_delim
20661 libdir!$libdir$ac_delim
20662 localedir!$localedir$ac_delim
20663 mandir!$mandir$ac_delim
20664 DEFS!$DEFS$ac_delim
20665 ECHO_C!$ECHO_C$ac_delim
20666 ECHO_N!$ECHO_N$ac_delim
20667 ECHO_T!$ECHO_T$ac_delim
20668 LIBS!$LIBS$ac_delim
20669 build_alias!$build_alias$ac_delim
20670 host_alias!$host_alias$ac_delim
20671 target_alias!$target_alias$ac_delim
20672 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20673 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20674 INSTALL_DATA!$INSTALL_DATA$ac_delim
20675 CYGPATH_W!$CYGPATH_W$ac_delim
20676 PACKAGE!$PACKAGE$ac_delim
20677 VERSION!$VERSION$ac_delim
20678 ACLOCAL!$ACLOCAL$ac_delim
20679 AUTOCONF!$AUTOCONF$ac_delim
20680 AUTOMAKE!$AUTOMAKE$ac_delim
20681 AUTOHEADER!$AUTOHEADER$ac_delim
20682 MAKEINFO!$MAKEINFO$ac_delim
20683 install_sh!$install_sh$ac_delim
20684 STRIP!$STRIP$ac_delim
20685 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20686 mkdir_p!$mkdir_p$ac_delim
20688 SET_MAKE!$SET_MAKE$ac_delim
20689 am__leading_dot!$am__leading_dot$ac_delim
20690 AMTAR!$AMTAR$ac_delim
20691 am__tar!$am__tar$ac_delim
20692 am__untar!$am__untar$ac_delim
20694 CXXFLAGS!$CXXFLAGS$ac_delim
20695 LDFLAGS!$LDFLAGS$ac_delim
20696 CPPFLAGS!$CPPFLAGS$ac_delim
20697 ac_ct_CXX!$ac_ct_CXX$ac_delim
20698 EXEEXT!$EXEEXT$ac_delim
20699 OBJEXT!$OBJEXT$ac_delim
20700 DEPDIR!$DEPDIR$ac_delim
20701 am__include!$am__include$ac_delim
20702 am__quote!$am__quote$ac_delim
20703 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20704 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20705 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20706 CXXDEPMODE!$CXXDEPMODE$ac_delim
20707 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20708 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20709 build!$build$ac_delim
20710 build_cpu!$build_cpu$ac_delim
20711 build_vendor!$build_vendor$ac_delim
20712 build_os!$build_os$ac_delim
20713 host!$host$ac_delim
20714 host_cpu!$host_cpu$ac_delim
20715 host_vendor!$host_vendor$ac_delim
20716 host_os!$host_os$ac_delim
20718 CFLAGS!$CFLAGS$ac_delim
20719 ac_ct_CC!$ac_ct_CC$ac_delim
20720 CCDEPMODE!$CCDEPMODE$ac_delim
20721 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20722 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20723 GREP!$GREP$ac_delim
20724 EGREP!$EGREP$ac_delim
20725 LN_S!$LN_S$ac_delim
20726 ECHO!$ECHO$ac_delim
20728 RANLIB!$RANLIB$ac_delim
20730 CXXCPP!$CXXCPP$ac_delim
20734 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20736 elif $ac_last_try; then
20737 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20738 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20739 { (exit 1); exit 1; }; }
20741 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20745 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20746 if test -n "$ac_eof"; then
20747 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20748 ac_eof
=`expr $ac_eof + 1`
20751 cat >>$CONFIG_STATUS <<_ACEOF
20752 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20753 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20756 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20757 s/^/s,@/; s/!/@,|#_!!_#|/
20760 s/'"$ac_delim"'$/,g/; t
20762 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20763 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20764 rm -f conf$
$subs.
sed
20765 cat >>$CONFIG_STATUS <<_ACEOF
20771 for ac_last_try
in false false false false false
:; do
20772 cat >conf$
$subs.
sed <<_ACEOF
20773 FFLAGS!$FFLAGS$ac_delim
20774 ac_ct_F77!$ac_ct_F77$ac_delim
20775 LIBTOOL!$LIBTOOL$ac_delim
20776 LIBOBJS!$LIBOBJS$ac_delim
20777 LTLIBOBJS!$LTLIBOBJS$ac_delim
20780 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
20782 elif $ac_last_try; then
20783 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20784 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20785 { (exit 1); exit 1; }; }
20787 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20791 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20792 if test -n "$ac_eof"; then
20793 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20794 ac_eof
=`expr $ac_eof + 1`
20797 cat >>$CONFIG_STATUS <<_ACEOF
20798 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20799 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20802 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20803 s/^/s,@/; s/!/@,|#_!!_#|/
20806 s/'"$ac_delim"'$/,g/; t
20808 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20809 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20810 rm -f conf$
$subs.
sed
20811 cat >>$CONFIG_STATUS <<_ACEOF
20818 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20819 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20820 # trailing colons and then remove the whole line if VPATH becomes empty
20821 # (actually we leave an empty line to preserve line numbers).
20822 if test "x$srcdir" = x.
; then
20823 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20824 s/:*\$(srcdir):*/:/
20825 s/:*\${srcdir}:*/:/
20827 s/^\([^=]*=[ ]*\):*/\1/
20833 cat >>$CONFIG_STATUS <<\_ACEOF
20834 fi # test -n "$CONFIG_FILES"
20837 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20840 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20842 case $ac_mode$ac_tag in
20844 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20845 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20846 { (exit 1); exit 1; }; };;
20847 :[FH
]-) ac_tag
=-:-;;
20848 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20865 -) ac_f
="$tmp/stdin";;
20866 *) # Look for the file first in the build tree, then in the source tree
20867 # (if the path is not absolute). The absolute path cannot be DOS-style,
20868 # because $ac_f cannot contain `:'.
20872 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20874 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20875 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20876 { (exit 1); exit 1; }; };;
20878 ac_file_inputs
="$ac_file_inputs $ac_f"
20881 # Let's still pretend it is `configure' which instantiates (i.e., don't
20882 # use $as_me), people would be surprised to read:
20883 # /* config.h. Generated by config.status. */
20884 configure_input
="Generated from "`IFS=:
20885 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20886 if test x
"$ac_file" != x-
; then
20887 configure_input
="$ac_file. $configure_input"
20888 { echo "$as_me:$LINENO: creating $ac_file" >&5
20889 echo "$as_me: creating $ac_file" >&6;}
20893 *:-:* |
*:-) cat >"$tmp/stdin";;
20898 ac_dir
=`$as_dirname -- "$ac_file" ||
20899 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20900 X"$ac_file" : 'X\(//\)[^/]' \| \
20901 X"$ac_file" : 'X\(//\)$' \| \
20902 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20908 /^X\(\/\/\)[^/].*/{
20923 -*) as_dir
=.
/$as_dir;;
20925 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20929 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20930 *) as_qdir
=$as_dir;;
20932 as_dirs
="'$as_qdir' $as_dirs"
20933 as_dir
=`$as_dirname -- "$as_dir" ||
20934 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20935 X"$as_dir" : 'X\(//\)[^/]' \| \
20936 X"$as_dir" : 'X\(//\)$' \| \
20937 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20943 /^X\(\/\/\)[^/].*/{
20956 test -d "$as_dir" && break
20958 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20959 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20960 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20961 { (exit 1); exit 1; }; }; }
20965 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20967 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20968 # A ".." for each directory in $ac_dir_suffix.
20969 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20970 case $ac_top_builddir_sub in
20971 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20972 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20975 ac_abs_top_builddir
=$ac_pwd
20976 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20977 # for backward compatibility:
20978 ac_top_builddir
=$ac_top_build_prefix
20981 .
) # We are building in place.
20983 ac_top_srcdir
=$ac_top_builddir_sub
20984 ac_abs_top_srcdir
=$ac_pwd ;;
20985 [\\/]* | ?
:[\\/]* ) # Absolute name.
20986 ac_srcdir
=$srcdir$ac_dir_suffix;
20987 ac_top_srcdir
=$srcdir
20988 ac_abs_top_srcdir
=$srcdir ;;
20989 *) # Relative name.
20990 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20991 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20992 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20994 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21004 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21005 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21009 cat >>$CONFIG_STATUS <<\_ACEOF
21010 # If the template does not know about datarootdir, expand it.
21011 # FIXME: This hack should be removed a few years after 2.60.
21012 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21014 case `sed -n '/datarootdir/ {
21023 ' $ac_file_inputs` in
21024 *datarootdir
*) ac_datarootdir_seen
=yes;;
21025 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21026 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21027 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21029 cat >>$CONFIG_STATUS <<_ACEOF
21030 ac_datarootdir_hack='
21031 s&@datadir@&$datadir&g
21032 s&@docdir@&$docdir&g
21033 s&@infodir@&$infodir&g
21034 s&@localedir@&$localedir&g
21035 s&@mandir@&$mandir&g
21036 s&\\\${datarootdir}&$datarootdir&g' ;;
21040 # Neutralize VPATH when `$srcdir' = `.'.
21041 # Shell code in configure.ac might set extrasub.
21042 # FIXME: do we really want to maintain this feature?
21043 cat >>$CONFIG_STATUS <<_ACEOF
21047 cat >>$CONFIG_STATUS <<\_ACEOF
21049 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21050 s
&@configure_input@
&$configure_input&;t t
21051 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21052 s
&@srcdir@
&$ac_srcdir&;t t
21053 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21054 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21055 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21056 s
&@builddir@
&$ac_builddir&;t t
21057 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21058 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21059 s
&@INSTALL@
&$ac_INSTALL&;t t
21060 $ac_datarootdir_hack
21061 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21063 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21064 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21065 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21066 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21067 which seems to be undefined. Please make sure it is defined." >&5
21068 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21069 which seems to be undefined. Please make sure it is defined." >&2;}
21073 -) cat "$tmp/out"; rm -f "$tmp/out";;
21074 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21083 # Transform confdefs.h into a sed script `conftest.defines', that
21084 # substitutes the proper values into config.h.in to produce config.h.
21085 rm -f conftest.defines conftest.
tail
21086 # First, append a space to every undef/define line, to ease matching.
21087 echo 's/$/ /' >conftest.defines
21088 # Then, protect against being on the right side of a sed subst, or in
21089 # an unquoted here document, in config.status. If some macros were
21090 # called several times there might be several #defines for the same
21091 # symbol, which is useless. But do not sort them, since the last
21092 # AC_DEFINE must be honored.
21093 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21094 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21095 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21096 # PARAMS is the parameter list in the macro definition--in most cases, it's
21097 # just an empty string.
21098 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21099 ac_dB
='\\)[ (].*,\\1define\\2'
21107 s/^[ ]*#[ ]*define[ ][ ]*//
21112 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21113 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21114 ' >>conftest.defines
21116 # Remove the space that was appended to ease matching.
21117 # Then replace #undef with comments. This is necessary, for
21118 # example, in the case of _POSIX_SOURCE, which is predefined and required
21119 # on some systems where configure will not decide to define it.
21120 # (The regexp can be short, since the line contains either #define or #undef.)
21122 s,^[ #]*u.*,/* & */,' >>conftest.defines
21124 # Break up conftest.defines:
21125 ac_max_sed_lines
=50
21127 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21128 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21129 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21131 ac_in
='$ac_file_inputs'
21132 ac_out
='"$tmp/out1"'
21133 ac_nxt
='"$tmp/out2"'
21137 # Write a here document:
21138 cat >>$CONFIG_STATUS <<_ACEOF
21139 # First, check the format of the line:
21140 cat >"\$tmp/defines.sed" <<\\CEOF
21141 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21142 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21146 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21148 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21149 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21150 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21151 grep . conftest.
tail >/dev
/null ||
break
21152 rm -f conftest.defines
21153 mv conftest.
tail conftest.defines
21155 rm -f conftest.defines conftest.
tail
21157 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21158 cat >>$CONFIG_STATUS <<\_ACEOF
21159 if test x
"$ac_file" != x-
; then
21160 echo "/* $configure_input */" >"$tmp/config.h"
21161 cat "$ac_result" >>"$tmp/config.h"
21162 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21163 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21164 echo "$as_me: $ac_file is unchanged" >&6;}
21167 mv "$tmp/config.h" $ac_file
21170 echo "/* $configure_input */"
21174 # Compute $ac_file's index in $config_headers.
21176 for _am_header
in $config_headers :; do
21177 case $_am_header in
21178 $ac_file |
$ac_file:* )
21181 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21184 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21185 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21186 X$ac_file : 'X\(//\)[^/]' \| \
21187 X$ac_file : 'X\(//\)$' \| \
21188 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21194 /^X\(\/\/\)[^/].*/{
21206 s/.*/./; q'`/stamp-h
$_am_stamp_count
21209 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21210 echo "$as_me: executing $ac_file commands" >&6;}
21215 case $ac_file$ac_mode in
21216 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21217 # Strip MF so we end up with the name of the file.
21218 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21219 # Check whether this is an Automake generated Makefile or not.
21220 # We used to match only the files named `Makefile.in', but
21221 # some people rename them; so instead we look at the file content.
21222 # Grep'ing the first line is not enough: some people post-process
21223 # each Makefile.in and add a new line on top of each file to say so.
21224 # So let's grep whole file.
21225 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21226 dirpart
=`$as_dirname -- "$mf" ||
21227 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21228 X"$mf" : 'X\(//\)[^/]' \| \
21229 X"$mf" : 'X\(//\)$' \| \
21230 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21236 /^X\(\/\/\)[^/].*/{
21252 # Extract the definition of DEPDIR, am__include, and am__quote
21253 # from the Makefile without running `make'.
21254 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21255 test -z "$DEPDIR" && continue
21256 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21257 test -z "am__include" && continue
21258 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21259 # When using ansi2knr, U may be empty or an underscore; expand it
21260 U
=`sed -n 's/^U = //p' < "$mf"`
21261 # Find all dependency output files, they are included files with
21262 # $(DEPDIR) in their names. We invoke sed twice because it is the
21263 # simplest approach to changing $(DEPDIR) to its actual value in the
21265 for file in `sed -n "
21266 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21267 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21268 # Make sure the directory exists.
21269 test -f "$dirpart/$file" && continue
21270 fdir
=`$as_dirname -- "$file" ||
21271 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21272 X"$file" : 'X\(//\)[^/]' \| \
21273 X"$file" : 'X\(//\)$' \| \
21274 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21280 /^X\(\/\/\)[^/].*/{
21293 { as_dir
=$dirpart/$fdir
21295 -*) as_dir
=.
/$as_dir;;
21297 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21301 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21302 *) as_qdir
=$as_dir;;
21304 as_dirs
="'$as_qdir' $as_dirs"
21305 as_dir
=`$as_dirname -- "$as_dir" ||
21306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21307 X"$as_dir" : 'X\(//\)[^/]' \| \
21308 X"$as_dir" : 'X\(//\)$' \| \
21309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21315 /^X\(\/\/\)[^/].*/{
21328 test -d "$as_dir" && break
21330 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21331 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21332 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21333 { (exit 1); exit 1; }; }; }
21334 # echo "creating $dirpart/$file"
21335 echo '# dummy' > "$dirpart/$file"
21344 { (exit 0); exit 0; }
21346 chmod +x
$CONFIG_STATUS
21347 ac_clean_files
=$ac_clean_files_save
21350 # configure is writing to config.log, and then calls config.status.
21351 # config.status does its own redirection, appending to config.log.
21352 # Unfortunately, on DOS this fails, as config.log is still kept open
21353 # by configure, so config.status won't be able to write to it; its
21354 # output is simply discarded. So we exec the FD to /dev/null,
21355 # effectively closing config.log, so it can be properly (re)opened and
21356 # appended to by config.status. When coming back to configure, we
21357 # need to make the FD available again.
21358 if test "$no_create" != yes; then
21360 ac_config_status_args
=
21361 test "$silent" = yes &&
21362 ac_config_status_args
="$ac_config_status_args --quiet"
21364 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21366 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21367 # would make configure fail if this is the last instruction.
21368 $ac_cs_success ||
{ (exit 1); exit 1; }