2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL
=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec
; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo
; then
590 # Avoid inline document here, it may be left over
592 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $echo works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo
; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
613 if test -z "$ECHO"; then
614 if test "X${echo_test_string+set}" != Xset
; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
619 echo_test_string
=`eval $cmd` &&
620 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
627 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
628 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
632 # The Solaris, AIX, and Digital Unix default echo programs unquote
633 # backslashes. This makes it impossible to quote backslashes using
634 # echo "$something" | sed 's/\\/\\\\/g'
636 # So, first we look for a working echo in the user's PATH.
638 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
639 for dir
in $PATH /usr
/ucb
; do
641 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
642 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
643 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
651 if test "X$echo" = Xecho
; then
652 # We didn't find a better echo, so look for alternatives.
653 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
654 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 # This shell has a builtin print -r that does the trick.
658 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
659 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
660 # If we have ksh, try running configure again with it.
661 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
662 export ORIGINAL_CONFIG_SHELL
663 CONFIG_SHELL
=/bin
/ksh
665 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
669 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
670 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
671 test "X$echo_testing_string" = "X$echo_test_string"; then
674 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
675 test "X$echo_testing_string" = 'X\t' &&
676 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
677 test "X$echo_testing_string" = "X$echo_test_string"; then
678 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
680 SHELL
="$CONFIG_SHELL"
682 echo="$CONFIG_SHELL $0 --fallback-echo"
683 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
684 test "X$echo_testing_string" = 'X\t' &&
685 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
686 test "X$echo_testing_string" = "X$echo_test_string"; then
687 echo="$CONFIG_SHELL $0 --fallback-echo"
689 # maybe with a smaller string...
692 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
693 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
700 if test "$prev" != 'sed 50q "$0"'; then
701 echo_test_string
=`eval $prev`
702 export echo_test_string
703 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705 # Oops. We lost completely, so just stick with echo.
714 # Copy echo and quote the copy suitably for passing to libtool from
715 # the Makefile, instead of quoting the original, which is used later.
717 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
718 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
724 tagnames
=${tagnames+${tagnames},}CXX
726 tagnames
=${tagnames+${tagnames},}F77
728 exec 7<&0 </dev
/null
6>&1
731 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
732 # so uname gets run too.
733 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
738 ac_default_prefix
=/usr
/local
740 ac_config_libobj_dir
=.
746 SHELL
=${CONFIG_SHELL-/bin/sh}
748 # Identity of this package.
755 ac_unique_file
="src/main.cc"
756 # Factoring default headers for most tests.
757 ac_includes_default
="\
759 #ifdef HAVE_SYS_TYPES_H
760 # include <sys/types.h>
762 #ifdef HAVE_SYS_STAT_H
763 # include <sys/stat.h>
769 # ifdef HAVE_STDLIB_H
774 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
779 #ifdef HAVE_STRINGS_H
780 # include <strings.h>
782 #ifdef HAVE_INTTYPES_H
783 # include <inttypes.h>
801 program_transform_name
843 INSTALL_STRIP_PROGRAM
901 enable_option_checking
902 enable_dependency_tracking
911 ac_precious_vars
='build_alias
928 # Initialize some variables set by options.
930 ac_init_version
=false
931 ac_unrecognized_opts
=
933 # The variables have the same names as the options, with
934 # dashes changed to underlines.
942 program_transform_name
=s
,x
,x
,
950 # Installation directory options.
951 # These are left unexpanded so users can "make install exec_prefix=/foo"
952 # and all the variables that are supposed to be based on exec_prefix
953 # by default will actually change.
954 # Use braces instead of parens because sh, perl, etc. also accept them.
955 # (The list follows the same order as the GNU Coding Standards.)
956 bindir
='${exec_prefix}/bin'
957 sbindir
='${exec_prefix}/sbin'
958 libexecdir
='${exec_prefix}/libexec'
959 datarootdir
='${prefix}/share'
960 datadir
='${datarootdir}'
961 sysconfdir
='${prefix}/etc'
962 sharedstatedir
='${prefix}/com'
963 localstatedir
='${prefix}/var'
964 includedir
='${prefix}/include'
965 oldincludedir
='/usr/include'
966 docdir
='${datarootdir}/doc/${PACKAGE}'
967 infodir
='${datarootdir}/info'
972 libdir
='${exec_prefix}/lib'
973 localedir
='${datarootdir}/locale'
974 mandir
='${datarootdir}/man'
980 # If the previous option needs an argument, assign it.
981 if test -n "$ac_prev"; then
982 eval $ac_prev=\
$ac_option
988 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
992 # Accept the important Cygnus configure options, so we can diagnose typos.
994 case $ac_dashdash$ac_option in
998 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1000 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1001 bindir
=$ac_optarg ;;
1003 -build |
--build |
--buil |
--bui |
--bu)
1004 ac_prev
=build_alias
;;
1005 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1006 build_alias
=$ac_optarg ;;
1008 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1009 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1010 ac_prev
=cache_file
;;
1011 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1012 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1013 cache_file
=$ac_optarg ;;
1015 --config-cache |
-C)
1016 cache_file
=config.cache
;;
1018 -datadir |
--datadir |
--datadi |
--datad)
1020 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1021 datadir
=$ac_optarg ;;
1023 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1024 |
--dataroo |
--dataro |
--datar)
1025 ac_prev
=datarootdir
;;
1026 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1027 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1028 datarootdir
=$ac_optarg ;;
1030 -disable-* |
--disable-*)
1031 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1034 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1035 { (exit 1); exit 1; }; }
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_
$ac_useropt"
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval enable_
$ac_useropt=no
;;
1047 -docdir |
--docdir |
--docdi |
--doc |
--do)
1049 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1050 docdir
=$ac_optarg ;;
1052 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1054 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1055 dvidir
=$ac_optarg ;;
1057 -enable-* |
--enable-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1062 { (exit 1); exit 1; }; }
1063 ac_useropt_orig
=$ac_useropt
1064 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "enable_
$ac_useropt"
1069 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1070 ac_unrecognized_sep
=', ';;
1072 eval enable_
$ac_useropt=\
$ac_optarg ;;
1074 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1075 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1076 |
--exec |
--exe |
--ex)
1077 ac_prev
=exec_prefix
;;
1078 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1079 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1080 |
--exec=* |
--exe=* |
--ex=*)
1081 exec_prefix
=$ac_optarg ;;
1083 -gas |
--gas |
--ga |
--g)
1084 # Obsolete; use --with-gas.
1087 -help |
--help |
--hel |
--he |
-h)
1088 ac_init_help
=long
;;
1089 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1090 ac_init_help
=recursive
;;
1091 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1092 ac_init_help
=short
;;
1094 -host |
--host |
--hos |
--ho)
1095 ac_prev
=host_alias
;;
1096 -host=* |
--host=* |
--hos=* |
--ho=*)
1097 host_alias
=$ac_optarg ;;
1099 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1101 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1103 htmldir
=$ac_optarg ;;
1105 -includedir |
--includedir |
--includedi |
--included |
--include \
1106 |
--includ |
--inclu |
--incl |
--inc)
1107 ac_prev
=includedir
;;
1108 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1109 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1110 includedir
=$ac_optarg ;;
1112 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1114 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1115 infodir
=$ac_optarg ;;
1117 -libdir |
--libdir |
--libdi |
--libd)
1119 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1120 libdir
=$ac_optarg ;;
1122 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1123 |
--libexe |
--libex |
--libe)
1124 ac_prev
=libexecdir
;;
1125 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1126 |
--libexe=* |
--libex=* |
--libe=*)
1127 libexecdir
=$ac_optarg ;;
1129 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1130 ac_prev
=localedir
;;
1131 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1132 localedir
=$ac_optarg ;;
1134 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1135 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1136 ac_prev
=localstatedir
;;
1137 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1138 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1139 localstatedir
=$ac_optarg ;;
1141 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1143 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1144 mandir
=$ac_optarg ;;
1146 -nfp |
--nfp |
--nf)
1147 # Obsolete; use --without-fp.
1150 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1151 |
--no-cr |
--no-c |
-n)
1154 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1155 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1158 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1159 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1160 |
--oldin |
--oldi |
--old |
--ol |
--o)
1161 ac_prev
=oldincludedir
;;
1162 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1163 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1164 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1165 oldincludedir
=$ac_optarg ;;
1167 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1169 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1170 prefix
=$ac_optarg ;;
1172 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1173 |
--program-pre |
--program-pr |
--program-p)
1174 ac_prev
=program_prefix
;;
1175 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1176 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1177 program_prefix
=$ac_optarg ;;
1179 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1180 |
--program-suf |
--program-su |
--program-s)
1181 ac_prev
=program_suffix
;;
1182 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1183 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1184 program_suffix
=$ac_optarg ;;
1186 -program-transform-name |
--program-transform-name \
1187 |
--program-transform-nam |
--program-transform-na \
1188 |
--program-transform-n |
--program-transform- \
1189 |
--program-transform |
--program-transfor \
1190 |
--program-transfo |
--program-transf \
1191 |
--program-trans |
--program-tran \
1192 |
--progr-tra |
--program-tr |
--program-t)
1193 ac_prev
=program_transform_name
;;
1194 -program-transform-name=* |
--program-transform-name=* \
1195 |
--program-transform-nam=* |
--program-transform-na=* \
1196 |
--program-transform-n=* |
--program-transform-=* \
1197 |
--program-transform=* |
--program-transfor=* \
1198 |
--program-transfo=* |
--program-transf=* \
1199 |
--program-trans=* |
--program-tran=* \
1200 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1201 program_transform_name
=$ac_optarg ;;
1203 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1205 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1206 pdfdir
=$ac_optarg ;;
1208 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1210 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1213 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1214 |
-silent |
--silent |
--silen |
--sile |
--sil)
1217 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1219 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1221 sbindir
=$ac_optarg ;;
1223 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1224 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1225 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1227 ac_prev
=sharedstatedir
;;
1228 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1229 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1230 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1232 sharedstatedir
=$ac_optarg ;;
1234 -site |
--site |
--sit)
1236 -site=* |
--site=* |
--sit=*)
1239 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1241 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1242 srcdir
=$ac_optarg ;;
1244 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1245 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1246 ac_prev
=sysconfdir
;;
1247 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1248 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1249 sysconfdir
=$ac_optarg ;;
1251 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1252 ac_prev
=target_alias
;;
1253 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1254 target_alias
=$ac_optarg ;;
1256 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1259 -version |
--version |
--versio |
--versi |
--vers |
-V)
1260 ac_init_version
=: ;;
1263 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1266 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1267 { (exit 1); exit 1; }; }
1268 ac_useropt_orig
=$ac_useropt
1269 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1274 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1275 ac_unrecognized_sep
=', ';;
1277 eval with_
$ac_useropt=\
$ac_optarg ;;
1279 -without-* |
--without-*)
1280 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1283 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1284 { (exit 1); exit 1; }; }
1285 ac_useropt_orig
=$ac_useropt
1286 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287 case $ac_user_opts in
1291 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1292 ac_unrecognized_sep
=', ';;
1294 eval with_
$ac_useropt=no
;;
1297 # Obsolete; use --with-x.
1300 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1301 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1302 ac_prev
=x_includes
;;
1303 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1304 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1305 x_includes
=$ac_optarg ;;
1307 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1308 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1309 ac_prev
=x_libraries
;;
1310 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1311 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1312 x_libraries
=$ac_optarg ;;
1314 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1315 Try \`$0 --help' for more information." >&2
1316 { (exit 1); exit 1; }; }
1320 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1321 # Reject names that are not valid shell variable names.
1322 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1323 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1324 { (exit 1); exit 1; }; }
1325 eval $ac_envvar=\
$ac_optarg
1326 export $ac_envvar ;;
1329 # FIXME: should be removed in autoconf 3.0.
1330 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1331 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1332 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1333 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1339 if test -n "$ac_prev"; then
1340 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1341 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1342 { (exit 1); exit 1; }; }
1345 if test -n "$ac_unrecognized_opts"; then
1346 case $enable_option_checking in
1348 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1349 { (exit 1); exit 1; }; } ;;
1350 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1354 # Check all directory arguments for consistency.
1355 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1356 datadir sysconfdir sharedstatedir localstatedir includedir \
1357 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1358 libdir localedir mandir
1360 eval ac_val
=\$
$ac_var
1361 # Remove trailing slashes.
1364 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1365 eval $ac_var=\
$ac_val;;
1367 # Be sure to have absolute directory names.
1369 [\\/$
]* | ?
:[\\/]* ) continue;;
1370 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1372 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1373 { (exit 1); exit 1; }; }
1376 # There might be people who depend on the old broken behavior: `$host'
1377 # used to hold the argument of --host etc.
1378 # FIXME: To remove some day.
1381 target
=$target_alias
1383 # FIXME: To remove some day.
1384 if test "x$host_alias" != x
; then
1385 if test "x$build_alias" = x
; then
1386 cross_compiling
=maybe
1387 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1388 If a cross compiler is detected then cross compile mode will be used." >&2
1389 elif test "x$build_alias" != "x$host_alias"; then
1395 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1397 test "$silent" = yes && exec 6>/dev
/null
1400 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1401 ac_ls_di
=`ls -di .` &&
1402 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1403 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1404 { (exit 1); exit 1; }; }
1405 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1407 { (exit 1); exit 1; }; }
1410 # Find the source files, if location was not specified.
1411 if test -z "$srcdir"; then
1412 ac_srcdir_defaulted
=yes
1413 # Try the directory containing this script, then the parent directory.
1414 ac_confdir
=`$as_dirname -- "$as_myself" ||
1415 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1416 X"$as_myself" : 'X\(//\)[^/]' \| \
1417 X"$as_myself" : 'X\(//\)$' \| \
1418 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1419 $as_echo X"$as_myself" |
1420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1442 ac_srcdir_defaulted
=no
1444 if test ! -r "$srcdir/$ac_unique_file"; then
1445 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1446 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1447 { (exit 1); exit 1; }; }
1449 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1451 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1452 { (exit 1); exit 1; }; }
1454 # When building in place, set srcdir=.
1455 if test "$ac_abs_confdir" = "$ac_pwd"; then
1458 # Remove unnecessary trailing slashes from srcdir.
1459 # Double slashes in file names in object file debugging info
1460 # mess up M-x gdb in Emacs.
1462 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1464 for ac_var
in $ac_precious_vars; do
1465 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1466 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1467 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1468 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1472 # Report the --help message.
1474 if test "$ac_init_help" = "long"; then
1475 # Omit some internal or obsolete options to make the list less imposing.
1476 # This message is too long to be a string in the A/UX 3.1 sh.
1478 \`configure' configures this package to adapt to many kinds of systems.
1480 Usage: $0 [OPTION]... [VAR=VALUE]...
1482 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1483 VAR=VALUE. See below for descriptions of some of the useful variables.
1485 Defaults for the options are specified in brackets.
1488 -h, --help display this help and exit
1489 --help=short display options specific to this package
1490 --help=recursive display the short help of all the included packages
1491 -V, --version display version information and exit
1492 -q, --quiet, --silent do not print \`checking...' messages
1493 --cache-file=FILE cache test results in FILE [disabled]
1494 -C, --config-cache alias for \`--cache-file=config.cache'
1495 -n, --no-create do not create output files
1496 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1498 Installation directories:
1499 --prefix=PREFIX install architecture-independent files in PREFIX
1500 [$ac_default_prefix]
1501 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1504 By default, \`make install' will install all the files in
1505 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1506 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1507 for instance \`--prefix=\$HOME'.
1509 For better control, use the options below.
1511 Fine tuning of the installation directories:
1512 --bindir=DIR user executables [EPREFIX/bin]
1513 --sbindir=DIR system admin executables [EPREFIX/sbin]
1514 --libexecdir=DIR program executables [EPREFIX/libexec]
1515 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1516 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1517 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1518 --libdir=DIR object code libraries [EPREFIX/lib]
1519 --includedir=DIR C header files [PREFIX/include]
1520 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1521 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1522 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1523 --infodir=DIR info documentation [DATAROOTDIR/info]
1524 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1525 --mandir=DIR man documentation [DATAROOTDIR/man]
1526 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1527 --htmldir=DIR html documentation [DOCDIR]
1528 --dvidir=DIR dvi documentation [DOCDIR]
1529 --pdfdir=DIR pdf documentation [DOCDIR]
1530 --psdir=DIR ps documentation [DOCDIR]
1536 --program-prefix=PREFIX prepend PREFIX to installed program names
1537 --program-suffix=SUFFIX append SUFFIX to installed program names
1538 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1541 --build=BUILD configure
for building on BUILD
[guessed
]
1542 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1546 if test -n "$ac_init_help"; then
1551 --disable-option-checking ignore unrecognized
--enable/--with options
1552 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1553 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1554 --disable-dependency-tracking speeds up one-time build
1555 --enable-dependency-tracking do not reject slow dependency extractors
1556 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1557 --enable-static[=PKGS
] build static libraries
[default
=yes]
1558 --enable-fast-install[=PKGS
]
1559 optimize
for fast installation
[default
=yes]
1560 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1563 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1564 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1565 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1566 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1568 --with-tags[=TAGS
] include additional configurations
[automatic
]
1570 Some influential environment variables
:
1571 CC C compiler
command
1572 CFLAGS C compiler flags
1573 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1574 nonstandard directory
<lib dir
>
1575 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1576 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1577 you have headers
in a nonstandard directory
<include dir
>
1578 CXX C
++ compiler
command
1579 CXXFLAGS C
++ compiler flags
1581 CXXCPP C
++ preprocessor
1582 F77 Fortran
77 compiler
command
1583 FFLAGS Fortran
77 compiler flags
1585 Use these variables to override the choices made by
`configure' or to help
1586 it to find libraries and programs with nonstandard names/locations.
1592 if test "$ac_init_help" = "recursive"; then
1593 # If there are subdirs, report their specific --help.
1594 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1595 test -d "$ac_dir" ||
1596 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1603 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1604 # A ".." for each directory in $ac_dir_suffix.
1605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1606 case $ac_top_builddir_sub in
1607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1611 ac_abs_top_builddir=$ac_pwd
1612 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1613 # for backward compatibility:
1614 ac_top_builddir=$ac_top_build_prefix
1617 .) # We are building in place.
1619 ac_top_srcdir=$ac_top_builddir_sub
1620 ac_abs_top_srcdir=$ac_pwd ;;
1621 [\\/]* | ?:[\\/]* ) # Absolute name.
1622 ac_srcdir=$srcdir$ac_dir_suffix;
1623 ac_top_srcdir=$srcdir
1624 ac_abs_top_srcdir=$srcdir ;;
1626 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1627 ac_top_srcdir=$ac_top_build_prefix$srcdir
1628 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1632 cd "$ac_dir" || { ac_status=$?; continue; }
1633 # Check for guested configure.
1634 if test -f "$ac_srcdir/configure.gnu"; then
1636 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1637 elif test -f "$ac_srcdir/configure"; then
1639 $SHELL "$ac_srcdir/configure" --help=recursive
1641 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1643 cd "$ac_pwd" || { ac_status=$?; break; }
1647 test -n "$ac_init_help" && exit $ac_status
1648 if $ac_init_version; then
1651 generated by GNU Autoconf 2.62
1653 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1654 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1655 This configure script is free software; the Free Software Foundation
1656 gives unlimited permission to copy, distribute and modify it.
1660 cat >config.log <<_ACEOF
1661 This file contains any messages produced by compilers while
1662 running configure, to aid debugging if configure makes a mistake.
1664 It was created by $as_me, which was
1665 generated by GNU Autoconf 2.62. Invocation command line was
1677 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1678 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1679 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1680 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1681 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1683 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1684 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1686 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1687 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1688 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1689 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1690 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1691 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1692 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700 test -z "$as_dir" && as_dir=.
1701 $as_echo "PATH: $as_dir"
1717 # Keep a trace of the command line.
1718 # Strip out --no-create and --no-recursion so they do not pile up.
1719 # Strip out --silent because we don't want to record it for future runs.
1720 # Also quote any args containing shell meta-characters.
1721 # Make two passes to allow for proper duplicate-argument suppression.
1725 ac_must_keep_next=false
1731 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1732 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1733 | -silent | --silent | --silen | --sile | --sil)
1736 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1739 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1741 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1742 if test $ac_must_keep_next = true; then
1743 ac_must_keep_next=false # Got value, back to normal.
1746 *=* | --config-cache | -C | -disable-* | --disable-* \
1747 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1748 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1749 | -with-* | --with-* | -without-* | --without-* | --x)
1750 case "$ac_configure_args0 " in
1751 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1754 -* ) ac_must_keep_next=true ;;
1757 ac_configure_args="$ac_configure_args '$ac_arg'"
1762 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1763 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1765 # When interrupted or exit'd, cleanup temporary files, and complete
1766 # config.log. We remove comments because anyway the quotes in there
1767 # would cause problems or look ugly.
1768 # WARNING: Use '\'' to represent an apostrophe within the trap.
1769 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1770 trap 'exit_status=$?
1771 # Save into config.log some information that might help in debugging.
1776 ## ---------------- ##
1777 ## Cache variables. ##
1778 ## ---------------- ##
1781 # The following way of writing the cache mishandles newlines in values,
1783 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1784 eval ac_val=\$$ac_var
1788 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1789 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1792 _ | IFS | as_nl) ;; #(
1793 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1794 *) $as_unset $ac_var ;;
1799 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1800 *${as_nl}ac_space=\ *)
1802 "s/'\''/'\''\\\\'\'''\''/g;
1803 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1806 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1814 ## ----------------- ##
1815 ## Output variables. ##
1816 ## ----------------- ##
1819 for ac_var in $ac_subst_vars
1821 eval ac_val=\$$ac_var
1823 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1825 $as_echo "$ac_var='\''$ac_val'\''"
1829 if test -n "$ac_subst_files"; then
1831 ## ------------------- ##
1832 ## File substitutions. ##
1833 ## ------------------- ##
1836 for ac_var in $ac_subst_files
1838 eval ac_val=\$$ac_var
1840 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1842 $as_echo "$ac_var='\''$ac_val'\''"
1847 if test -s confdefs.h; then
1857 test "$ac_signal" != 0 &&
1858 $as_echo "$as_me: caught signal $ac_signal"
1859 $as_echo "$as_me: exit $exit_status"
1861 rm -f core *.core core.conftest.* &&
1862 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1865 for ac_signal in 1 2 13 15; do
1866 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1870 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1871 rm -f -r conftest* confdefs.h
1873 # Predefined preprocessor variables.
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_NAME "$PACKAGE_NAME"
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_STRING "$PACKAGE_STRING"
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1900 # Let the site file select an alternate cache file if it wants to.
1901 # Prefer an explicitly selected file to automatically selected ones.
1904 if test -n "$CONFIG_SITE"; then
1905 ac_site_file1=$CONFIG_SITE
1906 elif test "x$prefix" != xNONE; then
1907 ac_site_file1=$prefix/share/config.site
1908 ac_site_file2=$prefix/etc/config.site
1910 ac_site_file1=$ac_default_prefix/share/config.site
1911 ac_site_file2=$ac_default_prefix/etc/config.site
1913 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1915 test "x$ac_site_file" = xNONE && continue
1916 if test -r "$ac_site_file"; then
1917 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1918 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1919 sed 's/^/| /' "$ac_site_file" >&5
1924 if test -r "$cache_file"; then
1925 # Some versions of bash will fail to source /dev/null (special
1926 # files actually), so we avoid doing that.
1927 if test -f "$cache_file"; then
1928 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1929 $as_echo "$as_me: loading cache $cache_file" >&6;}
1931 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1932 *) . "./$cache_file";;
1936 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1937 $as_echo "$as_me: creating cache $cache_file" >&6;}
1941 # Check that the precious variables saved in the cache have kept the same
1943 ac_cache_corrupted=false
1944 for ac_var in $ac_precious_vars; do
1945 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1946 eval ac_new_set=\$ac_env_${ac_var}_set
1947 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1948 eval ac_new_val=\$ac_env_${ac_var}_value
1949 case $ac_old_set,$ac_new_set in
1951 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1952 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1953 ac_cache_corrupted=: ;;
1955 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1956 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1957 ac_cache_corrupted=: ;;
1960 if test "x$ac_old_val" != "x$ac_new_val"; then
1961 # differences in whitespace do not lead to failure.
1962 ac_old_val_w=`echo x
$ac_old_val`
1963 ac_new_val_w=`echo x
$ac_new_val`
1964 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1965 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1966 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1967 ac_cache_corrupted=:
1969 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1970 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1971 eval $ac_var=\$ac_old_val
1973 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1974 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1975 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1976 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1979 # Pass precious variables to config.status.
1980 if test "$ac_new_set" = set; then
1982 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1983 *) ac_arg=$ac_var=$ac_new_val ;;
1985 case " $ac_configure_args " in
1986 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1987 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1991 if $ac_cache_corrupted; then
1992 { $as_echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1993 $as_echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1994 { { $as_echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1995 $as_echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1996 { (exit 1); exit 1; }; }
2016 ac_cpp='$CPP $CPPFLAGS'
2017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2022 am__api_version='1.10'
2025 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2026 if test -f "$ac_dir/install-sh"; then
2028 ac_install_sh="$ac_aux_dir/install-sh -c"
2030 elif test -f "$ac_dir/install.sh"; then
2032 ac_install_sh="$ac_aux_dir/install.sh -c"
2034 elif test -f "$ac_dir/shtool"; then
2036 ac_install_sh="$ac_aux_dir/shtool install -c"
2040 if test -z "$ac_aux_dir"; then
2041 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2042 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2043 { (exit 1); exit 1; }; }
2046 # These three variables are undocumented and unsupported,
2047 # and are intended to be withdrawn in a future Autoconf release.
2048 # They can cause serious problems if a builder's source tree is in a directory
2049 # whose full name contains unusual characters.
2050 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2051 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2052 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2055 # Find a good install program. We prefer a C program (faster),
2056 # so one script is as good as another. But avoid the broken or
2057 # incompatible versions:
2058 # SysV /etc/install, /usr/sbin/install
2059 # SunOS /usr/etc/install
2060 # IRIX /sbin/install
2062 # AmigaOS /C/install, which installs bootblocks on floppy discs
2063 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2064 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2065 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2066 # OS/2's system install, which has a completely different semantic
2067 # ./install, which can be erroneously created by make from ./install.sh.
2068 # Reject install programs that cannot install multiple files.
2069 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2070 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2071 if test -z "$INSTALL"; then
2072 if test "${ac_cv_path_install+set}" = set; then
2073 $as_echo_n "(cached) " >&6
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 test -z "$as_dir" && as_dir=.
2080 # Account for people who put trailing slashes in PATH elements.
2082 ./ | .// | /cC/* | \
2083 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2084 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2087 # OSF1 and SCO ODT 3.0 have their own names for install.
2088 # Don't use installbsd from OSF since it installs stuff as root
2090 for ac_prog in ginstall scoinst install; do
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2093 if test $ac_prog = install &&
2094 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2095 # AIX install. It has an incompatible calling convention.
2097 elif test $ac_prog = install &&
2098 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2099 # program-specific install script used by HP pwplus--don't use.
2102 rm -rf conftest.one conftest.two conftest.dir
2103 echo one > conftest.one
2104 echo two > conftest.two
2106 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2107 test -s conftest.one && test -s conftest.two &&
2108 test -s conftest.dir/conftest.one &&
2109 test -s conftest.dir/conftest.two
2111 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2124 rm -rf conftest.one conftest.two conftest.dir
2127 if test "${ac_cv_path_install+set}" = set; then
2128 INSTALL=$ac_cv_path_install
2130 # As a last resort, use the slow shell script. Don't cache a
2131 # value for INSTALL within a source directory, because that will
2132 # break other packages using the cache if that directory is
2133 # removed, or if the value is a relative name.
2134 INSTALL=$ac_install_sh
2137 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2138 $as_echo "$INSTALL" >&6; }
2140 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2141 # It thinks the first close brace ends the variable substitution.
2142 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2144 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2146 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2148 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2149 $as_echo_n "checking whether build environment is sane... " >&6; }
2152 echo timestamp > conftest.file
2153 # Do `set' in a subshell so we don't clobber the current shell
's
2154 # arguments. Must try -L first in case configure is actually a
2155 # symlink; some systems play weird games with the mod time of symlinks
2156 # (eg FreeBSD returns the mod time of the symlink's containing
2159 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2160 if test "$*" = "X"; then
2162 set X
`ls -t $srcdir/configure conftest.file`
2165 if test "$*" != "X $srcdir/configure conftest.file" \
2166 && test "$*" != "X conftest.file $srcdir/configure"; then
2168 # If neither matched, then we have a broken ls. This can happen
2169 # if, for instance, CONFIG_SHELL is bash and it inherits a
2170 # broken ls alias from the environment. This has actually
2171 # happened. Such a system could not be considered "sane".
2172 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2173 alias in your environment" >&5
2174 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2175 alias in your environment" >&2;}
2176 { (exit 1); exit 1; }; }
2179 test "$2" = conftest.
file
2185 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2186 Check your system clock" >&5
2187 $as_echo "$as_me: error: newly created file is older than distributed files!
2188 Check your system clock" >&2;}
2189 { (exit 1); exit 1; }; }
2191 { $as_echo "$as_me:$LINENO: result: yes" >&5
2192 $as_echo "yes" >&6; }
2193 test "$program_prefix" != NONE
&&
2194 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2195 # Use a double $ so make ignores it.
2196 test "$program_suffix" != NONE
&&
2197 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2198 # Double any \ or $.
2199 # By default was `s,x,x', remove it if useless.
2200 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2201 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2203 # expand $ac_aux_dir to an absolute path
2204 am_aux_dir
=`cd $ac_aux_dir && pwd`
2206 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2207 # Use eval to expand $SHELL
2208 if eval "$MISSING --run true"; then
2209 am_missing_run
="$MISSING --run "
2212 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2213 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2216 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2217 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2218 if test -z "$MKDIR_P"; then
2219 if test "${ac_cv_path_mkdir+set}" = set; then
2220 $as_echo_n "(cached) " >&6
2222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2223 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2226 test -z "$as_dir" && as_dir
=.
2227 for ac_prog
in mkdir gmkdir
; do
2228 for ac_exec_ext
in '' $ac_executable_extensions; do
2229 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2230 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2231 'mkdir (GNU coreutils) '* | \
2232 'mkdir (coreutils) '* | \
2233 'mkdir (fileutils) '4.1*)
2234 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2244 if test "${ac_cv_path_mkdir+set}" = set; then
2245 MKDIR_P
="$ac_cv_path_mkdir -p"
2247 # As a last resort, use the slow shell script. Don't cache a
2248 # value for MKDIR_P within a source directory, because that will
2249 # break other packages using the cache if that directory is
2250 # removed, or if the value is a relative name.
2251 test -d .
/--version && rmdir .
/--version
2252 MKDIR_P
="$ac_install_sh -d"
2255 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2256 $as_echo "$MKDIR_P" >&6; }
2260 [\\/$
]* | ?
:[\\/]*) ;;
2261 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2264 for ac_prog
in gawk mawk nawk
awk
2266 # Extract the first word of "$ac_prog", so it can be a program name with args.
2267 set dummy
$ac_prog; ac_word
=$2
2268 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 $as_echo_n "checking for $ac_word... " >&6; }
2270 if test "${ac_cv_prog_AWK+set}" = set; then
2271 $as_echo_n "(cached) " >&6
2273 if test -n "$AWK"; then
2274 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2280 test -z "$as_dir" && as_dir
=.
2281 for ac_exec_ext
in '' $ac_executable_extensions; do
2282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283 ac_cv_prog_AWK
="$ac_prog"
2284 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 if test -n "$AWK"; then
2295 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2296 $as_echo "$AWK" >&6; }
2298 { $as_echo "$as_me:$LINENO: result: no" >&5
2299 $as_echo "no" >&6; }
2303 test -n "$AWK" && break
2306 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2307 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2309 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2310 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2311 $as_echo_n "(cached) " >&6
2313 cat >conftest.
make <<\_ACEOF
2316 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2318 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2319 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2321 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2323 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2327 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2328 { $as_echo "$as_me:$LINENO: result: yes" >&5
2329 $as_echo "yes" >&6; }
2332 { $as_echo "$as_me:$LINENO: result: no" >&5
2333 $as_echo "no" >&6; }
2334 SET_MAKE
="MAKE=${MAKE-make}"
2337 rm -rf .tst
2>/dev
/null
2338 mkdir .tst
2>/dev
/null
2339 if test -d .tst
; then
2344 rmdir .tst
2>/dev
/null
2346 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2347 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2348 # is not polluted with repeated "-I."
2349 am__isrc
=' -I$(srcdir)'
2350 # test to see if srcdir already configured
2351 if test -f $srcdir/config.status
; then
2352 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2353 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2354 { (exit 1); exit 1; }; }
2358 # test whether we have cygpath
2359 if test -z "$CYGPATH_W"; then
2360 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2361 CYGPATH_W
='cygpath -w'
2368 # Define the identity of the package.
2373 cat >>confdefs.h
<<_ACEOF
2374 #define PACKAGE "$PACKAGE"
2378 cat >>confdefs.h
<<_ACEOF
2379 #define VERSION "$VERSION"
2382 # Some tools Automake needs.
2384 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2387 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2390 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2393 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2396 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2398 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2400 # Installed binaries are usually stripped using `strip' when the user
2401 # run `make install-strip'. However `strip' might not be the right
2402 # tool to use in cross-compilation environments, therefore Automake
2403 # will honor the `STRIP' environment variable to overrule this program.
2404 if test "$cross_compiling" != no
; then
2405 if test -n "$ac_tool_prefix"; then
2406 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2407 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2408 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2409 $as_echo_n "checking for $ac_word... " >&6; }
2410 if test "${ac_cv_prog_STRIP+set}" = set; then
2411 $as_echo_n "(cached) " >&6
2413 if test -n "$STRIP"; then
2414 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2420 test -z "$as_dir" && as_dir
=.
2421 for ac_exec_ext
in '' $ac_executable_extensions; do
2422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2423 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2424 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2433 STRIP
=$ac_cv_prog_STRIP
2434 if test -n "$STRIP"; then
2435 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2436 $as_echo "$STRIP" >&6; }
2438 { $as_echo "$as_me:$LINENO: result: no" >&5
2439 $as_echo "no" >&6; }
2444 if test -z "$ac_cv_prog_STRIP"; then
2446 # Extract the first word of "strip", so it can be a program name with args.
2447 set dummy strip
; ac_word
=$2
2448 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2449 $as_echo_n "checking for $ac_word... " >&6; }
2450 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2451 $as_echo_n "(cached) " >&6
2453 if test -n "$ac_ct_STRIP"; then
2454 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2460 test -z "$as_dir" && as_dir
=.
2461 for ac_exec_ext
in '' $ac_executable_extensions; do
2462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2463 ac_cv_prog_ac_ct_STRIP
="strip"
2464 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2474 if test -n "$ac_ct_STRIP"; then
2475 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2476 $as_echo "$ac_ct_STRIP" >&6; }
2478 { $as_echo "$as_me:$LINENO: result: no" >&5
2479 $as_echo "no" >&6; }
2482 if test "x$ac_ct_STRIP" = x
; then
2485 case $cross_compiling:$ac_tool_warned in
2487 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2488 whose name does not start with the host triplet. If you think this
2489 configuration is useful to you, please write to autoconf@gnu.org." >&5
2490 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2491 whose name does not start with the host triplet. If you think this
2492 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2493 ac_tool_warned
=yes ;;
2498 STRIP
="$ac_cv_prog_STRIP"
2502 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2504 # We need awk for the "check" target. The system "awk" is bad on
2506 # Always define AMTAR for backward compatibility.
2508 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2510 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2516 ac_config_headers
="$ac_config_headers config.h"
2519 ac_cpp
='$CPP $CPPFLAGS'
2520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2523 if test -n "$ac_tool_prefix"; then
2524 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2525 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2526 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2527 $as_echo_n "checking for $ac_word... " >&6; }
2528 if test "${ac_cv_prog_CC+set}" = set; then
2529 $as_echo_n "(cached) " >&6
2531 if test -n "$CC"; then
2532 ac_cv_prog_CC
="$CC" # Let the user override the test.
2534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir
=.
2539 for ac_exec_ext
in '' $ac_executable_extensions; do
2540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2541 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2542 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 if test -n "$CC"; then
2553 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2554 $as_echo "$CC" >&6; }
2556 { $as_echo "$as_me:$LINENO: result: no" >&5
2557 $as_echo "no" >&6; }
2562 if test -z "$ac_cv_prog_CC"; then
2564 # Extract the first word of "gcc", so it can be a program name with args.
2565 set dummy gcc
; ac_word
=$2
2566 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2567 $as_echo_n "checking for $ac_word... " >&6; }
2568 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2569 $as_echo_n "(cached) " >&6
2571 if test -n "$ac_ct_CC"; then
2572 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir
=.
2579 for ac_exec_ext
in '' $ac_executable_extensions; do
2580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581 ac_cv_prog_ac_ct_CC
="gcc"
2582 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2592 if test -n "$ac_ct_CC"; then
2593 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2594 $as_echo "$ac_ct_CC" >&6; }
2596 { $as_echo "$as_me:$LINENO: result: no" >&5
2597 $as_echo "no" >&6; }
2600 if test "x$ac_ct_CC" = x
; then
2603 case $cross_compiling:$ac_tool_warned in
2605 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2606 whose name does not start with the host triplet. If you think this
2607 configuration is useful to you, please write to autoconf@gnu.org." >&5
2608 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2609 whose name does not start with the host triplet. If you think this
2610 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2611 ac_tool_warned
=yes ;;
2619 if test -z "$CC"; then
2620 if test -n "$ac_tool_prefix"; then
2621 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2622 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2623 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2624 $as_echo_n "checking for $ac_word... " >&6; }
2625 if test "${ac_cv_prog_CC+set}" = set; then
2626 $as_echo_n "(cached) " >&6
2628 if test -n "$CC"; then
2629 ac_cv_prog_CC
="$CC" # Let the user override the test.
2631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir
=.
2636 for ac_exec_ext
in '' $ac_executable_extensions; do
2637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2639 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 if test -n "$CC"; then
2650 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2651 $as_echo "$CC" >&6; }
2653 { $as_echo "$as_me:$LINENO: result: no" >&5
2654 $as_echo "no" >&6; }
2660 if test -z "$CC"; then
2661 # Extract the first word of "cc", so it can be a program name with args.
2662 set dummy cc
; ac_word
=$2
2663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if test "${ac_cv_prog_CC+set}" = set; then
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$CC"; then
2669 ac_cv_prog_CC
="$CC" # Let the user override the test.
2672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir
=.
2677 for ac_exec_ext
in '' $ac_executable_extensions; do
2678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2680 ac_prog_rejected
=yes
2684 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 if test $ac_prog_rejected = yes; then
2692 # We found a bogon in the path, so make sure we never use it.
2693 set dummy
$ac_cv_prog_CC
2695 if test $# != 0; then
2696 # We chose a different compiler from the bogus one.
2697 # However, it has the same basename, so the bogon will be chosen
2698 # first if we set CC to just the basename; use the full file name.
2700 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2706 if test -n "$CC"; then
2707 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2708 $as_echo "$CC" >&6; }
2710 { $as_echo "$as_me:$LINENO: result: no" >&5
2711 $as_echo "no" >&6; }
2716 if test -z "$CC"; then
2717 if test -n "$ac_tool_prefix"; then
2718 for ac_prog
in cl.exe
2720 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2721 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2722 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if test "${ac_cv_prog_CC+set}" = set; then
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$CC"; then
2728 ac_cv_prog_CC
="$CC" # Let the user override the test.
2730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir
=.
2735 for ac_exec_ext
in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2738 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 if test -n "$CC"; then
2749 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2750 $as_echo "$CC" >&6; }
2752 { $as_echo "$as_me:$LINENO: result: no" >&5
2753 $as_echo "no" >&6; }
2757 test -n "$CC" && break
2760 if test -z "$CC"; then
2762 for ac_prog
in cl.exe
2764 # Extract the first word of "$ac_prog", so it can be a program name with args.
2765 set dummy
$ac_prog; ac_word
=$2
2766 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$ac_ct_CC"; then
2772 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir
=.
2779 for ac_exec_ext
in '' $ac_executable_extensions; do
2780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2781 ac_cv_prog_ac_ct_CC
="$ac_prog"
2782 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2792 if test -n "$ac_ct_CC"; then
2793 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2794 $as_echo "$ac_ct_CC" >&6; }
2796 { $as_echo "$as_me:$LINENO: result: no" >&5
2797 $as_echo "no" >&6; }
2801 test -n "$ac_ct_CC" && break
2804 if test "x$ac_ct_CC" = x
; then
2807 case $cross_compiling:$ac_tool_warned in
2809 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2810 whose name does not start with the host triplet. If you think this
2811 configuration is useful to you, please write to autoconf@gnu.org." >&5
2812 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2813 whose name does not start with the host triplet. If you think this
2814 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2815 ac_tool_warned
=yes ;;
2824 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2825 See \`config.log' for more details." >&5
2826 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2827 See \`config.log' for more details." >&2;}
2828 { (exit 1); exit 1; }; }
2830 # Provide some information about the compiler.
2831 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2834 { (ac_try
="$ac_compiler --version >&5"
2836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2840 $as_echo "$ac_try_echo") >&5
2841 (eval "$ac_compiler --version >&5") 2>&5
2843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }
2845 { (ac_try="$ac_compiler -v >&5"
2847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2848 *) ac_try_echo
=$ac_try;;
2850 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2851 $as_echo "$ac_try_echo") >&5
2852 (eval "$ac_compiler -v >&5") 2>&5
2854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }
2856 { (ac_try
="$ac_compiler -V >&5"
2858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2859 *) ac_try_echo=$ac_try;;
2861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2862 $as_echo "$ac_try_echo") >&5
2863 (eval "$ac_compiler -V >&5") 2>&5
2865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866 (exit $ac_status); }
2868 cat >conftest.$ac_ext <<_ACEOF
2871 cat confdefs.h >>conftest.$ac_ext
2872 cat >>conftest.$ac_ext <<_ACEOF
2873 /* end confdefs.h. */
2883 ac_clean_files_save=$ac_clean_files
2884 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2885 # Try to create an executable without -o first, disregard a.out.
2886 # It will help us diagnose broken compilers, and finding out an intuition
2888 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2889 $as_echo_n "checking for C compiler default output file name... " >&6; }
2890 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2892 # The possible output files:
2893 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2896 for ac_file in $ac_files
2899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2900 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2905 if { (ac_try="$ac_link_default"
2907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2908 *) ac_try_echo
=$ac_try;;
2910 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2911 $as_echo "$ac_try_echo") >&5
2912 (eval "$ac_link_default") 2>&5
2914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; then
2916 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2917 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2918 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2919 # so that the user can short-circuit this test for compilers unknown to
2921 for ac_file
in $ac_files ''
2923 test -f "$ac_file" ||
continue
2925 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2928 # We found the default executable, but exeext='' is most
2932 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2934 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2936 # We set ac_cv_exeext here because the later test for it is not
2937 # safe: cross compilers may not add the suffix if given an `-o'
2938 # argument, so we may need to know it at that point already.
2939 # Even if this section looks crufty: it has the advantage of
2946 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2952 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2953 $as_echo "$ac_file" >&6; }
2954 if test -z "$ac_file"; then
2955 $as_echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.
$ac_ext >&5
2958 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2959 See \`config.log' for more details." >&5
2960 $as_echo "$as_me: error: C compiler cannot create executables
2961 See \`config.log' for more details." >&2;}
2962 { (exit 77); exit 77; }; }
2965 ac_exeext
=$ac_cv_exeext
2967 # Check that the compiler produces executables we can run. If not, either
2968 # the compiler is broken, or we cross compile.
2969 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2970 $as_echo_n "checking whether the C compiler works... " >&6; }
2971 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2972 # If not cross compiling, check that we can run a simple program.
2973 if test "$cross_compiling" != yes; then
2974 if { ac_try
='./$ac_file'
2975 { (case "(($ac_try" in
2976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2980 $as_echo "$ac_try_echo") >&5
2981 (eval "$ac_try") 2>&5
2983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); }; }; then
2987 if test "$cross_compiling" = maybe; then
2990 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2991 If you meant to cross compile, use \`--host'.
2992 See \`config.log' for more details.
" >&5
2993 $as_echo "$as_me: error
: cannot run C compiled programs.
2994 If you meant to cross compile
, use \
`--host'.
2995 See \`config.log
' for more details." >&2;}
2996 { (exit 1); exit 1; }; }
3000 { $as_echo "$as_me:$LINENO: result: yes" >&5
3001 $as_echo "yes" >&6; }
3003 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3004 ac_clean_files=$ac_clean_files_save
3005 # Check that the compiler produces executables we can run. If not, either
3006 # the compiler is broken, or we cross compile.
3007 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3008 $as_echo_n "checking whether we are cross compiling... " >&6; }
3009 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3010 $as_echo "$cross_compiling" >&6; }
3012 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3013 $as_echo_n "checking for suffix of executables... " >&6; }
3014 if { (ac_try="$ac_link"
3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017 *) ac_try_echo=$ac_try;;
3019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3020 $as_echo "$ac_try_echo") >&5
3021 (eval "$ac_link") 2>&5
3023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); }; then
3025 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3026 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3027 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3029 for ac_file
in conftest.exe conftest conftest.
*; do
3030 test -f "$ac_file" ||
continue
3032 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3033 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3039 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3040 See \`config.log' for more details." >&5
3041 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3042 See \`config.log' for more details." >&2;}
3043 { (exit 1); exit 1; }; }
3046 rm -f conftest
$ac_cv_exeext
3047 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3048 $as_echo "$ac_cv_exeext" >&6; }
3050 rm -f conftest.
$ac_ext
3051 EXEEXT
=$ac_cv_exeext
3053 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3054 $as_echo_n "checking for suffix of object files... " >&6; }
3055 if test "${ac_cv_objext+set}" = set; then
3056 $as_echo_n "(cached) " >&6
3058 cat >conftest.
$ac_ext <<_ACEOF
3061 cat confdefs.h
>>conftest.
$ac_ext
3062 cat >>conftest.
$ac_ext <<_ACEOF
3063 /* end confdefs.h. */
3073 rm -f conftest.o conftest.obj
3074 if { (ac_try
="$ac_compile"
3076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3080 $as_echo "$ac_try_echo") >&5
3081 (eval "$ac_compile") 2>&5
3083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); }; then
3085 for ac_file in conftest.o conftest.obj conftest.*; do
3086 test -f "$ac_file" || continue;
3088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3089 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3094 $as_echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3097 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3098 See \`config.log
' for more details." >&5
3099 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3100 See \`config.log' for more details.
" >&2;}
3101 { (exit 1); exit 1; }; }
3104 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3106 { $as_echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3107 $as_echo "$ac_cv_objext" >&6; }
3108 OBJEXT=$ac_cv_objext
3110 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3111 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3112 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3113 $as_echo_n "(cached
) " >&6
3115 cat >conftest.$ac_ext <<_ACEOF
3118 cat confdefs.h >>conftest.$ac_ext
3119 cat >>conftest.$ac_ext <<_ACEOF
3120 /* end confdefs.h. */
3133 rm -f conftest.$ac_objext
3134 if { (ac_try="$ac_compile"
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3139 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3140 $as_echo "$ac_try_echo") >&5
3141 (eval "$ac_compile") 2>conftest.er1
3143 grep -v '^ *+' conftest.er1 >conftest.err
3145 cat conftest.err >&5
3146 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3147 (exit $ac_status); } && {
3148 test -z "$ac_c_werror_flag" ||
3149 test ! -s conftest.err
3150 } && test -s conftest.$ac_objext; then
3153 $as_echo "$as_me: failed program was
:" >&5
3154 sed 's/^/| /' conftest.$ac_ext >&5
3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3160 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3163 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3164 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3165 if test $ac_compiler_gnu = yes; then
3170 ac_test_CFLAGS=${CFLAGS+set}
3171 ac_save_CFLAGS=$CFLAGS
3172 { $as_echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3173 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3174 if test "${ac_cv_prog_cc_g+set}" = set; then
3175 $as_echo_n "(cached
) " >&6
3177 ac_save_c_werror_flag=$ac_c_werror_flag
3178 ac_c_werror_flag=yes
3181 cat >conftest.$ac_ext <<_ACEOF
3184 cat confdefs.h >>conftest.$ac_ext
3185 cat >>conftest.$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3196 rm -f conftest.$ac_objext
3197 if { (ac_try="$ac_compile"
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3203 $as_echo "$ac_try_echo") >&5
3204 (eval "$ac_compile") 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3210 (exit $ac_status); } && {
3211 test -z "$ac_c_werror_flag" ||
3212 test ! -s conftest.err
3213 } && test -s conftest.$ac_objext; then
3216 $as_echo "$as_me: failed program was
:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3220 cat >conftest.$ac_ext <<_ACEOF
3223 cat confdefs.h >>conftest.$ac_ext
3224 cat >>conftest.$ac_ext <<_ACEOF
3225 /* end confdefs.h. */
3235 rm -f conftest.$ac_objext
3236 if { (ac_try="$ac_compile"
3238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3241 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3242 $as_echo "$ac_try_echo") >&5
3243 (eval "$ac_compile") 2>conftest.er1
3245 grep -v '^ *+' conftest.er1 >conftest.err
3247 cat conftest.err >&5
3248 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3249 (exit $ac_status); } && {
3250 test -z "$ac_c_werror_flag" ||
3251 test ! -s conftest.err
3252 } && test -s conftest.$ac_objext; then
3255 $as_echo "$as_me: failed program was
:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3258 ac_c_werror_flag=$ac_save_c_werror_flag
3260 cat >conftest.$ac_ext <<_ACEOF
3263 cat confdefs.h >>conftest.$ac_ext
3264 cat >>conftest.$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3275 rm -f conftest.$ac_objext
3276 if { (ac_try="$ac_compile"
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3281 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3282 $as_echo "$ac_try_echo") >&5
3283 (eval "$ac_compile") 2>conftest.er1
3285 grep -v '^ *+' conftest.er1 >conftest.err
3287 cat conftest.err >&5
3288 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3289 (exit $ac_status); } && {
3290 test -z "$ac_c_werror_flag" ||
3291 test ! -s conftest.err
3292 } && test -s conftest.$ac_objext; then
3295 $as_echo "$as_me: failed program was
:" >&5
3296 sed 's/^/| /' conftest.$ac_ext >&5
3301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 ac_c_werror_flag=$ac_save_c_werror_flag
3310 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3311 $as_echo "$ac_cv_prog_cc_g" >&6; }
3312 if test "$ac_test_CFLAGS" = set; then
3313 CFLAGS=$ac_save_CFLAGS
3314 elif test $ac_cv_prog_cc_g = yes; then
3315 if test "$GCC" = yes; then
3321 if test "$GCC" = yes; then
3327 { $as_echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3328 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3329 if test "${ac_cv_prog_cc_c89+set}" = set; then
3330 $as_echo_n "(cached
) " >&6
3332 ac_cv_prog_cc_c89=no
3334 cat >conftest.$ac_ext <<_ACEOF
3337 cat confdefs.h >>conftest.$ac_ext
3338 cat >>conftest.$ac_ext <<_ACEOF
3339 /* end confdefs.h. */
3342 #include <sys/types.h>
3343 #include <sys/stat.h>
3344 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3345 struct buf { int x; };
3346 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3347 static char *e (p, i)
3353 static char *f (char * (*g) (char **, int), char **p, ...)
3358 s = g (p, va_arg (v,int));
3363 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3364 function prototypes and stuff, but not '\xHH' hex character constants.
3365 These don't provoke an error unfortunately, instead are silently treated
3366 as 'x'. The following induces an error, until -std is added to get
3367 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3368 array size at least. It's necessary to write '\x00'==0 to get something
3369 that's true only with -std. */
3370 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3372 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3373 inside strings and character constants. */
3375 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3377 int test (int i, double x);
3378 struct s1 {int (*f) (int a);};
3379 struct s2 {int (*f) (double a);};
3380 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3386 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3391 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3392 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3394 CC="$ac_save_CC $ac_arg"
3395 rm -f conftest.$ac_objext
3396 if { (ac_try="$ac_compile"
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3401 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3402 $as_echo "$ac_try_echo") >&5
3403 (eval "$ac_compile") 2>conftest.er1
3405 grep -v '^ *+' conftest.er1 >conftest.err
3407 cat conftest.err >&5
3408 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3409 (exit $ac_status); } && {
3410 test -z "$ac_c_werror_flag" ||
3411 test ! -s conftest.err
3412 } && test -s conftest.$ac_objext; then
3413 ac_cv_prog_cc_c89=$ac_arg
3415 $as_echo "$as_me: failed program was
:" >&5
3416 sed 's/^/| /' conftest.$ac_ext >&5
3421 rm -f core conftest.err conftest.$ac_objext
3422 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3424 rm -f conftest.$ac_ext
3429 case "x
$ac_cv_prog_cc_c89" in
3431 { $as_echo "$as_me:$LINENO: result
: none needed
" >&5
3432 $as_echo "none needed
" >&6; } ;;
3434 { $as_echo "$as_me:$LINENO: result
: unsupported
" >&5
3435 $as_echo "unsupported
" >&6; } ;;
3437 CC="$CC $ac_cv_prog_cc_c89"
3438 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3439 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3444 ac_cpp='$CPP $CPPFLAGS'
3445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3448 DEPDIR="${am__leading_dot}deps
"
3450 ac_config_commands="$ac_config_commands depfiles
"
3453 am_make=${MAKE-make}
3454 cat > confinc << 'END'
3459 # If we don't find an include directive, just comment out the code.
3460 { $as_echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3461 $as_echo_n "checking
for style of include used by
$am_make...
" >&6; }
3465 # First try GNU make style include.
3466 echo "include confinc" > confmf
3467 # We grep out `Entering directory' and `Leaving directory'
3468 # messages which can occur if `w' ends up in MAKEFLAGS.
3469 # In particular we don't look at `^make:' because GNU make might
3470 # be invoked under some other name (usually "gmake"), in which
3471 # case it prints its new name instead of `make'.
3472 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3477 # Now try BSD make style include.
3478 if test "$am__include" = "#"; then
3479 echo '.include "confinc"' > confmf
3480 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3481 am__include
=.include
3488 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3489 $as_echo "$_am_result" >&6; }
3490 rm -f confinc confmf
3492 # Check whether --enable-dependency-tracking was given.
3493 if test "${enable_dependency_tracking+set}" = set; then
3494 enableval
=$enable_dependency_tracking;
3497 if test "x$enable_dependency_tracking" != xno
; then
3498 am_depcomp
="$ac_aux_dir/depcomp"
3501 if test "x$enable_dependency_tracking" != xno; then
3511 depcc
="$CC" am_compiler_list
=
3513 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3514 $as_echo_n "checking dependency style of $depcc... " >&6; }
3515 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3516 $as_echo_n "(cached) " >&6
3518 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3519 # We make a subdir and do the tests there. Otherwise we can end up
3520 # making bogus files that we don't know about and never remove. For
3521 # instance it was reported that on HP-UX the gcc test will end up
3522 # making a dummy file named `D' -- because `-MD' means `put the output
3525 # Copy depcomp to subdir because otherwise we won't find it if we're
3526 # using a relative directory.
3527 cp "$am_depcomp" conftest.dir
3529 # We will build objects and dependencies in a subdirectory because
3530 # it helps to detect inapplicable dependency modes. For instance
3531 # both Tru64's cc and ICC support -MD to output dependencies as a
3532 # side effect of compilation, but ICC will put the dependencies in
3533 # the current directory while Tru64 will put them in the object
3537 am_cv_CC_dependencies_compiler_type
=none
3538 if test "$am_compiler_list" = ""; then
3539 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3541 for depmode
in $am_compiler_list; do
3542 # Setup a source with many dependencies, because some compilers
3543 # like to wrap large dependency lists on column 80 (with \), and
3544 # we should not choose a depcomp mode which is confused by this.
3546 # We need to recreate these files for each test, as the compiler may
3547 # overwrite some of them when testing with obscure command lines.
3548 # This happens at least with the AIX C compiler.
3550 for i
in 1 2 3 4 5 6; do
3551 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3552 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3553 # Solaris 8's {/usr,}/bin/sh.
3554 touch sub
/conftst
$i.h
3556 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3560 # after this tag, mechanisms are not by side-effect, so they'll
3561 # only be used when explicitly requested
3562 if test "x$enable_dependency_tracking" = xyes
; then
3570 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3571 # mode. It turns out that the SunPro C++ compiler does not properly
3572 # handle `-M -o', and we need to detect this.
3573 if depmode
=$depmode \
3574 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3575 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3576 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3577 >/dev
/null
2>conftest.err
&&
3578 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3579 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3580 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3581 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3582 # icc doesn't choke on unknown options, it will just issue warnings
3583 # or remarks (even with -Werror). So we grep stderr for any message
3584 # that says an option was ignored or not supported.
3585 # When given -MP, icc 7.0 and 7.1 complain thusly:
3586 # icc: Command line warning: ignoring option '-M'; no argument required
3587 # The diagnosis changed in icc 8.0:
3588 # icc: Command line remark: option '-MP' not supported
3589 if (grep 'ignoring option' conftest.err ||
3590 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3591 am_cv_CC_dependencies_compiler_type
=$depmode
3600 am_cv_CC_dependencies_compiler_type
=none
3604 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3605 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3606 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3609 test "x$enable_dependency_tracking" != xno \
3610 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3612 am__fastdepCC_FALSE
='#'
3614 am__fastdepCC_TRUE
='#'
3615 am__fastdepCC_FALSE
=
3620 ac_cpp
='$CXXCPP $CPPFLAGS'
3621 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3622 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3623 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3624 if test -z "$CXX"; then
3625 if test -n "$CCC"; then
3628 if test -n "$ac_tool_prefix"; then
3629 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3632 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3633 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3634 $as_echo_n "checking for $ac_word... " >&6; }
3635 if test "${ac_cv_prog_CXX+set}" = set; then
3636 $as_echo_n "(cached) " >&6
3638 if test -n "$CXX"; then
3639 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3645 test -z "$as_dir" && as_dir
=.
3646 for ac_exec_ext
in '' $ac_executable_extensions; do
3647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3648 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3649 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3659 if test -n "$CXX"; then
3660 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3661 $as_echo "$CXX" >&6; }
3663 { $as_echo "$as_me:$LINENO: result: no" >&5
3664 $as_echo "no" >&6; }
3668 test -n "$CXX" && break
3671 if test -z "$CXX"; then
3673 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3675 # Extract the first word of "$ac_prog", so it can be a program name with args.
3676 set dummy
$ac_prog; ac_word
=$2
3677 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3680 $as_echo_n "(cached) " >&6
3682 if test -n "$ac_ct_CXX"; then
3683 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3689 test -z "$as_dir" && as_dir
=.
3690 for ac_exec_ext
in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3693 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3703 if test -n "$ac_ct_CXX"; then
3704 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3705 $as_echo "$ac_ct_CXX" >&6; }
3707 { $as_echo "$as_me:$LINENO: result: no" >&5
3708 $as_echo "no" >&6; }
3712 test -n "$ac_ct_CXX" && break
3715 if test "x$ac_ct_CXX" = x
; then
3718 case $cross_compiling:$ac_tool_warned in
3720 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3721 whose name does not start with the host triplet. If you think this
3722 configuration is useful to you, please write to autoconf@gnu.org." >&5
3723 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3724 whose name does not start with the host triplet. If you think this
3725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3726 ac_tool_warned
=yes ;;
3734 # Provide some information about the compiler.
3735 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3738 { (ac_try
="$ac_compiler --version >&5"
3740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3741 *) ac_try_echo=$ac_try;;
3743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3744 $as_echo "$ac_try_echo") >&5
3745 (eval "$ac_compiler --version >&5") 2>&5
3747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); }
3749 { (ac_try="$ac_compiler -v >&5"
3751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3752 *) ac_try_echo
=$ac_try;;
3754 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3755 $as_echo "$ac_try_echo") >&5
3756 (eval "$ac_compiler -v >&5") 2>&5
3758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); }
3760 { (ac_try
="$ac_compiler -V >&5"
3762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3763 *) ac_try_echo=$ac_try;;
3765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3766 $as_echo "$ac_try_echo") >&5
3767 (eval "$ac_compiler -V >&5") 2>&5
3769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); }
3772 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3773 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3774 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3775 $as_echo_n "(cached) " >&6
3777 cat >conftest.$ac_ext <<_ACEOF
3780 cat confdefs.h >>conftest.$ac_ext
3781 cat >>conftest.$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3795 rm -f conftest.$ac_objext
3796 if { (ac_try="$ac_compile"
3798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3799 *) ac_try_echo
=$ac_try;;
3801 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3802 $as_echo "$ac_try_echo") >&5
3803 (eval "$ac_compile") 2>conftest.er1
3805 grep -v '^ *+' conftest.er1
>conftest.err
3807 cat conftest.err
>&5
3808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } && {
3810 test -z "$ac_cxx_werror_flag" ||
3811 test ! -s conftest.err
3812 } && test -s conftest.
$ac_objext; then
3815 $as_echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.
$ac_ext >&5
3821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3822 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3825 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3826 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3827 if test $ac_compiler_gnu = yes; then
3832 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3833 ac_save_CXXFLAGS
=$CXXFLAGS
3834 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3835 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3836 if test "${ac_cv_prog_cxx_g+set}" = set; then
3837 $as_echo_n "(cached) " >&6
3839 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3840 ac_cxx_werror_flag
=yes
3843 cat >conftest.
$ac_ext <<_ACEOF
3846 cat confdefs.h
>>conftest.
$ac_ext
3847 cat >>conftest.
$ac_ext <<_ACEOF
3848 /* end confdefs.h. */
3858 rm -f conftest.
$ac_objext
3859 if { (ac_try
="$ac_compile"
3861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3865 $as_echo "$ac_try_echo") >&5
3866 (eval "$ac_compile") 2>conftest.er1
3868 grep -v '^ *+' conftest.er1 >conftest.err
3870 cat conftest.err >&5
3871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); } && {
3873 test -z "$ac_cxx_werror_flag" ||
3874 test ! -s conftest.err
3875 } && test -s conftest.$ac_objext; then
3876 ac_cv_prog_cxx_g=yes
3878 $as_echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.$ac_ext >&5
3882 cat >conftest.$ac_ext <<_ACEOF
3885 cat confdefs.h >>conftest.$ac_ext
3886 cat >>conftest.$ac_ext <<_ACEOF
3887 /* end confdefs.h. */
3897 rm -f conftest.$ac_objext
3898 if { (ac_try="$ac_compile"
3900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3901 *) ac_try_echo
=$ac_try;;
3903 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3904 $as_echo "$ac_try_echo") >&5
3905 (eval "$ac_compile") 2>conftest.er1
3907 grep -v '^ *+' conftest.er1
>conftest.err
3909 cat conftest.err
>&5
3910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); } && {
3912 test -z "$ac_cxx_werror_flag" ||
3913 test ! -s conftest.err
3914 } && test -s conftest.
$ac_objext; then
3917 $as_echo "$as_me: failed program was:" >&5
3918 sed 's/^/| /' conftest.
$ac_ext >&5
3920 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3922 cat >conftest.
$ac_ext <<_ACEOF
3925 cat confdefs.h
>>conftest.
$ac_ext
3926 cat >>conftest.
$ac_ext <<_ACEOF
3927 /* end confdefs.h. */
3937 rm -f conftest.
$ac_objext
3938 if { (ac_try
="$ac_compile"
3940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3944 $as_echo "$ac_try_echo") >&5
3945 (eval "$ac_compile") 2>conftest.er1
3947 grep -v '^ *+' conftest.er1 >conftest.err
3949 cat conftest.err >&5
3950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); } && {
3952 test -z "$ac_cxx_werror_flag" ||
3953 test ! -s conftest.err
3954 } && test -s conftest.$ac_objext; then
3955 ac_cv_prog_cxx_g=yes
3957 $as_echo "$as_me: failed program was:" >&5
3958 sed 's/^/| /' conftest.$ac_ext >&5
3963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3970 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3972 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3973 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3974 if test "$ac_test_CXXFLAGS" = set; then
3975 CXXFLAGS=$ac_save_CXXFLAGS
3976 elif test $ac_cv_prog_cxx_g = yes; then
3977 if test "$GXX" = yes; then
3983 if test "$GXX" = yes; then
3990 ac_cpp='$CPP $CPPFLAGS'
3991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3995 depcc="$CXX" am_compiler_list=
3997 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3998 $as_echo_n "checking dependency style of $depcc... " >&6; }
3999 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4000 $as_echo_n "(cached) " >&6
4002 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4003 # We make a subdir and do the tests there. Otherwise we can end up
4004 # making bogus files that we don't know about and never remove. For
4005 # instance it was reported that on HP-UX the gcc test will end up
4006 # making a dummy file named `D
' -- because `-MD' means
`put the output
4009 # Copy depcomp to subdir because otherwise we won't find it if we're
4010 # using a relative directory.
4011 cp "$am_depcomp" conftest.dir
4013 # We will build objects and dependencies in a subdirectory because
4014 # it helps to detect inapplicable dependency modes. For instance
4015 # both Tru64's cc and ICC support -MD to output dependencies as a
4016 # side effect of compilation, but ICC will put the dependencies in
4017 # the current directory while Tru64 will put them in the object
4021 am_cv_CXX_dependencies_compiler_type=none
4022 if test "$am_compiler_list" = ""; then
4023 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4025 for depmode in $am_compiler_list; do
4026 # Setup a source with many dependencies, because some compilers
4027 # like to wrap large dependency lists on column 80 (with \), and
4028 # we should not choose a depcomp mode which is confused by this.
4030 # We need to recreate these files for each test, as the compiler may
4031 # overwrite some of them when testing with obscure command lines.
4032 # This happens at least with the AIX C compiler.
4034 for i in 1 2 3 4 5 6; do
4035 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4036 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4037 # Solaris 8's
{/usr
,}/bin
/sh.
4038 touch sub
/conftst
$i.h
4040 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4044 # after this tag, mechanisms are not by side-effect, so they'll
4045 # only be used when explicitly requested
4046 if test "x$enable_dependency_tracking" = xyes
; then
4054 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4055 # mode. It turns out that the SunPro C++ compiler does not properly
4056 # handle `-M -o', and we need to detect this.
4057 if depmode
=$depmode \
4058 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4059 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4060 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4061 >/dev
/null
2>conftest.err
&&
4062 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4063 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4064 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4065 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4066 # icc doesn't choke on unknown options, it will just issue warnings
4067 # or remarks (even with -Werror). So we grep stderr for any message
4068 # that says an option was ignored or not supported.
4069 # When given -MP, icc 7.0 and 7.1 complain thusly:
4070 # icc: Command line warning: ignoring option '-M'; no argument required
4071 # The diagnosis changed in icc 8.0:
4072 # icc: Command line remark: option '-MP' not supported
4073 if (grep 'ignoring option' conftest.err ||
4074 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4075 am_cv_CXX_dependencies_compiler_type
=$depmode
4084 am_cv_CXX_dependencies_compiler_type
=none
4088 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4089 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4090 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4093 test "x$enable_dependency_tracking" != xno \
4094 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4095 am__fastdepCXX_TRUE
=
4096 am__fastdepCXX_FALSE
='#'
4098 am__fastdepCXX_TRUE
='#'
4099 am__fastdepCXX_FALSE
=
4103 # Find a good install program. We prefer a C program (faster),
4104 # so one script is as good as another. But avoid the broken or
4105 # incompatible versions:
4106 # SysV /etc/install, /usr/sbin/install
4107 # SunOS /usr/etc/install
4108 # IRIX /sbin/install
4110 # AmigaOS /C/install, which installs bootblocks on floppy discs
4111 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4112 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4113 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4114 # OS/2's system install, which has a completely different semantic
4115 # ./install, which can be erroneously created by make from ./install.sh.
4116 # Reject install programs that cannot install multiple files.
4117 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4118 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4119 if test -z "$INSTALL"; then
4120 if test "${ac_cv_path_install+set}" = set; then
4121 $as_echo_n "(cached) " >&6
4123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4127 test -z "$as_dir" && as_dir
=.
4128 # Account for people who put trailing slashes in PATH elements.
4130 .
/ | .
// |
/cC
/* | \
4131 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4132 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4135 # OSF1 and SCO ODT 3.0 have their own names for install.
4136 # Don't use installbsd from OSF since it installs stuff as root
4138 for ac_prog
in ginstall scoinst
install; do
4139 for ac_exec_ext
in '' $ac_executable_extensions; do
4140 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4141 if test $ac_prog = install &&
4142 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4143 # AIX install. It has an incompatible calling convention.
4145 elif test $ac_prog = install &&
4146 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4147 # program-specific install script used by HP pwplus--don't use.
4150 rm -rf conftest.one conftest.two conftest.dir
4151 echo one
> conftest.one
4152 echo two
> conftest.two
4154 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4155 test -s conftest.one
&& test -s conftest.two
&&
4156 test -s conftest.dir
/conftest.one
&&
4157 test -s conftest.dir
/conftest.two
4159 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4172 rm -rf conftest.one conftest.two conftest.dir
4175 if test "${ac_cv_path_install+set}" = set; then
4176 INSTALL
=$ac_cv_path_install
4178 # As a last resort, use the slow shell script. Don't cache a
4179 # value for INSTALL within a source directory, because that will
4180 # break other packages using the cache if that directory is
4181 # removed, or if the value is a relative name.
4182 INSTALL
=$ac_install_sh
4185 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4186 $as_echo "$INSTALL" >&6; }
4188 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4189 # It thinks the first close brace ends the variable substitution.
4190 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4192 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4194 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4196 # Check whether --enable-shared was given.
4197 if test "${enable_shared+set}" = set; then
4198 enableval
=$enable_shared; p
=${PACKAGE-default}
4200 yes) enable_shared
=yes ;;
4201 no
) enable_shared
=no
;;
4204 # Look at the argument we got. We use all the common list separators.
4205 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4206 for pkg
in $enableval; do
4208 if test "X$pkg" = "X$p"; then
4220 # Check whether --enable-static was given.
4221 if test "${enable_static+set}" = set; then
4222 enableval
=$enable_static; p
=${PACKAGE-default}
4224 yes) enable_static
=yes ;;
4225 no
) enable_static
=no
;;
4228 # Look at the argument we got. We use all the common list separators.
4229 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4230 for pkg
in $enableval; do
4232 if test "X$pkg" = "X$p"; then
4244 # Check whether --enable-fast-install was given.
4245 if test "${enable_fast_install+set}" = set; then
4246 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4248 yes) enable_fast_install
=yes ;;
4249 no
) enable_fast_install
=no
;;
4251 enable_fast_install
=no
4252 # Look at the argument we got. We use all the common list separators.
4253 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4254 for pkg
in $enableval; do
4256 if test "X$pkg" = "X$p"; then
4257 enable_fast_install
=yes
4264 enable_fast_install
=yes
4268 # Make sure we can run config.sub.
4269 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4270 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4271 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4272 { (exit 1); exit 1; }; }
4274 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4275 $as_echo_n "checking build system type... " >&6; }
4276 if test "${ac_cv_build+set}" = set; then
4277 $as_echo_n "(cached) " >&6
4279 ac_build_alias
=$build_alias
4280 test "x$ac_build_alias" = x
&&
4281 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4282 test "x$ac_build_alias" = x
&&
4283 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4284 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4285 { (exit 1); exit 1; }; }
4286 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4287 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4288 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4289 { (exit 1); exit 1; }; }
4292 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4293 $as_echo "$ac_cv_build" >&6; }
4294 case $ac_cv_build in
4296 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4297 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4298 { (exit 1); exit 1; }; };;
4301 ac_save_IFS
=$IFS; IFS
='-'
4307 # Remember, the first character of IFS is used to create $*,
4308 # except with old shells:
4311 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4314 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4315 $as_echo_n "checking host system type... " >&6; }
4316 if test "${ac_cv_host+set}" = set; then
4317 $as_echo_n "(cached) " >&6
4319 if test "x$host_alias" = x
; then
4320 ac_cv_host
=$ac_cv_build
4322 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4323 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4324 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4325 { (exit 1); exit 1; }; }
4329 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4330 $as_echo "$ac_cv_host" >&6; }
4333 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4334 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4335 { (exit 1); exit 1; }; };;
4338 ac_save_IFS
=$IFS; IFS
='-'
4344 # Remember, the first character of IFS is used to create $*,
4345 # except with old shells:
4348 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4351 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4352 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4353 if test "${lt_cv_path_SED+set}" = set; then
4354 $as_echo_n "(cached) " >&6
4356 # Loop through the user's path and test for sed and gsed.
4357 # Then use that list of sed's as ones to test for truncation.
4358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4362 test -z "$as_dir" && as_dir
=.
4363 for lt_ac_prog
in sed gsed
; do
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4366 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4374 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4375 # along with /bin/sed that truncates output.
4376 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4377 test ! -f $lt_ac_sed && continue
4378 cat /dev
/null
> conftest.
in
4380 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4381 # Check for GNU sed and select it if it is found.
4382 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4383 lt_cv_path_SED
=$lt_ac_sed
4387 cat conftest.
in conftest.
in >conftest.tmp
4388 mv conftest.tmp conftest.
in
4389 cp conftest.
in conftest.
nl
4391 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4392 cmp -s conftest.out conftest.
nl ||
break
4393 # 10000 chars as input seems more than enough
4394 test $lt_ac_count -gt 10 && break
4395 lt_ac_count
=`expr $lt_ac_count + 1`
4396 if test $lt_ac_count -gt $lt_ac_max; then
4397 lt_ac_max
=$lt_ac_count
4398 lt_cv_path_SED
=$lt_ac_sed
4407 { $as_echo "$as_me:$LINENO: result: $SED" >&5
4408 $as_echo "$SED" >&6; }
4410 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4411 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4412 if test "${ac_cv_path_GREP+set}" = set; then
4413 $as_echo_n "(cached) " >&6
4415 if test -z "$GREP"; then
4416 ac_path_GREP_found
=false
4417 # Loop through the user's path and test for each of PROGNAME-LIST
4418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4419 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4422 test -z "$as_dir" && as_dir
=.
4423 for ac_prog
in grep ggrep
; do
4424 for ac_exec_ext
in '' $ac_executable_extensions; do
4425 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4426 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4427 # Check for GNU ac_path_GREP and select it if it is found.
4428 # Check for GNU $ac_path_GREP
4429 case `"$ac_path_GREP" --version 2>&1` in
4431 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4434 $as_echo_n 0123456789 >"conftest.in"
4437 cat "conftest.in" "conftest.in" >"conftest.tmp"
4438 mv "conftest.tmp" "conftest.in"
4439 cp "conftest.in" "conftest.nl"
4440 $as_echo 'GREP' >> "conftest.nl"
4441 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4442 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4443 ac_count
=`expr $ac_count + 1`
4444 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4445 # Best one so far, save it but keep looking for a better one
4446 ac_cv_path_GREP
="$ac_path_GREP"
4447 ac_path_GREP_max
=$ac_count
4449 # 10*(2^10) chars as input seems more than enough
4450 test $ac_count -gt 10 && break
4452 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4455 $ac_path_GREP_found && break 3
4460 if test -z "$ac_cv_path_GREP"; then
4461 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4462 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4463 { (exit 1); exit 1; }; }
4466 ac_cv_path_GREP
=$GREP
4470 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4471 $as_echo "$ac_cv_path_GREP" >&6; }
4472 GREP
="$ac_cv_path_GREP"
4475 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4476 $as_echo_n "checking for egrep... " >&6; }
4477 if test "${ac_cv_path_EGREP+set}" = set; then
4478 $as_echo_n "(cached) " >&6
4480 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4481 then ac_cv_path_EGREP
="$GREP -E"
4483 if test -z "$EGREP"; then
4484 ac_path_EGREP_found
=false
4485 # Loop through the user's path and test for each of PROGNAME-LIST
4486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4487 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4490 test -z "$as_dir" && as_dir
=.
4491 for ac_prog
in egrep; do
4492 for ac_exec_ext
in '' $ac_executable_extensions; do
4493 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4494 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4495 # Check for GNU ac_path_EGREP and select it if it is found.
4496 # Check for GNU $ac_path_EGREP
4497 case `"$ac_path_EGREP" --version 2>&1` in
4499 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4502 $as_echo_n 0123456789 >"conftest.in"
4505 cat "conftest.in" "conftest.in" >"conftest.tmp"
4506 mv "conftest.tmp" "conftest.in"
4507 cp "conftest.in" "conftest.nl"
4508 $as_echo 'EGREP' >> "conftest.nl"
4509 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4510 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4511 ac_count
=`expr $ac_count + 1`
4512 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4513 # Best one so far, save it but keep looking for a better one
4514 ac_cv_path_EGREP
="$ac_path_EGREP"
4515 ac_path_EGREP_max
=$ac_count
4517 # 10*(2^10) chars as input seems more than enough
4518 test $ac_count -gt 10 && break
4520 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4523 $ac_path_EGREP_found && break 3
4528 if test -z "$ac_cv_path_EGREP"; then
4529 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4530 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4531 { (exit 1); exit 1; }; }
4534 ac_cv_path_EGREP
=$EGREP
4539 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4540 $as_echo "$ac_cv_path_EGREP" >&6; }
4541 EGREP
="$ac_cv_path_EGREP"
4545 # Check whether --with-gnu-ld was given.
4546 if test "${with_gnu_ld+set}" = set; then
4547 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4553 if test "$GCC" = yes; then
4554 # Check if gcc -print-prog-name=ld gives a path.
4555 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4556 $as_echo_n "checking for ld used by $CC... " >&6; }
4559 # gcc leaves a trailing carriage return which upsets mingw
4560 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4562 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4565 # Accept absolute paths.
4567 re_direlt
='/[^/][^/]*/\.\./'
4568 # Canonicalize the pathname of ld
4569 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4570 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4571 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4573 test -z "$LD" && LD
="$ac_prog"
4576 # If it fails, then pretend we aren't using GCC.
4580 # If it is relative, then search for the first ld in PATH.
4584 elif test "$with_gnu_ld" = yes; then
4585 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4586 $as_echo_n "checking for GNU ld... " >&6; }
4588 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4589 $as_echo_n "checking for non-GNU ld... " >&6; }
4591 if test "${lt_cv_path_LD+set}" = set; then
4592 $as_echo_n "(cached) " >&6
4594 if test -z "$LD"; then
4595 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4596 for ac_dir
in $PATH; do
4598 test -z "$ac_dir" && ac_dir
=.
4599 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4600 lt_cv_path_LD
="$ac_dir/$ac_prog"
4601 # Check to see if the program is GNU ld. I'd rather use --version,
4602 # but apparently some variants of GNU ld only accept -v.
4603 # Break only if it was the GNU/non-GNU ld that we prefer.
4604 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4605 *GNU
* |
*'with BFD'*)
4606 test "$with_gnu_ld" != no
&& break
4609 test "$with_gnu_ld" != yes && break
4616 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4621 if test -n "$LD"; then
4622 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4623 $as_echo "$LD" >&6; }
4625 { $as_echo "$as_me:$LINENO: result: no" >&5
4626 $as_echo "no" >&6; }
4628 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4629 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4630 { (exit 1); exit 1; }; }
4631 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4632 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4633 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4634 $as_echo_n "(cached) " >&6
4636 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4637 case `$LD -v 2>&1 </dev/null` in
4638 *GNU
* |
*'with BFD'*)
4639 lt_cv_prog_gnu_ld
=yes
4642 lt_cv_prog_gnu_ld
=no
4646 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4647 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4648 with_gnu_ld
=$lt_cv_prog_gnu_ld
4651 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4652 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4653 if test "${lt_cv_ld_reload_flag+set}" = set; then
4654 $as_echo_n "(cached) " >&6
4656 lt_cv_ld_reload_flag
='-r'
4658 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4659 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4660 reload_flag
=$lt_cv_ld_reload_flag
4661 case $reload_flag in
4663 *) reload_flag
=" $reload_flag" ;;
4665 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4668 if test "$GCC" = yes; then
4669 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4671 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4676 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4677 $as_echo_n "checking for BSD-compatible nm... " >&6; }
4678 if test "${lt_cv_path_NM+set}" = set; then
4679 $as_echo_n "(cached) " >&6
4681 if test -n "$NM"; then
4682 # Let the user override the test.
4685 lt_nm_to_check
="${ac_tool_prefix}nm"
4686 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4687 lt_nm_to_check
="$lt_nm_to_check nm"
4689 for lt_tmp_nm
in $lt_nm_to_check; do
4690 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4691 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4693 test -z "$ac_dir" && ac_dir
=.
4694 tmp_nm
="$ac_dir/$lt_tmp_nm"
4695 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4696 # Check to see if the nm accepts a BSD-compat flag.
4697 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4698 # nm: unknown option "B" ignored
4699 # Tru64's nm complains that /dev/null is an invalid object file
4700 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4701 */dev
/null
* |
*'Invalid file or object type'*)
4702 lt_cv_path_NM
="$tmp_nm -B"
4706 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4708 lt_cv_path_NM
="$tmp_nm -p"
4712 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4713 continue # so that we can try to find one that supports BSD flags
4722 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4725 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4726 $as_echo "$lt_cv_path_NM" >&6; }
4729 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4730 $as_echo_n "checking whether ln -s works... " >&6; }
4732 if test "$LN_S" = "ln -s"; then
4733 { $as_echo "$as_me:$LINENO: result: yes" >&5
4734 $as_echo "yes" >&6; }
4736 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4737 $as_echo "no, using $LN_S" >&6; }
4740 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4741 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4742 if test "${lt_cv_deplibs_check_method+set}" = set; then
4743 $as_echo_n "(cached) " >&6
4745 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4746 lt_cv_file_magic_test_file
=
4747 lt_cv_deplibs_check_method
='unknown'
4748 # Need to set the preceding variable on all platforms that support
4749 # interlibrary dependencies.
4750 # 'none' -- dependencies not supported.
4751 # `unknown' -- same as none, but documents that we really don't know.
4752 # 'pass_all' -- all dependencies passed with no checks.
4753 # 'test_compile' -- check by making test program.
4754 # 'file_magic [[regex]]' -- check by looking for files in library path
4755 # which responds to the $file_magic_cmd with a given extended regex.
4756 # If you have `file' or equivalent on your system and you're not sure
4757 # whether `pass_all' will *always* work, you probably want this one.
4761 lt_cv_deplibs_check_method
=pass_all
4765 lt_cv_deplibs_check_method
=pass_all
4769 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4770 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4771 lt_cv_file_magic_test_file
=/shlib
/libc.so
4775 # func_win32_libid is a shell function defined in ltmain.sh
4776 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4777 lt_cv_file_magic_cmd
='func_win32_libid'
4781 # Base MSYS/MinGW do not provide the 'file' command needed by
4782 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4783 # unless we find 'file', for example because we are cross-compiling.
4784 if ( file / ) >/dev
/null
2>&1; then
4785 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4786 lt_cv_file_magic_cmd
='func_win32_libid'
4788 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4789 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4793 darwin
* | rhapsody
*)
4794 lt_cv_deplibs_check_method
=pass_all
4797 freebsd
* | dragonfly
*)
4798 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4801 # Not sure whether the presence of OpenBSD here was a mistake.
4802 # Let's accept both of them until this is cleared up.
4803 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4804 lt_cv_file_magic_cmd
=/usr
/bin
/file
4805 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4809 lt_cv_deplibs_check_method
=pass_all
4814 lt_cv_deplibs_check_method
=pass_all
4817 hpux10.20
* | hpux11
*)
4818 lt_cv_file_magic_cmd
=/usr
/bin
/file
4821 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4822 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4825 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]'
4826 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4829 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4830 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4836 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4837 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4840 irix5
* | irix6
* | nonstopux
*)
4842 *-32|
*"-32 ") libmagic
=32-bit;;
4843 *-n32|
*"-n32 ") libmagic
=N32
;;
4844 *-64|
*"-64 ") libmagic
=64-bit;;
4845 *) libmagic
=never-match
;;
4847 lt_cv_deplibs_check_method
=pass_all
4850 # This must be Linux ELF.
4851 linux
* | k
*bsd
*-gnu)
4852 lt_cv_deplibs_check_method
=pass_all
4856 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4857 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4859 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4864 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4865 lt_cv_file_magic_cmd
=/usr
/bin
/file
4866 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4870 lt_cv_deplibs_check_method
=unknown
4874 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4875 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4877 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4881 osf3
* | osf4
* | osf5
*)
4882 lt_cv_deplibs_check_method
=pass_all
4886 lt_cv_deplibs_check_method
=pass_all
4890 lt_cv_deplibs_check_method
=pass_all
4894 case $host_vendor in
4896 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]'
4897 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4900 lt_cv_deplibs_check_method
=pass_all
4903 lt_cv_file_magic_cmd
='/bin/file'
4904 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4907 lt_cv_file_magic_cmd
='/bin/file'
4908 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4909 lt_cv_file_magic_test_file
=/lib
/libc.so
4912 lt_cv_deplibs_check_method
=pass_all
4915 lt_cv_deplibs_check_method
=pass_all
4920 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4921 lt_cv_deplibs_check_method
=pass_all
4926 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4927 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4928 file_magic_cmd
=$lt_cv_file_magic_cmd
4929 deplibs_check_method
=$lt_cv_deplibs_check_method
4930 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4935 # If no C compiler was specified, use CC.
4938 # If no C compiler flags were specified, use CFLAGS.
4939 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4941 # Allow CC to be a program name with arguments.
4945 # Check whether --enable-libtool-lock was given.
4946 if test "${enable_libtool_lock+set}" = set; then
4947 enableval
=$enable_libtool_lock;
4950 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4952 # Some flags need to be propagated to the compiler or linker for good
4956 # Find out which ABI we are using.
4957 echo 'int i;' > conftest.
$ac_ext
4958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4959 (eval $ac_compile) 2>&5
4961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); }; then
4963 case `/usr/bin/file conftest.$ac_objext` in
4975 # Find out which ABI we are using.
4976 echo '#line 4976 "configure"' > conftest.
$ac_ext
4977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4978 (eval $ac_compile) 2>&5
4980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); }; then
4982 if test "$lt_cv_prog_gnu_ld" = yes; then
4983 case `/usr/bin/file conftest.$ac_objext` in
4985 LD
="${LD-ld} -melf32bsmip"
4988 LD
="${LD-ld} -melf32bmipn32"
4991 LD
="${LD-ld} -melf64bmip"
4995 case `/usr/bin/file conftest.$ac_objext` in
5011 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5012 s390
*-*linux
*|sparc
*-*linux
*)
5013 # Find out which ABI we are using.
5014 echo 'int i;' > conftest.
$ac_ext
5015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5016 (eval $ac_compile) 2>&5
5018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; then
5020 case `/usr/bin/file conftest.o` in
5023 x86_64-
*kfreebsd
*-gnu)
5024 LD
="${LD-ld} -m elf_i386_fbsd"
5027 LD
="${LD-ld} -m elf_i386"
5029 ppc64-
*linux
*|powerpc64-
*linux
*)
5030 LD
="${LD-ld} -m elf32ppclinux"
5033 LD
="${LD-ld} -m elf_s390"
5036 LD
="${LD-ld} -m elf32_sparc"
5042 x86_64-
*kfreebsd
*-gnu)
5043 LD
="${LD-ld} -m elf_x86_64_fbsd"
5046 LD
="${LD-ld} -m elf_x86_64"
5048 ppc
*-*linux
*|powerpc
*-*linux
*)
5049 LD
="${LD-ld} -m elf64ppc"
5052 LD
="${LD-ld} -m elf64_s390"
5055 LD
="${LD-ld} -m elf64_sparc"
5065 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5066 SAVE_CFLAGS
="$CFLAGS"
5067 CFLAGS
="$CFLAGS -belf"
5068 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5069 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5070 if test "${lt_cv_cc_needs_belf+set}" = set; then
5071 $as_echo_n "(cached) " >&6
5074 ac_cpp
='$CPP $CPPFLAGS'
5075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5079 cat >conftest.
$ac_ext <<_ACEOF
5082 cat confdefs.h
>>conftest.
$ac_ext
5083 cat >>conftest.
$ac_ext <<_ACEOF
5084 /* end confdefs.h. */
5094 rm -f conftest.
$ac_objext conftest
$ac_exeext
5095 if { (ac_try
="$ac_link"
5097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5098 *) ac_try_echo=$ac_try;;
5100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5101 $as_echo "$ac_try_echo") >&5
5102 (eval "$ac_link") 2>conftest.er1
5104 grep -v '^ *+' conftest.er1 >conftest.err
5106 cat conftest.err >&5
5107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); } && {
5109 test -z "$ac_c_werror_flag" ||
5110 test ! -s conftest.err
5111 } && test -s conftest$ac_exeext && {
5112 test "$cross_compiling" = yes ||
5113 $as_test_x conftest$ac_exeext
5115 lt_cv_cc_needs_belf=yes
5117 $as_echo "$as_me: failed program was:" >&5
5118 sed 's/^/| /' conftest.$ac_ext >&5
5120 lt_cv_cc_needs_belf=no
5123 rm -rf conftest.dSYM
5124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5125 conftest$ac_exeext conftest.$ac_ext
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5133 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5134 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5135 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5136 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5137 CFLAGS="$SAVE_CFLAGS"
5141 # Find out which ABI we are using.
5142 echo 'int i;' > conftest.$ac_ext
5143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5144 (eval $ac_compile) 2>&5
5146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); }; then
5148 case `/usr
/bin
/file conftest.o
` in
5150 case $lt_cv_prog_gnu_ld in
5151 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5153 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5167 need_locks="$enable_libtool_lock"
5171 ac_cpp='$CPP $CPPFLAGS'
5172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5175 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5176 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5177 # On Suns, sometimes $CPP names a directory.
5178 if test -n "$CPP" && test -d "$CPP"; then
5181 if test -z "$CPP"; then
5182 if test "${ac_cv_prog_CPP+set}" = set; then
5183 $as_echo_n "(cached) " >&6
5185 # Double quotes because CPP needs to be expanded
5186 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5189 for ac_c_preproc_warn_flag in '' yes
5191 # Use a header file that comes with gcc, so configuring glibc
5192 # with a fresh cross-compiler works.
5193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5194 # <limits.h> exists even on freestanding compilers.
5195 # On the NeXT, cc -E runs the code through the compiler's parser,
5196 # not just through cpp. "Syntax error" is here to catch this case.
5197 cat >conftest.$ac_ext <<_ACEOF
5200 cat confdefs.h >>conftest.$ac_ext
5201 cat >>conftest.$ac_ext <<_ACEOF
5202 /* end confdefs.h. */
5204 # include <limits.h>
5206 # include <assert.h>
5210 if { (ac_try="$ac_cpp conftest.$ac_ext"
5212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5213 *) ac_try_echo
=$ac_try;;
5215 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5216 $as_echo "$ac_try_echo") >&5
5217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5219 grep -v '^ *+' conftest.er1
>conftest.err
5221 cat conftest.err
>&5
5222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); } >/dev
/null
&& {
5224 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5225 test ! -s conftest.err
5229 $as_echo "$as_me: failed program was:" >&5
5230 sed 's/^/| /' conftest.
$ac_ext >&5
5232 # Broken: fails on valid input.
5236 rm -f conftest.err conftest.
$ac_ext
5238 # OK, works on sane cases. Now check whether nonexistent headers
5239 # can be detected and how.
5240 cat >conftest.
$ac_ext <<_ACEOF
5243 cat confdefs.h
>>conftest.
$ac_ext
5244 cat >>conftest.
$ac_ext <<_ACEOF
5245 /* end confdefs.h. */
5246 #include <ac_nonexistent.h>
5248 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5251 *) ac_try_echo=$ac_try;;
5253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5254 $as_echo "$ac_try_echo") >&5
5255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5257 grep -v '^ *+' conftest.er1 >conftest.err
5259 cat conftest.err >&5
5260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); } >/dev/null && {
5262 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5263 test ! -s conftest.err
5265 # Broken: success on invalid input.
5268 $as_echo "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.$ac_ext >&5
5271 # Passes both tests.
5276 rm -f conftest.err conftest.$ac_ext
5279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5280 rm -f conftest.err conftest.
$ac_ext
5281 if $ac_preproc_ok; then
5293 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5294 $as_echo "$CPP" >&6; }
5296 for ac_c_preproc_warn_flag
in '' yes
5298 # Use a header file that comes with gcc, so configuring glibc
5299 # with a fresh cross-compiler works.
5300 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5301 # <limits.h> exists even on freestanding compilers.
5302 # On the NeXT, cc -E runs the code through the compiler's parser,
5303 # not just through cpp. "Syntax error" is here to catch this case.
5304 cat >conftest.
$ac_ext <<_ACEOF
5307 cat confdefs.h
>>conftest.
$ac_ext
5308 cat >>conftest.
$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5311 # include <limits.h>
5313 # include <assert.h>
5317 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5320 *) ac_try_echo=$ac_try;;
5322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5323 $as_echo "$ac_try_echo") >&5
5324 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5326 grep -v '^ *+' conftest.er1 >conftest.err
5328 cat conftest.err >&5
5329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); } >/dev/null && {
5331 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5332 test ! -s conftest.err
5336 $as_echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.$ac_ext >&5
5339 # Broken: fails on valid input.
5343 rm -f conftest.err conftest.$ac_ext
5345 # OK, works on sane cases. Now check whether nonexistent headers
5346 # can be detected and how.
5347 cat >conftest.$ac_ext <<_ACEOF
5350 cat confdefs.h >>conftest.$ac_ext
5351 cat >>conftest.$ac_ext <<_ACEOF
5352 /* end confdefs.h. */
5353 #include <ac_nonexistent.h>
5355 if { (ac_try="$ac_cpp conftest.$ac_ext"
5357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5358 *) ac_try_echo
=$ac_try;;
5360 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5361 $as_echo "$ac_try_echo") >&5
5362 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5364 grep -v '^ *+' conftest.er1
>conftest.err
5366 cat conftest.err
>&5
5367 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); } >/dev
/null
&& {
5369 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5370 test ! -s conftest.err
5372 # Broken: success on invalid input.
5375 $as_echo "$as_me: failed program was:" >&5
5376 sed 's/^/| /' conftest.
$ac_ext >&5
5378 # Passes both tests.
5383 rm -f conftest.err conftest.
$ac_ext
5386 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5387 rm -f conftest.err conftest.
$ac_ext
5388 if $ac_preproc_ok; then
5391 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5392 See \`config.log' for more details." >&5
5393 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5394 See \`config.log' for more details." >&2;}
5395 { (exit 1); exit 1; }; }
5399 ac_cpp
='$CPP $CPPFLAGS'
5400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5405 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5406 $as_echo_n "checking for ANSI C header files... " >&6; }
5407 if test "${ac_cv_header_stdc+set}" = set; then
5408 $as_echo_n "(cached) " >&6
5410 cat >conftest.
$ac_ext <<_ACEOF
5413 cat confdefs.h
>>conftest.
$ac_ext
5414 cat >>conftest.
$ac_ext <<_ACEOF
5415 /* end confdefs.h. */
5429 rm -f conftest.
$ac_objext
5430 if { (ac_try
="$ac_compile"
5432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5433 *) ac_try_echo=$ac_try;;
5435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5436 $as_echo "$ac_try_echo") >&5
5437 (eval "$ac_compile") 2>conftest.er1
5439 grep -v '^ *+' conftest.er1 >conftest.err
5441 cat conftest.err >&5
5442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } && {
5444 test -z "$ac_c_werror_flag" ||
5445 test ! -s conftest.err
5446 } && test -s conftest.$ac_objext; then
5447 ac_cv_header_stdc=yes
5449 $as_echo "$as_me: failed program was:" >&5
5450 sed 's/^/| /' conftest.$ac_ext >&5
5452 ac_cv_header_stdc=no
5455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5457 if test $ac_cv_header_stdc = yes; then
5458 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5459 cat >conftest.$ac_ext <<_ACEOF
5462 cat confdefs.h >>conftest.$ac_ext
5463 cat >>conftest.$ac_ext <<_ACEOF
5464 /* end confdefs.h. */
5468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5469 $EGREP "memchr" >/dev/null 2>&1; then
5472 ac_cv_header_stdc=no
5478 if test $ac_cv_header_stdc = yes; then
5479 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5480 cat >conftest.$ac_ext <<_ACEOF
5483 cat confdefs.h >>conftest.$ac_ext
5484 cat >>conftest.$ac_ext <<_ACEOF
5485 /* end confdefs.h. */
5489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5490 $EGREP "free" >/dev/null 2>&1; then
5493 ac_cv_header_stdc=no
5499 if test $ac_cv_header_stdc = yes; then
5500 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5501 if test "$cross_compiling" = yes; then
5504 cat >conftest.$ac_ext <<_ACEOF
5507 cat confdefs.h >>conftest.$ac_ext
5508 cat >>conftest.$ac_ext <<_ACEOF
5509 /* end confdefs.h. */
5512 #if ((' ' & 0x0FF) == 0x020)
5513 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5514 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5516 # define ISLOWER(c) \
5517 (('a' <= (c) && (c) <= 'i') \
5518 || ('j' <= (c) && (c) <= 'r') \
5519 || ('s' <= (c) && (c) <= 'z'))
5520 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5523 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5528 for (i = 0; i < 256; i++)
5529 if (XOR (islower (i), ISLOWER (i))
5530 || toupper (i) != TOUPPER (i))
5535 rm -f conftest$ac_exeext
5536 if { (ac_try="$ac_link"
5538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5539 *) ac_try_echo
=$ac_try;;
5541 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5542 $as_echo "$ac_try_echo") >&5
5543 (eval "$ac_link") 2>&5
5545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5547 { (case "(($ac_try" in
5548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5549 *) ac_try_echo=$ac_try;;
5551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5552 $as_echo "$ac_try_echo") >&5
5553 (eval "$ac_try") 2>&5
5555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); }; }; then
5559 $as_echo "$as_me: program exited with status $ac_status" >&5
5560 $as_echo "$as_me: failed program was:" >&5
5561 sed 's/^/| /' conftest.$ac_ext >&5
5564 ac_cv_header_stdc=no
5566 rm -rf conftest.dSYM
5567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5573 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5574 $as_echo "$ac_cv_header_stdc" >&6; }
5575 if test $ac_cv_header_stdc = yes; then
5577 cat >>confdefs.h <<\_ACEOF
5578 #define STDC_HEADERS 1
5583 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5593 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5594 inttypes.h stdint.h unistd.h
5596 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5597 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5598 $as_echo_n "checking for $ac_header... " >&6; }
5599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5600 $as_echo_n "(cached) " >&6
5602 cat >conftest.$ac_ext <<_ACEOF
5605 cat confdefs.h >>conftest.$ac_ext
5606 cat >>conftest.$ac_ext <<_ACEOF
5607 /* end confdefs.h. */
5608 $ac_includes_default
5610 #include <$ac_header>
5612 rm -f conftest.$ac_objext
5613 if { (ac_try="$ac_compile"
5615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5616 *) ac_try_echo
=$ac_try;;
5618 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5619 $as_echo "$ac_try_echo") >&5
5620 (eval "$ac_compile") 2>conftest.er1
5622 grep -v '^ *+' conftest.er1
>conftest.err
5624 cat conftest.err
>&5
5625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); } && {
5627 test -z "$ac_c_werror_flag" ||
5628 test ! -s conftest.err
5629 } && test -s conftest.
$ac_objext; then
5630 eval "$as_ac_Header=yes"
5632 $as_echo "$as_me: failed program was:" >&5
5633 sed 's/^/| /' conftest.
$ac_ext >&5
5635 eval "$as_ac_Header=no"
5638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5640 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5641 $as_echo "$as_val"'`
5642 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5643 $as_echo "$ac_res" >&6; }
5644 if test `eval 'as_val=${'$as_ac_Header'}
5645 $as_echo "$as_val"'` = yes; then
5646 cat >>confdefs.h
<<_ACEOF
5647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5656 for ac_header
in dlfcn.h
5658 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5659 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5660 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5661 $as_echo_n "checking for $ac_header... " >&6; }
5662 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5663 $as_echo_n "(cached) " >&6
5665 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5666 $as_echo "$as_val"'`
5667 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5668 $as_echo "$ac_res" >&6; }
5670 # Is the header compilable?
5671 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5672 $as_echo_n "checking $ac_header usability... " >&6; }
5673 cat >conftest.
$ac_ext <<_ACEOF
5676 cat confdefs.h
>>conftest.
$ac_ext
5677 cat >>conftest.
$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5679 $ac_includes_default
5680 #include <$ac_header>
5682 rm -f conftest.
$ac_objext
5683 if { (ac_try
="$ac_compile"
5685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5686 *) ac_try_echo=$ac_try;;
5688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5689 $as_echo "$ac_try_echo") >&5
5690 (eval "$ac_compile") 2>conftest.er1
5692 grep -v '^ *+' conftest.er1 >conftest.err
5694 cat conftest.err >&5
5695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); } && {
5697 test -z "$ac_c_werror_flag" ||
5698 test ! -s conftest.err
5699 } && test -s conftest.$ac_objext; then
5700 ac_header_compiler=yes
5702 $as_echo "$as_me: failed program was:" >&5
5703 sed 's/^/| /' conftest.$ac_ext >&5
5705 ac_header_compiler=no
5708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5709 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5710 $as_echo "$ac_header_compiler" >&6; }
5712 # Is the header present?
5713 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5714 $as_echo_n "checking $ac_header presence... " >&6; }
5715 cat >conftest.$ac_ext <<_ACEOF
5718 cat confdefs.h >>conftest.$ac_ext
5719 cat >>conftest.$ac_ext <<_ACEOF
5720 /* end confdefs.h. */
5721 #include <$ac_header>
5723 if { (ac_try="$ac_cpp conftest.$ac_ext"
5725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5726 *) ac_try_echo
=$ac_try;;
5728 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5729 $as_echo "$ac_try_echo") >&5
5730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5732 grep -v '^ *+' conftest.er1
>conftest.err
5734 cat conftest.err
>&5
5735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); } >/dev
/null
&& {
5737 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5738 test ! -s conftest.err
5740 ac_header_preproc
=yes
5742 $as_echo "$as_me: failed program was:" >&5
5743 sed 's/^/| /' conftest.
$ac_ext >&5
5745 ac_header_preproc
=no
5748 rm -f conftest.err conftest.
$ac_ext
5749 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5750 $as_echo "$ac_header_preproc" >&6; }
5752 # So? What about this header?
5753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5756 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5758 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5759 ac_header_preproc
=yes
5762 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5763 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5764 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5765 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5766 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5767 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5768 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5769 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5770 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5771 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5773 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5777 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5778 $as_echo_n "checking for $ac_header... " >&6; }
5779 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5780 $as_echo_n "(cached) " >&6
5782 eval "$as_ac_Header=\$ac_header_preproc"
5784 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5785 $as_echo "$as_val"'`
5786 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5787 $as_echo "$ac_res" >&6; }
5790 if test `eval 'as_val=${'$as_ac_Header'}
5791 $as_echo "$as_val"'` = yes; then
5792 cat >>confdefs.h
<<_ACEOF
5793 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5802 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5803 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5804 (test "X$CXX" != "Xg++"))) ; then
5806 ac_cpp
='$CXXCPP $CPPFLAGS'
5807 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5808 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5809 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5810 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5811 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5812 if test -z "$CXXCPP"; then
5813 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5814 $as_echo_n "(cached) " >&6
5816 # Double quotes because CXXCPP needs to be expanded
5817 for CXXCPP
in "$CXX -E" "/lib/cpp"
5820 for ac_cxx_preproc_warn_flag
in '' yes
5822 # Use a header file that comes with gcc, so configuring glibc
5823 # with a fresh cross-compiler works.
5824 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5825 # <limits.h> exists even on freestanding compilers.
5826 # On the NeXT, cc -E runs the code through the compiler's parser,
5827 # not just through cpp. "Syntax error" is here to catch this case.
5828 cat >conftest.
$ac_ext <<_ACEOF
5831 cat confdefs.h
>>conftest.
$ac_ext
5832 cat >>conftest.
$ac_ext <<_ACEOF
5833 /* end confdefs.h. */
5835 # include <limits.h>
5837 # include <assert.h>
5841 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5844 *) ac_try_echo=$ac_try;;
5846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5847 $as_echo "$ac_try_echo") >&5
5848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5850 grep -v '^ *+' conftest.er1 >conftest.err
5852 cat conftest.err >&5
5853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); } >/dev/null && {
5855 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5856 test ! -s conftest.err
5860 $as_echo "$as_me: failed program was:" >&5
5861 sed 's/^/| /' conftest.$ac_ext >&5
5863 # Broken: fails on valid input.
5867 rm -f conftest.err conftest.$ac_ext
5869 # OK, works on sane cases. Now check whether nonexistent headers
5870 # can be detected and how.
5871 cat >conftest.$ac_ext <<_ACEOF
5874 cat confdefs.h >>conftest.$ac_ext
5875 cat >>conftest.$ac_ext <<_ACEOF
5876 /* end confdefs.h. */
5877 #include <ac_nonexistent.h>
5879 if { (ac_try="$ac_cpp conftest.$ac_ext"
5881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5882 *) ac_try_echo
=$ac_try;;
5884 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5885 $as_echo "$ac_try_echo") >&5
5886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5888 grep -v '^ *+' conftest.er1
>conftest.err
5890 cat conftest.err
>&5
5891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } >/dev
/null
&& {
5893 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5894 test ! -s conftest.err
5896 # Broken: success on invalid input.
5899 $as_echo "$as_me: failed program was:" >&5
5900 sed 's/^/| /' conftest.
$ac_ext >&5
5902 # Passes both tests.
5907 rm -f conftest.err conftest.
$ac_ext
5910 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5911 rm -f conftest.err conftest.
$ac_ext
5912 if $ac_preproc_ok; then
5917 ac_cv_prog_CXXCPP
=$CXXCPP
5920 CXXCPP
=$ac_cv_prog_CXXCPP
5922 ac_cv_prog_CXXCPP
=$CXXCPP
5924 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
5925 $as_echo "$CXXCPP" >&6; }
5927 for ac_cxx_preproc_warn_flag
in '' yes
5929 # Use a header file that comes with gcc, so configuring glibc
5930 # with a fresh cross-compiler works.
5931 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5932 # <limits.h> exists even on freestanding compilers.
5933 # On the NeXT, cc -E runs the code through the compiler's parser,
5934 # not just through cpp. "Syntax error" is here to catch this case.
5935 cat >conftest.
$ac_ext <<_ACEOF
5938 cat confdefs.h
>>conftest.
$ac_ext
5939 cat >>conftest.
$ac_ext <<_ACEOF
5940 /* end confdefs.h. */
5942 # include <limits.h>
5944 # include <assert.h>
5948 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5951 *) ac_try_echo=$ac_try;;
5953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5954 $as_echo "$ac_try_echo") >&5
5955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5957 grep -v '^ *+' conftest.er1 >conftest.err
5959 cat conftest.err >&5
5960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); } >/dev/null && {
5962 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5963 test ! -s conftest.err
5967 $as_echo "$as_me: failed program was:" >&5
5968 sed 's/^/| /' conftest.$ac_ext >&5
5970 # Broken: fails on valid input.
5974 rm -f conftest.err conftest.$ac_ext
5976 # OK, works on sane cases. Now check whether nonexistent headers
5977 # can be detected and how.
5978 cat >conftest.$ac_ext <<_ACEOF
5981 cat confdefs.h >>conftest.$ac_ext
5982 cat >>conftest.$ac_ext <<_ACEOF
5983 /* end confdefs.h. */
5984 #include <ac_nonexistent.h>
5986 if { (ac_try="$ac_cpp conftest.$ac_ext"
5988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5989 *) ac_try_echo
=$ac_try;;
5991 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5992 $as_echo "$ac_try_echo") >&5
5993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5995 grep -v '^ *+' conftest.er1
>conftest.err
5997 cat conftest.err
>&5
5998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 (exit $ac_status); } >/dev
/null
&& {
6000 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6001 test ! -s conftest.err
6003 # Broken: success on invalid input.
6006 $as_echo "$as_me: failed program was:" >&5
6007 sed 's/^/| /' conftest.
$ac_ext >&5
6009 # Passes both tests.
6014 rm -f conftest.err conftest.
$ac_ext
6017 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6018 rm -f conftest.err conftest.
$ac_ext
6019 if $ac_preproc_ok; then
6022 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6023 See \`config.log' for more details." >&5
6024 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6025 See \`config.log' for more details." >&2;}
6026 { (exit 1); exit 1; }; }
6030 ac_cpp
='$CXXCPP $CPPFLAGS'
6031 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6032 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6033 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6039 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6040 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6041 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6042 if test -n "$ac_tool_prefix"; then
6043 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6045 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6046 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6047 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if test "${ac_cv_prog_F77+set}" = set; then
6050 $as_echo_n "(cached) " >&6
6052 if test -n "$F77"; then
6053 ac_cv_prog_F77
="$F77" # Let the user override the test.
6055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir
=.
6060 for ac_exec_ext
in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6063 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 if test -n "$F77"; then
6074 { $as_echo "$as_me:$LINENO: result: $F77" >&5
6075 $as_echo "$F77" >&6; }
6077 { $as_echo "$as_me:$LINENO: result: no" >&5
6078 $as_echo "no" >&6; }
6082 test -n "$F77" && break
6085 if test -z "$F77"; then
6087 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6089 # Extract the first word of "$ac_prog", so it can be a program name with args.
6090 set dummy
$ac_prog; ac_word
=$2
6091 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6092 $as_echo_n "checking for $ac_word... " >&6; }
6093 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6094 $as_echo_n "(cached) " >&6
6096 if test -n "$ac_ct_F77"; then
6097 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6103 test -z "$as_dir" && as_dir
=.
6104 for ac_exec_ext
in '' $ac_executable_extensions; do
6105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106 ac_cv_prog_ac_ct_F77
="$ac_prog"
6107 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6117 if test -n "$ac_ct_F77"; then
6118 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6119 $as_echo "$ac_ct_F77" >&6; }
6121 { $as_echo "$as_me:$LINENO: result: no" >&5
6122 $as_echo "no" >&6; }
6126 test -n "$ac_ct_F77" && break
6129 if test "x$ac_ct_F77" = x
; then
6132 case $cross_compiling:$ac_tool_warned in
6134 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6135 whose name does not start with the host triplet. If you think this
6136 configuration is useful to you, please write to autoconf@gnu.org." >&5
6137 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6138 whose name does not start with the host triplet. If you think this
6139 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6140 ac_tool_warned
=yes ;;
6147 # Provide some information about the compiler.
6148 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6151 { (ac_try
="$ac_compiler --version >&5"
6153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6154 *) ac_try_echo=$ac_try;;
6156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6157 $as_echo "$ac_try_echo") >&5
6158 (eval "$ac_compiler --version >&5") 2>&5
6160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); }
6162 { (ac_try="$ac_compiler -v >&5"
6164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6165 *) ac_try_echo
=$ac_try;;
6167 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6168 $as_echo "$ac_try_echo") >&5
6169 (eval "$ac_compiler -v >&5") 2>&5
6171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); }
6173 { (ac_try
="$ac_compiler -V >&5"
6175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6176 *) ac_try_echo=$ac_try;;
6178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6179 $as_echo "$ac_try_echo") >&5
6180 (eval "$ac_compiler -V >&5") 2>&5
6182 $as_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 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6191 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6192 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6193 $as_echo_n "(cached) " >&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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6210 $as_echo "$ac_try_echo") >&5
6211 (eval "$ac_compile") 2>conftest.er1
6213 grep -v '^
*+' conftest.er1 >conftest.err
6215 cat conftest.err >&5
6216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); } && {
6218 test -z "$ac_f77_werror_flag" ||
6219 test ! -s conftest.err
6220 } && test -s conftest.$ac_objext; then
6223 $as_echo "$as_me: failed program was:" >&5
6224 sed 's
/^
/|
/' conftest.$ac_ext >&5
6229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6230 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6233 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6234 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6236 ac_test_FFLAGS=${FFLAGS+set}
6237 ac_save_FFLAGS=$FFLAGS
6239 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6240 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
6241 if test "${ac_cv_prog_f77_g+set}" = set; then
6242 $as_echo_n "(cached) " >&6
6245 cat >conftest.$ac_ext <<_ACEOF
6250 rm -f conftest.$ac_objext
6251 if { (ac_try="$ac_compile"
6253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6254 *) ac_try_echo=$ac_try;;
6256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6257 $as_echo "$ac_try_echo") >&5
6258 (eval "$ac_compile") 2>conftest.er1
6260 grep -v '^
*+' conftest.er1 >conftest.err
6262 cat conftest.err >&5
6263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } && {
6265 test -z "$ac_f77_werror_flag" ||
6266 test ! -s conftest.err
6267 } && test -s conftest.$ac_objext; then
6268 ac_cv_prog_f77_g=yes
6270 $as_echo "$as_me: failed program was:" >&5
6271 sed 's
/^
/|
/' conftest.$ac_ext >&5
6276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6279 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6280 $as_echo "$ac_cv_prog_f77_g" >&6; }
6281 if test "$ac_test_FFLAGS" = set; then
6282 FFLAGS=$ac_save_FFLAGS
6283 elif test $ac_cv_prog_f77_g = yes; then
6284 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6290 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6297 if test $ac_compiler_gnu = yes; then
6303 ac_cpp='$CPP $CPPFLAGS'
6304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6305 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6310 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6311 # find the maximum length of command line arguments
6312 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6313 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6314 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6315 $as_echo_n "(cached) " >&6
6322 # On DJGPP, this test can blow up pretty badly due to problems in libc
6323 # (any single argument exceeding 2000 bytes causes a buffer overrun
6324 # during glob expansion). Even if it were fixed, the result of this
6325 # check would be larger than it should be.
6326 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6330 # Under GNU Hurd, this test is not required because there is
6331 # no limit to the length of command line arguments.
6332 # Libtool will interpret -1 as no limit whatsoever
6333 lt_cv_sys_max_cmd_len
=-1;
6337 # On Win9x/ME, this test blows up -- it succeeds, but takes
6338 # about 5 minutes as the teststring grows exponentially.
6339 # Worse, since 9x/ME are not pre-emptively multitasking,
6340 # you end up with a "frozen" computer, even though with patience
6341 # the test eventually succeeds (with a max line length of 256k).
6342 # Instead, let's just punt: use the minimum linelength reported by
6343 # all of the supported platforms: 8192 (on NT/2K/XP).
6344 lt_cv_sys_max_cmd_len
=8192;
6348 # On AmigaOS with pdksh, this test takes hours, literally.
6349 # So we just punt and use a minimum line length of 8192.
6350 lt_cv_sys_max_cmd_len
=8192;
6353 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6354 # This has been around since 386BSD, at least. Likely further.
6355 if test -x /sbin
/sysctl
; then
6356 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6357 elif test -x /usr
/sbin
/sysctl
; then
6358 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6360 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6362 # And add a safety zone
6363 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6364 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6368 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6369 lt_cv_sys_max_cmd_len
=196608
6373 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6374 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6375 # nice to cause kernel panics so lets avoid the loop below.
6376 # First set a reasonable default.
6377 lt_cv_sys_max_cmd_len
=16384
6379 if test -x /sbin
/sysconfig
; then
6380 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6381 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6386 lt_cv_sys_max_cmd_len
=102400
6388 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6389 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6390 if test -n "$kargmax"; then
6391 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6393 lt_cv_sys_max_cmd_len
=32768
6397 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6398 if test -n "$lt_cv_sys_max_cmd_len"; then
6399 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6400 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6402 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6403 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6404 = "XX$teststring") >/dev
/null
2>&1 &&
6405 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6406 lt_cv_sys_max_cmd_len
=$new_result &&
6407 test $i != 17 # 1/2 MB should be enough
6410 teststring
=$teststring$teststring
6413 # Add a significant safety factor because C++ compilers can tack on massive
6414 # amounts of additional arguments before passing them to the linker.
6415 # It appears as though 1/2 is a usable value.
6416 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6423 if test -n $lt_cv_sys_max_cmd_len ; then
6424 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6425 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6427 { $as_echo "$as_me:$LINENO: result: none" >&5
6428 $as_echo "none" >&6; }
6435 # Check for command to grab the raw symbol name followed by C symbol from nm.
6436 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6437 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6438 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6439 $as_echo_n "(cached) " >&6
6442 # These are sane defaults that work on at least a few old systems.
6443 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6445 # Character class describing NM global symbol codes.
6446 symcode
='[BCDEGRST]'
6448 # Regexp to match symbols that can be accessed directly from C.
6449 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6451 # Transform an extracted symbol line into a proper C declaration
6452 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6454 # Transform an extracted symbol line into symbol name and symbol address
6455 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'"
6457 # Define system-specific variables.
6462 cygwin
* | mingw
* | pw32
*)
6463 symcode
='[ABCDGISTW]'
6465 hpux
*) # Its linker distinguishes data from code symbols
6466 if test "$host_cpu" = ia64
; then
6467 symcode
='[ABCDEGRST]'
6469 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6470 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'"
6472 linux
* | k
*bsd
*-gnu)
6473 if test "$host_cpu" = ia64
; then
6474 symcode
='[ABCDGIRSTW]'
6475 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6476 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'"
6480 symcode
='[BCDEGRST]'
6483 symcode
='[BCDEGQRST]'
6494 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6502 # Handle CRLF in mingw tool chain
6506 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6510 # If we're using GNU nm, then use its standard symbol codes.
6511 case `$NM -V 2>&1` in
6512 *GNU
* |
*'with BFD'*)
6513 symcode
='[ABCDGIRSTW]' ;;
6516 # Try without a prefix undercore, then with it.
6517 for ac_symprfx
in "" "_"; do
6519 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6520 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6522 # Write the raw and C identifiers.
6523 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6525 # Check to see that the pipe works correctly.
6529 cat > conftest.
$ac_ext <<EOF
6534 void nm_test_func(){}
6538 int main(){nm_test_var='a';nm_test_func();return(0);}
6541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6542 (eval $ac_compile) 2>&5
6544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); }; then
6546 # Now try to grab the symbols.
6548 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6549 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); } && test -s "$nlist"; then
6553 # Try sorting and uniquifying the output.
6554 if sort "$nlist" |
uniq > "$nlist"T
; then
6555 mv -f "$nlist"T
"$nlist"
6560 # Make sure that we snagged all the symbols we need.
6561 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6562 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6563 cat <<EOF > conftest.$ac_ext
6569 # Now generate the symbol file.
6570 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6572 cat <<EOF >> conftest.$ac_ext
6573 #if defined (__STDC__) && __STDC__
6574 # define lt_ptr_t void *
6576 # define lt_ptr_t char *
6580 /* The mapping between symbol names and symbols. */
6585 lt_preloaded_symbols[] =
6588 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6589 cat <<\EOF
>> conftest.
$ac_ext
6597 # Now try linking the two files.
6598 mv conftest.
$ac_objext conftstm.
$ac_objext
6599 lt_save_LIBS
="$LIBS"
6600 lt_save_CFLAGS
="$CFLAGS"
6601 LIBS
="conftstm.$ac_objext"
6602 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6604 (eval $ac_link) 2>&5
6606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6610 LIBS
="$lt_save_LIBS"
6611 CFLAGS
="$lt_save_CFLAGS"
6613 echo "cannot find nm_test_func in $nlist" >&5
6616 echo "cannot find nm_test_var in $nlist" >&5
6619 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6622 echo "$progname: failed program was:" >&5
6623 cat conftest.
$ac_ext >&5
6625 rm -rf conftest
* conftst
*
6627 # Do not use the global_symbol_pipe unless it works.
6628 if test "$pipe_works" = yes; then
6631 lt_cv_sys_global_symbol_pipe
=
6637 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6638 lt_cv_sys_global_symbol_to_cdecl
=
6640 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6641 { $as_echo "$as_me:$LINENO: result: failed" >&5
6642 $as_echo "failed" >&6; }
6644 { $as_echo "$as_me:$LINENO: result: ok" >&5
6645 $as_echo "ok" >&6; }
6648 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
6649 $as_echo_n "checking for objdir... " >&6; }
6650 if test "${lt_cv_objdir+set}" = set; then
6651 $as_echo_n "(cached) " >&6
6653 rm -f .libs
2>/dev
/null
6654 mkdir .libs
2>/dev
/null
6655 if test -d .libs
; then
6658 # MS-DOS does not allow filenames that begin with a dot.
6661 rmdir .libs
2>/dev
/null
6663 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6664 $as_echo "$lt_cv_objdir" >&6; }
6665 objdir
=$lt_cv_objdir
6673 # AIX sometimes has problems with the GCC collect2 program. For some
6674 # reason, if we set the COLLECT_NAMES environment variable, the problems
6675 # vanish in a puff of smoke.
6676 if test "X${COLLECT_NAMES+set}" != Xset
; then
6678 export COLLECT_NAMES
6683 # Sed substitution that helps us do robust quoting. It backslashifies
6684 # metacharacters that are still active within double-quoted strings.
6685 Xsed
='sed -e 1s/^X//'
6686 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6688 # Same as above, but do not quote variable references.
6689 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6691 # Sed substitution to delay expansion of an escaped shell variable in a
6692 # double_quote_subst'ed string.
6693 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6695 # Sed substitution to avoid accidental globbing in evaled expressions
6696 no_glob_subst
='s/\*/\\\*/g'
6702 default_ofile
=libtool
6703 can_build_shared
=yes
6705 # All known linkers require a `.a' archive for static linking (except MSVC,
6706 # which needs '.lib').
6708 ltmain
="$ac_aux_dir/ltmain.sh"
6709 ofile
="$default_ofile"
6710 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6712 if test -n "$ac_tool_prefix"; then
6713 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6714 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6715 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if test "${ac_cv_prog_AR+set}" = set; then
6718 $as_echo_n "(cached) " >&6
6720 if test -n "$AR"; then
6721 ac_cv_prog_AR
="$AR" # Let the user override the test.
6723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6727 test -z "$as_dir" && as_dir
=.
6728 for ac_exec_ext
in '' $ac_executable_extensions; do
6729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6730 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6731 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6741 if test -n "$AR"; then
6742 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6743 $as_echo "$AR" >&6; }
6745 { $as_echo "$as_me:$LINENO: result: no" >&5
6746 $as_echo "no" >&6; }
6751 if test -z "$ac_cv_prog_AR"; then
6753 # Extract the first word of "ar", so it can be a program name with args.
6754 set dummy
ar; ac_word
=$2
6755 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6758 $as_echo_n "(cached) " >&6
6760 if test -n "$ac_ct_AR"; then
6761 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6767 test -z "$as_dir" && as_dir
=.
6768 for ac_exec_ext
in '' $ac_executable_extensions; do
6769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6770 ac_cv_prog_ac_ct_AR
="ar"
6771 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6780 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6781 if test -n "$ac_ct_AR"; then
6782 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6783 $as_echo "$ac_ct_AR" >&6; }
6785 { $as_echo "$as_me:$LINENO: result: no" >&5
6786 $as_echo "no" >&6; }
6789 if test "x$ac_ct_AR" = x
; then
6792 case $cross_compiling:$ac_tool_warned in
6794 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6795 whose name does not start with the host triplet. If you think this
6796 configuration is useful to you, please write to autoconf@gnu.org." >&5
6797 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6798 whose name does not start with the host triplet. If you think this
6799 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6800 ac_tool_warned
=yes ;;
6808 if test -n "$ac_tool_prefix"; then
6809 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6810 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6811 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6812 $as_echo_n "checking for $ac_word... " >&6; }
6813 if test "${ac_cv_prog_RANLIB+set}" = set; then
6814 $as_echo_n "(cached) " >&6
6816 if test -n "$RANLIB"; then
6817 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6823 test -z "$as_dir" && as_dir
=.
6824 for ac_exec_ext
in '' $ac_executable_extensions; do
6825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6826 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6827 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6836 RANLIB
=$ac_cv_prog_RANLIB
6837 if test -n "$RANLIB"; then
6838 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6839 $as_echo "$RANLIB" >&6; }
6841 { $as_echo "$as_me:$LINENO: result: no" >&5
6842 $as_echo "no" >&6; }
6847 if test -z "$ac_cv_prog_RANLIB"; then
6848 ac_ct_RANLIB
=$RANLIB
6849 # Extract the first word of "ranlib", so it can be a program name with args.
6850 set dummy ranlib
; ac_word
=$2
6851 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6852 $as_echo_n "checking for $ac_word... " >&6; }
6853 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6854 $as_echo_n "(cached) " >&6
6856 if test -n "$ac_ct_RANLIB"; then
6857 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir
=.
6864 for ac_exec_ext
in '' $ac_executable_extensions; do
6865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6866 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6867 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6876 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6877 if test -n "$ac_ct_RANLIB"; then
6878 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6879 $as_echo "$ac_ct_RANLIB" >&6; }
6881 { $as_echo "$as_me:$LINENO: result: no" >&5
6882 $as_echo "no" >&6; }
6885 if test "x$ac_ct_RANLIB" = x
; then
6888 case $cross_compiling:$ac_tool_warned in
6890 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6891 whose name does not start with the host triplet. If you think this
6892 configuration is useful to you, please write to autoconf@gnu.org." >&5
6893 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6894 whose name does not start with the host triplet. If you think this
6895 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6896 ac_tool_warned
=yes ;;
6898 RANLIB
=$ac_ct_RANLIB
6901 RANLIB
="$ac_cv_prog_RANLIB"
6904 if test -n "$ac_tool_prefix"; then
6905 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6906 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6907 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6908 $as_echo_n "checking for $ac_word... " >&6; }
6909 if test "${ac_cv_prog_STRIP+set}" = set; then
6910 $as_echo_n "(cached) " >&6
6912 if test -n "$STRIP"; then
6913 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6919 test -z "$as_dir" && as_dir
=.
6920 for ac_exec_ext
in '' $ac_executable_extensions; do
6921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6922 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6923 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6932 STRIP
=$ac_cv_prog_STRIP
6933 if test -n "$STRIP"; then
6934 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6935 $as_echo "$STRIP" >&6; }
6937 { $as_echo "$as_me:$LINENO: result: no" >&5
6938 $as_echo "no" >&6; }
6943 if test -z "$ac_cv_prog_STRIP"; then
6945 # Extract the first word of "strip", so it can be a program name with args.
6946 set dummy strip
; ac_word
=$2
6947 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6948 $as_echo_n "checking for $ac_word... " >&6; }
6949 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6950 $as_echo_n "(cached) " >&6
6952 if test -n "$ac_ct_STRIP"; then
6953 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6959 test -z "$as_dir" && as_dir
=.
6960 for ac_exec_ext
in '' $ac_executable_extensions; do
6961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6962 ac_cv_prog_ac_ct_STRIP
="strip"
6963 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6972 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6973 if test -n "$ac_ct_STRIP"; then
6974 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6975 $as_echo "$ac_ct_STRIP" >&6; }
6977 { $as_echo "$as_me:$LINENO: result: no" >&5
6978 $as_echo "no" >&6; }
6981 if test "x$ac_ct_STRIP" = x
; then
6984 case $cross_compiling:$ac_tool_warned in
6986 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6987 whose name does not start with the host triplet. If you think this
6988 configuration is useful to you, please write to autoconf@gnu.org." >&5
6989 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6990 whose name does not start with the host triplet. If you think this
6991 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6992 ac_tool_warned
=yes ;;
6997 STRIP
="$ac_cv_prog_STRIP"
7002 old_CFLAGS
="$CFLAGS"
7004 # Set sane defaults for various variables
7005 test -z "$AR" && AR
=ar
7006 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7007 test -z "$AS" && AS
=as
7008 test -z "$CC" && CC
=cc
7009 test -z "$LTCC" && LTCC
=$CC
7010 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7011 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7012 test -z "$LD" && LD
=ld
7013 test -z "$LN_S" && LN_S
="ln -s"
7014 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7015 test -z "$NM" && NM
=nm
7016 test -z "$SED" && SED
=sed
7017 test -z "$OBJDUMP" && OBJDUMP
=objdump
7018 test -z "$RANLIB" && RANLIB
=:
7019 test -z "$STRIP" && STRIP
=:
7020 test -z "$ac_objext" && ac_objext
=o
7022 # Determine commands to create old-style static archives.
7023 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7024 old_postinstall_cmds
='chmod 644 $oldlib'
7025 old_postuninstall_cmds
=
7027 if test -n "$RANLIB"; then
7030 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7033 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7036 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7039 for cc_temp
in $compiler""; do
7041 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7042 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7047 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7050 # Only perform the check for file, if the check method requires it
7051 case $deplibs_check_method in
7053 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7054 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7055 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7056 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7057 $as_echo_n "(cached) " >&6
7061 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7064 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7065 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7066 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7067 for ac_dir
in $ac_dummy; do
7069 test -z "$ac_dir" && ac_dir
=.
7070 if test -f $ac_dir/${ac_tool_prefix}file; then
7071 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7072 if test -n "$file_magic_test_file"; then
7073 case $deplibs_check_method in
7075 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7076 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7077 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7078 $EGREP "$file_magic_regex" > /dev
/null
; then
7083 *** Warning: the command libtool uses to detect shared libraries,
7084 *** $file_magic_cmd, produces output that libtool cannot recognize.
7085 *** The result is that libtool may fail to recognize shared libraries
7086 *** as such. This will affect the creation of libtool libraries that
7087 *** depend on shared libraries, but programs linked with such libtool
7088 *** libraries will work regardless of this problem. Nevertheless, you
7089 *** may want to report the problem to your system manager and/or to
7090 *** bug-libtool@gnu.org
7100 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7105 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7106 if test -n "$MAGIC_CMD"; then
7107 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7108 $as_echo "$MAGIC_CMD" >&6; }
7110 { $as_echo "$as_me:$LINENO: result: no" >&5
7111 $as_echo "no" >&6; }
7114 if test -z "$lt_cv_path_MAGIC_CMD"; then
7115 if test -n "$ac_tool_prefix"; then
7116 { $as_echo "$as_me:$LINENO: checking for file" >&5
7117 $as_echo_n "checking for file... " >&6; }
7118 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7119 $as_echo_n "(cached) " >&6
7123 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7126 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7127 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7128 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7129 for ac_dir
in $ac_dummy; do
7131 test -z "$ac_dir" && ac_dir
=.
7132 if test -f $ac_dir/file; then
7133 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7134 if test -n "$file_magic_test_file"; then
7135 case $deplibs_check_method in
7137 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7138 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7139 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7140 $EGREP "$file_magic_regex" > /dev
/null
; then
7145 *** Warning: the command libtool uses to detect shared libraries,
7146 *** $file_magic_cmd, produces output that libtool cannot recognize.
7147 *** The result is that libtool may fail to recognize shared libraries
7148 *** as such. This will affect the creation of libtool libraries that
7149 *** depend on shared libraries, but programs linked with such libtool
7150 *** libraries will work regardless of this problem. Nevertheless, you
7151 *** may want to report the problem to your system manager and/or to
7152 *** bug-libtool@gnu.org
7162 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7167 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7168 if test -n "$MAGIC_CMD"; then
7169 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7170 $as_echo "$MAGIC_CMD" >&6; }
7172 { $as_echo "$as_me:$LINENO: result: no" >&5
7173 $as_echo "no" >&6; }
7187 rhapsody
* | darwin
*)
7188 if test -n "$ac_tool_prefix"; then
7189 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7190 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7192 $as_echo_n "checking for $ac_word... " >&6; }
7193 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7194 $as_echo_n "(cached) " >&6
7196 if test -n "$DSYMUTIL"; then
7197 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7203 test -z "$as_dir" && as_dir
=.
7204 for ac_exec_ext
in '' $ac_executable_extensions; do
7205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7206 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7207 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7216 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7217 if test -n "$DSYMUTIL"; then
7218 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7219 $as_echo "$DSYMUTIL" >&6; }
7221 { $as_echo "$as_me:$LINENO: result: no" >&5
7222 $as_echo "no" >&6; }
7227 if test -z "$ac_cv_prog_DSYMUTIL"; then
7228 ac_ct_DSYMUTIL
=$DSYMUTIL
7229 # Extract the first word of "dsymutil", so it can be a program name with args.
7230 set dummy dsymutil
; ac_word
=$2
7231 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7232 $as_echo_n "checking for $ac_word... " >&6; }
7233 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7234 $as_echo_n "(cached) " >&6
7236 if test -n "$ac_ct_DSYMUTIL"; then
7237 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir
=.
7244 for ac_exec_ext
in '' $ac_executable_extensions; do
7245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7246 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7247 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7257 if test -n "$ac_ct_DSYMUTIL"; then
7258 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7259 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7261 { $as_echo "$as_me:$LINENO: result: no" >&5
7262 $as_echo "no" >&6; }
7265 if test "x$ac_ct_DSYMUTIL" = x
; then
7268 case $cross_compiling:$ac_tool_warned in
7270 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7271 whose name does not start with the host triplet. If you think this
7272 configuration is useful to you, please write to autoconf@gnu.org." >&5
7273 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7274 whose name does not start with the host triplet. If you think this
7275 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7276 ac_tool_warned
=yes ;;
7278 DSYMUTIL
=$ac_ct_DSYMUTIL
7281 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7284 if test -n "$ac_tool_prefix"; then
7285 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7286 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7287 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7288 $as_echo_n "checking for $ac_word... " >&6; }
7289 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7290 $as_echo_n "(cached) " >&6
7292 if test -n "$NMEDIT"; then
7293 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir
=.
7300 for ac_exec_ext
in '' $ac_executable_extensions; do
7301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7302 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7303 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7312 NMEDIT
=$ac_cv_prog_NMEDIT
7313 if test -n "$NMEDIT"; then
7314 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7315 $as_echo "$NMEDIT" >&6; }
7317 { $as_echo "$as_me:$LINENO: result: no" >&5
7318 $as_echo "no" >&6; }
7323 if test -z "$ac_cv_prog_NMEDIT"; then
7324 ac_ct_NMEDIT
=$NMEDIT
7325 # Extract the first word of "nmedit", so it can be a program name with args.
7326 set dummy nmedit
; ac_word
=$2
7327 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7328 $as_echo_n "checking for $ac_word... " >&6; }
7329 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7330 $as_echo_n "(cached) " >&6
7332 if test -n "$ac_ct_NMEDIT"; then
7333 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7339 test -z "$as_dir" && as_dir
=.
7340 for ac_exec_ext
in '' $ac_executable_extensions; do
7341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7342 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7343 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7352 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7353 if test -n "$ac_ct_NMEDIT"; then
7354 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7355 $as_echo "$ac_ct_NMEDIT" >&6; }
7357 { $as_echo "$as_me:$LINENO: result: no" >&5
7358 $as_echo "no" >&6; }
7361 if test "x$ac_ct_NMEDIT" = x
; then
7364 case $cross_compiling:$ac_tool_warned in
7366 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7367 whose name does not start with the host triplet. If you think this
7368 configuration is useful to you, please write to autoconf@gnu.org." >&5
7369 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7370 whose name does not start with the host triplet. If you think this
7371 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7372 ac_tool_warned
=yes ;;
7374 NMEDIT
=$ac_ct_NMEDIT
7377 NMEDIT
="$ac_cv_prog_NMEDIT"
7381 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7382 $as_echo_n "checking for -single_module linker flag... " >&6; }
7383 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7384 $as_echo_n "(cached) " >&6
7386 lt_cv_apple_cc_single_mod
=no
7387 if test -z "${LT_MULTI_MODULE}"; then
7388 # By default we will add the -single_module flag. You can override
7389 # by either setting the environment variable LT_MULTI_MODULE
7390 # non-empty at configure time, or by adding -multi_module to the
7392 echo "int foo(void){return 1;}" > conftest.c
7393 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7394 -dynamiclib ${wl}-single_module conftest.c
7395 if test -f libconftest.dylib
; then
7396 lt_cv_apple_cc_single_mod
=yes
7397 rm -rf libconftest.dylib
*
7402 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7403 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7404 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7405 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7406 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7407 $as_echo_n "(cached) " >&6
7409 lt_cv_ld_exported_symbols_list
=no
7410 save_LDFLAGS
=$LDFLAGS
7411 echo "_main" > conftest.sym
7412 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7413 cat >conftest.
$ac_ext <<_ACEOF
7416 cat confdefs.h
>>conftest.
$ac_ext
7417 cat >>conftest.
$ac_ext <<_ACEOF
7418 /* end confdefs.h. */
7428 rm -f conftest.
$ac_objext conftest
$ac_exeext
7429 if { (ac_try
="$ac_link"
7431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7432 *) ac_try_echo=$ac_try;;
7434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7435 $as_echo "$ac_try_echo") >&5
7436 (eval "$ac_link") 2>conftest.er1
7438 grep -v '^ *+' conftest.er1 >conftest.err
7440 cat conftest.err >&5
7441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } && {
7443 test -z "$ac_c_werror_flag" ||
7444 test ! -s conftest.err
7445 } && test -s conftest$ac_exeext && {
7446 test "$cross_compiling" = yes ||
7447 $as_test_x conftest$ac_exeext
7449 lt_cv_ld_exported_symbols_list=yes
7451 $as_echo "$as_me: failed program was:" >&5
7452 sed 's/^/| /' conftest.$ac_ext >&5
7454 lt_cv_ld_exported_symbols_list=no
7457 rm -rf conftest.dSYM
7458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7459 conftest$ac_exeext conftest.$ac_ext
7460 LDFLAGS="$save_LDFLAGS"
7463 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7464 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7466 rhapsody* | darwin1.[0123])
7467 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7469 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7471 # if running on 10.5 or later, the deployment target defaults
7472 # to the OS version, if on x86, and 10.4, the deployment
7473 # target defaults to 10.4. Don't you love it?
7474 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7475 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7476 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7478 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7480 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7484 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7485 _lt_dar_single_mod='$single_module'
7487 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7488 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7490 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7492 if test "$DSYMUTIL" != ":"; then
7493 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7504 # Check whether --enable-libtool-lock was given.
7505 if test "${enable_libtool_lock+set}" = set; then
7506 enableval=$enable_libtool_lock;
7509 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7512 # Check whether --with-pic was given.
7513 if test "${with_pic+set}" = set; then
7514 withval=$with_pic; pic_mode="$withval"
7519 test -z "$pic_mode" && pic_mode=default
7521 # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
7523 # Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
7524 # We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
7525 # calls AC_LIBTOOL_CONFIG and creates libtool.
7527 { $as_echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
7528 $as_echo_n "checking for correct ltmain.sh version... " >&6; }
7529 if test "x$ltmain" = "x" ; then
7530 { $as_echo "$as_me:$LINENO: result: no" >&5
7531 $as_echo "no" >&6; }
7532 { { $as_echo "$as_me:$LINENO: error:
7534 *** [Gentoo] sanity check failed! ***
7535 *** \$ltmain is not defined, please check the patch for consistency! ***
7537 $as_echo "$as_me: error:
7539 *** [Gentoo] sanity check failed! ***
7540 *** \$ltmain is not defined, please check the patch for consistency! ***
7542 { (exit 1); exit 1; }; }
7544 gentoo_lt_version="1.5.26"
7545 gentoo_ltmain_version=`sed -n '/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}' "$ltmain"`
7546 if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
7547 { $as_echo "$as_me:$LINENO: result: no" >&5
7548 $as_echo "no" >&6; }
7549 { { $as_echo "$as_me:$LINENO: error:
7551 *** [Gentoo] sanity check failed! ***
7552 *** libtool.m4 and ltmain.sh have a version mismatch! ***
7553 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
7557 libtoolize --copy --force
7559 if appropriate, please contact the maintainer of this
7560 package (or your distribution) for help.
7562 $as_echo "$as_me: error:
7564 *** [Gentoo] sanity check failed! ***
7565 *** libtool.m4 and ltmain.sh have a version mismatch! ***
7566 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
7570 libtoolize --copy --force
7572 if appropriate, please contact the maintainer of this
7573 package (or your distribution) for help.
7575 { (exit 1); exit 1; }; }
7577 { $as_echo "$as_me:$LINENO: result: yes" >&5
7578 $as_echo "yes" >&6; }
7582 # Use C for the default configuration in the libtool script
7586 ac_cpp='$CPP $CPPFLAGS'
7587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7592 # Source file extension for C test sources.
7595 # Object file extension for compiled C test sources.
7599 # Code to be used in simple compile tests
7600 lt_simple_compile_test_code="int some_variable = 0;"
7602 # Code to be used in simple link tests
7603 lt_simple_link_test_code='int main(){return(0);}'
7606 # If no C compiler was specified, use CC.
7609 # If no C compiler flags were specified, use CFLAGS.
7610 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7612 # Allow CC to be a program name with arguments.
7616 # save warnings/boilerplate of simple test code
7617 ac_outfile=conftest.$ac_objext
7618 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7619 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7620 _lt_compiler_boilerplate=`cat conftest.err
`
7623 ac_outfile=conftest.$ac_objext
7624 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7625 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7626 _lt_linker_boilerplate=`cat conftest.err
`
7631 lt_prog_compiler_no_builtin_flag=
7633 if test "$GCC" = yes; then
7634 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7637 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7638 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7639 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7640 $as_echo_n "(cached) " >&6
7642 lt_cv_prog_compiler_rtti_exceptions=no
7643 ac_outfile=conftest.$ac_objext
7644 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7645 lt_compiler_flag="-fno-rtti -fno-exceptions"
7646 # Insert the option either (1) after the last *FLAGS variable, or
7647 # (2) before a word containing "conftest.", or (3) at the end.
7648 # Note that $ac_compile itself does not contain backslashes and begins
7649 # with a dollar sign (not a hyphen), so the echo should work correctly.
7650 # The option is referenced via a variable to avoid confusing sed.
7651 lt_compile=`echo "$ac_compile" |
$SED \
7652 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7653 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7654 -e 's:$: $lt_compiler_flag:'`
7655 (eval echo "\"\$as_me:7655: $lt_compile\"" >&5)
7656 (eval "$lt_compile" 2>conftest.err)
7658 cat conftest.err >&5
7659 echo "$as_me:7659: \$? = $ac_status" >&5
7660 if (exit $ac_status) && test -s "$ac_outfile"; then
7661 # The compiler can only warn and ignore the option if not recognized
7662 # So say no if there are warnings other than the usual output.
7663 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7664 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7665 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7666 lt_cv_prog_compiler_rtti_exceptions=yes
7672 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7673 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7675 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7676 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7683 lt_prog_compiler_wl=
7684 lt_prog_compiler_pic=
7685 lt_prog_compiler_static=
7687 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7688 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7690 if test "$GCC" = yes; then
7691 lt_prog_compiler_wl='-Wl,'
7692 lt_prog_compiler_static='-static'
7696 # All AIX code is PIC.
7697 if test "$host_cpu" = ia64; then
7698 # AIX 5 now supports IA64 processor
7699 lt_prog_compiler_static='-Bstatic'
7704 # FIXME: we need at least 68020 code to build shared libraries, but
7705 # adding the `-m68020' flag to GCC prevents building anything better,
7707 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7710 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7711 # PIC is the default for these OSes.
7714 mingw
* | cygwin
* | pw32
* | os2
*)
7715 # This hack is so that the source file can tell whether it is being
7716 # built for inclusion in a dll (and should export symbols for example).
7717 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7718 # (--disable-auto-import) libraries
7719 lt_prog_compiler_pic
='-DDLL_EXPORT'
7722 darwin
* | rhapsody
*)
7723 # PIC is the default on this platform
7724 # Common symbols not allowed in MH_DYLIB files
7725 lt_prog_compiler_pic
='-fno-common'
7729 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7730 # Instead, we relocate shared libraries at runtime.
7734 # Just because we use GCC doesn't mean we suddenly get shared libraries
7735 # on systems that don't support them.
7736 lt_prog_compiler_can_build_shared
=no
7741 if test -d /usr
/nec
; then
7742 lt_prog_compiler_pic
=-Kconform_pic
7747 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7754 lt_prog_compiler_pic
='-fPIC'
7760 lt_prog_compiler_pic
='-fPIC'
7764 # PORTME Check for flag to pass linker flags through the system compiler.
7767 lt_prog_compiler_wl
='-Wl,'
7768 if test "$host_cpu" = ia64
; then
7769 # AIX 5 now supports IA64 processor
7770 lt_prog_compiler_static
='-Bstatic'
7772 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7776 # PIC is the default on this platform
7777 # Common symbols not allowed in MH_DYLIB files
7778 case $cc_basename in
7780 lt_prog_compiler_pic
='-qnocommon'
7781 lt_prog_compiler_wl
='-Wl,'
7786 mingw
* | cygwin
* | pw32
* | os2
*)
7787 # This hack is so that the source file can tell whether it is being
7788 # built for inclusion in a dll (and should export symbols for example).
7789 lt_prog_compiler_pic
='-DDLL_EXPORT'
7792 hpux9
* | hpux10
* | hpux11
*)
7793 lt_prog_compiler_wl
='-Wl,'
7794 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7801 lt_prog_compiler_pic
='+Z'
7804 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7805 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7808 irix5
* | irix6
* | nonstopux
*)
7809 lt_prog_compiler_wl
='-Wl,'
7810 # PIC (with -KPIC) is the default.
7811 lt_prog_compiler_static
='-non_shared'
7815 lt_prog_compiler_pic
='-KPIC'
7816 lt_prog_compiler_static
='-Bstatic'
7819 linux
* | k
*bsd
*-gnu)
7820 case $cc_basename in
7822 lt_prog_compiler_wl
='-Wl,'
7823 lt_prog_compiler_pic
='-KPIC'
7824 lt_prog_compiler_static
='-static'
7826 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7827 # Portland Group compilers (*not* the Pentium gcc compiler,
7828 # which looks to be a dead project)
7829 lt_prog_compiler_wl
='-Wl,'
7830 lt_prog_compiler_pic
='-fpic'
7831 lt_prog_compiler_static
='-Bstatic'
7834 lt_prog_compiler_wl
='-Wl,'
7835 # All Alpha code is PIC.
7836 lt_prog_compiler_static
='-non_shared'
7839 case `$CC -V 2>&1 | sed 5q` in
7842 lt_prog_compiler_pic
='-KPIC'
7843 lt_prog_compiler_static
='-Bstatic'
7844 lt_prog_compiler_wl
='-Wl,'
7847 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7848 lt_prog_compiler_pic
='-KPIC'
7849 lt_prog_compiler_static
='-Bstatic'
7850 lt_prog_compiler_wl
=''
7857 osf3
* | osf4
* | osf5
*)
7858 lt_prog_compiler_wl
='-Wl,'
7859 # All OSF/1 code is PIC.
7860 lt_prog_compiler_static
='-non_shared'
7864 lt_prog_compiler_static
='-non_shared'
7868 lt_prog_compiler_pic
='-KPIC'
7869 lt_prog_compiler_static
='-Bstatic'
7870 case $cc_basename in
7872 lt_prog_compiler_wl
='-Qoption ld ';;
7874 lt_prog_compiler_wl
='-Wl,';;
7879 lt_prog_compiler_wl
='-Qoption ld '
7880 lt_prog_compiler_pic
='-PIC'
7881 lt_prog_compiler_static
='-Bstatic'
7884 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7885 lt_prog_compiler_wl
='-Wl,'
7886 lt_prog_compiler_pic
='-KPIC'
7887 lt_prog_compiler_static
='-Bstatic'
7891 if test -d /usr
/nec
;then
7892 lt_prog_compiler_pic
='-Kconform_pic'
7893 lt_prog_compiler_static
='-Bstatic'
7897 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7898 lt_prog_compiler_wl
='-Wl,'
7899 lt_prog_compiler_pic
='-KPIC'
7900 lt_prog_compiler_static
='-Bstatic'
7904 lt_prog_compiler_wl
='-Wl,'
7905 lt_prog_compiler_can_build_shared
=no
7909 lt_prog_compiler_pic
='-pic'
7910 lt_prog_compiler_static
='-Bstatic'
7914 lt_prog_compiler_can_build_shared
=no
7919 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7920 $as_echo "$lt_prog_compiler_pic" >&6; }
7923 # Check to make sure the PIC flag actually works.
7925 if test -n "$lt_prog_compiler_pic"; then
7927 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7928 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7929 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7930 $as_echo_n "(cached) " >&6
7932 lt_cv_prog_compiler_pic_works
=no
7933 ac_outfile
=conftest.
$ac_objext
7934 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7935 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7936 # Insert the option either (1) after the last *FLAGS variable, or
7937 # (2) before a word containing "conftest.", or (3) at the end.
7938 # Note that $ac_compile itself does not contain backslashes and begins
7939 # with a dollar sign (not a hyphen), so the echo should work correctly.
7940 # The option is referenced via a variable to avoid confusing sed.
7941 lt_compile
=`echo "$ac_compile" | $SED \
7942 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7943 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7944 -e 's:$: $lt_compiler_flag:'`
7945 (eval echo "\"\$as_me:7945: $lt_compile\"" >&5)
7946 (eval "$lt_compile" 2>conftest.err
)
7948 cat conftest.err
>&5
7949 echo "$as_me:7949: \$? = $ac_status" >&5
7950 if (exit $ac_status) && test -s "$ac_outfile"; then
7951 # The compiler can only warn and ignore the option if not recognized
7952 # So say no if there are warnings other than the usual output.
7953 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7954 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7955 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7956 lt_cv_prog_compiler_pic_works
=yes
7962 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7963 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7965 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7966 case $lt_prog_compiler_pic in
7968 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7971 lt_prog_compiler_pic
=
7972 lt_prog_compiler_can_build_shared
=no
7977 # For platforms which do not support PIC, -DPIC is meaningless:
7979 lt_prog_compiler_pic
=
7982 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7987 # Check to make sure the static flag actually works.
7989 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7990 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7991 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7992 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7993 $as_echo_n "(cached) " >&6
7995 lt_cv_prog_compiler_static_works
=no
7996 save_LDFLAGS
="$LDFLAGS"
7997 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7998 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7999 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8000 # The linker can only warn and ignore the option if not recognized
8001 # So say no if there are warnings
8002 if test -s conftest.err
; then
8003 # Append any errors to the config.log.
8004 cat conftest.err
1>&5
8005 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8006 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8007 if diff conftest.exp conftest.er2
>/dev
/null
; then
8008 lt_cv_prog_compiler_static_works
=yes
8011 lt_cv_prog_compiler_static_works
=yes
8015 LDFLAGS
="$save_LDFLAGS"
8018 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8019 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8021 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8024 lt_prog_compiler_static
=
8028 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8029 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8030 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8031 $as_echo_n "(cached) " >&6
8033 lt_cv_prog_compiler_c_o
=no
8034 $rm -r conftest
2>/dev
/null
8038 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8040 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8041 # Insert the option either (1) after the last *FLAGS variable, or
8042 # (2) before a word containing "conftest.", or (3) at the end.
8043 # Note that $ac_compile itself does not contain backslashes and begins
8044 # with a dollar sign (not a hyphen), so the echo should work correctly.
8045 lt_compile
=`echo "$ac_compile" | $SED \
8046 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8047 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8048 -e 's:$: $lt_compiler_flag:'`
8049 (eval echo "\"\$as_me:8049: $lt_compile\"" >&5)
8050 (eval "$lt_compile" 2>out
/conftest.err
)
8052 cat out
/conftest.err
>&5
8053 echo "$as_me:8053: \$? = $ac_status" >&5
8054 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8056 # The compiler can only warn and ignore the option if not recognized
8057 # So say no if there are warnings
8058 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8059 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8060 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8061 lt_cv_prog_compiler_c_o
=yes
8066 # SGI C++ compiler will create directory out/ii_files/ for
8067 # template instantiation
8068 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8069 $rm out
/* && rmdir out
8075 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8076 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8079 hard_links
="nottested"
8080 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8081 # do not overwrite the value of need_locks provided by the user
8082 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8083 $as_echo_n "checking if we can lock with hard links... " >&6; }
8086 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8088 ln conftest.a conftest.b
2>&5 || hard_links
=no
8089 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8090 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8091 $as_echo "$hard_links" >&6; }
8092 if test "$hard_links" = no
; then
8093 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8094 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8101 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8102 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8105 allow_undefined_flag
=
8106 enable_shared_with_static_runtimes
=no
8108 archive_expsym_cmds
=
8109 old_archive_From_new_cmds
=
8110 old_archive_from_expsyms_cmds
=
8111 export_dynamic_flag_spec
=
8112 whole_archive_flag_spec
=
8113 thread_safe_flag_spec
=
8114 hardcode_libdir_flag_spec
=
8115 hardcode_libdir_flag_spec_ld
=
8116 hardcode_libdir_separator
=
8119 hardcode_shlibpath_var
=unsupported
8120 link_all_deplibs
=unknown
8121 hardcode_automatic
=no
8124 always_export_symbols
=no
8125 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8126 # include_expsyms should be a list of space-separated symbols to be *always*
8127 # included in the symbol list
8129 # exclude_expsyms can be an extended regexp of symbols to exclude
8130 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8131 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8132 # as well as any symbol that contains `d'.
8133 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8134 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8135 # platforms (ab)use it in PIC code, but their linkers get confused if
8136 # the symbol is explicitly referenced. Since portable code cannot
8137 # rely on this symbol name, it's probably fine to never include it in
8138 # preloaded symbol tables.
8139 # Exclude shared library initialization/finalization symbols.
8140 extract_expsyms_cmds
=
8141 # Just being paranoid about ensuring that cc_basename is set.
8142 for cc_temp
in $compiler""; do
8144 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8145 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8150 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8153 cygwin
* | mingw
* | pw32
*)
8154 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8155 # When not using gcc, we currently assume that we are using
8156 # Microsoft Visual C++.
8157 if test "$GCC" != yes; then
8162 # we just hope/assume this is gcc and not c89 (= MSVC++)
8171 if test "$with_gnu_ld" = yes; then
8172 # If archive_cmds runs LD, not CC, wlarc should be empty
8175 # Set some defaults for GNU ld with shared library support. These
8176 # are reset later if shared libraries are not supported. Putting them
8177 # here allows them to be overridden if necessary.
8178 runpath_var
=LD_RUN_PATH
8179 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8180 export_dynamic_flag_spec
='${wl}--export-dynamic'
8181 # ancient GNU ld didn't support --whole-archive et. al.
8182 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8183 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8185 whole_archive_flag_spec
=
8187 supports_anon_versioning
=no
8188 case `$LD -v 2>/dev/null` in
8189 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8190 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8191 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8192 *\
2.11.
*) ;; # other 2.11 versions
8193 *) supports_anon_versioning
=yes ;;
8196 # See if GNU ld supports shared libraries.
8199 # On AIX/PPC, the GNU linker is very broken
8200 if test "$host_cpu" != ia64
; then
8204 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8205 *** to be unable to reliably create shared libraries on AIX.
8206 *** Therefore, libtool is disabling shared libraries support. If you
8207 *** really care for shared libraries, you may want to modify your PATH
8208 *** so that a non-GNU linker is found, and then restart.
8215 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)'
8216 hardcode_libdir_flag_spec
='-L$libdir'
8217 hardcode_minus_L
=yes
8219 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8220 # that the semantics of dynamic libraries on AmigaOS, at least up
8221 # to version 4, is to share data among multiple programs linked
8222 # with the same dynamic library. Since this doesn't match the
8223 # behavior of shared libraries on other platforms, we can't use
8229 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8230 allow_undefined_flag
=unsupported
8231 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8232 # support --undefined. This deserves some investigation. FIXME
8233 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8239 cygwin
* | mingw
* | pw32
*)
8240 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8241 # as there is no search path for DLLs.
8242 hardcode_libdir_flag_spec
='-L$libdir'
8243 allow_undefined_flag
=unsupported
8244 always_export_symbols
=no
8245 enable_shared_with_static_runtimes
=yes
8246 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8248 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8249 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8250 # If the export-symbols file already is a .def file (1st line
8251 # is EXPORTS), use it as is; otherwise, prepend...
8252 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8253 cp $export_symbols $output_objdir/$soname.def;
8255 echo EXPORTS > $output_objdir/$soname.def;
8256 cat $export_symbols >> $output_objdir/$soname.def;
8258 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8266 hardcode_shlibpath_var
=no
8267 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8268 export_dynamic_flag_spec
='${wl}-E'
8269 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8270 # Instead, shared libraries are loaded at an image base (0x10000000 by
8271 # default) and relocated if they conflict, which is a slow very memory
8272 # consuming and fragmenting process. To avoid this, we pick a random,
8273 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8274 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8275 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8276 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'
8279 gnu
* | linux
* | k
*bsd
*-gnu)
8280 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8282 case $cc_basename,$host_cpu in
8283 pgcc
*) # Portland Group C compiler
8284 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'
8285 tmp_addflag
=' $pic_flag'
8287 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8288 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'
8289 tmp_addflag
=' $pic_flag -Mnomain' ;;
8290 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8291 tmp_addflag
=' -i_dynamic' ;;
8292 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8293 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8294 ifc
* | ifort
*) # Intel Fortran compiler
8295 tmp_addflag
=' -nofor_main' ;;
8297 case `$CC -V 2>&1 | sed 5q` in
8298 *Sun\ C
*) # Sun C 5.9
8299 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8300 tmp_sharedflag
='-G' ;;
8301 *Sun\ F
*) # Sun Fortran 8.3
8302 tmp_sharedflag
='-G' ;;
8304 tmp_sharedflag
='-shared' ;;
8306 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8308 if test $supports_anon_versioning = yes; then
8309 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8310 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8311 $echo "local: *; };" >> $output_objdir/$libname.ver~
8312 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8320 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8321 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8324 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8325 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8330 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8335 *** create shared libraries on Solaris systems. Therefore, libtool
8336 *** is disabling shared libraries support. We urge you to upgrade GNU
8337 *** binutils to release 2.9.1 or newer. Another option is to modify
8338 *** your PATH or compiler configuration so that the native linker is
8339 *** used, and then restart.
8342 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8343 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8344 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8350 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8351 case `$LD -v 2>&1` in
8352 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8357 *** reliably create shared libraries on SCO systems. Therefore, libtool
8358 *** is disabling shared libraries support. We urge you to upgrade GNU
8359 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8360 *** your PATH or compiler configuration so that the native linker is
8361 *** used, and then restart.
8366 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8367 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8368 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8369 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8378 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8381 hardcode_shlibpath_var
=no
8385 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8386 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8387 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8394 if test "$ld_shlibs" = no
; then
8396 hardcode_libdir_flag_spec
=
8397 export_dynamic_flag_spec
=
8398 whole_archive_flag_spec
=
8401 # PORTME fill in a description of your system's linker (not GNU ld)
8404 allow_undefined_flag
=unsupported
8405 always_export_symbols
=yes
8406 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8407 # Note: this linker hardcodes the directories in LIBPATH if there
8408 # are no directories specified by -L.
8409 hardcode_minus_L
=yes
8410 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8411 # Neither direct hardcoding nor static linking is supported with a
8413 hardcode_direct
=unsupported
8418 if test "$host_cpu" = ia64
; then
8419 # On IA64, the linker does run time linking by default, so we don't
8420 # have to do anything special.
8421 aix_use_runtimelinking
=no
8422 exp_sym_flag
='-Bexport'
8425 # If we're using GNU nm, then we don't want the "-C" option.
8426 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8427 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8428 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8430 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8432 aix_use_runtimelinking
=no
8434 # Test if we are trying to use run time linking or normal
8435 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8436 # need to do runtime linking.
8437 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8438 for ld_flag
in $LDFLAGS; do
8439 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8440 aix_use_runtimelinking
=yes
8447 exp_sym_flag
='-bexport'
8448 no_entry_flag
='-bnoentry'
8451 # When large executables or shared objects are built, AIX ld can
8452 # have problems creating the table of contents. If linking a library
8453 # or program results in "error TOC overflow" add -mminimal-toc to
8454 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8455 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8459 hardcode_libdir_separator
=':'
8460 link_all_deplibs
=yes
8462 if test "$GCC" = yes; then
8463 case $host_os in aix4.
[012]|aix4.
[012].
*)
8464 # We only want to do this on AIX 4.2 and lower, the check
8465 # below for broken collect2 doesn't work under 4.3+
8466 collect2name
=`${CC} -print-prog-name=collect2`
8467 if test -f "$collect2name" && \
8468 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8470 # We have reworked collect2
8473 # We have old collect2
8474 hardcode_direct
=unsupported
8475 # It fails to find uninstalled libraries when the uninstalled
8476 # path is not listed in the libpath. Setting hardcode_minus_L
8477 # to unsupported forces relinking
8478 hardcode_minus_L
=yes
8479 hardcode_libdir_flag_spec
='-L$libdir'
8480 hardcode_libdir_separator
=
8484 shared_flag
='-shared'
8485 if test "$aix_use_runtimelinking" = yes; then
8486 shared_flag
="$shared_flag "'${wl}-G'
8490 if test "$host_cpu" = ia64
; then
8491 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8492 # chokes on -Wl,-G. The following line is correct:
8495 if test "$aix_use_runtimelinking" = yes; then
8496 shared_flag
='${wl}-G'
8498 shared_flag
='${wl}-bM:SRE'
8503 # It seems that -bexpall does not export symbols beginning with
8504 # underscore (_), so it is better to generate a list of symbols to export.
8505 always_export_symbols
=yes
8506 if test "$aix_use_runtimelinking" = yes; then
8507 # Warning - without using the other runtime loading flags (-brtl),
8508 # -berok will link without error, but may produce a broken library.
8509 allow_undefined_flag
='-berok'
8510 # Determine the default libpath from the value encoded in an empty executable.
8511 cat >conftest.
$ac_ext <<_ACEOF
8514 cat confdefs.h
>>conftest.
$ac_ext
8515 cat >>conftest.
$ac_ext <<_ACEOF
8516 /* end confdefs.h. */
8526 rm -f conftest.
$ac_objext conftest
$ac_exeext
8527 if { (ac_try
="$ac_link"
8529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8530 *) ac_try_echo=$ac_try;;
8532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8533 $as_echo "$ac_try_echo") >&5
8534 (eval "$ac_link") 2>conftest.er1
8536 grep -v '^ *+' conftest.er1 >conftest.err
8538 cat conftest.err >&5
8539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8540 (exit $ac_status); } && {
8541 test -z "$ac_c_werror_flag" ||
8542 test ! -s conftest.err
8543 } && test -s conftest$ac_exeext && {
8544 test "$cross_compiling" = yes ||
8545 $as_test_x conftest$ac_exeext
8548 lt_aix_libpath_sed='
8549 /Import File Strings/,/^$/ {
8555 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8556 # Check for a 64-bit object if we didn't find anything.
8557 if test -z "$aix_libpath"; then
8558 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8561 $as_echo "$as_me: failed program was:" >&5
8562 sed 's/^/| /' conftest.$ac_ext >&5
8567 rm -rf conftest.dSYM
8568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8569 conftest$ac_exeext conftest.$ac_ext
8570 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8572 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8573 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"
8575 if test "$host_cpu" = ia64; then
8576 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8577 allow_undefined_flag="-z nodefs"
8578 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"
8580 # Determine the default libpath from the value encoded in an empty executable.
8581 cat >conftest.$ac_ext <<_ACEOF
8584 cat confdefs.h >>conftest.$ac_ext
8585 cat >>conftest.$ac_ext <<_ACEOF
8586 /* end confdefs.h. */
8596 rm -f conftest.$ac_objext conftest$ac_exeext
8597 if { (ac_try="$ac_link"
8599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8600 *) ac_try_echo
=$ac_try;;
8602 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8603 $as_echo "$ac_try_echo") >&5
8604 (eval "$ac_link") 2>conftest.er1
8606 grep -v '^ *+' conftest.er1
>conftest.err
8608 cat conftest.err
>&5
8609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); } && {
8611 test -z "$ac_c_werror_flag" ||
8612 test ! -s conftest.err
8613 } && test -s conftest
$ac_exeext && {
8614 test "$cross_compiling" = yes ||
8615 $as_test_x conftest
$ac_exeext
8618 lt_aix_libpath_sed
='
8619 /Import File Strings/,/^$/ {
8625 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8626 # Check for a 64-bit object if we didn't find anything.
8627 if test -z "$aix_libpath"; then
8628 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8631 $as_echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.
$ac_ext >&5
8637 rm -rf conftest.dSYM
8638 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8639 conftest
$ac_exeext conftest.
$ac_ext
8640 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8642 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8643 # Warning - without using the other run time loading flags,
8644 # -berok will link without error, but may produce a broken library.
8645 no_undefined_flag
=' ${wl}-bernotok'
8646 allow_undefined_flag
=' ${wl}-berok'
8647 # Exported symbols can be pulled into shared objects from archives
8648 whole_archive_flag_spec
='$convenience'
8649 archive_cmds_need_lc
=yes
8650 # This is similar to how AIX traditionally builds its shared libraries.
8651 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'
8657 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)'
8658 hardcode_libdir_flag_spec
='-L$libdir'
8659 hardcode_minus_L
=yes
8660 # see comment about different semantics on the GNU ld section
8665 export_dynamic_flag_spec
=-rdynamic
8668 cygwin
* | mingw
* | pw32
*)
8669 # When not using gcc, we currently assume that we are using
8670 # Microsoft Visual C++.
8671 # hardcode_libdir_flag_spec is actually meaningless, as there is
8672 # no search path for DLLs.
8673 hardcode_libdir_flag_spec
=' '
8674 allow_undefined_flag
=unsupported
8675 # Tell ltmain to make .lib files, not .a files.
8677 # Tell ltmain to make .dll files, not .so files.
8679 # FIXME: Setting linknames here is a bad hack.
8680 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8681 # The linker will automatically build a .lib file if we build a DLL.
8682 old_archive_From_new_cmds
='true'
8683 # FIXME: Should let the user specify the lib program.
8684 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8685 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8686 enable_shared_with_static_runtimes
=yes
8689 darwin
* | rhapsody
*)
8691 rhapsody
* | darwin1.
[012])
8692 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8695 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8696 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8698 case ${MACOSX_DEPLOYMENT_TARGET} in
8700 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8703 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8709 archive_cmds_need_lc
=no
8711 hardcode_automatic
=yes
8712 hardcode_shlibpath_var
=unsupported
8713 whole_archive_flag_spec
=''
8714 link_all_deplibs
=yes
8715 if test "$GCC" = yes ; then
8716 output_verbose_link_cmd
='echo'
8717 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8718 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8719 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8720 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8722 case $cc_basename in
8724 output_verbose_link_cmd
='echo'
8725 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8726 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8727 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8728 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8729 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}'
8739 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8740 hardcode_libdir_flag_spec
='-L$libdir'
8741 hardcode_shlibpath_var
=no
8748 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8749 # support. Future versions do this automatically, but an explicit c++rt0.o
8750 # does not break anything, and helps significantly (at the cost of a little
8753 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8754 hardcode_libdir_flag_spec
='-R$libdir'
8756 hardcode_shlibpath_var
=no
8759 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8761 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8763 hardcode_minus_L
=yes
8764 hardcode_shlibpath_var
=no
8767 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8768 freebsd
* | dragonfly
*)
8769 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8770 hardcode_libdir_flag_spec
='-R$libdir'
8772 hardcode_shlibpath_var
=no
8776 if test "$GCC" = yes; then
8777 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'
8779 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'
8781 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8782 hardcode_libdir_separator
=:
8785 # hardcode_minus_L: Not really in the search PATH,
8786 # but as the default location of the library.
8787 hardcode_minus_L
=yes
8788 export_dynamic_flag_spec
='${wl}-E'
8792 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8793 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8795 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8797 if test "$with_gnu_ld" = no
; then
8798 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8799 hardcode_libdir_separator
=:
8802 export_dynamic_flag_spec
='${wl}-E'
8804 # hardcode_minus_L: Not really in the search PATH,
8805 # but as the default location of the library.
8806 hardcode_minus_L
=yes
8811 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8814 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8817 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8820 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8826 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8829 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8832 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8836 if test "$with_gnu_ld" = no
; then
8837 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8838 hardcode_libdir_separator
=:
8842 hardcode_libdir_flag_spec_ld
='+b $libdir'
8844 hardcode_shlibpath_var
=no
8848 export_dynamic_flag_spec
='${wl}-E'
8850 # hardcode_minus_L: Not really in the search PATH,
8851 # but as the default location of the library.
8852 hardcode_minus_L
=yes
8858 irix5
* | irix6
* | nonstopux
*)
8859 if test "$GCC" = yes; then
8860 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'
8862 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'
8863 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8865 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8866 hardcode_libdir_separator
=:
8867 link_all_deplibs
=yes
8871 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8872 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8874 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8876 hardcode_libdir_flag_spec
='-R$libdir'
8878 hardcode_shlibpath_var
=no
8882 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8884 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8885 hardcode_libdir_separator
=:
8886 hardcode_shlibpath_var
=no
8890 if test -f /usr
/libexec
/ld.so
; then
8892 hardcode_shlibpath_var
=no
8893 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8894 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8895 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8896 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8897 export_dynamic_flag_spec
='${wl}-E'
8900 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8901 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8902 hardcode_libdir_flag_spec
='-R$libdir'
8905 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8906 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8916 hardcode_libdir_flag_spec
='-L$libdir'
8917 hardcode_minus_L
=yes
8918 allow_undefined_flag
=unsupported
8919 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'
8920 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8924 if test "$GCC" = yes; then
8925 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8926 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'
8928 allow_undefined_flag
=' -expect_unresolved \*'
8929 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'
8931 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8932 hardcode_libdir_separator
=:
8935 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8936 if test "$GCC" = yes; then
8937 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8938 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'
8939 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8941 allow_undefined_flag
=' -expect_unresolved \*'
8942 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'
8943 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8944 $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'
8946 # Both c and cxx compiler support -rpath directly
8947 hardcode_libdir_flag_spec
='-rpath $libdir'
8949 hardcode_libdir_separator
=:
8953 no_undefined_flag
=' -z text'
8954 if test "$GCC" = yes; then
8956 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8957 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8958 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8961 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8962 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8963 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8965 hardcode_libdir_flag_spec
='-R$libdir'
8966 hardcode_shlibpath_var
=no
8968 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8970 # The compiler driver will combine and reorder linker options,
8971 # but understands `-z linker_flag'. GCC discards it without `$wl',
8972 # but is careful enough not to reorder.
8973 # Supported since Solaris 2.6 (maybe 2.5.1?)
8974 if test "$GCC" = yes; then
8975 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8977 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8981 link_all_deplibs
=yes
8985 if test "x$host_vendor" = xsequent
; then
8986 # Use $CC to link under sequent, because it throws in some extra .o
8987 # files that make .init and .fini sections work.
8988 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8990 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8992 hardcode_libdir_flag_spec
='-L$libdir'
8994 hardcode_minus_L
=yes
8995 hardcode_shlibpath_var
=no
8999 case $host_vendor in
9001 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9002 hardcode_direct
=yes # is this really true???
9005 ## LD is ld it makes a PLAMLIB
9006 ## CC just makes a GrossModule.
9007 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9008 reload_cmds
='$CC -r -o $output$reload_objs'
9012 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9013 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9016 runpath_var
='LD_RUN_PATH'
9017 hardcode_shlibpath_var
=no
9021 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9022 hardcode_shlibpath_var
=no
9023 export_dynamic_flag_spec
='-Bexport'
9027 if test -d /usr
/nec
; then
9028 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9029 hardcode_shlibpath_var
=no
9030 runpath_var
=LD_RUN_PATH
9031 hardcode_runpath_var
=yes
9036 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9037 no_undefined_flag
='${wl}-z,text'
9038 archive_cmds_need_lc
=no
9039 hardcode_shlibpath_var
=no
9040 runpath_var
='LD_RUN_PATH'
9042 if test "$GCC" = yes; then
9043 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9044 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9046 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9047 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9051 sysv5
* | sco3.2v5
* | sco5v6
*)
9052 # Note: We can NOT use -z defs as we might desire, because we do not
9053 # link with -lc, and that would cause any symbols used from libc to
9054 # always be unresolved, which means just about no library would
9055 # ever link correctly. If we're not using GNU ld we use -z text
9056 # though, which does catch some bad symbols but isn't as heavy-handed
9058 no_undefined_flag
='${wl}-z,text'
9059 allow_undefined_flag
='${wl}-z,nodefs'
9060 archive_cmds_need_lc
=no
9061 hardcode_shlibpath_var
=no
9062 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9063 hardcode_libdir_separator
=':'
9064 link_all_deplibs
=yes
9065 export_dynamic_flag_spec
='${wl}-Bexport'
9066 runpath_var
='LD_RUN_PATH'
9068 if test "$GCC" = yes; then
9069 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9070 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9072 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9073 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9078 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9079 hardcode_libdir_flag_spec
='-L$libdir'
9080 hardcode_shlibpath_var
=no
9089 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9090 $as_echo "$ld_shlibs" >&6; }
9091 test "$ld_shlibs" = no
&& can_build_shared
=no
9094 # Do we need to explicitly link libc?
9096 case "x$archive_cmds_need_lc" in
9098 # Assume -lc should be added
9099 archive_cmds_need_lc
=yes
9101 if test "$enable_shared" = yes && test "$GCC" = yes; then
9102 case $archive_cmds in
9104 # FIXME: we may have to deal with multi-command sequences.
9107 # Test whether the compiler implicitly links with -lc since on some
9108 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9109 # to ld, don't add -lc before -lgcc.
9110 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9111 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9113 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9116 (eval $ac_compile) 2>&5
9118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); } 2>conftest.err
; then
9122 libobjs
=conftest.
$ac_objext
9124 wl
=$lt_prog_compiler_wl
9125 pic_flag
=$lt_prog_compiler_pic
9131 lt_save_allow_undefined_flag
=$allow_undefined_flag
9132 allow_undefined_flag
=
9133 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9134 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); }
9139 archive_cmds_need_lc
=no
9141 archive_cmds_need_lc
=yes
9143 allow_undefined_flag
=$lt_save_allow_undefined_flag
9145 cat conftest.err
1>&5
9148 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9149 $as_echo "$archive_cmds_need_lc" >&6; }
9156 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9157 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9159 libname_spec
='lib$name'
9167 shlibpath_overrides_runpath
=unknown
9169 dynamic_linker
="$host_os ld.so"
9170 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9172 if test "$GCC" = yes; then
9174 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9175 *) lt_awk_arg
="/^libraries:/" ;;
9177 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9178 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
9179 # if the path contains ";" then we assume it to be the separator
9180 # otherwise default to the standard path separator (i.e. ":") - it is
9181 # assumed that no part of a normal pathname contains ";" but that should
9182 # okay in the real world where ";" in dirpaths is itself problematic.
9183 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9185 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9187 # Ok, now we have the path, separated by spaces, we can step through it
9188 # and add multilib dir if necessary.
9189 lt_tmp_lt_search_path_spec
=
9190 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9191 for lt_sys_path
in $lt_search_path_spec; do
9192 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9193 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9195 test -d "$lt_sys_path" && \
9196 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9199 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9200 BEGIN {RS=" "; FS="/|\n";} {
9203 for (lt_i = NF; lt_i > 0; lt_i--) {
9204 if ($lt_i != "" && $lt_i != ".") {
9205 if ($lt_i == "..") {
9208 if (lt_count == 0) {
9209 lt_foo="/" $lt_i lt_foo;
9216 if (lt_foo != "") { lt_freq[lt_foo]++; }
9217 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9219 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9221 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9223 need_lib_prefix
=unknown
9224 hardcode_into_libs
=no
9226 # when you set need_version to no, make sure it does not cause -set_version
9227 # flags to be left without arguments
9228 need_version
=unknown
9233 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9234 shlibpath_var
=LIBPATH
9236 # AIX 3 has no versioning support, so we append a major version to the name.
9237 soname_spec
='${libname}${release}${shared_ext}$major'
9244 hardcode_into_libs
=yes
9245 if test "$host_cpu" = ia64
; then
9246 # AIX 5 supports IA64
9247 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9248 shlibpath_var
=LD_LIBRARY_PATH
9250 # With GCC up to 2.95.x, collect2 would create an import file
9251 # for dependence libraries. The import file would start with
9252 # the line `#! .'. This would cause the generated library to
9253 # depend on `.', always an invalid library. This was fixed in
9254 # development snapshots of GCC prior to 3.0.
9256 aix4 | aix4.
[01] | aix4.
[01].
*)
9257 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9259 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9266 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9267 # soname into executable. Probably we can add versioning support to
9268 # collect2, so additional links can be useful in future.
9269 if test "$aix_use_runtimelinking" = yes; then
9270 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9271 # instead of lib<name>.a to let people know that these are not
9272 # typical AIX shared libraries.
9273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9275 # We preserve .a as extension for shared libraries through AIX4.2
9276 # and later when we are not doing run time linking.
9277 library_names_spec
='${libname}${release}.a $libname.a'
9278 soname_spec
='${libname}${release}${shared_ext}$major'
9280 shlibpath_var
=LIBPATH
9285 library_names_spec
='$libname.ixlibrary $libname.a'
9286 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9287 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'
9291 library_names_spec
='${libname}${shared_ext}'
9292 dynamic_linker
="$host_os ld.so"
9293 shlibpath_var
=LIBRARY_PATH
9299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9300 soname_spec
='${libname}${release}${shared_ext}$major'
9301 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9302 shlibpath_var
=LD_LIBRARY_PATH
9303 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9304 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9305 # the default ld.so.conf also contains /usr/contrib/lib and
9306 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9307 # libtool to hard-code these into programs
9310 cygwin
* | mingw
* | pw32
*)
9311 version_type
=windows
9316 case $GCC,$host_os in
9317 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9318 library_names_spec
='$libname.dll.a'
9319 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9320 postinstall_cmds
='base_file=`basename \${file}`~
9321 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9322 dldir=$destdir/`dirname \$dlpath`~
9323 test -d \$dldir || mkdir -p \$dldir~
9324 $install_prog $dir/$dlname \$dldir/$dlname~
9325 chmod a+x \$dldir/$dlname'
9326 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9327 dlpath=$dir/\$dldll~
9329 shlibpath_overrides_runpath
=yes
9333 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9334 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9335 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9338 # MinGW DLLs use traditional 'lib' prefix
9339 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9340 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9341 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9342 # It is most probably a Windows format PATH printed by
9343 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9344 # path with ; separators, and with drive letters. We can handle the
9345 # drive letters (cygwin fileutils understands them), so leave them,
9346 # especially as we might pass files found there to a mingw objdump,
9347 # which wouldn't understand a cygwinified path. Ahh.
9348 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9350 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9354 # pw32 DLLs use 'pw' prefix rather than 'lib'
9355 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9361 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9364 dynamic_linker
='Win32 ld.exe'
9365 # FIXME: first we should search . and the directory the executable is in
9369 darwin
* | rhapsody
*)
9370 dynamic_linker
="$host_os dyld"
9374 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9375 soname_spec
='${libname}${release}${major}$shared_ext'
9376 shlibpath_overrides_runpath
=yes
9377 shlibpath_var
=DYLD_LIBRARY_PATH
9378 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9380 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9381 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9389 soname_spec
='${libname}${release}${shared_ext}$major'
9390 shlibpath_var
=LD_LIBRARY_PATH
9397 freebsd
* | dragonfly
*)
9398 # DragonFly does not have aout. When/if they implement a new
9399 # versioning mechanism, adjust this.
9400 if test -x /usr
/bin
/objformat
; then
9401 objformat
=`/usr/bin/objformat`
9404 freebsd
[123]*) objformat
=aout
;;
9408 # Handle Gentoo/FreeBSD as it was Linux
9409 case $host_vendor in
9411 version_type
=linux
;;
9413 version_type
=freebsd-
$objformat ;;
9416 case $version_type in
9418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9423 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9428 soname_spec
='${libname}${release}${shared_ext}$major'
9433 shlibpath_var
=LD_LIBRARY_PATH
9436 shlibpath_overrides_runpath
=yes
9438 freebsd3.
[01]* | freebsdelf3.
[01]*)
9439 shlibpath_overrides_runpath
=yes
9440 hardcode_into_libs
=yes
9442 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9443 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9444 shlibpath_overrides_runpath
=no
9445 hardcode_into_libs
=yes
9447 *) # from 4.6 on, and DragonFly
9448 shlibpath_overrides_runpath
=yes
9449 hardcode_into_libs
=yes
9458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9459 soname_spec
='${libname}${release}${shared_ext}$major'
9460 shlibpath_var
=LD_LIBRARY_PATH
9461 hardcode_into_libs
=yes
9464 hpux9
* | hpux10
* | hpux11
*)
9465 # Give a soname corresponding to the major version so that dld.sl refuses to
9466 # link against other versions.
9473 hardcode_into_libs
=yes
9474 dynamic_linker
="$host_os dld.so"
9475 shlibpath_var
=LD_LIBRARY_PATH
9476 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9478 soname_spec
='${libname}${release}${shared_ext}$major'
9479 if test "X$HPUX_IA64_MODE" = X32
; then
9480 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9482 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9484 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9488 hardcode_into_libs
=yes
9489 dynamic_linker
="$host_os dld.sl"
9490 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9491 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9493 soname_spec
='${libname}${release}${shared_ext}$major'
9494 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9495 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9499 dynamic_linker
="$host_os dld.sl"
9500 shlibpath_var
=SHLIB_PATH
9501 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9503 soname_spec
='${libname}${release}${shared_ext}$major'
9506 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9507 postinstall_cmds
='chmod 555 $lib'
9514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9515 soname_spec
='${libname}${release}${shared_ext}$major'
9516 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9517 shlibpath_var
=LD_LIBRARY_PATH
9518 shlibpath_overrides_runpath
=no
9519 hardcode_into_libs
=yes
9522 irix5
* | irix6
* | nonstopux
*)
9524 nonstopux
*) version_type
=nonstopux
;;
9526 if test "$lt_cv_prog_gnu_ld" = yes; then
9534 soname_spec
='${libname}${release}${shared_ext}$major'
9535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9537 irix5
* | nonstopux
*)
9541 case $LD in # libtool.m4 will add one of these switches to LD
9542 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9543 libsuff
= shlibsuff
= libmagic
=32-bit;;
9544 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9545 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9546 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9547 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9548 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9552 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9553 shlibpath_overrides_runpath
=no
9554 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9555 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9556 hardcode_into_libs
=yes
9559 # No shared lib support for Linux oldld, aout, or coff.
9560 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9564 # This must be Linux ELF.
9565 linux
* | k
*bsd
*-gnu)
9569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9570 soname_spec
='${libname}${release}${shared_ext}$major'
9571 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9572 shlibpath_var
=LD_LIBRARY_PATH
9573 shlibpath_overrides_runpath
=no
9574 # This implies no fast_install, which is unacceptable.
9575 # Some rework will be needed to allow for fast_install
9576 # before this can be enabled.
9577 hardcode_into_libs
=yes
9579 # Append ld.so.conf contents to the search path
9580 if test -f /etc
/ld.so.conf
; then
9581 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9582 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9585 # We used to test for /lib/ld.so.1 and disable shared libraries on
9586 # powerpc, because MkLinux only supported shared libraries with the
9587 # GNU dynamic linker. Since this was broken with cross compilers,
9588 # most powerpc-linux boxes support dynamic linking these days and
9589 # people can always --disable-shared, the test was removed, and we
9590 # assume the GNU/Linux dynamic linker is in use.
9591 dynamic_linker
='GNU/Linux ld.so'
9598 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9600 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9601 dynamic_linker
='NetBSD (a.out) ld.so'
9603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9604 soname_spec
='${libname}${release}${shared_ext}$major'
9605 dynamic_linker
='NetBSD ld.elf_so'
9607 shlibpath_var
=LD_LIBRARY_PATH
9608 shlibpath_overrides_runpath
=yes
9609 hardcode_into_libs
=yes
9614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9615 shlibpath_var
=LD_LIBRARY_PATH
9616 shlibpath_overrides_runpath
=yes
9623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9624 soname_spec
='${libname}${release}${shared_ext}$major'
9625 shlibpath_var
=LD_LIBRARY_PATH
9626 shlibpath_overrides_runpath
=yes
9631 sys_lib_dlsearch_path_spec
="/usr/lib"
9633 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9635 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9636 *) need_version
=no
;;
9638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9639 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9640 shlibpath_var
=LD_LIBRARY_PATH
9641 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9643 openbsd2.
[89] | openbsd2.
[89].
*)
9644 shlibpath_overrides_runpath
=no
9647 shlibpath_overrides_runpath
=yes
9651 shlibpath_overrides_runpath
=yes
9656 libname_spec
='$name'
9659 library_names_spec
='$libname${shared_ext} $libname.a'
9660 dynamic_linker
='OS/2 ld.exe'
9661 shlibpath_var
=LIBPATH
9664 osf3
* | osf4
* | osf5
*)
9668 soname_spec
='${libname}${release}${shared_ext}$major'
9669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9670 shlibpath_var
=LD_LIBRARY_PATH
9671 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9672 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9684 soname_spec
='${libname}${release}${shared_ext}$major'
9685 shlibpath_var
=LD_LIBRARY_PATH
9686 shlibpath_overrides_runpath
=yes
9687 hardcode_into_libs
=yes
9688 # ldd complains unless libraries are executable
9689 postinstall_cmds
='chmod +x $lib'
9694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9695 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9696 shlibpath_var
=LD_LIBRARY_PATH
9697 shlibpath_overrides_runpath
=yes
9698 if test "$with_gnu_ld" = yes; then
9706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9707 soname_spec
='${libname}${release}${shared_ext}$major'
9708 shlibpath_var
=LD_LIBRARY_PATH
9709 case $host_vendor in
9711 shlibpath_overrides_runpath
=no
9713 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9714 runpath_var
=LD_RUN_PATH
9722 shlibpath_overrides_runpath
=no
9723 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9729 if test -d /usr
/nec
;then
9731 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9732 soname_spec
='$libname${shared_ext}.$major'
9733 shlibpath_var
=LD_LIBRARY_PATH
9737 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9738 version_type
=freebsd-elf
9741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9742 soname_spec
='${libname}${release}${shared_ext}$major'
9743 shlibpath_var
=LD_LIBRARY_PATH
9744 hardcode_into_libs
=yes
9745 if test "$with_gnu_ld" = yes; then
9746 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9747 shlibpath_overrides_runpath
=no
9749 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9750 shlibpath_overrides_runpath
=yes
9753 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9757 sys_lib_dlsearch_path_spec
='/usr/lib'
9762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9763 soname_spec
='${libname}${release}${shared_ext}$major'
9764 shlibpath_var
=LD_LIBRARY_PATH
9771 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9772 $as_echo "$dynamic_linker" >&6; }
9773 test "$dynamic_linker" = no
&& can_build_shared
=no
9775 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9776 $as_echo_n "(cached) " >&6
9778 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9781 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9782 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9783 $as_echo_n "(cached) " >&6
9785 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9788 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9790 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9791 if test "$GCC" = yes; then
9792 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9795 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9796 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9798 if test -n "$hardcode_libdir_flag_spec" || \
9799 test -n "$runpath_var" || \
9800 test "X$hardcode_automatic" = "Xyes" ; then
9802 # We can hardcode non-existant directories.
9803 if test "$hardcode_direct" != no
&&
9804 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9805 # have to relink, otherwise we might link with an installed library
9806 # when we should be linking with a yet-to-be-installed one
9807 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9808 test "$hardcode_minus_L" != no
; then
9809 # Linking always hardcodes the temporary library directory.
9810 hardcode_action
=relink
9812 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9813 hardcode_action
=immediate
9816 # We cannot hardcode anything, or else we can only hardcode existing
9818 hardcode_action
=unsupported
9820 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9821 $as_echo "$hardcode_action" >&6; }
9823 if test "$hardcode_action" = relink
; then
9824 # Fast installation is not supported
9825 enable_fast_install
=no
9826 elif test "$shlibpath_overrides_runpath" = yes ||
9827 test "$enable_shared" = no
; then
9828 # Fast installation is not necessary
9829 enable_fast_install
=needless
9834 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9835 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9836 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9837 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9838 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9839 { $as_echo "$as_me:$LINENO: result: yes" >&5
9840 $as_echo "yes" >&6; }
9842 # FIXME - insert some real tests, host_os isn't really good enough
9845 if test -n "$STRIP" ; then
9846 striplib
="$STRIP -x"
9847 old_striplib
="$STRIP -S"
9848 { $as_echo "$as_me:$LINENO: result: yes" >&5
9849 $as_echo "yes" >&6; }
9851 { $as_echo "$as_me:$LINENO: result: no" >&5
9852 $as_echo "no" >&6; }
9856 { $as_echo "$as_me:$LINENO: result: no" >&5
9857 $as_echo "no" >&6; }
9862 if test "x$enable_dlopen" != xyes
; then
9863 enable_dlopen
=unknown
9864 enable_dlopen_self
=unknown
9865 enable_dlopen_self_static
=unknown
9872 lt_cv_dlopen
="load_add_on"
9874 lt_cv_dlopen_self
=yes
9878 lt_cv_dlopen
="LoadLibrary"
9883 lt_cv_dlopen
="dlopen"
9888 # if libdl is installed we need to link against it
9889 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9890 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9891 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9892 $as_echo_n "(cached) " >&6
9894 ac_check_lib_save_LIBS
=$LIBS
9896 cat >conftest.
$ac_ext <<_ACEOF
9899 cat confdefs.h
>>conftest.
$ac_ext
9900 cat >>conftest.
$ac_ext <<_ACEOF
9901 /* end confdefs.h. */
9903 /* Override any GCC internal prototype to avoid an error.
9904 Use char because int might match the return type of a GCC
9905 builtin and then its argument prototype would still apply. */
9918 rm -f conftest.
$ac_objext conftest
$ac_exeext
9919 if { (ac_try
="$ac_link"
9921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9922 *) ac_try_echo=$ac_try;;
9924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9925 $as_echo "$ac_try_echo") >&5
9926 (eval "$ac_link") 2>conftest.er1
9928 grep -v '^ *+' conftest.er1 >conftest.err
9930 cat conftest.err >&5
9931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); } && {
9933 test -z "$ac_c_werror_flag" ||
9934 test ! -s conftest.err
9935 } && test -s conftest$ac_exeext && {
9936 test "$cross_compiling" = yes ||
9937 $as_test_x conftest$ac_exeext
9939 ac_cv_lib_dl_dlopen=yes
9941 $as_echo "$as_me: failed program was:" >&5
9942 sed 's/^/| /' conftest.$ac_ext >&5
9944 ac_cv_lib_dl_dlopen=no
9947 rm -rf conftest.dSYM
9948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9949 conftest$ac_exeext conftest.$ac_ext
9950 LIBS=$ac_check_lib_save_LIBS
9952 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9953 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9954 if test $ac_cv_lib_dl_dlopen = yes; then
9955 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9960 lt_cv_dlopen_self=yes
9967 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9968 $as_echo_n "checking for shl_load... " >&6; }
9969 if test "${ac_cv_func_shl_load+set}" = set; then
9970 $as_echo_n "(cached) " >&6
9972 cat >conftest.$ac_ext <<_ACEOF
9975 cat confdefs.h >>conftest.$ac_ext
9976 cat >>conftest.$ac_ext <<_ACEOF
9977 /* end confdefs.h. */
9978 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9980 #define shl_load innocuous_shl_load
9982 /* System header to define __stub macros and hopefully few prototypes,
9983 which can conflict with char shl_load (); below.
9984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9985 <limits.h> exists even on freestanding compilers. */
9988 # include <limits.h>
9990 # include <assert.h>
9995 /* Override any GCC internal prototype to avoid an error.
9996 Use char because int might match the return type of a GCC
9997 builtin and then its argument prototype would still apply. */
10002 /* The GNU C library defines this for functions which it implements
10003 to always fail with ENOSYS. Some functions are actually named
10004 something starting with __ and the normal name is an alias. */
10005 #if defined __stub_shl_load || defined __stub___shl_load
10012 return shl_load ();
10017 rm -f conftest.$ac_objext conftest$ac_exeext
10018 if { (ac_try="$ac_link"
10019 case "(($ac_try" in
10020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10021 *) ac_try_echo
=$ac_try;;
10023 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10024 $as_echo "$ac_try_echo") >&5
10025 (eval "$ac_link") 2>conftest.er1
10027 grep -v '^ *+' conftest.er1
>conftest.err
10029 cat conftest.err
>&5
10030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } && {
10032 test -z "$ac_c_werror_flag" ||
10033 test ! -s conftest.err
10034 } && test -s conftest
$ac_exeext && {
10035 test "$cross_compiling" = yes ||
10036 $as_test_x conftest
$ac_exeext
10038 ac_cv_func_shl_load
=yes
10040 $as_echo "$as_me: failed program was:" >&5
10041 sed 's/^/| /' conftest.
$ac_ext >&5
10043 ac_cv_func_shl_load
=no
10046 rm -rf conftest.dSYM
10047 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10048 conftest
$ac_exeext conftest.
$ac_ext
10050 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10051 $as_echo "$ac_cv_func_shl_load" >&6; }
10052 if test $ac_cv_func_shl_load = yes; then
10053 lt_cv_dlopen
="shl_load"
10055 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10056 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10057 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10058 $as_echo_n "(cached) " >&6
10060 ac_check_lib_save_LIBS
=$LIBS
10062 cat >conftest.
$ac_ext <<_ACEOF
10065 cat confdefs.h
>>conftest.
$ac_ext
10066 cat >>conftest.
$ac_ext <<_ACEOF
10067 /* end confdefs.h. */
10069 /* Override any GCC internal prototype to avoid an error.
10070 Use char because int might match the return type of a GCC
10071 builtin and then its argument prototype would still apply. */
10079 return shl_load ();
10084 rm -f conftest.
$ac_objext conftest
$ac_exeext
10085 if { (ac_try
="$ac_link"
10086 case "(($ac_try" in
10087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10088 *) ac_try_echo=$ac_try;;
10090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10091 $as_echo "$ac_try_echo") >&5
10092 (eval "$ac_link") 2>conftest.er1
10094 grep -v '^ *+' conftest.er1 >conftest.err
10096 cat conftest.err >&5
10097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); } && {
10099 test -z "$ac_c_werror_flag" ||
10100 test ! -s conftest.err
10101 } && test -s conftest$ac_exeext && {
10102 test "$cross_compiling" = yes ||
10103 $as_test_x conftest$ac_exeext
10105 ac_cv_lib_dld_shl_load=yes
10107 $as_echo "$as_me: failed program was:" >&5
10108 sed 's/^/| /' conftest.$ac_ext >&5
10110 ac_cv_lib_dld_shl_load=no
10113 rm -rf conftest.dSYM
10114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10115 conftest$ac_exeext conftest.$ac_ext
10116 LIBS=$ac_check_lib_save_LIBS
10118 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10119 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10120 if test $ac_cv_lib_dld_shl_load = yes; then
10121 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10123 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10124 $as_echo_n "checking for dlopen... " >&6; }
10125 if test "${ac_cv_func_dlopen+set}" = set; then
10126 $as_echo_n "(cached) " >&6
10128 cat >conftest.$ac_ext <<_ACEOF
10131 cat confdefs.h >>conftest.$ac_ext
10132 cat >>conftest.$ac_ext <<_ACEOF
10133 /* end confdefs.h. */
10134 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10136 #define dlopen innocuous_dlopen
10138 /* System header to define __stub macros and hopefully few prototypes,
10139 which can conflict with char dlopen (); below.
10140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10141 <limits.h> exists even on freestanding compilers. */
10144 # include <limits.h>
10146 # include <assert.h>
10151 /* Override any GCC internal prototype to avoid an error.
10152 Use char because int might match the return type of a GCC
10153 builtin and then its argument prototype would still apply. */
10158 /* The GNU C library defines this for functions which it implements
10159 to always fail with ENOSYS. Some functions are actually named
10160 something starting with __ and the normal name is an alias. */
10161 #if defined __stub_dlopen || defined __stub___dlopen
10173 rm -f conftest.$ac_objext conftest$ac_exeext
10174 if { (ac_try="$ac_link"
10175 case "(($ac_try" in
10176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10177 *) ac_try_echo
=$ac_try;;
10179 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10180 $as_echo "$ac_try_echo") >&5
10181 (eval "$ac_link") 2>conftest.er1
10183 grep -v '^ *+' conftest.er1
>conftest.err
10185 cat conftest.err
>&5
10186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); } && {
10188 test -z "$ac_c_werror_flag" ||
10189 test ! -s conftest.err
10190 } && test -s conftest
$ac_exeext && {
10191 test "$cross_compiling" = yes ||
10192 $as_test_x conftest
$ac_exeext
10194 ac_cv_func_dlopen
=yes
10196 $as_echo "$as_me: failed program was:" >&5
10197 sed 's/^/| /' conftest.
$ac_ext >&5
10199 ac_cv_func_dlopen
=no
10202 rm -rf conftest.dSYM
10203 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10204 conftest
$ac_exeext conftest.
$ac_ext
10206 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10207 $as_echo "$ac_cv_func_dlopen" >&6; }
10208 if test $ac_cv_func_dlopen = yes; then
10209 lt_cv_dlopen
="dlopen"
10211 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10212 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10213 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10214 $as_echo_n "(cached) " >&6
10216 ac_check_lib_save_LIBS
=$LIBS
10218 cat >conftest.
$ac_ext <<_ACEOF
10221 cat confdefs.h
>>conftest.
$ac_ext
10222 cat >>conftest.
$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10240 rm -f conftest.
$ac_objext conftest
$ac_exeext
10241 if { (ac_try
="$ac_link"
10242 case "(($ac_try" in
10243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10247 $as_echo "$ac_try_echo") >&5
10248 (eval "$ac_link") 2>conftest.er1
10250 grep -v '^ *+' conftest.er1 >conftest.err
10252 cat conftest.err >&5
10253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); } && {
10255 test -z "$ac_c_werror_flag" ||
10256 test ! -s conftest.err
10257 } && test -s conftest$ac_exeext && {
10258 test "$cross_compiling" = yes ||
10259 $as_test_x conftest$ac_exeext
10261 ac_cv_lib_dl_dlopen=yes
10263 $as_echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.$ac_ext >&5
10266 ac_cv_lib_dl_dlopen=no
10269 rm -rf conftest.dSYM
10270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10271 conftest$ac_exeext conftest.$ac_ext
10272 LIBS=$ac_check_lib_save_LIBS
10274 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10275 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10276 if test $ac_cv_lib_dl_dlopen = yes; then
10277 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10279 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10280 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10281 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10282 $as_echo_n "(cached) " >&6
10284 ac_check_lib_save_LIBS=$LIBS
10285 LIBS="-lsvld $LIBS"
10286 cat >conftest.$ac_ext <<_ACEOF
10289 cat confdefs.h >>conftest.$ac_ext
10290 cat >>conftest.$ac_ext <<_ACEOF
10291 /* end confdefs.h. */
10293 /* Override any GCC internal prototype to avoid an error.
10294 Use char because int might match the return type of a GCC
10295 builtin and then its argument prototype would still apply. */
10308 rm -f conftest.$ac_objext conftest$ac_exeext
10309 if { (ac_try="$ac_link"
10310 case "(($ac_try" in
10311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10312 *) ac_try_echo
=$ac_try;;
10314 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10315 $as_echo "$ac_try_echo") >&5
10316 (eval "$ac_link") 2>conftest.er1
10318 grep -v '^ *+' conftest.er1
>conftest.err
10320 cat conftest.err
>&5
10321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); } && {
10323 test -z "$ac_c_werror_flag" ||
10324 test ! -s conftest.err
10325 } && test -s conftest
$ac_exeext && {
10326 test "$cross_compiling" = yes ||
10327 $as_test_x conftest
$ac_exeext
10329 ac_cv_lib_svld_dlopen
=yes
10331 $as_echo "$as_me: failed program was:" >&5
10332 sed 's/^/| /' conftest.
$ac_ext >&5
10334 ac_cv_lib_svld_dlopen
=no
10337 rm -rf conftest.dSYM
10338 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10339 conftest
$ac_exeext conftest.
$ac_ext
10340 LIBS
=$ac_check_lib_save_LIBS
10342 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10343 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10344 if test $ac_cv_lib_svld_dlopen = yes; then
10345 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10347 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10348 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10349 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10350 $as_echo_n "(cached) " >&6
10352 ac_check_lib_save_LIBS
=$LIBS
10354 cat >conftest.
$ac_ext <<_ACEOF
10357 cat confdefs.h
>>conftest.
$ac_ext
10358 cat >>conftest.
$ac_ext <<_ACEOF
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10371 return dld_link ();
10376 rm -f conftest.
$ac_objext conftest
$ac_exeext
10377 if { (ac_try
="$ac_link"
10378 case "(($ac_try" in
10379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10380 *) ac_try_echo=$ac_try;;
10382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10383 $as_echo "$ac_try_echo") >&5
10384 (eval "$ac_link") 2>conftest.er1
10386 grep -v '^ *+' conftest.er1 >conftest.err
10388 cat conftest.err >&5
10389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); } && {
10391 test -z "$ac_c_werror_flag" ||
10392 test ! -s conftest.err
10393 } && test -s conftest$ac_exeext && {
10394 test "$cross_compiling" = yes ||
10395 $as_test_x conftest$ac_exeext
10397 ac_cv_lib_dld_dld_link=yes
10399 $as_echo "$as_me: failed program was:" >&5
10400 sed 's/^/| /' conftest.$ac_ext >&5
10402 ac_cv_lib_dld_dld_link=no
10405 rm -rf conftest.dSYM
10406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10407 conftest$ac_exeext conftest.$ac_ext
10408 LIBS=$ac_check_lib_save_LIBS
10410 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10411 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10412 if test $ac_cv_lib_dld_dld_link = yes; then
10413 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10434 if test "x$lt_cv_dlopen" != xno; then
10440 case $lt_cv_dlopen in
10442 save_CPPFLAGS="$CPPFLAGS"
10443 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10445 save_LDFLAGS="$LDFLAGS"
10446 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10449 LIBS="$lt_cv_dlopen_libs $LIBS"
10451 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10452 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10453 if test "${lt_cv_dlopen_self+set}" = set; then
10454 $as_echo_n "(cached) " >&6
10456 if test "$cross_compiling" = yes; then :
10457 lt_cv_dlopen_self=cross
10459 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10460 lt_status=$lt_dlunknown
10461 cat > conftest.$ac_ext <<EOF
10462 #line 10462 "configure"
10463 #include "confdefs.h"
10472 # define LT_DLGLOBAL RTLD_GLOBAL
10475 # define LT_DLGLOBAL DL_GLOBAL
10477 # define LT_DLGLOBAL 0
10481 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10482 find out it does not work in some platform. */
10483 #ifndef LT_DLLAZY_OR_NOW
10485 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10488 # define LT_DLLAZY_OR_NOW DL_LAZY
10491 # define LT_DLLAZY_OR_NOW RTLD_NOW
10494 # define LT_DLLAZY_OR_NOW DL_NOW
10496 # define LT_DLLAZY_OR_NOW 0
10504 extern "C" void exit (int);
10507 void fnord() { int i=42;}
10510 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10511 int status = $lt_dlunknown;
10515 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10516 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10517 /* dlclose (self); */
10525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10526 (eval $ac_link) 2>&5
10528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10530 (./conftest; exit; ) >&5 2>/dev/null
10532 case x$lt_status in
10533 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10534 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10535 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10538 # compilation failed
10539 lt_cv_dlopen_self=no
10546 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10547 $as_echo "$lt_cv_dlopen_self" >&6; }
10549 if test "x$lt_cv_dlopen_self" = xyes; then
10550 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10551 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10552 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10553 if test "${lt_cv_dlopen_self_static+set}" = set; then
10554 $as_echo_n "(cached) " >&6
10556 if test "$cross_compiling" = yes; then :
10557 lt_cv_dlopen_self_static=cross
10559 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10560 lt_status=$lt_dlunknown
10561 cat > conftest.$ac_ext <<EOF
10562 #line 10562 "configure"
10563 #include "confdefs.h"
10572 # define LT_DLGLOBAL RTLD_GLOBAL
10575 # define LT_DLGLOBAL DL_GLOBAL
10577 # define LT_DLGLOBAL 0
10581 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10582 find out it does not work in some platform. */
10583 #ifndef LT_DLLAZY_OR_NOW
10585 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10588 # define LT_DLLAZY_OR_NOW DL_LAZY
10591 # define LT_DLLAZY_OR_NOW RTLD_NOW
10594 # define LT_DLLAZY_OR_NOW DL_NOW
10596 # define LT_DLLAZY_OR_NOW 0
10604 extern "C" void exit (int);
10607 void fnord() { int i=42;}
10610 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10611 int status = $lt_dlunknown;
10615 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10616 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10617 /* dlclose (self); */
10625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10626 (eval $ac_link) 2>&5
10628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10630 (./conftest; exit; ) >&5 2>/dev/null
10632 case x$lt_status in
10633 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10634 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10635 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10638 # compilation failed
10639 lt_cv_dlopen_self_static=no
10646 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10647 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10650 CPPFLAGS="$save_CPPFLAGS"
10651 LDFLAGS="$save_LDFLAGS"
10656 case $lt_cv_dlopen_self in
10657 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10658 *) enable_dlopen_self=unknown ;;
10661 case $lt_cv_dlopen_self_static in
10662 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10663 *) enable_dlopen_self_static=unknown ;;
10668 # Report which library types will actually be built
10669 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10670 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10671 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10672 $as_echo "$can_build_shared" >&6; }
10674 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10675 $as_echo_n "checking whether to build shared libraries... " >&6; }
10676 test "$can_build_shared" = "no" && enable_shared=no
10678 # On AIX, shared libraries and static libraries use the same namespace, and
10679 # are all built from PIC.
10682 test "$enable_shared" = yes && enable_static=no
10683 if test -n "$RANLIB"; then
10684 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10685 postinstall_cmds='$RANLIB $lib'
10690 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10691 test "$enable_shared" = yes && enable_static=no
10695 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10696 $as_echo "$enable_shared" >&6; }
10698 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10699 $as_echo_n "checking whether to build static libraries... " >&6; }
10700 # Make sure either enable_shared or enable_static is yes.
10701 test "$enable_shared" = yes || enable_static=yes
10702 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10703 $as_echo "$enable_static" >&6; }
10705 # The else clause should only fire when bootstrapping the
10706 # libtool distribution, otherwise you forgot to ship ltmain.sh
10707 # with your package, and you will get complaints that there are
10708 # no rules to generate ltmain.sh.
10709 if test -f "$ltmain"; then
10710 # See if we are running on zsh, and set the options which allow our commands through
10711 # without removal of \ escapes.
10712 if test -n "${ZSH_VERSION+set}" ; then
10713 setopt NO_GLOB_SUBST
10715 # Now quote all the things that may contain metacharacters while being
10716 # careful not to overquote the AC_SUBSTed values. We take copies of the
10717 # variables and quote the copies for generation of the libtool script.
10718 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10720 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10721 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10722 deplibs_check_method reload_flag reload_cmds need_locks \
10723 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10724 lt_cv_sys_global_symbol_to_c_name_address \
10725 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10726 old_postinstall_cmds old_postuninstall_cmds \
10730 lt_prog_compiler_wl \
10731 lt_prog_compiler_pic \
10732 lt_prog_compiler_static \
10733 lt_prog_compiler_no_builtin_flag \
10734 export_dynamic_flag_spec \
10735 thread_safe_flag_spec \
10736 whole_archive_flag_spec \
10737 enable_shared_with_static_runtimes \
10739 old_archive_from_new_cmds \
10744 compiler_lib_search_path \
10745 compiler_lib_search_dirs \
10747 archive_expsym_cmds \
10749 postuninstall_cmds \
10750 old_archive_from_expsyms_cmds \
10751 allow_undefined_flag \
10752 no_undefined_flag \
10753 export_symbols_cmds \
10754 hardcode_libdir_flag_spec \
10755 hardcode_libdir_flag_spec_ld \
10756 hardcode_libdir_separator \
10757 hardcode_automatic \
10759 module_expsym_cmds \
10760 lt_cv_prog_compiler_c_o \
10763 include_expsyms; do
10766 old_archive_cmds | \
10767 old_archive_from_new_cmds | \
10769 archive_expsym_cmds | \
10771 module_expsym_cmds | \
10772 old_archive_from_expsyms_cmds | \
10773 export_symbols_cmds | \
10774 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10775 postinstall_cmds | postuninstall_cmds | \
10776 old_postinstall_cmds | old_postuninstall_cmds | \
10777 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10778 # Double-quote double-evaled strings.
10779 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10782 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10788 *'\$0 --fallback-echo"')
10789 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10793 cfgfile="${ofile}T"
10794 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10796 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
10797 $as_echo "$as_me: creating $ofile" >&6;}
10799 cat <<__EOF__ >> "$cfgfile"
10802 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10803 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10804 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10806 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10807 # Free Software Foundation, Inc.
10809 # This file is part of GNU Libtool:
10810 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10812 # This program is free software; you can redistribute it and/or modify
10813 # it under the terms of the GNU General Public License as published by
10814 # the Free Software Foundation; either version 2 of the License, or
10815 # (at your option) any later version.
10817 # This program is distributed in the hope that it will be useful, but
10818 # WITHOUT ANY WARRANTY; without even the implied warranty of
10819 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10820 # General Public License for more details.
10822 # You should have received a copy of the GNU General Public License
10823 # along with this program; if not, write to the Free Software
10824 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10826 # As a special exception to the GNU General Public License, if you
10827 # distribute this file as part of a program that contains a
10828 # configuration script generated by Autoconf, you may include it under
10829 # the same distribution terms that you use for the rest of that program.
10831 # A sed program that does not truncate output.
10834 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10835 Xsed="$SED -e 1s/^X//"
10837 # The HP-UX ksh and POSIX shell print the target directory to stdout
10838 # if CDPATH is set.
10839 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10841 # The names of the tagged configurations supported by this script.
10844 # ### BEGIN LIBTOOL CONFIG
10846 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10848 # Shell to use when invoking shell scripts.
10851 # Whether or not to build shared libraries.
10852 build_libtool_libs=$enable_shared
10854 # Whether or not to build static libraries.
10855 build_old_libs=$enable_static
10857 # Whether or not to add -lc for building shared libraries.
10858 build_libtool_need_lc=$archive_cmds_need_lc
10860 # Whether or not to disallow shared libs when runtime libs are static
10861 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10863 # Whether or not to optimize for fast installation.
10864 fast_install=$enable_fast_install
10867 host_alias=$host_alias
10871 # The build system.
10872 build_alias=$build_alias
10876 # An echo program that does not interpret backslashes.
10881 AR_FLAGS=$lt_AR_FLAGS
10886 # LTCC compiler flags.
10887 LTCFLAGS=$lt_LTCFLAGS
10889 # A language-specific compiler.
10892 # Is the compiler the GNU C compiler?
10898 # The linker used to build libraries.
10901 # Whether we need hard or soft links.
10904 # A BSD-compatible nm program.
10907 # A symbol stripping program
10910 # Used to examine libraries when file_magic_cmd begins "file"
10911 MAGIC_CMD=$MAGIC_CMD
10913 # Used on cygwin: DLL creation program.
10916 # Used on cygwin: object dumper.
10919 # Used on cygwin: assembler.
10922 # The name of the directory that contains temporary libtool files.
10925 # How to create reloadable object files.
10926 reload_flag=$lt_reload_flag
10927 reload_cmds=$lt_reload_cmds
10929 # How to pass a linker flag through the compiler.
10930 wl=$lt_lt_prog_compiler_wl
10932 # Object file suffix (normally "o").
10933 objext="$ac_objext"
10935 # Old archive suffix (normally "a").
10938 # Shared library suffix (normally ".so").
10939 shrext_cmds='$shrext_cmds'
10941 # Executable file suffix (normally "").
10944 # Additional compiler flags for building library objects.
10945 pic_flag=$lt_lt_prog_compiler_pic
10948 # What is the maximum length of a command?
10949 max_cmd_len=$lt_cv_sys_max_cmd_len
10951 # Does compiler simultaneously support -c and -o options?
10952 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10954 # Must we lock files when doing compilation?
10955 need_locks=$lt_need_locks
10957 # Do we need the lib prefix for modules?
10958 need_lib_prefix=$need_lib_prefix
10960 # Do we need a version for libraries?
10961 need_version=$need_version
10963 # Whether dlopen is supported.
10964 dlopen_support=$enable_dlopen
10966 # Whether dlopen of programs is supported.
10967 dlopen_self=$enable_dlopen_self
10969 # Whether dlopen of statically linked programs is supported.
10970 dlopen_self_static=$enable_dlopen_self_static
10972 # Compiler flag to prevent dynamic linking.
10973 link_static_flag=$lt_lt_prog_compiler_static
10975 # Compiler flag to turn off builtin functions.
10976 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10978 # Compiler flag to allow reflexive dlopens.
10979 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10981 # Compiler flag to generate shared objects directly from archives.
10982 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10984 # Compiler flag to generate thread-safe objects.
10985 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10987 # Library versioning type.
10988 version_type=$version_type
10990 # Format of library name prefix.
10991 libname_spec=$lt_libname_spec
10993 # List of archive names. First name is the real one, the rest are links.
10994 # The last name is the one that the linker finds with -lNAME.
10995 library_names_spec=$lt_library_names_spec
10997 # The coded name of the library, if different from the real name.
10998 soname_spec=$lt_soname_spec
11000 # Commands used to build and install an old-style archive.
11002 old_archive_cmds=$lt_old_archive_cmds
11003 old_postinstall_cmds=$lt_old_postinstall_cmds
11004 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11006 # Create an old-style archive from a shared archive.
11007 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11009 # Create a temporary old-style archive to link instead of a shared archive.
11010 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11012 # Commands used to build and install a shared archive.
11013 archive_cmds=$lt_archive_cmds
11014 archive_expsym_cmds=$lt_archive_expsym_cmds
11015 postinstall_cmds=$lt_postinstall_cmds
11016 postuninstall_cmds=$lt_postuninstall_cmds
11018 # Commands used to build a loadable module (assumed same as above if empty)
11019 module_cmds=$lt_module_cmds
11020 module_expsym_cmds=$lt_module_expsym_cmds
11022 # Commands to strip libraries.
11023 old_striplib=$lt_old_striplib
11024 striplib=$lt_striplib
11026 # Dependencies to place before the objects being linked to create a
11028 predep_objects=$lt_predep_objects
11030 # Dependencies to place after the objects being linked to create a
11032 postdep_objects=$lt_postdep_objects
11034 # Dependencies to place before the objects being linked to create a
11036 predeps=$lt_predeps
11038 # Dependencies to place after the objects being linked to create a
11040 postdeps=$lt_postdeps
11042 # The directories searched by this compiler when creating a shared
11044 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11046 # The library search path used internally by the compiler when linking
11047 # a shared library.
11048 compiler_lib_search_path=$lt_compiler_lib_search_path
11050 # Method to check whether dependent libraries are shared objects.
11051 deplibs_check_method=$lt_deplibs_check_method
11053 # Command to use when deplibs_check_method == file_magic.
11054 file_magic_cmd=$lt_file_magic_cmd
11056 # Flag that allows shared libraries with undefined symbols to be built.
11057 allow_undefined_flag=$lt_allow_undefined_flag
11059 # Flag that forces no undefined symbols.
11060 no_undefined_flag=$lt_no_undefined_flag
11062 # Commands used to finish a libtool library installation in a directory.
11063 finish_cmds=$lt_finish_cmds
11065 # Same as above, but a single script fragment to be evaled but not shown.
11066 finish_eval=$lt_finish_eval
11068 # Take the output of nm and produce a listing of raw symbols and C names.
11069 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11071 # Transform the output of nm in a proper C declaration
11072 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11074 # Transform the output of nm in a C name address pair
11075 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11077 # This is the shared library runtime path variable.
11078 runpath_var=$runpath_var
11080 # This is the shared library path variable.
11081 shlibpath_var=$shlibpath_var
11083 # Is shlibpath searched before the hard-coded library search path?
11084 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11086 # How to hardcode a shared library path into an executable.
11087 hardcode_action=$hardcode_action
11089 # Whether we should hardcode library paths into libraries.
11090 hardcode_into_libs=$hardcode_into_libs
11092 # Flag to hardcode \$libdir into a binary during linking.
11093 # This must work even if \$libdir does not exist.
11094 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11096 # If ld is used when linking, flag to hardcode \$libdir into
11097 # a binary during linking. This must work even if \$libdir does
11099 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11101 # Whether we need a single -rpath flag with a separated argument.
11102 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11104 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11105 # resulting binary.
11106 hardcode_direct=$hardcode_direct
11108 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11109 # resulting binary.
11110 hardcode_minus_L=$hardcode_minus_L
11112 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11113 # the resulting binary.
11114 hardcode_shlibpath_var=$hardcode_shlibpath_var
11116 # Set to yes if building a shared library automatically hardcodes DIR into the library
11117 # and all subsequent libraries and executables linked against it.
11118 hardcode_automatic=$hardcode_automatic
11120 # Variables whose values should be saved in libtool wrapper scripts and
11121 # restored at relink time.
11122 variables_saved_for_relink="$variables_saved_for_relink"
11124 # Whether libtool must link a program against all its dependency libraries.
11125 link_all_deplibs=$link_all_deplibs
11127 # Compile-time system search path for libraries
11128 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11130 # Run-time system search path for libraries
11131 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11133 # Fix the shell variable \$srcfile for the compiler.
11134 fix_srcfile_path=$lt_fix_srcfile_path
11136 # Set to yes if exported symbols are required.
11137 always_export_symbols=$always_export_symbols
11139 # The commands to list exported symbols.
11140 export_symbols_cmds=$lt_export_symbols_cmds
11142 # The commands to extract the exported symbol list from a shared archive.
11143 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11145 # Symbols that should not be listed in the preloaded symbols.
11146 exclude_expsyms=$lt_exclude_expsyms
11148 # Symbols that must always be exported.
11149 include_expsyms=$lt_include_expsyms
11151 # ### END LIBTOOL CONFIG
11158 cat <<\EOF >> "$cfgfile"
11160 # AIX sometimes has problems with the GCC collect2 program. For some
11161 # reason, if we set the COLLECT_NAMES environment variable, the problems
11162 # vanish in a puff of smoke.
11163 if test "X${COLLECT_NAMES+set}" != Xset; then
11165 export COLLECT_NAMES
11171 # We use sed instead of cat because bash on DJGPP gets confused if
11172 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11173 # text mode, it properly converts lines to CR/LF. This bash problem
11174 # is reportedly fixed, but why not run on old versions too?
11175 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11177 mv -f "$cfgfile" "$ofile" || \
11178 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11182 # If there is no Makefile yet, we rely on a make rule to execute
11183 # `config.status
--recheck' to rerun these tests and create the
11184 # libtool script then.
11185 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11186 if test -f "$ltmain_in"; then
11187 test -f Makefile && make "$ltmain"
11193 ac_cpp='$CPP $CPPFLAGS'
11194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11195 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11201 # Check whether --with-tags was given.
11202 if test "${with_tags+set}" = set; then
11203 withval=$with_tags; tagnames="$withval"
11207 if test -f "$ltmain" && test -n "$tagnames"; then
11208 if test ! -f "${ofile}"; then
11209 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11210 $as_echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11213 if test -z "$LTCC"; then
11214 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11215 if test -z "$LTCC"; then
11216 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11217 $as_echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11219 { $as_echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11220 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11223 if test -z "$LTCFLAGS"; then
11224 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11227 # Extract list of available tagged configurations in $ofile.
11228 # Note that this assumes the entire list is on one line.
11229 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11231 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11232 for tagname in $tagnames; do
11234 # Check whether tagname contains only valid characters
11235 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11237 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11238 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
11239 { (exit 1); exit 1; }; }
11243 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11245 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11246 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11247 { (exit 1); exit 1; }; }
11250 # Update the list of available tags.
11251 if test -n "$tagname"; then
11252 echo appending configuration tag \"$tagname\" to $ofile
11256 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11257 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11258 (test "X$CXX" != "Xg++"))) ; then
11260 ac_cpp='$CXXCPP $CPPFLAGS'
11261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11268 archive_cmds_need_lc_CXX=no
11269 allow_undefined_flag_CXX=
11270 always_export_symbols_CXX=no
11271 archive_expsym_cmds_CXX=
11272 export_dynamic_flag_spec_CXX=
11273 hardcode_direct_CXX=no
11274 hardcode_libdir_flag_spec_CXX=
11275 hardcode_libdir_flag_spec_ld_CXX=
11276 hardcode_libdir_separator_CXX=
11277 hardcode_minus_L_CXX=no
11278 hardcode_shlibpath_var_CXX=unsupported
11279 hardcode_automatic_CXX=no
11281 module_expsym_cmds_CXX=
11282 link_all_deplibs_CXX=unknown
11283 old_archive_cmds_CXX=$old_archive_cmds
11284 no_undefined_flag_CXX=
11285 whole_archive_flag_spec_CXX=
11286 enable_shared_with_static_runtimes_CXX=no
11288 # Dependencies to place before and after the object being linked:
11289 predep_objects_CXX=
11290 postdep_objects_CXX=
11293 compiler_lib_search_path_CXX=
11294 compiler_lib_search_dirs_CXX=
11296 # Source file extension for C++ test sources.
11299 # Object file extension for compiled C++ test sources.
11303 # Code to be used in simple compile tests
11304 lt_simple_compile_test_code="int some_variable = 0;"
11306 # Code to be used in simple link tests
11307 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11309 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11311 # If no C compiler was specified, use CC.
11314 # If no C compiler flags were specified, use CFLAGS.
11315 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11317 # Allow CC to be a program name with arguments.
11321 # save warnings/boilerplate of simple test code
11322 ac_outfile=conftest.$ac_objext
11323 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11324 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11325 _lt_compiler_boilerplate=`cat conftest.err
`
11328 ac_outfile=conftest.$ac_objext
11329 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11330 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11331 _lt_linker_boilerplate=`cat conftest.err
`
11335 # Allow CC to be a program name with arguments.
11340 lt_save_with_gnu_ld=$with_gnu_ld
11341 lt_save_path_LD=$lt_cv_path_LD
11342 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11343 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11345 $as_unset lt_cv_prog_gnu_ld
11347 if test -n "${lt_cv_path_LDCXX+set}"; then
11348 lt_cv_path_LD=$lt_cv_path_LDCXX
11350 $as_unset lt_cv_path_LD
11352 test -z "${LDCXX+set}" || LD=$LDCXX
11356 for cc_temp in $compiler""; do
11358 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11359 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11364 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11367 # We don't want -fno-exception wen compiling C++ code, so set the
11368 # no_builtin_flag separately
11369 if test "$GXX" = yes; then
11370 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11372 lt_prog_compiler_no_builtin_flag_CXX=
11375 if test "$GXX" = yes; then
11376 # Set up default GNU C++ configuration
11379 # Check whether --with-gnu-ld was given.
11380 if test "${with_gnu_ld+set}" = set; then
11381 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11387 if test "$GCC" = yes; then
11388 # Check if gcc -print-prog-name=ld gives a path.
11389 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11390 $as_echo_n "checking for ld used by $CC... " >&6; }
11393 # gcc leaves a trailing carriage return which upsets mingw
11394 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11396 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11399 # Accept absolute paths.
11401 re_direlt='/[^/][^/]*/\.\./'
11402 # Canonicalize the pathname of ld
11403 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11404 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11405 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11407 test -z "$LD" && LD="$ac_prog"
11410 # If it fails, then pretend we aren't using GCC.
11414 # If it is relative, then search for the first ld in PATH.
11415 with_gnu_ld=unknown
11418 elif test "$with_gnu_ld" = yes; then
11419 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
11420 $as_echo_n "checking for GNU ld... " >&6; }
11422 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11423 $as_echo_n "checking for non-GNU ld... " >&6; }
11425 if test "${lt_cv_path_LD+set}" = set; then
11426 $as_echo_n "(cached) " >&6
11428 if test -z "$LD"; then
11429 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11430 for ac_dir in $PATH; do
11432 test -z "$ac_dir" && ac_dir=.
11433 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11434 lt_cv_path_LD="$ac_dir/$ac_prog"
11435 # Check to see if the program is GNU ld. I'd rather use --version,
11436 # but apparently some variants of GNU ld only accept -v.
11437 # Break only if it was the GNU/non-GNU ld that we prefer.
11438 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11439 *GNU* | *'with BFD'*)
11440 test "$with_gnu_ld" != no && break
11443 test "$with_gnu_ld" != yes && break
11450 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11454 LD="$lt_cv_path_LD"
11455 if test -n "$LD"; then
11456 { $as_echo "$as_me:$LINENO: result: $LD" >&5
11457 $as_echo "$LD" >&6; }
11459 { $as_echo "$as_me:$LINENO: result: no" >&5
11460 $as_echo "no" >&6; }
11462 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11463 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11464 { (exit 1); exit 1; }; }
11465 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11466 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11467 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11468 $as_echo_n "(cached) " >&6
11470 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11471 case `$LD -v 2>&1 </dev
/null
` in
11472 *GNU* | *'with BFD'*)
11473 lt_cv_prog_gnu_ld=yes
11476 lt_cv_prog_gnu_ld=no
11480 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11481 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11482 with_gnu_ld=$lt_cv_prog_gnu_ld
11486 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11487 # archiving commands below assume that GNU ld is being used.
11488 if test "$with_gnu_ld" = yes; then
11489 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11490 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'
11492 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11493 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11495 # If archive_cmds runs LD, not CC, wlarc should be empty
11496 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11497 # investigate it a little bit more. (MM)
11500 # ancient GNU ld didn't support --whole-archive et. al.
11501 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11502 grep 'no-whole-archive' > /dev/null; then
11503 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11505 whole_archive_flag_spec_CXX=
11511 # A generic and very simple default shared library creation
11512 # command for GNU C++ for the case where it uses the native
11513 # linker, instead of GNU ld. If possible, this setting should
11514 # overridden to take advantage of the native linker features on
11515 # the platform it is being used on.
11516 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11519 # Commands to make compiler produce verbose output that lists
11520 # what "hidden" libraries, object files and flags are used when
11521 # linking a shared library.
11522 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11530 # PORTME: fill in a description of your system's C++ link characteristics
11531 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11532 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11536 # FIXME: insert proper C++ library support
11540 if test "$host_cpu" = ia64; then
11541 # On IA64, the linker does run time linking by default, so we don't
11542 # have to do anything special.
11543 aix_use_runtimelinking=no
11544 exp_sym_flag='-Bexport'
11547 aix_use_runtimelinking=no
11549 # Test if we are trying to use run time linking or normal
11550 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11551 # need to do runtime linking.
11552 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11553 for ld_flag in $LDFLAGS; do
11556 aix_use_runtimelinking=yes
11564 exp_sym_flag='-bexport'
11565 no_entry_flag='-bnoentry'
11568 # When large executables or shared objects are built, AIX ld can
11569 # have problems creating the table of contents. If linking a library
11570 # or program results in "error TOC overflow" add -mminimal-toc to
11571 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11572 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11574 archive_cmds_CXX=''
11575 hardcode_direct_CXX=yes
11576 hardcode_libdir_separator_CXX=':'
11577 link_all_deplibs_CXX=yes
11579 if test "$GXX" = yes; then
11580 case $host_os in aix4.[012]|aix4.[012].*)
11581 # We only want to do this on AIX 4.2 and lower, the check
11582 # below for broken collect2 doesn't work under 4.3+
11583 collect2name=`${CC} -print-prog-name=collect2
`
11584 if test -f "$collect2name" && \
11585 strings "$collect2name" | grep resolve_lib_name >/dev/null
11587 # We have reworked collect2
11590 # We have old collect2
11591 hardcode_direct_CXX=unsupported
11592 # It fails to find uninstalled libraries when the uninstalled
11593 # path is not listed in the libpath. Setting hardcode_minus_L
11594 # to unsupported forces relinking
11595 hardcode_minus_L_CXX=yes
11596 hardcode_libdir_flag_spec_CXX='-L$libdir'
11597 hardcode_libdir_separator_CXX=
11601 shared_flag='-shared'
11602 if test "$aix_use_runtimelinking" = yes; then
11603 shared_flag="$shared_flag "'${wl}-G'
11607 if test "$host_cpu" = ia64; then
11608 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11609 # chokes on -Wl,-G. The following line is correct:
11612 if test "$aix_use_runtimelinking" = yes; then
11613 shared_flag='${wl}-G'
11615 shared_flag='${wl}-bM:SRE'
11620 # It seems that -bexpall does not export symbols beginning with
11621 # underscore (_), so it is better to generate a list of symbols to export.
11622 always_export_symbols_CXX=yes
11623 if test "$aix_use_runtimelinking" = yes; then
11624 # Warning - without using the other runtime loading flags (-brtl),
11625 # -berok will link without error, but may produce a broken library.
11626 allow_undefined_flag_CXX='-berok'
11627 # Determine the default libpath from the value encoded in an empty executable.
11628 cat >conftest.$ac_ext <<_ACEOF
11631 cat confdefs.h >>conftest.$ac_ext
11632 cat >>conftest.$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11643 rm -f conftest.$ac_objext conftest$ac_exeext
11644 if { (ac_try="$ac_link"
11645 case "(($ac_try" in
11646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11647 *) ac_try_echo
=$ac_try;;
11649 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11650 $as_echo "$ac_try_echo") >&5
11651 (eval "$ac_link") 2>conftest.er1
11653 grep -v '^ *+' conftest.er1
>conftest.err
11655 cat conftest.err
>&5
11656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } && {
11658 test -z "$ac_cxx_werror_flag" ||
11659 test ! -s conftest.err
11660 } && test -s conftest
$ac_exeext && {
11661 test "$cross_compiling" = yes ||
11662 $as_test_x conftest
$ac_exeext
11665 lt_aix_libpath_sed
='
11666 /Import File Strings/,/^$/ {
11672 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11673 # Check for a 64-bit object if we didn't find anything.
11674 if test -z "$aix_libpath"; then
11675 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11678 $as_echo "$as_me: failed program was:" >&5
11679 sed 's/^/| /' conftest.
$ac_ext >&5
11684 rm -rf conftest.dSYM
11685 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11686 conftest
$ac_exeext conftest.
$ac_ext
11687 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11689 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11691 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"
11693 if test "$host_cpu" = ia64
; then
11694 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11695 allow_undefined_flag_CXX
="-z nodefs"
11696 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"
11698 # Determine the default libpath from the value encoded in an empty executable.
11699 cat >conftest.
$ac_ext <<_ACEOF
11702 cat confdefs.h
>>conftest.
$ac_ext
11703 cat >>conftest.
$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11714 rm -f conftest.
$ac_objext conftest
$ac_exeext
11715 if { (ac_try
="$ac_link"
11716 case "(($ac_try" in
11717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11718 *) ac_try_echo=$ac_try;;
11720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11721 $as_echo "$ac_try_echo") >&5
11722 (eval "$ac_link") 2>conftest.er1
11724 grep -v '^ *+' conftest.er1 >conftest.err
11726 cat conftest.err >&5
11727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); } && {
11729 test -z "$ac_cxx_werror_flag" ||
11730 test ! -s conftest.err
11731 } && test -s conftest$ac_exeext && {
11732 test "$cross_compiling" = yes ||
11733 $as_test_x conftest$ac_exeext
11736 lt_aix_libpath_sed='
11737 /Import File Strings/,/^$/ {
11743 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11744 # Check for a 64-bit object if we didn't find anything.
11745 if test -z "$aix_libpath"; then
11746 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11749 $as_echo "$as_me: failed program was:" >&5
11750 sed 's/^/| /' conftest.$ac_ext >&5
11755 rm -rf conftest.dSYM
11756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11757 conftest$ac_exeext conftest.$ac_ext
11758 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11760 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11761 # Warning - without using the other run time loading flags,
11762 # -berok will link without error, but may produce a broken library.
11763 no_undefined_flag_CXX=' ${wl}-bernotok'
11764 allow_undefined_flag_CXX=' ${wl}-berok'
11765 # Exported symbols can be pulled into shared objects from archives
11766 whole_archive_flag_spec_CXX='$convenience'
11767 archive_cmds_need_lc_CXX=yes
11768 # This is similar to how AIX traditionally builds its shared libraries.
11769 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'
11775 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11776 allow_undefined_flag_CXX=unsupported
11777 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11778 # support --undefined. This deserves some investigation. FIXME
11779 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11786 case $cc_basename in
11788 # FIXME: insert proper C++ library support
11794 cygwin* | mingw* | pw32*)
11795 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11796 # as there is no search path for DLLs.
11797 hardcode_libdir_flag_spec_CXX='-L$libdir'
11798 allow_undefined_flag_CXX=unsupported
11799 always_export_symbols_CXX=no
11800 enable_shared_with_static_runtimes_CXX=yes
11802 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11803 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'
11804 # If the export-symbols file already is a .def file (1st line
11805 # is EXPORTS), use it as is; otherwise, prepend...
11806 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11807 cp $export_symbols $output_objdir/$soname.def;
11809 echo EXPORTS > $output_objdir/$soname.def;
11810 cat $export_symbols >> $output_objdir/$soname.def;
11812 $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'
11817 darwin* | rhapsody*)
11818 archive_cmds_need_lc_CXX=no
11819 hardcode_direct_CXX=no
11820 hardcode_automatic_CXX=yes
11821 hardcode_shlibpath_var_CXX=unsupported
11822 whole_archive_flag_spec_CXX=''
11823 link_all_deplibs_CXX=yes
11824 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11825 if test "$GXX" = yes ; then
11826 output_verbose_link_cmd='echo'
11827 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11828 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11829 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11830 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11831 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11832 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${_lt_dsymutil}"
11833 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11836 case $cc_basename in
11838 output_verbose_link_cmd='echo'
11839 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11840 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11841 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11842 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11843 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}'
11853 case $cc_basename in
11855 # FIXME: insert proper C++ library support
11859 # Green Hills C++ Compiler
11860 # FIXME: insert proper C++ library support
11864 # FIXME: insert proper C++ library support
11870 # C++ shared libraries reported to be fairly broken before switch to ELF
11874 archive_cmds_need_lc_CXX=no
11876 freebsd* | dragonfly*)
11877 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11884 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11885 hardcode_libdir_separator_CXX=:
11886 export_dynamic_flag_spec_CXX='${wl}-E'
11887 hardcode_direct_CXX=yes
11888 hardcode_minus_L_CXX=yes # Not in the search PATH,
11889 # but as the default
11890 # location of the library.
11892 case $cc_basename in
11894 # FIXME: insert proper C++ library support
11898 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'
11899 # Commands to make compiler produce verbose output that lists
11900 # what "hidden" libraries, object files and flags are used when
11901 # linking a shared library.
11903 # There doesn't appear to be a way to prevent this compiler from
11904 # explicitly linking system object files so we need to strip them
11905 # from the output so that they don't get included in the library
11907 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'
11910 if test "$GXX" = yes; then
11911 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'
11913 # FIXME: insert proper C++ library support
11920 if test $with_gnu_ld = no; then
11921 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11922 hardcode_libdir_separator_CXX=:
11927 export_dynamic_flag_spec_CXX='${wl}-E'
11933 hardcode_direct_CXX=no
11934 hardcode_shlibpath_var_CXX=no
11937 hardcode_direct_CXX=yes
11938 hardcode_minus_L_CXX=yes # Not in the search PATH,
11939 # but as the default
11940 # location of the library.
11944 case $cc_basename in
11946 # FIXME: insert proper C++ library support
11952 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11955 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11958 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11961 # Commands to make compiler produce verbose output that lists
11962 # what "hidden" libraries, object files and flags are used when
11963 # linking a shared library.
11965 # There doesn't appear to be a way to prevent this compiler from
11966 # explicitly linking system object files so we need to strip them
11967 # from the output so that they don't get included in the library
11969 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'
11972 if test "$GXX" = yes; then
11973 if test $with_gnu_ld = no; then
11976 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11979 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11982 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'
11987 # FIXME: insert proper C++ library support
11994 hardcode_direct_CXX=no
11995 hardcode_shlibpath_var_CXX=no
11996 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11997 export_dynamic_flag_spec_CXX='${wl}-E'
11998 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11999 # Instead, shared libraries are loaded at an image base (0x10000000 by
12000 # default) and relocated if they conflict, which is a slow very memory
12001 # consuming and fragmenting process. To avoid this, we pick a random,
12002 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12003 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12004 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'
12005 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'
12008 case $cc_basename in
12011 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'
12013 # Archives containing C++ object files must be created using
12014 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12015 # necessary to make sure instantiated templates are included
12017 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12020 if test "$GXX" = yes; then
12021 if test "$with_gnu_ld" = no; then
12022 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'
12024 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'
12027 link_all_deplibs_CXX=yes
12030 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12031 hardcode_libdir_separator_CXX=:
12033 linux* | k*bsd*-gnu)
12034 case $cc_basename in
12036 # Kuck and Associates, Inc. (KAI) C++ Compiler
12038 # KCC will only create a shared library if the output file
12039 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12040 # to its proper name (with version) after linking.
12041 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'
12042 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'
12043 # Commands to make compiler produce verbose output that lists
12044 # what "hidden" libraries, object files and flags are used when
12045 # linking a shared library.
12047 # There doesn't appear to be a way to prevent this compiler from
12048 # explicitly linking system object files so we need to strip them
12049 # from the output so that they don't get included in the library
12051 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'
12053 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12054 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12056 # Archives containing C++ object files must be created using
12057 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12058 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12063 # version 8.0 and above of icpc choke on multiply defined symbols
12064 # if we add $predep_objects and $postdep_objects, however 7.1 and
12065 # earlier do not add the objects themselves.
12066 case `$CC -V 2>&1` in
12068 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12069 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'
12071 *) # Version 8.0 or newer
12074 ia64
*) tmp_idyn
=' -i_dynamic';;
12076 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12077 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'
12080 archive_cmds_need_lc_CXX
=no
12081 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12082 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12083 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12086 # Portland Group C++ compiler
12087 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12088 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'
12090 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12091 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12092 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'
12096 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12097 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'
12099 runpath_var
=LD_RUN_PATH
12100 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12101 hardcode_libdir_separator_CXX
=:
12103 # Commands to make compiler produce verbose output that lists
12104 # what "hidden" libraries, object files and flags are used when
12105 # linking a shared library.
12107 # There doesn't appear to be a way to prevent this compiler from
12108 # explicitly linking system object files so we need to strip them
12109 # from the output so that they don't get included in the library
12111 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'
12114 case `$CC -V 2>&1 | sed 5q` in
12117 no_undefined_flag_CXX
=' -zdefs'
12118 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12119 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12120 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12121 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12123 # Not sure whether something based on
12124 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12126 output_verbose_link_cmd
='echo'
12128 # Archives containing C++ object files must be created using
12129 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12130 # necessary to make sure instantiated templates are included
12132 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12139 # FIXME: insert proper C++ library support
12143 # FIXME: insert proper C++ library support
12147 case $cc_basename in
12149 # FIXME: insert proper C++ library support
12153 # FIXME: insert proper C++ library support
12159 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12160 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12162 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12163 hardcode_direct_CXX
=yes
12164 hardcode_shlibpath_var_CXX
=no
12166 # Workaround some broken pre-1.5 toolchains
12167 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12170 # C++ shared libraries are fairly broken
12174 if test -f /usr
/libexec
/ld.so
; then
12175 hardcode_direct_CXX
=yes
12176 hardcode_shlibpath_var_CXX
=no
12177 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12178 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12179 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12180 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12181 export_dynamic_flag_spec_CXX
='${wl}-E'
12182 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12184 output_verbose_link_cmd
='echo'
12190 case $cc_basename in
12192 # Kuck and Associates, Inc. (KAI) C++ Compiler
12194 # KCC will only create a shared library if the output file
12195 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12196 # to its proper name (with version) after linking.
12197 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'
12199 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12200 hardcode_libdir_separator_CXX
=:
12202 # Archives containing C++ object files must be created using
12203 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12204 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12208 # Rational C++ 2.4.1
12209 # FIXME: insert proper C++ library support
12213 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12214 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'
12216 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12217 hardcode_libdir_separator_CXX
=:
12219 # Commands to make compiler produce verbose output that lists
12220 # what "hidden" libraries, object files and flags are used when
12221 # linking a shared library.
12223 # There doesn't appear to be a way to prevent this compiler from
12224 # explicitly linking system object files so we need to strip them
12225 # from the output so that they don't get included in the library
12227 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'
12230 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12231 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12232 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'
12234 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12235 hardcode_libdir_separator_CXX
=:
12237 # Commands to make compiler produce verbose output that lists
12238 # what "hidden" libraries, object files and flags are used when
12239 # linking a shared library.
12240 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12243 # FIXME: insert proper C++ library support
12250 case $cc_basename in
12252 # Kuck and Associates, Inc. (KAI) C++ Compiler
12254 # KCC will only create a shared library if the output file
12255 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12256 # to its proper name (with version) after linking.
12257 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'
12259 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12260 hardcode_libdir_separator_CXX
=:
12262 # Archives containing C++ object files must be created using
12263 # the KAI C++ compiler.
12264 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12267 # Rational C++ 2.4.1
12268 # FIXME: insert proper C++ library support
12272 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12273 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'
12274 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12275 echo "-hidden">> $lib.exp~
12276 $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~
12279 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12280 hardcode_libdir_separator_CXX
=:
12282 # Commands to make compiler produce verbose output that lists
12283 # what "hidden" libraries, object files and flags are used when
12284 # linking a shared library.
12286 # There doesn't appear to be a way to prevent this compiler from
12287 # explicitly linking system object files so we need to strip them
12288 # from the output so that they don't get included in the library
12290 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'
12293 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12294 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12295 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'
12297 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12298 hardcode_libdir_separator_CXX
=:
12300 # Commands to make compiler produce verbose output that lists
12301 # what "hidden" libraries, object files and flags are used when
12302 # linking a shared library.
12303 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12306 # FIXME: insert proper C++ library support
12313 # FIXME: insert proper C++ library support
12317 case $cc_basename in
12320 # FIXME: insert proper C++ library support
12325 # FIXME: insert proper C++ library support
12329 # FIXME: insert proper C++ library support
12335 case $cc_basename in
12337 # Sun C++ 4.2, 5.x and Centerline C++
12338 archive_cmds_need_lc_CXX
=yes
12339 no_undefined_flag_CXX
=' -zdefs'
12340 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12341 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12342 $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'
12344 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12345 hardcode_shlibpath_var_CXX
=no
12347 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12349 # The compiler driver will combine and reorder linker options,
12350 # but understands `-z linker_flag'.
12351 # Supported since Solaris 2.6 (maybe 2.5.1?)
12352 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12355 link_all_deplibs_CXX
=yes
12357 output_verbose_link_cmd
='echo'
12359 # Archives containing C++ object files must be created using
12360 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12361 # necessary to make sure instantiated templates are included
12363 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12366 # Green Hills C++ Compiler
12367 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12369 # The C++ compiler must be used to create the archive.
12370 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12373 # GNU C++ compiler with Solaris linker
12374 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12375 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12376 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12377 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12378 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12379 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12381 # Commands to make compiler produce verbose output that lists
12382 # what "hidden" libraries, object files and flags are used when
12383 # linking a shared library.
12384 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12386 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12388 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12389 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12390 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12392 # Commands to make compiler produce verbose output that lists
12393 # what "hidden" libraries, object files and flags are used when
12394 # linking a shared library.
12395 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12398 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12400 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12402 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12409 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12410 no_undefined_flag_CXX
='${wl}-z,text'
12411 archive_cmds_need_lc_CXX
=no
12412 hardcode_shlibpath_var_CXX
=no
12413 runpath_var
='LD_RUN_PATH'
12415 case $cc_basename in
12417 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12418 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12421 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12422 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12426 sysv5
* | sco3.2v5
* | sco5v6
*)
12427 # Note: We can NOT use -z defs as we might desire, because we do not
12428 # link with -lc, and that would cause any symbols used from libc to
12429 # always be unresolved, which means just about no library would
12430 # ever link correctly. If we're not using GNU ld we use -z text
12431 # though, which does catch some bad symbols but isn't as heavy-handed
12433 # For security reasons, it is highly recommended that you always
12434 # use absolute paths for naming shared libraries, and exclude the
12435 # DT_RUNPATH tag from executables and libraries. But doing so
12436 # requires that you compile everything twice, which is a pain.
12437 # So that behaviour is only enabled if SCOABSPATH is set to a
12438 # non-empty value in the environment. Most likely only useful for
12439 # creating official distributions of packages.
12440 # This is a hack until libtool officially supports absolute path
12441 # names for shared libraries.
12442 no_undefined_flag_CXX
='${wl}-z,text'
12443 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12444 archive_cmds_need_lc_CXX
=no
12445 hardcode_shlibpath_var_CXX
=no
12446 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12447 hardcode_libdir_separator_CXX
=':'
12448 link_all_deplibs_CXX
=yes
12449 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12450 runpath_var
='LD_RUN_PATH'
12452 case $cc_basename in
12454 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12455 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12458 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12459 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12464 case $cc_basename in
12466 # NonStop-UX NCC 3.20
12467 # FIXME: insert proper C++ library support
12471 # FIXME: insert proper C++ library support
12477 # FIXME: insert proper C++ library support
12481 # FIXME: insert proper C++ library support
12485 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12486 $as_echo "$ld_shlibs_CXX" >&6; }
12487 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12492 cat > conftest.
$ac_ext <<EOF
12496 Foo (void) { a = 0; }
12502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12503 (eval $ac_compile) 2>&5
12505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); }; then
12507 # Parse the compiler output and extract the necessary
12508 # objects, libraries and library flags.
12510 # Sentinel used to keep track of whether or not we are before
12511 # the conftest object file.
12512 pre_test_object_deps_done
=no
12514 # The `*' in the case matches for architectures that use `case' in
12515 # $output_verbose_cmd can trigger glob expansion during the loop
12516 # eval without this substitution.
12517 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12519 for p
in `eval $output_verbose_link_cmd`; do
12523 # Some compilers place space between "-{L,R}" and the path.
12524 # Remove the space.
12525 if test $p = "-L" \
12526 ||
test $p = "-R"; then
12533 if test "$pre_test_object_deps_done" = no
; then
12536 # Internal compiler library paths should come after those
12537 # provided the user. The postdeps already come after the
12538 # user supplied libs so there is no need to process them.
12539 if test -z "$compiler_lib_search_path_CXX"; then
12540 compiler_lib_search_path_CXX
="${prev}${p}"
12542 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12545 # The "-l" case would never come before the object being
12546 # linked, so don't bother handling this case.
12549 if test -z "$postdeps_CXX"; then
12550 postdeps_CXX
="${prev}${p}"
12552 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12558 # This assumes that the test object file only shows up
12559 # once in the compiler output.
12560 if test "$p" = "conftest.$objext"; then
12561 pre_test_object_deps_done
=yes
12565 if test "$pre_test_object_deps_done" = no
; then
12566 if test -z "$predep_objects_CXX"; then
12567 predep_objects_CXX
="$p"
12569 predep_objects_CXX
="$predep_objects_CXX $p"
12572 if test -z "$postdep_objects_CXX"; then
12573 postdep_objects_CXX
="$p"
12575 postdep_objects_CXX
="$postdep_objects_CXX $p"
12580 *) ;; # Ignore the rest.
12588 echo "libtool.m4: error: problem compiling CXX test program"
12591 $rm -f confest.
$objext
12593 compiler_lib_search_dirs_CXX
=
12594 if test -n "$compiler_lib_search_path_CXX"; then
12595 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12598 # PORTME: override above test on systems where it is broken
12601 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12602 # hack all around it, let's just trust "g++" to DTRT.
12603 predep_objects_CXX
=
12604 postdep_objects_CXX
=
12609 case `$CC -V 2>&1 | sed 5q` in
12613 # The more standards-conforming stlport4 library is
12614 # incompatible with the Cstd library. Avoid specifying
12615 # it if it's in CXXFLAGS. Ignore libCrun as
12616 # -library=stlport4 depends on it.
12617 case " $CXX $CXXFLAGS " in
12618 *" -library=stlport4 "*)
12619 solaris_use_stlport4
=yes
12622 if test "$solaris_use_stlport4" != yes; then
12623 postdeps_CXX
='-library=Cstd -library=Crun'
12630 case $cc_basename in
12632 # The more standards-conforming stlport4 library is
12633 # incompatible with the Cstd library. Avoid specifying
12634 # it if it's in CXXFLAGS. Ignore libCrun as
12635 # -library=stlport4 depends on it.
12636 case " $CXX $CXXFLAGS " in
12637 *" -library=stlport4 "*)
12638 solaris_use_stlport4
=yes
12642 # Adding this requires a known-good setup of shared libraries for
12643 # Sun compiler versions before 5.6, else PIC objects from an old
12644 # archive will be linked into the output, leading to subtle bugs.
12645 if test "$solaris_use_stlport4" != yes; then
12646 postdeps_CXX
='-library=Cstd -library=Crun'
12653 case " $postdeps_CXX " in
12654 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12657 lt_prog_compiler_wl_CXX
=
12658 lt_prog_compiler_pic_CXX
=
12659 lt_prog_compiler_static_CXX
=
12661 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12662 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12664 # C++ specific cases for pic, static, wl, etc.
12665 if test "$GXX" = yes; then
12666 lt_prog_compiler_wl_CXX
='-Wl,'
12667 lt_prog_compiler_static_CXX
='-static'
12671 # All AIX code is PIC.
12672 if test "$host_cpu" = ia64
; then
12673 # AIX 5 now supports IA64 processor
12674 lt_prog_compiler_static_CXX
='-Bstatic'
12678 # FIXME: we need at least 68020 code to build shared libraries, but
12679 # adding the `-m68020' flag to GCC prevents building anything better,
12681 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12683 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12684 # PIC is the default for these OSes.
12686 mingw
* | cygwin
* | os2
* | pw32
*)
12687 # This hack is so that the source file can tell whether it is being
12688 # built for inclusion in a dll (and should export symbols for example).
12689 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12690 # (--disable-auto-import) libraries
12691 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12693 darwin
* | rhapsody
*)
12694 # PIC is the default on this platform
12695 # Common symbols not allowed in MH_DYLIB files
12696 lt_prog_compiler_pic_CXX
='-fno-common'
12699 # DJGPP does not support shared libraries at all
12700 lt_prog_compiler_pic_CXX
=
12703 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12704 # Instead, we relocate shared libraries at runtime.
12707 if test -d /usr
/nec
; then
12708 lt_prog_compiler_pic_CXX
=-Kconform_pic
12712 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12713 # not for PA HP-UX.
12718 lt_prog_compiler_pic_CXX
='-fPIC'
12723 lt_prog_compiler_pic_CXX
='-fPIC'
12729 # All AIX code is PIC.
12730 if test "$host_cpu" = ia64
; then
12731 # AIX 5 now supports IA64 processor
12732 lt_prog_compiler_static_CXX
='-Bstatic'
12734 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12738 case $cc_basename in
12740 # Green Hills C++ Compiler
12741 # _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"
12746 # PIC is the default on this platform
12747 # Common symbols not allowed in MH_DYLIB files
12748 case $cc_basename in
12750 lt_prog_compiler_pic_CXX
='-qnocommon'
12751 lt_prog_compiler_wl_CXX
='-Wl,'
12756 case $cc_basename in
12758 lt_prog_compiler_pic_CXX
='-KPIC'
12761 # Green Hills C++ Compiler
12762 lt_prog_compiler_pic_CXX
='-pic'
12768 freebsd
* | dragonfly
*)
12769 # FreeBSD uses GNU C++
12771 hpux9
* | hpux10
* | hpux11
*)
12772 case $cc_basename in
12774 lt_prog_compiler_wl_CXX
='-Wl,'
12775 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12776 if test "$host_cpu" != ia64
; then
12777 lt_prog_compiler_pic_CXX
='+Z'
12781 lt_prog_compiler_wl_CXX
='-Wl,'
12782 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12788 lt_prog_compiler_pic_CXX
='+Z'
12797 # This is c89, which is MS Visual C++ (no shared libs)
12798 # Anyone wants to do a port?
12800 irix5
* | irix6
* | nonstopux
*)
12801 case $cc_basename in
12803 lt_prog_compiler_wl_CXX
='-Wl,'
12804 lt_prog_compiler_static_CXX
='-non_shared'
12805 # CC pic flag -KPIC is the default.
12811 linux
* | k
*bsd
*-gnu)
12812 case $cc_basename in
12815 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12816 lt_prog_compiler_pic_CXX
='-fPIC'
12820 lt_prog_compiler_wl_CXX
='-Wl,'
12821 lt_prog_compiler_pic_CXX
='-KPIC'
12822 lt_prog_compiler_static_CXX
='-static'
12825 # Portland Group C++ compiler.
12826 lt_prog_compiler_wl_CXX
='-Wl,'
12827 lt_prog_compiler_pic_CXX
='-fpic'
12828 lt_prog_compiler_static_CXX
='-Bstatic'
12832 # Make sure the PIC flag is empty. It appears that all Alpha
12833 # Linux and Compaq Tru64 Unix objects are PIC.
12834 lt_prog_compiler_pic_CXX
=
12835 lt_prog_compiler_static_CXX
='-non_shared'
12838 case `$CC -V 2>&1 | sed 5q` in
12841 lt_prog_compiler_pic_CXX
='-KPIC'
12842 lt_prog_compiler_static_CXX
='-Bstatic'
12843 lt_prog_compiler_wl_CXX
='-Qoption ld '
12854 case $cc_basename in
12856 lt_prog_compiler_pic_CXX
='-W c,exportall'
12864 osf3
* | osf4
* | osf5
*)
12865 case $cc_basename in
12867 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12870 # Rational C++ 2.4.1
12871 lt_prog_compiler_pic_CXX
='-pic'
12874 # Digital/Compaq C++
12875 lt_prog_compiler_wl_CXX
='-Wl,'
12876 # Make sure the PIC flag is empty. It appears that all Alpha
12877 # Linux and Compaq Tru64 Unix objects are PIC.
12878 lt_prog_compiler_pic_CXX
=
12879 lt_prog_compiler_static_CXX
='-non_shared'
12888 case $cc_basename in
12890 # Sun C++ 4.2, 5.x and Centerline C++
12891 lt_prog_compiler_pic_CXX
='-KPIC'
12892 lt_prog_compiler_static_CXX
='-Bstatic'
12893 lt_prog_compiler_wl_CXX
='-Qoption ld '
12896 # Green Hills C++ Compiler
12897 lt_prog_compiler_pic_CXX
='-PIC'
12904 case $cc_basename in
12907 lt_prog_compiler_pic_CXX
='-pic'
12908 lt_prog_compiler_static_CXX
='-Bstatic'
12912 lt_prog_compiler_pic_CXX
='-pic'
12919 case $cc_basename in
12921 # NonStop-UX NCC 3.20
12922 lt_prog_compiler_pic_CXX
='-KPIC'
12928 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12929 case $cc_basename in
12931 lt_prog_compiler_wl_CXX
='-Wl,'
12932 lt_prog_compiler_pic_CXX
='-KPIC'
12933 lt_prog_compiler_static_CXX
='-Bstatic'
12940 lt_prog_compiler_can_build_shared_CXX
=no
12945 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12946 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12949 # Check to make sure the PIC flag actually works.
12951 if test -n "$lt_prog_compiler_pic_CXX"; then
12953 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12954 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12955 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12956 $as_echo_n "(cached) " >&6
12958 lt_cv_prog_compiler_pic_works_CXX
=no
12959 ac_outfile
=conftest.
$ac_objext
12960 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12961 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12962 # Insert the option either (1) after the last *FLAGS variable, or
12963 # (2) before a word containing "conftest.", or (3) at the end.
12964 # Note that $ac_compile itself does not contain backslashes and begins
12965 # with a dollar sign (not a hyphen), so the echo should work correctly.
12966 # The option is referenced via a variable to avoid confusing sed.
12967 lt_compile
=`echo "$ac_compile" | $SED \
12968 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12969 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12970 -e 's:$: $lt_compiler_flag:'`
12971 (eval echo "\"\$as_me:12971: $lt_compile\"" >&5)
12972 (eval "$lt_compile" 2>conftest.err
)
12974 cat conftest.err
>&5
12975 echo "$as_me:12975: \$? = $ac_status" >&5
12976 if (exit $ac_status) && test -s "$ac_outfile"; then
12977 # The compiler can only warn and ignore the option if not recognized
12978 # So say no if there are warnings other than the usual output.
12979 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12980 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12981 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12982 lt_cv_prog_compiler_pic_works_CXX
=yes
12988 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12989 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12991 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12992 case $lt_prog_compiler_pic_CXX in
12994 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12997 lt_prog_compiler_pic_CXX
=
12998 lt_prog_compiler_can_build_shared_CXX
=no
13003 # For platforms which do not support PIC, -DPIC is meaningless:
13005 lt_prog_compiler_pic_CXX
=
13008 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13013 # Check to make sure the static flag actually works.
13015 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13016 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13017 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13018 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13019 $as_echo_n "(cached) " >&6
13021 lt_cv_prog_compiler_static_works_CXX
=no
13022 save_LDFLAGS
="$LDFLAGS"
13023 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13024 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13025 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13026 # The linker can only warn and ignore the option if not recognized
13027 # So say no if there are warnings
13028 if test -s conftest.err
; then
13029 # Append any errors to the config.log.
13030 cat conftest.err
1>&5
13031 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13032 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13033 if diff conftest.exp conftest.er2
>/dev
/null
; then
13034 lt_cv_prog_compiler_static_works_CXX
=yes
13037 lt_cv_prog_compiler_static_works_CXX
=yes
13041 LDFLAGS
="$save_LDFLAGS"
13044 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13045 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13047 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13050 lt_prog_compiler_static_CXX
=
13054 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13055 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13056 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13057 $as_echo_n "(cached) " >&6
13059 lt_cv_prog_compiler_c_o_CXX
=no
13060 $rm -r conftest
2>/dev
/null
13064 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13066 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13067 # Insert the option either (1) after the last *FLAGS variable, or
13068 # (2) before a word containing "conftest.", or (3) at the end.
13069 # Note that $ac_compile itself does not contain backslashes and begins
13070 # with a dollar sign (not a hyphen), so the echo should work correctly.
13071 lt_compile
=`echo "$ac_compile" | $SED \
13072 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13073 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13074 -e 's:$: $lt_compiler_flag:'`
13075 (eval echo "\"\$as_me:13075: $lt_compile\"" >&5)
13076 (eval "$lt_compile" 2>out
/conftest.err
)
13078 cat out
/conftest.err
>&5
13079 echo "$as_me:13079: \$? = $ac_status" >&5
13080 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13082 # The compiler can only warn and ignore the option if not recognized
13083 # So say no if there are warnings
13084 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13085 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13086 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13087 lt_cv_prog_compiler_c_o_CXX
=yes
13092 # SGI C++ compiler will create directory out/ii_files/ for
13093 # template instantiation
13094 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13095 $rm out
/* && rmdir out
13101 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13102 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13105 hard_links
="nottested"
13106 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13107 # do not overwrite the value of need_locks provided by the user
13108 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13109 $as_echo_n "checking if we can lock with hard links... " >&6; }
13112 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13114 ln conftest.a conftest.b
2>&5 || hard_links
=no
13115 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13116 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13117 $as_echo "$hard_links" >&6; }
13118 if test "$hard_links" = no
; then
13119 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13120 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13127 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13128 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13130 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13133 # If we're using GNU nm, then we don't want the "-C" option.
13134 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13135 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13136 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'
13138 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'
13142 export_symbols_cmds_CXX
="$ltdll_cmds"
13145 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'
13148 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13151 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13153 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13154 $as_echo "$ld_shlibs_CXX" >&6; }
13155 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13158 # Do we need to explicitly link libc?
13160 case "x$archive_cmds_need_lc_CXX" in
13162 # Assume -lc should be added
13163 archive_cmds_need_lc_CXX
=yes
13165 if test "$enable_shared" = yes && test "$GCC" = yes; then
13166 case $archive_cmds_CXX in
13168 # FIXME: we may have to deal with multi-command sequences.
13171 # Test whether the compiler implicitly links with -lc since on some
13172 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13173 # to ld, don't add -lc before -lgcc.
13174 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13175 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13177 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13180 (eval $ac_compile) 2>&5
13182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); } 2>conftest.err
; then
13186 libobjs
=conftest.
$ac_objext
13188 wl
=$lt_prog_compiler_wl_CXX
13189 pic_flag
=$lt_prog_compiler_pic_CXX
13195 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13196 allow_undefined_flag_CXX
=
13197 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13198 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); }
13203 archive_cmds_need_lc_CXX
=no
13205 archive_cmds_need_lc_CXX
=yes
13207 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13209 cat conftest.err
1>&5
13212 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13213 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13220 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13221 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13222 library_names_spec
=
13223 libname_spec
='lib$name'
13227 postuninstall_cmds
=
13231 shlibpath_overrides_runpath
=unknown
13233 dynamic_linker
="$host_os ld.so"
13234 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13236 need_lib_prefix
=unknown
13237 hardcode_into_libs
=no
13239 # when you set need_version to no, make sure it does not cause -set_version
13240 # flags to be left without arguments
13241 need_version
=unknown
13246 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13247 shlibpath_var
=LIBPATH
13249 # AIX 3 has no versioning support, so we append a major version to the name.
13250 soname_spec
='${libname}${release}${shared_ext}$major'
13257 hardcode_into_libs
=yes
13258 if test "$host_cpu" = ia64
; then
13259 # AIX 5 supports IA64
13260 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13261 shlibpath_var
=LD_LIBRARY_PATH
13263 # With GCC up to 2.95.x, collect2 would create an import file
13264 # for dependence libraries. The import file would start with
13265 # the line `#! .'. This would cause the generated library to
13266 # depend on `.', always an invalid library. This was fixed in
13267 # development snapshots of GCC prior to 3.0.
13269 aix4 | aix4.
[01] | aix4.
[01].
*)
13270 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13272 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13275 can_build_shared
=no
13279 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13280 # soname into executable. Probably we can add versioning support to
13281 # collect2, so additional links can be useful in future.
13282 if test "$aix_use_runtimelinking" = yes; then
13283 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13284 # instead of lib<name>.a to let people know that these are not
13285 # typical AIX shared libraries.
13286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 # We preserve .a as extension for shared libraries through AIX4.2
13289 # and later when we are not doing run time linking.
13290 library_names_spec
='${libname}${release}.a $libname.a'
13291 soname_spec
='${libname}${release}${shared_ext}$major'
13293 shlibpath_var
=LIBPATH
13298 library_names_spec
='$libname.ixlibrary $libname.a'
13299 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13300 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'
13304 library_names_spec
='${libname}${shared_ext}'
13305 dynamic_linker
="$host_os ld.so"
13306 shlibpath_var
=LIBRARY_PATH
13312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13313 soname_spec
='${libname}${release}${shared_ext}$major'
13314 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13315 shlibpath_var
=LD_LIBRARY_PATH
13316 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13317 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13318 # the default ld.so.conf also contains /usr/contrib/lib and
13319 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13320 # libtool to hard-code these into programs
13323 cygwin
* | mingw
* | pw32
*)
13324 version_type
=windows
13329 case $GCC,$host_os in
13330 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13331 library_names_spec
='$libname.dll.a'
13332 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13333 postinstall_cmds
='base_file=`basename \${file}`~
13334 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13335 dldir=$destdir/`dirname \$dlpath`~
13336 test -d \$dldir || mkdir -p \$dldir~
13337 $install_prog $dir/$dlname \$dldir/$dlname~
13338 chmod a+x \$dldir/$dlname'
13339 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13340 dlpath=$dir/\$dldll~
13342 shlibpath_overrides_runpath
=yes
13346 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13347 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13348 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13351 # MinGW DLLs use traditional 'lib' prefix
13352 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13353 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13354 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13355 # It is most probably a Windows format PATH printed by
13356 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13357 # path with ; separators, and with drive letters. We can handle the
13358 # drive letters (cygwin fileutils understands them), so leave them,
13359 # especially as we might pass files found there to a mingw objdump,
13360 # which wouldn't understand a cygwinified path. Ahh.
13361 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13363 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13367 # pw32 DLLs use 'pw' prefix rather than 'lib'
13368 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13374 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13377 dynamic_linker
='Win32 ld.exe'
13378 # FIXME: first we should search . and the directory the executable is in
13382 darwin
* | rhapsody
*)
13383 dynamic_linker
="$host_os dyld"
13384 version_type
=darwin
13387 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13388 soname_spec
='${libname}${release}${major}$shared_ext'
13389 shlibpath_overrides_runpath
=yes
13390 shlibpath_var
=DYLD_LIBRARY_PATH
13391 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13393 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13401 soname_spec
='${libname}${release}${shared_ext}$major'
13402 shlibpath_var
=LD_LIBRARY_PATH
13409 freebsd
* | dragonfly
*)
13410 # DragonFly does not have aout. When/if they implement a new
13411 # versioning mechanism, adjust this.
13412 if test -x /usr
/bin
/objformat
; then
13413 objformat
=`/usr/bin/objformat`
13416 freebsd
[123]*) objformat
=aout
;;
13417 *) objformat
=elf
;;
13420 # Handle Gentoo/FreeBSD as it was Linux
13421 case $host_vendor in
13423 version_type
=linux
;;
13425 version_type
=freebsd-
$objformat ;;
13428 case $version_type in
13430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13435 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13440 soname_spec
='${libname}${release}${shared_ext}$major'
13445 shlibpath_var
=LD_LIBRARY_PATH
13448 shlibpath_overrides_runpath
=yes
13450 freebsd3.
[01]* | freebsdelf3.
[01]*)
13451 shlibpath_overrides_runpath
=yes
13452 hardcode_into_libs
=yes
13454 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13455 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13456 shlibpath_overrides_runpath
=no
13457 hardcode_into_libs
=yes
13459 *) # from 4.6 on, and DragonFly
13460 shlibpath_overrides_runpath
=yes
13461 hardcode_into_libs
=yes
13470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13471 soname_spec
='${libname}${release}${shared_ext}$major'
13472 shlibpath_var
=LD_LIBRARY_PATH
13473 hardcode_into_libs
=yes
13476 hpux9
* | hpux10
* | hpux11
*)
13477 # Give a soname corresponding to the major version so that dld.sl refuses to
13478 # link against other versions.
13485 hardcode_into_libs
=yes
13486 dynamic_linker
="$host_os dld.so"
13487 shlibpath_var
=LD_LIBRARY_PATH
13488 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13490 soname_spec
='${libname}${release}${shared_ext}$major'
13491 if test "X$HPUX_IA64_MODE" = X32
; then
13492 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13494 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13496 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13500 hardcode_into_libs
=yes
13501 dynamic_linker
="$host_os dld.sl"
13502 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13503 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13505 soname_spec
='${libname}${release}${shared_ext}$major'
13506 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13507 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13511 dynamic_linker
="$host_os dld.sl"
13512 shlibpath_var
=SHLIB_PATH
13513 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13515 soname_spec
='${libname}${release}${shared_ext}$major'
13518 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13519 postinstall_cmds
='chmod 555 $lib'
13526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13527 soname_spec
='${libname}${release}${shared_ext}$major'
13528 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13529 shlibpath_var
=LD_LIBRARY_PATH
13530 shlibpath_overrides_runpath
=no
13531 hardcode_into_libs
=yes
13534 irix5
* | irix6
* | nonstopux
*)
13536 nonstopux
*) version_type
=nonstopux
;;
13538 if test "$lt_cv_prog_gnu_ld" = yes; then
13546 soname_spec
='${libname}${release}${shared_ext}$major'
13547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13549 irix5
* | nonstopux
*)
13550 libsuff
= shlibsuff
=
13553 case $LD in # libtool.m4 will add one of these switches to LD
13554 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13555 libsuff
= shlibsuff
= libmagic
=32-bit;;
13556 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13557 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13558 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13559 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13560 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13564 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13565 shlibpath_overrides_runpath
=no
13566 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13567 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13568 hardcode_into_libs
=yes
13571 # No shared lib support for Linux oldld, aout, or coff.
13572 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13576 # This must be Linux ELF.
13577 linux
* | k
*bsd
*-gnu)
13581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13582 soname_spec
='${libname}${release}${shared_ext}$major'
13583 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13584 shlibpath_var
=LD_LIBRARY_PATH
13585 shlibpath_overrides_runpath
=no
13586 # This implies no fast_install, which is unacceptable.
13587 # Some rework will be needed to allow for fast_install
13588 # before this can be enabled.
13589 hardcode_into_libs
=yes
13591 # Append ld.so.conf contents to the search path
13592 if test -f /etc
/ld.so.conf
; then
13593 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13594 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13597 # We used to test for /lib/ld.so.1 and disable shared libraries on
13598 # powerpc, because MkLinux only supported shared libraries with the
13599 # GNU dynamic linker. Since this was broken with cross compilers,
13600 # most powerpc-linux boxes support dynamic linking these days and
13601 # people can always --disable-shared, the test was removed, and we
13602 # assume the GNU/Linux dynamic linker is in use.
13603 dynamic_linker
='GNU/Linux ld.so'
13610 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13612 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13613 dynamic_linker
='NetBSD (a.out) ld.so'
13615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13616 soname_spec
='${libname}${release}${shared_ext}$major'
13617 dynamic_linker
='NetBSD ld.elf_so'
13619 shlibpath_var
=LD_LIBRARY_PATH
13620 shlibpath_overrides_runpath
=yes
13621 hardcode_into_libs
=yes
13626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13627 shlibpath_var
=LD_LIBRARY_PATH
13628 shlibpath_overrides_runpath
=yes
13635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13636 soname_spec
='${libname}${release}${shared_ext}$major'
13637 shlibpath_var
=LD_LIBRARY_PATH
13638 shlibpath_overrides_runpath
=yes
13643 sys_lib_dlsearch_path_spec
="/usr/lib"
13645 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13647 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13648 *) need_version
=no
;;
13650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13651 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13652 shlibpath_var
=LD_LIBRARY_PATH
13653 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13655 openbsd2.
[89] | openbsd2.
[89].
*)
13656 shlibpath_overrides_runpath
=no
13659 shlibpath_overrides_runpath
=yes
13663 shlibpath_overrides_runpath
=yes
13668 libname_spec
='$name'
13671 library_names_spec
='$libname${shared_ext} $libname.a'
13672 dynamic_linker
='OS/2 ld.exe'
13673 shlibpath_var
=LIBPATH
13676 osf3
* | osf4
* | osf5
*)
13680 soname_spec
='${libname}${release}${shared_ext}$major'
13681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13682 shlibpath_var
=LD_LIBRARY_PATH
13683 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13684 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13696 soname_spec
='${libname}${release}${shared_ext}$major'
13697 shlibpath_var
=LD_LIBRARY_PATH
13698 shlibpath_overrides_runpath
=yes
13699 hardcode_into_libs
=yes
13700 # ldd complains unless libraries are executable
13701 postinstall_cmds
='chmod +x $lib'
13706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13707 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13708 shlibpath_var
=LD_LIBRARY_PATH
13709 shlibpath_overrides_runpath
=yes
13710 if test "$with_gnu_ld" = yes; then
13718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13719 soname_spec
='${libname}${release}${shared_ext}$major'
13720 shlibpath_var
=LD_LIBRARY_PATH
13721 case $host_vendor in
13723 shlibpath_overrides_runpath
=no
13725 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13726 runpath_var
=LD_RUN_PATH
13734 shlibpath_overrides_runpath
=no
13735 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13741 if test -d /usr
/nec
;then
13743 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13744 soname_spec
='$libname${shared_ext}.$major'
13745 shlibpath_var
=LD_LIBRARY_PATH
13749 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13750 version_type
=freebsd-elf
13753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13754 soname_spec
='${libname}${release}${shared_ext}$major'
13755 shlibpath_var
=LD_LIBRARY_PATH
13756 hardcode_into_libs
=yes
13757 if test "$with_gnu_ld" = yes; then
13758 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13759 shlibpath_overrides_runpath
=no
13761 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13762 shlibpath_overrides_runpath
=yes
13765 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13769 sys_lib_dlsearch_path_spec
='/usr/lib'
13774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13775 soname_spec
='${libname}${release}${shared_ext}$major'
13776 shlibpath_var
=LD_LIBRARY_PATH
13783 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13784 $as_echo "$dynamic_linker" >&6; }
13785 test "$dynamic_linker" = no
&& can_build_shared
=no
13787 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13788 $as_echo_n "(cached) " >&6
13790 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13793 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13794 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13795 $as_echo_n "(cached) " >&6
13797 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13800 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13802 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13803 if test "$GCC" = yes; then
13804 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13807 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13808 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13809 hardcode_action_CXX
=
13810 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13811 test -n "$runpath_var_CXX" || \
13812 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13814 # We can hardcode non-existant directories.
13815 if test "$hardcode_direct_CXX" != no
&&
13816 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13817 # have to relink, otherwise we might link with an installed library
13818 # when we should be linking with a yet-to-be-installed one
13819 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13820 test "$hardcode_minus_L_CXX" != no
; then
13821 # Linking always hardcodes the temporary library directory.
13822 hardcode_action_CXX
=relink
13824 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13825 hardcode_action_CXX
=immediate
13828 # We cannot hardcode anything, or else we can only hardcode existing
13830 hardcode_action_CXX
=unsupported
13832 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13833 $as_echo "$hardcode_action_CXX" >&6; }
13835 if test "$hardcode_action_CXX" = relink
; then
13836 # Fast installation is not supported
13837 enable_fast_install
=no
13838 elif test "$shlibpath_overrides_runpath" = yes ||
13839 test "$enable_shared" = no
; then
13840 # Fast installation is not necessary
13841 enable_fast_install
=needless
13845 # The else clause should only fire when bootstrapping the
13846 # libtool distribution, otherwise you forgot to ship ltmain.sh
13847 # with your package, and you will get complaints that there are
13848 # no rules to generate ltmain.sh.
13849 if test -f "$ltmain"; then
13850 # See if we are running on zsh, and set the options which allow our commands through
13851 # without removal of \ escapes.
13852 if test -n "${ZSH_VERSION+set}" ; then
13853 setopt NO_GLOB_SUBST
13855 # Now quote all the things that may contain metacharacters while being
13856 # careful not to overquote the AC_SUBSTed values. We take copies of the
13857 # variables and quote the copies for generation of the libtool script.
13858 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13860 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13861 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13862 deplibs_check_method reload_flag reload_cmds need_locks \
13863 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13864 lt_cv_sys_global_symbol_to_c_name_address \
13865 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13866 old_postinstall_cmds old_postuninstall_cmds \
13870 lt_prog_compiler_wl_CXX \
13871 lt_prog_compiler_pic_CXX \
13872 lt_prog_compiler_static_CXX \
13873 lt_prog_compiler_no_builtin_flag_CXX \
13874 export_dynamic_flag_spec_CXX \
13875 thread_safe_flag_spec_CXX \
13876 whole_archive_flag_spec_CXX \
13877 enable_shared_with_static_runtimes_CXX \
13878 old_archive_cmds_CXX \
13879 old_archive_from_new_cmds_CXX \
13880 predep_objects_CXX \
13881 postdep_objects_CXX \
13884 compiler_lib_search_path_CXX \
13885 compiler_lib_search_dirs_CXX \
13887 archive_expsym_cmds_CXX \
13888 postinstall_cmds_CXX \
13889 postuninstall_cmds_CXX \
13890 old_archive_from_expsyms_cmds_CXX \
13891 allow_undefined_flag_CXX \
13892 no_undefined_flag_CXX \
13893 export_symbols_cmds_CXX \
13894 hardcode_libdir_flag_spec_CXX \
13895 hardcode_libdir_flag_spec_ld_CXX \
13896 hardcode_libdir_separator_CXX \
13897 hardcode_automatic_CXX \
13899 module_expsym_cmds_CXX \
13900 lt_cv_prog_compiler_c_o_CXX \
13901 fix_srcfile_path_CXX \
13902 exclude_expsyms_CXX \
13903 include_expsyms_CXX
; do
13906 old_archive_cmds_CXX | \
13907 old_archive_from_new_cmds_CXX | \
13908 archive_cmds_CXX | \
13909 archive_expsym_cmds_CXX | \
13910 module_cmds_CXX | \
13911 module_expsym_cmds_CXX | \
13912 old_archive_from_expsyms_cmds_CXX | \
13913 export_symbols_cmds_CXX | \
13914 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13915 postinstall_cmds | postuninstall_cmds | \
13916 old_postinstall_cmds | old_postuninstall_cmds | \
13917 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13918 # Double-quote double-evaled strings.
13919 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13922 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13928 *'\$0 --fallback-echo"')
13929 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13935 cat <<__EOF__ >> "$cfgfile"
13936 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13938 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13940 # Shell to use when invoking shell scripts.
13943 # Whether or not to build shared libraries.
13944 build_libtool_libs=$enable_shared
13946 # Whether or not to build static libraries.
13947 build_old_libs=$enable_static
13949 # Whether or not to add -lc for building shared libraries.
13950 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13952 # Whether or not to disallow shared libs when runtime libs are static
13953 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13955 # Whether or not to optimize for fast installation.
13956 fast_install=$enable_fast_install
13959 host_alias=$host_alias
13963 # The build system.
13964 build_alias=$build_alias
13968 # An echo program that does not interpret backslashes.
13973 AR_FLAGS=$lt_AR_FLAGS
13978 # LTCC compiler flags.
13979 LTCFLAGS=$lt_LTCFLAGS
13981 # A language-specific compiler.
13982 CC=$lt_compiler_CXX
13984 # Is the compiler the GNU C compiler?
13990 # The linker used to build libraries.
13993 # Whether we need hard or soft links.
13996 # A BSD-compatible nm program.
13999 # A symbol stripping program
14002 # Used to examine libraries when file_magic_cmd begins "file"
14003 MAGIC_CMD=$MAGIC_CMD
14005 # Used on cygwin: DLL creation program.
14008 # Used on cygwin: object dumper.
14011 # Used on cygwin: assembler.
14014 # The name of the directory that contains temporary libtool files.
14017 # How to create reloadable object files.
14018 reload_flag=$lt_reload_flag
14019 reload_cmds=$lt_reload_cmds
14021 # How to pass a linker flag through the compiler.
14022 wl=$lt_lt_prog_compiler_wl_CXX
14024 # Object file suffix (normally "o").
14025 objext="$ac_objext"
14027 # Old archive suffix (normally "a").
14030 # Shared library suffix (normally ".so").
14031 shrext_cmds='$shrext_cmds'
14033 # Executable file suffix (normally "").
14036 # Additional compiler flags for building library objects.
14037 pic_flag=$lt_lt_prog_compiler_pic_CXX
14040 # What is the maximum length of a command?
14041 max_cmd_len=$lt_cv_sys_max_cmd_len
14043 # Does compiler simultaneously support -c and -o options?
14044 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14046 # Must we lock files when doing compilation?
14047 need_locks=$lt_need_locks
14049 # Do we need the lib prefix for modules?
14050 need_lib_prefix=$need_lib_prefix
14052 # Do we need a version for libraries?
14053 need_version=$need_version
14055 # Whether dlopen is supported.
14056 dlopen_support=$enable_dlopen
14058 # Whether dlopen of programs is supported.
14059 dlopen_self=$enable_dlopen_self
14061 # Whether dlopen of statically linked programs is supported.
14062 dlopen_self_static=$enable_dlopen_self_static
14064 # Compiler flag to prevent dynamic linking.
14065 link_static_flag=$lt_lt_prog_compiler_static_CXX
14067 # Compiler flag to turn off builtin functions.
14068 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14070 # Compiler flag to allow reflexive dlopens.
14071 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14073 # Compiler flag to generate shared objects directly from archives.
14074 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14076 # Compiler flag to generate thread-safe objects.
14077 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14079 # Library versioning type.
14080 version_type=$version_type
14082 # Format of library name prefix.
14083 libname_spec=$lt_libname_spec
14085 # List of archive names. First name is the real one, the rest are links.
14086 # The last name is the one that the linker finds with -lNAME.
14087 library_names_spec=$lt_library_names_spec
14089 # The coded name of the library, if different from the real name.
14090 soname_spec=$lt_soname_spec
14092 # Commands used to build and install an old-style archive.
14094 old_archive_cmds=$lt_old_archive_cmds_CXX
14095 old_postinstall_cmds=$lt_old_postinstall_cmds
14096 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14098 # Create an old-style archive from a shared archive.
14099 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14101 # Create a temporary old-style archive to link instead of a shared archive.
14102 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14104 # Commands used to build and install a shared archive.
14105 archive_cmds=$lt_archive_cmds_CXX
14106 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14107 postinstall_cmds=$lt_postinstall_cmds
14108 postuninstall_cmds=$lt_postuninstall_cmds
14110 # Commands used to build a loadable module (assumed same as above if empty)
14111 module_cmds=$lt_module_cmds_CXX
14112 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14114 # Commands to strip libraries.
14115 old_striplib=$lt_old_striplib
14116 striplib=$lt_striplib
14118 # Dependencies to place before the objects being linked to create a
14120 predep_objects=$lt_predep_objects_CXX
14122 # Dependencies to place after the objects being linked to create a
14124 postdep_objects=$lt_postdep_objects_CXX
14126 # Dependencies to place before the objects being linked to create a
14128 predeps=$lt_predeps_CXX
14130 # Dependencies to place after the objects being linked to create a
14132 postdeps=$lt_postdeps_CXX
14134 # The directories searched by this compiler when creating a shared
14136 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14138 # The library search path used internally by the compiler when linking
14139 # a shared library.
14140 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14142 # Method to check whether dependent libraries are shared objects.
14143 deplibs_check_method=$lt_deplibs_check_method
14145 # Command to use when deplibs_check_method == file_magic.
14146 file_magic_cmd=$lt_file_magic_cmd
14148 # Flag that allows shared libraries with undefined symbols to be built.
14149 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14151 # Flag that forces no undefined symbols.
14152 no_undefined_flag=$lt_no_undefined_flag_CXX
14154 # Commands used to finish a libtool library installation in a directory.
14155 finish_cmds=$lt_finish_cmds
14157 # Same as above, but a single script fragment to be evaled but not shown.
14158 finish_eval=$lt_finish_eval
14160 # Take the output of nm and produce a listing of raw symbols and C names.
14161 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14163 # Transform the output of nm in a proper C declaration
14164 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14166 # Transform the output of nm in a C name address pair
14167 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14169 # This is the shared library runtime path variable.
14170 runpath_var=$runpath_var
14172 # This is the shared library path variable.
14173 shlibpath_var=$shlibpath_var
14175 # Is shlibpath searched before the hard-coded library search path?
14176 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14178 # How to hardcode a shared library path into an executable.
14179 hardcode_action=$hardcode_action_CXX
14181 # Whether we should hardcode library paths into libraries.
14182 hardcode_into_libs=$hardcode_into_libs
14184 # Flag to hardcode \$libdir into a binary during linking.
14185 # This must work even if \$libdir does not exist.
14186 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14188 # If ld is used when linking, flag to hardcode \$libdir into
14189 # a binary during linking. This must work even if \$libdir does
14191 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14193 # Whether we need a single -rpath flag with a separated argument.
14194 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14196 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14197 # resulting binary.
14198 hardcode_direct=$hardcode_direct_CXX
14200 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14201 # resulting binary.
14202 hardcode_minus_L=$hardcode_minus_L_CXX
14204 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14205 # the resulting binary.
14206 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14208 # Set to yes if building a shared library automatically hardcodes DIR into the library
14209 # and all subsequent libraries and executables linked against it.
14210 hardcode_automatic=$hardcode_automatic_CXX
14212 # Variables whose values should be saved in libtool wrapper scripts and
14213 # restored at relink time.
14214 variables_saved_for_relink="$variables_saved_for_relink"
14216 # Whether libtool must link a program against all its dependency libraries.
14217 link_all_deplibs=$link_all_deplibs_CXX
14219 # Compile-time system search path for libraries
14220 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14222 # Run-time system search path for libraries
14223 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14225 # Fix the shell variable \$srcfile for the compiler.
14226 fix_srcfile_path=$lt_fix_srcfile_path
14228 # Set to yes if exported symbols are required.
14229 always_export_symbols=$always_export_symbols_CXX
14231 # The commands to list exported symbols.
14232 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14234 # The commands to extract the exported symbol list from a shared archive.
14235 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14237 # Symbols that should not be listed in the preloaded symbols.
14238 exclude_expsyms=$lt_exclude_expsyms_CXX
14240 # Symbols that must always be exported.
14241 include_expsyms=$lt_include_expsyms_CXX
14243 # ### END LIBTOOL TAG CONFIG: $tagname
14249 # If there is no Makefile yet, we rely on a make rule to execute
14250 # `config.status --recheck' to rerun these tests and create the
14251 # libtool script then.
14252 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14253 if test -f "$ltmain_in"; then
14254 test -f Makefile
&& make "$ltmain"
14260 ac_cpp
='$CPP $CPPFLAGS'
14261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14269 with_gnu_ldcxx
=$with_gnu_ld
14270 with_gnu_ld
=$lt_save_with_gnu_ld
14271 lt_cv_path_LDCXX
=$lt_cv_path_LD
14272 lt_cv_path_LD
=$lt_save_path_LD
14273 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14274 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14282 if test -n "$F77" && test "X$F77" != "Xno"; then
14285 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14286 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14287 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14290 archive_cmds_need_lc_F77
=no
14291 allow_undefined_flag_F77
=
14292 always_export_symbols_F77
=no
14293 archive_expsym_cmds_F77
=
14294 export_dynamic_flag_spec_F77
=
14295 hardcode_direct_F77
=no
14296 hardcode_libdir_flag_spec_F77
=
14297 hardcode_libdir_flag_spec_ld_F77
=
14298 hardcode_libdir_separator_F77
=
14299 hardcode_minus_L_F77
=no
14300 hardcode_automatic_F77
=no
14302 module_expsym_cmds_F77
=
14303 link_all_deplibs_F77
=unknown
14304 old_archive_cmds_F77
=$old_archive_cmds
14305 no_undefined_flag_F77
=
14306 whole_archive_flag_spec_F77
=
14307 enable_shared_with_static_runtimes_F77
=no
14309 # Source file extension for f77 test sources.
14312 # Object file extension for compiled f77 test sources.
14316 # Code to be used in simple compile tests
14317 lt_simple_compile_test_code
="\
14323 # Code to be used in simple link tests
14324 lt_simple_link_test_code
="\
14329 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14331 # If no C compiler was specified, use CC.
14334 # If no C compiler flags were specified, use CFLAGS.
14335 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14337 # Allow CC to be a program name with arguments.
14341 # save warnings/boilerplate of simple test code
14342 ac_outfile
=conftest.
$ac_objext
14343 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14344 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14345 _lt_compiler_boilerplate
=`cat conftest.err`
14348 ac_outfile
=conftest.
$ac_objext
14349 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14350 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14351 _lt_linker_boilerplate
=`cat conftest.err`
14355 # Allow CC to be a program name with arguments.
14360 for cc_temp
in $compiler""; do
14362 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14363 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14368 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14371 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14372 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14373 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
14374 $as_echo "$can_build_shared" >&6; }
14376 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14377 $as_echo_n "checking whether to build shared libraries... " >&6; }
14378 test "$can_build_shared" = "no" && enable_shared
=no
14380 # On AIX, shared libraries and static libraries use the same namespace, and
14381 # are all built from PIC.
14384 test "$enable_shared" = yes && enable_static
=no
14385 if test -n "$RANLIB"; then
14386 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14387 postinstall_cmds
='$RANLIB $lib'
14391 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14392 test "$enable_shared" = yes && enable_static
=no
14396 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
14397 $as_echo "$enable_shared" >&6; }
14399 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14400 $as_echo_n "checking whether to build static libraries... " >&6; }
14401 # Make sure either enable_shared or enable_static is yes.
14402 test "$enable_shared" = yes || enable_static
=yes
14403 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
14404 $as_echo "$enable_static" >&6; }
14409 lt_prog_compiler_wl_F77
=
14410 lt_prog_compiler_pic_F77
=
14411 lt_prog_compiler_static_F77
=
14413 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14414 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14416 if test "$GCC" = yes; then
14417 lt_prog_compiler_wl_F77
='-Wl,'
14418 lt_prog_compiler_static_F77
='-static'
14422 # All AIX code is PIC.
14423 if test "$host_cpu" = ia64
; then
14424 # AIX 5 now supports IA64 processor
14425 lt_prog_compiler_static_F77
='-Bstatic'
14430 # FIXME: we need at least 68020 code to build shared libraries, but
14431 # adding the `-m68020' flag to GCC prevents building anything better,
14433 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14436 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14437 # PIC is the default for these OSes.
14440 mingw
* | cygwin
* | pw32
* | os2
*)
14441 # This hack is so that the source file can tell whether it is being
14442 # built for inclusion in a dll (and should export symbols for example).
14443 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14444 # (--disable-auto-import) libraries
14445 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14448 darwin
* | rhapsody
*)
14449 # PIC is the default on this platform
14450 # Common symbols not allowed in MH_DYLIB files
14451 lt_prog_compiler_pic_F77
='-fno-common'
14455 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14456 # Instead, we relocate shared libraries at runtime.
14460 # Just because we use GCC doesn't mean we suddenly get shared libraries
14461 # on systems that don't support them.
14462 lt_prog_compiler_can_build_shared_F77
=no
14467 if test -d /usr
/nec
; then
14468 lt_prog_compiler_pic_F77
=-Kconform_pic
14473 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14474 # not for PA HP-UX.
14480 lt_prog_compiler_pic_F77
='-fPIC'
14486 lt_prog_compiler_pic_F77
='-fPIC'
14490 # PORTME Check for flag to pass linker flags through the system compiler.
14493 lt_prog_compiler_wl_F77
='-Wl,'
14494 if test "$host_cpu" = ia64
; then
14495 # AIX 5 now supports IA64 processor
14496 lt_prog_compiler_static_F77
='-Bstatic'
14498 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14502 # PIC is the default on this platform
14503 # Common symbols not allowed in MH_DYLIB files
14504 case $cc_basename in
14506 lt_prog_compiler_pic_F77
='-qnocommon'
14507 lt_prog_compiler_wl_F77
='-Wl,'
14512 mingw
* | cygwin
* | pw32
* | os2
*)
14513 # This hack is so that the source file can tell whether it is being
14514 # built for inclusion in a dll (and should export symbols for example).
14515 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14518 hpux9
* | hpux10
* | hpux11
*)
14519 lt_prog_compiler_wl_F77
='-Wl,'
14520 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14521 # not for PA HP-UX.
14527 lt_prog_compiler_pic_F77
='+Z'
14530 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14531 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14534 irix5
* | irix6
* | nonstopux
*)
14535 lt_prog_compiler_wl_F77
='-Wl,'
14536 # PIC (with -KPIC) is the default.
14537 lt_prog_compiler_static_F77
='-non_shared'
14541 lt_prog_compiler_pic_F77
='-KPIC'
14542 lt_prog_compiler_static_F77
='-Bstatic'
14545 linux
* | k
*bsd
*-gnu)
14546 case $cc_basename in
14548 lt_prog_compiler_wl_F77
='-Wl,'
14549 lt_prog_compiler_pic_F77
='-KPIC'
14550 lt_prog_compiler_static_F77
='-static'
14552 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14553 # Portland Group compilers (*not* the Pentium gcc compiler,
14554 # which looks to be a dead project)
14555 lt_prog_compiler_wl_F77
='-Wl,'
14556 lt_prog_compiler_pic_F77
='-fpic'
14557 lt_prog_compiler_static_F77
='-Bstatic'
14560 lt_prog_compiler_wl_F77
='-Wl,'
14561 # All Alpha code is PIC.
14562 lt_prog_compiler_static_F77
='-non_shared'
14565 case `$CC -V 2>&1 | sed 5q` in
14568 lt_prog_compiler_pic_F77
='-KPIC'
14569 lt_prog_compiler_static_F77
='-Bstatic'
14570 lt_prog_compiler_wl_F77
='-Wl,'
14573 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14574 lt_prog_compiler_pic_F77
='-KPIC'
14575 lt_prog_compiler_static_F77
='-Bstatic'
14576 lt_prog_compiler_wl_F77
=''
14583 osf3
* | osf4
* | osf5
*)
14584 lt_prog_compiler_wl_F77
='-Wl,'
14585 # All OSF/1 code is PIC.
14586 lt_prog_compiler_static_F77
='-non_shared'
14590 lt_prog_compiler_static_F77
='-non_shared'
14594 lt_prog_compiler_pic_F77
='-KPIC'
14595 lt_prog_compiler_static_F77
='-Bstatic'
14596 case $cc_basename in
14597 f77
* | f90
* | f95
*)
14598 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14600 lt_prog_compiler_wl_F77
='-Wl,';;
14605 lt_prog_compiler_wl_F77
='-Qoption ld '
14606 lt_prog_compiler_pic_F77
='-PIC'
14607 lt_prog_compiler_static_F77
='-Bstatic'
14610 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14611 lt_prog_compiler_wl_F77
='-Wl,'
14612 lt_prog_compiler_pic_F77
='-KPIC'
14613 lt_prog_compiler_static_F77
='-Bstatic'
14617 if test -d /usr
/nec
;then
14618 lt_prog_compiler_pic_F77
='-Kconform_pic'
14619 lt_prog_compiler_static_F77
='-Bstatic'
14623 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14624 lt_prog_compiler_wl_F77
='-Wl,'
14625 lt_prog_compiler_pic_F77
='-KPIC'
14626 lt_prog_compiler_static_F77
='-Bstatic'
14630 lt_prog_compiler_wl_F77
='-Wl,'
14631 lt_prog_compiler_can_build_shared_F77
=no
14635 lt_prog_compiler_pic_F77
='-pic'
14636 lt_prog_compiler_static_F77
='-Bstatic'
14640 lt_prog_compiler_can_build_shared_F77
=no
14645 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14646 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
14649 # Check to make sure the PIC flag actually works.
14651 if test -n "$lt_prog_compiler_pic_F77"; then
14653 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14654 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
14655 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14656 $as_echo_n "(cached) " >&6
14658 lt_cv_prog_compiler_pic_works_F77
=no
14659 ac_outfile
=conftest.
$ac_objext
14660 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14661 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14662 # Insert the option either (1) after the last *FLAGS variable, or
14663 # (2) before a word containing "conftest.", or (3) at the end.
14664 # Note that $ac_compile itself does not contain backslashes and begins
14665 # with a dollar sign (not a hyphen), so the echo should work correctly.
14666 # The option is referenced via a variable to avoid confusing sed.
14667 lt_compile
=`echo "$ac_compile" | $SED \
14668 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14669 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14670 -e 's:$: $lt_compiler_flag:'`
14671 (eval echo "\"\$as_me:14671: $lt_compile\"" >&5)
14672 (eval "$lt_compile" 2>conftest.err
)
14674 cat conftest.err
>&5
14675 echo "$as_me:14675: \$? = $ac_status" >&5
14676 if (exit $ac_status) && test -s "$ac_outfile"; then
14677 # The compiler can only warn and ignore the option if not recognized
14678 # So say no if there are warnings other than the usual output.
14679 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14680 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14681 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14682 lt_cv_prog_compiler_pic_works_F77
=yes
14688 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14689 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
14691 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14692 case $lt_prog_compiler_pic_F77 in
14694 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14697 lt_prog_compiler_pic_F77
=
14698 lt_prog_compiler_can_build_shared_F77
=no
14703 # For platforms which do not support PIC, -DPIC is meaningless:
14705 lt_prog_compiler_pic_F77
=
14708 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14713 # Check to make sure the static flag actually works.
14715 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14716 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14717 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14718 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14719 $as_echo_n "(cached) " >&6
14721 lt_cv_prog_compiler_static_works_F77
=no
14722 save_LDFLAGS
="$LDFLAGS"
14723 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14724 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14725 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14726 # The linker can only warn and ignore the option if not recognized
14727 # So say no if there are warnings
14728 if test -s conftest.err
; then
14729 # Append any errors to the config.log.
14730 cat conftest.err
1>&5
14731 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14732 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14733 if diff conftest.exp conftest.er2
>/dev
/null
; then
14734 lt_cv_prog_compiler_static_works_F77
=yes
14737 lt_cv_prog_compiler_static_works_F77
=yes
14741 LDFLAGS
="$save_LDFLAGS"
14744 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14745 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
14747 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14750 lt_prog_compiler_static_F77
=
14754 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14756 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14757 $as_echo_n "(cached) " >&6
14759 lt_cv_prog_compiler_c_o_F77
=no
14760 $rm -r conftest
2>/dev
/null
14764 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14766 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14767 # Insert the option either (1) after the last *FLAGS variable, or
14768 # (2) before a word containing "conftest.", or (3) at the end.
14769 # Note that $ac_compile itself does not contain backslashes and begins
14770 # with a dollar sign (not a hyphen), so the echo should work correctly.
14771 lt_compile
=`echo "$ac_compile" | $SED \
14772 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14774 -e 's:$: $lt_compiler_flag:'`
14775 (eval echo "\"\$as_me:14775: $lt_compile\"" >&5)
14776 (eval "$lt_compile" 2>out
/conftest.err
)
14778 cat out
/conftest.err
>&5
14779 echo "$as_me:14779: \$? = $ac_status" >&5
14780 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14782 # The compiler can only warn and ignore the option if not recognized
14783 # So say no if there are warnings
14784 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14785 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14786 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14787 lt_cv_prog_compiler_c_o_F77
=yes
14792 # SGI C++ compiler will create directory out/ii_files/ for
14793 # template instantiation
14794 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14795 $rm out
/* && rmdir out
14801 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14802 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
14805 hard_links
="nottested"
14806 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14807 # do not overwrite the value of need_locks provided by the user
14808 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14809 $as_echo_n "checking if we can lock with hard links... " >&6; }
14812 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14814 ln conftest.a conftest.b
2>&5 || hard_links
=no
14815 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14816 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14817 $as_echo "$hard_links" >&6; }
14818 if test "$hard_links" = no
; then
14819 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14820 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14827 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14828 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14831 allow_undefined_flag_F77
=
14832 enable_shared_with_static_runtimes_F77
=no
14834 archive_expsym_cmds_F77
=
14835 old_archive_From_new_cmds_F77
=
14836 old_archive_from_expsyms_cmds_F77
=
14837 export_dynamic_flag_spec_F77
=
14838 whole_archive_flag_spec_F77
=
14839 thread_safe_flag_spec_F77
=
14840 hardcode_libdir_flag_spec_F77
=
14841 hardcode_libdir_flag_spec_ld_F77
=
14842 hardcode_libdir_separator_F77
=
14843 hardcode_direct_F77
=no
14844 hardcode_minus_L_F77
=no
14845 hardcode_shlibpath_var_F77
=unsupported
14846 link_all_deplibs_F77
=unknown
14847 hardcode_automatic_F77
=no
14849 module_expsym_cmds_F77
=
14850 always_export_symbols_F77
=no
14851 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14852 # include_expsyms should be a list of space-separated symbols to be *always*
14853 # included in the symbol list
14854 include_expsyms_F77
=
14855 # exclude_expsyms can be an extended regexp of symbols to exclude
14856 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14857 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14858 # as well as any symbol that contains `d'.
14859 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14860 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14861 # platforms (ab)use it in PIC code, but their linkers get confused if
14862 # the symbol is explicitly referenced. Since portable code cannot
14863 # rely on this symbol name, it's probably fine to never include it in
14864 # preloaded symbol tables.
14865 # Exclude shared library initialization/finalization symbols.
14866 extract_expsyms_cmds
=
14867 # Just being paranoid about ensuring that cc_basename is set.
14868 for cc_temp
in $compiler""; do
14870 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14871 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14876 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14879 cygwin
* | mingw
* | pw32
*)
14880 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14881 # When not using gcc, we currently assume that we are using
14882 # Microsoft Visual C++.
14883 if test "$GCC" != yes; then
14888 # we just hope/assume this is gcc and not c89 (= MSVC++)
14897 if test "$with_gnu_ld" = yes; then
14898 # If archive_cmds runs LD, not CC, wlarc should be empty
14901 # Set some defaults for GNU ld with shared library support. These
14902 # are reset later if shared libraries are not supported. Putting them
14903 # here allows them to be overridden if necessary.
14904 runpath_var
=LD_RUN_PATH
14905 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14906 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14907 # ancient GNU ld didn't support --whole-archive et. al.
14908 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14909 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14911 whole_archive_flag_spec_F77
=
14913 supports_anon_versioning
=no
14914 case `$LD -v 2>/dev/null` in
14915 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14916 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14917 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14918 *\
2.11.
*) ;; # other 2.11 versions
14919 *) supports_anon_versioning
=yes ;;
14922 # See if GNU ld supports shared libraries.
14925 # On AIX/PPC, the GNU linker is very broken
14926 if test "$host_cpu" != ia64
; then
14930 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14931 *** to be unable to reliably create shared libraries on AIX.
14932 *** Therefore, libtool is disabling shared libraries support. If you
14933 *** really care for shared libraries, you may want to modify your PATH
14934 *** so that a non-GNU linker is found, and then restart.
14941 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)'
14942 hardcode_libdir_flag_spec_F77
='-L$libdir'
14943 hardcode_minus_L_F77
=yes
14945 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14946 # that the semantics of dynamic libraries on AmigaOS, at least up
14947 # to version 4, is to share data among multiple programs linked
14948 # with the same dynamic library. Since this doesn't match the
14949 # behavior of shared libraries on other platforms, we can't use
14955 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14956 allow_undefined_flag_F77
=unsupported
14957 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14958 # support --undefined. This deserves some investigation. FIXME
14959 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14965 cygwin
* | mingw
* | pw32
*)
14966 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14967 # as there is no search path for DLLs.
14968 hardcode_libdir_flag_spec_F77
='-L$libdir'
14969 allow_undefined_flag_F77
=unsupported
14970 always_export_symbols_F77
=no
14971 enable_shared_with_static_runtimes_F77
=yes
14972 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14974 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14975 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14976 # If the export-symbols file already is a .def file (1st line
14977 # is EXPORTS), use it as is; otherwise, prepend...
14978 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14979 cp $export_symbols $output_objdir/$soname.def;
14981 echo EXPORTS > $output_objdir/$soname.def;
14982 cat $export_symbols >> $output_objdir/$soname.def;
14984 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14991 hardcode_direct_F77
=no
14992 hardcode_shlibpath_var_F77
=no
14993 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14994 export_dynamic_flag_spec_F77
='${wl}-E'
14995 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14996 # Instead, shared libraries are loaded at an image base (0x10000000 by
14997 # default) and relocated if they conflict, which is a slow very memory
14998 # consuming and fragmenting process. To avoid this, we pick a random,
14999 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15000 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15001 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'
15002 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'
15005 gnu
* | linux
* | k
*bsd
*-gnu)
15006 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15008 case $cc_basename,$host_cpu in
15009 pgcc
*) # Portland Group C compiler
15010 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'
15011 tmp_addflag
=' $pic_flag'
15013 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15014 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'
15015 tmp_addflag
=' $pic_flag -Mnomain' ;;
15016 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15017 tmp_addflag
=' -i_dynamic' ;;
15018 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15019 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15020 ifc
* | ifort
*) # Intel Fortran compiler
15021 tmp_addflag
=' -nofor_main' ;;
15023 case `$CC -V 2>&1 | sed 5q` in
15024 *Sun\ C
*) # Sun C 5.9
15025 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15026 tmp_sharedflag
='-G' ;;
15027 *Sun\ F
*) # Sun Fortran 8.3
15028 tmp_sharedflag
='-G' ;;
15030 tmp_sharedflag
='-shared' ;;
15032 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15034 if test $supports_anon_versioning = yes; then
15035 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15036 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15037 $echo "local: *; };" >> $output_objdir/$libname.ver~
15038 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15046 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15047 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15050 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15051 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15056 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15060 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15061 *** create shared libraries on Solaris systems. Therefore, libtool
15062 *** is disabling shared libraries support. We urge you to upgrade GNU
15063 *** binutils to release 2.9.1 or newer. Another option is to modify
15064 *** your PATH or compiler configuration so that the native linker is
15065 *** used, and then restart.
15068 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15069 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15070 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15076 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15077 case `$LD -v 2>&1` in
15078 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15082 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15083 *** reliably create shared libraries on SCO systems. Therefore, libtool
15084 *** is disabling shared libraries support. We urge you to upgrade GNU
15085 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15086 *** your PATH or compiler configuration so that the native linker is
15087 *** used, and then restart.
15092 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15093 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15094 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15095 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15104 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15106 hardcode_direct_F77
=yes
15107 hardcode_shlibpath_var_F77
=no
15111 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15112 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15113 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15120 if test "$ld_shlibs_F77" = no
; then
15122 hardcode_libdir_flag_spec_F77
=
15123 export_dynamic_flag_spec_F77
=
15124 whole_archive_flag_spec_F77
=
15127 # PORTME fill in a description of your system's linker (not GNU ld)
15130 allow_undefined_flag_F77
=unsupported
15131 always_export_symbols_F77
=yes
15132 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'
15133 # Note: this linker hardcodes the directories in LIBPATH if there
15134 # are no directories specified by -L.
15135 hardcode_minus_L_F77
=yes
15136 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15137 # Neither direct hardcoding nor static linking is supported with a
15139 hardcode_direct_F77
=unsupported
15144 if test "$host_cpu" = ia64
; then
15145 # On IA64, the linker does run time linking by default, so we don't
15146 # have to do anything special.
15147 aix_use_runtimelinking
=no
15148 exp_sym_flag
='-Bexport'
15151 # If we're using GNU nm, then we don't want the "-C" option.
15152 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15153 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15154 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'
15156 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'
15158 aix_use_runtimelinking
=no
15160 # Test if we are trying to use run time linking or normal
15161 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15162 # need to do runtime linking.
15163 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15164 for ld_flag
in $LDFLAGS; do
15165 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15166 aix_use_runtimelinking
=yes
15173 exp_sym_flag
='-bexport'
15174 no_entry_flag
='-bnoentry'
15177 # When large executables or shared objects are built, AIX ld can
15178 # have problems creating the table of contents. If linking a library
15179 # or program results in "error TOC overflow" add -mminimal-toc to
15180 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15181 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15183 archive_cmds_F77
=''
15184 hardcode_direct_F77
=yes
15185 hardcode_libdir_separator_F77
=':'
15186 link_all_deplibs_F77
=yes
15188 if test "$GCC" = yes; then
15189 case $host_os in aix4.
[012]|aix4.
[012].
*)
15190 # We only want to do this on AIX 4.2 and lower, the check
15191 # below for broken collect2 doesn't work under 4.3+
15192 collect2name
=`${CC} -print-prog-name=collect2`
15193 if test -f "$collect2name" && \
15194 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15196 # We have reworked collect2
15199 # We have old collect2
15200 hardcode_direct_F77
=unsupported
15201 # It fails to find uninstalled libraries when the uninstalled
15202 # path is not listed in the libpath. Setting hardcode_minus_L
15203 # to unsupported forces relinking
15204 hardcode_minus_L_F77
=yes
15205 hardcode_libdir_flag_spec_F77
='-L$libdir'
15206 hardcode_libdir_separator_F77
=
15210 shared_flag
='-shared'
15211 if test "$aix_use_runtimelinking" = yes; then
15212 shared_flag
="$shared_flag "'${wl}-G'
15216 if test "$host_cpu" = ia64
; then
15217 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15218 # chokes on -Wl,-G. The following line is correct:
15221 if test "$aix_use_runtimelinking" = yes; then
15222 shared_flag
='${wl}-G'
15224 shared_flag
='${wl}-bM:SRE'
15229 # It seems that -bexpall does not export symbols beginning with
15230 # underscore (_), so it is better to generate a list of symbols to export.
15231 always_export_symbols_F77
=yes
15232 if test "$aix_use_runtimelinking" = yes; then
15233 # Warning - without using the other runtime loading flags (-brtl),
15234 # -berok will link without error, but may produce a broken library.
15235 allow_undefined_flag_F77
='-berok'
15236 # Determine the default libpath from the value encoded in an empty executable.
15237 cat >conftest.
$ac_ext <<_ACEOF
15242 rm -f conftest.
$ac_objext conftest
$ac_exeext
15243 if { (ac_try
="$ac_link"
15244 case "(($ac_try" in
15245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15246 *) ac_try_echo=$ac_try;;
15248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15249 $as_echo "$ac_try_echo") >&5
15250 (eval "$ac_link") 2>conftest.er1
15252 grep -v '^ *+' conftest.er1 >conftest.err
15254 cat conftest.err >&5
15255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } && {
15257 test -z "$ac_f77_werror_flag" ||
15258 test ! -s conftest.err
15259 } && test -s conftest$ac_exeext && {
15260 test "$cross_compiling" = yes ||
15261 $as_test_x conftest$ac_exeext
15264 lt_aix_libpath_sed='
15265 /Import File Strings/,/^$/ {
15271 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15272 # Check for a 64-bit object if we didn't find anything.
15273 if test -z "$aix_libpath"; then
15274 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15277 $as_echo "$as_me: failed program was:" >&5
15278 sed 's/^/| /' conftest.$ac_ext >&5
15283 rm -rf conftest.dSYM
15284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15285 conftest$ac_exeext conftest.$ac_ext
15286 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15288 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15289 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"
15291 if test "$host_cpu" = ia64; then
15292 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15293 allow_undefined_flag_F77="-z nodefs"
15294 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"
15296 # Determine the default libpath from the value encoded in an empty executable.
15297 cat >conftest.$ac_ext <<_ACEOF
15302 rm -f conftest.$ac_objext conftest$ac_exeext
15303 if { (ac_try="$ac_link"
15304 case "(($ac_try" in
15305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15306 *) ac_try_echo
=$ac_try;;
15308 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15309 $as_echo "$ac_try_echo") >&5
15310 (eval "$ac_link") 2>conftest.er1
15312 grep -v '^ *+' conftest.er1
>conftest.err
15314 cat conftest.err
>&5
15315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); } && {
15317 test -z "$ac_f77_werror_flag" ||
15318 test ! -s conftest.err
15319 } && test -s conftest
$ac_exeext && {
15320 test "$cross_compiling" = yes ||
15321 $as_test_x conftest
$ac_exeext
15324 lt_aix_libpath_sed
='
15325 /Import File Strings/,/^$/ {
15331 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15332 # Check for a 64-bit object if we didn't find anything.
15333 if test -z "$aix_libpath"; then
15334 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15337 $as_echo "$as_me: failed program was:" >&5
15338 sed 's/^/| /' conftest.
$ac_ext >&5
15343 rm -rf conftest.dSYM
15344 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15345 conftest
$ac_exeext conftest.
$ac_ext
15346 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15348 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15349 # Warning - without using the other run time loading flags,
15350 # -berok will link without error, but may produce a broken library.
15351 no_undefined_flag_F77
=' ${wl}-bernotok'
15352 allow_undefined_flag_F77
=' ${wl}-berok'
15353 # Exported symbols can be pulled into shared objects from archives
15354 whole_archive_flag_spec_F77
='$convenience'
15355 archive_cmds_need_lc_F77
=yes
15356 # This is similar to how AIX traditionally builds its shared libraries.
15357 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'
15363 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)'
15364 hardcode_libdir_flag_spec_F77
='-L$libdir'
15365 hardcode_minus_L_F77
=yes
15366 # see comment about different semantics on the GNU ld section
15371 export_dynamic_flag_spec_F77
=-rdynamic
15374 cygwin
* | mingw
* | pw32
*)
15375 # When not using gcc, we currently assume that we are using
15376 # Microsoft Visual C++.
15377 # hardcode_libdir_flag_spec is actually meaningless, as there is
15378 # no search path for DLLs.
15379 hardcode_libdir_flag_spec_F77
=' '
15380 allow_undefined_flag_F77
=unsupported
15381 # Tell ltmain to make .lib files, not .a files.
15383 # Tell ltmain to make .dll files, not .so files.
15385 # FIXME: Setting linknames here is a bad hack.
15386 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15387 # The linker will automatically build a .lib file if we build a DLL.
15388 old_archive_From_new_cmds_F77
='true'
15389 # FIXME: Should let the user specify the lib program.
15390 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15391 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15392 enable_shared_with_static_runtimes_F77
=yes
15395 darwin
* | rhapsody
*)
15397 rhapsody
* | darwin1.
[012])
15398 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15401 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15402 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15404 case ${MACOSX_DEPLOYMENT_TARGET} in
15406 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15409 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15415 archive_cmds_need_lc_F77
=no
15416 hardcode_direct_F77
=no
15417 hardcode_automatic_F77
=yes
15418 hardcode_shlibpath_var_F77
=unsupported
15419 whole_archive_flag_spec_F77
=''
15420 link_all_deplibs_F77
=yes
15421 if test "$GCC" = yes ; then
15422 output_verbose_link_cmd
='echo'
15423 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15424 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15425 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15426 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15428 case $cc_basename in
15430 output_verbose_link_cmd
='echo'
15431 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15432 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15433 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15434 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15435 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}'
15445 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15446 hardcode_libdir_flag_spec_F77
='-L$libdir'
15447 hardcode_shlibpath_var_F77
=no
15454 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15455 # support. Future versions do this automatically, but an explicit c++rt0.o
15456 # does not break anything, and helps significantly (at the cost of a little
15459 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15460 hardcode_libdir_flag_spec_F77
='-R$libdir'
15461 hardcode_direct_F77
=yes
15462 hardcode_shlibpath_var_F77
=no
15465 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15467 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15468 hardcode_direct_F77
=yes
15469 hardcode_minus_L_F77
=yes
15470 hardcode_shlibpath_var_F77
=no
15473 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15474 freebsd
* | dragonfly
*)
15475 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15476 hardcode_libdir_flag_spec_F77
='-R$libdir'
15477 hardcode_direct_F77
=yes
15478 hardcode_shlibpath_var_F77
=no
15482 if test "$GCC" = yes; then
15483 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'
15485 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'
15487 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15488 hardcode_libdir_separator_F77
=:
15489 hardcode_direct_F77
=yes
15491 # hardcode_minus_L: Not really in the search PATH,
15492 # but as the default location of the library.
15493 hardcode_minus_L_F77
=yes
15494 export_dynamic_flag_spec_F77
='${wl}-E'
15498 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15499 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15501 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15503 if test "$with_gnu_ld" = no
; then
15504 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15505 hardcode_libdir_separator_F77
=:
15507 hardcode_direct_F77
=yes
15508 export_dynamic_flag_spec_F77
='${wl}-E'
15510 # hardcode_minus_L: Not really in the search PATH,
15511 # but as the default location of the library.
15512 hardcode_minus_L_F77
=yes
15517 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15520 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15523 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15526 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15532 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15535 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15538 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15542 if test "$with_gnu_ld" = no
; then
15543 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15544 hardcode_libdir_separator_F77
=:
15548 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15549 hardcode_direct_F77
=no
15550 hardcode_shlibpath_var_F77
=no
15553 hardcode_direct_F77
=yes
15554 export_dynamic_flag_spec_F77
='${wl}-E'
15556 # hardcode_minus_L: Not really in the search PATH,
15557 # but as the default location of the library.
15558 hardcode_minus_L_F77
=yes
15564 irix5
* | irix6
* | nonstopux
*)
15565 if test "$GCC" = yes; then
15566 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'
15568 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'
15569 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15571 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15572 hardcode_libdir_separator_F77
=:
15573 link_all_deplibs_F77
=yes
15577 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15578 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15580 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15582 hardcode_libdir_flag_spec_F77
='-R$libdir'
15583 hardcode_direct_F77
=yes
15584 hardcode_shlibpath_var_F77
=no
15588 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15589 hardcode_direct_F77
=yes
15590 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15591 hardcode_libdir_separator_F77
=:
15592 hardcode_shlibpath_var_F77
=no
15596 if test -f /usr
/libexec
/ld.so
; then
15597 hardcode_direct_F77
=yes
15598 hardcode_shlibpath_var_F77
=no
15599 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15600 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15601 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15602 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15603 export_dynamic_flag_spec_F77
='${wl}-E'
15606 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15607 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15608 hardcode_libdir_flag_spec_F77
='-R$libdir'
15611 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15612 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15622 hardcode_libdir_flag_spec_F77
='-L$libdir'
15623 hardcode_minus_L_F77
=yes
15624 allow_undefined_flag_F77
=unsupported
15625 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'
15626 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15630 if test "$GCC" = yes; then
15631 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15632 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'
15634 allow_undefined_flag_F77
=' -expect_unresolved \*'
15635 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'
15637 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15638 hardcode_libdir_separator_F77
=:
15641 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15642 if test "$GCC" = yes; then
15643 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15644 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'
15645 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15647 allow_undefined_flag_F77
=' -expect_unresolved \*'
15648 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'
15649 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~
15650 $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'
15652 # Both c and cxx compiler support -rpath directly
15653 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15655 hardcode_libdir_separator_F77
=:
15659 no_undefined_flag_F77
=' -z text'
15660 if test "$GCC" = yes; then
15662 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15663 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15664 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15667 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15668 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15669 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15671 hardcode_libdir_flag_spec_F77
='-R$libdir'
15672 hardcode_shlibpath_var_F77
=no
15674 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15676 # The compiler driver will combine and reorder linker options,
15677 # but understands `-z linker_flag'. GCC discards it without `$wl',
15678 # but is careful enough not to reorder.
15679 # Supported since Solaris 2.6 (maybe 2.5.1?)
15680 if test "$GCC" = yes; then
15681 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15683 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15687 link_all_deplibs_F77
=yes
15691 if test "x$host_vendor" = xsequent
; then
15692 # Use $CC to link under sequent, because it throws in some extra .o
15693 # files that make .init and .fini sections work.
15694 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15696 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15698 hardcode_libdir_flag_spec_F77
='-L$libdir'
15699 hardcode_direct_F77
=yes
15700 hardcode_minus_L_F77
=yes
15701 hardcode_shlibpath_var_F77
=no
15705 case $host_vendor in
15707 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15708 hardcode_direct_F77
=yes # is this really true???
15711 ## LD is ld it makes a PLAMLIB
15712 ## CC just makes a GrossModule.
15713 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15714 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15715 hardcode_direct_F77
=no
15718 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15719 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15722 runpath_var
='LD_RUN_PATH'
15723 hardcode_shlibpath_var_F77
=no
15727 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15728 hardcode_shlibpath_var_F77
=no
15729 export_dynamic_flag_spec_F77
='-Bexport'
15733 if test -d /usr
/nec
; then
15734 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15735 hardcode_shlibpath_var_F77
=no
15736 runpath_var
=LD_RUN_PATH
15737 hardcode_runpath_var
=yes
15742 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15743 no_undefined_flag_F77
='${wl}-z,text'
15744 archive_cmds_need_lc_F77
=no
15745 hardcode_shlibpath_var_F77
=no
15746 runpath_var
='LD_RUN_PATH'
15748 if test "$GCC" = yes; then
15749 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15750 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15752 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15753 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15757 sysv5
* | sco3.2v5
* | sco5v6
*)
15758 # Note: We can NOT use -z defs as we might desire, because we do not
15759 # link with -lc, and that would cause any symbols used from libc to
15760 # always be unresolved, which means just about no library would
15761 # ever link correctly. If we're not using GNU ld we use -z text
15762 # though, which does catch some bad symbols but isn't as heavy-handed
15764 no_undefined_flag_F77
='${wl}-z,text'
15765 allow_undefined_flag_F77
='${wl}-z,nodefs'
15766 archive_cmds_need_lc_F77
=no
15767 hardcode_shlibpath_var_F77
=no
15768 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15769 hardcode_libdir_separator_F77
=':'
15770 link_all_deplibs_F77
=yes
15771 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15772 runpath_var
='LD_RUN_PATH'
15774 if test "$GCC" = yes; then
15775 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15776 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15778 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15779 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15784 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15785 hardcode_libdir_flag_spec_F77
='-L$libdir'
15786 hardcode_shlibpath_var_F77
=no
15795 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15796 $as_echo "$ld_shlibs_F77" >&6; }
15797 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15800 # Do we need to explicitly link libc?
15802 case "x$archive_cmds_need_lc_F77" in
15804 # Assume -lc should be added
15805 archive_cmds_need_lc_F77
=yes
15807 if test "$enable_shared" = yes && test "$GCC" = yes; then
15808 case $archive_cmds_F77 in
15810 # FIXME: we may have to deal with multi-command sequences.
15813 # Test whether the compiler implicitly links with -lc since on some
15814 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15815 # to ld, don't add -lc before -lgcc.
15816 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15817 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15819 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15822 (eval $ac_compile) 2>&5
15824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } 2>conftest.err
; then
15828 libobjs
=conftest.
$ac_objext
15830 wl
=$lt_prog_compiler_wl_F77
15831 pic_flag
=$lt_prog_compiler_pic_F77
15837 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15838 allow_undefined_flag_F77
=
15839 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15840 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); }
15845 archive_cmds_need_lc_F77
=no
15847 archive_cmds_need_lc_F77
=yes
15849 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15851 cat conftest.err
1>&5
15854 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15855 $as_echo "$archive_cmds_need_lc_F77" >&6; }
15862 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15863 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15864 library_names_spec
=
15865 libname_spec
='lib$name'
15869 postuninstall_cmds
=
15873 shlibpath_overrides_runpath
=unknown
15875 dynamic_linker
="$host_os ld.so"
15876 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15878 need_lib_prefix
=unknown
15879 hardcode_into_libs
=no
15881 # when you set need_version to no, make sure it does not cause -set_version
15882 # flags to be left without arguments
15883 need_version
=unknown
15888 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15889 shlibpath_var
=LIBPATH
15891 # AIX 3 has no versioning support, so we append a major version to the name.
15892 soname_spec
='${libname}${release}${shared_ext}$major'
15899 hardcode_into_libs
=yes
15900 if test "$host_cpu" = ia64
; then
15901 # AIX 5 supports IA64
15902 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15903 shlibpath_var
=LD_LIBRARY_PATH
15905 # With GCC up to 2.95.x, collect2 would create an import file
15906 # for dependence libraries. The import file would start with
15907 # the line `#! .'. This would cause the generated library to
15908 # depend on `.', always an invalid library. This was fixed in
15909 # development snapshots of GCC prior to 3.0.
15911 aix4 | aix4.
[01] | aix4.
[01].
*)
15912 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15914 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15917 can_build_shared
=no
15921 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15922 # soname into executable. Probably we can add versioning support to
15923 # collect2, so additional links can be useful in future.
15924 if test "$aix_use_runtimelinking" = yes; then
15925 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15926 # instead of lib<name>.a to let people know that these are not
15927 # typical AIX shared libraries.
15928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15930 # We preserve .a as extension for shared libraries through AIX4.2
15931 # and later when we are not doing run time linking.
15932 library_names_spec
='${libname}${release}.a $libname.a'
15933 soname_spec
='${libname}${release}${shared_ext}$major'
15935 shlibpath_var
=LIBPATH
15940 library_names_spec
='$libname.ixlibrary $libname.a'
15941 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15942 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'
15946 library_names_spec
='${libname}${shared_ext}'
15947 dynamic_linker
="$host_os ld.so"
15948 shlibpath_var
=LIBRARY_PATH
15954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15955 soname_spec
='${libname}${release}${shared_ext}$major'
15956 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15957 shlibpath_var
=LD_LIBRARY_PATH
15958 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15959 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15960 # the default ld.so.conf also contains /usr/contrib/lib and
15961 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15962 # libtool to hard-code these into programs
15965 cygwin
* | mingw
* | pw32
*)
15966 version_type
=windows
15971 case $GCC,$host_os in
15972 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15973 library_names_spec
='$libname.dll.a'
15974 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15975 postinstall_cmds
='base_file=`basename \${file}`~
15976 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15977 dldir=$destdir/`dirname \$dlpath`~
15978 test -d \$dldir || mkdir -p \$dldir~
15979 $install_prog $dir/$dlname \$dldir/$dlname~
15980 chmod a+x \$dldir/$dlname'
15981 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15982 dlpath=$dir/\$dldll~
15984 shlibpath_overrides_runpath
=yes
15988 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15989 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15990 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15993 # MinGW DLLs use traditional 'lib' prefix
15994 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15995 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15996 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15997 # It is most probably a Windows format PATH printed by
15998 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15999 # path with ; separators, and with drive letters. We can handle the
16000 # drive letters (cygwin fileutils understands them), so leave them,
16001 # especially as we might pass files found there to a mingw objdump,
16002 # which wouldn't understand a cygwinified path. Ahh.
16003 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16005 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16009 # pw32 DLLs use 'pw' prefix rather than 'lib'
16010 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16016 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16019 dynamic_linker
='Win32 ld.exe'
16020 # FIXME: first we should search . and the directory the executable is in
16024 darwin
* | rhapsody
*)
16025 dynamic_linker
="$host_os dyld"
16026 version_type
=darwin
16029 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16030 soname_spec
='${libname}${release}${major}$shared_ext'
16031 shlibpath_overrides_runpath
=yes
16032 shlibpath_var
=DYLD_LIBRARY_PATH
16033 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16035 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16043 soname_spec
='${libname}${release}${shared_ext}$major'
16044 shlibpath_var
=LD_LIBRARY_PATH
16051 freebsd
* | dragonfly
*)
16052 # DragonFly does not have aout. When/if they implement a new
16053 # versioning mechanism, adjust this.
16054 if test -x /usr
/bin
/objformat
; then
16055 objformat
=`/usr/bin/objformat`
16058 freebsd
[123]*) objformat
=aout
;;
16059 *) objformat
=elf
;;
16062 # Handle Gentoo/FreeBSD as it was Linux
16063 case $host_vendor in
16065 version_type
=linux
;;
16067 version_type
=freebsd-
$objformat ;;
16070 case $version_type in
16072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16077 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16082 soname_spec
='${libname}${release}${shared_ext}$major'
16087 shlibpath_var
=LD_LIBRARY_PATH
16090 shlibpath_overrides_runpath
=yes
16092 freebsd3.
[01]* | freebsdelf3.
[01]*)
16093 shlibpath_overrides_runpath
=yes
16094 hardcode_into_libs
=yes
16096 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16097 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16098 shlibpath_overrides_runpath
=no
16099 hardcode_into_libs
=yes
16101 *) # from 4.6 on, and DragonFly
16102 shlibpath_overrides_runpath
=yes
16103 hardcode_into_libs
=yes
16112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16113 soname_spec
='${libname}${release}${shared_ext}$major'
16114 shlibpath_var
=LD_LIBRARY_PATH
16115 hardcode_into_libs
=yes
16118 hpux9
* | hpux10
* | hpux11
*)
16119 # Give a soname corresponding to the major version so that dld.sl refuses to
16120 # link against other versions.
16127 hardcode_into_libs
=yes
16128 dynamic_linker
="$host_os dld.so"
16129 shlibpath_var
=LD_LIBRARY_PATH
16130 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16132 soname_spec
='${libname}${release}${shared_ext}$major'
16133 if test "X$HPUX_IA64_MODE" = X32
; then
16134 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16136 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16138 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16142 hardcode_into_libs
=yes
16143 dynamic_linker
="$host_os dld.sl"
16144 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16145 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16147 soname_spec
='${libname}${release}${shared_ext}$major'
16148 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16149 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16153 dynamic_linker
="$host_os dld.sl"
16154 shlibpath_var
=SHLIB_PATH
16155 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16157 soname_spec
='${libname}${release}${shared_ext}$major'
16160 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16161 postinstall_cmds
='chmod 555 $lib'
16168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16169 soname_spec
='${libname}${release}${shared_ext}$major'
16170 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16171 shlibpath_var
=LD_LIBRARY_PATH
16172 shlibpath_overrides_runpath
=no
16173 hardcode_into_libs
=yes
16176 irix5
* | irix6
* | nonstopux
*)
16178 nonstopux
*) version_type
=nonstopux
;;
16180 if test "$lt_cv_prog_gnu_ld" = yes; then
16188 soname_spec
='${libname}${release}${shared_ext}$major'
16189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16191 irix5
* | nonstopux
*)
16192 libsuff
= shlibsuff
=
16195 case $LD in # libtool.m4 will add one of these switches to LD
16196 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16197 libsuff
= shlibsuff
= libmagic
=32-bit;;
16198 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16199 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16200 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16201 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16202 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16206 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16207 shlibpath_overrides_runpath
=no
16208 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16209 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16210 hardcode_into_libs
=yes
16213 # No shared lib support for Linux oldld, aout, or coff.
16214 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16218 # This must be Linux ELF.
16219 linux
* | k
*bsd
*-gnu)
16223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16224 soname_spec
='${libname}${release}${shared_ext}$major'
16225 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16226 shlibpath_var
=LD_LIBRARY_PATH
16227 shlibpath_overrides_runpath
=no
16228 # This implies no fast_install, which is unacceptable.
16229 # Some rework will be needed to allow for fast_install
16230 # before this can be enabled.
16231 hardcode_into_libs
=yes
16233 # Append ld.so.conf contents to the search path
16234 if test -f /etc
/ld.so.conf
; then
16235 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16236 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16239 # We used to test for /lib/ld.so.1 and disable shared libraries on
16240 # powerpc, because MkLinux only supported shared libraries with the
16241 # GNU dynamic linker. Since this was broken with cross compilers,
16242 # most powerpc-linux boxes support dynamic linking these days and
16243 # people can always --disable-shared, the test was removed, and we
16244 # assume the GNU/Linux dynamic linker is in use.
16245 dynamic_linker
='GNU/Linux ld.so'
16252 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16254 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16255 dynamic_linker
='NetBSD (a.out) ld.so'
16257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16258 soname_spec
='${libname}${release}${shared_ext}$major'
16259 dynamic_linker
='NetBSD ld.elf_so'
16261 shlibpath_var
=LD_LIBRARY_PATH
16262 shlibpath_overrides_runpath
=yes
16263 hardcode_into_libs
=yes
16268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16269 shlibpath_var
=LD_LIBRARY_PATH
16270 shlibpath_overrides_runpath
=yes
16277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16278 soname_spec
='${libname}${release}${shared_ext}$major'
16279 shlibpath_var
=LD_LIBRARY_PATH
16280 shlibpath_overrides_runpath
=yes
16285 sys_lib_dlsearch_path_spec
="/usr/lib"
16287 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16289 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16290 *) need_version
=no
;;
16292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16293 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16294 shlibpath_var
=LD_LIBRARY_PATH
16295 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16297 openbsd2.
[89] | openbsd2.
[89].
*)
16298 shlibpath_overrides_runpath
=no
16301 shlibpath_overrides_runpath
=yes
16305 shlibpath_overrides_runpath
=yes
16310 libname_spec
='$name'
16313 library_names_spec
='$libname${shared_ext} $libname.a'
16314 dynamic_linker
='OS/2 ld.exe'
16315 shlibpath_var
=LIBPATH
16318 osf3
* | osf4
* | osf5
*)
16322 soname_spec
='${libname}${release}${shared_ext}$major'
16323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16324 shlibpath_var
=LD_LIBRARY_PATH
16325 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16326 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16338 soname_spec
='${libname}${release}${shared_ext}$major'
16339 shlibpath_var
=LD_LIBRARY_PATH
16340 shlibpath_overrides_runpath
=yes
16341 hardcode_into_libs
=yes
16342 # ldd complains unless libraries are executable
16343 postinstall_cmds
='chmod +x $lib'
16348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16349 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16350 shlibpath_var
=LD_LIBRARY_PATH
16351 shlibpath_overrides_runpath
=yes
16352 if test "$with_gnu_ld" = yes; then
16360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16361 soname_spec
='${libname}${release}${shared_ext}$major'
16362 shlibpath_var
=LD_LIBRARY_PATH
16363 case $host_vendor in
16365 shlibpath_overrides_runpath
=no
16367 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16368 runpath_var
=LD_RUN_PATH
16376 shlibpath_overrides_runpath
=no
16377 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16383 if test -d /usr
/nec
;then
16385 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16386 soname_spec
='$libname${shared_ext}.$major'
16387 shlibpath_var
=LD_LIBRARY_PATH
16391 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16392 version_type
=freebsd-elf
16395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16396 soname_spec
='${libname}${release}${shared_ext}$major'
16397 shlibpath_var
=LD_LIBRARY_PATH
16398 hardcode_into_libs
=yes
16399 if test "$with_gnu_ld" = yes; then
16400 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16401 shlibpath_overrides_runpath
=no
16403 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16404 shlibpath_overrides_runpath
=yes
16407 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16411 sys_lib_dlsearch_path_spec
='/usr/lib'
16416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16417 soname_spec
='${libname}${release}${shared_ext}$major'
16418 shlibpath_var
=LD_LIBRARY_PATH
16425 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16426 $as_echo "$dynamic_linker" >&6; }
16427 test "$dynamic_linker" = no
&& can_build_shared
=no
16429 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16430 $as_echo_n "(cached) " >&6
16432 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16435 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16436 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16437 $as_echo_n "(cached) " >&6
16439 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16442 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16444 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16445 if test "$GCC" = yes; then
16446 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16449 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16450 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16451 hardcode_action_F77
=
16452 if test -n "$hardcode_libdir_flag_spec_F77" || \
16453 test -n "$runpath_var_F77" || \
16454 test "X$hardcode_automatic_F77" = "Xyes" ; then
16456 # We can hardcode non-existant directories.
16457 if test "$hardcode_direct_F77" != no
&&
16458 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16459 # have to relink, otherwise we might link with an installed library
16460 # when we should be linking with a yet-to-be-installed one
16461 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16462 test "$hardcode_minus_L_F77" != no
; then
16463 # Linking always hardcodes the temporary library directory.
16464 hardcode_action_F77
=relink
16466 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16467 hardcode_action_F77
=immediate
16470 # We cannot hardcode anything, or else we can only hardcode existing
16472 hardcode_action_F77
=unsupported
16474 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16475 $as_echo "$hardcode_action_F77" >&6; }
16477 if test "$hardcode_action_F77" = relink
; then
16478 # Fast installation is not supported
16479 enable_fast_install
=no
16480 elif test "$shlibpath_overrides_runpath" = yes ||
16481 test "$enable_shared" = no
; then
16482 # Fast installation is not necessary
16483 enable_fast_install
=needless
16487 # The else clause should only fire when bootstrapping the
16488 # libtool distribution, otherwise you forgot to ship ltmain.sh
16489 # with your package, and you will get complaints that there are
16490 # no rules to generate ltmain.sh.
16491 if test -f "$ltmain"; then
16492 # See if we are running on zsh, and set the options which allow our commands through
16493 # without removal of \ escapes.
16494 if test -n "${ZSH_VERSION+set}" ; then
16495 setopt NO_GLOB_SUBST
16497 # Now quote all the things that may contain metacharacters while being
16498 # careful not to overquote the AC_SUBSTed values. We take copies of the
16499 # variables and quote the copies for generation of the libtool script.
16500 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16502 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16503 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16504 deplibs_check_method reload_flag reload_cmds need_locks \
16505 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16506 lt_cv_sys_global_symbol_to_c_name_address \
16507 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16508 old_postinstall_cmds old_postuninstall_cmds \
16512 lt_prog_compiler_wl_F77 \
16513 lt_prog_compiler_pic_F77 \
16514 lt_prog_compiler_static_F77 \
16515 lt_prog_compiler_no_builtin_flag_F77 \
16516 export_dynamic_flag_spec_F77 \
16517 thread_safe_flag_spec_F77 \
16518 whole_archive_flag_spec_F77 \
16519 enable_shared_with_static_runtimes_F77 \
16520 old_archive_cmds_F77 \
16521 old_archive_from_new_cmds_F77 \
16522 predep_objects_F77 \
16523 postdep_objects_F77 \
16526 compiler_lib_search_path_F77 \
16527 compiler_lib_search_dirs_F77 \
16529 archive_expsym_cmds_F77 \
16530 postinstall_cmds_F77 \
16531 postuninstall_cmds_F77 \
16532 old_archive_from_expsyms_cmds_F77 \
16533 allow_undefined_flag_F77 \
16534 no_undefined_flag_F77 \
16535 export_symbols_cmds_F77 \
16536 hardcode_libdir_flag_spec_F77 \
16537 hardcode_libdir_flag_spec_ld_F77 \
16538 hardcode_libdir_separator_F77 \
16539 hardcode_automatic_F77 \
16541 module_expsym_cmds_F77 \
16542 lt_cv_prog_compiler_c_o_F77 \
16543 fix_srcfile_path_F77 \
16544 exclude_expsyms_F77 \
16545 include_expsyms_F77
; do
16548 old_archive_cmds_F77 | \
16549 old_archive_from_new_cmds_F77 | \
16550 archive_cmds_F77 | \
16551 archive_expsym_cmds_F77 | \
16552 module_cmds_F77 | \
16553 module_expsym_cmds_F77 | \
16554 old_archive_from_expsyms_cmds_F77 | \
16555 export_symbols_cmds_F77 | \
16556 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16557 postinstall_cmds | postuninstall_cmds | \
16558 old_postinstall_cmds | old_postuninstall_cmds | \
16559 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16560 # Double-quote double-evaled strings.
16561 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16564 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16570 *'\$0 --fallback-echo"')
16571 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16577 cat <<__EOF__ >> "$cfgfile"
16578 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16580 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16582 # Shell to use when invoking shell scripts.
16585 # Whether or not to build shared libraries.
16586 build_libtool_libs=$enable_shared
16588 # Whether or not to build static libraries.
16589 build_old_libs=$enable_static
16591 # Whether or not to add -lc for building shared libraries.
16592 build_libtool_need_lc=$archive_cmds_need_lc_F77
16594 # Whether or not to disallow shared libs when runtime libs are static
16595 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16597 # Whether or not to optimize for fast installation.
16598 fast_install=$enable_fast_install
16601 host_alias=$host_alias
16605 # The build system.
16606 build_alias=$build_alias
16610 # An echo program that does not interpret backslashes.
16615 AR_FLAGS=$lt_AR_FLAGS
16620 # LTCC compiler flags.
16621 LTCFLAGS=$lt_LTCFLAGS
16623 # A language-specific compiler.
16624 CC=$lt_compiler_F77
16626 # Is the compiler the GNU C compiler?
16632 # The linker used to build libraries.
16635 # Whether we need hard or soft links.
16638 # A BSD-compatible nm program.
16641 # A symbol stripping program
16644 # Used to examine libraries when file_magic_cmd begins "file"
16645 MAGIC_CMD=$MAGIC_CMD
16647 # Used on cygwin: DLL creation program.
16650 # Used on cygwin: object dumper.
16653 # Used on cygwin: assembler.
16656 # The name of the directory that contains temporary libtool files.
16659 # How to create reloadable object files.
16660 reload_flag=$lt_reload_flag
16661 reload_cmds=$lt_reload_cmds
16663 # How to pass a linker flag through the compiler.
16664 wl=$lt_lt_prog_compiler_wl_F77
16666 # Object file suffix (normally "o").
16667 objext="$ac_objext"
16669 # Old archive suffix (normally "a").
16672 # Shared library suffix (normally ".so").
16673 shrext_cmds='$shrext_cmds'
16675 # Executable file suffix (normally "").
16678 # Additional compiler flags for building library objects.
16679 pic_flag=$lt_lt_prog_compiler_pic_F77
16682 # What is the maximum length of a command?
16683 max_cmd_len=$lt_cv_sys_max_cmd_len
16685 # Does compiler simultaneously support -c and -o options?
16686 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16688 # Must we lock files when doing compilation?
16689 need_locks=$lt_need_locks
16691 # Do we need the lib prefix for modules?
16692 need_lib_prefix=$need_lib_prefix
16694 # Do we need a version for libraries?
16695 need_version=$need_version
16697 # Whether dlopen is supported.
16698 dlopen_support=$enable_dlopen
16700 # Whether dlopen of programs is supported.
16701 dlopen_self=$enable_dlopen_self
16703 # Whether dlopen of statically linked programs is supported.
16704 dlopen_self_static=$enable_dlopen_self_static
16706 # Compiler flag to prevent dynamic linking.
16707 link_static_flag=$lt_lt_prog_compiler_static_F77
16709 # Compiler flag to turn off builtin functions.
16710 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16712 # Compiler flag to allow reflexive dlopens.
16713 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16715 # Compiler flag to generate shared objects directly from archives.
16716 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16718 # Compiler flag to generate thread-safe objects.
16719 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16721 # Library versioning type.
16722 version_type=$version_type
16724 # Format of library name prefix.
16725 libname_spec=$lt_libname_spec
16727 # List of archive names. First name is the real one, the rest are links.
16728 # The last name is the one that the linker finds with -lNAME.
16729 library_names_spec=$lt_library_names_spec
16731 # The coded name of the library, if different from the real name.
16732 soname_spec=$lt_soname_spec
16734 # Commands used to build and install an old-style archive.
16736 old_archive_cmds=$lt_old_archive_cmds_F77
16737 old_postinstall_cmds=$lt_old_postinstall_cmds
16738 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16740 # Create an old-style archive from a shared archive.
16741 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16743 # Create a temporary old-style archive to link instead of a shared archive.
16744 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16746 # Commands used to build and install a shared archive.
16747 archive_cmds=$lt_archive_cmds_F77
16748 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16749 postinstall_cmds=$lt_postinstall_cmds
16750 postuninstall_cmds=$lt_postuninstall_cmds
16752 # Commands used to build a loadable module (assumed same as above if empty)
16753 module_cmds=$lt_module_cmds_F77
16754 module_expsym_cmds=$lt_module_expsym_cmds_F77
16756 # Commands to strip libraries.
16757 old_striplib=$lt_old_striplib
16758 striplib=$lt_striplib
16760 # Dependencies to place before the objects being linked to create a
16762 predep_objects=$lt_predep_objects_F77
16764 # Dependencies to place after the objects being linked to create a
16766 postdep_objects=$lt_postdep_objects_F77
16768 # Dependencies to place before the objects being linked to create a
16770 predeps=$lt_predeps_F77
16772 # Dependencies to place after the objects being linked to create a
16774 postdeps=$lt_postdeps_F77
16776 # The directories searched by this compiler when creating a shared
16778 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16780 # The library search path used internally by the compiler when linking
16781 # a shared library.
16782 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16784 # Method to check whether dependent libraries are shared objects.
16785 deplibs_check_method=$lt_deplibs_check_method
16787 # Command to use when deplibs_check_method == file_magic.
16788 file_magic_cmd=$lt_file_magic_cmd
16790 # Flag that allows shared libraries with undefined symbols to be built.
16791 allow_undefined_flag=$lt_allow_undefined_flag_F77
16793 # Flag that forces no undefined symbols.
16794 no_undefined_flag=$lt_no_undefined_flag_F77
16796 # Commands used to finish a libtool library installation in a directory.
16797 finish_cmds=$lt_finish_cmds
16799 # Same as above, but a single script fragment to be evaled but not shown.
16800 finish_eval=$lt_finish_eval
16802 # Take the output of nm and produce a listing of raw symbols and C names.
16803 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16805 # Transform the output of nm in a proper C declaration
16806 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16808 # Transform the output of nm in a C name address pair
16809 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16811 # This is the shared library runtime path variable.
16812 runpath_var=$runpath_var
16814 # This is the shared library path variable.
16815 shlibpath_var=$shlibpath_var
16817 # Is shlibpath searched before the hard-coded library search path?
16818 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16820 # How to hardcode a shared library path into an executable.
16821 hardcode_action=$hardcode_action_F77
16823 # Whether we should hardcode library paths into libraries.
16824 hardcode_into_libs=$hardcode_into_libs
16826 # Flag to hardcode \$libdir into a binary during linking.
16827 # This must work even if \$libdir does not exist.
16828 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16830 # If ld is used when linking, flag to hardcode \$libdir into
16831 # a binary during linking. This must work even if \$libdir does
16833 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16835 # Whether we need a single -rpath flag with a separated argument.
16836 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16838 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16839 # resulting binary.
16840 hardcode_direct=$hardcode_direct_F77
16842 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16843 # resulting binary.
16844 hardcode_minus_L=$hardcode_minus_L_F77
16846 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16847 # the resulting binary.
16848 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16850 # Set to yes if building a shared library automatically hardcodes DIR into the library
16851 # and all subsequent libraries and executables linked against it.
16852 hardcode_automatic=$hardcode_automatic_F77
16854 # Variables whose values should be saved in libtool wrapper scripts and
16855 # restored at relink time.
16856 variables_saved_for_relink="$variables_saved_for_relink"
16858 # Whether libtool must link a program against all its dependency libraries.
16859 link_all_deplibs=$link_all_deplibs_F77
16861 # Compile-time system search path for libraries
16862 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16864 # Run-time system search path for libraries
16865 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16867 # Fix the shell variable \$srcfile for the compiler.
16868 fix_srcfile_path=$lt_fix_srcfile_path
16870 # Set to yes if exported symbols are required.
16871 always_export_symbols=$always_export_symbols_F77
16873 # The commands to list exported symbols.
16874 export_symbols_cmds=$lt_export_symbols_cmds_F77
16876 # The commands to extract the exported symbol list from a shared archive.
16877 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16879 # Symbols that should not be listed in the preloaded symbols.
16880 exclude_expsyms=$lt_exclude_expsyms_F77
16882 # Symbols that must always be exported.
16883 include_expsyms=$lt_include_expsyms_F77
16885 # ### END LIBTOOL TAG CONFIG: $tagname
16891 # If there is no Makefile yet, we rely on a make rule to execute
16892 # `config.status --recheck' to rerun these tests and create the
16893 # libtool script then.
16894 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16895 if test -f "$ltmain_in"; then
16896 test -f Makefile
&& make "$ltmain"
16902 ac_cpp
='$CPP $CPPFLAGS'
16903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16915 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16918 # Source file extension for Java test sources.
16921 # Object file extension for compiled Java test sources.
16925 # Code to be used in simple compile tests
16926 lt_simple_compile_test_code
="class foo {}"
16928 # Code to be used in simple link tests
16929 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16931 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16933 # If no C compiler was specified, use CC.
16936 # If no C compiler flags were specified, use CFLAGS.
16937 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16939 # Allow CC to be a program name with arguments.
16943 # save warnings/boilerplate of simple test code
16944 ac_outfile
=conftest.
$ac_objext
16945 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16946 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16947 _lt_compiler_boilerplate
=`cat conftest.err`
16950 ac_outfile
=conftest.
$ac_objext
16951 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16952 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16953 _lt_linker_boilerplate
=`cat conftest.err`
16957 # Allow CC to be a program name with arguments.
16962 for cc_temp
in $compiler""; do
16964 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16965 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16970 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16973 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16974 archive_cmds_need_lc_GCJ
=no
16976 old_archive_cmds_GCJ
=$old_archive_cmds
16979 lt_prog_compiler_no_builtin_flag_GCJ
=
16981 if test "$GCC" = yes; then
16982 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16985 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16986 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
16987 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16988 $as_echo_n "(cached) " >&6
16990 lt_cv_prog_compiler_rtti_exceptions
=no
16991 ac_outfile
=conftest.
$ac_objext
16992 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16993 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16994 # Insert the option either (1) after the last *FLAGS variable, or
16995 # (2) before a word containing "conftest.", or (3) at the end.
16996 # Note that $ac_compile itself does not contain backslashes and begins
16997 # with a dollar sign (not a hyphen), so the echo should work correctly.
16998 # The option is referenced via a variable to avoid confusing sed.
16999 lt_compile
=`echo "$ac_compile" | $SED \
17000 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17001 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17002 -e 's:$: $lt_compiler_flag:'`
17003 (eval echo "\"\$as_me:17003: $lt_compile\"" >&5)
17004 (eval "$lt_compile" 2>conftest.err
)
17006 cat conftest.err
>&5
17007 echo "$as_me:17007: \$? = $ac_status" >&5
17008 if (exit $ac_status) && test -s "$ac_outfile"; then
17009 # The compiler can only warn and ignore the option if not recognized
17010 # So say no if there are warnings other than the usual output.
17011 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17012 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17013 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17014 lt_cv_prog_compiler_rtti_exceptions
=yes
17020 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17021 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17023 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17024 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17031 lt_prog_compiler_wl_GCJ
=
17032 lt_prog_compiler_pic_GCJ
=
17033 lt_prog_compiler_static_GCJ
=
17035 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17036 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17038 if test "$GCC" = yes; then
17039 lt_prog_compiler_wl_GCJ
='-Wl,'
17040 lt_prog_compiler_static_GCJ
='-static'
17044 # All AIX code is PIC.
17045 if test "$host_cpu" = ia64
; then
17046 # AIX 5 now supports IA64 processor
17047 lt_prog_compiler_static_GCJ
='-Bstatic'
17052 # FIXME: we need at least 68020 code to build shared libraries, but
17053 # adding the `-m68020' flag to GCC prevents building anything better,
17055 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17058 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17059 # PIC is the default for these OSes.
17062 mingw
* | cygwin
* | pw32
* | os2
*)
17063 # This hack is so that the source file can tell whether it is being
17064 # built for inclusion in a dll (and should export symbols for example).
17065 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17066 # (--disable-auto-import) libraries
17070 darwin
* | rhapsody
*)
17071 # PIC is the default on this platform
17072 # Common symbols not allowed in MH_DYLIB files
17073 lt_prog_compiler_pic_GCJ
='-fno-common'
17077 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17078 # Instead, we relocate shared libraries at runtime.
17082 # Just because we use GCC doesn't mean we suddenly get shared libraries
17083 # on systems that don't support them.
17084 lt_prog_compiler_can_build_shared_GCJ
=no
17089 if test -d /usr
/nec
; then
17090 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17095 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17096 # not for PA HP-UX.
17102 lt_prog_compiler_pic_GCJ
='-fPIC'
17108 lt_prog_compiler_pic_GCJ
='-fPIC'
17112 # PORTME Check for flag to pass linker flags through the system compiler.
17115 lt_prog_compiler_wl_GCJ
='-Wl,'
17116 if test "$host_cpu" = ia64
; then
17117 # AIX 5 now supports IA64 processor
17118 lt_prog_compiler_static_GCJ
='-Bstatic'
17120 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17124 # PIC is the default on this platform
17125 # Common symbols not allowed in MH_DYLIB files
17126 case $cc_basename in
17128 lt_prog_compiler_pic_GCJ
='-qnocommon'
17129 lt_prog_compiler_wl_GCJ
='-Wl,'
17134 mingw
* | cygwin
* | pw32
* | os2
*)
17135 # This hack is so that the source file can tell whether it is being
17136 # built for inclusion in a dll (and should export symbols for example).
17140 hpux9
* | hpux10
* | hpux11
*)
17141 lt_prog_compiler_wl_GCJ
='-Wl,'
17142 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17143 # not for PA HP-UX.
17149 lt_prog_compiler_pic_GCJ
='+Z'
17152 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17153 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17156 irix5
* | irix6
* | nonstopux
*)
17157 lt_prog_compiler_wl_GCJ
='-Wl,'
17158 # PIC (with -KPIC) is the default.
17159 lt_prog_compiler_static_GCJ
='-non_shared'
17163 lt_prog_compiler_pic_GCJ
='-KPIC'
17164 lt_prog_compiler_static_GCJ
='-Bstatic'
17167 linux
* | k
*bsd
*-gnu)
17168 case $cc_basename in
17170 lt_prog_compiler_wl_GCJ
='-Wl,'
17171 lt_prog_compiler_pic_GCJ
='-KPIC'
17172 lt_prog_compiler_static_GCJ
='-static'
17174 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17175 # Portland Group compilers (*not* the Pentium gcc compiler,
17176 # which looks to be a dead project)
17177 lt_prog_compiler_wl_GCJ
='-Wl,'
17178 lt_prog_compiler_pic_GCJ
='-fpic'
17179 lt_prog_compiler_static_GCJ
='-Bstatic'
17182 lt_prog_compiler_wl_GCJ
='-Wl,'
17183 # All Alpha code is PIC.
17184 lt_prog_compiler_static_GCJ
='-non_shared'
17187 case `$CC -V 2>&1 | sed 5q` in
17190 lt_prog_compiler_pic_GCJ
='-KPIC'
17191 lt_prog_compiler_static_GCJ
='-Bstatic'
17192 lt_prog_compiler_wl_GCJ
='-Wl,'
17195 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17196 lt_prog_compiler_pic_GCJ
='-KPIC'
17197 lt_prog_compiler_static_GCJ
='-Bstatic'
17198 lt_prog_compiler_wl_GCJ
=''
17205 osf3
* | osf4
* | osf5
*)
17206 lt_prog_compiler_wl_GCJ
='-Wl,'
17207 # All OSF/1 code is PIC.
17208 lt_prog_compiler_static_GCJ
='-non_shared'
17212 lt_prog_compiler_static_GCJ
='-non_shared'
17216 lt_prog_compiler_pic_GCJ
='-KPIC'
17217 lt_prog_compiler_static_GCJ
='-Bstatic'
17218 case $cc_basename in
17219 f77
* | f90
* | f95
*)
17220 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17222 lt_prog_compiler_wl_GCJ
='-Wl,';;
17227 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17228 lt_prog_compiler_pic_GCJ
='-PIC'
17229 lt_prog_compiler_static_GCJ
='-Bstatic'
17232 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17233 lt_prog_compiler_wl_GCJ
='-Wl,'
17234 lt_prog_compiler_pic_GCJ
='-KPIC'
17235 lt_prog_compiler_static_GCJ
='-Bstatic'
17239 if test -d /usr
/nec
;then
17240 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17241 lt_prog_compiler_static_GCJ
='-Bstatic'
17245 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17246 lt_prog_compiler_wl_GCJ
='-Wl,'
17247 lt_prog_compiler_pic_GCJ
='-KPIC'
17248 lt_prog_compiler_static_GCJ
='-Bstatic'
17252 lt_prog_compiler_wl_GCJ
='-Wl,'
17253 lt_prog_compiler_can_build_shared_GCJ
=no
17257 lt_prog_compiler_pic_GCJ
='-pic'
17258 lt_prog_compiler_static_GCJ
='-Bstatic'
17262 lt_prog_compiler_can_build_shared_GCJ
=no
17267 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17268 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17271 # Check to make sure the PIC flag actually works.
17273 if test -n "$lt_prog_compiler_pic_GCJ"; then
17275 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17276 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17277 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17278 $as_echo_n "(cached) " >&6
17280 lt_cv_prog_compiler_pic_works_GCJ
=no
17281 ac_outfile
=conftest.
$ac_objext
17282 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17283 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17284 # Insert the option either (1) after the last *FLAGS variable, or
17285 # (2) before a word containing "conftest.", or (3) at the end.
17286 # Note that $ac_compile itself does not contain backslashes and begins
17287 # with a dollar sign (not a hyphen), so the echo should work correctly.
17288 # The option is referenced via a variable to avoid confusing sed.
17289 lt_compile
=`echo "$ac_compile" | $SED \
17290 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17291 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17292 -e 's:$: $lt_compiler_flag:'`
17293 (eval echo "\"\$as_me:17293: $lt_compile\"" >&5)
17294 (eval "$lt_compile" 2>conftest.err
)
17296 cat conftest.err
>&5
17297 echo "$as_me:17297: \$? = $ac_status" >&5
17298 if (exit $ac_status) && test -s "$ac_outfile"; then
17299 # The compiler can only warn and ignore the option if not recognized
17300 # So say no if there are warnings other than the usual output.
17301 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17302 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17303 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17304 lt_cv_prog_compiler_pic_works_GCJ
=yes
17310 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17311 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17313 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17314 case $lt_prog_compiler_pic_GCJ in
17316 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17319 lt_prog_compiler_pic_GCJ
=
17320 lt_prog_compiler_can_build_shared_GCJ
=no
17325 # For platforms which do not support PIC, -DPIC is meaningless:
17327 lt_prog_compiler_pic_GCJ
=
17330 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17335 # Check to make sure the static flag actually works.
17337 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17338 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17339 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17340 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17341 $as_echo_n "(cached) " >&6
17343 lt_cv_prog_compiler_static_works_GCJ
=no
17344 save_LDFLAGS
="$LDFLAGS"
17345 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17346 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17347 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17348 # The linker can only warn and ignore the option if not recognized
17349 # So say no if there are warnings
17350 if test -s conftest.err
; then
17351 # Append any errors to the config.log.
17352 cat conftest.err
1>&5
17353 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17354 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17355 if diff conftest.exp conftest.er2
>/dev
/null
; then
17356 lt_cv_prog_compiler_static_works_GCJ
=yes
17359 lt_cv_prog_compiler_static_works_GCJ
=yes
17363 LDFLAGS
="$save_LDFLAGS"
17366 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17367 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17369 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17372 lt_prog_compiler_static_GCJ
=
17376 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17377 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17378 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17379 $as_echo_n "(cached) " >&6
17381 lt_cv_prog_compiler_c_o_GCJ
=no
17382 $rm -r conftest
2>/dev
/null
17386 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17388 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17389 # Insert the option either (1) after the last *FLAGS variable, or
17390 # (2) before a word containing "conftest.", or (3) at the end.
17391 # Note that $ac_compile itself does not contain backslashes and begins
17392 # with a dollar sign (not a hyphen), so the echo should work correctly.
17393 lt_compile
=`echo "$ac_compile" | $SED \
17394 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17395 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17396 -e 's:$: $lt_compiler_flag:'`
17397 (eval echo "\"\$as_me:17397: $lt_compile\"" >&5)
17398 (eval "$lt_compile" 2>out
/conftest.err
)
17400 cat out
/conftest.err
>&5
17401 echo "$as_me:17401: \$? = $ac_status" >&5
17402 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17404 # The compiler can only warn and ignore the option if not recognized
17405 # So say no if there are warnings
17406 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17407 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17408 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17409 lt_cv_prog_compiler_c_o_GCJ
=yes
17414 # SGI C++ compiler will create directory out/ii_files/ for
17415 # template instantiation
17416 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17417 $rm out
/* && rmdir out
17423 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17424 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17427 hard_links
="nottested"
17428 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17429 # do not overwrite the value of need_locks provided by the user
17430 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17431 $as_echo_n "checking if we can lock with hard links... " >&6; }
17434 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17436 ln conftest.a conftest.b
2>&5 || hard_links
=no
17437 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17438 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17439 $as_echo "$hard_links" >&6; }
17440 if test "$hard_links" = no
; then
17441 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17442 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17449 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17450 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17453 allow_undefined_flag_GCJ
=
17454 enable_shared_with_static_runtimes_GCJ
=no
17456 archive_expsym_cmds_GCJ
=
17457 old_archive_From_new_cmds_GCJ
=
17458 old_archive_from_expsyms_cmds_GCJ
=
17459 export_dynamic_flag_spec_GCJ
=
17460 whole_archive_flag_spec_GCJ
=
17461 thread_safe_flag_spec_GCJ
=
17462 hardcode_libdir_flag_spec_GCJ
=
17463 hardcode_libdir_flag_spec_ld_GCJ
=
17464 hardcode_libdir_separator_GCJ
=
17465 hardcode_direct_GCJ
=no
17466 hardcode_minus_L_GCJ
=no
17467 hardcode_shlibpath_var_GCJ
=unsupported
17468 link_all_deplibs_GCJ
=unknown
17469 hardcode_automatic_GCJ
=no
17471 module_expsym_cmds_GCJ
=
17472 always_export_symbols_GCJ
=no
17473 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17474 # include_expsyms should be a list of space-separated symbols to be *always*
17475 # included in the symbol list
17476 include_expsyms_GCJ
=
17477 # exclude_expsyms can be an extended regexp of symbols to exclude
17478 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17479 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17480 # as well as any symbol that contains `d'.
17481 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17482 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17483 # platforms (ab)use it in PIC code, but their linkers get confused if
17484 # the symbol is explicitly referenced. Since portable code cannot
17485 # rely on this symbol name, it's probably fine to never include it in
17486 # preloaded symbol tables.
17487 # Exclude shared library initialization/finalization symbols.
17488 extract_expsyms_cmds
=
17489 # Just being paranoid about ensuring that cc_basename is set.
17490 for cc_temp
in $compiler""; do
17492 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17493 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17498 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17501 cygwin
* | mingw
* | pw32
*)
17502 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17503 # When not using gcc, we currently assume that we are using
17504 # Microsoft Visual C++.
17505 if test "$GCC" != yes; then
17510 # we just hope/assume this is gcc and not c89 (= MSVC++)
17519 if test "$with_gnu_ld" = yes; then
17520 # If archive_cmds runs LD, not CC, wlarc should be empty
17523 # Set some defaults for GNU ld with shared library support. These
17524 # are reset later if shared libraries are not supported. Putting them
17525 # here allows them to be overridden if necessary.
17526 runpath_var
=LD_RUN_PATH
17527 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17528 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17529 # ancient GNU ld didn't support --whole-archive et. al.
17530 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17531 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17533 whole_archive_flag_spec_GCJ
=
17535 supports_anon_versioning
=no
17536 case `$LD -v 2>/dev/null` in
17537 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17538 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17539 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17540 *\
2.11.
*) ;; # other 2.11 versions
17541 *) supports_anon_versioning
=yes ;;
17544 # See if GNU ld supports shared libraries.
17547 # On AIX/PPC, the GNU linker is very broken
17548 if test "$host_cpu" != ia64
; then
17552 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17553 *** to be unable to reliably create shared libraries on AIX.
17554 *** Therefore, libtool is disabling shared libraries support. If you
17555 *** really care for shared libraries, you may want to modify your PATH
17556 *** so that a non-GNU linker is found, and then restart.
17563 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)'
17564 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17565 hardcode_minus_L_GCJ
=yes
17567 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17568 # that the semantics of dynamic libraries on AmigaOS, at least up
17569 # to version 4, is to share data among multiple programs linked
17570 # with the same dynamic library. Since this doesn't match the
17571 # behavior of shared libraries on other platforms, we can't use
17577 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17578 allow_undefined_flag_GCJ
=unsupported
17579 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17580 # support --undefined. This deserves some investigation. FIXME
17581 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17587 cygwin
* | mingw
* | pw32
*)
17588 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17589 # as there is no search path for DLLs.
17590 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17591 allow_undefined_flag_GCJ
=unsupported
17592 always_export_symbols_GCJ
=no
17593 enable_shared_with_static_runtimes_GCJ
=yes
17594 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17596 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17597 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17598 # If the export-symbols file already is a .def file (1st line
17599 # is EXPORTS), use it as is; otherwise, prepend...
17600 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17601 cp $export_symbols $output_objdir/$soname.def;
17603 echo EXPORTS > $output_objdir/$soname.def;
17604 cat $export_symbols >> $output_objdir/$soname.def;
17606 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17613 hardcode_direct_GCJ
=no
17614 hardcode_shlibpath_var_GCJ
=no
17615 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17616 export_dynamic_flag_spec_GCJ
='${wl}-E'
17617 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17618 # Instead, shared libraries are loaded at an image base (0x10000000 by
17619 # default) and relocated if they conflict, which is a slow very memory
17620 # consuming and fragmenting process. To avoid this, we pick a random,
17621 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17622 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17623 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'
17624 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'
17627 gnu
* | linux
* | k
*bsd
*-gnu)
17628 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17630 case $cc_basename,$host_cpu in
17631 pgcc
*) # Portland Group C compiler
17632 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'
17633 tmp_addflag
=' $pic_flag'
17635 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17636 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'
17637 tmp_addflag
=' $pic_flag -Mnomain' ;;
17638 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17639 tmp_addflag
=' -i_dynamic' ;;
17640 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17641 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17642 ifc
* | ifort
*) # Intel Fortran compiler
17643 tmp_addflag
=' -nofor_main' ;;
17645 case `$CC -V 2>&1 | sed 5q` in
17646 *Sun\ C
*) # Sun C 5.9
17647 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17648 tmp_sharedflag
='-G' ;;
17649 *Sun\ F
*) # Sun Fortran 8.3
17650 tmp_sharedflag
='-G' ;;
17652 tmp_sharedflag
='-shared' ;;
17654 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17656 if test $supports_anon_versioning = yes; then
17657 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17658 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17659 $echo "local: *; };" >> $output_objdir/$libname.ver~
17660 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17668 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17669 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17672 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17673 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17678 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17682 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17683 *** create shared libraries on Solaris systems. Therefore, libtool
17684 *** is disabling shared libraries support. We urge you to upgrade GNU
17685 *** binutils to release 2.9.1 or newer. Another option is to modify
17686 *** your PATH or compiler configuration so that the native linker is
17687 *** used, and then restart.
17690 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17691 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17692 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17698 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17699 case `$LD -v 2>&1` in
17700 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17704 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17705 *** reliably create shared libraries on SCO systems. Therefore, libtool
17706 *** is disabling shared libraries support. We urge you to upgrade GNU
17707 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17708 *** your PATH or compiler configuration so that the native linker is
17709 *** used, and then restart.
17714 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17715 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17716 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17717 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17726 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17728 hardcode_direct_GCJ
=yes
17729 hardcode_shlibpath_var_GCJ
=no
17733 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17734 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17735 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17742 if test "$ld_shlibs_GCJ" = no
; then
17744 hardcode_libdir_flag_spec_GCJ
=
17745 export_dynamic_flag_spec_GCJ
=
17746 whole_archive_flag_spec_GCJ
=
17749 # PORTME fill in a description of your system's linker (not GNU ld)
17752 allow_undefined_flag_GCJ
=unsupported
17753 always_export_symbols_GCJ
=yes
17754 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'
17755 # Note: this linker hardcodes the directories in LIBPATH if there
17756 # are no directories specified by -L.
17757 hardcode_minus_L_GCJ
=yes
17758 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17759 # Neither direct hardcoding nor static linking is supported with a
17761 hardcode_direct_GCJ
=unsupported
17766 if test "$host_cpu" = ia64
; then
17767 # On IA64, the linker does run time linking by default, so we don't
17768 # have to do anything special.
17769 aix_use_runtimelinking
=no
17770 exp_sym_flag
='-Bexport'
17773 # If we're using GNU nm, then we don't want the "-C" option.
17774 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17775 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17776 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'
17778 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'
17780 aix_use_runtimelinking
=no
17782 # Test if we are trying to use run time linking or normal
17783 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17784 # need to do runtime linking.
17785 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17786 for ld_flag
in $LDFLAGS; do
17787 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17788 aix_use_runtimelinking
=yes
17795 exp_sym_flag
='-bexport'
17796 no_entry_flag
='-bnoentry'
17799 # When large executables or shared objects are built, AIX ld can
17800 # have problems creating the table of contents. If linking a library
17801 # or program results in "error TOC overflow" add -mminimal-toc to
17802 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17803 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17805 archive_cmds_GCJ
=''
17806 hardcode_direct_GCJ
=yes
17807 hardcode_libdir_separator_GCJ
=':'
17808 link_all_deplibs_GCJ
=yes
17810 if test "$GCC" = yes; then
17811 case $host_os in aix4.
[012]|aix4.
[012].
*)
17812 # We only want to do this on AIX 4.2 and lower, the check
17813 # below for broken collect2 doesn't work under 4.3+
17814 collect2name
=`${CC} -print-prog-name=collect2`
17815 if test -f "$collect2name" && \
17816 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17818 # We have reworked collect2
17821 # We have old collect2
17822 hardcode_direct_GCJ
=unsupported
17823 # It fails to find uninstalled libraries when the uninstalled
17824 # path is not listed in the libpath. Setting hardcode_minus_L
17825 # to unsupported forces relinking
17826 hardcode_minus_L_GCJ
=yes
17827 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17828 hardcode_libdir_separator_GCJ
=
17832 shared_flag
='-shared'
17833 if test "$aix_use_runtimelinking" = yes; then
17834 shared_flag
="$shared_flag "'${wl}-G'
17838 if test "$host_cpu" = ia64
; then
17839 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17840 # chokes on -Wl,-G. The following line is correct:
17843 if test "$aix_use_runtimelinking" = yes; then
17844 shared_flag
='${wl}-G'
17846 shared_flag
='${wl}-bM:SRE'
17851 # It seems that -bexpall does not export symbols beginning with
17852 # underscore (_), so it is better to generate a list of symbols to export.
17853 always_export_symbols_GCJ
=yes
17854 if test "$aix_use_runtimelinking" = yes; then
17855 # Warning - without using the other runtime loading flags (-brtl),
17856 # -berok will link without error, but may produce a broken library.
17857 allow_undefined_flag_GCJ
='-berok'
17858 # Determine the default libpath from the value encoded in an empty executable.
17859 cat >conftest.
$ac_ext <<_ACEOF
17862 cat confdefs.h
>>conftest.
$ac_ext
17863 cat >>conftest.
$ac_ext <<_ACEOF
17864 /* end confdefs.h. */
17874 rm -f conftest.
$ac_objext conftest
$ac_exeext
17875 if { (ac_try
="$ac_link"
17876 case "(($ac_try" in
17877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17878 *) ac_try_echo=$ac_try;;
17880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17881 $as_echo "$ac_try_echo") >&5
17882 (eval "$ac_link") 2>conftest.er1
17884 grep -v '^ *+' conftest.er1 >conftest.err
17886 cat conftest.err >&5
17887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } && {
17889 test -z "$ac_c_werror_flag" ||
17890 test ! -s conftest.err
17891 } && test -s conftest$ac_exeext && {
17892 test "$cross_compiling" = yes ||
17893 $as_test_x conftest$ac_exeext
17896 lt_aix_libpath_sed='
17897 /Import File Strings/,/^$/ {
17903 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17904 # Check for a 64-bit object if we didn't find anything.
17905 if test -z "$aix_libpath"; then
17906 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17909 $as_echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.$ac_ext >&5
17915 rm -rf conftest.dSYM
17916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17917 conftest$ac_exeext conftest.$ac_ext
17918 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17920 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17921 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"
17923 if test "$host_cpu" = ia64; then
17924 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17925 allow_undefined_flag_GCJ="-z nodefs"
17926 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"
17928 # Determine the default libpath from the value encoded in an empty executable.
17929 cat >conftest.$ac_ext <<_ACEOF
17932 cat confdefs.h >>conftest.$ac_ext
17933 cat >>conftest.$ac_ext <<_ACEOF
17934 /* end confdefs.h. */
17944 rm -f conftest.$ac_objext conftest$ac_exeext
17945 if { (ac_try="$ac_link"
17946 case "(($ac_try" in
17947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17948 *) ac_try_echo
=$ac_try;;
17950 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17951 $as_echo "$ac_try_echo") >&5
17952 (eval "$ac_link") 2>conftest.er1
17954 grep -v '^ *+' conftest.er1
>conftest.err
17956 cat conftest.err
>&5
17957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); } && {
17959 test -z "$ac_c_werror_flag" ||
17960 test ! -s conftest.err
17961 } && test -s conftest
$ac_exeext && {
17962 test "$cross_compiling" = yes ||
17963 $as_test_x conftest
$ac_exeext
17966 lt_aix_libpath_sed
='
17967 /Import File Strings/,/^$/ {
17973 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17974 # Check for a 64-bit object if we didn't find anything.
17975 if test -z "$aix_libpath"; then
17976 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17979 $as_echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.
$ac_ext >&5
17985 rm -rf conftest.dSYM
17986 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17987 conftest
$ac_exeext conftest.
$ac_ext
17988 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17990 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17991 # Warning - without using the other run time loading flags,
17992 # -berok will link without error, but may produce a broken library.
17993 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17994 allow_undefined_flag_GCJ
=' ${wl}-berok'
17995 # Exported symbols can be pulled into shared objects from archives
17996 whole_archive_flag_spec_GCJ
='$convenience'
17997 archive_cmds_need_lc_GCJ
=yes
17998 # This is similar to how AIX traditionally builds its shared libraries.
17999 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'
18005 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)'
18006 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18007 hardcode_minus_L_GCJ
=yes
18008 # see comment about different semantics on the GNU ld section
18013 export_dynamic_flag_spec_GCJ
=-rdynamic
18016 cygwin
* | mingw
* | pw32
*)
18017 # When not using gcc, we currently assume that we are using
18018 # Microsoft Visual C++.
18019 # hardcode_libdir_flag_spec is actually meaningless, as there is
18020 # no search path for DLLs.
18021 hardcode_libdir_flag_spec_GCJ
=' '
18022 allow_undefined_flag_GCJ
=unsupported
18023 # Tell ltmain to make .lib files, not .a files.
18025 # Tell ltmain to make .dll files, not .so files.
18027 # FIXME: Setting linknames here is a bad hack.
18028 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18029 # The linker will automatically build a .lib file if we build a DLL.
18030 old_archive_From_new_cmds_GCJ
='true'
18031 # FIXME: Should let the user specify the lib program.
18032 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18033 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18034 enable_shared_with_static_runtimes_GCJ
=yes
18037 darwin
* | rhapsody
*)
18039 rhapsody
* | darwin1.
[012])
18040 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18043 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18044 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18046 case ${MACOSX_DEPLOYMENT_TARGET} in
18048 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18051 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18057 archive_cmds_need_lc_GCJ
=no
18058 hardcode_direct_GCJ
=no
18059 hardcode_automatic_GCJ
=yes
18060 hardcode_shlibpath_var_GCJ
=unsupported
18061 whole_archive_flag_spec_GCJ
=''
18062 link_all_deplibs_GCJ
=yes
18063 if test "$GCC" = yes ; then
18064 output_verbose_link_cmd
='echo'
18065 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18066 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18067 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18068 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18070 case $cc_basename in
18072 output_verbose_link_cmd
='echo'
18073 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18074 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18075 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18076 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18077 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}'
18087 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18088 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18089 hardcode_shlibpath_var_GCJ
=no
18096 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18097 # support. Future versions do this automatically, but an explicit c++rt0.o
18098 # does not break anything, and helps significantly (at the cost of a little
18101 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18102 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18103 hardcode_direct_GCJ
=yes
18104 hardcode_shlibpath_var_GCJ
=no
18107 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18109 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18110 hardcode_direct_GCJ
=yes
18111 hardcode_minus_L_GCJ
=yes
18112 hardcode_shlibpath_var_GCJ
=no
18115 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18116 freebsd
* | dragonfly
*)
18117 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18118 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18119 hardcode_direct_GCJ
=yes
18120 hardcode_shlibpath_var_GCJ
=no
18124 if test "$GCC" = yes; then
18125 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'
18127 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'
18129 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18130 hardcode_libdir_separator_GCJ
=:
18131 hardcode_direct_GCJ
=yes
18133 # hardcode_minus_L: Not really in the search PATH,
18134 # but as the default location of the library.
18135 hardcode_minus_L_GCJ
=yes
18136 export_dynamic_flag_spec_GCJ
='${wl}-E'
18140 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18141 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18143 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18145 if test "$with_gnu_ld" = no
; then
18146 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18147 hardcode_libdir_separator_GCJ
=:
18149 hardcode_direct_GCJ
=yes
18150 export_dynamic_flag_spec_GCJ
='${wl}-E'
18152 # hardcode_minus_L: Not really in the search PATH,
18153 # but as the default location of the library.
18154 hardcode_minus_L_GCJ
=yes
18159 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18162 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18165 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18168 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18174 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18177 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18180 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18184 if test "$with_gnu_ld" = no
; then
18185 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18186 hardcode_libdir_separator_GCJ
=:
18190 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18191 hardcode_direct_GCJ
=no
18192 hardcode_shlibpath_var_GCJ
=no
18195 hardcode_direct_GCJ
=yes
18196 export_dynamic_flag_spec_GCJ
='${wl}-E'
18198 # hardcode_minus_L: Not really in the search PATH,
18199 # but as the default location of the library.
18200 hardcode_minus_L_GCJ
=yes
18206 irix5
* | irix6
* | nonstopux
*)
18207 if test "$GCC" = yes; then
18208 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'
18210 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'
18211 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18213 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18214 hardcode_libdir_separator_GCJ
=:
18215 link_all_deplibs_GCJ
=yes
18219 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18220 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18222 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18224 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18225 hardcode_direct_GCJ
=yes
18226 hardcode_shlibpath_var_GCJ
=no
18230 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18231 hardcode_direct_GCJ
=yes
18232 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18233 hardcode_libdir_separator_GCJ
=:
18234 hardcode_shlibpath_var_GCJ
=no
18238 if test -f /usr
/libexec
/ld.so
; then
18239 hardcode_direct_GCJ
=yes
18240 hardcode_shlibpath_var_GCJ
=no
18241 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18242 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18243 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18244 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18245 export_dynamic_flag_spec_GCJ
='${wl}-E'
18248 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18249 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18250 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18253 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18254 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18264 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18265 hardcode_minus_L_GCJ
=yes
18266 allow_undefined_flag_GCJ
=unsupported
18267 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'
18268 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18272 if test "$GCC" = yes; then
18273 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18274 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'
18276 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18277 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'
18279 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18280 hardcode_libdir_separator_GCJ
=:
18283 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18284 if test "$GCC" = yes; then
18285 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18286 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'
18287 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18289 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18290 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'
18291 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~
18292 $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'
18294 # Both c and cxx compiler support -rpath directly
18295 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18297 hardcode_libdir_separator_GCJ
=:
18301 no_undefined_flag_GCJ
=' -z text'
18302 if test "$GCC" = yes; then
18304 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18305 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18306 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18309 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18310 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18311 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18313 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18314 hardcode_shlibpath_var_GCJ
=no
18316 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18318 # The compiler driver will combine and reorder linker options,
18319 # but understands `-z linker_flag'. GCC discards it without `$wl',
18320 # but is careful enough not to reorder.
18321 # Supported since Solaris 2.6 (maybe 2.5.1?)
18322 if test "$GCC" = yes; then
18323 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18325 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18329 link_all_deplibs_GCJ
=yes
18333 if test "x$host_vendor" = xsequent
; then
18334 # Use $CC to link under sequent, because it throws in some extra .o
18335 # files that make .init and .fini sections work.
18336 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18338 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18340 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18341 hardcode_direct_GCJ
=yes
18342 hardcode_minus_L_GCJ
=yes
18343 hardcode_shlibpath_var_GCJ
=no
18347 case $host_vendor in
18349 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18350 hardcode_direct_GCJ
=yes # is this really true???
18353 ## LD is ld it makes a PLAMLIB
18354 ## CC just makes a GrossModule.
18355 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18356 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18357 hardcode_direct_GCJ
=no
18360 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18361 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18364 runpath_var
='LD_RUN_PATH'
18365 hardcode_shlibpath_var_GCJ
=no
18369 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18370 hardcode_shlibpath_var_GCJ
=no
18371 export_dynamic_flag_spec_GCJ
='-Bexport'
18375 if test -d /usr
/nec
; then
18376 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18377 hardcode_shlibpath_var_GCJ
=no
18378 runpath_var
=LD_RUN_PATH
18379 hardcode_runpath_var
=yes
18384 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18385 no_undefined_flag_GCJ
='${wl}-z,text'
18386 archive_cmds_need_lc_GCJ
=no
18387 hardcode_shlibpath_var_GCJ
=no
18388 runpath_var
='LD_RUN_PATH'
18390 if test "$GCC" = yes; then
18391 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18392 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18394 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18395 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18399 sysv5
* | sco3.2v5
* | sco5v6
*)
18400 # Note: We can NOT use -z defs as we might desire, because we do not
18401 # link with -lc, and that would cause any symbols used from libc to
18402 # always be unresolved, which means just about no library would
18403 # ever link correctly. If we're not using GNU ld we use -z text
18404 # though, which does catch some bad symbols but isn't as heavy-handed
18406 no_undefined_flag_GCJ
='${wl}-z,text'
18407 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18408 archive_cmds_need_lc_GCJ
=no
18409 hardcode_shlibpath_var_GCJ
=no
18410 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18411 hardcode_libdir_separator_GCJ
=':'
18412 link_all_deplibs_GCJ
=yes
18413 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18414 runpath_var
='LD_RUN_PATH'
18416 if test "$GCC" = yes; then
18417 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18418 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18420 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18421 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18426 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18427 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18428 hardcode_shlibpath_var_GCJ
=no
18437 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18438 $as_echo "$ld_shlibs_GCJ" >&6; }
18439 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18442 # Do we need to explicitly link libc?
18444 case "x$archive_cmds_need_lc_GCJ" in
18446 # Assume -lc should be added
18447 archive_cmds_need_lc_GCJ
=yes
18449 if test "$enable_shared" = yes && test "$GCC" = yes; then
18450 case $archive_cmds_GCJ in
18452 # FIXME: we may have to deal with multi-command sequences.
18455 # Test whether the compiler implicitly links with -lc since on some
18456 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18457 # to ld, don't add -lc before -lgcc.
18458 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18459 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18461 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18464 (eval $ac_compile) 2>&5
18466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } 2>conftest.err
; then
18470 libobjs
=conftest.
$ac_objext
18472 wl
=$lt_prog_compiler_wl_GCJ
18473 pic_flag
=$lt_prog_compiler_pic_GCJ
18479 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18480 allow_undefined_flag_GCJ
=
18481 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18482 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }
18487 archive_cmds_need_lc_GCJ
=no
18489 archive_cmds_need_lc_GCJ
=yes
18491 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18493 cat conftest.err
1>&5
18496 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18497 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
18504 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18505 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18506 library_names_spec
=
18507 libname_spec
='lib$name'
18511 postuninstall_cmds
=
18515 shlibpath_overrides_runpath
=unknown
18517 dynamic_linker
="$host_os ld.so"
18518 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18520 need_lib_prefix
=unknown
18521 hardcode_into_libs
=no
18523 # when you set need_version to no, make sure it does not cause -set_version
18524 # flags to be left without arguments
18525 need_version
=unknown
18530 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18531 shlibpath_var
=LIBPATH
18533 # AIX 3 has no versioning support, so we append a major version to the name.
18534 soname_spec
='${libname}${release}${shared_ext}$major'
18541 hardcode_into_libs
=yes
18542 if test "$host_cpu" = ia64
; then
18543 # AIX 5 supports IA64
18544 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18545 shlibpath_var
=LD_LIBRARY_PATH
18547 # With GCC up to 2.95.x, collect2 would create an import file
18548 # for dependence libraries. The import file would start with
18549 # the line `#! .'. This would cause the generated library to
18550 # depend on `.', always an invalid library. This was fixed in
18551 # development snapshots of GCC prior to 3.0.
18553 aix4 | aix4.
[01] | aix4.
[01].
*)
18554 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18556 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18559 can_build_shared
=no
18563 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18564 # soname into executable. Probably we can add versioning support to
18565 # collect2, so additional links can be useful in future.
18566 if test "$aix_use_runtimelinking" = yes; then
18567 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18568 # instead of lib<name>.a to let people know that these are not
18569 # typical AIX shared libraries.
18570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18572 # We preserve .a as extension for shared libraries through AIX4.2
18573 # and later when we are not doing run time linking.
18574 library_names_spec
='${libname}${release}.a $libname.a'
18575 soname_spec
='${libname}${release}${shared_ext}$major'
18577 shlibpath_var
=LIBPATH
18582 library_names_spec
='$libname.ixlibrary $libname.a'
18583 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18584 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'
18588 library_names_spec
='${libname}${shared_ext}'
18589 dynamic_linker
="$host_os ld.so"
18590 shlibpath_var
=LIBRARY_PATH
18596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18597 soname_spec
='${libname}${release}${shared_ext}$major'
18598 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18599 shlibpath_var
=LD_LIBRARY_PATH
18600 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18601 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18602 # the default ld.so.conf also contains /usr/contrib/lib and
18603 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18604 # libtool to hard-code these into programs
18607 cygwin
* | mingw
* | pw32
*)
18608 version_type
=windows
18613 case $GCC,$host_os in
18614 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18615 library_names_spec
='$libname.dll.a'
18616 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18617 postinstall_cmds
='base_file=`basename \${file}`~
18618 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18619 dldir=$destdir/`dirname \$dlpath`~
18620 test -d \$dldir || mkdir -p \$dldir~
18621 $install_prog $dir/$dlname \$dldir/$dlname~
18622 chmod a+x \$dldir/$dlname'
18623 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18624 dlpath=$dir/\$dldll~
18626 shlibpath_overrides_runpath
=yes
18630 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18631 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18632 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18635 # MinGW DLLs use traditional 'lib' prefix
18636 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18637 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18638 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18639 # It is most probably a Windows format PATH printed by
18640 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18641 # path with ; separators, and with drive letters. We can handle the
18642 # drive letters (cygwin fileutils understands them), so leave them,
18643 # especially as we might pass files found there to a mingw objdump,
18644 # which wouldn't understand a cygwinified path. Ahh.
18645 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18647 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18651 # pw32 DLLs use 'pw' prefix rather than 'lib'
18652 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18658 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18661 dynamic_linker
='Win32 ld.exe'
18662 # FIXME: first we should search . and the directory the executable is in
18666 darwin
* | rhapsody
*)
18667 dynamic_linker
="$host_os dyld"
18668 version_type
=darwin
18671 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18672 soname_spec
='${libname}${release}${major}$shared_ext'
18673 shlibpath_overrides_runpath
=yes
18674 shlibpath_var
=DYLD_LIBRARY_PATH
18675 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18677 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18685 soname_spec
='${libname}${release}${shared_ext}$major'
18686 shlibpath_var
=LD_LIBRARY_PATH
18693 freebsd
* | dragonfly
*)
18694 # DragonFly does not have aout. When/if they implement a new
18695 # versioning mechanism, adjust this.
18696 if test -x /usr
/bin
/objformat
; then
18697 objformat
=`/usr/bin/objformat`
18700 freebsd
[123]*) objformat
=aout
;;
18701 *) objformat
=elf
;;
18704 # Handle Gentoo/FreeBSD as it was Linux
18705 case $host_vendor in
18707 version_type
=linux
;;
18709 version_type
=freebsd-
$objformat ;;
18712 case $version_type in
18714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18719 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18724 soname_spec
='${libname}${release}${shared_ext}$major'
18729 shlibpath_var
=LD_LIBRARY_PATH
18732 shlibpath_overrides_runpath
=yes
18734 freebsd3.
[01]* | freebsdelf3.
[01]*)
18735 shlibpath_overrides_runpath
=yes
18736 hardcode_into_libs
=yes
18738 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18739 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18740 shlibpath_overrides_runpath
=no
18741 hardcode_into_libs
=yes
18743 *) # from 4.6 on, and DragonFly
18744 shlibpath_overrides_runpath
=yes
18745 hardcode_into_libs
=yes
18754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18755 soname_spec
='${libname}${release}${shared_ext}$major'
18756 shlibpath_var
=LD_LIBRARY_PATH
18757 hardcode_into_libs
=yes
18760 hpux9
* | hpux10
* | hpux11
*)
18761 # Give a soname corresponding to the major version so that dld.sl refuses to
18762 # link against other versions.
18769 hardcode_into_libs
=yes
18770 dynamic_linker
="$host_os dld.so"
18771 shlibpath_var
=LD_LIBRARY_PATH
18772 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18774 soname_spec
='${libname}${release}${shared_ext}$major'
18775 if test "X$HPUX_IA64_MODE" = X32
; then
18776 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18778 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18780 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18784 hardcode_into_libs
=yes
18785 dynamic_linker
="$host_os dld.sl"
18786 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18787 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18789 soname_spec
='${libname}${release}${shared_ext}$major'
18790 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18791 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18795 dynamic_linker
="$host_os dld.sl"
18796 shlibpath_var
=SHLIB_PATH
18797 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18799 soname_spec
='${libname}${release}${shared_ext}$major'
18802 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18803 postinstall_cmds
='chmod 555 $lib'
18810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18811 soname_spec
='${libname}${release}${shared_ext}$major'
18812 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18813 shlibpath_var
=LD_LIBRARY_PATH
18814 shlibpath_overrides_runpath
=no
18815 hardcode_into_libs
=yes
18818 irix5
* | irix6
* | nonstopux
*)
18820 nonstopux
*) version_type
=nonstopux
;;
18822 if test "$lt_cv_prog_gnu_ld" = yes; then
18830 soname_spec
='${libname}${release}${shared_ext}$major'
18831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18833 irix5
* | nonstopux
*)
18834 libsuff
= shlibsuff
=
18837 case $LD in # libtool.m4 will add one of these switches to LD
18838 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18839 libsuff
= shlibsuff
= libmagic
=32-bit;;
18840 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18841 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18842 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18843 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18844 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18848 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18849 shlibpath_overrides_runpath
=no
18850 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18851 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18852 hardcode_into_libs
=yes
18855 # No shared lib support for Linux oldld, aout, or coff.
18856 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18860 # This must be Linux ELF.
18861 linux
* | k
*bsd
*-gnu)
18865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18866 soname_spec
='${libname}${release}${shared_ext}$major'
18867 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18868 shlibpath_var
=LD_LIBRARY_PATH
18869 shlibpath_overrides_runpath
=no
18870 # This implies no fast_install, which is unacceptable.
18871 # Some rework will be needed to allow for fast_install
18872 # before this can be enabled.
18873 hardcode_into_libs
=yes
18875 # Append ld.so.conf contents to the search path
18876 if test -f /etc
/ld.so.conf
; then
18877 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18878 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18881 # We used to test for /lib/ld.so.1 and disable shared libraries on
18882 # powerpc, because MkLinux only supported shared libraries with the
18883 # GNU dynamic linker. Since this was broken with cross compilers,
18884 # most powerpc-linux boxes support dynamic linking these days and
18885 # people can always --disable-shared, the test was removed, and we
18886 # assume the GNU/Linux dynamic linker is in use.
18887 dynamic_linker
='GNU/Linux ld.so'
18894 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18896 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18897 dynamic_linker
='NetBSD (a.out) ld.so'
18899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18900 soname_spec
='${libname}${release}${shared_ext}$major'
18901 dynamic_linker
='NetBSD ld.elf_so'
18903 shlibpath_var
=LD_LIBRARY_PATH
18904 shlibpath_overrides_runpath
=yes
18905 hardcode_into_libs
=yes
18910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18911 shlibpath_var
=LD_LIBRARY_PATH
18912 shlibpath_overrides_runpath
=yes
18919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18920 soname_spec
='${libname}${release}${shared_ext}$major'
18921 shlibpath_var
=LD_LIBRARY_PATH
18922 shlibpath_overrides_runpath
=yes
18927 sys_lib_dlsearch_path_spec
="/usr/lib"
18929 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18931 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18932 *) need_version
=no
;;
18934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18935 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18936 shlibpath_var
=LD_LIBRARY_PATH
18937 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18939 openbsd2.
[89] | openbsd2.
[89].
*)
18940 shlibpath_overrides_runpath
=no
18943 shlibpath_overrides_runpath
=yes
18947 shlibpath_overrides_runpath
=yes
18952 libname_spec
='$name'
18955 library_names_spec
='$libname${shared_ext} $libname.a'
18956 dynamic_linker
='OS/2 ld.exe'
18957 shlibpath_var
=LIBPATH
18960 osf3
* | osf4
* | osf5
*)
18964 soname_spec
='${libname}${release}${shared_ext}$major'
18965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18966 shlibpath_var
=LD_LIBRARY_PATH
18967 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18968 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18980 soname_spec
='${libname}${release}${shared_ext}$major'
18981 shlibpath_var
=LD_LIBRARY_PATH
18982 shlibpath_overrides_runpath
=yes
18983 hardcode_into_libs
=yes
18984 # ldd complains unless libraries are executable
18985 postinstall_cmds
='chmod +x $lib'
18990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18991 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18992 shlibpath_var
=LD_LIBRARY_PATH
18993 shlibpath_overrides_runpath
=yes
18994 if test "$with_gnu_ld" = yes; then
19002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19003 soname_spec
='${libname}${release}${shared_ext}$major'
19004 shlibpath_var
=LD_LIBRARY_PATH
19005 case $host_vendor in
19007 shlibpath_overrides_runpath
=no
19009 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19010 runpath_var
=LD_RUN_PATH
19018 shlibpath_overrides_runpath
=no
19019 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19025 if test -d /usr
/nec
;then
19027 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19028 soname_spec
='$libname${shared_ext}.$major'
19029 shlibpath_var
=LD_LIBRARY_PATH
19033 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19034 version_type
=freebsd-elf
19037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19038 soname_spec
='${libname}${release}${shared_ext}$major'
19039 shlibpath_var
=LD_LIBRARY_PATH
19040 hardcode_into_libs
=yes
19041 if test "$with_gnu_ld" = yes; then
19042 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19043 shlibpath_overrides_runpath
=no
19045 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19046 shlibpath_overrides_runpath
=yes
19049 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19053 sys_lib_dlsearch_path_spec
='/usr/lib'
19058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19059 soname_spec
='${libname}${release}${shared_ext}$major'
19060 shlibpath_var
=LD_LIBRARY_PATH
19067 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19068 $as_echo "$dynamic_linker" >&6; }
19069 test "$dynamic_linker" = no
&& can_build_shared
=no
19071 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19072 $as_echo_n "(cached) " >&6
19074 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
19077 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
19078 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19079 $as_echo_n "(cached) " >&6
19081 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
19084 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
19086 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19087 if test "$GCC" = yes; then
19088 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19091 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19092 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19093 hardcode_action_GCJ
=
19094 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19095 test -n "$runpath_var_GCJ" || \
19096 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19098 # We can hardcode non-existant directories.
19099 if test "$hardcode_direct_GCJ" != no
&&
19100 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19101 # have to relink, otherwise we might link with an installed library
19102 # when we should be linking with a yet-to-be-installed one
19103 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19104 test "$hardcode_minus_L_GCJ" != no
; then
19105 # Linking always hardcodes the temporary library directory.
19106 hardcode_action_GCJ
=relink
19108 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19109 hardcode_action_GCJ
=immediate
19112 # We cannot hardcode anything, or else we can only hardcode existing
19114 hardcode_action_GCJ
=unsupported
19116 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19117 $as_echo "$hardcode_action_GCJ" >&6; }
19119 if test "$hardcode_action_GCJ" = relink
; then
19120 # Fast installation is not supported
19121 enable_fast_install
=no
19122 elif test "$shlibpath_overrides_runpath" = yes ||
19123 test "$enable_shared" = no
; then
19124 # Fast installation is not necessary
19125 enable_fast_install
=needless
19129 # The else clause should only fire when bootstrapping the
19130 # libtool distribution, otherwise you forgot to ship ltmain.sh
19131 # with your package, and you will get complaints that there are
19132 # no rules to generate ltmain.sh.
19133 if test -f "$ltmain"; then
19134 # See if we are running on zsh, and set the options which allow our commands through
19135 # without removal of \ escapes.
19136 if test -n "${ZSH_VERSION+set}" ; then
19137 setopt NO_GLOB_SUBST
19139 # Now quote all the things that may contain metacharacters while being
19140 # careful not to overquote the AC_SUBSTed values. We take copies of the
19141 # variables and quote the copies for generation of the libtool script.
19142 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19144 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19145 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19146 deplibs_check_method reload_flag reload_cmds need_locks \
19147 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19148 lt_cv_sys_global_symbol_to_c_name_address \
19149 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19150 old_postinstall_cmds old_postuninstall_cmds \
19154 lt_prog_compiler_wl_GCJ \
19155 lt_prog_compiler_pic_GCJ \
19156 lt_prog_compiler_static_GCJ \
19157 lt_prog_compiler_no_builtin_flag_GCJ \
19158 export_dynamic_flag_spec_GCJ \
19159 thread_safe_flag_spec_GCJ \
19160 whole_archive_flag_spec_GCJ \
19161 enable_shared_with_static_runtimes_GCJ \
19162 old_archive_cmds_GCJ \
19163 old_archive_from_new_cmds_GCJ \
19164 predep_objects_GCJ \
19165 postdep_objects_GCJ \
19168 compiler_lib_search_path_GCJ \
19169 compiler_lib_search_dirs_GCJ \
19171 archive_expsym_cmds_GCJ \
19172 postinstall_cmds_GCJ \
19173 postuninstall_cmds_GCJ \
19174 old_archive_from_expsyms_cmds_GCJ \
19175 allow_undefined_flag_GCJ \
19176 no_undefined_flag_GCJ \
19177 export_symbols_cmds_GCJ \
19178 hardcode_libdir_flag_spec_GCJ \
19179 hardcode_libdir_flag_spec_ld_GCJ \
19180 hardcode_libdir_separator_GCJ \
19181 hardcode_automatic_GCJ \
19183 module_expsym_cmds_GCJ \
19184 lt_cv_prog_compiler_c_o_GCJ \
19185 fix_srcfile_path_GCJ \
19186 exclude_expsyms_GCJ \
19187 include_expsyms_GCJ
; do
19190 old_archive_cmds_GCJ | \
19191 old_archive_from_new_cmds_GCJ | \
19192 archive_cmds_GCJ | \
19193 archive_expsym_cmds_GCJ | \
19194 module_cmds_GCJ | \
19195 module_expsym_cmds_GCJ | \
19196 old_archive_from_expsyms_cmds_GCJ | \
19197 export_symbols_cmds_GCJ | \
19198 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19199 postinstall_cmds | postuninstall_cmds | \
19200 old_postinstall_cmds | old_postuninstall_cmds | \
19201 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19202 # Double-quote double-evaled strings.
19203 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19206 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19212 *'\$0 --fallback-echo"')
19213 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19219 cat <<__EOF__ >> "$cfgfile"
19220 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19222 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19224 # Shell to use when invoking shell scripts.
19227 # Whether or not to build shared libraries.
19228 build_libtool_libs=$enable_shared
19230 # Whether or not to build static libraries.
19231 build_old_libs=$enable_static
19233 # Whether or not to add -lc for building shared libraries.
19234 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19236 # Whether or not to disallow shared libs when runtime libs are static
19237 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19239 # Whether or not to optimize for fast installation.
19240 fast_install=$enable_fast_install
19243 host_alias=$host_alias
19247 # The build system.
19248 build_alias=$build_alias
19252 # An echo program that does not interpret backslashes.
19257 AR_FLAGS=$lt_AR_FLAGS
19262 # LTCC compiler flags.
19263 LTCFLAGS=$lt_LTCFLAGS
19265 # A language-specific compiler.
19266 CC=$lt_compiler_GCJ
19268 # Is the compiler the GNU C compiler?
19274 # The linker used to build libraries.
19277 # Whether we need hard or soft links.
19280 # A BSD-compatible nm program.
19283 # A symbol stripping program
19286 # Used to examine libraries when file_magic_cmd begins "file"
19287 MAGIC_CMD=$MAGIC_CMD
19289 # Used on cygwin: DLL creation program.
19292 # Used on cygwin: object dumper.
19295 # Used on cygwin: assembler.
19298 # The name of the directory that contains temporary libtool files.
19301 # How to create reloadable object files.
19302 reload_flag=$lt_reload_flag
19303 reload_cmds=$lt_reload_cmds
19305 # How to pass a linker flag through the compiler.
19306 wl=$lt_lt_prog_compiler_wl_GCJ
19308 # Object file suffix (normally "o").
19309 objext="$ac_objext"
19311 # Old archive suffix (normally "a").
19314 # Shared library suffix (normally ".so").
19315 shrext_cmds='$shrext_cmds'
19317 # Executable file suffix (normally "").
19320 # Additional compiler flags for building library objects.
19321 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19324 # What is the maximum length of a command?
19325 max_cmd_len=$lt_cv_sys_max_cmd_len
19327 # Does compiler simultaneously support -c and -o options?
19328 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19330 # Must we lock files when doing compilation?
19331 need_locks=$lt_need_locks
19333 # Do we need the lib prefix for modules?
19334 need_lib_prefix=$need_lib_prefix
19336 # Do we need a version for libraries?
19337 need_version=$need_version
19339 # Whether dlopen is supported.
19340 dlopen_support=$enable_dlopen
19342 # Whether dlopen of programs is supported.
19343 dlopen_self=$enable_dlopen_self
19345 # Whether dlopen of statically linked programs is supported.
19346 dlopen_self_static=$enable_dlopen_self_static
19348 # Compiler flag to prevent dynamic linking.
19349 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19351 # Compiler flag to turn off builtin functions.
19352 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19354 # Compiler flag to allow reflexive dlopens.
19355 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19357 # Compiler flag to generate shared objects directly from archives.
19358 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19360 # Compiler flag to generate thread-safe objects.
19361 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19363 # Library versioning type.
19364 version_type=$version_type
19366 # Format of library name prefix.
19367 libname_spec=$lt_libname_spec
19369 # List of archive names. First name is the real one, the rest are links.
19370 # The last name is the one that the linker finds with -lNAME.
19371 library_names_spec=$lt_library_names_spec
19373 # The coded name of the library, if different from the real name.
19374 soname_spec=$lt_soname_spec
19376 # Commands used to build and install an old-style archive.
19378 old_archive_cmds=$lt_old_archive_cmds_GCJ
19379 old_postinstall_cmds=$lt_old_postinstall_cmds
19380 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19382 # Create an old-style archive from a shared archive.
19383 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19385 # Create a temporary old-style archive to link instead of a shared archive.
19386 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19388 # Commands used to build and install a shared archive.
19389 archive_cmds=$lt_archive_cmds_GCJ
19390 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19391 postinstall_cmds=$lt_postinstall_cmds
19392 postuninstall_cmds=$lt_postuninstall_cmds
19394 # Commands used to build a loadable module (assumed same as above if empty)
19395 module_cmds=$lt_module_cmds_GCJ
19396 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19398 # Commands to strip libraries.
19399 old_striplib=$lt_old_striplib
19400 striplib=$lt_striplib
19402 # Dependencies to place before the objects being linked to create a
19404 predep_objects=$lt_predep_objects_GCJ
19406 # Dependencies to place after the objects being linked to create a
19408 postdep_objects=$lt_postdep_objects_GCJ
19410 # Dependencies to place before the objects being linked to create a
19412 predeps=$lt_predeps_GCJ
19414 # Dependencies to place after the objects being linked to create a
19416 postdeps=$lt_postdeps_GCJ
19418 # The directories searched by this compiler when creating a shared
19420 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19422 # The library search path used internally by the compiler when linking
19423 # a shared library.
19424 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19426 # Method to check whether dependent libraries are shared objects.
19427 deplibs_check_method=$lt_deplibs_check_method
19429 # Command to use when deplibs_check_method == file_magic.
19430 file_magic_cmd=$lt_file_magic_cmd
19432 # Flag that allows shared libraries with undefined symbols to be built.
19433 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19435 # Flag that forces no undefined symbols.
19436 no_undefined_flag=$lt_no_undefined_flag_GCJ
19438 # Commands used to finish a libtool library installation in a directory.
19439 finish_cmds=$lt_finish_cmds
19441 # Same as above, but a single script fragment to be evaled but not shown.
19442 finish_eval=$lt_finish_eval
19444 # Take the output of nm and produce a listing of raw symbols and C names.
19445 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19447 # Transform the output of nm in a proper C declaration
19448 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19450 # Transform the output of nm in a C name address pair
19451 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19453 # This is the shared library runtime path variable.
19454 runpath_var=$runpath_var
19456 # This is the shared library path variable.
19457 shlibpath_var=$shlibpath_var
19459 # Is shlibpath searched before the hard-coded library search path?
19460 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19462 # How to hardcode a shared library path into an executable.
19463 hardcode_action=$hardcode_action_GCJ
19465 # Whether we should hardcode library paths into libraries.
19466 hardcode_into_libs=$hardcode_into_libs
19468 # Flag to hardcode \$libdir into a binary during linking.
19469 # This must work even if \$libdir does not exist.
19470 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19472 # If ld is used when linking, flag to hardcode \$libdir into
19473 # a binary during linking. This must work even if \$libdir does
19475 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19477 # Whether we need a single -rpath flag with a separated argument.
19478 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19480 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19481 # resulting binary.
19482 hardcode_direct=$hardcode_direct_GCJ
19484 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19485 # resulting binary.
19486 hardcode_minus_L=$hardcode_minus_L_GCJ
19488 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19489 # the resulting binary.
19490 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19492 # Set to yes if building a shared library automatically hardcodes DIR into the library
19493 # and all subsequent libraries and executables linked against it.
19494 hardcode_automatic=$hardcode_automatic_GCJ
19496 # Variables whose values should be saved in libtool wrapper scripts and
19497 # restored at relink time.
19498 variables_saved_for_relink="$variables_saved_for_relink"
19500 # Whether libtool must link a program against all its dependency libraries.
19501 link_all_deplibs=$link_all_deplibs_GCJ
19503 # Compile-time system search path for libraries
19504 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19506 # Run-time system search path for libraries
19507 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19509 # Fix the shell variable \$srcfile for the compiler.
19510 fix_srcfile_path=$lt_fix_srcfile_path
19512 # Set to yes if exported symbols are required.
19513 always_export_symbols=$always_export_symbols_GCJ
19515 # The commands to list exported symbols.
19516 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19518 # The commands to extract the exported symbol list from a shared archive.
19519 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19521 # Symbols that should not be listed in the preloaded symbols.
19522 exclude_expsyms=$lt_exclude_expsyms_GCJ
19524 # Symbols that must always be exported.
19525 include_expsyms=$lt_include_expsyms_GCJ
19527 # ### END LIBTOOL TAG CONFIG: $tagname
19533 # If there is no Makefile yet, we rely on a make rule to execute
19534 # `config.status --recheck' to rerun these tests and create the
19535 # libtool script then.
19536 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19537 if test -f "$ltmain_in"; then
19538 test -f Makefile
&& make "$ltmain"
19544 ac_cpp
='$CPP $CPPFLAGS'
19545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19559 # Source file extension for RC test sources.
19562 # Object file extension for compiled RC test sources.
19566 # Code to be used in simple compile tests
19567 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19569 # Code to be used in simple link tests
19570 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19572 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19574 # If no C compiler was specified, use CC.
19577 # If no C compiler flags were specified, use CFLAGS.
19578 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19580 # Allow CC to be a program name with arguments.
19584 # save warnings/boilerplate of simple test code
19585 ac_outfile
=conftest.
$ac_objext
19586 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19587 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19588 _lt_compiler_boilerplate
=`cat conftest.err`
19591 ac_outfile
=conftest.
$ac_objext
19592 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19593 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19594 _lt_linker_boilerplate
=`cat conftest.err`
19598 # Allow CC to be a program name with arguments.
19603 for cc_temp
in $compiler""; do
19605 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19606 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19611 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19613 lt_cv_prog_compiler_c_o_RC
=yes
19615 # The else clause should only fire when bootstrapping the
19616 # libtool distribution, otherwise you forgot to ship ltmain.sh
19617 # with your package, and you will get complaints that there are
19618 # no rules to generate ltmain.sh.
19619 if test -f "$ltmain"; then
19620 # See if we are running on zsh, and set the options which allow our commands through
19621 # without removal of \ escapes.
19622 if test -n "${ZSH_VERSION+set}" ; then
19623 setopt NO_GLOB_SUBST
19625 # Now quote all the things that may contain metacharacters while being
19626 # careful not to overquote the AC_SUBSTed values. We take copies of the
19627 # variables and quote the copies for generation of the libtool script.
19628 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19630 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19631 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19632 deplibs_check_method reload_flag reload_cmds need_locks \
19633 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19634 lt_cv_sys_global_symbol_to_c_name_address \
19635 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19636 old_postinstall_cmds old_postuninstall_cmds \
19640 lt_prog_compiler_wl_RC \
19641 lt_prog_compiler_pic_RC \
19642 lt_prog_compiler_static_RC \
19643 lt_prog_compiler_no_builtin_flag_RC \
19644 export_dynamic_flag_spec_RC \
19645 thread_safe_flag_spec_RC \
19646 whole_archive_flag_spec_RC \
19647 enable_shared_with_static_runtimes_RC \
19648 old_archive_cmds_RC \
19649 old_archive_from_new_cmds_RC \
19650 predep_objects_RC \
19651 postdep_objects_RC \
19654 compiler_lib_search_path_RC \
19655 compiler_lib_search_dirs_RC \
19657 archive_expsym_cmds_RC \
19658 postinstall_cmds_RC \
19659 postuninstall_cmds_RC \
19660 old_archive_from_expsyms_cmds_RC \
19661 allow_undefined_flag_RC \
19662 no_undefined_flag_RC \
19663 export_symbols_cmds_RC \
19664 hardcode_libdir_flag_spec_RC \
19665 hardcode_libdir_flag_spec_ld_RC \
19666 hardcode_libdir_separator_RC \
19667 hardcode_automatic_RC \
19669 module_expsym_cmds_RC \
19670 lt_cv_prog_compiler_c_o_RC \
19671 fix_srcfile_path_RC \
19672 exclude_expsyms_RC \
19673 include_expsyms_RC
; do
19676 old_archive_cmds_RC | \
19677 old_archive_from_new_cmds_RC | \
19678 archive_cmds_RC | \
19679 archive_expsym_cmds_RC | \
19681 module_expsym_cmds_RC | \
19682 old_archive_from_expsyms_cmds_RC | \
19683 export_symbols_cmds_RC | \
19684 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19685 postinstall_cmds | postuninstall_cmds | \
19686 old_postinstall_cmds | old_postuninstall_cmds | \
19687 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19688 # Double-quote double-evaled strings.
19689 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19692 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19698 *'\$0 --fallback-echo"')
19699 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19705 cat <<__EOF__ >> "$cfgfile"
19706 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19708 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19710 # Shell to use when invoking shell scripts.
19713 # Whether or not to build shared libraries.
19714 build_libtool_libs=$enable_shared
19716 # Whether or not to build static libraries.
19717 build_old_libs=$enable_static
19719 # Whether or not to add -lc for building shared libraries.
19720 build_libtool_need_lc=$archive_cmds_need_lc_RC
19722 # Whether or not to disallow shared libs when runtime libs are static
19723 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19725 # Whether or not to optimize for fast installation.
19726 fast_install=$enable_fast_install
19729 host_alias=$host_alias
19733 # The build system.
19734 build_alias=$build_alias
19738 # An echo program that does not interpret backslashes.
19743 AR_FLAGS=$lt_AR_FLAGS
19748 # LTCC compiler flags.
19749 LTCFLAGS=$lt_LTCFLAGS
19751 # A language-specific compiler.
19754 # Is the compiler the GNU C compiler?
19760 # The linker used to build libraries.
19763 # Whether we need hard or soft links.
19766 # A BSD-compatible nm program.
19769 # A symbol stripping program
19772 # Used to examine libraries when file_magic_cmd begins "file"
19773 MAGIC_CMD=$MAGIC_CMD
19775 # Used on cygwin: DLL creation program.
19778 # Used on cygwin: object dumper.
19781 # Used on cygwin: assembler.
19784 # The name of the directory that contains temporary libtool files.
19787 # How to create reloadable object files.
19788 reload_flag=$lt_reload_flag
19789 reload_cmds=$lt_reload_cmds
19791 # How to pass a linker flag through the compiler.
19792 wl=$lt_lt_prog_compiler_wl_RC
19794 # Object file suffix (normally "o").
19795 objext="$ac_objext"
19797 # Old archive suffix (normally "a").
19800 # Shared library suffix (normally ".so").
19801 shrext_cmds='$shrext_cmds'
19803 # Executable file suffix (normally "").
19806 # Additional compiler flags for building library objects.
19807 pic_flag=$lt_lt_prog_compiler_pic_RC
19810 # What is the maximum length of a command?
19811 max_cmd_len=$lt_cv_sys_max_cmd_len
19813 # Does compiler simultaneously support -c and -o options?
19814 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19816 # Must we lock files when doing compilation?
19817 need_locks=$lt_need_locks
19819 # Do we need the lib prefix for modules?
19820 need_lib_prefix=$need_lib_prefix
19822 # Do we need a version for libraries?
19823 need_version=$need_version
19825 # Whether dlopen is supported.
19826 dlopen_support=$enable_dlopen
19828 # Whether dlopen of programs is supported.
19829 dlopen_self=$enable_dlopen_self
19831 # Whether dlopen of statically linked programs is supported.
19832 dlopen_self_static=$enable_dlopen_self_static
19834 # Compiler flag to prevent dynamic linking.
19835 link_static_flag=$lt_lt_prog_compiler_static_RC
19837 # Compiler flag to turn off builtin functions.
19838 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19840 # Compiler flag to allow reflexive dlopens.
19841 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19843 # Compiler flag to generate shared objects directly from archives.
19844 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19846 # Compiler flag to generate thread-safe objects.
19847 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19849 # Library versioning type.
19850 version_type=$version_type
19852 # Format of library name prefix.
19853 libname_spec=$lt_libname_spec
19855 # List of archive names. First name is the real one, the rest are links.
19856 # The last name is the one that the linker finds with -lNAME.
19857 library_names_spec=$lt_library_names_spec
19859 # The coded name of the library, if different from the real name.
19860 soname_spec=$lt_soname_spec
19862 # Commands used to build and install an old-style archive.
19864 old_archive_cmds=$lt_old_archive_cmds_RC
19865 old_postinstall_cmds=$lt_old_postinstall_cmds
19866 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19868 # Create an old-style archive from a shared archive.
19869 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19871 # Create a temporary old-style archive to link instead of a shared archive.
19872 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19874 # Commands used to build and install a shared archive.
19875 archive_cmds=$lt_archive_cmds_RC
19876 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19877 postinstall_cmds=$lt_postinstall_cmds
19878 postuninstall_cmds=$lt_postuninstall_cmds
19880 # Commands used to build a loadable module (assumed same as above if empty)
19881 module_cmds=$lt_module_cmds_RC
19882 module_expsym_cmds=$lt_module_expsym_cmds_RC
19884 # Commands to strip libraries.
19885 old_striplib=$lt_old_striplib
19886 striplib=$lt_striplib
19888 # Dependencies to place before the objects being linked to create a
19890 predep_objects=$lt_predep_objects_RC
19892 # Dependencies to place after the objects being linked to create a
19894 postdep_objects=$lt_postdep_objects_RC
19896 # Dependencies to place before the objects being linked to create a
19898 predeps=$lt_predeps_RC
19900 # Dependencies to place after the objects being linked to create a
19902 postdeps=$lt_postdeps_RC
19904 # The directories searched by this compiler when creating a shared
19906 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19908 # The library search path used internally by the compiler when linking
19909 # a shared library.
19910 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19912 # Method to check whether dependent libraries are shared objects.
19913 deplibs_check_method=$lt_deplibs_check_method
19915 # Command to use when deplibs_check_method == file_magic.
19916 file_magic_cmd=$lt_file_magic_cmd
19918 # Flag that allows shared libraries with undefined symbols to be built.
19919 allow_undefined_flag=$lt_allow_undefined_flag_RC
19921 # Flag that forces no undefined symbols.
19922 no_undefined_flag=$lt_no_undefined_flag_RC
19924 # Commands used to finish a libtool library installation in a directory.
19925 finish_cmds=$lt_finish_cmds
19927 # Same as above, but a single script fragment to be evaled but not shown.
19928 finish_eval=$lt_finish_eval
19930 # Take the output of nm and produce a listing of raw symbols and C names.
19931 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19933 # Transform the output of nm in a proper C declaration
19934 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19936 # Transform the output of nm in a C name address pair
19937 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19939 # This is the shared library runtime path variable.
19940 runpath_var=$runpath_var
19942 # This is the shared library path variable.
19943 shlibpath_var=$shlibpath_var
19945 # Is shlibpath searched before the hard-coded library search path?
19946 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19948 # How to hardcode a shared library path into an executable.
19949 hardcode_action=$hardcode_action_RC
19951 # Whether we should hardcode library paths into libraries.
19952 hardcode_into_libs=$hardcode_into_libs
19954 # Flag to hardcode \$libdir into a binary during linking.
19955 # This must work even if \$libdir does not exist.
19956 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19958 # If ld is used when linking, flag to hardcode \$libdir into
19959 # a binary during linking. This must work even if \$libdir does
19961 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19963 # Whether we need a single -rpath flag with a separated argument.
19964 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19966 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19967 # resulting binary.
19968 hardcode_direct=$hardcode_direct_RC
19970 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19971 # resulting binary.
19972 hardcode_minus_L=$hardcode_minus_L_RC
19974 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19975 # the resulting binary.
19976 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19978 # Set to yes if building a shared library automatically hardcodes DIR into the library
19979 # and all subsequent libraries and executables linked against it.
19980 hardcode_automatic=$hardcode_automatic_RC
19982 # Variables whose values should be saved in libtool wrapper scripts and
19983 # restored at relink time.
19984 variables_saved_for_relink="$variables_saved_for_relink"
19986 # Whether libtool must link a program against all its dependency libraries.
19987 link_all_deplibs=$link_all_deplibs_RC
19989 # Compile-time system search path for libraries
19990 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19992 # Run-time system search path for libraries
19993 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19995 # Fix the shell variable \$srcfile for the compiler.
19996 fix_srcfile_path=$lt_fix_srcfile_path
19998 # Set to yes if exported symbols are required.
19999 always_export_symbols=$always_export_symbols_RC
20001 # The commands to list exported symbols.
20002 export_symbols_cmds=$lt_export_symbols_cmds_RC
20004 # The commands to extract the exported symbol list from a shared archive.
20005 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20007 # Symbols that should not be listed in the preloaded symbols.
20008 exclude_expsyms=$lt_exclude_expsyms_RC
20010 # Symbols that must always be exported.
20011 include_expsyms=$lt_include_expsyms_RC
20013 # ### END LIBTOOL TAG CONFIG: $tagname
20019 # If there is no Makefile yet, we rely on a make rule to execute
20020 # `config.status --recheck' to rerun these tests and create the
20021 # libtool script then.
20022 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20023 if test -f "$ltmain_in"; then
20024 test -f Makefile
&& make "$ltmain"
20030 ac_cpp
='$CPP $CPPFLAGS'
20031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20040 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20041 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20042 { (exit 1); exit 1; }; }
20046 # Append the new tag name to the list of available tags.
20047 if test -n "$tagname" ; then
20048 available_tags
="$available_tags $tagname"
20054 # Now substitute the updated list of available tags.
20055 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20056 mv "${ofile}T" "$ofile"
20060 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20061 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20062 { (exit 1); exit 1; }; }
20068 # This can be used to rebuild libtool when needed
20069 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20071 # Always use our own libtool.
20072 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20074 # Prevent multiple expansion
20096 if test "x${prefix}" = "xNONE"; then
20097 prefix
=${ac_default_prefix}
20103 ac_config_files
="$ac_config_files Makefile src/Makefile"
20105 cat >confcache
<<\_ACEOF
20106 # This file is a shell script that caches the results of configure
20107 # tests run on this system so they can be shared between configure
20108 # scripts and configure runs, see configure's option --config-cache.
20109 # It is not useful on other systems. If it contains results you don't
20110 # want to keep, you may remove or edit it.
20112 # config.status only pays attention to the cache file if you give it
20113 # the --recheck option to rerun configure.
20115 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20116 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20117 # following values.
20121 # The following way of writing the cache mishandles newlines in values,
20122 # but we know of no workaround that is simple, portable, and efficient.
20123 # So, we kill variables containing newlines.
20124 # Ultrix sh set writes to stderr and can't be redirected directly,
20125 # and sets the high bit in the cache file unless we assign to the vars.
20127 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20128 eval ac_val
=\$
$ac_var
20132 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20133 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20136 _ | IFS | as_nl
) ;; #(
20137 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
20138 *) $as_unset $ac_var ;;
20144 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20145 *${as_nl}ac_space
=\
*)
20146 # `set' does not quote correctly, so add quotes (double-quote
20147 # substitution turns \\\\ into \\, and sed turns \\ into \).
20150 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20153 # `set' quotes correctly as required by POSIX, so do not add quotes.
20154 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20163 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20165 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20167 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20168 if test -w "$cache_file"; then
20169 test "x$cache_file" != "x/dev/null" &&
20170 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
20171 $as_echo "$as_me: updating cache $cache_file" >&6;}
20172 cat confcache
>$cache_file
20174 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20175 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20180 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20181 # Let make expand exec_prefix.
20182 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20184 DEFS
=-DHAVE_CONFIG_H
20188 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20189 # 1. Remove the extension, and $U if already installed.
20190 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20191 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20192 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20193 # will be set to the directory where LIBOBJS objects are built.
20194 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20195 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20197 LIBOBJS
=$ac_libobjs
20199 LTLIBOBJS
=$ac_ltlibobjs
20202 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20203 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20204 Usually this means the macro was only invoked conditionally." >&5
20205 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
20206 Usually this means the macro was only invoked conditionally." >&2;}
20207 { (exit 1); exit 1; }; }
20209 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20210 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20211 Usually this means the macro was only invoked conditionally." >&5
20212 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20213 Usually this means the macro was only invoked conditionally." >&2;}
20214 { (exit 1); exit 1; }; }
20216 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20217 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20218 Usually this means the macro was only invoked conditionally." >&5
20219 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20220 Usually this means the macro was only invoked conditionally." >&2;}
20221 { (exit 1); exit 1; }; }
20224 : ${CONFIG_STATUS=./config.status}
20226 ac_clean_files_save
=$ac_clean_files
20227 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20228 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20229 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20230 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20232 # Generated by $as_me.
20233 # Run this file to recreate the current configuration.
20234 # Compiler output produced by configure, useful for debugging
20235 # configure, is in config.log if it exists.
20238 ac_cs_recheck=false
20240 SHELL=\${CONFIG_SHELL-$SHELL}
20243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20244 ## --------------------- ##
20245 ## M4sh Initialization. ##
20246 ## --------------------- ##
20248 # Be more Bourne compatible
20249 DUALCASE
=1; export DUALCASE
# for MKS sh
20250 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20253 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20254 # is contrary to our usage. Disable this feature.
20255 alias -g '${1+"$@"}'='"$@"'
20256 setopt NO_GLOB_SUBST
20258 case `(set -o) 2>/dev/null` in
20259 *posix
*) set -o posix
;;
20268 # Avoid depending upon Character Ranges.
20269 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20270 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20271 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20272 as_cr_digits
='0123456789'
20273 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20278 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20279 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20280 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20281 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20282 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20283 as_echo='printf %s
\n'
20284 as_echo_n='printf %s
'
20286 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20287 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20288 as_echo_n='/usr
/ucb
/echo -n'
20290 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20291 as_echo_n_body='eval
20295 expr "X$arg" : "X\\(.*\\)$as_nl";
20296 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20298 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20300 export as_echo_n_body
20301 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20303 export as_echo_body
20304 as_echo='sh
-c $as_echo_body as_echo
'
20307 # The user is always right.
20308 if test "${PATH_SEPARATOR+set}" != set; then
20310 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20311 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20316 # Support unset when possible.
20317 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20325 # We need space, tab and new line, in precisely that order. Quoting is
20326 # there to prevent editors from complaining about space-tab.
20327 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20328 # splitting by setting IFS to empty value.)
20331 # Find who we are. Look in the path if we contain no directory separator.
20333 *[\\/]* ) as_myself=$0 ;;
20334 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20335 for as_dir in $PATH
20338 test -z "$as_dir" && as_dir=.
20339 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20345 # We did not find ourselves, most probably we were run as `sh COMMAND'
20346 # in which case we are not to be found in the path.
20347 if test "x$as_myself" = x
; then
20350 if test ! -f "$as_myself"; then
20351 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20352 { (exit 1); exit 1; }
20355 # Work around bugs in pre-3.0 UWIN ksh.
20356 for as_var
in ENV MAIL MAILPATH
20357 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20369 # Required to use basename.
20370 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20371 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20377 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20378 as_basename
=basename
20384 # Name of the executable.
20385 as_me
=`$as_basename -- "$0" ||
20386 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20387 X"$0" : 'X\(//\)$' \| \
20388 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20390 sed '/^.*\/\([^/][^/]*\)\/*$/{
20409 as_lineno_1
=$LINENO
20410 as_lineno_2
=$LINENO
20411 test "x$as_lineno_1" != "x$as_lineno_2" &&
20412 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20414 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20415 # uniformly replaced by the line number. The first 'sed' inserts a
20416 # line-number line after each line using $LINENO; the second 'sed'
20417 # does the real work. The second script uses 'N' to pair each
20418 # line-number line with the line containing $LINENO, and appends
20419 # trailing '-' during substitution so that $LINENO is not a special
20420 # case at line end.
20421 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20422 # scripts with optimization help from Paolo Bonzini. Blame Lee
20423 # E. McMahon (1931-1989) for sed's syntax. :-)
20435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20438 ' >$as_me.lineno
&&
20439 chmod +x
"$as_me.lineno" ||
20440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20441 { (exit 1); exit 1; }; }
20443 # Don't try to exec as it changes $[0], causing all sort of problems
20444 # (the dirname of $[0] is not the place where we might find the
20445 # original and so on. Autoconf is especially sensitive to this).
20446 .
"./$as_me.lineno"
20447 # Exit status is that of the last command.
20452 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20458 ECHO_C
= ECHO_N
= ECHO_T
=
20459 case `echo -n x` in
20461 case `echo 'x\c'` in
20462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20468 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20469 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20475 rm -f conf$$ conf$$.exe conf$$.
file
20476 if test -d conf$$.dir
; then
20477 rm -f conf$$.dir
/conf$$.
file
20480 mkdir conf$$.dir
2>/dev
/null
20482 if (echo >conf$$.
file) 2>/dev
/null
; then
20483 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20485 # ... but there are two gotchas:
20486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20488 # In both cases, we have to default to `cp -p'.
20489 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20491 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20499 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20500 rmdir conf$$.dir
2>/dev
/null
20502 if mkdir
-p .
2>/dev
/null
; then
20505 test -d .
/-p && rmdir .
/-p
20509 if test -x / >/dev
/null
2>&1; then
20510 as_test_x
='test -x'
20512 if ls -dL / >/dev
/null
2>&1; then
20519 if test -d "$1"; then
20525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20526 ???[sx]*):;;*)false;;esac;fi
20530 as_executable_p
=$as_test_x
20532 # Sed expression to map a string onto a valid CPP name.
20533 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20535 # Sed expression to map a string onto a valid variable name.
20536 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20541 # Save the log message, to keep $[0] and so on meaningful, and to
20542 # report actual input values of CONFIG_FILES etc. instead of their
20543 # values after options handling.
20545 This file was extended by $as_me, which was
20546 generated by GNU Autoconf 2.62. Invocation command line was
20548 CONFIG_FILES = $CONFIG_FILES
20549 CONFIG_HEADERS = $CONFIG_HEADERS
20550 CONFIG_LINKS = $CONFIG_LINKS
20551 CONFIG_COMMANDS = $CONFIG_COMMANDS
20554 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20560 # Files that config.status was made for.
20561 config_files="$ac_config_files"
20562 config_headers="$ac_config_headers"
20563 config_commands="$ac_config_commands"
20567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20569 \`$as_me' instantiates files from templates according to the
20570 current configuration.
20572 Usage: $0 [OPTIONS] [FILE]...
20574 -h, --help print this help, then exit
20575 -V, --version print version number and configuration settings, then exit
20576 -q, --quiet do not print progress messages
20577 -d, --debug don't remove temporary files
20578 --recheck update $as_me by reconfiguring in the same conditions
20579 --file=FILE[:TEMPLATE]
20580 instantiate the configuration file FILE
20581 --header=FILE[:TEMPLATE]
20582 instantiate the configuration header FILE
20584 Configuration files:
20587 Configuration headers:
20590 Configuration commands:
20593 Report bugs to <bug-autoconf@gnu.org>."
20596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20599 configured by $0, generated by GNU Autoconf 2.62,
20600 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20602 Copyright (C) 2008 Free Software Foundation, Inc.
20603 This config.status script is free software; the Free Software Foundation
20604 gives unlimited permission to copy, distribute and modify it."
20611 test -n "\$AWK" || AWK=awk
20614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20615 # The default lists apply if the user does not specify any file.
20621 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20622 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20633 # Handling of the options.
20634 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20636 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20637 $as_echo "$ac_cs_version"; exit ;;
20638 --debug |
--debu |
--deb |
--de |
--d |
-d )
20640 --file |
--fil |
--fi |
--f )
20643 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20645 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
20646 ac_need_defaults
=false
;;
20647 --header |
--heade |
--head |
--hea )
20650 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20652 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
20653 ac_need_defaults
=false
;;
20655 # Conflict between --help and --header
20656 { $as_echo "$as_me: error: ambiguous option: $1
20657 Try \`$0 --help' for more information." >&2
20658 { (exit 1); exit 1; }; };;
20659 --help |
--hel |
-h )
20660 $as_echo "$ac_cs_usage"; exit ;;
20661 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20662 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20665 # This is an error.
20666 -*) { $as_echo "$as_me: error: unrecognized option: $1
20667 Try \`$0 --help' for more information." >&2
20668 { (exit 1); exit 1; }; } ;;
20670 *) ac_config_targets
="$ac_config_targets $1"
20671 ac_need_defaults
=false
;;
20677 ac_configure_extra_args
=
20679 if $ac_cs_silent; then
20681 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20686 if \$ac_cs_recheck; then
20687 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20689 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20690 CONFIG_SHELL='$SHELL'
20691 export CONFIG_SHELL
20696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20700 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20701 ## Running $as_me. ##
20707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20711 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20717 # Handling of arguments.
20718 for ac_config_target
in $ac_config_targets
20720 case $ac_config_target in
20721 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20722 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20723 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20724 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20726 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20727 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20728 { (exit 1); exit 1; }; };;
20733 # If the user did not use the arguments to specify the items to instantiate,
20734 # then the envvar interface is used. Set only those that are not.
20735 # We use the long form for the default assignment because of an extremely
20736 # bizarre bug on SunOS 4.1.3.
20737 if $ac_need_defaults; then
20738 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20739 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20740 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20743 # Have a temporary directory for convenience. Make it in the build tree
20744 # simply because there is no reason against having it here, and in addition,
20745 # creating and moving files from /tmp can sometimes cause problems.
20746 # Hook for its removal unless debugging.
20747 # Note that there is a small window in which the directory will not be cleaned:
20748 # after its creation but before its name has been assigned to `$tmp'.
20752 trap 'exit_status=$?
20753 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20755 trap '{ (exit 1); exit 1; }' 1 2 13 15
20757 # Create a (secure) tmp directory for tmp files.
20760 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20761 test -n "$tmp" && test -d "$tmp"
20764 tmp
=.
/conf$$
-$RANDOM
20765 (umask 077 && mkdir
"$tmp")
20768 $as_echo "$as_me: cannot create a temporary directory in ." >&2
20769 { (exit 1); exit 1; }
20772 # Set up the scripts for CONFIG_FILES section.
20773 # No need to generate them if there are no CONFIG_FILES.
20774 # This happens for instance with `./config.status config.h'.
20775 if test -n "$CONFIG_FILES"; then
20779 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20780 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20783 ac_cs_awk_cr
=$ac_cr
20786 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20791 echo "cat >conf$$subs.awk <<_ACEOF" &&
20792 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20794 } >conf$$subs.sh ||
20795 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
20796 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
20797 { (exit 1); exit 1; }; }
20798 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
20800 for ac_last_try in false false false false false :; do
20801 . ./conf$$subs.sh ||
20802 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
20803 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
20804 { (exit 1); exit 1; }; }
20806 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
20808 elif $ac_last_try; then
20809 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
20810 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
20811 { (exit 1); exit 1; }; }
20813 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20816 rm -f conf$$subs.sh
20818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20819 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
20823 s/^/S["/; s
/!.
*/"]=/
20833 s/\(.\{148\}\).*/\1/
20835 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20840 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20847 s/\(.\{148\}\).*/\1/
20849 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20853 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20858 ' <conf$$subs.awk | sed '
20863 ' >>$CONFIG_STATUS || ac_write_fail=1
20864 rm -f conf$$subs.awk
20865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20867 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
20868 for (key in S) S_is_set[key] = 1
20874 nfields = split(line, field, "@
")
20876 len = length(field[1])
20877 for (i = 2; i < nfields; i++) {
20879 keylen = length(key)
20880 if (S_is_set[key]) {
20882 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20883 len += length(value) + length(field[++i])
20894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20895 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20896 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20899 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
20900 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
20901 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
20902 { (exit 1); exit 1; }; }
20905 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20906 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
20907 # trailing colons and then remove the whole line if VPATH becomes empty
20908 # (actually we leave an empty line to preserve line numbers).
20909 if test "x
$srcdir" = x.; then
20910 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20911 s/:*\$(srcdir):*/:/
20912 s/:*\${srcdir}:*/:/
20914 s/^\([^=]*=[ ]*\):*/\1/
20920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20921 fi # test -n "$CONFIG_FILES"
20923 # Set up the scripts for CONFIG_HEADERS section.
20924 # No need to generate them if there are no CONFIG_HEADERS.
20925 # This happens for instance with `./config.status Makefile'.
20926 if test -n "$CONFIG_HEADERS"; then
20927 cat >"$tmp/defines.
awk" <<\_ACAWK ||
20931 # Transform confdefs.h into an awk script `defines.awk', embedded as
20932 # here-document in config.status, that substitutes the proper values into
20933 # config.h.in to produce config.h.
20935 # Create a delimiter string that does not exist in confdefs.h, to ease
20936 # handling of long lines.
20938 for ac_last_try in false false :; do
20939 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
20940 if test -z "$ac_t"; then
20942 elif $ac_last_try; then
20943 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
20944 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
20945 { (exit 1); exit 1; }; }
20947 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20951 # For the awk script, D is an array of macro values keyed by name,
20952 # likewise P contains macro parameters if any. Preserve backslash
20953 # newline sequences.
20955 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20957 s/.\{148\}/&'"$ac_delim"'/g
20960 s/^[ ]*#[ ]*define[ ][ ]*/ /
20967 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20969 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20973 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20974 D["\
1"]=" \
3\\\\\\n
"\\/p
20976 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20981 s/.\{148\}/&'"$ac_delim"'/g
20986 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20989 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20991 ' <confdefs.h | sed '
20992 s/'"$ac_delim"'/"\\\
20993 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20996 for (key in D) D_is_set[key] = 1
20999 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21001 split(line, arg, " ")
21002 if (arg[1] == "#") {
21006 defundef
= substr
(arg
[1], 2)
21009 split(mac1
, mac2
, "(") #)
21011 if (D_is_set
[macro
]) {
21012 # Preserve the white space surrounding the "#".
21013 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21014 print prefix
"define", macro P
[macro
] D
[macro
]
21017 # Replace #undef with comments. This is necessary, for example,
21018 # in the case of _POSIX_SOURCE, which is predefined and required
21019 # on some systems where configure will not decide to define it.
21020 if (defundef
== "undef") {
21021 print
"/*", line
, "*/"
21029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21030 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
21031 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
21032 { (exit 1); exit 1; }; }
21033 fi # test -n "$CONFIG_HEADERS"
21036 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21041 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21043 case $ac_mode$ac_tag in
21045 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21046 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21047 { (exit 1); exit 1; }; };;
21048 :[FH
]-) ac_tag
=-:-;;
21049 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21066 -) ac_f
="$tmp/stdin";;
21067 *) # Look for the file first in the build tree, then in the source tree
21068 # (if the path is not absolute). The absolute path cannot be DOS-style,
21069 # because $ac_f cannot contain `:'.
21073 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21075 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21076 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21077 { (exit 1); exit 1; }; };;
21079 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21080 ac_file_inputs
="$ac_file_inputs '$ac_f'"
21083 # Let's still pretend it is `configure' which instantiates (i.e., don't
21084 # use $as_me), people would be surprised to read:
21085 # /* config.h. Generated by config.status. */
21086 configure_input
='Generated from '`
21087 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21089 if test x
"$ac_file" != x-
; then
21090 configure_input
="$ac_file. $configure_input"
21091 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
21092 $as_echo "$as_me: creating $ac_file" >&6;}
21094 # Neutralize special characters interpreted by sed in replacement strings.
21095 case $configure_input in #(
21096 *\
&* |
*\|
* |
*\\* )
21097 ac_sed_conf_input
=`$as_echo "$configure_input" |
21098 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21099 *) ac_sed_conf_input
=$configure_input;;
21103 *:-:* |
*:-) cat >"$tmp/stdin" \
21104 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21105 $as_echo "$as_me: error: could not create $ac_file" >&2;}
21106 { (exit 1); exit 1; }; } ;;
21111 ac_dir
=`$as_dirname -- "$ac_file" ||
21112 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21113 X"$ac_file" : 'X\(//\)[^/]' \| \
21114 X"$ac_file" : 'X\(//\)$' \| \
21115 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21116 $as_echo X"$ac_file" |
21117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21121 /^X\(\/\/\)[^/].*/{
21136 -*) as_dir
=.
/$as_dir;;
21138 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21142 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21143 *) as_qdir
=$as_dir;;
21145 as_dirs
="'$as_qdir' $as_dirs"
21146 as_dir
=`$as_dirname -- "$as_dir" ||
21147 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21148 X"$as_dir" : 'X\(//\)[^/]' \| \
21149 X"$as_dir" : 'X\(//\)$' \| \
21150 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21151 $as_echo X"$as_dir" |
21152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21156 /^X\(\/\/\)[^/].*/{
21169 test -d "$as_dir" && break
21171 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21172 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21173 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21174 { (exit 1); exit 1; }; }; }
21178 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21180 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21181 # A ".." for each directory in $ac_dir_suffix.
21182 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21183 case $ac_top_builddir_sub in
21184 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21185 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21188 ac_abs_top_builddir
=$ac_pwd
21189 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21190 # for backward compatibility:
21191 ac_top_builddir
=$ac_top_build_prefix
21194 .
) # We are building in place.
21196 ac_top_srcdir
=$ac_top_builddir_sub
21197 ac_abs_top_srcdir
=$ac_pwd ;;
21198 [\\/]* | ?
:[\\/]* ) # Absolute name.
21199 ac_srcdir
=$srcdir$ac_dir_suffix;
21200 ac_top_srcdir
=$srcdir
21201 ac_abs_top_srcdir
=$srcdir ;;
21202 *) # Relative name.
21203 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21204 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21205 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21207 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21217 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21218 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21220 ac_MKDIR_P
=$MKDIR_P
21222 [\\/$
]* | ?
:[\\/]* ) ;;
21223 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21228 # If the template does not know about datarootdir, expand it.
21229 # FIXME: This hack should be removed a few years after 2.60.
21230 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21243 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21244 *datarootdir
*) ac_datarootdir_seen
=yes;;
21245 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21246 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21247 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21250 ac_datarootdir_hack='
21251 s&@datadir@&$datadir&g
21252 s&@docdir@&$docdir&g
21253 s&@infodir@&$infodir&g
21254 s&@localedir@&$localedir&g
21255 s&@mandir@&$mandir&g
21256 s&\\\${datarootdir}&$datarootdir&g' ;;
21260 # Neutralize VPATH when `$srcdir' = `.'.
21261 # Shell code in configure.ac might set extrasub.
21262 # FIXME: do we really want to maintain this feature?
21263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21264 ac_sed_extra="$ac_vpsub
21267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21269 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21270 s|@configure_input@|
$ac_sed_conf_input|
;t t
21271 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21272 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21273 s
&@srcdir@
&$ac_srcdir&;t t
21274 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21275 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21276 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21277 s
&@builddir@
&$ac_builddir&;t t
21278 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21279 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21280 s
&@INSTALL@
&$ac_INSTALL&;t t
21281 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21282 $ac_datarootdir_hack
21284 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
21285 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
21286 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
21287 { (exit 1); exit 1; }; }
21289 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21290 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21291 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21292 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21293 which seems to be undefined. Please make sure it is defined." >&5
21294 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21295 which seems to be undefined. Please make sure it is defined." >&2;}
21299 -) cat "$tmp/out" && rm -f "$tmp/out";;
21300 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
21302 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21303 $as_echo "$as_me: error: could not create $ac_file" >&2;}
21304 { (exit 1); exit 1; }; }
21310 if test x"$ac_file" != x-; then
21312 $as_echo "/* $configure_input */" \
21313 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
21314 } >"$tmp/config.h" \
21315 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21316 $as_echo "$as_me: error: could not create $ac_file" >&2;}
21317 { (exit 1); exit 1; }; }
21318 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
21319 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21320 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21323 mv "$tmp/config.h" "$ac_file" \
21324 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21325 $as_echo "$as_me: error: could not create $ac_file" >&2;}
21326 { (exit 1); exit 1; }; }
21329 $as_echo "/* $configure_input */" \
21330 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
21331 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
21332 $as_echo "$as_me: error: could not create -" >&2;}
21333 { (exit 1); exit 1; }; }
21335 # Compute "$ac_file"'s index
in $config_headers.
21338 for _am_header
in $config_headers :; do
21339 case $_am_header in
21340 $_am_arg |
$_am_arg:* )
21343 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21346 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21347 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21348 X"$_am_arg" : 'X\(//\)[^/]' \| \
21349 X"$_am_arg" : 'X\(//\)$' \| \
21350 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21351 $as_echo X"$_am_arg" |
21352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21356 /^X\(\/\/\)[^/].*/{
21368 s/.*/./; q'`/stamp-h
$_am_stamp_count
21371 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
21372 $as_echo "$as_me: executing $ac_file commands" >&6;}
21377 case $ac_file$ac_mode in
21378 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21379 # Strip MF so we end up with the name of the file.
21380 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21381 # Check whether this is an Automake generated Makefile or not.
21382 # We used to match only the files named `Makefile.in', but
21383 # some people rename them; so instead we look at the file content.
21384 # Grep'ing the first line is not enough: some people post-process
21385 # each Makefile.in and add a new line on top of each file to say so.
21386 # Grep'ing the whole file is not good either: AIX grep has a line
21387 # limit of 2048, but all sed's we know have understand at least 4000.
21388 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21389 dirpart
=`$as_dirname -- "$mf" ||
21390 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21391 X"$mf" : 'X\(//\)[^/]' \| \
21392 X"$mf" : 'X\(//\)$' \| \
21393 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21399 /^X\(\/\/\)[^/].*/{
21415 # Extract the definition of DEPDIR, am__include, and am__quote
21416 # from the Makefile without running `make'.
21417 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21418 test -z "$DEPDIR" && continue
21419 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21420 test -z "am__include" && continue
21421 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21422 # When using ansi2knr, U may be empty or an underscore; expand it
21423 U
=`sed -n 's/^U = //p' < "$mf"`
21424 # Find all dependency output files, they are included files with
21425 # $(DEPDIR) in their names. We invoke sed twice because it is the
21426 # simplest approach to changing $(DEPDIR) to its actual value in the
21428 for file in `sed -n "
21429 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21430 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21431 # Make sure the directory exists.
21432 test -f "$dirpart/$file" && continue
21433 fdir
=`$as_dirname -- "$file" ||
21434 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21435 X"$file" : 'X\(//\)[^/]' \| \
21436 X"$file" : 'X\(//\)$' \| \
21437 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21438 $as_echo X"$file" |
21439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21443 /^X\(\/\/\)[^/].*/{
21456 { as_dir
=$dirpart/$fdir
21458 -*) as_dir
=.
/$as_dir;;
21460 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21464 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21465 *) as_qdir
=$as_dir;;
21467 as_dirs
="'$as_qdir' $as_dirs"
21468 as_dir
=`$as_dirname -- "$as_dir" ||
21469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21470 X"$as_dir" : 'X\(//\)[^/]' \| \
21471 X"$as_dir" : 'X\(//\)$' \| \
21472 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21473 $as_echo X"$as_dir" |
21474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21478 /^X\(\/\/\)[^/].*/{
21491 test -d "$as_dir" && break
21493 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21494 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21495 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21496 { (exit 1); exit 1; }; }; }
21497 # echo "creating $dirpart/$file"
21498 echo '# dummy' > "$dirpart/$file"
21507 { (exit 0); exit 0; }
21509 chmod +x
$CONFIG_STATUS
21510 ac_clean_files
=$ac_clean_files_save
21512 test $ac_write_fail = 0 ||
21513 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
21514 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
21515 { (exit 1); exit 1; }; }
21518 # configure is writing to config.log, and then calls config.status.
21519 # config.status does its own redirection, appending to config.log.
21520 # Unfortunately, on DOS this fails, as config.log is still kept open
21521 # by configure, so config.status won't be able to write to it; its
21522 # output is simply discarded. So we exec the FD to /dev/null,
21523 # effectively closing config.log, so it can be properly (re)opened and
21524 # appended to by config.status. When coming back to configure, we
21525 # need to make the FD available again.
21526 if test "$no_create" != yes; then
21528 ac_config_status_args
=
21529 test "$silent" = yes &&
21530 ac_config_status_args
="$ac_config_status_args --quiet"
21532 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21534 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21535 # would make configure fail if this is the last instruction.
21536 $ac_cs_success ||
{ (exit 1); exit 1; }
21538 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21539 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
21540 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}