2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Libtool 2.4.6.
5 # Report bugs to <bug-libtool@gnu.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: bug-libtool@gnu.org about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 lt_ltdl_dir='libltdl'
569 SHELL=${CONFIG_SHELL-/bin/sh}
571 lt_dlopen_dir=$lt_ltdl_dir; lt_libobj_prefix=$lt_ltdl_dir/
574 test -n "$DJDIR" || exec 7<&0 </dev/null
578 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
579 # so uname gets run too.
580 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
585 ac_default_prefix=/usr/local
587 ac_config_libobj_dir=.
594 # Identity of this package.
595 PACKAGE_NAME='GNU Libtool'
596 PACKAGE_TARNAME='libtool'
597 PACKAGE_VERSION='2.4.6'
598 PACKAGE_STRING='GNU Libtool 2.4.6'
599 PACKAGE_BUGREPORT='bug-libtool@gnu.org'
600 PACKAGE_URL='http://www.gnu.org/software/libtool/'
602 ac_unique_file="libtoolize.in"
603 ac_config_libobj_dir=libltdl
604 # Factoring default headers for most tests.
605 ac_includes_default="\
607 #ifdef HAVE_SYS_TYPES_H
608 # include <sys/types.h>
610 #ifdef HAVE_SYS_STAT_H
611 # include <sys/stat.h>
617 # ifdef HAVE_STDLIB_H
622 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
627 #ifdef HAVE_STRINGS_H
628 # include <strings.h>
630 #ifdef HAVE_INTTYPES_H
631 # include <inttypes.h>
640 ac_subst_vars='GLtests_LTLIBOBJS
650 GL_COND_LIBTOOL_FALSE
674 CONVENIENCE_LTDL_FALSE
675 CONVENIENCE_LTDL_TRUE
680 sys_symbol_underscore
732 CONFIG_STATUS_DEPENDENCIES
753 INSTALL_STRIP_PROGRAM
804 program_transform_name
817 enable_option_checking
820 enable_dependency_tracking
830 ac_precious_vars='build_alias
851 # Initialize some variables set by options.
853 ac_init_version=false
854 ac_unrecognized_opts=
856 # The variables have the same names as the options, with
857 # dashes changed to underlines.
865 program_transform_name=s,x,x,
873 # Installation directory options.
874 # These are left unexpanded so users can "make install exec_prefix=/foo"
875 # and all the variables that are supposed to be based on exec_prefix
876 # by default will actually change.
877 # Use braces instead of parens because sh, perl, etc. also accept them.
878 # (The list follows the same order as the GNU Coding Standards.)
879 bindir='${exec_prefix}/bin'
880 sbindir='${exec_prefix}/sbin'
881 libexecdir='${exec_prefix}/libexec'
882 datarootdir='${prefix}/share'
883 datadir='${datarootdir}'
884 sysconfdir='${prefix}/etc'
885 sharedstatedir='${prefix}/com'
886 localstatedir='${prefix}/var'
887 includedir='${prefix}/include'
888 oldincludedir='/usr/include'
889 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
890 infodir='${datarootdir}/info'
895 libdir='${exec_prefix}/lib'
896 localedir='${datarootdir}/locale'
897 mandir='${datarootdir}/man'
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\$ac_option
911 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 # Accept the important Cygnus configure options, so we can diagnose typos.
918 case $ac_dashdash$ac_option in
922 -bindir | --bindir | --bindi | --bind | --bin | --bi)
924 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
927 -build | --build | --buil | --bui | --bu)
928 ac_prev=build_alias ;;
929 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
930 build_alias=$ac_optarg ;;
932 -cache-file | --cache-file | --cache-fil | --cache-fi \
933 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
934 ac_prev=cache_file ;;
935 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
936 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
937 cache_file=$ac_optarg ;;
940 cache_file=config.cache ;;
942 -datadir | --datadir | --datadi | --datad)
944 -datadir=* | --datadir=* | --datadi=* | --datad=*)
945 datadir=$ac_optarg ;;
947 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
948 | --dataroo | --dataro | --datar)
949 ac_prev=datarootdir ;;
950 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
951 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
952 datarootdir=$ac_optarg ;;
954 -disable-* | --disable-*)
955 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
958 as_fn_error $? "invalid feature name: $ac_useropt"
959 ac_useropt_orig=$ac_useropt
960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 ac_unrecognized_sep=', ';;
968 eval enable_$ac_useropt=no ;;
970 -docdir | --docdir | --docdi | --doc | --do)
972 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
975 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
977 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
980 -enable-* | --enable-*)
981 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984 as_fn_error $? "invalid feature name: $ac_useropt"
985 ac_useropt_orig=$ac_useropt
986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep=', ';;
994 eval enable_$ac_useropt=\$ac_optarg ;;
996 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
997 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
998 | --exec | --exe | --ex)
999 ac_prev=exec_prefix ;;
1000 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1001 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1002 | --exec=* | --exe=* | --ex=*)
1003 exec_prefix=$ac_optarg ;;
1005 -gas | --gas | --ga | --g)
1006 # Obsolete; use --with-gas.
1009 -help | --help | --hel | --he | -h)
1010 ac_init_help=long ;;
1011 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1012 ac_init_help=recursive ;;
1013 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1014 ac_init_help=short ;;
1016 -host | --host | --hos | --ho)
1017 ac_prev=host_alias ;;
1018 -host=* | --host=* | --hos=* | --ho=*)
1019 host_alias=$ac_optarg ;;
1021 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1023 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1025 htmldir=$ac_optarg ;;
1027 -includedir | --includedir | --includedi | --included | --include \
1028 | --includ | --inclu | --incl | --inc)
1029 ac_prev=includedir ;;
1030 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1031 | --includ=* | --inclu=* | --incl=* | --inc=*)
1032 includedir=$ac_optarg ;;
1034 -infodir | --infodir | --infodi | --infod | --info | --inf)
1036 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1037 infodir=$ac_optarg ;;
1039 -libdir | --libdir | --libdi | --libd)
1041 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1042 libdir=$ac_optarg ;;
1044 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1045 | --libexe | --libex | --libe)
1046 ac_prev=libexecdir ;;
1047 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1048 | --libexe=* | --libex=* | --libe=*)
1049 libexecdir=$ac_optarg ;;
1051 -localedir | --localedir | --localedi | --localed | --locale)
1052 ac_prev=localedir ;;
1053 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1054 localedir=$ac_optarg ;;
1056 -localstatedir | --localstatedir | --localstatedi | --localstated \
1057 | --localstate | --localstat | --localsta | --localst | --locals)
1058 ac_prev=localstatedir ;;
1059 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1060 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1061 localstatedir=$ac_optarg ;;
1063 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1065 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1066 mandir=$ac_optarg ;;
1068 -nfp | --nfp | --nf)
1069 # Obsolete; use --without-fp.
1072 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1073 | --no-cr | --no-c | -n)
1076 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1077 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1080 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1081 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1082 | --oldin | --oldi | --old | --ol | --o)
1083 ac_prev=oldincludedir ;;
1084 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1085 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1086 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1087 oldincludedir=$ac_optarg ;;
1089 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1091 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1092 prefix=$ac_optarg ;;
1094 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1095 | --program-pre | --program-pr | --program-p)
1096 ac_prev=program_prefix ;;
1097 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1098 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1099 program_prefix=$ac_optarg ;;
1101 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1102 | --program-suf | --program-su | --program-s)
1103 ac_prev=program_suffix ;;
1104 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1105 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1106 program_suffix=$ac_optarg ;;
1108 -program-transform-name | --program-transform-name \
1109 | --program-transform-nam | --program-transform-na \
1110 | --program-transform-n | --program-transform- \
1111 | --program-transform | --program-transfor \
1112 | --program-transfo | --program-transf \
1113 | --program-trans | --program-tran \
1114 | --progr-tra | --program-tr | --program-t)
1115 ac_prev=program_transform_name ;;
1116 -program-transform-name=* | --program-transform-name=* \
1117 | --program-transform-nam=* | --program-transform-na=* \
1118 | --program-transform-n=* | --program-transform-=* \
1119 | --program-transform=* | --program-transfor=* \
1120 | --program-transfo=* | --program-transf=* \
1121 | --program-trans=* | --program-tran=* \
1122 | --progr-tra=* | --program-tr=* | --program-t=*)
1123 program_transform_name=$ac_optarg ;;
1125 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1127 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1128 pdfdir=$ac_optarg ;;
1130 -psdir | --psdir | --psdi | --psd | --ps)
1132 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1136 | -silent | --silent | --silen | --sile | --sil)
1139 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1141 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1143 sbindir=$ac_optarg ;;
1145 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1146 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1147 | --sharedst | --shareds | --shared | --share | --shar \
1149 ac_prev=sharedstatedir ;;
1150 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1151 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1152 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1154 sharedstatedir=$ac_optarg ;;
1156 -site | --site | --sit)
1158 -site=* | --site=* | --sit=*)
1161 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1163 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1164 srcdir=$ac_optarg ;;
1166 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1167 | --syscon | --sysco | --sysc | --sys | --sy)
1168 ac_prev=sysconfdir ;;
1169 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1170 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1171 sysconfdir=$ac_optarg ;;
1173 -target | --target | --targe | --targ | --tar | --ta | --t)
1174 ac_prev=target_alias ;;
1175 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1176 target_alias=$ac_optarg ;;
1178 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1181 -version | --version | --versio | --versi | --vers | -V)
1182 ac_init_version=: ;;
1185 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1188 as_fn_error $? "invalid package name: $ac_useropt"
1189 ac_useropt_orig=$ac_useropt
1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1195 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1196 ac_unrecognized_sep=', ';;
1198 eval with_$ac_useropt=\$ac_optarg ;;
1200 -without-* | --without-*)
1201 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1204 as_fn_error $? "invalid package name: $ac_useropt"
1205 ac_useropt_orig=$ac_useropt
1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1212 ac_unrecognized_sep=', ';;
1214 eval with_$ac_useropt=no ;;
1217 # Obsolete; use --with-x.
1220 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1221 | --x-incl | --x-inc | --x-in | --x-i)
1222 ac_prev=x_includes ;;
1223 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1224 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1225 x_includes=$ac_optarg ;;
1227 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1228 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1229 ac_prev=x_libraries ;;
1230 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1231 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1232 x_libraries=$ac_optarg ;;
1234 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1235 Try \`$0 --help' for more information"
1239 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1240 # Reject names that are not valid shell variable names.
1241 case $ac_envvar in #(
1242 '' | [0-9]* | *[!_$as_cr_alnum]* )
1243 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1245 eval $ac_envvar=\$ac_optarg
1246 export $ac_envvar ;;
1249 # FIXME: should be removed in autoconf 3.0.
1250 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1253 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1259 if test -n "$ac_prev"; then
1260 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1261 as_fn_error $? "missing argument to $ac_option"
1264 if test -n "$ac_unrecognized_opts"; then
1265 case $enable_option_checking in
1267 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 # Check all directory arguments for consistency.
1273 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1278 eval ac_val=\$$ac_var
1279 # Remove trailing slashes.
1282 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283 eval $ac_var=\$ac_val;;
1285 # Be sure to have absolute directory names.
1287 [\\/$]* | ?:[\\/]* ) continue;;
1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1290 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1293 # There might be people who depend on the old broken behavior: `$host'
1294 # used to hold the argument of --host etc.
1295 # FIXME: To remove some day.
1298 target=$target_alias
1300 # FIXME: To remove some day.
1301 if test "x$host_alias" != x; then
1302 if test "x$build_alias" = x; then
1303 cross_compiling=maybe
1304 elif test "x$build_alias" != "x$host_alias"; then
1310 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1312 test "$silent" = yes && exec 6>/dev/null
1315 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1316 ac_ls_di=`ls -di .` &&
1317 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1318 as_fn_error $? "working directory cannot be determined"
1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1320 as_fn_error $? "pwd does not report name of working directory"
1323 # Find the source files, if location was not specified.
1324 if test -z "$srcdir"; then
1325 ac_srcdir_defaulted=yes
1326 # Try the directory containing this script, then the parent directory.
1327 ac_confdir=`$as_dirname -- "$as_myself" ||
1328 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1329 X"$as_myself" : 'X\(//\)[^/]' \| \
1330 X"$as_myself" : 'X\(//\)$' \| \
1331 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1332 $as_echo X"$as_myself" |
1333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1355 ac_srcdir_defaulted=no
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1358 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1359 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1361 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1363 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1365 # When building in place, set srcdir=.
1366 if test "$ac_abs_confdir" = "$ac_pwd"; then
1369 # Remove unnecessary trailing slashes from srcdir.
1370 # Double slashes in file names in object file debugging info
1371 # mess up M-x gdb in Emacs.
1373 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1375 for ac_var in $ac_precious_vars; do
1376 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1377 eval ac_env_${ac_var}_value=\$${ac_var}
1378 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1379 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1383 # Report the --help message.
1385 if test "$ac_init_help" = "long"; then
1386 # Omit some internal or obsolete options to make the list less imposing.
1387 # This message is too long to be a string in the A/UX 3.1 sh.
1389 \`configure' configures GNU Libtool 2.4.6 to adapt to many kinds of systems.
1391 Usage: $0 [OPTION]... [VAR=VALUE]...
1393 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1394 VAR=VALUE. See below for descriptions of some of the useful variables.
1396 Defaults for the options are specified in brackets.
1399 -h, --help display this help and exit
1400 --help=short display options specific to this package
1401 --help=recursive display the short help of all the included packages
1402 -V, --version display version information and exit
1403 -q, --quiet, --silent do not print \`checking ...' messages
1404 --cache-file=FILE cache test results in FILE [disabled]
1405 -C, --config-cache alias for \`--cache-file=config.cache'
1406 -n, --no-create do not create output files
1407 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1409 Installation directories:
1410 --prefix=PREFIX install architecture-independent files in PREFIX
1411 [$ac_default_prefix]
1412 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1415 By default, \`make install' will install all the files in
1416 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1417 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1418 for instance \`--prefix=\$HOME'.
1420 For better control, use the options below.
1422 Fine tuning of the installation directories:
1423 --bindir=DIR user executables [EPREFIX/bin]
1424 --sbindir=DIR system admin executables [EPREFIX/sbin]
1425 --libexecdir=DIR program executables [EPREFIX/libexec]
1426 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1427 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1428 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1429 --libdir=DIR object code libraries [EPREFIX/lib]
1430 --includedir=DIR C header files [PREFIX/include]
1431 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1432 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1433 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1434 --infodir=DIR info documentation [DATAROOTDIR/info]
1435 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1436 --mandir=DIR man documentation [DATAROOTDIR/man]
1437 --docdir=DIR documentation root [DATAROOTDIR/doc/libtool]
1438 --htmldir=DIR html documentation [DOCDIR]
1439 --dvidir=DIR dvi documentation [DOCDIR]
1440 --pdfdir=DIR pdf documentation [DOCDIR]
1441 --psdir=DIR ps documentation [DOCDIR]
1447 --program-prefix=PREFIX prepend PREFIX to installed program names
1448 --program-suffix=SUFFIX append SUFFIX to installed program names
1449 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1452 --build=BUILD configure for building on BUILD [guessed]
1453 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1457 if test -n "$ac_init_help"; then
1458 case $ac_init_help in
1459 short | recursive ) echo "Configuration of GNU Libtool 2.4.6:";;
1464 --disable-option-checking ignore unrecognized --enable/--with options
1465 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1466 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1467 --enable-silent-rules less verbose build output (undo: "make V=1")
1468 --disable-silent-rules verbose build output (undo: "make V=0")
1469 --disable-ltdl-install do not install libltdl
1470 --enable-dependency-tracking
1471 do not reject slow dependency extractors
1472 --disable-dependency-tracking
1473 speeds up one-time build
1474 --enable-shared[=PKGS] build shared libraries [default=yes]
1475 --enable-static[=PKGS] build static libraries [default=yes]
1476 --enable-fast-install[=PKGS]
1477 optimize for fast installation [default=yes]
1478 --disable-libtool-lock avoid locking (might break parallel builds)
1479 --enable-ltdl-install install libltdl
1482 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1483 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1484 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1486 --with-aix-soname=aix|svr4|both
1487 shared library versioning (aka "SONAME") variant to
1488 provide on AIX, [default=aix].
1489 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1490 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1491 compiler's sysroot if not specified).
1493 Some influential environment variables:
1494 M4 Location of GNU M4 1.4.6 or later. Defaults to the first program
1495 of 'm4', 'gm4', or 'gnum4' on PATH that meets Autoconf needs.
1496 CC C compiler command
1497 CFLAGS C compiler flags
1498 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1499 nonstandard directory <lib dir>
1500 LIBS libraries to pass to the linker, e.g. -l<library>
1501 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1502 you have headers in a nonstandard directory <include dir>
1505 User-defined run-time library search path.
1506 CXX C++ compiler command
1507 CXXFLAGS C++ compiler flags
1508 CXXCPP C++ preprocessor
1509 F77 Fortran 77 compiler command
1510 FFLAGS Fortran 77 compiler flags
1511 FC Fortran compiler command
1512 FCFLAGS Fortran compiler flags
1514 Use these variables to override the choices made by `configure' or to help
1515 it to find libraries and programs with nonstandard names/locations.
1517 Report bugs to <bug-libtool@gnu.org>.
1518 GNU Libtool home page: <http://www.gnu.org/software/libtool/>.
1519 General help using GNU software: <http://www.gnu.org/gethelp/>.
1524 if test "$ac_init_help" = "recursive"; then
1525 # If there are subdirs, report their specific --help.
1526 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1527 test -d "$ac_dir" ||
1528 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1536 # A ".." for each directory in $ac_dir_suffix.
1537 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1538 case $ac_top_builddir_sub in
1539 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1543 ac_abs_top_builddir=$ac_pwd
1544 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1545 # for backward compatibility:
1546 ac_top_builddir=$ac_top_build_prefix
1549 .) # We are building in place.
1551 ac_top_srcdir=$ac_top_builddir_sub
1552 ac_abs_top_srcdir=$ac_pwd ;;
1553 [\\/]* | ?:[\\/]* ) # Absolute name.
1554 ac_srcdir=$srcdir$ac_dir_suffix;
1555 ac_top_srcdir=$srcdir
1556 ac_abs_top_srcdir=$srcdir ;;
1558 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1559 ac_top_srcdir=$ac_top_build_prefix$srcdir
1560 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1562 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1564 cd "$ac_dir" || { ac_status=$?; continue; }
1565 # Check for guested configure.
1566 if test -f "$ac_srcdir/configure.gnu"; then
1568 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1569 elif test -f "$ac_srcdir/configure"; then
1571 $SHELL "$ac_srcdir/configure" --help=recursive
1573 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1575 cd "$ac_pwd" || { ac_status=$?; break; }
1579 test -n "$ac_init_help" && exit $ac_status
1580 if $ac_init_version; then
1582 GNU Libtool configure 2.4.6
1583 generated by GNU Autoconf 2.69
1585 Copyright (C) 2012 Free Software Foundation, Inc.
1586 This configure script is free software; the Free Software Foundation
1587 gives unlimited permission to copy, distribute and modify it.
1592 ## ------------------------ ##
1593 ## Autoconf initialization. ##
1594 ## ------------------------ ##
1596 # ac_fn_c_try_compile LINENO
1597 # --------------------------
1598 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_c_try_compile ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 rm -f conftest.$ac_objext
1603 if { { ac_try="$ac_compile"
1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606 *) ac_try_echo=$ac_try;;
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_compile") 2>conftest.err
1612 if test -s conftest.err; then
1613 grep -v '^ *+' conftest.err >conftest.er1
1614 cat conftest.er1 >&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && {
1619 test -z "$ac_c_werror_flag" ||
1620 test ! -s conftest.err
1621 } && test -s conftest.$ac_objext; then :
1624 $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.$ac_ext >&5
1629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630 as_fn_set_status $ac_retval
1632 } # ac_fn_c_try_compile
1634 # ac_fn_c_try_cpp LINENO
1635 # ----------------------
1636 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640 if { { ac_try="$ac_cpp conftest.$ac_ext"
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1649 if test -s conftest.err; then
1650 grep -v '^ *+' conftest.err >conftest.er1
1651 cat conftest.er1 >&5
1652 mv -f conftest.er1 conftest.err
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; } > conftest.i && {
1656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1657 test ! -s conftest.err
1661 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1671 # ac_fn_c_try_link LINENO
1672 # -----------------------
1673 # Try to link conftest.$ac_ext, and return whether this succeeded.
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 rm -f conftest.$ac_objext conftest$ac_exeext
1678 if { { ac_try="$ac_link"
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_link") 2>conftest.err
1687 if test -s conftest.err; then
1688 grep -v '^ *+' conftest.err >conftest.er1
1689 cat conftest.er1 >&5
1690 mv -f conftest.er1 conftest.err
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && {
1694 test -z "$ac_c_werror_flag" ||
1695 test ! -s conftest.err
1696 } && test -s conftest$ac_exeext && {
1697 test "$cross_compiling" = yes ||
1698 test -x conftest$ac_exeext
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1707 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1708 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1709 # interfere with the next link command; also delete a directory that is
1710 # left behind by Apple's compiler. We do this before executing the actions.
1711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status $ac_retval
1715 } # ac_fn_c_try_link
1717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1718 # -------------------------------------------------------
1719 # Tests whether HEADER exists and can be compiled using the include files in
1720 # INCLUDES, setting the cache variable VAR accordingly.
1721 ac_fn_c_check_header_compile ()
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725 $as_echo_n "checking for $2... " >&6; }
1726 if eval \${$3+:} false; then :
1727 $as_echo_n "(cached) " >&6
1729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1730 /* end confdefs.h. */
1734 if ac_fn_c_try_compile "$LINENO"; then :
1739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1743 $as_echo "$ac_res" >&6; }
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746 } # ac_fn_c_check_header_compile
1748 # ac_fn_c_try_run LINENO
1749 # ----------------------
1750 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1751 # that executables *can* be run.
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 if { { ac_try="$ac_link"
1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_link") 2>&5
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1766 { { case "(($ac_try" in
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_try") 2>&5
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; }; }; then :
1778 $as_echo "$as_me: program exited with status $ac_status" >&5
1779 $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1782 ac_retval=$ac_status
1784 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 as_fn_set_status $ac_retval
1790 # ac_fn_c_check_func LINENO FUNC VAR
1791 # ----------------------------------
1792 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1793 ac_fn_c_check_func ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if eval \${$3+:} false; then :
1799 $as_echo_n "(cached) " >&6
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1803 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1805 #define $2 innocuous_$2
1807 /* System header to define __stub macros and hopefully few prototypes,
1808 which can conflict with char $2 (); below.
1809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1810 <limits.h> exists even on freestanding compilers. */
1813 # include <limits.h>
1815 # include <assert.h>
1820 /* Override any GCC internal prototype to avoid an error.
1821 Use char because int might match the return type of a GCC
1822 builtin and then its argument prototype would still apply. */
1827 /* The GNU C library defines this for functions which it implements
1828 to always fail with ENOSYS. Some functions are actually named
1829 something starting with __ and the normal name is an alias. */
1830 #if defined __stub_$2 || defined __stub___$2
1842 if ac_fn_c_try_link "$LINENO"; then :
1847 rm -f core conftest.err conftest.$ac_objext \
1848 conftest$ac_exeext conftest.$ac_ext
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 } # ac_fn_c_check_func
1857 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1858 # ---------------------------------------------
1859 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1861 ac_fn_c_check_decl ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 as_decl_name=`echo $2|sed 's/ *(.*//'`
1865 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1867 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1868 if eval \${$3+:} false; then :
1869 $as_echo_n "(cached) " >&6
1871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1872 /* end confdefs.h. */
1877 #ifndef $as_decl_name
1879 (void) $as_decl_use;
1881 (void) $as_decl_name;
1889 if ac_fn_c_try_compile "$LINENO"; then :
1894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 $as_echo "$ac_res" >&6; }
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901 } # ac_fn_c_check_decl
1903 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1904 # -------------------------------------------
1905 # Tests whether TYPE exists after having included INCLUDES, setting cache
1906 # variable VAR accordingly.
1907 ac_fn_c_check_type ()
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if eval \${$3+:} false; then :
1913 $as_echo_n "(cached) " >&6
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1928 if ac_fn_c_try_compile "$LINENO"; then :
1929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930 /* end confdefs.h. */
1941 if ac_fn_c_try_compile "$LINENO"; then :
1946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952 $as_echo "$ac_res" >&6; }
1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 } # ac_fn_c_check_type
1957 # ac_fn_cxx_try_compile LINENO
1958 # ----------------------------
1959 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1960 ac_fn_cxx_try_compile ()
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 rm -f conftest.$ac_objext
1964 if { { ac_try="$ac_compile"
1966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1967 *) ac_try_echo=$ac_try;;
1969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1970 $as_echo "$ac_try_echo"; } >&5
1971 (eval "$ac_compile") 2>conftest.err
1973 if test -s conftest.err; then
1974 grep -v '^ *+' conftest.err >conftest.er1
1975 cat conftest.er1 >&5
1976 mv -f conftest.er1 conftest.err
1978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1979 test $ac_status = 0; } && {
1980 test -z "$ac_cxx_werror_flag" ||
1981 test ! -s conftest.err
1982 } && test -s conftest.$ac_objext; then :
1985 $as_echo "$as_me: failed program was:" >&5
1986 sed 's/^/| /' conftest.$ac_ext >&5
1990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1991 as_fn_set_status $ac_retval
1993 } # ac_fn_cxx_try_compile
1995 # ac_fn_cxx_try_cpp LINENO
1996 # ------------------------
1997 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1998 ac_fn_cxx_try_cpp ()
2000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2001 if { { ac_try="$ac_cpp conftest.$ac_ext"
2003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2004 *) ac_try_echo=$ac_try;;
2006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2007 $as_echo "$ac_try_echo"; } >&5
2008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2010 if test -s conftest.err; then
2011 grep -v '^ *+' conftest.err >conftest.er1
2012 cat conftest.er1 >&5
2013 mv -f conftest.er1 conftest.err
2015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2016 test $ac_status = 0; } > conftest.i && {
2017 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2018 test ! -s conftest.err
2022 $as_echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.$ac_ext >&5
2027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028 as_fn_set_status $ac_retval
2030 } # ac_fn_cxx_try_cpp
2032 # ac_fn_cxx_try_link LINENO
2033 # -------------------------
2034 # Try to link conftest.$ac_ext, and return whether this succeeded.
2035 ac_fn_cxx_try_link ()
2037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038 rm -f conftest.$ac_objext conftest$ac_exeext
2039 if { { ac_try="$ac_link"
2041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2042 *) ac_try_echo=$ac_try;;
2044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2045 $as_echo "$ac_try_echo"; } >&5
2046 (eval "$ac_link") 2>conftest.err
2048 if test -s conftest.err; then
2049 grep -v '^ *+' conftest.err >conftest.er1
2050 cat conftest.er1 >&5
2051 mv -f conftest.er1 conftest.err
2053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2054 test $ac_status = 0; } && {
2055 test -z "$ac_cxx_werror_flag" ||
2056 test ! -s conftest.err
2057 } && test -s conftest$ac_exeext && {
2058 test "$cross_compiling" = yes ||
2059 test -x conftest$ac_exeext
2063 $as_echo "$as_me: failed program was:" >&5
2064 sed 's/^/| /' conftest.$ac_ext >&5
2068 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2069 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2070 # interfere with the next link command; also delete a directory that is
2071 # left behind by Apple's compiler. We do this before executing the actions.
2072 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2073 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 as_fn_set_status $ac_retval
2076 } # ac_fn_cxx_try_link
2078 # ac_fn_f77_try_compile LINENO
2079 # ----------------------------
2080 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2081 ac_fn_f77_try_compile ()
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 rm -f conftest.$ac_objext
2085 if { { ac_try="$ac_compile"
2087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2088 *) ac_try_echo=$ac_try;;
2090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2091 $as_echo "$ac_try_echo"; } >&5
2092 (eval "$ac_compile") 2>conftest.err
2094 if test -s conftest.err; then
2095 grep -v '^ *+' conftest.err >conftest.er1
2096 cat conftest.er1 >&5
2097 mv -f conftest.er1 conftest.err
2099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2100 test $ac_status = 0; } && {
2101 test -z "$ac_f77_werror_flag" ||
2102 test ! -s conftest.err
2103 } && test -s conftest.$ac_objext; then :
2106 $as_echo "$as_me: failed program was:" >&5
2107 sed 's/^/| /' conftest.$ac_ext >&5
2111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2112 as_fn_set_status $ac_retval
2114 } # ac_fn_f77_try_compile
2116 # ac_fn_f77_try_link LINENO
2117 # -------------------------
2118 # Try to link conftest.$ac_ext, and return whether this succeeded.
2119 ac_fn_f77_try_link ()
2121 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2122 rm -f conftest.$ac_objext conftest$ac_exeext
2123 if { { ac_try="$ac_link"
2125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2126 *) ac_try_echo=$ac_try;;
2128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2129 $as_echo "$ac_try_echo"; } >&5
2130 (eval "$ac_link") 2>conftest.err
2132 if test -s conftest.err; then
2133 grep -v '^ *+' conftest.err >conftest.er1
2134 cat conftest.er1 >&5
2135 mv -f conftest.er1 conftest.err
2137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138 test $ac_status = 0; } && {
2139 test -z "$ac_f77_werror_flag" ||
2140 test ! -s conftest.err
2141 } && test -s conftest$ac_exeext && {
2142 test "$cross_compiling" = yes ||
2143 test -x conftest$ac_exeext
2147 $as_echo "$as_me: failed program was:" >&5
2148 sed 's/^/| /' conftest.$ac_ext >&5
2152 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2153 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2154 # interfere with the next link command; also delete a directory that is
2155 # left behind by Apple's compiler. We do this before executing the actions.
2156 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2158 as_fn_set_status $ac_retval
2160 } # ac_fn_f77_try_link
2162 # ac_fn_fc_try_compile LINENO
2163 # ---------------------------
2164 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2165 ac_fn_fc_try_compile ()
2167 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2168 rm -f conftest.$ac_objext
2169 if { { ac_try="$ac_compile"
2171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2172 *) ac_try_echo=$ac_try;;
2174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2175 $as_echo "$ac_try_echo"; } >&5
2176 (eval "$ac_compile") 2>conftest.err
2178 if test -s conftest.err; then
2179 grep -v '^ *+' conftest.err >conftest.er1
2180 cat conftest.er1 >&5
2181 mv -f conftest.er1 conftest.err
2183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2184 test $ac_status = 0; } && {
2185 test -z "$ac_fc_werror_flag" ||
2186 test ! -s conftest.err
2187 } && test -s conftest.$ac_objext; then :
2190 $as_echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.$ac_ext >&5
2195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2196 as_fn_set_status $ac_retval
2198 } # ac_fn_fc_try_compile
2200 # ac_fn_fc_try_link LINENO
2201 # ------------------------
2202 # Try to link conftest.$ac_ext, and return whether this succeeded.
2203 ac_fn_fc_try_link ()
2205 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2206 rm -f conftest.$ac_objext conftest$ac_exeext
2207 if { { ac_try="$ac_link"
2209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2210 *) ac_try_echo=$ac_try;;
2212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2213 $as_echo "$ac_try_echo"; } >&5
2214 (eval "$ac_link") 2>conftest.err
2216 if test -s conftest.err; then
2217 grep -v '^ *+' conftest.err >conftest.er1
2218 cat conftest.er1 >&5
2219 mv -f conftest.er1 conftest.err
2221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2222 test $ac_status = 0; } && {
2223 test -z "$ac_fc_werror_flag" ||
2224 test ! -s conftest.err
2225 } && test -s conftest$ac_exeext && {
2226 test "$cross_compiling" = yes ||
2227 test -x conftest$ac_exeext
2231 $as_echo "$as_me: failed program was:" >&5
2232 sed 's/^/| /' conftest.$ac_ext >&5
2236 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2237 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2238 # interfere with the next link command; also delete a directory that is
2239 # left behind by Apple's compiler. We do this before executing the actions.
2240 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2241 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2242 as_fn_set_status $ac_retval
2244 } # ac_fn_fc_try_link
2245 cat >config.log <<_ACEOF
2246 This file contains any messages produced by compilers while
2247 running configure, to aid debugging if configure makes a mistake.
2249 It was created by GNU Libtool $as_me 2.4.6, which was
2250 generated by GNU Autoconf 2.69. Invocation command line was
2262 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2263 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2264 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2265 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2266 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2268 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2269 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2271 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2272 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2273 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2274 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2275 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2276 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2277 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir=.
2286 $as_echo "PATH: $as_dir"
2302 # Keep a trace of the command line.
2303 # Strip out --no-create and --no-recursion so they do not pile up.
2304 # Strip out --silent because we don't want to record it for future runs.
2305 # Also quote any args containing shell meta-characters.
2306 # Make two passes to allow for proper duplicate-argument suppression.
2310 ac_must_keep_next=false
2316 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2318 | -silent | --silent | --silen | --sile | --sil)
2321 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2324 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2326 as_fn_append ac_configure_args1 " '$ac_arg'"
2327 if test $ac_must_keep_next = true; then
2328 ac_must_keep_next=false # Got value, back to normal.
2331 *=* | --config-cache | -C | -disable-* | --disable-* \
2332 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2333 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2334 | -with-* | --with-* | -without-* | --without-* | --x)
2335 case "$ac_configure_args0 " in
2336 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2339 -* ) ac_must_keep_next=true ;;
2342 as_fn_append ac_configure_args " '$ac_arg'"
2347 { ac_configure_args0=; unset ac_configure_args0;}
2348 { ac_configure_args1=; unset ac_configure_args1;}
2350 # When interrupted or exit'd, cleanup temporary files, and complete
2351 # config.log. We remove comments because anyway the quotes in there
2352 # would cause problems or look ugly.
2353 # WARNING: Use '\'' to represent an apostrophe within the trap.
2354 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2355 trap 'exit_status=$?
2356 # Save into config.log some information that might help in debugging.
2360 $as_echo "## ---------------- ##
2361 ## Cache variables. ##
2362 ## ---------------- ##"
2364 # The following way of writing the cache mishandles newlines in values,
2366 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2367 eval ac_val=\$$ac_var
2371 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2375 _ | IFS | as_nl) ;; #(
2376 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2377 *) { eval $ac_var=; unset $ac_var;} ;;
2382 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2383 *${as_nl}ac_space=\ *)
2385 "s/'\''/'\''\\\\'\'''\''/g;
2386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2389 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2396 $as_echo "## ----------------- ##
2397 ## Output variables. ##
2398 ## ----------------- ##"
2400 for ac_var in $ac_subst_vars
2402 eval ac_val=\$$ac_var
2404 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2406 $as_echo "$ac_var='\''$ac_val'\''"
2410 if test -n "$ac_subst_files"; then
2411 $as_echo "## ------------------- ##
2412 ## File substitutions. ##
2413 ## ------------------- ##"
2415 for ac_var in $ac_subst_files
2417 eval ac_val=\$$ac_var
2419 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2421 $as_echo "$ac_var='\''$ac_val'\''"
2426 if test -s confdefs.h; then
2427 $as_echo "## ----------- ##
2434 test "$ac_signal" != 0 &&
2435 $as_echo "$as_me: caught signal $ac_signal"
2436 $as_echo "$as_me: exit $exit_status"
2438 rm -f core *.core core.conftest.* &&
2439 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2442 for ac_signal in 1 2 13 15; do
2443 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2447 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2448 rm -f -r conftest* confdefs.h
2450 $as_echo "/* confdefs.h */" > confdefs.h
2452 # Predefined preprocessor variables.
2454 cat >>confdefs.h <<_ACEOF
2455 #define PACKAGE_NAME "$PACKAGE_NAME"
2458 cat >>confdefs.h <<_ACEOF
2459 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2462 cat >>confdefs.h <<_ACEOF
2463 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2466 cat >>confdefs.h <<_ACEOF
2467 #define PACKAGE_STRING "$PACKAGE_STRING"
2470 cat >>confdefs.h <<_ACEOF
2471 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2474 cat >>confdefs.h <<_ACEOF
2475 #define PACKAGE_URL "$PACKAGE_URL"
2479 # Let the site file select an alternate cache file if it wants to.
2480 # Prefer an explicitly selected file to automatically selected ones.
2483 if test -n "$CONFIG_SITE"; then
2484 # We do not want a PATH search for config.site.
2485 case $CONFIG_SITE in #((
2486 -*) ac_site_file1=./$CONFIG_SITE;;
2487 */*) ac_site_file1=$CONFIG_SITE;;
2488 *) ac_site_file1=./$CONFIG_SITE;;
2490 elif test "x$prefix" != xNONE; then
2491 ac_site_file1=$prefix/share/config.site
2492 ac_site_file2=$prefix/etc/config.site
2494 ac_site_file1=$ac_default_prefix/share/config.site
2495 ac_site_file2=$ac_default_prefix/etc/config.site
2497 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2499 test "x$ac_site_file" = xNONE && continue
2500 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2502 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2503 sed 's/^/| /' "$ac_site_file" >&5
2505 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2507 as_fn_error $? "failed to load site script $ac_site_file
2508 See \`config.log' for more details" "$LINENO" 5; }
2512 if test -r "$cache_file"; then
2513 # Some versions of bash will fail to source /dev/null (special files
2514 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2515 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2517 $as_echo "$as_me: loading cache $cache_file" >&6;}
2519 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2520 *) . "./$cache_file";;
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2525 $as_echo "$as_me: creating cache $cache_file" >&6;}
2529 # Check that the precious variables saved in the cache have kept the same
2531 ac_cache_corrupted=false
2532 for ac_var in $ac_precious_vars; do
2533 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2534 eval ac_new_set=\$ac_env_${ac_var}_set
2535 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2536 eval ac_new_val=\$ac_env_${ac_var}_value
2537 case $ac_old_set,$ac_new_set in
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2540 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2541 ac_cache_corrupted=: ;;
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2544 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2545 ac_cache_corrupted=: ;;
2548 if test "x$ac_old_val" != "x$ac_new_val"; then
2549 # differences in whitespace do not lead to failure.
2550 ac_old_val_w=`echo x $ac_old_val`
2551 ac_new_val_w=`echo x $ac_new_val`
2552 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2554 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2555 ac_cache_corrupted=:
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2558 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2559 eval $ac_var=\$ac_old_val
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2562 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2564 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2567 # Pass precious variables to config.status.
2568 if test "$ac_new_set" = set; then
2570 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2571 *) ac_arg=$ac_var=$ac_new_val ;;
2573 case " $ac_configure_args " in
2574 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2575 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2579 if $ac_cache_corrupted; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2583 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2584 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2586 ## -------------------- ##
2587 ## Main body of script. ##
2588 ## -------------------- ##
2591 ac_cpp='$CPP $CPPFLAGS'
2592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2599 # Remove this when a released Autoconf is capable of bootstrapping
2600 # Libtool without it (probably after autoconf-2.70).
2603 # Since we already declare these directories in this file, save those
2604 # choices, and push the results into Makefile.am to avoid declaring
2605 # them in two places making renames error prone, and where copies
2606 # might get out of sync.
2611 ac_config_headers="$ac_config_headers config.h:config-h.in"
2623 for ac_dir in build-aux "$srcdir"/build-aux; do
2624 if test -f "$ac_dir/install-sh"; then
2626 ac_install_sh="$ac_aux_dir/install-sh -c"
2628 elif test -f "$ac_dir/install.sh"; then
2630 ac_install_sh="$ac_aux_dir/install.sh -c"
2632 elif test -f "$ac_dir/shtool"; then
2634 ac_install_sh="$ac_aux_dir/shtool install -c"
2638 if test -z "$ac_aux_dir"; then
2639 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2642 # These three variables are undocumented and unsupported,
2643 # and are intended to be withdrawn in a future Autoconf release.
2644 # They can cause serious problems if a builder's source tree is in a directory
2645 # whose full name contains unusual characters.
2646 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2647 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2648 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2656 package_revision=`$SHELL $ac_aux_dir/git-version-gen .tarball-version`
2659 ## ------------------------ ##
2660 ## Autotest initialisation. ##
2661 ## ------------------------ ##
2663 ac_config_commands="$ac_config_commands tests/atconfig"
2665 AUTOM4TE=${AUTOM4TE=autom4te}
2667 AUTOTEST='$(AUTOM4TE) --language=autotest'
2671 ## ---------------------------------------- ##
2672 ## Display a configure time version banner. ##
2673 ## ---------------------------------------- ##
2675 # This is a sanity check so we can see what version is used in bug reports.
2676 $as_echo "## ------------------------- ##
2677 ## Configuring libtool 2.4.6 ##
2678 ## ------------------------- ##"
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU M4 that supports accurate traces" >&5
2688 $as_echo_n "checking for GNU M4 that supports accurate traces... " >&6; }
2689 if ${ac_cv_path_M4+:} false; then :
2690 $as_echo_n "(cached) " >&6
2693 ac_had_posixly_correct=${POSIXLY_CORRECT:+yes}
2694 { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}
2695 if test -z "$M4"; then
2696 ac_path_M4_found=false
2697 # Loop through the user's path and test for each of PROGNAME-LIST
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir=.
2703 for ac_prog in m4 gm4 gnum4; do
2704 for ac_exec_ext in '' $ac_executable_extensions; do
2705 ac_path_M4="$as_dir/$ac_prog$ac_exec_ext"
2706 as_fn_executable_p "$ac_path_M4" || continue
2707 # Root out GNU M4 1.4.5, as well as non-GNU m4 that ignore -t, -F.
2708 # Root out GNU M4 1.4.15 with buggy false negative replacement strstr.
2709 # Root out Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 with buggy
2710 # false positive strstr.
2711 ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)'
2712 ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl
2713 ac_snippet=$ac_snippet${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)'
2714 ac_snippet=$ac_snippet${as_nl}if'else(in''dex(;:11-:12-:12-:12-:12-:12-:12-:12-:12.:12.:12.:12.:12.:12.:12.:12.:12-,:12-:12-:12-:12-:12-:12-:12-:12-),-1,,strstr-bug2)'
2715 test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
2716 && test -z "`$as_echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
2717 && test -f conftest.m4f \
2718 && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
2720 $ac_path_M4_found && break 3
2725 if test -z "$ac_cv_path_M4"; then
2726 as_fn_error $? "no acceptable m4 could be found in \$PATH.
2727 GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.
2728 GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
2729 Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug." "$LINENO" 5
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_M4" >&5
2737 $as_echo "$ac_cv_path_M4" >&6; }
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ac_cv_path_M4 accepts --gnu" >&5
2740 $as_echo_n "checking whether $ac_cv_path_M4 accepts --gnu... " >&6; }
2741 if ${ac_cv_prog_gnu_m4_gnu+:} false; then :
2742 $as_echo_n "(cached) " >&6
2744 case `$M4 --help < /dev/null 2>&1` in
2745 *--gnu*) ac_cv_prog_gnu_m4_gnu=yes ;;
2746 *) ac_cv_prog_gnu_m4_gnu=no ;;
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_gnu" >&5
2750 $as_echo "$ac_cv_prog_gnu_m4_gnu" >&6; }
2751 if test yes = "$ac_cv_prog_gnu_m4_gnu"; then
2757 if test yes = "$ac_had_posixly_correct"; then
2759 if test no = $ac_cv_prog_gnu_m4_gnu; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the version of M4 that was found does not support -g" >&5
2761 $as_echo "$as_me: WARNING: the version of M4 that was found does not support -g" >&2;}
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&5
2763 $as_echo "$as_me: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&2;}
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how m4 supports trace files" >&5
2767 $as_echo_n "checking how m4 supports trace files... " >&6; }
2768 if ${ac_cv_prog_gnu_m4_debugfile+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 case `$M4 --help < /dev/null 2>&1` in
2772 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2773 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2777 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2778 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2783 ## ------------------------ ##
2784 ## Automake Initialisation. ##
2785 ## ------------------------ ##
2787 am__api_version='1.15'
2789 # Find a good install program. We prefer a C program (faster),
2790 # so one script is as good as another. But avoid the broken or
2791 # incompatible versions:
2792 # SysV /etc/install, /usr/sbin/install
2793 # SunOS /usr/etc/install
2794 # IRIX /sbin/install
2796 # AmigaOS /C/install, which installs bootblocks on floppy discs
2797 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2798 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2799 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2800 # OS/2's system install, which has a completely different semantic
2801 # ./install, which can be erroneously created by make from ./install.sh.
2802 # Reject install programs that cannot install multiple files.
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2804 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2805 if test -z "$INSTALL"; then
2806 if ${ac_cv_path_install+:} false; then :
2807 $as_echo_n "(cached) " >&6
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 # Account for people who put trailing slashes in PATH elements.
2815 case $as_dir/ in #((
2816 ./ | .// | /[cC]/* | \
2817 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2818 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2821 # OSF1 and SCO ODT 3.0 have their own names for install.
2822 # Don't use installbsd from OSF since it installs stuff as root
2824 for ac_prog in ginstall scoinst install; do
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2827 if test $ac_prog = install &&
2828 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2829 # AIX install. It has an incompatible calling convention.
2831 elif test $ac_prog = install &&
2832 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2833 # program-specific install script used by HP pwplus--don't use.
2836 rm -rf conftest.one conftest.two conftest.dir
2837 echo one > conftest.one
2838 echo two > conftest.two
2840 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2841 test -s conftest.one && test -s conftest.two &&
2842 test -s conftest.dir/conftest.one &&
2843 test -s conftest.dir/conftest.two
2845 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2858 rm -rf conftest.one conftest.two conftest.dir
2861 if test "${ac_cv_path_install+set}" = set; then
2862 INSTALL=$ac_cv_path_install
2864 # As a last resort, use the slow shell script. Don't cache a
2865 # value for INSTALL within a source directory, because that will
2866 # break other packages using the cache if that directory is
2867 # removed, or if the value is a relative name.
2868 INSTALL=$ac_install_sh
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2872 $as_echo "$INSTALL" >&6; }
2874 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2875 # It thinks the first close brace ends the variable substitution.
2876 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2878 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2880 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2883 $as_echo_n "checking whether build environment is sane... " >&6; }
2884 # Reject unsafe characters in $srcdir or the absolute working directory
2885 # name. Accept space and tab only in the latter.
2889 *[\\\"\#\$\&\'\`$am_lf]*)
2890 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2893 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2894 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2897 # Do 'set' in a subshell so we don't clobber the current shell's
2898 # arguments. Must try -L first in case configure is actually a
2899 # symlink; some systems play weird games with the mod time of symlinks
2900 # (eg FreeBSD returns the mod time of the symlink's containing
2904 for am_try in 1 2; do
2905 echo "timestamp, slept: $am_has_slept" > conftest.file
2906 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2907 if test "$*" = "X"; then
2909 set X `ls -t "$srcdir/configure" conftest.file`
2911 if test "$*" != "X $srcdir/configure conftest.file" \
2912 && test "$*" != "X conftest.file $srcdir/configure"; then
2914 # If neither matched, then we have a broken ls. This can happen
2915 # if, for instance, CONFIG_SHELL is bash and it inherits a
2916 # broken ls alias from the environment. This has actually
2917 # happened. Such a system could not be considered "sane".
2918 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2919 alias in your environment" "$LINENO" 5
2921 if test "$2" = conftest.file || test $am_try -eq 2; then
2928 test "$2" = conftest.file
2934 as_fn_error $? "newly created file is older than distributed files!
2935 Check your system clock" "$LINENO" 5
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2938 $as_echo "yes" >&6; }
2939 # If we didn't sleep, we still need to ensure time stamps of config.status and
2940 # generated files are strictly newer.
2942 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2949 test "$program_prefix" != NONE &&
2950 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2951 # Use a double $ so make ignores it.
2952 test "$program_suffix" != NONE &&
2953 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2954 # Double any \ or $.
2955 # By default was `s,x,x', remove it if useless.
2956 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2957 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2959 # Expand $ac_aux_dir to an absolute path.
2960 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2962 if test x"${MISSING+set}" != xset; then
2965 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2967 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2970 # Use eval to expand $SHELL
2971 if eval "$MISSING --is-lightweight"; then
2972 am_missing_run="$MISSING "
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2976 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2979 if test x"${install_sh+set}" != xset; then
2982 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2984 install_sh="\${SHELL} $am_aux_dir/install-sh"
2988 # Installed binaries are usually stripped using 'strip' when the user
2989 # run "make install-strip". However 'strip' might not be the right
2990 # tool to use in cross-compilation environments, therefore Automake
2991 # will honor the 'STRIP' environment variable to overrule this program.
2992 if test "$cross_compiling" != no; then
2993 if test -n "$ac_tool_prefix"; then
2994 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2995 set dummy ${ac_tool_prefix}strip; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if ${ac_cv_prog_STRIP+:} false; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$STRIP"; then
3002 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3011 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 STRIP=$ac_cv_prog_STRIP
3022 if test -n "$STRIP"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3024 $as_echo "$STRIP" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3032 if test -z "$ac_cv_prog_STRIP"; then
3034 # Extract the first word of "strip", so it can be a program name with args.
3035 set dummy strip; ac_word=$2
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3039 $as_echo_n "(cached) " >&6
3041 if test -n "$ac_ct_STRIP"; then
3042 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3051 ac_cv_prog_ac_ct_STRIP="strip"
3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3062 if test -n "$ac_ct_STRIP"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3064 $as_echo "$ac_ct_STRIP" >&6; }
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
3070 if test "x$ac_ct_STRIP" = x; then
3073 case $cross_compiling:$ac_tool_warned in
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3077 ac_tool_warned=yes ;;
3082 STRIP="$ac_cv_prog_STRIP"
3086 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3089 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3090 if test -z "$MKDIR_P"; then
3091 if ${ac_cv_path_mkdir+:} false; then :
3092 $as_echo_n "(cached) " >&6
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3098 test -z "$as_dir" && as_dir=.
3099 for ac_prog in mkdir gmkdir; do
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3102 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3103 'mkdir (GNU coreutils) '* | \
3104 'mkdir (coreutils) '* | \
3105 'mkdir (fileutils) '4.1*)
3106 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3116 test -d ./--version && rmdir ./--version
3117 if test "${ac_cv_path_mkdir+set}" = set; then
3118 MKDIR_P="$ac_cv_path_mkdir -p"
3120 # As a last resort, use the slow shell script. Don't cache a
3121 # value for MKDIR_P within a source directory, because that will
3122 # break other packages using the cache if that directory is
3123 # removed, or if the value is a relative name.
3124 MKDIR_P="$ac_install_sh -d"
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3128 $as_echo "$MKDIR_P" >&6; }
3130 for ac_prog in gawk mawk nawk awk
3132 # Extract the first word of "$ac_prog", so it can be a program name with args.
3133 set dummy $ac_prog; ac_word=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if ${ac_cv_prog_AWK+:} false; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$AWK"; then
3140 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir=.
3147 for ac_exec_ext in '' $ac_executable_extensions; do
3148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3149 ac_cv_prog_AWK="$ac_prog"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 if test -n "$AWK"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3162 $as_echo "$AWK" >&6; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3169 test -n "$AWK" && break
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3173 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3175 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3176 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3177 $as_echo_n "(cached) " >&6
3179 cat >conftest.make <<\_ACEOF
3182 @echo '@@@%%%=$(MAKE)=@@@%%%'
3184 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3185 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3187 eval ac_cv_prog_make_${ac_make}_set=yes;;
3189 eval ac_cv_prog_make_${ac_make}_set=no;;
3193 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3195 $as_echo "yes" >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 $as_echo "no" >&6; }
3200 SET_MAKE="MAKE=${MAKE-make}"
3203 rm -rf .tst 2>/dev/null
3204 mkdir .tst 2>/dev/null
3205 if test -d .tst; then
3210 rmdir .tst 2>/dev/null
3212 # Check whether --enable-silent-rules was given.
3213 if test "${enable_silent_rules+set}" = set; then :
3214 enableval=$enable_silent_rules;
3217 case $enable_silent_rules in # (((
3218 yes) AM_DEFAULT_VERBOSITY=0;;
3219 no) AM_DEFAULT_VERBOSITY=1;;
3220 *) AM_DEFAULT_VERBOSITY=1;;
3222 am_make=${MAKE-make}
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3224 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3225 if ${am_cv_make_support_nested_variables+:} false; then :
3226 $as_echo_n "(cached) " >&6
3228 if $as_echo 'TRUE=$(BAR$(V))
3234 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3235 am_cv_make_support_nested_variables=yes
3237 am_cv_make_support_nested_variables=no
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3241 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3242 if test $am_cv_make_support_nested_variables = yes; then
3244 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3246 AM_V=$AM_DEFAULT_VERBOSITY
3247 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3251 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3252 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3253 # is not polluted with repeated "-I."
3254 am__isrc=' -I$(srcdir)'
3255 # test to see if srcdir already configured
3256 if test -f $srcdir/config.status; then
3257 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3261 # test whether we have cygpath
3262 if test -z "$CYGPATH_W"; then
3263 if (cygpath --version) >/dev/null 2>/dev/null; then
3264 CYGPATH_W='cygpath -w'
3271 # Define the identity of the package.
3276 cat >>confdefs.h <<_ACEOF
3277 #define PACKAGE "$PACKAGE"
3281 cat >>confdefs.h <<_ACEOF
3282 #define VERSION "$VERSION"
3285 # Some tools Automake needs.
3287 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3290 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3293 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3296 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3299 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3301 # For better backward compatibility. To be removed once Automake 1.9.x
3302 # dies out for good. For more background, see:
3303 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3304 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3305 mkdir_p='$(MKDIR_P)'
3307 # We need awk for the "check" target (and possibly the TAP driver). The
3308 # system "awk" is bad on some platforms.
3309 # Always define AMTAR for backward compatibility. Yes, it's still used
3310 # in the wild :-( We should find a proper way to deprecate it ...
3314 # We'll loop over all known methods to create a tar archive until one works.
3315 _am_tools='gnutar pax cpio none'
3317 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3324 # POSIX will say in a future version that running "rm -f" with no argument
3325 # is OK; and we want to be able to make that assumption in our Makefile
3326 # recipes. So use an aggressive probe to check that the usage we want is
3327 # actually supported "in the wild" to an acceptable degree.
3328 # See automake bug#10828.
3329 # To make any issue more visible, cause the running configure to be aborted
3330 # by default if the 'rm' program in use doesn't match our expectations; the
3331 # user can still override this though.
3332 if rm -f && rm -fr && rm -rf; then : OK; else
3336 Your 'rm' program seems unable to run without file operands specified
3337 on the command line, even when the '-f' option is present. This is contrary
3338 to the behaviour of most rm programs out there, and not conforming with
3339 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3341 Please tell bug-automake@gnu.org about your system, including the value
3342 of your $PATH and any error possibly output before this message. This
3343 can help us improve future automake versions.
3346 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3347 echo 'Configuration will proceed anyway, since you have set the' >&2
3348 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3352 Aborting the configuration process, to ensure you take notice of the issue.
3354 You can download and install GNU coreutils to get an 'rm' implementation
3355 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3357 If you want to complete the configuration process using your problematic
3358 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3359 to "yes", and re-run configure.
3362 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3366 # Check whether --enable-silent-rules was given.
3367 if test "${enable_silent_rules+set}" = set; then :
3368 enableval=$enable_silent_rules;
3371 case $enable_silent_rules in # (((
3372 yes) AM_DEFAULT_VERBOSITY=0;;
3373 no) AM_DEFAULT_VERBOSITY=1;;
3374 *) AM_DEFAULT_VERBOSITY=0;;
3376 am_make=${MAKE-make}
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3378 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3379 if ${am_cv_make_support_nested_variables+:} false; then :
3380 $as_echo_n "(cached) " >&6
3382 if $as_echo 'TRUE=$(BAR$(V))
3388 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3389 am_cv_make_support_nested_variables=yes
3391 am_cv_make_support_nested_variables=no
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3395 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3396 if test $am_cv_make_support_nested_variables = yes; then
3398 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3400 AM_V=$AM_DEFAULT_VERBOSITY
3401 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3407 ## ------------------------- ##
3408 ## Autobuild initialisation. ##
3409 ## ------------------------- ##
3411 # You can set autobuild_mode at configure time to specify a "unique"
3412 # string for this build.
3413 : ${autobuild_mode=default}
3415 # Make sure we can run config.sub.
3416 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3417 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3420 $as_echo_n "checking build system type... " >&6; }
3421 if ${ac_cv_build+:} false; then :
3422 $as_echo_n "(cached) " >&6
3424 ac_build_alias=$build_alias
3425 test "x$ac_build_alias" = x &&
3426 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3427 test "x$ac_build_alias" = x &&
3428 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3429 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3430 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3434 $as_echo "$ac_cv_build" >&6; }
3435 case $ac_cv_build in
3437 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3440 ac_save_IFS=$IFS; IFS='-'
3446 # Remember, the first character of IFS is used to create $*,
3447 # except with old shells:
3450 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3454 $as_echo_n "checking host system type... " >&6; }
3455 if ${ac_cv_host+:} false; then :
3456 $as_echo_n "(cached) " >&6
3458 if test "x$host_alias" = x; then
3459 ac_cv_host=$ac_cv_build
3461 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3462 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3467 $as_echo "$ac_cv_host" >&6; }
3470 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3473 ac_save_IFS=$IFS; IFS='-'
3479 # Remember, the first character of IFS is used to create $*,
3480 # except with old shells:
3483 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3490 if test -z "$AB_PACKAGE"; then
3491 AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5
3494 $as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;}
3496 if test -z "$AB_VERSION"; then
3497 AB_VERSION=${PACKAGE_VERSION:-$VERSION}
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5
3500 $as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;}
3503 if test "$hostname"; then
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5
3505 $as_echo "$as_me: autobuild hostname... $hostname" >&6;}
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild mode... $autobuild_mode" >&5
3509 $as_echo "$as_me: autobuild mode... $autobuild_mode" >&6;}
3511 date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
3512 if test "$?" != 0; then
3515 if test "$date"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5
3517 $as_echo "$as_me: autobuild timestamp... $date" >&6;}
3522 CONFIG_STATUS_DEPENDENCIES='$(srcdir)/.version'
3526 ## ------------------------------- ##
3527 ## Libtool specific configuration. ##
3528 ## ------------------------------- ##
3530 aclocaldir="\$(datadir)/aclocal"
3532 pkgdatadir="\$(datadir)/$PACKAGE"
3535 # Check whether --enable-ltdl-install was given.
3536 if test "${enable_ltdl_install+set}" = set; then :
3537 enableval=$enable_ltdl_install;
3540 if test set != "${enable_ltdl_install+set}"; then
3541 enable_ltdl_install=yes
3544 # The list of scripts required to build libltdl, and which need to be
3545 # installed by libtoolize --ltdl, and consequently need to be placed in
3546 # $pkgdatadir by our make install rule.
3547 pkgaux_scripts="compile config.guess config.sub depcomp install-sh missing"
3551 ## ---------------- ##
3552 ## compiler checks. ##
3553 ## ---------------- ##
3555 # Need to be sure that we have a working C compiler, otherwise even with
3556 # a good C compiler: if the following C++ tests fail, the whole libtool
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if ${ac_cv_prog_CC+:} false; then :
3569 $as_echo_n "(cached) " >&6
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC="$CC" # Let the user override the test.
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3581 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3602 if test -z "$ac_cv_prog_CC"; then
3604 # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3609 $as_echo_n "(cached) " >&6
3611 if test -n "$ac_ct_CC"; then
3612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3621 ac_cv_prog_ac_ct_CC="gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3640 if test "x$ac_ct_CC" = x; then
3643 case $cross_compiling:$ac_tool_warned in
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3655 if test -z "$CC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if ${ac_cv_prog_CC+:} false; then :
3662 $as_echo_n "(cached) " >&6
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC="$CC" # Let the user override the test.
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3674 ac_cv_prog_CC="${ac_tool_prefix}cc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CC+:} false; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716 ac_prog_rejected=yes
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 if test $ac_prog_rejected = yes; then
3728 # We found a bogon in the path, so make sure we never use it.
3729 set dummy $ac_cv_prog_CC
3731 if test $# != 0; then
3732 # We chose a different compiler from the bogus one.
3733 # However, it has the same basename, so the bogon will be chosen
3734 # first if we set CC to just the basename; use the full file name.
3736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 for ac_prog in cl.exe
3756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if ${ac_cv_prog_CC+:} false; then :
3761 $as_echo_n "(cached) " >&6
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3793 test -n "$CC" && break
3796 if test -z "$CC"; then
3798 for ac_prog in cl.exe
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3805 $as_echo_n "(cached) " >&6
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_ac_ct_CC="$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$ac_ct_CC" && break
3840 if test "x$ac_ct_CC" = x; then
3843 case $cross_compiling:$ac_tool_warned in
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error $? "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details" "$LINENO" 5; }
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3865 for ac_option in --version -v -V -qversion; do
3866 { { ac_try="$ac_compiler $ac_option >&5"
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3875 if test -s conftest.err; then
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3881 rm -f conftest.er1 conftest.err
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3897 ac_clean_files_save=$ac_clean_files
3898 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3899 # Try to create an executable without -o first, disregard a.out.
3900 # It will help us diagnose broken compilers, and finding out an intuition
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3903 $as_echo_n "checking whether the C compiler works... " >&6; }
3904 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3906 # The possible output files:
3907 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3910 for ac_file in $ac_files
3913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3914 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3919 if { { ac_try="$ac_link_default"
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926 (eval "$ac_link_default") 2>&5
3928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3929 test $ac_status = 0; }; then :
3930 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3931 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3932 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3933 # so that the user can short-circuit this test for compilers unknown to
3935 for ac_file in $ac_files ''
3937 test -f "$ac_file" || continue
3939 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3942 # We found the default executable, but exeext='' is most
3946 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3948 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3950 # We set ac_cv_exeext here because the later test for it is not
3951 # safe: cross compilers may not add the suffix if given an `-o'
3952 # argument, so we may need to know it at that point already.
3953 # Even if this section looks crufty: it has the advantage of
3960 test "$ac_cv_exeext" = no && ac_cv_exeext=
3965 if test -z "$ac_file"; then :
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3968 $as_echo "$as_me: failed program was:" >&5
3969 sed 's/^/| /' conftest.$ac_ext >&5
3971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error 77 "C compiler cannot create executables
3974 See \`config.log' for more details" "$LINENO" 5; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3977 $as_echo "yes" >&6; }
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3980 $as_echo_n "checking for C compiler default output file name... " >&6; }
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3982 $as_echo "$ac_file" >&6; }
3983 ac_exeext=$ac_cv_exeext
3985 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3986 ac_clean_files=$ac_clean_files_save
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3988 $as_echo_n "checking for suffix of executables... " >&6; }
3989 if { { ac_try="$ac_link"
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_link") 2>&5
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }; then :
4000 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4001 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4002 # work properly (i.e., refer to `conftest.exe'), while it won't with
4004 for ac_file in conftest.exe conftest conftest.*; do
4005 test -f "$ac_file" || continue
4007 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4008 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4016 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4017 See \`config.log' for more details" "$LINENO" 5; }
4019 rm -f conftest conftest$ac_cv_exeext
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4021 $as_echo "$ac_cv_exeext" >&6; }
4023 rm -f conftest.$ac_ext
4024 EXEEXT=$ac_cv_exeext
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4032 FILE *f = fopen ("conftest.out", "w");
4033 return ferror (f) || fclose (f) != 0;
4039 ac_clean_files="$ac_clean_files conftest.out"
4040 # Check that the compiler produces executables we can run. If not, either
4041 # the compiler is broken, or we cross compile.
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4043 $as_echo_n "checking whether we are cross compiling... " >&6; }
4044 if test "$cross_compiling" != yes; then
4045 { { ac_try="$ac_link"
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_link") 2>&5
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }
4056 if { ac_try='./conftest$ac_cv_exeext'
4057 { { case "(($ac_try" in
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062 $as_echo "$ac_try_echo"; } >&5
4063 (eval "$ac_try") 2>&5
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }; }; then
4069 if test "$cross_compiling" = maybe; then
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error $? "cannot run C compiled programs.
4075 If you meant to cross compile, use \`--host'.
4076 See \`config.log' for more details" "$LINENO" 5; }
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4081 $as_echo "$cross_compiling" >&6; }
4083 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4084 ac_clean_files=$ac_clean_files_save
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4086 $as_echo_n "checking for suffix of object files... " >&6; }
4087 if ${ac_cv_objext+:} false; then :
4088 $as_echo_n "(cached) " >&6
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4101 rm -f conftest.o conftest.obj
4102 if { { ac_try="$ac_compile"
4104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4108 $as_echo "$ac_try_echo"; } >&5
4109 (eval "$ac_compile") 2>&5
4111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4112 test $ac_status = 0; }; then :
4113 for ac_file in conftest.o conftest.obj conftest.*; do
4114 test -f "$ac_file" || continue;
4116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4117 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122 $as_echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.$ac_ext >&5
4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error $? "cannot compute suffix of object files: cannot compile
4128 See \`config.log' for more details" "$LINENO" 5; }
4130 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4133 $as_echo "$ac_cv_objext" >&6; }
4134 OBJEXT=$ac_cv_objext
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4137 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4138 if ${ac_cv_c_compiler_gnu+:} false; then :
4139 $as_echo_n "(cached) " >&6
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4155 if ac_fn_c_try_compile "$LINENO"; then :
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4165 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4166 if test $ac_compiler_gnu = yes; then
4171 ac_test_CFLAGS=${CFLAGS+set}
4172 ac_save_CFLAGS=$CFLAGS
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4174 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4175 if ${ac_cv_prog_cc_g+:} false; then :
4176 $as_echo_n "(cached) " >&6
4178 ac_save_c_werror_flag=$ac_c_werror_flag
4179 ac_c_werror_flag=yes
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4193 if ac_fn_c_try_compile "$LINENO"; then :
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4208 if ac_fn_c_try_compile "$LINENO"; then :
4211 ac_c_werror_flag=$ac_save_c_werror_flag
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4224 if ac_fn_c_try_compile "$LINENO"; then :
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 ac_c_werror_flag=$ac_save_c_werror_flag
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4235 $as_echo "$ac_cv_prog_cc_g" >&6; }
4236 if test "$ac_test_CFLAGS" = set; then
4237 CFLAGS=$ac_save_CFLAGS
4238 elif test $ac_cv_prog_cc_g = yes; then
4239 if test "$GCC" = yes; then
4245 if test "$GCC" = yes; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4252 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4253 if ${ac_cv_prog_cc_c89+:} false; then :
4254 $as_echo_n "(cached) " >&6
4256 ac_cv_prog_cc_c89=no
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4264 struct buf { int x; };
4265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4266 static char *e (p, i)
4272 static char *f (char * (*g) (char **, int), char **p, ...)
4277 s = g (p, va_arg (v,int));
4282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4283 function prototypes and stuff, but not '\xHH' hex character constants.
4284 These don't provoke an error unfortunately, instead are silently treated
4285 as 'x'. The following induces an error, until -std is added to get
4286 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4287 array size at least. It's necessary to write '\x00'==0 to get something
4288 that's true only with -std. */
4289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4291 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4292 inside strings and character constants. */
4294 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4296 int test (int i, double x);
4297 struct s1 {int (*f) (int a);};
4298 struct s2 {int (*f) (double a);};
4299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4310 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4311 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4313 CC="$ac_save_CC $ac_arg"
4314 if ac_fn_c_try_compile "$LINENO"; then :
4315 ac_cv_prog_cc_c89=$ac_arg
4317 rm -f core conftest.err conftest.$ac_objext
4318 test "x$ac_cv_prog_cc_c89" != "xno" && break
4320 rm -f conftest.$ac_ext
4325 case "x$ac_cv_prog_cc_c89" in
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4328 $as_echo "none needed" >&6; } ;;
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4331 $as_echo "unsupported" >&6; } ;;
4333 CC="$CC $ac_cv_prog_cc_c89"
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4335 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4337 if test "x$ac_cv_prog_cc_c89" != xno; then :
4342 ac_cpp='$CPP $CPPFLAGS'
4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348 ac_cpp='$CPP $CPPFLAGS'
4349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4353 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4354 if ${am_cv_prog_cc_c_o+:} false; then :
4355 $as_echo_n "(cached) " >&6
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4368 # Make sure it works both with $CC and with simple cc.
4369 # Following AC_PROG_CC_C_O, we do the test twice because some
4370 # compilers refuse to overwrite an existing .o file with -o,
4371 # though they will create one.
4372 am_cv_prog_cc_c_o=yes
4374 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4375 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); } \
4379 && test -f conftest2.$ac_objext; then
4382 am_cv_prog_cc_c_o=no
4386 rm -f core conftest*
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4390 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4391 if test "$am_cv_prog_cc_c_o" != yes; then
4392 # Losing compiler, so override with the script.
4393 # FIXME: It is wrong to rewrite CC.
4394 # But if we don't then we get into trouble of one sort or another.
4395 # A longer-term fix would be to have automake use am__CC in this case,
4396 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4397 CC="$am_aux_dir/compile $CC"
4400 ac_cpp='$CPP $CPPFLAGS'
4401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4405 DEPDIR="${am__leading_dot}deps"
4407 ac_config_commands="$ac_config_commands depfiles"
4410 am_make=${MAKE-make}
4411 cat > confinc << 'END'
4413 @echo this is the am__doit target
4416 # If we don't find an include directive, just comment out the code.
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4418 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4422 # First try GNU make style include.
4423 echo "include confinc" > confmf
4424 # Ignore all kinds of additional output from 'make'.
4425 case `$am_make -s -f confmf 2> /dev/null` in #(
4426 *the\ am__doit\ target*)
4432 # Now try BSD make style include.
4433 if test "$am__include" = "#"; then
4434 echo '.include "confinc"' > confmf
4435 case `$am_make -s -f confmf 2> /dev/null` in #(
4436 *the\ am__doit\ target*)
4437 am__include=.include
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4446 $as_echo "$_am_result" >&6; }
4447 rm -f confinc confmf
4449 # Check whether --enable-dependency-tracking was given.
4450 if test "${enable_dependency_tracking+set}" = set; then :
4451 enableval=$enable_dependency_tracking;
4454 if test "x$enable_dependency_tracking" != xno; then
4455 am_depcomp="$ac_aux_dir/depcomp"
4459 if test "x$enable_dependency_tracking" != xno; then
4469 depcc="$CC" am_compiler_list=
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4472 $as_echo_n "checking dependency style of $depcc... " >&6; }
4473 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4474 $as_echo_n "(cached) " >&6
4476 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4477 # We make a subdir and do the tests there. Otherwise we can end up
4478 # making bogus files that we don't know about and never remove. For
4479 # instance it was reported that on HP-UX the gcc test will end up
4480 # making a dummy file named 'D' -- because '-MD' means "put the output
4484 # Copy depcomp to subdir because otherwise we won't find it if we're
4485 # using a relative directory.
4486 cp "$am_depcomp" conftest.dir
4488 # We will build objects and dependencies in a subdirectory because
4489 # it helps to detect inapplicable dependency modes. For instance
4490 # both Tru64's cc and ICC support -MD to output dependencies as a
4491 # side effect of compilation, but ICC will put the dependencies in
4492 # the current directory while Tru64 will put them in the object
4496 am_cv_CC_dependencies_compiler_type=none
4497 if test "$am_compiler_list" = ""; then
4498 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4501 case " $depcc " in #(
4502 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4505 for depmode in $am_compiler_list; do
4506 # Setup a source with many dependencies, because some compilers
4507 # like to wrap large dependency lists on column 80 (with \), and
4508 # we should not choose a depcomp mode which is confused by this.
4510 # We need to recreate these files for each test, as the compiler may
4511 # overwrite some of them when testing with obscure command lines.
4512 # This happens at least with the AIX C compiler.
4514 for i in 1 2 3 4 5 6; do
4515 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4516 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4517 # Solaris 10 /bin/sh.
4518 echo '/* dummy */' > sub/conftst$i.h
4520 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4522 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4523 # mode. It turns out that the SunPro C++ compiler does not properly
4524 # handle '-M -o', and we need to detect this. Also, some Intel
4525 # versions had trouble with output in subdirs.
4526 am__obj=sub/conftest.${OBJEXT-o}
4527 am__minus_obj="-o $am__obj"
4530 # This depmode causes a compiler race in universal mode.
4531 test "$am__universal" = false || continue
4534 # After this tag, mechanisms are not by side-effect, so they'll
4535 # only be used when explicitly requested.
4536 if test "x$enable_dependency_tracking" = xyes; then
4542 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4543 # This compiler won't grok '-c -o', but also, the minuso test has
4544 # not run yet. These depmodes are late enough in the game, and
4545 # so weak that their functioning should not be impacted.
4546 am__obj=conftest.${OBJEXT-o}
4551 if depmode=$depmode \
4552 source=sub/conftest.c object=$am__obj \
4553 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4554 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4555 >/dev/null 2>conftest.err &&
4556 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4557 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4558 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4559 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4560 # icc doesn't choke on unknown options, it will just issue warnings
4561 # or remarks (even with -Werror). So we grep stderr for any message
4562 # that says an option was ignored or not supported.
4563 # When given -MP, icc 7.0 and 7.1 complain thusly:
4564 # icc: Command line warning: ignoring option '-M'; no argument required
4565 # The diagnosis changed in icc 8.0:
4566 # icc: Command line remark: option '-MP' not supported
4567 if (grep 'ignoring option' conftest.err ||
4568 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4569 am_cv_CC_dependencies_compiler_type=$depmode
4578 am_cv_CC_dependencies_compiler_type=none
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4583 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4584 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4587 test "x$enable_dependency_tracking" != xno \
4588 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4590 am__fastdepCC_FALSE='#'
4592 am__fastdepCC_TRUE='#'
4593 am__fastdepCC_FALSE=
4599 ac_cpp='$CPP $CPPFLAGS'
4600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4604 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4605 # On Suns, sometimes $CPP names a directory.
4606 if test -n "$CPP" && test -d "$CPP"; then
4609 if test -z "$CPP"; then
4610 if ${ac_cv_prog_CPP+:} false; then :
4611 $as_echo_n "(cached) " >&6
4613 # Double quotes because CPP needs to be expanded
4614 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4617 for ac_c_preproc_warn_flag in '' yes
4619 # Use a header file that comes with gcc, so configuring glibc
4620 # with a fresh cross-compiler works.
4621 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4622 # <limits.h> exists even on freestanding compilers.
4623 # On the NeXT, cc -E runs the code through the compiler's parser,
4624 # not just through cpp. "Syntax error" is here to catch this case.
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4628 # include <limits.h>
4630 # include <assert.h>
4634 if ac_fn_c_try_cpp "$LINENO"; then :
4637 # Broken: fails on valid input.
4640 rm -f conftest.err conftest.i conftest.$ac_ext
4642 # OK, works on sane cases. Now check whether nonexistent headers
4643 # can be detected and how.
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4646 #include <ac_nonexistent.h>
4648 if ac_fn_c_try_cpp "$LINENO"; then :
4649 # Broken: success on invalid input.
4652 # Passes both tests.
4656 rm -f conftest.err conftest.i conftest.$ac_ext
4659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4660 rm -f conftest.i conftest.err conftest.$ac_ext
4661 if $ac_preproc_ok; then :
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4674 $as_echo "$CPP" >&6; }
4676 for ac_c_preproc_warn_flag in '' yes
4678 # Use a header file that comes with gcc, so configuring glibc
4679 # with a fresh cross-compiler works.
4680 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4681 # <limits.h> exists even on freestanding compilers.
4682 # On the NeXT, cc -E runs the code through the compiler's parser,
4683 # not just through cpp. "Syntax error" is here to catch this case.
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4687 # include <limits.h>
4689 # include <assert.h>
4693 if ac_fn_c_try_cpp "$LINENO"; then :
4696 # Broken: fails on valid input.
4699 rm -f conftest.err conftest.i conftest.$ac_ext
4701 # OK, works on sane cases. Now check whether nonexistent headers
4702 # can be detected and how.
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4705 #include <ac_nonexistent.h>
4707 if ac_fn_c_try_cpp "$LINENO"; then :
4708 # Broken: success on invalid input.
4711 # Passes both tests.
4715 rm -f conftest.err conftest.i conftest.$ac_ext
4718 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4719 rm -f conftest.i conftest.err conftest.$ac_ext
4720 if $ac_preproc_ok; then :
4723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4725 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4726 See \`config.log' for more details" "$LINENO" 5; }
4730 ac_cpp='$CPP $CPPFLAGS'
4731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4737 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4738 if ${ac_cv_path_GREP+:} false; then :
4739 $as_echo_n "(cached) " >&6
4741 if test -z "$GREP"; then
4742 ac_path_GREP_found=false
4743 # Loop through the user's path and test for each of PROGNAME-LIST
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4748 test -z "$as_dir" && as_dir=.
4749 for ac_prog in grep ggrep; do
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4752 as_fn_executable_p "$ac_path_GREP" || continue
4753 # Check for GNU ac_path_GREP and select it if it is found.
4754 # Check for GNU $ac_path_GREP
4755 case `"$ac_path_GREP" --version 2>&1` in
4757 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4760 $as_echo_n 0123456789 >"conftest.in"
4763 cat "conftest.in" "conftest.in" >"conftest.tmp"
4764 mv "conftest.tmp" "conftest.in"
4765 cp "conftest.in" "conftest.nl"
4766 $as_echo 'GREP' >> "conftest.nl"
4767 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4768 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4769 as_fn_arith $ac_count + 1 && ac_count=$as_val
4770 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4771 # Best one so far, save it but keep looking for a better one
4772 ac_cv_path_GREP="$ac_path_GREP"
4773 ac_path_GREP_max=$ac_count
4775 # 10*(2^10) chars as input seems more than enough
4776 test $ac_count -gt 10 && break
4778 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4781 $ac_path_GREP_found && break 3
4786 if test -z "$ac_cv_path_GREP"; then
4787 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4790 ac_cv_path_GREP=$GREP
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4795 $as_echo "$ac_cv_path_GREP" >&6; }
4796 GREP="$ac_cv_path_GREP"
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4800 $as_echo_n "checking for egrep... " >&6; }
4801 if ${ac_cv_path_EGREP+:} false; then :
4802 $as_echo_n "(cached) " >&6
4804 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4805 then ac_cv_path_EGREP="$GREP -E"
4807 if test -z "$EGREP"; then
4808 ac_path_EGREP_found=false
4809 # Loop through the user's path and test for each of PROGNAME-LIST
4810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4814 test -z "$as_dir" && as_dir=.
4815 for ac_prog in egrep; do
4816 for ac_exec_ext in '' $ac_executable_extensions; do
4817 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4818 as_fn_executable_p "$ac_path_EGREP" || continue
4819 # Check for GNU ac_path_EGREP and select it if it is found.
4820 # Check for GNU $ac_path_EGREP
4821 case `"$ac_path_EGREP" --version 2>&1` in
4823 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4826 $as_echo_n 0123456789 >"conftest.in"
4829 cat "conftest.in" "conftest.in" >"conftest.tmp"
4830 mv "conftest.tmp" "conftest.in"
4831 cp "conftest.in" "conftest.nl"
4832 $as_echo 'EGREP' >> "conftest.nl"
4833 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4834 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4835 as_fn_arith $ac_count + 1 && ac_count=$as_val
4836 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4837 # Best one so far, save it but keep looking for a better one
4838 ac_cv_path_EGREP="$ac_path_EGREP"
4839 ac_path_EGREP_max=$ac_count
4841 # 10*(2^10) chars as input seems more than enough
4842 test $ac_count -gt 10 && break
4844 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4847 $ac_path_EGREP_found && break 3
4852 if test -z "$ac_cv_path_EGREP"; then
4853 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4856 ac_cv_path_EGREP=$EGREP
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4862 $as_echo "$ac_cv_path_EGREP" >&6; }
4863 EGREP="$ac_cv_path_EGREP"
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
4869 $as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
4870 if ${gl_cv_c_amsterdam_compiler+:} false; then :
4871 $as_echo_n "(cached) " >&6
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4883 $EGREP "Amsterdam" >/dev/null 2>&1; then :
4884 gl_cv_c_amsterdam_compiler=yes
4886 gl_cv_c_amsterdam_compiler=no
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
4893 $as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
4894 if test -z "$AR"; then
4895 if test $gl_cv_c_amsterdam_compiler = yes; then
4897 if test -z "$ARFLAGS"; then
4901 if test -n "$ac_tool_prefix"; then
4902 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4903 set dummy ${ac_tool_prefix}ar; ac_word=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if ${ac_cv_prog_AR+:} false; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -n "$AR"; then
4910 ac_cv_prog_AR="$AR" # Let the user override the test.
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir=.
4917 for ac_exec_ext in '' $ac_executable_extensions; do
4918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4919 ac_cv_prog_AR="${ac_tool_prefix}ar"
4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 if test -n "$AR"; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4932 $as_echo "$AR" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4940 if test -z "$ac_cv_prog_AR"; then
4942 # Extract the first word of "ar", so it can be a program name with args.
4943 set dummy ar; ac_word=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -n "$ac_ct_AR"; then
4950 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir=.
4957 for ac_exec_ext in '' $ac_executable_extensions; do
4958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_ac_ct_AR="ar"
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4970 if test -n "$ac_ct_AR"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4972 $as_echo "$ac_ct_AR" >&6; }
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4978 if test "x$ac_ct_AR" = x; then
4981 case $cross_compiling:$ac_tool_warned in
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4985 ac_tool_warned=yes ;;
4993 if test -z "$ARFLAGS"; then
4998 if test -z "$ARFLAGS"; then
5004 if test -z "$RANLIB"; then
5005 if test $gl_cv_c_amsterdam_compiler = yes; then
5008 if test -n "$ac_tool_prefix"; then
5009 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5010 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_RANLIB+:} false; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$RANLIB"; then
5017 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 RANLIB=$ac_cv_prog_RANLIB
5037 if test -n "$RANLIB"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5039 $as_echo "$RANLIB" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5047 if test -z "$ac_cv_prog_RANLIB"; then
5048 ac_ct_RANLIB=$RANLIB
5049 # Extract the first word of "ranlib", so it can be a program name with args.
5050 set dummy ranlib; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5054 $as_echo_n "(cached) " >&6
5056 if test -n "$ac_ct_RANLIB"; then
5057 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5066 ac_cv_prog_ac_ct_RANLIB="ranlib"
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5077 if test -n "$ac_ct_RANLIB"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5079 $as_echo "$ac_ct_RANLIB" >&6; }
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5085 if test "x$ac_ct_RANLIB" = x; then
5088 case $cross_compiling:$ac_tool_warned in
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5092 ac_tool_warned=yes ;;
5094 RANLIB=$ac_ct_RANLIB
5097 RANLIB="$ac_cv_prog_RANLIB"
5106 # Code from module announce-gen:
5107 # Code from module bootstrap:
5108 # Code from module do-release-commit-and-tag:
5109 # Code from module extract-trace:
5110 # Code from module funclib.sh:
5111 # Code from module gendocs:
5112 # Code from module git-version-gen:
5113 # Code from module gitlog-to-changelog:
5114 # Code from module gnu-web-doc-update:
5115 # Code from module gnumakefile:
5116 # Code from module gnupload:
5117 # Code from module inline-source:
5118 # Code from module maintainer-makefile:
5119 # Code from module options-parser:
5120 # Code from module readme-release:
5121 # Code from module update-copyright:
5122 # Code from module useless-if-before-free:
5123 # Code from module vc-list-files:
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
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5132 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5133 # On Suns, sometimes $CPP names a directory.
5134 if test -n "$CPP" && test -d "$CPP"; then
5137 if test -z "$CPP"; then
5138 if ${ac_cv_prog_CPP+:} false; then :
5139 $as_echo_n "(cached) " >&6
5141 # Double quotes because CPP needs to be expanded
5142 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5145 for ac_c_preproc_warn_flag in '' yes
5147 # Use a header file that comes with gcc, so configuring glibc
5148 # with a fresh cross-compiler works.
5149 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5150 # <limits.h> exists even on freestanding compilers.
5151 # On the NeXT, cc -E runs the code through the compiler's parser,
5152 # not just through cpp. "Syntax error" is here to catch this case.
5153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5154 /* end confdefs.h. */
5156 # include <limits.h>
5158 # include <assert.h>
5162 if ac_fn_c_try_cpp "$LINENO"; then :
5165 # Broken: fails on valid input.
5168 rm -f conftest.err conftest.i conftest.$ac_ext
5170 # OK, works on sane cases. Now check whether nonexistent headers
5171 # can be detected and how.
5172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h. */
5174 #include <ac_nonexistent.h>
5176 if ac_fn_c_try_cpp "$LINENO"; then :
5177 # Broken: success on invalid input.
5180 # Passes both tests.
5184 rm -f conftest.err conftest.i conftest.$ac_ext
5187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5188 rm -f conftest.i conftest.err conftest.$ac_ext
5189 if $ac_preproc_ok; then :
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5202 $as_echo "$CPP" >&6; }
5204 for ac_c_preproc_warn_flag in '' yes
5206 # Use a header file that comes with gcc, so configuring glibc
5207 # with a fresh cross-compiler works.
5208 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5209 # <limits.h> exists even on freestanding compilers.
5210 # On the NeXT, cc -E runs the code through the compiler's parser,
5211 # not just through cpp. "Syntax error" is here to catch this case.
5212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5215 # include <limits.h>
5217 # include <assert.h>
5221 if ac_fn_c_try_cpp "$LINENO"; then :
5224 # Broken: fails on valid input.
5227 rm -f conftest.err conftest.i conftest.$ac_ext
5229 # OK, works on sane cases. Now check whether nonexistent headers
5230 # can be detected and how.
5231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5232 /* end confdefs.h. */
5233 #include <ac_nonexistent.h>
5235 if ac_fn_c_try_cpp "$LINENO"; then :
5236 # Broken: success on invalid input.
5239 # Passes both tests.
5243 rm -f conftest.err conftest.i conftest.$ac_ext
5246 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5247 rm -f conftest.i conftest.err conftest.$ac_ext
5248 if $ac_preproc_ok; then :
5251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5253 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5254 See \`config.log' for more details" "$LINENO" 5; }
5258 ac_cpp='$CPP $CPPFLAGS'
5259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5264 ## ----------------------- ##
5265 ## Libtool initialisation. ##
5266 ## ----------------------- ##
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5270 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5275 macro_version='2.4.6'
5276 macro_revision='2.4.6'
5290 ltmain=$ac_aux_dir/ltmain.sh
5292 # Backslashify metacharacters that are still active within
5293 # double-quoted strings.
5294 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5296 # Same as above, but do not quote variable references.
5297 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5299 # Sed substitution to delay expansion of an escaped shell variable in a
5300 # double_quote_subst'ed string.
5301 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5303 # Sed substitution to delay expansion of an escaped single quote.
5304 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5306 # Sed substitution to avoid accidental globbing in evaled expressions
5307 no_glob_subst='s/\*/\\\*/g'
5309 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5310 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5311 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5314 $as_echo_n "checking how to print strings... " >&6; }
5315 # Test print first, because it will be a builtin if present.
5316 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5317 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5319 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5322 # Use this function as a fallback that always works.
5323 func_fallback_echo ()
5325 eval 'cat <<_LTECHO_EOF
5329 ECHO='func_fallback_echo'
5332 # func_echo_all arg...
5333 # Invoke $ECHO with all args, space-separated.
5340 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5341 $as_echo "printf" >&6; } ;;
5342 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5343 $as_echo "print -r" >&6; } ;;
5344 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5345 $as_echo "cat" >&6; } ;;
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5362 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5363 if ${ac_cv_path_SED+:} false; then :
5364 $as_echo_n "(cached) " >&6
5366 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5367 for ac_i in 1 2 3 4 5 6 7; do
5368 ac_script="$ac_script$as_nl$ac_script"
5370 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5371 { ac_script=; unset ac_script;}
5372 if test -z "$SED"; then
5373 ac_path_SED_found=false
5374 # Loop through the user's path and test for each of PROGNAME-LIST
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir=.
5380 for ac_prog in sed gsed; do
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5383 as_fn_executable_p "$ac_path_SED" || continue
5384 # Check for GNU ac_path_SED and select it if it is found.
5385 # Check for GNU $ac_path_SED
5386 case `"$ac_path_SED" --version 2>&1` in
5388 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5391 $as_echo_n 0123456789 >"conftest.in"
5394 cat "conftest.in" "conftest.in" >"conftest.tmp"
5395 mv "conftest.tmp" "conftest.in"
5396 cp "conftest.in" "conftest.nl"
5397 $as_echo '' >> "conftest.nl"
5398 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5399 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5400 as_fn_arith $ac_count + 1 && ac_count=$as_val
5401 if test $ac_count -gt ${ac_path_SED_max-0}; then
5402 # Best one so far, save it but keep looking for a better one
5403 ac_cv_path_SED="$ac_path_SED"
5404 ac_path_SED_max=$ac_count
5406 # 10*(2^10) chars as input seems more than enough
5407 test $ac_count -gt 10 && break
5409 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5412 $ac_path_SED_found && break 3
5417 if test -z "$ac_cv_path_SED"; then
5418 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5426 $as_echo "$ac_cv_path_SED" >&6; }
5427 SED="$ac_cv_path_SED"
5430 test -z "$SED" && SED=sed
5431 Xsed="$SED -e 1s/^X//"
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5444 $as_echo_n "checking for fgrep... " >&6; }
5445 if ${ac_cv_path_FGREP+:} false; then :
5446 $as_echo_n "(cached) " >&6
5448 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5449 then ac_cv_path_FGREP="$GREP -F"
5451 if test -z "$FGREP"; then
5452 ac_path_FGREP_found=false
5453 # Loop through the user's path and test for each of PROGNAME-LIST
5454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5455 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5458 test -z "$as_dir" && as_dir=.
5459 for ac_prog in fgrep; do
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5462 as_fn_executable_p "$ac_path_FGREP" || continue
5463 # Check for GNU ac_path_FGREP and select it if it is found.
5464 # Check for GNU $ac_path_FGREP
5465 case `"$ac_path_FGREP" --version 2>&1` in
5467 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5470 $as_echo_n 0123456789 >"conftest.in"
5473 cat "conftest.in" "conftest.in" >"conftest.tmp"
5474 mv "conftest.tmp" "conftest.in"
5475 cp "conftest.in" "conftest.nl"
5476 $as_echo 'FGREP' >> "conftest.nl"
5477 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5478 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5479 as_fn_arith $ac_count + 1 && ac_count=$as_val
5480 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5481 # Best one so far, save it but keep looking for a better one
5482 ac_cv_path_FGREP="$ac_path_FGREP"
5483 ac_path_FGREP_max=$ac_count
5485 # 10*(2^10) chars as input seems more than enough
5486 test $ac_count -gt 10 && break
5488 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5491 $ac_path_FGREP_found && break 3
5496 if test -z "$ac_cv_path_FGREP"; then
5497 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5500 ac_cv_path_FGREP=$FGREP
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5506 $as_echo "$ac_cv_path_FGREP" >&6; }
5507 FGREP="$ac_cv_path_FGREP"
5510 test -z "$GREP" && GREP=grep
5530 # Check whether --with-gnu-ld was given.
5531 if test "${with_gnu_ld+set}" = set; then :
5532 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5538 if test yes = "$GCC"; then
5539 # Check if gcc -print-prog-name=ld gives a path.
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5541 $as_echo_n "checking for ld used by $CC... " >&6; }
5544 # gcc leaves a trailing carriage return, which upsets mingw
5545 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5547 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5550 # Accept absolute paths.
5552 re_direlt='/[^/][^/]*/\.\./'
5553 # Canonicalize the pathname of ld
5554 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5555 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5556 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5558 test -z "$LD" && LD=$ac_prog
5561 # If it fails, then pretend we aren't using GCC.
5565 # If it is relative, then search for the first ld in PATH.
5569 elif test yes = "$with_gnu_ld"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5571 $as_echo_n "checking for GNU ld... " >&6; }
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5574 $as_echo_n "checking for non-GNU ld... " >&6; }
5576 if ${lt_cv_path_LD+:} false; then :
5577 $as_echo_n "(cached) " >&6
5579 if test -z "$LD"; then
5580 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5581 for ac_dir in $PATH; do
5583 test -z "$ac_dir" && ac_dir=.
5584 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5585 lt_cv_path_LD=$ac_dir/$ac_prog
5586 # Check to see if the program is GNU ld. I'd rather use --version,
5587 # but apparently some variants of GNU ld only accept -v.
5588 # Break only if it was the GNU/non-GNU ld that we prefer.
5589 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5590 *GNU* | *'with BFD'*)
5591 test no != "$with_gnu_ld" && break
5594 test yes != "$with_gnu_ld" && break
5601 lt_cv_path_LD=$LD # Let the user override the test with a path.
5606 if test -n "$LD"; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5608 $as_echo "$LD" >&6; }
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611 $as_echo "no" >&6; }
5613 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5615 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5616 if ${lt_cv_prog_gnu_ld+:} false; then :
5617 $as_echo_n "(cached) " >&6
5619 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5620 case `$LD -v 2>&1 </dev/null` in
5621 *GNU* | *'with BFD'*)
5622 lt_cv_prog_gnu_ld=yes
5625 lt_cv_prog_gnu_ld=no
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5630 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5631 with_gnu_ld=$lt_cv_prog_gnu_ld
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5642 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5643 if ${lt_cv_path_NM+:} false; then :
5644 $as_echo_n "(cached) " >&6
5646 if test -n "$NM"; then
5647 # Let the user override the test.
5650 lt_nm_to_check=${ac_tool_prefix}nm
5651 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5652 lt_nm_to_check="$lt_nm_to_check nm"
5654 for lt_tmp_nm in $lt_nm_to_check; do
5655 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5656 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5658 test -z "$ac_dir" && ac_dir=.
5659 tmp_nm=$ac_dir/$lt_tmp_nm
5660 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5661 # Check to see if the nm accepts a BSD-compat flag.
5662 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5663 # nm: unknown option "B" ignored
5664 # Tru64's nm complains that /dev/null is an invalid object file
5665 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5667 mingw*) lt_bad_file=conftest.nm/nofile ;;
5668 *) lt_bad_file=/dev/null ;;
5670 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5671 *$lt_bad_file* | *'Invalid file or object type'*)
5672 lt_cv_path_NM="$tmp_nm -B"
5676 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5678 lt_cv_path_NM="$tmp_nm -p"
5682 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5683 continue # so that we can try to find one that supports BSD flags
5692 : ${lt_cv_path_NM=no}
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5696 $as_echo "$lt_cv_path_NM" >&6; }
5697 if test no != "$lt_cv_path_NM"; then
5700 # Didn't find any BSD compatible name lister, look for dumpbin.
5701 if test -n "$DUMPBIN"; then :
5702 # Let the user override the test.
5704 if test -n "$ac_tool_prefix"; then
5705 for ac_prog in dumpbin "link -dump"
5707 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5708 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5710 $as_echo_n "checking for $ac_word... " >&6; }
5711 if ${ac_cv_prog_DUMPBIN+:} false; then :
5712 $as_echo_n "(cached) " >&6
5714 if test -n "$DUMPBIN"; then
5715 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 test -z "$as_dir" && as_dir=.
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5724 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 DUMPBIN=$ac_cv_prog_DUMPBIN
5735 if test -n "$DUMPBIN"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5737 $as_echo "$DUMPBIN" >&6; }
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 $as_echo "no" >&6; }
5744 test -n "$DUMPBIN" && break
5747 if test -z "$DUMPBIN"; then
5748 ac_ct_DUMPBIN=$DUMPBIN
5749 for ac_prog in dumpbin "link -dump"
5751 # Extract the first word of "$ac_prog", so it can be a program name with args.
5752 set dummy $ac_prog; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5756 $as_echo_n "(cached) " >&6
5758 if test -n "$ac_ct_DUMPBIN"; then
5759 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5779 if test -n "$ac_ct_DUMPBIN"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5781 $as_echo "$ac_ct_DUMPBIN" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5788 test -n "$ac_ct_DUMPBIN" && break
5791 if test "x$ac_ct_DUMPBIN" = x; then
5794 case $cross_compiling:$ac_tool_warned in
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5798 ac_tool_warned=yes ;;
5800 DUMPBIN=$ac_ct_DUMPBIN
5804 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5806 DUMPBIN="$DUMPBIN -symbols -headers"
5814 if test : != "$DUMPBIN"; then
5818 test -z "$NM" && NM=nm
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5826 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5827 if ${lt_cv_nm_interface+:} false; then :
5828 $as_echo_n "(cached) " >&6
5830 lt_cv_nm_interface="BSD nm"
5831 echo "int some_variable = 0;" > conftest.$ac_ext
5832 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5833 (eval "$ac_compile" 2>conftest.err)
5834 cat conftest.err >&5
5835 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5836 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5837 cat conftest.err >&5
5838 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5839 cat conftest.out >&5
5840 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5841 lt_cv_nm_interface="MS dumpbin"
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5846 $as_echo "$lt_cv_nm_interface" >&6; }
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5849 $as_echo_n "checking whether ln -s works... " >&6; }
5851 if test "$LN_S" = "ln -s"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5853 $as_echo "yes" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5856 $as_echo "no, using $LN_S" >&6; }
5859 # find the maximum length of command line arguments
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5861 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5862 if ${lt_cv_sys_max_cmd_len+:} false; then :
5863 $as_echo_n "(cached) " >&6
5870 # On DJGPP, this test can blow up pretty badly due to problems in libc
5871 # (any single argument exceeding 2000 bytes causes a buffer overrun
5872 # during glob expansion). Even if it were fixed, the result of this
5873 # check would be larger than it should be.
5874 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5878 # Under GNU Hurd, this test is not required because there is
5879 # no limit to the length of command line arguments.
5880 # Libtool will interpret -1 as no limit whatsoever
5881 lt_cv_sys_max_cmd_len=-1;
5884 cygwin* | mingw* | cegcc*)
5885 # On Win9x/ME, this test blows up -- it succeeds, but takes
5886 # about 5 minutes as the teststring grows exponentially.
5887 # Worse, since 9x/ME are not pre-emptively multitasking,
5888 # you end up with a "frozen" computer, even though with patience
5889 # the test eventually succeeds (with a max line length of 256k).
5890 # Instead, let's just punt: use the minimum linelength reported by
5891 # all of the supported platforms: 8192 (on NT/2K/XP).
5892 lt_cv_sys_max_cmd_len=8192;
5896 # On MiNT this can take a long time and run out of memory.
5897 lt_cv_sys_max_cmd_len=8192;
5901 # On AmigaOS with pdksh, this test takes hours, literally.
5902 # So we just punt and use a minimum line length of 8192.
5903 lt_cv_sys_max_cmd_len=8192;
5906 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5907 # This has been around since 386BSD, at least. Likely further.
5908 if test -x /sbin/sysctl; then
5909 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5910 elif test -x /usr/sbin/sysctl; then
5911 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5913 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5915 # And add a safety zone
5916 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5917 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5921 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5922 lt_cv_sys_max_cmd_len=196608
5926 # The test takes a long time on OS/2.
5927 lt_cv_sys_max_cmd_len=8192
5931 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5932 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5933 # nice to cause kernel panics so lets avoid the loop below.
5934 # First set a reasonable default.
5935 lt_cv_sys_max_cmd_len=16384
5937 if test -x /sbin/sysconfig; then
5938 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5939 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5944 lt_cv_sys_max_cmd_len=102400
5946 sysv5* | sco5v6* | sysv4.2uw2*)
5947 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5948 if test -n "$kargmax"; then
5949 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5951 lt_cv_sys_max_cmd_len=32768
5955 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5956 if test -n "$lt_cv_sys_max_cmd_len" && \
5957 test undefined != "$lt_cv_sys_max_cmd_len"; then
5958 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5959 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5961 # Make teststring a little bigger before we do anything with it.
5962 # a 1K string should be a reasonable start.
5963 for i in 1 2 3 4 5 6 7 8; do
5964 teststring=$teststring$teststring
5966 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5967 # If test is not a shell built-in, we'll probably end up computing a
5968 # maximum length that is only half of the actual maximum length, but
5970 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5971 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5972 test 17 != "$i" # 1/2 MB should be enough
5975 teststring=$teststring$teststring
5977 # Only check the string length outside the loop.
5978 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5980 # Add a significant safety factor because C++ compilers can tack on
5981 # massive amounts of additional arguments before passing them to the
5982 # linker. It appears as though 1/2 is a usable value.
5983 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5990 if test -n "$lt_cv_sys_max_cmd_len"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5992 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5995 $as_echo "none" >&6; }
5997 max_cmd_len=$lt_cv_sys_max_cmd_len
6008 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6018 # test EBCDIC or ASCII
6019 case `echo X|tr X '\101'` in
6020 A) # ASCII based system
6021 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6022 lt_SP2NL='tr \040 \012'
6023 lt_NL2SP='tr \015\012 \040\040'
6025 *) # EBCDIC based system
6026 lt_SP2NL='tr \100 \n'
6027 lt_NL2SP='tr \r\n \100\100'
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6040 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6041 if ${lt_cv_to_host_file_cmd+:} false; then :
6042 $as_echo_n "(cached) " >&6
6047 *-*-mingw* ) # actually msys
6048 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6051 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6053 * ) # otherwise, assume *nix
6054 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6060 *-*-mingw* ) # actually msys
6061 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6064 lt_cv_to_host_file_cmd=func_convert_file_noop
6066 * ) # otherwise, assume *nix
6067 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6071 * ) # unhandled hosts (and "normal" native builds)
6072 lt_cv_to_host_file_cmd=func_convert_file_noop
6078 to_host_file_cmd=$lt_cv_to_host_file_cmd
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6080 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6087 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6088 if ${lt_cv_to_tool_file_cmd+:} false; then :
6089 $as_echo_n "(cached) " >&6
6091 #assume ordinary cross tools, or native build.
6092 lt_cv_to_tool_file_cmd=func_convert_file_noop
6096 *-*-mingw* ) # actually msys
6097 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6105 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6107 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6114 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6115 if ${lt_cv_ld_reload_flag+:} false; then :
6116 $as_echo_n "(cached) " >&6
6118 lt_cv_ld_reload_flag='-r'
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6121 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6122 reload_flag=$lt_cv_ld_reload_flag
6123 case $reload_flag in
6125 *) reload_flag=" $reload_flag" ;;
6127 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6129 cygwin* | mingw* | pw32* | cegcc*)
6130 if test yes != "$GCC"; then
6135 if test yes = "$GCC"; then
6136 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6138 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6151 if test -n "$ac_tool_prefix"; then
6152 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6153 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if ${ac_cv_prog_OBJDUMP+:} false; then :
6157 $as_echo_n "(cached) " >&6
6159 if test -n "$OBJDUMP"; then
6160 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6169 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6179 OBJDUMP=$ac_cv_prog_OBJDUMP
6180 if test -n "$OBJDUMP"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6182 $as_echo "$OBJDUMP" >&6; }
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6190 if test -z "$ac_cv_prog_OBJDUMP"; then
6191 ac_ct_OBJDUMP=$OBJDUMP
6192 # Extract the first word of "objdump", so it can be a program name with args.
6193 set dummy objdump; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6197 $as_echo_n "(cached) " >&6
6199 if test -n "$ac_ct_OBJDUMP"; then
6200 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6209 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6219 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6220 if test -n "$ac_ct_OBJDUMP"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6222 $as_echo "$ac_ct_OBJDUMP" >&6; }
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6228 if test "x$ac_ct_OBJDUMP" = x; then
6231 case $cross_compiling:$ac_tool_warned in
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6235 ac_tool_warned=yes ;;
6237 OBJDUMP=$ac_ct_OBJDUMP
6240 OBJDUMP="$ac_cv_prog_OBJDUMP"
6243 test -z "$OBJDUMP" && OBJDUMP=objdump
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6251 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6252 if ${lt_cv_deplibs_check_method+:} false; then :
6253 $as_echo_n "(cached) " >&6
6255 lt_cv_file_magic_cmd='$MAGIC_CMD'
6256 lt_cv_file_magic_test_file=
6257 lt_cv_deplibs_check_method='unknown'
6258 # Need to set the preceding variable on all platforms that support
6259 # interlibrary dependencies.
6260 # 'none' -- dependencies not supported.
6261 # 'unknown' -- same as none, but documents that we really don't know.
6262 # 'pass_all' -- all dependencies passed with no checks.
6263 # 'test_compile' -- check by making test program.
6264 # 'file_magic [[regex]]' -- check by looking for files in library path
6265 # that responds to the $file_magic_cmd with a given extended regex.
6266 # If you have 'file' or equivalent on your system and you're not sure
6267 # whether 'pass_all' will *always* work, you probably want this one.
6271 lt_cv_deplibs_check_method=pass_all
6275 lt_cv_deplibs_check_method=pass_all
6279 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6280 lt_cv_file_magic_cmd='/usr/bin/file -L'
6281 lt_cv_file_magic_test_file=/shlib/libc.so
6285 # func_win32_libid is a shell function defined in ltmain.sh
6286 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6287 lt_cv_file_magic_cmd='func_win32_libid'
6291 # Base MSYS/MinGW do not provide the 'file' command needed by
6292 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6293 # unless we find 'file', for example because we are cross-compiling.
6294 if ( file / ) >/dev/null 2>&1; then
6295 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6296 lt_cv_file_magic_cmd='func_win32_libid'
6298 # Keep this pattern in sync with the one in func_win32_libid.
6299 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6300 lt_cv_file_magic_cmd='$OBJDUMP -f'
6305 # use the weaker test based on 'objdump'. See mingw*.
6306 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6307 lt_cv_file_magic_cmd='$OBJDUMP -f'
6310 darwin* | rhapsody*)
6311 lt_cv_deplibs_check_method=pass_all
6314 freebsd* | dragonfly*)
6315 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6318 # Not sure whether the presence of OpenBSD here was a mistake.
6319 # Let's accept both of them until this is cleared up.
6320 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6321 lt_cv_file_magic_cmd=/usr/bin/file
6322 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6326 lt_cv_deplibs_check_method=pass_all
6331 lt_cv_deplibs_check_method=pass_all
6334 hpux10.20* | hpux11*)
6335 lt_cv_file_magic_cmd=/usr/bin/file
6338 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6339 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6342 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6343 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6346 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6347 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6353 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6357 irix5* | irix6* | nonstopux*)
6359 *-32|*"-32 ") libmagic=32-bit;;
6360 *-n32|*"-n32 ") libmagic=N32;;
6361 *-64|*"-64 ") libmagic=64-bit;;
6362 *) libmagic=never-match;;
6364 lt_cv_deplibs_check_method=pass_all
6367 # This must be glibc/ELF.
6368 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6369 lt_cv_deplibs_check_method=pass_all
6373 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6374 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6376 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6381 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6382 lt_cv_file_magic_cmd=/usr/bin/file
6383 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6387 lt_cv_deplibs_check_method=pass_all
6391 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6392 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6394 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6398 osf3* | osf4* | osf5*)
6399 lt_cv_deplibs_check_method=pass_all
6403 lt_cv_deplibs_check_method=pass_all
6407 lt_cv_deplibs_check_method=pass_all
6410 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6411 lt_cv_deplibs_check_method=pass_all
6415 case $host_vendor in
6417 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]'
6418 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6421 lt_cv_deplibs_check_method=pass_all
6424 lt_cv_file_magic_cmd='/bin/file'
6425 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6428 lt_cv_file_magic_cmd='/bin/file'
6429 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6430 lt_cv_file_magic_test_file=/lib/libc.so
6433 lt_cv_deplibs_check_method=pass_all
6436 lt_cv_deplibs_check_method=pass_all
6442 lt_cv_deplibs_check_method=pass_all
6445 lt_cv_deplibs_check_method=pass_all
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6451 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6455 if test "$build" = "$host"; then
6458 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6461 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6467 file_magic_cmd=$lt_cv_file_magic_cmd
6468 deplibs_check_method=$lt_cv_deplibs_check_method
6469 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6492 if test -n "$ac_tool_prefix"; then
6493 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6494 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496 $as_echo_n "checking for $ac_word... " >&6; }
6497 if ${ac_cv_prog_DLLTOOL+:} false; then :
6498 $as_echo_n "(cached) " >&6
6500 if test -n "$DLLTOOL"; then
6501 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 test -z "$as_dir" && as_dir=.
6508 for ac_exec_ext in '' $ac_executable_extensions; do
6509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6510 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6520 DLLTOOL=$ac_cv_prog_DLLTOOL
6521 if test -n "$DLLTOOL"; then
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6523 $as_echo "$DLLTOOL" >&6; }
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526 $as_echo "no" >&6; }
6531 if test -z "$ac_cv_prog_DLLTOOL"; then
6532 ac_ct_DLLTOOL=$DLLTOOL
6533 # Extract the first word of "dlltool", so it can be a program name with args.
6534 set dummy dlltool; ac_word=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6538 $as_echo_n "(cached) " >&6
6540 if test -n "$ac_ct_DLLTOOL"; then
6541 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 test -z "$as_dir" && as_dir=.
6548 for ac_exec_ext in '' $ac_executable_extensions; do
6549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6550 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6560 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6561 if test -n "$ac_ct_DLLTOOL"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6563 $as_echo "$ac_ct_DLLTOOL" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6569 if test "x$ac_ct_DLLTOOL" = x; then
6572 case $cross_compiling:$ac_tool_warned in
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6576 ac_tool_warned=yes ;;
6578 DLLTOOL=$ac_ct_DLLTOOL
6581 DLLTOOL="$ac_cv_prog_DLLTOOL"
6584 test -z "$DLLTOOL" && DLLTOOL=dlltool
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6593 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6594 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6595 $as_echo_n "(cached) " >&6
6597 lt_cv_sharedlib_from_linklib_cmd='unknown'
6600 cygwin* | mingw* | pw32* | cegcc*)
6601 # two different shell functions defined in ltmain.sh;
6602 # decide which one to use based on capabilities of $DLLTOOL
6603 case `$DLLTOOL --help 2>&1` in
6604 *--identify-strict*)
6605 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6608 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6613 # fallback: assume linklib IS sharedlib
6614 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6620 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6621 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6622 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6630 if test -n "$ac_tool_prefix"; then
6633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6636 $as_echo_n "checking for $ac_word... " >&6; }
6637 if ${ac_cv_prog_AR+:} false; then :
6638 $as_echo_n "(cached) " >&6
6640 if test -n "$AR"; then
6641 ac_cv_prog_AR="$AR" # Let the user override the test.
6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 test -z "$as_dir" && as_dir=.
6648 for ac_exec_ext in '' $ac_executable_extensions; do
6649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6650 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 if test -n "$AR"; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6663 $as_echo "$AR" >&6; }
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6666 $as_echo "no" >&6; }
6670 test -n "$AR" && break
6673 if test -z "$AR"; then
6677 # Extract the first word of "$ac_prog", so it can be a program name with args.
6678 set dummy $ac_prog; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6682 $as_echo_n "(cached) " >&6
6684 if test -n "$ac_ct_AR"; then
6685 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6694 ac_cv_prog_ac_ct_AR="$ac_prog"
6695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6705 if test -n "$ac_ct_AR"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6707 $as_echo "$ac_ct_AR" >&6; }
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6714 test -n "$ac_ct_AR" && break
6717 if test "x$ac_ct_AR" = x; then
6720 case $cross_compiling:$ac_tool_warned in
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned=yes ;;
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6744 $as_echo_n "checking for archiver @FILE support... " >&6; }
6745 if ${lt_cv_ar_at_file+:} false; then :
6746 $as_echo_n "(cached) " >&6
6749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6750 /* end confdefs.h. */
6760 if ac_fn_c_try_compile "$LINENO"; then :
6761 echo conftest.$ac_objext > conftest.lst
6762 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6763 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6764 (eval $lt_ar_try) 2>&5
6766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6767 test $ac_status = 0; }
6768 if test 0 -eq "$ac_status"; then
6769 # Ensure the archiver fails upon bogus file names.
6770 rm -f conftest.$ac_objext libconftest.a
6771 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6772 (eval $lt_ar_try) 2>&5
6774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6775 test $ac_status = 0; }
6776 if test 0 -ne "$ac_status"; then
6780 rm -f conftest.* libconftest.a
6783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6787 $as_echo "$lt_cv_ar_at_file" >&6; }
6789 if test no = "$lt_cv_ar_at_file"; then
6792 archiver_list_spec=$lt_cv_ar_at_file
6801 if test -n "$ac_tool_prefix"; then
6802 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6803 set dummy ${ac_tool_prefix}strip; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_STRIP+:} false; then :
6807 $as_echo_n "(cached) " >&6
6809 if test -n "$STRIP"; then
6810 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 test -z "$as_dir" && as_dir=.
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6829 STRIP=$ac_cv_prog_STRIP
6830 if test -n "$STRIP"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6832 $as_echo "$STRIP" >&6; }
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6840 if test -z "$ac_cv_prog_STRIP"; then
6842 # Extract the first word of "strip", so it can be a program name with args.
6843 set dummy strip; ac_word=$2
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 $as_echo_n "checking for $ac_word... " >&6; }
6846 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6847 $as_echo_n "(cached) " >&6
6849 if test -n "$ac_ct_STRIP"; then
6850 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856 test -z "$as_dir" && as_dir=.
6857 for ac_exec_ext in '' $ac_executable_extensions; do
6858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6859 ac_cv_prog_ac_ct_STRIP="strip"
6860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6869 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6870 if test -n "$ac_ct_STRIP"; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6872 $as_echo "$ac_ct_STRIP" >&6; }
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6878 if test "x$ac_ct_STRIP" = x; then
6881 case $cross_compiling:$ac_tool_warned in
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6885 ac_tool_warned=yes ;;
6890 STRIP="$ac_cv_prog_STRIP"
6893 test -z "$STRIP" && STRIP=:
6900 if test -n "$ac_tool_prefix"; then
6901 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6904 $as_echo_n "checking for $ac_word... " >&6; }
6905 if ${ac_cv_prog_RANLIB+:} false; then :
6906 $as_echo_n "(cached) " >&6
6908 if test -n "$RANLIB"; then
6909 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915 test -z "$as_dir" && as_dir=.
6916 for ac_exec_ext in '' $ac_executable_extensions; do
6917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6918 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6928 RANLIB=$ac_cv_prog_RANLIB
6929 if test -n "$RANLIB"; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6931 $as_echo "$RANLIB" >&6; }
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6934 $as_echo "no" >&6; }
6939 if test -z "$ac_cv_prog_RANLIB"; then
6940 ac_ct_RANLIB=$RANLIB
6941 # Extract the first word of "ranlib", so it can be a program name with args.
6942 set dummy ranlib; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6946 $as_echo_n "(cached) " >&6
6948 if test -n "$ac_ct_RANLIB"; then
6949 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6958 ac_cv_prog_ac_ct_RANLIB="ranlib"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6969 if test -n "$ac_ct_RANLIB"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6971 $as_echo "$ac_ct_RANLIB" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6977 if test "x$ac_ct_RANLIB" = x; then
6980 case $cross_compiling:$ac_tool_warned in
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6984 ac_tool_warned=yes ;;
6986 RANLIB=$ac_ct_RANLIB
6989 RANLIB="$ac_cv_prog_RANLIB"
6992 test -z "$RANLIB" && RANLIB=:
6999 # Determine commands to create old-style static archives.
7000 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7001 old_postinstall_cmds='chmod 644 $oldlib'
7002 old_postuninstall_cmds=
7004 if test -n "$RANLIB"; then
7007 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7010 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7013 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7018 lock_old_archive_extraction=yes ;;
7020 lock_old_archive_extraction=no ;;
7061 # If no C compiler was specified, use CC.
7064 # If no C compiler flags were specified, use CFLAGS.
7065 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7067 # Allow CC to be a program name with arguments.
7071 # Check for command to grab the raw symbol name followed by C symbol from nm.
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7073 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7074 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7075 $as_echo_n "(cached) " >&6
7078 # These are sane defaults that work on at least a few old systems.
7079 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7081 # Character class describing NM global symbol codes.
7082 symcode='[BCDEGRST]'
7084 # Regexp to match symbols that can be accessed directly from C.
7085 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7087 # Define system-specific variables.
7092 cygwin* | mingw* | pw32* | cegcc*)
7093 symcode='[ABCDGISTW]'
7096 if test ia64 = "$host_cpu"; then
7097 symcode='[ABCDEGRST]'
7101 symcode='[BCDEGRST]'
7104 symcode='[BCDEGQRST]'
7115 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7123 # If we're using GNU nm, then use its standard symbol codes.
7124 case `$NM -V 2>&1` in
7125 *GNU* | *'with BFD'*)
7126 symcode='[ABCDGIRSTW]' ;;
7129 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7130 # Gets list of data symbols to import.
7131 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7132 # Adjust the below global symbol transforms to fixup imported variables.
7133 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7134 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7135 lt_c_name_lib_hook="\
7136 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7137 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7139 # Disable hooks by default.
7140 lt_cv_sys_global_symbol_to_import=
7146 # Transform an extracted symbol line into a proper C declaration.
7147 # Some systems (esp. on ia64) link data and code symbols differently,
7148 # so use this general approach.
7149 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7151 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7152 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7154 # Transform an extracted symbol line into symbol name and symbol address
7155 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7157 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7158 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7160 # Transform an extracted symbol line into symbol name with lib prefix and
7162 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7163 $lt_c_name_lib_hook\
7164 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7165 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7166 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7168 # Handle CRLF in mingw tool chain
7172 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7176 # Try without a prefix underscore, then with it.
7177 for ac_symprfx in "" "_"; do
7179 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7180 symxfrm="\\1 $ac_symprfx\\2 \\2"
7182 # Write the raw and C identifiers.
7183 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7184 # Fake it for dumpbin and say T for any non-static function,
7185 # D for any global variable and I for any imported variable.
7186 # Also find C++ and __fastcall symbols from MSVC++,
7187 # which start with @ or ?.
7188 lt_cv_sys_global_symbol_pipe="$AWK '"\
7189 " {last_section=section; section=\$ 3};"\
7190 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7191 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7192 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7193 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7194 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7195 " \$ 0!~/External *\|/{next};"\
7196 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7197 " {if(hide[section]) next};"\
7198 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7199 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7200 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7201 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7202 " ' prfx=^$ac_symprfx"
7204 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7206 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7208 # Check to see that the pipe works correctly.
7212 cat > conftest.$ac_ext <<_LT_EOF
7217 void nm_test_func(void);
7218 void nm_test_func(void){}
7222 int main(){nm_test_var='a';nm_test_func();return(0);}
7225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7226 (eval $ac_compile) 2>&5
7228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7229 test $ac_status = 0; }; then
7230 # Now try to grab the symbols.
7232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7233 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7236 test $ac_status = 0; } && test -s "$nlist"; then
7237 # Try sorting and uniquifying the output.
7238 if sort "$nlist" | uniq > "$nlist"T; then
7239 mv -f "$nlist"T "$nlist"
7244 # Make sure that we snagged all the symbols we need.
7245 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7246 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7247 cat <<_LT_EOF > conftest.$ac_ext
7248 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7249 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7250 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7251 relocations are performed -- see ld's documentation on pseudo-relocs. */
7252 # define LT_DLSYM_CONST
7253 #elif defined __osf__
7254 /* This system does not cope well with relocations in const data. */
7255 # define LT_DLSYM_CONST
7257 # define LT_DLSYM_CONST const
7265 # Now generate the symbol file.
7266 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7268 cat <<_LT_EOF >> conftest.$ac_ext
7270 /* The mapping between symbol names and symbols. */
7271 LT_DLSYM_CONST struct {
7275 lt__PROGRAM__LTX_preloaded_symbols[] =
7277 { "@PROGRAM@", (void *) 0 },
7279 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7280 cat <<\_LT_EOF >> conftest.$ac_ext
7284 /* This works around a problem in FreeBSD linker */
7285 #ifdef FREEBSD_WORKAROUND
7286 static const void *lt_preloaded_setup() {
7287 return lt__PROGRAM__LTX_preloaded_symbols;
7295 # Now try linking the two files.
7296 mv conftest.$ac_objext conftstm.$ac_objext
7297 lt_globsym_save_LIBS=$LIBS
7298 lt_globsym_save_CFLAGS=$CFLAGS
7299 LIBS=conftstm.$ac_objext
7300 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7302 (eval $ac_link) 2>&5
7304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7305 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7308 LIBS=$lt_globsym_save_LIBS
7309 CFLAGS=$lt_globsym_save_CFLAGS
7311 echo "cannot find nm_test_func in $nlist" >&5
7314 echo "cannot find nm_test_var in $nlist" >&5
7317 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7320 echo "$progname: failed program was:" >&5
7321 cat conftest.$ac_ext >&5
7323 rm -rf conftest* conftst*
7325 # Do not use the global_symbol_pipe unless it works.
7326 if test yes = "$pipe_works"; then
7329 lt_cv_sys_global_symbol_pipe=
7335 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7336 lt_cv_sys_global_symbol_to_cdecl=
7338 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7340 $as_echo "failed" >&6; }
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7343 $as_echo "ok" >&6; }
7346 # Response file support.
7347 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7348 nm_file_list_spec='@'
7349 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7350 nm_file_list_spec='@'
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7390 $as_echo_n "checking for sysroot... " >&6; }
7392 # Check whether --with-sysroot was given.
7393 if test "${with_sysroot+set}" = set; then :
7394 withval=$with_sysroot;
7401 case $with_sysroot in #(
7403 if test yes = "$GCC"; then
7404 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7408 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7414 $as_echo "$with_sysroot" >&6; }
7415 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7420 $as_echo "${lt_sysroot:-no}" >&6; }
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7427 $as_echo_n "checking for a working dd... " >&6; }
7428 if ${ac_cv_path_lt_DD+:} false; then :
7429 $as_echo_n "(cached) " >&6
7431 printf 0123456789abcdef0123456789abcdef >conftest.i
7432 cat conftest.i conftest.i >conftest2.i
7434 if test -z "$lt_DD"; then
7435 ac_path_lt_DD_found=false
7436 # Loop through the user's path and test for each of PROGNAME-LIST
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 test -z "$as_dir" && as_dir=.
7442 for ac_prog in dd; do
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7445 as_fn_executable_p "$ac_path_lt_DD" || continue
7446 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7447 cmp -s conftest.i conftest.out \
7448 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7450 $ac_path_lt_DD_found && break 3
7455 if test -z "$ac_cv_path_lt_DD"; then
7459 ac_cv_path_lt_DD=$lt_DD
7462 rm -f conftest.i conftest2.i conftest.out
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7465 $as_echo "$ac_cv_path_lt_DD" >&6; }
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7469 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7470 if ${lt_cv_truncate_bin+:} false; then :
7471 $as_echo_n "(cached) " >&6
7473 printf 0123456789abcdef0123456789abcdef >conftest.i
7474 cat conftest.i conftest.i >conftest2.i
7476 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7477 cmp -s conftest.i conftest.out \
7478 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7480 rm -f conftest.i conftest2.i conftest.out
7481 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7484 $as_echo "$lt_cv_truncate_bin" >&6; }
7492 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7495 for cc_temp in $*""; do
7497 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7498 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7503 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7506 # Check whether --enable-libtool-lock was given.
7507 if test "${enable_libtool_lock+set}" = set; then :
7508 enableval=$enable_libtool_lock;
7511 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7513 # Some flags need to be propagated to the compiler or linker for good
7517 # Find out what ABI is being produced by ac_compile, and set mode
7518 # options accordingly.
7519 echo 'int i;' > conftest.$ac_ext
7520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7521 (eval $ac_compile) 2>&5
7523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7524 test $ac_status = 0; }; then
7525 case `/usr/bin/file conftest.$ac_objext` in
7537 # Find out what ABI is being produced by ac_compile, and set linker
7538 # options accordingly.
7539 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7541 (eval $ac_compile) 2>&5
7543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7544 test $ac_status = 0; }; then
7545 if test yes = "$lt_cv_prog_gnu_ld"; then
7546 case `/usr/bin/file conftest.$ac_objext` in
7548 LD="${LD-ld} -melf32bsmip"
7551 LD="${LD-ld} -melf32bmipn32"
7554 LD="${LD-ld} -melf64bmip"
7558 case `/usr/bin/file conftest.$ac_objext` in
7575 # Find out what ABI is being produced by ac_compile, and set linker
7576 # options accordingly.
7577 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7579 (eval $ac_compile) 2>&5
7581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7582 test $ac_status = 0; }; then
7584 case `/usr/bin/file conftest.$ac_objext` in
7592 case `/usr/bin/file conftest.$ac_objext` in
7594 emul="${emul}btsmip"
7597 emul="${emul}ltsmip"
7600 case `/usr/bin/file conftest.$ac_objext` in
7605 LD="${LD-ld} -m $emul"
7610 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7611 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7612 # Find out what ABI is being produced by ac_compile, and set linker
7613 # options accordingly. Note that the listed cases only cover the
7614 # situations where additional linker options are needed (such as when
7615 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7616 # vice versa); the common cases where no linker options are needed do
7617 # not appear in the list.
7618 echo 'int i;' > conftest.$ac_ext
7619 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7620 (eval $ac_compile) 2>&5
7622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7623 test $ac_status = 0; }; then
7624 case `/usr/bin/file conftest.o` in
7627 x86_64-*kfreebsd*-gnu)
7628 LD="${LD-ld} -m elf_i386_fbsd"
7631 case `/usr/bin/file conftest.o` in
7633 LD="${LD-ld} -m elf32_x86_64"
7636 LD="${LD-ld} -m elf_i386"
7640 powerpc64le-*linux*)
7641 LD="${LD-ld} -m elf32lppclinux"
7644 LD="${LD-ld} -m elf32ppclinux"
7647 LD="${LD-ld} -m elf_s390"
7650 LD="${LD-ld} -m elf32_sparc"
7656 x86_64-*kfreebsd*-gnu)
7657 LD="${LD-ld} -m elf_x86_64_fbsd"
7660 LD="${LD-ld} -m elf_x86_64"
7663 LD="${LD-ld} -m elf64lppc"
7666 LD="${LD-ld} -m elf64ppc"
7668 s390*-*linux*|s390*-*tpf*)
7669 LD="${LD-ld} -m elf64_s390"
7672 LD="${LD-ld} -m elf64_sparc"
7682 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7684 CFLAGS="$CFLAGS -belf"
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7686 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7687 if ${lt_cv_cc_needs_belf+:} false; then :
7688 $as_echo_n "(cached) " >&6
7691 ac_cpp='$CPP $CPPFLAGS'
7692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7707 if ac_fn_c_try_link "$LINENO"; then :
7708 lt_cv_cc_needs_belf=yes
7710 lt_cv_cc_needs_belf=no
7712 rm -f core conftest.err conftest.$ac_objext \
7713 conftest$ac_exeext conftest.$ac_ext
7715 ac_cpp='$CPP $CPPFLAGS'
7716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7722 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7723 if test yes != "$lt_cv_cc_needs_belf"; then
7724 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7729 # Find out what ABI is being produced by ac_compile, and set linker
7730 # options accordingly.
7731 echo 'int i;' > conftest.$ac_ext
7732 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7733 (eval $ac_compile) 2>&5
7735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7736 test $ac_status = 0; }; then
7737 case `/usr/bin/file conftest.o` in
7739 case $lt_cv_prog_gnu_ld in
7742 i?86-*-solaris*|x86_64-*-solaris*)
7743 LD="${LD-ld} -m elf_x86_64"
7746 LD="${LD-ld} -m elf64_sparc"
7749 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7750 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7755 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7767 need_locks=$enable_libtool_lock
7769 if test -n "$ac_tool_prefix"; then
7770 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7771 set dummy ${ac_tool_prefix}mt; ac_word=$2
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7773 $as_echo_n "checking for $ac_word... " >&6; }
7774 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7775 $as_echo_n "(cached) " >&6
7777 if test -n "$MANIFEST_TOOL"; then
7778 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 test -z "$as_dir" && as_dir=.
7785 for ac_exec_ext in '' $ac_executable_extensions; do
7786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7787 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7797 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7798 if test -n "$MANIFEST_TOOL"; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7800 $as_echo "$MANIFEST_TOOL" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803 $as_echo "no" >&6; }
7808 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7809 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7810 # Extract the first word of "mt", so it can be a program name with args.
7811 set dummy mt; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7813 $as_echo_n "checking for $ac_word... " >&6; }
7814 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7815 $as_echo_n "(cached) " >&6
7817 if test -n "$ac_ct_MANIFEST_TOOL"; then
7818 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7827 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7837 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7838 if test -n "$ac_ct_MANIFEST_TOOL"; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7840 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7843 $as_echo "no" >&6; }
7846 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7849 case $cross_compiling:$ac_tool_warned in
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7853 ac_tool_warned=yes ;;
7855 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7858 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7861 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7863 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7864 if ${lt_cv_path_mainfest_tool+:} false; then :
7865 $as_echo_n "(cached) " >&6
7867 lt_cv_path_mainfest_tool=no
7868 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7869 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7870 cat conftest.err >&5
7871 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7872 lt_cv_path_mainfest_tool=yes
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7877 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7878 if test yes != "$lt_cv_path_mainfest_tool"; then
7888 rhapsody* | darwin*)
7889 if test -n "$ac_tool_prefix"; then
7890 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7891 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7893 $as_echo_n "checking for $ac_word... " >&6; }
7894 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7895 $as_echo_n "(cached) " >&6
7897 if test -n "$DSYMUTIL"; then
7898 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7904 test -z "$as_dir" && as_dir=.
7905 for ac_exec_ext in '' $ac_executable_extensions; do
7906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7907 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7917 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7918 if test -n "$DSYMUTIL"; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7920 $as_echo "$DSYMUTIL" >&6; }
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7923 $as_echo "no" >&6; }
7928 if test -z "$ac_cv_prog_DSYMUTIL"; then
7929 ac_ct_DSYMUTIL=$DSYMUTIL
7930 # Extract the first word of "dsymutil", so it can be a program name with args.
7931 set dummy dsymutil; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933 $as_echo_n "checking for $ac_word... " >&6; }
7934 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7935 $as_echo_n "(cached) " >&6
7937 if test -n "$ac_ct_DSYMUTIL"; then
7938 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 test -z "$as_dir" && as_dir=.
7945 for ac_exec_ext in '' $ac_executable_extensions; do
7946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7947 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7957 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7958 if test -n "$ac_ct_DSYMUTIL"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7960 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7963 $as_echo "no" >&6; }
7966 if test "x$ac_ct_DSYMUTIL" = x; then
7969 case $cross_compiling:$ac_tool_warned in
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7973 ac_tool_warned=yes ;;
7975 DSYMUTIL=$ac_ct_DSYMUTIL
7978 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7981 if test -n "$ac_tool_prefix"; then
7982 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7983 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7985 $as_echo_n "checking for $ac_word... " >&6; }
7986 if ${ac_cv_prog_NMEDIT+:} false; then :
7987 $as_echo_n "(cached) " >&6
7989 if test -n "$NMEDIT"; then
7990 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7999 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8009 NMEDIT=$ac_cv_prog_NMEDIT
8010 if test -n "$NMEDIT"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8012 $as_echo "$NMEDIT" >&6; }
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8020 if test -z "$ac_cv_prog_NMEDIT"; then
8021 ac_ct_NMEDIT=$NMEDIT
8022 # Extract the first word of "nmedit", so it can be a program name with args.
8023 set dummy nmedit; ac_word=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8025 $as_echo_n "checking for $ac_word... " >&6; }
8026 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8027 $as_echo_n "(cached) " >&6
8029 if test -n "$ac_ct_NMEDIT"; then
8030 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8036 test -z "$as_dir" && as_dir=.
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8039 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8049 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8050 if test -n "$ac_ct_NMEDIT"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8052 $as_echo "$ac_ct_NMEDIT" >&6; }
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 $as_echo "no" >&6; }
8058 if test "x$ac_ct_NMEDIT" = x; then
8061 case $cross_compiling:$ac_tool_warned in
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8065 ac_tool_warned=yes ;;
8067 NMEDIT=$ac_ct_NMEDIT
8070 NMEDIT="$ac_cv_prog_NMEDIT"
8073 if test -n "$ac_tool_prefix"; then
8074 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8075 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8077 $as_echo_n "checking for $ac_word... " >&6; }
8078 if ${ac_cv_prog_LIPO+:} false; then :
8079 $as_echo_n "(cached) " >&6
8081 if test -n "$LIPO"; then
8082 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8101 LIPO=$ac_cv_prog_LIPO
8102 if test -n "$LIPO"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8104 $as_echo "$LIPO" >&6; }
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8107 $as_echo "no" >&6; }
8112 if test -z "$ac_cv_prog_LIPO"; then
8114 # Extract the first word of "lipo", so it can be a program name with args.
8115 set dummy lipo; ac_word=$2
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8117 $as_echo_n "checking for $ac_word... " >&6; }
8118 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8119 $as_echo_n "(cached) " >&6
8121 if test -n "$ac_ct_LIPO"; then
8122 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8128 test -z "$as_dir" && as_dir=.
8129 for ac_exec_ext in '' $ac_executable_extensions; do
8130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8131 ac_cv_prog_ac_ct_LIPO="lipo"
8132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8141 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8142 if test -n "$ac_ct_LIPO"; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8144 $as_echo "$ac_ct_LIPO" >&6; }
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147 $as_echo "no" >&6; }
8150 if test "x$ac_ct_LIPO" = x; then
8153 case $cross_compiling:$ac_tool_warned in
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8157 ac_tool_warned=yes ;;
8162 LIPO="$ac_cv_prog_LIPO"
8165 if test -n "$ac_tool_prefix"; then
8166 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8167 set dummy ${ac_tool_prefix}otool; ac_word=$2
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8169 $as_echo_n "checking for $ac_word... " >&6; }
8170 if ${ac_cv_prog_OTOOL+:} false; then :
8171 $as_echo_n "(cached) " >&6
8173 if test -n "$OTOOL"; then
8174 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8180 test -z "$as_dir" && as_dir=.
8181 for ac_exec_ext in '' $ac_executable_extensions; do
8182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8183 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8193 OTOOL=$ac_cv_prog_OTOOL
8194 if test -n "$OTOOL"; then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8196 $as_echo "$OTOOL" >&6; }
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8199 $as_echo "no" >&6; }
8204 if test -z "$ac_cv_prog_OTOOL"; then
8206 # Extract the first word of "otool", so it can be a program name with args.
8207 set dummy otool; ac_word=$2
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8209 $as_echo_n "checking for $ac_word... " >&6; }
8210 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8211 $as_echo_n "(cached) " >&6
8213 if test -n "$ac_ct_OTOOL"; then
8214 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220 test -z "$as_dir" && as_dir=.
8221 for ac_exec_ext in '' $ac_executable_extensions; do
8222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8223 ac_cv_prog_ac_ct_OTOOL="otool"
8224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8233 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8234 if test -n "$ac_ct_OTOOL"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8236 $as_echo "$ac_ct_OTOOL" >&6; }
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8239 $as_echo "no" >&6; }
8242 if test "x$ac_ct_OTOOL" = x; then
8245 case $cross_compiling:$ac_tool_warned in
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8249 ac_tool_warned=yes ;;
8254 OTOOL="$ac_cv_prog_OTOOL"
8257 if test -n "$ac_tool_prefix"; then
8258 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8259 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8261 $as_echo_n "checking for $ac_word... " >&6; }
8262 if ${ac_cv_prog_OTOOL64+:} false; then :
8263 $as_echo_n "(cached) " >&6
8265 if test -n "$OTOOL64"; then
8266 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8272 test -z "$as_dir" && as_dir=.
8273 for ac_exec_ext in '' $ac_executable_extensions; do
8274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8275 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8285 OTOOL64=$ac_cv_prog_OTOOL64
8286 if test -n "$OTOOL64"; then
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8288 $as_echo "$OTOOL64" >&6; }
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8291 $as_echo "no" >&6; }
8296 if test -z "$ac_cv_prog_OTOOL64"; then
8297 ac_ct_OTOOL64=$OTOOL64
8298 # Extract the first word of "otool64", so it can be a program name with args.
8299 set dummy otool64; ac_word=$2
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8301 $as_echo_n "checking for $ac_word... " >&6; }
8302 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8303 $as_echo_n "(cached) " >&6
8305 if test -n "$ac_ct_OTOOL64"; then
8306 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8312 test -z "$as_dir" && as_dir=.
8313 for ac_exec_ext in '' $ac_executable_extensions; do
8314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8315 ac_cv_prog_ac_ct_OTOOL64="otool64"
8316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8325 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8326 if test -n "$ac_ct_OTOOL64"; then
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8328 $as_echo "$ac_ct_OTOOL64" >&6; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331 $as_echo "no" >&6; }
8334 if test "x$ac_ct_OTOOL64" = x; then
8337 case $cross_compiling:$ac_tool_warned in
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8341 ac_tool_warned=yes ;;
8343 OTOOL64=$ac_ct_OTOOL64
8346 OTOOL64="$ac_cv_prog_OTOOL64"
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8376 $as_echo_n "checking for -single_module linker flag... " >&6; }
8377 if ${lt_cv_apple_cc_single_mod+:} false; then :
8378 $as_echo_n "(cached) " >&6
8380 lt_cv_apple_cc_single_mod=no
8381 if test -z "$LT_MULTI_MODULE"; then
8382 # By default we will add the -single_module flag. You can override
8383 # by either setting the environment variable LT_MULTI_MODULE
8384 # non-empty at configure time, or by adding -multi_module to the
8386 rm -rf libconftest.dylib*
8387 echo "int foo(void){return 1;}" > conftest.c
8388 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8389 -dynamiclib -Wl,-single_module conftest.c" >&5
8390 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8391 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8393 # If there is a non-empty error log, and "single_module"
8394 # appears in it, assume the flag caused a linker warning
8395 if test -s conftest.err && $GREP single_module conftest.err; then
8396 cat conftest.err >&5
8397 # Otherwise, if the output was created with a 0 exit code from
8398 # the compiler, it worked.
8399 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8400 lt_cv_apple_cc_single_mod=yes
8402 cat conftest.err >&5
8404 rm -rf libconftest.dylib*
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8409 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8412 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8413 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8414 $as_echo_n "(cached) " >&6
8416 lt_cv_ld_exported_symbols_list=no
8417 save_LDFLAGS=$LDFLAGS
8418 echo "_main" > conftest.sym
8419 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8431 if ac_fn_c_try_link "$LINENO"; then :
8432 lt_cv_ld_exported_symbols_list=yes
8434 lt_cv_ld_exported_symbols_list=no
8436 rm -f core conftest.err conftest.$ac_objext \
8437 conftest$ac_exeext conftest.$ac_ext
8438 LDFLAGS=$save_LDFLAGS
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8442 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8445 $as_echo_n "checking for -force_load linker flag... " >&6; }
8446 if ${lt_cv_ld_force_load+:} false; then :
8447 $as_echo_n "(cached) " >&6
8449 lt_cv_ld_force_load=no
8450 cat > conftest.c << _LT_EOF
8451 int forced_loaded() { return 2;}
8453 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8454 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8455 echo "$AR cru libconftest.a conftest.o" >&5
8456 $AR cru libconftest.a conftest.o 2>&5
8457 echo "$RANLIB libconftest.a" >&5
8458 $RANLIB libconftest.a 2>&5
8459 cat > conftest.c << _LT_EOF
8460 int main() { return 0;}
8462 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8463 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8465 if test -s conftest.err && $GREP force_load conftest.err; then
8466 cat conftest.err >&5
8467 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8468 lt_cv_ld_force_load=yes
8470 cat conftest.err >&5
8472 rm -f conftest.err libconftest.a conftest conftest.c
8473 rm -rf conftest.dSYM
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8477 $as_echo "$lt_cv_ld_force_load" >&6; }
8479 rhapsody* | darwin1.[012])
8480 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8482 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8483 darwin*) # darwin 5.x on
8484 # if running on 10.5 or later, the deployment target defaults
8485 # to the OS version, if on x86, and 10.4, the deployment
8486 # target defaults to 10.4. Don't you love it?
8487 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8488 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8489 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8491 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8493 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8497 if test yes = "$lt_cv_apple_cc_single_mod"; then
8498 _lt_dar_single_mod='$single_module'
8500 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8501 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8503 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8505 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8506 _lt_dsymutil='~$DSYMUTIL $lib || :'
8513 # func_munge_path_list VARIABLE PATH
8514 # -----------------------------------
8515 # VARIABLE is name of variable containing _space_ separated list of
8516 # directories to be munged by the contents of PATH, which is string
8519 # string "DIR[ DIR]" will be prepended to VARIABLE
8521 # string "DIR[ DIR]" will be appended to VARIABLE
8522 # "DIRP[:DIRP]::[DIRA:]DIRA"
8523 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8524 # "DIRA[ DIRA]" will be appended to VARIABLE
8526 # VARIABLE will be replaced by "DIR[ DIR]"
8527 func_munge_path_list ()
8533 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8536 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8539 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8540 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8543 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8549 $as_echo_n "checking for ANSI C header files... " >&6; }
8550 if ${ac_cv_header_stdc+:} false; then :
8551 $as_echo_n "(cached) " >&6
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8568 if ac_fn_c_try_compile "$LINENO"; then :
8569 ac_cv_header_stdc=yes
8571 ac_cv_header_stdc=no
8573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8575 if test $ac_cv_header_stdc = yes; then
8576 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8583 $EGREP "memchr" >/dev/null 2>&1; then :
8586 ac_cv_header_stdc=no
8592 if test $ac_cv_header_stdc = yes; then
8593 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8600 $EGREP "free" >/dev/null 2>&1; then :
8603 ac_cv_header_stdc=no
8609 if test $ac_cv_header_stdc = yes; then
8610 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8611 if test "$cross_compiling" = yes; then :
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8618 #if ((' ' & 0x0FF) == 0x020)
8619 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8620 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8622 # define ISLOWER(c) \
8623 (('a' <= (c) && (c) <= 'i') \
8624 || ('j' <= (c) && (c) <= 'r') \
8625 || ('s' <= (c) && (c) <= 'z'))
8626 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8629 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8634 for (i = 0; i < 256; i++)
8635 if (XOR (islower (i), ISLOWER (i))
8636 || toupper (i) != TOUPPER (i))
8641 if ac_fn_c_try_run "$LINENO"; then :
8644 ac_cv_header_stdc=no
8646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8647 conftest.$ac_objext conftest.beam conftest.$ac_ext
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8653 $as_echo "$ac_cv_header_stdc" >&6; }
8654 if test $ac_cv_header_stdc = yes; then
8656 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8660 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8661 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8662 inttypes.h stdint.h unistd.h
8664 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8665 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8667 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8668 cat >>confdefs.h <<_ACEOF
8669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8677 for ac_header in dlfcn.h
8679 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8681 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8682 cat >>confdefs.h <<_ACEOF
8683 #define HAVE_DLFCN_H 1
8696 enable_win32_dll=yes
8699 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8700 if test -n "$ac_tool_prefix"; then
8701 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8702 set dummy ${ac_tool_prefix}as; ac_word=$2
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8704 $as_echo_n "checking for $ac_word... " >&6; }
8705 if ${ac_cv_prog_AS+:} false; then :
8706 $as_echo_n "(cached) " >&6
8708 if test -n "$AS"; then
8709 ac_cv_prog_AS="$AS" # Let the user override the test.
8711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8715 test -z "$as_dir" && as_dir=.
8716 for ac_exec_ext in '' $ac_executable_extensions; do
8717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8718 ac_cv_prog_AS="${ac_tool_prefix}as"
8719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8729 if test -n "$AS"; then
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8731 $as_echo "$AS" >&6; }
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8734 $as_echo "no" >&6; }
8739 if test -z "$ac_cv_prog_AS"; then
8741 # Extract the first word of "as", so it can be a program name with args.
8742 set dummy as; ac_word=$2
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8744 $as_echo_n "checking for $ac_word... " >&6; }
8745 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8746 $as_echo_n "(cached) " >&6
8748 if test -n "$ac_ct_AS"; then
8749 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8755 test -z "$as_dir" && as_dir=.
8756 for ac_exec_ext in '' $ac_executable_extensions; do
8757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8758 ac_cv_prog_ac_ct_AS="as"
8759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8768 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8769 if test -n "$ac_ct_AS"; then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8771 $as_echo "$ac_ct_AS" >&6; }
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8774 $as_echo "no" >&6; }
8777 if test "x$ac_ct_AS" = x; then
8780 case $cross_compiling:$ac_tool_warned in
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8784 ac_tool_warned=yes ;;
8792 if test -n "$ac_tool_prefix"; then
8793 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8794 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8796 $as_echo_n "checking for $ac_word... " >&6; }
8797 if ${ac_cv_prog_DLLTOOL+:} false; then :
8798 $as_echo_n "(cached) " >&6
8800 if test -n "$DLLTOOL"; then
8801 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8807 test -z "$as_dir" && as_dir=.
8808 for ac_exec_ext in '' $ac_executable_extensions; do
8809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8810 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8820 DLLTOOL=$ac_cv_prog_DLLTOOL
8821 if test -n "$DLLTOOL"; then
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8823 $as_echo "$DLLTOOL" >&6; }
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8826 $as_echo "no" >&6; }
8831 if test -z "$ac_cv_prog_DLLTOOL"; then
8832 ac_ct_DLLTOOL=$DLLTOOL
8833 # Extract the first word of "dlltool", so it can be a program name with args.
8834 set dummy dlltool; ac_word=$2
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8836 $as_echo_n "checking for $ac_word... " >&6; }
8837 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8838 $as_echo_n "(cached) " >&6
8840 if test -n "$ac_ct_DLLTOOL"; then
8841 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8847 test -z "$as_dir" && as_dir=.
8848 for ac_exec_ext in '' $ac_executable_extensions; do
8849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8850 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8860 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8861 if test -n "$ac_ct_DLLTOOL"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8863 $as_echo "$ac_ct_DLLTOOL" >&6; }
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866 $as_echo "no" >&6; }
8869 if test "x$ac_ct_DLLTOOL" = x; then
8872 case $cross_compiling:$ac_tool_warned in
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8876 ac_tool_warned=yes ;;
8878 DLLTOOL=$ac_ct_DLLTOOL
8881 DLLTOOL="$ac_cv_prog_DLLTOOL"
8884 if test -n "$ac_tool_prefix"; then
8885 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8886 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8888 $as_echo_n "checking for $ac_word... " >&6; }
8889 if ${ac_cv_prog_OBJDUMP+:} false; then :
8890 $as_echo_n "(cached) " >&6
8892 if test -n "$OBJDUMP"; then
8893 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8899 test -z "$as_dir" && as_dir=.
8900 for ac_exec_ext in '' $ac_executable_extensions; do
8901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8902 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8912 OBJDUMP=$ac_cv_prog_OBJDUMP
8913 if test -n "$OBJDUMP"; then
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8915 $as_echo "$OBJDUMP" >&6; }
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8918 $as_echo "no" >&6; }
8923 if test -z "$ac_cv_prog_OBJDUMP"; then
8924 ac_ct_OBJDUMP=$OBJDUMP
8925 # Extract the first word of "objdump", so it can be a program name with args.
8926 set dummy objdump; ac_word=$2
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8928 $as_echo_n "checking for $ac_word... " >&6; }
8929 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8930 $as_echo_n "(cached) " >&6
8932 if test -n "$ac_ct_OBJDUMP"; then
8933 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8939 test -z "$as_dir" && as_dir=.
8940 for ac_exec_ext in '' $ac_executable_extensions; do
8941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8942 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8952 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8953 if test -n "$ac_ct_OBJDUMP"; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8955 $as_echo "$ac_ct_OBJDUMP" >&6; }
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8958 $as_echo "no" >&6; }
8961 if test "x$ac_ct_OBJDUMP" = x; then
8964 case $cross_compiling:$ac_tool_warned in
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8968 ac_tool_warned=yes ;;
8970 OBJDUMP=$ac_ct_OBJDUMP
8973 OBJDUMP="$ac_cv_prog_OBJDUMP"
8979 test -z "$AS" && AS=as
8985 test -z "$DLLTOOL" && DLLTOOL=dlltool
8991 test -z "$OBJDUMP" && OBJDUMP=objdump
9001 # Check whether --enable-shared was given.
9002 if test "${enable_shared+set}" = set; then :
9003 enableval=$enable_shared; p=${PACKAGE-default}
9005 yes) enable_shared=yes ;;
9006 no) enable_shared=no ;;
9009 # Look at the argument we got. We use all the common list separators.
9010 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9011 for pkg in $enableval; do
9013 if test "X$pkg" = "X$p"; then
9032 # Check whether --enable-static was given.
9033 if test "${enable_static+set}" = set; then :
9034 enableval=$enable_static; p=${PACKAGE-default}
9036 yes) enable_static=yes ;;
9037 no) enable_static=no ;;
9040 # Look at the argument we got. We use all the common list separators.
9041 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9042 for pkg in $enableval; do
9044 if test "X$pkg" = "X$p"; then
9064 # Check whether --with-pic was given.
9065 if test "${with_pic+set}" = set; then :
9066 withval=$with_pic; lt_p=${PACKAGE-default}
9068 yes|no) pic_mode=$withval ;;
9071 # Look at the argument we got. We use all the common list separators.
9072 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9073 for lt_pkg in $withval; do
9075 if test "X$lt_pkg" = "X$lt_p"; then
9093 # Check whether --enable-fast-install was given.
9094 if test "${enable_fast_install+set}" = set; then :
9095 enableval=$enable_fast_install; p=${PACKAGE-default}
9097 yes) enable_fast_install=yes ;;
9098 no) enable_fast_install=no ;;
9100 enable_fast_install=no
9101 # Look at the argument we got. We use all the common list separators.
9102 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9103 for pkg in $enableval; do
9105 if test "X$pkg" = "X$p"; then
9106 enable_fast_install=yes
9113 enable_fast_install=yes
9123 shared_archive_member_spec=
9124 case $host,$enable_shared in
9125 power*-*-aix[5-9]*,yes)
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9127 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9129 # Check whether --with-aix-soname was given.
9130 if test "${with_aix_soname+set}" = set; then :
9131 withval=$with_aix_soname; case $withval in
9135 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9138 lt_cv_with_aix_soname=$with_aix_soname
9140 if ${lt_cv_with_aix_soname+:} false; then :
9141 $as_echo_n "(cached) " >&6
9143 lt_cv_with_aix_soname=aix
9146 with_aix_soname=$lt_cv_with_aix_soname
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9150 $as_echo "$with_aix_soname" >&6; }
9151 if test aix != "$with_aix_soname"; then
9152 # For the AIX way of multilib, we name the shared archive member
9153 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9154 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9155 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9156 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9157 if test 64 = "${OBJECT_MODE-32}"; then
9158 shared_archive_member_spec=shr_64
9160 shared_archive_member_spec=shr
9178 # This can be used to rebuild libtool when needed
9179 LIBTOOL_DEPS=$ltmain
9181 # Always use our own libtool.
9182 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9213 test -z "$LN_S" && LN_S="ln -s"
9228 if test -n "${ZSH_VERSION+set}"; then
9229 setopt NO_GLOB_SUBST
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9233 $as_echo_n "checking for objdir... " >&6; }
9234 if ${lt_cv_objdir+:} false; then :
9235 $as_echo_n "(cached) " >&6
9237 rm -f .libs 2>/dev/null
9238 mkdir .libs 2>/dev/null
9239 if test -d .libs; then
9242 # MS-DOS does not allow filenames that begin with a dot.
9245 rmdir .libs 2>/dev/null
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9248 $as_echo "$lt_cv_objdir" >&6; }
9249 objdir=$lt_cv_objdir
9255 cat >>confdefs.h <<_ACEOF
9256 #define LT_OBJDIR "$lt_cv_objdir/"
9264 # AIX sometimes has problems with the GCC collect2 program. For some
9265 # reason, if we set the COLLECT_NAMES environment variable, the problems
9266 # vanish in a puff of smoke.
9267 if test set != "${COLLECT_NAMES+set}"; then
9269 export COLLECT_NAMES
9276 can_build_shared=yes
9278 # All known linkers require a '.a' archive for static linking (except MSVC,
9279 # which needs '.lib').
9282 with_gnu_ld=$lt_cv_prog_gnu_ld
9287 # Set sane defaults for various variables
9288 test -z "$CC" && CC=cc
9289 test -z "$LTCC" && LTCC=$CC
9290 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9291 test -z "$LD" && LD=ld
9292 test -z "$ac_objext" && ac_objext=o
9294 func_cc_basename $compiler
9295 cc_basename=$func_cc_basename_result
9298 # Only perform the check for file, if the check method requires it
9299 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9300 case $deplibs_check_method in
9302 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9304 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9305 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9306 $as_echo_n "(cached) " >&6
9310 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9313 lt_save_MAGIC_CMD=$MAGIC_CMD
9314 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9315 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9316 for ac_dir in $ac_dummy; do
9318 test -z "$ac_dir" && ac_dir=.
9319 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9320 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9321 if test -n "$file_magic_test_file"; then
9322 case $deplibs_check_method in
9324 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9325 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9326 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9327 $EGREP "$file_magic_regex" > /dev/null; then
9332 *** Warning: the command libtool uses to detect shared libraries,
9333 *** $file_magic_cmd, produces output that libtool cannot recognize.
9334 *** The result is that libtool may fail to recognize shared libraries
9335 *** as such. This will affect the creation of libtool libraries that
9336 *** depend on shared libraries, but programs linked with such libtool
9337 *** libraries will work regardless of this problem. Nevertheless, you
9338 *** may want to report the problem to your system manager and/or to
9339 *** bug-libtool@gnu.org
9349 MAGIC_CMD=$lt_save_MAGIC_CMD
9354 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9355 if test -n "$MAGIC_CMD"; then
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9357 $as_echo "$MAGIC_CMD" >&6; }
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9360 $as_echo "no" >&6; }
9367 if test -z "$lt_cv_path_MAGIC_CMD"; then
9368 if test -n "$ac_tool_prefix"; then
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9370 $as_echo_n "checking for file... " >&6; }
9371 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9372 $as_echo_n "(cached) " >&6
9376 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9379 lt_save_MAGIC_CMD=$MAGIC_CMD
9380 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9381 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9382 for ac_dir in $ac_dummy; do
9384 test -z "$ac_dir" && ac_dir=.
9385 if test -f "$ac_dir/file"; then
9386 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9387 if test -n "$file_magic_test_file"; then
9388 case $deplibs_check_method in
9390 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9391 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9392 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9393 $EGREP "$file_magic_regex" > /dev/null; then
9398 *** Warning: the command libtool uses to detect shared libraries,
9399 *** $file_magic_cmd, produces output that libtool cannot recognize.
9400 *** The result is that libtool may fail to recognize shared libraries
9401 *** as such. This will affect the creation of libtool libraries that
9402 *** depend on shared libraries, but programs linked with such libtool
9403 *** libraries will work regardless of this problem. Nevertheless, you
9404 *** may want to report the problem to your system manager and/or to
9405 *** bug-libtool@gnu.org
9415 MAGIC_CMD=$lt_save_MAGIC_CMD
9420 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9421 if test -n "$MAGIC_CMD"; then
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9423 $as_echo "$MAGIC_CMD" >&6; }
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9426 $as_echo "no" >&6; }
9439 # Use C for the default configuration in the libtool script
9443 ac_cpp='$CPP $CPPFLAGS'
9444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9449 # Source file extension for C test sources.
9452 # Object file extension for compiled C test sources.
9456 # Code to be used in simple compile tests
9457 lt_simple_compile_test_code="int some_variable = 0;"
9459 # Code to be used in simple link tests
9460 lt_simple_link_test_code='int main(){return(0);}'
9468 # If no C compiler was specified, use CC.
9471 # If no C compiler flags were specified, use CFLAGS.
9472 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9474 # Allow CC to be a program name with arguments.
9477 # Save the default compiler, since it gets overwritten when the other
9478 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9479 compiler_DEFAULT=$CC
9481 # save warnings/boilerplate of simple test code
9482 ac_outfile=conftest.$ac_objext
9483 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9484 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9485 _lt_compiler_boilerplate=`cat conftest.err`
9488 ac_outfile=conftest.$ac_objext
9489 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9490 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9491 _lt_linker_boilerplate=`cat conftest.err`
9496 ## There is no encapsulation within the following macros, do not change
9497 ## the running order or otherwise move them around unless you know exactly
9498 ## what you are doing...
9499 if test -n "$compiler"; then
9501 lt_prog_compiler_no_builtin_flag=
9503 if test yes = "$GCC"; then
9504 case $cc_basename in
9506 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9508 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9512 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9513 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9514 $as_echo_n "(cached) " >&6
9516 lt_cv_prog_compiler_rtti_exceptions=no
9517 ac_outfile=conftest.$ac_objext
9518 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9519 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9520 # Insert the option either (1) after the last *FLAGS variable, or
9521 # (2) before a word containing "conftest.", or (3) at the end.
9522 # Note that $ac_compile itself does not contain backslashes and begins
9523 # with a dollar sign (not a hyphen), so the echo should work correctly.
9524 # The option is referenced via a variable to avoid confusing sed.
9525 lt_compile=`echo "$ac_compile" | $SED \
9526 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9527 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9528 -e 's:$: $lt_compiler_flag:'`
9529 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9530 (eval "$lt_compile" 2>conftest.err)
9532 cat conftest.err >&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 if (exit $ac_status) && test -s "$ac_outfile"; then
9535 # The compiler can only warn and ignore the option if not recognized
9536 # So say no if there are warnings other than the usual output.
9537 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9538 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9539 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9540 lt_cv_prog_compiler_rtti_exceptions=yes
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9547 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9549 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9550 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9562 lt_prog_compiler_wl=
9563 lt_prog_compiler_pic=
9564 lt_prog_compiler_static=
9567 if test yes = "$GCC"; then
9568 lt_prog_compiler_wl='-Wl,'
9569 lt_prog_compiler_static='-static'
9573 # All AIX code is PIC.
9574 if test ia64 = "$host_cpu"; then
9575 # AIX 5 now supports IA64 processor
9576 lt_prog_compiler_static='-Bstatic'
9578 lt_prog_compiler_pic='-fPIC'
9584 # see comment about AmigaOS4 .so support
9585 lt_prog_compiler_pic='-fPIC'
9588 # FIXME: we need at least 68020 code to build shared libraries, but
9589 # adding the '-m68020' flag to GCC prevents building anything better,
9591 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9596 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9597 # PIC is the default for these OSes.
9600 mingw* | cygwin* | pw32* | os2* | cegcc*)
9601 # This hack is so that the source file can tell whether it is being
9602 # built for inclusion in a dll (and should export symbols for example).
9603 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9604 # (--disable-auto-import) libraries
9605 lt_prog_compiler_pic='-DDLL_EXPORT'
9608 lt_prog_compiler_static='$wl-static'
9613 darwin* | rhapsody*)
9614 # PIC is the default on this platform
9615 # Common symbols not allowed in MH_DYLIB files
9616 lt_prog_compiler_pic='-fno-common'
9620 # PIC is the default for Haiku.
9621 # The "-static" flag exists, but is broken.
9622 lt_prog_compiler_static=
9626 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9627 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9628 # sets the default TLS model and affects inlining.
9634 lt_prog_compiler_pic='-fPIC'
9640 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9641 # Instead, we relocate shared libraries at runtime.
9645 # Just because we use GCC doesn't mean we suddenly get shared libraries
9646 # on systems that don't support them.
9647 lt_prog_compiler_can_build_shared=no
9652 # QNX uses GNU C++, but need to define -shared option too, otherwise
9654 lt_prog_compiler_pic='-fPIC -shared'
9658 if test -d /usr/nec; then
9659 lt_prog_compiler_pic=-Kconform_pic
9664 lt_prog_compiler_pic='-fPIC'
9668 case $cc_basename in
9669 nvcc*) # Cuda Compiler Driver 2.2
9670 lt_prog_compiler_wl='-Xlinker '
9671 if test -n "$lt_prog_compiler_pic"; then
9672 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9677 # PORTME Check for flag to pass linker flags through the system compiler.
9680 lt_prog_compiler_wl='-Wl,'
9681 if test ia64 = "$host_cpu"; then
9682 # AIX 5 now supports IA64 processor
9683 lt_prog_compiler_static='-Bstatic'
9685 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9689 darwin* | rhapsody*)
9690 # PIC is the default on this platform
9691 # Common symbols not allowed in MH_DYLIB files
9692 lt_prog_compiler_pic='-fno-common'
9693 case $cc_basename in
9695 # NAG Fortran compiler
9696 lt_prog_compiler_wl='-Wl,-Wl,,'
9697 lt_prog_compiler_pic='-PIC'
9698 lt_prog_compiler_static='-Bstatic'
9703 mingw* | cygwin* | pw32* | os2* | cegcc*)
9704 # This hack is so that the source file can tell whether it is being
9705 # built for inclusion in a dll (and should export symbols for example).
9706 lt_prog_compiler_pic='-DDLL_EXPORT'
9709 lt_prog_compiler_static='$wl-static'
9714 hpux9* | hpux10* | hpux11*)
9715 lt_prog_compiler_wl='-Wl,'
9716 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9723 lt_prog_compiler_pic='+Z'
9726 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9727 lt_prog_compiler_static='$wl-a ${wl}archive'
9730 irix5* | irix6* | nonstopux*)
9731 lt_prog_compiler_wl='-Wl,'
9732 # PIC (with -KPIC) is the default.
9733 lt_prog_compiler_static='-non_shared'
9736 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9737 case $cc_basename in
9738 # old Intel for x86_64, which still supported -KPIC.
9740 lt_prog_compiler_wl='-Wl,'
9741 lt_prog_compiler_pic='-KPIC'
9742 lt_prog_compiler_static='-static'
9744 # icc used to be incompatible with GCC.
9745 # ICC 10 doesn't accept -KPIC any more.
9747 lt_prog_compiler_wl='-Wl,'
9748 lt_prog_compiler_pic='-fPIC'
9749 lt_prog_compiler_static='-static'
9751 # Lahey Fortran 8.1.
9753 lt_prog_compiler_wl='-Wl,'
9754 lt_prog_compiler_pic='--shared'
9755 lt_prog_compiler_static='--static'
9758 # NAG Fortran compiler
9759 lt_prog_compiler_wl='-Wl,-Wl,,'
9760 lt_prog_compiler_pic='-PIC'
9761 lt_prog_compiler_static='-Bstatic'
9764 # Fabrice Bellard et al's Tiny C Compiler
9765 lt_prog_compiler_wl='-Wl,'
9766 lt_prog_compiler_pic='-fPIC'
9767 lt_prog_compiler_static='-static'
9769 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9770 # Portland Group compilers (*not* the Pentium gcc compiler,
9771 # which looks to be a dead project)
9772 lt_prog_compiler_wl='-Wl,'
9773 lt_prog_compiler_pic='-fpic'
9774 lt_prog_compiler_static='-Bstatic'
9777 lt_prog_compiler_wl='-Wl,'
9778 # All Alpha code is PIC.
9779 lt_prog_compiler_static='-non_shared'
9781 xl* | bgxl* | bgf* | mpixl*)
9782 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9783 lt_prog_compiler_wl='-Wl,'
9784 lt_prog_compiler_pic='-qpic'
9785 lt_prog_compiler_static='-qstaticlink'
9788 case `$CC -V 2>&1 | sed 5q` in
9789 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9790 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9791 lt_prog_compiler_pic='-KPIC'
9792 lt_prog_compiler_static='-Bstatic'
9793 lt_prog_compiler_wl=''
9795 *Sun\ F* | *Sun*Fortran*)
9796 lt_prog_compiler_pic='-KPIC'
9797 lt_prog_compiler_static='-Bstatic'
9798 lt_prog_compiler_wl='-Qoption ld '
9802 lt_prog_compiler_pic='-KPIC'
9803 lt_prog_compiler_static='-Bstatic'
9804 lt_prog_compiler_wl='-Wl,'
9806 *Intel*\ [CF]*Compiler*)
9807 lt_prog_compiler_wl='-Wl,'
9808 lt_prog_compiler_pic='-fPIC'
9809 lt_prog_compiler_static='-static'
9812 lt_prog_compiler_wl='-Wl,'
9813 lt_prog_compiler_pic='-fpic'
9814 lt_prog_compiler_static='-Bstatic'
9822 lt_prog_compiler_pic='-KPIC'
9823 lt_prog_compiler_static='-Bstatic'
9827 # QNX uses GNU C++, but need to define -shared option too, otherwise
9829 lt_prog_compiler_pic='-fPIC -shared'
9832 osf3* | osf4* | osf5*)
9833 lt_prog_compiler_wl='-Wl,'
9834 # All OSF/1 code is PIC.
9835 lt_prog_compiler_static='-non_shared'
9839 lt_prog_compiler_static='-non_shared'
9843 lt_prog_compiler_pic='-KPIC'
9844 lt_prog_compiler_static='-Bstatic'
9845 case $cc_basename in
9846 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9847 lt_prog_compiler_wl='-Qoption ld ';;
9849 lt_prog_compiler_wl='-Wl,';;
9854 lt_prog_compiler_wl='-Qoption ld '
9855 lt_prog_compiler_pic='-PIC'
9856 lt_prog_compiler_static='-Bstatic'
9859 sysv4 | sysv4.2uw2* | sysv4.3*)
9860 lt_prog_compiler_wl='-Wl,'
9861 lt_prog_compiler_pic='-KPIC'
9862 lt_prog_compiler_static='-Bstatic'
9866 if test -d /usr/nec; then
9867 lt_prog_compiler_pic='-Kconform_pic'
9868 lt_prog_compiler_static='-Bstatic'
9872 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9873 lt_prog_compiler_wl='-Wl,'
9874 lt_prog_compiler_pic='-KPIC'
9875 lt_prog_compiler_static='-Bstatic'
9879 lt_prog_compiler_wl='-Wl,'
9880 lt_prog_compiler_can_build_shared=no
9884 lt_prog_compiler_pic='-pic'
9885 lt_prog_compiler_static='-Bstatic'
9889 lt_prog_compiler_can_build_shared=no
9895 # For platforms that do not support PIC, -DPIC is meaningless:
9897 lt_prog_compiler_pic=
9900 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9905 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9906 if ${lt_cv_prog_compiler_pic+:} false; then :
9907 $as_echo_n "(cached) " >&6
9909 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9912 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9913 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9916 # Check to make sure the PIC flag actually works.
9918 if test -n "$lt_prog_compiler_pic"; then
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9920 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9921 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9922 $as_echo_n "(cached) " >&6
9924 lt_cv_prog_compiler_pic_works=no
9925 ac_outfile=conftest.$ac_objext
9926 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9927 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9928 # Insert the option either (1) after the last *FLAGS variable, or
9929 # (2) before a word containing "conftest.", or (3) at the end.
9930 # Note that $ac_compile itself does not contain backslashes and begins
9931 # with a dollar sign (not a hyphen), so the echo should work correctly.
9932 # The option is referenced via a variable to avoid confusing sed.
9933 lt_compile=`echo "$ac_compile" | $SED \
9934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9936 -e 's:$: $lt_compiler_flag:'`
9937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9938 (eval "$lt_compile" 2>conftest.err)
9940 cat conftest.err >&5
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 if (exit $ac_status) && test -s "$ac_outfile"; then
9943 # The compiler can only warn and ignore the option if not recognized
9944 # So say no if there are warnings other than the usual output.
9945 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9946 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9947 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9948 lt_cv_prog_compiler_pic_works=yes
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9955 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9957 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9958 case $lt_prog_compiler_pic in
9960 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9963 lt_prog_compiler_pic=
9964 lt_prog_compiler_can_build_shared=no
9980 # Check to make sure the static flag actually works.
9982 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9984 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9985 if ${lt_cv_prog_compiler_static_works+:} false; then :
9986 $as_echo_n "(cached) " >&6
9988 lt_cv_prog_compiler_static_works=no
9989 save_LDFLAGS=$LDFLAGS
9990 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9991 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9992 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9993 # The linker can only warn and ignore the option if not recognized
9994 # So say no if there are warnings
9995 if test -s conftest.err; then
9996 # Append any errors to the config.log.
9997 cat conftest.err 1>&5
9998 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9999 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10000 if diff conftest.exp conftest.er2 >/dev/null; then
10001 lt_cv_prog_compiler_static_works=yes
10004 lt_cv_prog_compiler_static_works=yes
10008 LDFLAGS=$save_LDFLAGS
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10012 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10014 if test yes = "$lt_cv_prog_compiler_static_works"; then
10017 lt_prog_compiler_static=
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10027 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10028 if ${lt_cv_prog_compiler_c_o+:} false; then :
10029 $as_echo_n "(cached) " >&6
10031 lt_cv_prog_compiler_c_o=no
10032 $RM -r conftest 2>/dev/null
10036 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10038 lt_compiler_flag="-o out/conftest2.$ac_objext"
10039 # Insert the option either (1) after the last *FLAGS variable, or
10040 # (2) before a word containing "conftest.", or (3) at the end.
10041 # Note that $ac_compile itself does not contain backslashes and begins
10042 # with a dollar sign (not a hyphen), so the echo should work correctly.
10043 lt_compile=`echo "$ac_compile" | $SED \
10044 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10045 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10046 -e 's:$: $lt_compiler_flag:'`
10047 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10048 (eval "$lt_compile" 2>out/conftest.err)
10050 cat out/conftest.err >&5
10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10054 # The compiler can only warn and ignore the option if not recognized
10055 # So say no if there are warnings
10056 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10057 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10058 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10059 lt_cv_prog_compiler_c_o=yes
10064 # SGI C++ compiler will create directory out/ii_files/ for
10065 # template instantiation
10066 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10067 $RM out/* && rmdir out
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10074 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10082 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10083 if ${lt_cv_prog_compiler_c_o+:} false; then :
10084 $as_echo_n "(cached) " >&6
10086 lt_cv_prog_compiler_c_o=no
10087 $RM -r conftest 2>/dev/null
10091 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10093 lt_compiler_flag="-o out/conftest2.$ac_objext"
10094 # Insert the option either (1) after the last *FLAGS variable, or
10095 # (2) before a word containing "conftest.", or (3) at the end.
10096 # Note that $ac_compile itself does not contain backslashes and begins
10097 # with a dollar sign (not a hyphen), so the echo should work correctly.
10098 lt_compile=`echo "$ac_compile" | $SED \
10099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10101 -e 's:$: $lt_compiler_flag:'`
10102 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10103 (eval "$lt_compile" 2>out/conftest.err)
10105 cat out/conftest.err >&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10109 # The compiler can only warn and ignore the option if not recognized
10110 # So say no if there are warnings
10111 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10112 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10113 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10114 lt_cv_prog_compiler_c_o=yes
10119 # SGI C++ compiler will create directory out/ii_files/ for
10120 # template instantiation
10121 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10122 $RM out/* && rmdir out
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10129 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10134 hard_links=nottested
10135 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10136 # do not overwrite the value of need_locks provided by the user
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10138 $as_echo_n "checking if we can lock with hard links... " >&6; }
10141 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10143 ln conftest.a conftest.b 2>&5 || hard_links=no
10144 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10146 $as_echo "$hard_links" >&6; }
10147 if test no = "$hard_links"; then
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10149 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10162 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10165 allow_undefined_flag=
10166 always_export_symbols=no
10168 archive_expsym_cmds=
10169 compiler_needs_object=no
10170 enable_shared_with_static_runtimes=no
10171 export_dynamic_flag_spec=
10172 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10173 hardcode_automatic=no
10175 hardcode_direct_absolute=no
10176 hardcode_libdir_flag_spec=
10177 hardcode_libdir_separator=
10178 hardcode_minus_L=no
10179 hardcode_shlibpath_var=unsupported
10181 link_all_deplibs=unknown
10183 module_expsym_cmds=
10184 old_archive_from_new_cmds=
10185 old_archive_from_expsyms_cmds=
10186 thread_safe_flag_spec=
10187 whole_archive_flag_spec=
10188 # include_expsyms should be a list of space-separated symbols to be *always*
10189 # included in the symbol list
10191 # exclude_expsyms can be an extended regexp of symbols to exclude
10192 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10193 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10194 # as well as any symbol that contains 'd'.
10195 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10196 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10197 # platforms (ab)use it in PIC code, but their linkers get confused if
10198 # the symbol is explicitly referenced. Since portable code cannot
10199 # rely on this symbol name, it's probably fine to never include it in
10200 # preloaded symbol tables.
10201 # Exclude shared library initialization/finalization symbols.
10202 extract_expsyms_cmds=
10205 cygwin* | mingw* | pw32* | cegcc*)
10206 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10207 # When not using gcc, we currently assume that we are using
10208 # Microsoft Visual C++.
10209 if test yes != "$GCC"; then
10214 # we just hope/assume this is gcc and not c89 (= MSVC++)
10217 openbsd* | bitrig*)
10224 # On some targets, GNU ld is compatible enough with the native linker
10225 # that we're better off using the native interface for both.
10226 lt_use_gnu_ld_interface=no
10227 if test yes = "$with_gnu_ld"; then
10230 # The AIX port of GNU ld has always aspired to compatibility
10231 # with the native linker. However, as the warning in the GNU ld
10232 # block says, versions before 2.19.5* couldn't really create working
10233 # shared libraries, regardless of the interface used.
10234 case `$LD -v 2>&1` in
10235 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10236 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10237 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10239 lt_use_gnu_ld_interface=yes
10244 lt_use_gnu_ld_interface=yes
10249 if test yes = "$lt_use_gnu_ld_interface"; then
10250 # If archive_cmds runs LD, not CC, wlarc should be empty
10253 # Set some defaults for GNU ld with shared library support. These
10254 # are reset later if shared libraries are not supported. Putting them
10255 # here allows them to be overridden if necessary.
10256 runpath_var=LD_RUN_PATH
10257 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10258 export_dynamic_flag_spec='$wl--export-dynamic'
10259 # ancient GNU ld didn't support --whole-archive et. al.
10260 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10261 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10263 whole_archive_flag_spec=
10265 supports_anon_versioning=no
10266 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10267 *GNU\ gold*) supports_anon_versioning=yes ;;
10268 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10269 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10270 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10271 *\ 2.11.*) ;; # other 2.11 versions
10272 *) supports_anon_versioning=yes ;;
10275 # See if GNU ld supports shared libraries.
10278 # On AIX/PPC, the GNU linker is very broken
10279 if test ia64 != "$host_cpu"; then
10283 *** Warning: the GNU linker, at least up to release 2.19, is reported
10284 *** to be unable to reliably create shared libraries on AIX.
10285 *** Therefore, libtool is disabling shared libraries support. If you
10286 *** really care for shared libraries, you may want to install binutils
10287 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10288 *** You will then need to restart the configuration process.
10297 # see comment about AmigaOS4 .so support
10298 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10299 archive_expsym_cmds=''
10302 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)'
10303 hardcode_libdir_flag_spec='-L$libdir'
10304 hardcode_minus_L=yes
10310 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10311 allow_undefined_flag=unsupported
10312 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10313 # support --undefined. This deserves some investigation. FIXME
10314 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10320 cygwin* | mingw* | pw32* | cegcc*)
10321 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10322 # as there is no search path for DLLs.
10323 hardcode_libdir_flag_spec='-L$libdir'
10324 export_dynamic_flag_spec='$wl--export-all-symbols'
10325 allow_undefined_flag=unsupported
10326 always_export_symbols=no
10327 enable_shared_with_static_runtimes=yes
10328 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10329 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10331 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10332 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10333 # If the export-symbols file already is a .def file, use it as
10334 # is; otherwise, prepend EXPORTS...
10335 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10336 cp $export_symbols $output_objdir/$soname.def;
10338 echo EXPORTS > $output_objdir/$soname.def;
10339 cat $export_symbols >> $output_objdir/$soname.def;
10341 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10348 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10349 link_all_deplibs=yes
10353 hardcode_libdir_flag_spec='-L$libdir'
10354 hardcode_minus_L=yes
10355 allow_undefined_flag=unsupported
10357 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10358 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10359 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10360 $ECHO EXPORTS >> $output_objdir/$libname.def~
10361 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10362 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10363 emximp -o $lib $output_objdir/$libname.def'
10364 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10365 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10366 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10367 $ECHO EXPORTS >> $output_objdir/$libname.def~
10368 prefix_cmds="$SED"~
10369 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10370 prefix_cmds="$prefix_cmds -e 1d";
10372 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10373 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10374 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10375 emximp -o $lib $output_objdir/$libname.def'
10376 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10377 enable_shared_with_static_runtimes=yes
10382 hardcode_shlibpath_var=no
10383 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10384 export_dynamic_flag_spec='$wl-E'
10385 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10386 # Instead, shared libraries are loaded at an image base (0x10000000 by
10387 # default) and relocated if they conflict, which is a slow very memory
10388 # consuming and fragmenting process. To avoid this, we pick a random,
10389 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10390 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10391 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10392 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'
10395 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10397 if test linux-dietlibc = "$host_os"; then
10398 case $cc_basename in
10399 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10402 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10403 && test no = "$tmp_diet"
10405 tmp_addflag=' $pic_flag'
10406 tmp_sharedflag='-shared'
10407 case $cc_basename,$host_cpu in
10408 pgcc*) # Portland Group C compiler
10409 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10410 tmp_addflag=' $pic_flag'
10412 pgf77* | pgf90* | pgf95* | pgfortran*)
10413 # Portland Group f77 and f90 compilers
10414 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10415 tmp_addflag=' $pic_flag -Mnomain' ;;
10416 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10417 tmp_addflag=' -i_dynamic' ;;
10418 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10419 tmp_addflag=' -i_dynamic -nofor_main' ;;
10420 ifc* | ifort*) # Intel Fortran compiler
10421 tmp_addflag=' -nofor_main' ;;
10422 lf95*) # Lahey Fortran 8.1
10423 whole_archive_flag_spec=
10424 tmp_sharedflag='--shared' ;;
10425 nagfor*) # NAGFOR 5.3
10426 tmp_sharedflag='-Wl,-shared' ;;
10427 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10428 tmp_sharedflag='-qmkshrobj'
10430 nvcc*) # Cuda Compiler Driver 2.2
10431 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10432 compiler_needs_object=yes
10435 case `$CC -V 2>&1 | sed 5q` in
10436 *Sun\ C*) # Sun C 5.9
10437 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10438 compiler_needs_object=yes
10439 tmp_sharedflag='-G' ;;
10440 *Sun\ F*) # Sun Fortran 8.3
10441 tmp_sharedflag='-G' ;;
10443 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10445 if test yes = "$supports_anon_versioning"; then
10446 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10447 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10448 echo "local: *; };" >> $output_objdir/$libname.ver~
10449 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10452 case $cc_basename in
10454 export_dynamic_flag_spec='-rdynamic'
10456 xlf* | bgf* | bgxlf* | mpixlf*)
10457 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10458 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10459 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10460 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10461 if test yes = "$supports_anon_versioning"; then
10462 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10463 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10464 echo "local: *; };" >> $output_objdir/$libname.ver~
10465 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10475 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10476 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10479 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10480 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10485 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10489 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10490 *** create shared libraries on Solaris systems. Therefore, libtool
10491 *** is disabling shared libraries support. We urge you to upgrade GNU
10492 *** binutils to release 2.9.1 or newer. Another option is to modify
10493 *** your PATH or compiler configuration so that the native linker is
10494 *** used, and then restart.
10497 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10498 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10499 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10505 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10506 case `$LD -v 2>&1` in
10507 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10511 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10512 *** reliably create shared libraries on SCO systems. Therefore, libtool
10513 *** is disabling shared libraries support. We urge you to upgrade GNU
10514 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10515 *** your PATH or compiler configuration so that the native linker is
10516 *** used, and then restart.
10521 # For security reasons, it is highly recommended that you always
10522 # use absolute paths for naming shared libraries, and exclude the
10523 # DT_RUNPATH tag from executables and libraries. But doing so
10524 # requires that you compile everything twice, which is a pain.
10525 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10526 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10527 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10528 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10537 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10539 hardcode_direct=yes
10540 hardcode_shlibpath_var=no
10544 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10545 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10546 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10553 if test no = "$ld_shlibs"; then
10555 hardcode_libdir_flag_spec=
10556 export_dynamic_flag_spec=
10557 whole_archive_flag_spec=
10560 # PORTME fill in a description of your system's linker (not GNU ld)
10563 allow_undefined_flag=unsupported
10564 always_export_symbols=yes
10565 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'
10566 # Note: this linker hardcodes the directories in LIBPATH if there
10567 # are no directories specified by -L.
10568 hardcode_minus_L=yes
10569 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10570 # Neither direct hardcoding nor static linking is supported with a
10572 hardcode_direct=unsupported
10577 if test ia64 = "$host_cpu"; then
10578 # On IA64, the linker does run time linking by default, so we don't
10579 # have to do anything special.
10580 aix_use_runtimelinking=no
10581 exp_sym_flag='-Bexport'
10584 # If we're using GNU nm, then we don't want the "-C" option.
10585 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10586 # Without the "-l" option, or with the "-B" option, AIX nm treats
10587 # weak defined symbols like other global defined symbols, whereas
10588 # GNU nm marks them as "W".
10589 # While the 'weak' keyword is ignored in the Export File, we need
10590 # it in the Import File for the 'aix-soname' feature, so we have
10591 # to replace the "-B" option with "-P" for AIX nm.
10592 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10593 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10595 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10597 aix_use_runtimelinking=no
10599 # Test if we are trying to use run time linking or normal
10600 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10601 # have runtime linking enabled, and use it for executables.
10602 # For shared libraries, we enable/disable runtime linking
10603 # depending on the kind of the shared library created -
10604 # when "with_aix_soname,aix_use_runtimelinking" is:
10605 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10606 # "aix,yes" lib.so shared, rtl:yes, for executables
10607 # lib.a static archive
10608 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10609 # lib.a(lib.so.V) shared, rtl:no, for executables
10610 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10611 # lib.a(lib.so.V) shared, rtl:no
10612 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10613 # lib.a static archive
10614 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10615 for ld_flag in $LDFLAGS; do
10616 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10617 aix_use_runtimelinking=yes
10621 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10622 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10623 # so we don't have lib.a shared libs to link our executables.
10624 # We have to force runtime linking in this case.
10625 aix_use_runtimelinking=yes
10626 LDFLAGS="$LDFLAGS -Wl,-brtl"
10631 exp_sym_flag='-bexport'
10632 no_entry_flag='-bnoentry'
10635 # When large executables or shared objects are built, AIX ld can
10636 # have problems creating the table of contents. If linking a library
10637 # or program results in "error TOC overflow" add -mminimal-toc to
10638 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10639 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10642 hardcode_direct=yes
10643 hardcode_direct_absolute=yes
10644 hardcode_libdir_separator=':'
10645 link_all_deplibs=yes
10646 file_list_spec='$wl-f,'
10647 case $with_aix_soname,$aix_use_runtimelinking in
10648 aix,*) ;; # traditional, no import file
10649 svr4,* | *,yes) # use import file
10650 # The Import File defines what to hardcode.
10652 hardcode_direct_absolute=no
10656 if test yes = "$GCC"; then
10657 case $host_os in aix4.[012]|aix4.[012].*)
10658 # We only want to do this on AIX 4.2 and lower, the check
10659 # below for broken collect2 doesn't work under 4.3+
10660 collect2name=`$CC -print-prog-name=collect2`
10661 if test -f "$collect2name" &&
10662 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10664 # We have reworked collect2
10667 # We have old collect2
10668 hardcode_direct=unsupported
10669 # It fails to find uninstalled libraries when the uninstalled
10670 # path is not listed in the libpath. Setting hardcode_minus_L
10671 # to unsupported forces relinking
10672 hardcode_minus_L=yes
10673 hardcode_libdir_flag_spec='-L$libdir'
10674 hardcode_libdir_separator=
10678 shared_flag='-shared'
10679 if test yes = "$aix_use_runtimelinking"; then
10680 shared_flag="$shared_flag "'$wl-G'
10682 # Need to ensure runtime linking is disabled for the traditional
10683 # shared library, or the linker may eventually find shared libraries
10684 # /with/ Import File - we do not want to mix them.
10685 shared_flag_aix='-shared'
10686 shared_flag_svr4='-shared $wl-G'
10689 if test ia64 = "$host_cpu"; then
10690 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10691 # chokes on -Wl,-G. The following line is correct:
10694 if test yes = "$aix_use_runtimelinking"; then
10695 shared_flag='$wl-G'
10697 shared_flag='$wl-bM:SRE'
10699 shared_flag_aix='$wl-bM:SRE'
10700 shared_flag_svr4='$wl-G'
10704 export_dynamic_flag_spec='$wl-bexpall'
10705 # It seems that -bexpall does not export symbols beginning with
10706 # underscore (_), so it is better to generate a list of symbols to export.
10707 always_export_symbols=yes
10708 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10709 # Warning - without using the other runtime loading flags (-brtl),
10710 # -berok will link without error, but may produce a broken library.
10711 allow_undefined_flag='-berok'
10712 # Determine the default libpath from the value encoded in an
10713 # empty executable.
10714 if test set = "${lt_cv_aix_libpath+set}"; then
10715 aix_libpath=$lt_cv_aix_libpath
10717 if ${lt_cv_aix_libpath_+:} false; then :
10718 $as_echo_n "(cached) " >&6
10720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10731 if ac_fn_c_try_link "$LINENO"; then :
10733 lt_aix_libpath_sed='
10734 /Import File Strings/,/^$/ {
10736 s/^0 *\([^ ]*\) *$/\1/
10740 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10741 # Check for a 64-bit object if we didn't find anything.
10742 if test -z "$lt_cv_aix_libpath_"; then
10743 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10746 rm -f core conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
10748 if test -z "$lt_cv_aix_libpath_"; then
10749 lt_cv_aix_libpath_=/usr/lib:/lib
10754 aix_libpath=$lt_cv_aix_libpath_
10757 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10758 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10760 if test ia64 = "$host_cpu"; then
10761 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10762 allow_undefined_flag="-z nodefs"
10763 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"
10765 # Determine the default libpath from the value encoded in an
10766 # empty executable.
10767 if test set = "${lt_cv_aix_libpath+set}"; then
10768 aix_libpath=$lt_cv_aix_libpath
10770 if ${lt_cv_aix_libpath_+:} false; then :
10771 $as_echo_n "(cached) " >&6
10773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10784 if ac_fn_c_try_link "$LINENO"; then :
10786 lt_aix_libpath_sed='
10787 /Import File Strings/,/^$/ {
10789 s/^0 *\([^ ]*\) *$/\1/
10793 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10794 # Check for a 64-bit object if we didn't find anything.
10795 if test -z "$lt_cv_aix_libpath_"; then
10796 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10799 rm -f core conftest.err conftest.$ac_objext \
10800 conftest$ac_exeext conftest.$ac_ext
10801 if test -z "$lt_cv_aix_libpath_"; then
10802 lt_cv_aix_libpath_=/usr/lib:/lib
10807 aix_libpath=$lt_cv_aix_libpath_
10810 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10811 # Warning - without using the other run time loading flags,
10812 # -berok will link without error, but may produce a broken library.
10813 no_undefined_flag=' $wl-bernotok'
10814 allow_undefined_flag=' $wl-berok'
10815 if test yes = "$with_gnu_ld"; then
10816 # We only use this code for GNU lds that support --whole-archive.
10817 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10819 # Exported symbols can be pulled into shared objects from archives
10820 whole_archive_flag_spec='$convenience'
10822 archive_cmds_need_lc=yes
10823 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10824 # -brtl affects multiple linker settings, -berok does not and is overridden later
10825 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10826 if test svr4 != "$with_aix_soname"; then
10827 # This is similar to how AIX traditionally builds its shared libraries.
10828 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10830 if test aix != "$with_aix_soname"; then
10831 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10833 # used by -dlpreopen to get the symbols
10834 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10836 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10844 # see comment about AmigaOS4 .so support
10845 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10846 archive_expsym_cmds=''
10849 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)'
10850 hardcode_libdir_flag_spec='-L$libdir'
10851 hardcode_minus_L=yes
10857 export_dynamic_flag_spec=-rdynamic
10860 cygwin* | mingw* | pw32* | cegcc*)
10861 # When not using gcc, we currently assume that we are using
10862 # Microsoft Visual C++.
10863 # hardcode_libdir_flag_spec is actually meaningless, as there is
10864 # no search path for DLLs.
10865 case $cc_basename in
10868 hardcode_libdir_flag_spec=' '
10869 allow_undefined_flag=unsupported
10870 always_export_symbols=yes
10872 # Tell ltmain to make .lib files, not .a files.
10874 # Tell ltmain to make .dll files, not .so files.
10876 # FIXME: Setting linknames here is a bad hack.
10877 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10878 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10879 cp "$export_symbols" "$output_objdir/$soname.def";
10880 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10882 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10884 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10886 # The linker will not automatically build a static lib if we build a DLL.
10887 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10888 enable_shared_with_static_runtimes=yes
10889 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10890 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10892 old_postinstall_cmds='chmod 644 $oldlib'
10893 postlink_cmds='lt_outputfile="@OUTPUT@"~
10894 lt_tool_outputfile="@TOOL_OUTPUT@"~
10895 case $lt_outputfile in
10898 lt_outputfile=$lt_outputfile.exe
10899 lt_tool_outputfile=$lt_tool_outputfile.exe
10902 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10903 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10904 $RM "$lt_outputfile.manifest";
10908 # Assume MSVC wrapper
10909 hardcode_libdir_flag_spec=' '
10910 allow_undefined_flag=unsupported
10911 # Tell ltmain to make .lib files, not .a files.
10913 # Tell ltmain to make .dll files, not .so files.
10915 # FIXME: Setting linknames here is a bad hack.
10916 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10917 # The linker will automatically build a .lib file if we build a DLL.
10918 old_archive_from_new_cmds='true'
10919 # FIXME: Should let the user specify the lib program.
10920 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10921 enable_shared_with_static_runtimes=yes
10926 darwin* | rhapsody*)
10929 archive_cmds_need_lc=no
10931 hardcode_automatic=yes
10932 hardcode_shlibpath_var=unsupported
10933 if test yes = "$lt_cv_ld_force_load"; then
10934 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10937 whole_archive_flag_spec=''
10939 link_all_deplibs=yes
10940 allow_undefined_flag=$_lt_dar_allow_undefined
10941 case $cc_basename in
10942 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10943 *) _lt_dar_can_shared=$GCC ;;
10945 if test yes = "$_lt_dar_can_shared"; then
10946 output_verbose_link_cmd=func_echo_all
10947 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10948 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10949 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"
10950 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"
10959 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10960 hardcode_libdir_flag_spec='-L$libdir'
10961 hardcode_shlibpath_var=no
10964 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10965 # support. Future versions do this automatically, but an explicit c++rt0.o
10966 # does not break anything, and helps significantly (at the cost of a little
10969 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10970 hardcode_libdir_flag_spec='-R$libdir'
10971 hardcode_direct=yes
10972 hardcode_shlibpath_var=no
10975 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10977 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10978 hardcode_direct=yes
10979 hardcode_minus_L=yes
10980 hardcode_shlibpath_var=no
10983 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10984 freebsd* | dragonfly*)
10985 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10986 hardcode_libdir_flag_spec='-R$libdir'
10987 hardcode_direct=yes
10988 hardcode_shlibpath_var=no
10992 if test yes = "$GCC"; then
10993 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10995 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10997 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10998 hardcode_libdir_separator=:
10999 hardcode_direct=yes
11001 # hardcode_minus_L: Not really in the search PATH,
11002 # but as the default location of the library.
11003 hardcode_minus_L=yes
11004 export_dynamic_flag_spec='$wl-E'
11008 if test yes,no = "$GCC,$with_gnu_ld"; then
11009 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11011 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11013 if test no = "$with_gnu_ld"; then
11014 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11015 hardcode_libdir_separator=:
11016 hardcode_direct=yes
11017 hardcode_direct_absolute=yes
11018 export_dynamic_flag_spec='$wl-E'
11019 # hardcode_minus_L: Not really in the search PATH,
11020 # but as the default location of the library.
11021 hardcode_minus_L=yes
11026 if test yes,no = "$GCC,$with_gnu_ld"; then
11029 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11032 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11035 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11041 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11044 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11048 # Older versions of the 11.00 compiler do not understand -b yet
11049 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11051 $as_echo_n "checking if $CC understands -b... " >&6; }
11052 if ${lt_cv_prog_compiler__b+:} false; then :
11053 $as_echo_n "(cached) " >&6
11055 lt_cv_prog_compiler__b=no
11056 save_LDFLAGS=$LDFLAGS
11057 LDFLAGS="$LDFLAGS -b"
11058 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11059 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11060 # The linker can only warn and ignore the option if not recognized
11061 # So say no if there are warnings
11062 if test -s conftest.err; then
11063 # Append any errors to the config.log.
11064 cat conftest.err 1>&5
11065 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11066 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11067 if diff conftest.exp conftest.er2 >/dev/null; then
11068 lt_cv_prog_compiler__b=yes
11071 lt_cv_prog_compiler__b=yes
11075 LDFLAGS=$save_LDFLAGS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11079 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11081 if test yes = "$lt_cv_prog_compiler__b"; then
11082 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11084 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11090 if test no = "$with_gnu_ld"; then
11091 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11092 hardcode_libdir_separator=:
11097 hardcode_shlibpath_var=no
11100 hardcode_direct=yes
11101 hardcode_direct_absolute=yes
11102 export_dynamic_flag_spec='$wl-E'
11104 # hardcode_minus_L: Not really in the search PATH,
11105 # but as the default location of the library.
11106 hardcode_minus_L=yes
11112 irix5* | irix6* | nonstopux*)
11113 if test yes = "$GCC"; then
11114 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11115 # Try to use the -exported_symbol ld option, if it does not
11116 # work, assume that -exports_file does not work either and
11117 # implicitly export all symbols.
11118 # This should be the same for all languages, so no per-tag cache variable.
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11120 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11121 if ${lt_cv_irix_exported_symbol+:} false; then :
11122 $as_echo_n "(cached) " >&6
11124 save_LDFLAGS=$LDFLAGS
11125 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11128 int foo (void) { return 0; }
11130 if ac_fn_c_try_link "$LINENO"; then :
11131 lt_cv_irix_exported_symbol=yes
11133 lt_cv_irix_exported_symbol=no
11135 rm -f core conftest.err conftest.$ac_objext \
11136 conftest$ac_exeext conftest.$ac_ext
11137 LDFLAGS=$save_LDFLAGS
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11140 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11141 if test yes = "$lt_cv_irix_exported_symbol"; then
11142 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
11145 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11146 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
11148 archive_cmds_need_lc='no'
11149 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11150 hardcode_libdir_separator=:
11152 link_all_deplibs=yes
11156 case $cc_basename in
11158 # Fabrice Bellard et al's Tiny C Compiler
11160 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11166 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11167 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11169 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11171 hardcode_libdir_flag_spec='-R$libdir'
11172 hardcode_direct=yes
11173 hardcode_shlibpath_var=no
11177 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11178 hardcode_direct=yes
11179 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11180 hardcode_libdir_separator=:
11181 hardcode_shlibpath_var=no
11187 openbsd* | bitrig*)
11188 if test -f /usr/libexec/ld.so; then
11189 hardcode_direct=yes
11190 hardcode_shlibpath_var=no
11191 hardcode_direct_absolute=yes
11192 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11193 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11194 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11195 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11196 export_dynamic_flag_spec='$wl-E'
11198 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11199 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11207 hardcode_libdir_flag_spec='-L$libdir'
11208 hardcode_minus_L=yes
11209 allow_undefined_flag=unsupported
11211 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11212 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11213 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11214 $ECHO EXPORTS >> $output_objdir/$libname.def~
11215 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11216 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11217 emximp -o $lib $output_objdir/$libname.def'
11218 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11219 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11220 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11221 $ECHO EXPORTS >> $output_objdir/$libname.def~
11222 prefix_cmds="$SED"~
11223 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11224 prefix_cmds="$prefix_cmds -e 1d";
11226 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11227 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11228 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11229 emximp -o $lib $output_objdir/$libname.def'
11230 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11231 enable_shared_with_static_runtimes=yes
11235 if test yes = "$GCC"; then
11236 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11237 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11239 allow_undefined_flag=' -expect_unresolved \*'
11240 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11242 archive_cmds_need_lc='no'
11243 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11244 hardcode_libdir_separator=:
11247 osf4* | osf5*) # as osf3* with the addition of -msym flag
11248 if test yes = "$GCC"; then
11249 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11250 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11251 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11253 allow_undefined_flag=' -expect_unresolved \*'
11254 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11255 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11256 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
11258 # Both c and cxx compiler support -rpath directly
11259 hardcode_libdir_flag_spec='-rpath $libdir'
11261 archive_cmds_need_lc='no'
11262 hardcode_libdir_separator=:
11266 no_undefined_flag=' -z defs'
11267 if test yes = "$GCC"; then
11269 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11270 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11271 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11273 case `$CC -V 2>&1` in
11276 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11277 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11278 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11282 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11283 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11284 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11288 hardcode_libdir_flag_spec='-R$libdir'
11289 hardcode_shlibpath_var=no
11291 solaris2.[0-5] | solaris2.[0-5].*) ;;
11293 # The compiler driver will combine and reorder linker options,
11294 # but understands '-z linker_flag'. GCC discards it without '$wl',
11295 # but is careful enough not to reorder.
11296 # Supported since Solaris 2.6 (maybe 2.5.1?)
11297 if test yes = "$GCC"; then
11298 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11300 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11304 link_all_deplibs=yes
11308 if test sequent = "$host_vendor"; then
11309 # Use $CC to link under sequent, because it throws in some extra .o
11310 # files that make .init and .fini sections work.
11311 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11313 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11315 hardcode_libdir_flag_spec='-L$libdir'
11316 hardcode_direct=yes
11317 hardcode_minus_L=yes
11318 hardcode_shlibpath_var=no
11322 case $host_vendor in
11324 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11325 hardcode_direct=yes # is this really true???
11328 ## LD is ld it makes a PLAMLIB
11329 ## CC just makes a GrossModule.
11330 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11331 reload_cmds='$CC -r -o $output$reload_objs'
11335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11336 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11339 runpath_var='LD_RUN_PATH'
11340 hardcode_shlibpath_var=no
11344 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11345 hardcode_shlibpath_var=no
11346 export_dynamic_flag_spec='-Bexport'
11350 if test -d /usr/nec; then
11351 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11352 hardcode_shlibpath_var=no
11353 runpath_var=LD_RUN_PATH
11354 hardcode_runpath_var=yes
11359 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11360 no_undefined_flag='$wl-z,text'
11361 archive_cmds_need_lc=no
11362 hardcode_shlibpath_var=no
11363 runpath_var='LD_RUN_PATH'
11365 if test yes = "$GCC"; then
11366 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11367 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11369 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11370 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11374 sysv5* | sco3.2v5* | sco5v6*)
11375 # Note: We CANNOT use -z defs as we might desire, because we do not
11376 # link with -lc, and that would cause any symbols used from libc to
11377 # always be unresolved, which means just about no library would
11378 # ever link correctly. If we're not using GNU ld we use -z text
11379 # though, which does catch some bad symbols but isn't as heavy-handed
11381 no_undefined_flag='$wl-z,text'
11382 allow_undefined_flag='$wl-z,nodefs'
11383 archive_cmds_need_lc=no
11384 hardcode_shlibpath_var=no
11385 hardcode_libdir_flag_spec='$wl-R,$libdir'
11386 hardcode_libdir_separator=':'
11387 link_all_deplibs=yes
11388 export_dynamic_flag_spec='$wl-Bexport'
11389 runpath_var='LD_RUN_PATH'
11391 if test yes = "$GCC"; then
11392 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11393 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11395 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11396 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11401 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11402 hardcode_libdir_flag_spec='-L$libdir'
11403 hardcode_shlibpath_var=no
11411 if test sni = "$host_vendor"; then
11413 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11414 export_dynamic_flag_spec='$wl-Blargedynsym'
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11421 $as_echo "$ld_shlibs" >&6; }
11422 test no = "$ld_shlibs" && can_build_shared=no
11424 with_gnu_ld=$with_gnu_ld
11441 # Do we need to explicitly link libc?
11443 case "x$archive_cmds_need_lc" in
11445 # Assume -lc should be added
11446 archive_cmds_need_lc=yes
11448 if test yes,yes = "$GCC,$enable_shared"; then
11449 case $archive_cmds in
11451 # FIXME: we may have to deal with multi-command sequences.
11454 # Test whether the compiler implicitly links with -lc since on some
11455 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11456 # to ld, don't add -lc before -lgcc.
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11458 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11459 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11460 $as_echo_n "(cached) " >&6
11463 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11466 (eval $ac_compile) 2>&5
11468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11469 test $ac_status = 0; } 2>conftest.err; then
11472 libobjs=conftest.$ac_objext
11474 wl=$lt_prog_compiler_wl
11475 pic_flag=$lt_prog_compiler_pic
11481 lt_save_allow_undefined_flag=$allow_undefined_flag
11482 allow_undefined_flag=
11483 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11484 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11487 test $ac_status = 0; }
11489 lt_cv_archive_cmds_need_lc=no
11491 lt_cv_archive_cmds_need_lc=yes
11493 allow_undefined_flag=$lt_save_allow_undefined_flag
11495 cat conftest.err 1>&5
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11501 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11502 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11661 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11663 if test yes = "$GCC"; then
11665 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11666 *) lt_awk_arg='/^libraries:/' ;;
11669 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11670 *) lt_sed_strip_eq='s|=/|/|g' ;;
11672 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11673 case $lt_search_path_spec in
11675 # if the path contains ";" then we assume it to be the separator
11676 # otherwise default to the standard path separator (i.e. ":") - it is
11677 # assumed that no part of a normal pathname contains ";" but that should
11678 # okay in the real world where ";" in dirpaths is itself problematic.
11679 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11682 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11685 # Ok, now we have the path, separated by spaces, we can step through it
11686 # and add multilib dir if necessary...
11687 lt_tmp_lt_search_path_spec=
11688 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11689 # ...but if some path component already ends with the multilib dir we assume
11690 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11691 case "$lt_multi_os_dir; $lt_search_path_spec " in
11692 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11696 for lt_sys_path in $lt_search_path_spec; do
11697 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11698 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11699 elif test -n "$lt_multi_os_dir"; then
11700 test -d "$lt_sys_path" && \
11701 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11704 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11705 BEGIN {RS = " "; FS = "/|\n";} {
11708 for (lt_i = NF; lt_i > 0; lt_i--) {
11709 if ($lt_i != "" && $lt_i != ".") {
11710 if ($lt_i == "..") {
11713 if (lt_count == 0) {
11714 lt_foo = "/" $lt_i lt_foo;
11721 if (lt_foo != "") { lt_freq[lt_foo]++; }
11722 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11724 # AWK program above erroneously prepends '/' to C:/dos/paths
11727 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11728 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11730 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11732 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11734 library_names_spec=
11735 libname_spec='lib$name'
11739 postuninstall_cmds=
11743 shlibpath_overrides_runpath=unknown
11745 dynamic_linker="$host_os ld.so"
11746 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11747 need_lib_prefix=unknown
11748 hardcode_into_libs=no
11750 # when you set need_version to no, make sure it does not cause -set_version
11751 # flags to be left without arguments
11752 need_version=unknown
11758 version_type=linux # correct to gnu/linux during the next big refactor
11759 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11760 shlibpath_var=LIBPATH
11762 # AIX 3 has no versioning support, so we append a major version to the name.
11763 soname_spec='$libname$release$shared_ext$major'
11767 version_type=linux # correct to gnu/linux during the next big refactor
11770 hardcode_into_libs=yes
11771 if test ia64 = "$host_cpu"; then
11772 # AIX 5 supports IA64
11773 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11774 shlibpath_var=LD_LIBRARY_PATH
11776 # With GCC up to 2.95.x, collect2 would create an import file
11777 # for dependence libraries. The import file would start with
11778 # the line '#! .'. This would cause the generated library to
11779 # depend on '.', always an invalid library. This was fixed in
11780 # development snapshots of GCC prior to 3.0.
11782 aix4 | aix4.[01] | aix4.[01].*)
11783 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11785 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11788 can_build_shared=no
11792 # Using Import Files as archive members, it is possible to support
11793 # filename-based versioning of shared library archives on AIX. While
11794 # this would work for both with and without runtime linking, it will
11795 # prevent static linking of such archives. So we do filename-based
11796 # shared library versioning with .so extension only, which is used
11797 # when both runtime linking and shared linking is enabled.
11798 # Unfortunately, runtime linking may impact performance, so we do
11799 # not want this to be the default eventually. Also, we use the
11800 # versioned .so libs for executables only if there is the -brtl
11801 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11802 # To allow for filename-based versioning support, we need to create
11803 # libNAME.so.V as an archive file, containing:
11804 # *) an Import File, referring to the versioned filename of the
11805 # archive as well as the shared archive member, telling the
11806 # bitwidth (32 or 64) of that shared object, and providing the
11807 # list of exported symbols of that shared object, eventually
11808 # decorated with the 'weak' keyword
11809 # *) the shared object with the F_LOADONLY flag set, to really avoid
11810 # it being seen by the linker.
11811 # At run time we better use the real file rather than another symlink,
11812 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11814 case $with_aix_soname,$aix_use_runtimelinking in
11815 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11816 # soname into executable. Probably we can add versioning support to
11817 # collect2, so additional links can be useful in future.
11818 aix,yes) # traditional libtool
11819 dynamic_linker='AIX unversionable lib.so'
11820 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11821 # instead of lib<name>.a to let people know that these are not
11822 # typical AIX shared libraries.
11823 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11825 aix,no) # traditional AIX only
11826 dynamic_linker='AIX lib.a(lib.so.V)'
11827 # We preserve .a as extension for shared libraries through AIX4.2
11828 # and later when we are not doing run time linking.
11829 library_names_spec='$libname$release.a $libname.a'
11830 soname_spec='$libname$release$shared_ext$major'
11832 svr4,*) # full svr4 only
11833 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11834 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11835 # We do not specify a path in Import Files, so LIBPATH fires.
11836 shlibpath_overrides_runpath=yes
11838 *,yes) # both, prefer svr4
11839 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11840 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11841 # unpreferred sharedlib libNAME.a needs extra handling
11842 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11843 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11844 # We do not specify a path in Import Files, so LIBPATH fires.
11845 shlibpath_overrides_runpath=yes
11847 *,no) # both, prefer aix
11848 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11849 library_names_spec='$libname$release.a $libname.a'
11850 soname_spec='$libname$release$shared_ext$major'
11851 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11852 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11853 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11856 shlibpath_var=LIBPATH
11863 # Since July 2007 AmigaOS4 officially supports .so libraries.
11864 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11865 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11868 library_names_spec='$libname.ixlibrary $libname.a'
11869 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11870 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11876 library_names_spec='$libname$shared_ext'
11877 dynamic_linker="$host_os ld.so"
11878 shlibpath_var=LIBRARY_PATH
11882 version_type=linux # correct to gnu/linux during the next big refactor
11884 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11885 soname_spec='$libname$release$shared_ext$major'
11886 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11887 shlibpath_var=LD_LIBRARY_PATH
11888 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11889 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11890 # the default ld.so.conf also contains /usr/contrib/lib and
11891 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11892 # libtool to hard-code these into programs
11895 cygwin* | mingw* | pw32* | cegcc*)
11896 version_type=windows
11901 case $GCC,$cc_basename in
11904 library_names_spec='$libname.dll.a'
11905 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11906 postinstall_cmds='base_file=`basename \$file`~
11907 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11908 dldir=$destdir/`dirname \$dlpath`~
11909 test -d \$dldir || mkdir -p \$dldir~
11910 $install_prog $dir/$dlname \$dldir/$dlname~
11911 chmod a+x \$dldir/$dlname~
11912 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11913 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11915 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11916 dlpath=$dir/\$dldll~
11918 shlibpath_overrides_runpath=yes
11922 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11923 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11925 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11928 # MinGW DLLs use traditional 'lib' prefix
11929 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11932 # pw32 DLLs use 'pw' prefix rather than 'lib'
11933 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11936 dynamic_linker='Win32 ld.exe'
11941 libname_spec='$name'
11942 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11943 library_names_spec='$libname.dll.lib'
11947 sys_lib_search_path_spec=
11950 for lt_path in $LIB
11953 # Let DOS variable expansion print the short 8.3 style file name.
11954 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11955 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11958 # Convert to MSYS style.
11959 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11962 # Convert to unix form, then to dos form, then back to unix form
11963 # but this time dos style (no spaces!) so that the unix form looks
11964 # like /cygdrive/c/PROGRA~1:/cygdr...
11965 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11966 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11967 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11970 sys_lib_search_path_spec=$LIB
11971 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11972 # It is most probably a Windows format PATH.
11973 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11975 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11977 # FIXME: find the short name or the path components, as spaces are
11978 # common. (e.g. "Program Files" -> "PROGRA~1")
11982 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11983 postinstall_cmds='base_file=`basename \$file`~
11984 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11985 dldir=$destdir/`dirname \$dlpath`~
11986 test -d \$dldir || mkdir -p \$dldir~
11987 $install_prog $dir/$dlname \$dldir/$dlname'
11988 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11989 dlpath=$dir/\$dldll~
11991 shlibpath_overrides_runpath=yes
11992 dynamic_linker='Win32 link.exe'
11996 # Assume MSVC wrapper
11997 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11998 dynamic_linker='Win32 ld.exe'
12001 # FIXME: first we should search . and the directory the executable is in
12005 darwin* | rhapsody*)
12006 dynamic_linker="$host_os dyld"
12007 version_type=darwin
12010 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12011 soname_spec='$libname$release$major$shared_ext'
12012 shlibpath_overrides_runpath=yes
12013 shlibpath_var=DYLD_LIBRARY_PATH
12014 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12016 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12017 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12021 version_type=linux # correct to gnu/linux during the next big refactor
12024 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12025 soname_spec='$libname$release$shared_ext$major'
12026 shlibpath_var=LD_LIBRARY_PATH
12029 freebsd* | dragonfly*)
12030 # DragonFly does not have aout. When/if they implement a new
12031 # versioning mechanism, adjust this.
12032 if test -x /usr/bin/objformat; then
12033 objformat=`/usr/bin/objformat`
12036 freebsd[23].*) objformat=aout ;;
12037 *) objformat=elf ;;
12040 version_type=freebsd-$objformat
12041 case $version_type in
12043 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12044 soname_spec='$libname$release$shared_ext$major'
12049 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12053 shlibpath_var=LD_LIBRARY_PATH
12056 shlibpath_overrides_runpath=yes
12058 freebsd3.[01]* | freebsdelf3.[01]*)
12059 shlibpath_overrides_runpath=yes
12060 hardcode_into_libs=yes
12062 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12063 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12064 shlibpath_overrides_runpath=no
12065 hardcode_into_libs=yes
12067 *) # from 4.6 on, and DragonFly
12068 shlibpath_overrides_runpath=yes
12069 hardcode_into_libs=yes
12075 version_type=linux # correct to gnu/linux during the next big refactor
12078 dynamic_linker="$host_os runtime_loader"
12079 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12080 soname_spec='$libname$release$shared_ext$major'
12081 shlibpath_var=LIBRARY_PATH
12082 shlibpath_overrides_runpath=no
12083 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12084 hardcode_into_libs=yes
12087 hpux9* | hpux10* | hpux11*)
12088 # Give a soname corresponding to the major version so that dld.sl refuses to
12089 # link against other versions.
12096 hardcode_into_libs=yes
12097 dynamic_linker="$host_os dld.so"
12098 shlibpath_var=LD_LIBRARY_PATH
12099 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12100 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12101 soname_spec='$libname$release$shared_ext$major'
12102 if test 32 = "$HPUX_IA64_MODE"; then
12103 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12104 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12106 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12107 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12112 hardcode_into_libs=yes
12113 dynamic_linker="$host_os dld.sl"
12114 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12115 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12116 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12117 soname_spec='$libname$release$shared_ext$major'
12118 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12119 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12123 dynamic_linker="$host_os dld.sl"
12124 shlibpath_var=SHLIB_PATH
12125 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12126 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12127 soname_spec='$libname$release$shared_ext$major'
12130 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12131 postinstall_cmds='chmod 555 $lib'
12132 # or fails outright, so override atomically:
12133 install_override_mode=555
12137 version_type=linux # correct to gnu/linux during the next big refactor
12140 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12141 soname_spec='$libname$release$shared_ext$major'
12142 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12143 shlibpath_var=LD_LIBRARY_PATH
12144 shlibpath_overrides_runpath=no
12145 hardcode_into_libs=yes
12148 irix5* | irix6* | nonstopux*)
12150 nonstopux*) version_type=nonstopux ;;
12152 if test yes = "$lt_cv_prog_gnu_ld"; then
12153 version_type=linux # correct to gnu/linux during the next big refactor
12160 soname_spec='$libname$release$shared_ext$major'
12161 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12163 irix5* | nonstopux*)
12164 libsuff= shlibsuff=
12167 case $LD in # libtool.m4 will add one of these switches to LD
12168 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12169 libsuff= shlibsuff= libmagic=32-bit;;
12170 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12171 libsuff=32 shlibsuff=N32 libmagic=N32;;
12172 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12173 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12174 *) libsuff= shlibsuff= libmagic=never-match;;
12178 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12179 shlibpath_overrides_runpath=no
12180 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12181 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12182 hardcode_into_libs=yes
12185 # No shared lib support for Linux oldld, aout, or coff.
12186 linux*oldld* | linux*aout* | linux*coff*)
12191 version_type=none # Android doesn't support versioned libraries.
12194 library_names_spec='$libname$release$shared_ext'
12195 soname_spec='$libname$release$shared_ext'
12197 shlibpath_var=LD_LIBRARY_PATH
12198 shlibpath_overrides_runpath=yes
12200 # This implies no fast_install, which is unacceptable.
12201 # Some rework will be needed to allow for fast_install
12202 # before this can be enabled.
12203 hardcode_into_libs=yes
12205 dynamic_linker='Android linker'
12206 # Don't embed -rpath directories since the linker doesn't support them.
12207 hardcode_libdir_flag_spec='-L$libdir'
12210 # This must be glibc/ELF.
12211 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12212 version_type=linux # correct to gnu/linux during the next big refactor
12215 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12216 soname_spec='$libname$release$shared_ext$major'
12217 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12218 shlibpath_var=LD_LIBRARY_PATH
12219 shlibpath_overrides_runpath=no
12221 # Some binutils ld are patched to set DT_RUNPATH
12222 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12223 $as_echo_n "(cached) " >&6
12225 lt_cv_shlibpath_overrides_runpath=no
12226 save_LDFLAGS=$LDFLAGS
12227 save_libdir=$libdir
12228 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12229 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h. */
12241 if ac_fn_c_try_link "$LINENO"; then :
12242 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12243 lt_cv_shlibpath_overrides_runpath=yes
12246 rm -f core conftest.err conftest.$ac_objext \
12247 conftest$ac_exeext conftest.$ac_ext
12248 LDFLAGS=$save_LDFLAGS
12249 libdir=$save_libdir
12253 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12255 # This implies no fast_install, which is unacceptable.
12256 # Some rework will be needed to allow for fast_install
12257 # before this can be enabled.
12258 hardcode_into_libs=yes
12260 # Ideally, we could use ldconfig to report *all* directores which are
12261 # searched for libraries, however this is still not possible. Aside from not
12262 # being certain /sbin/ldconfig is available, command
12263 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12264 # even though it is searched at run-time. Try to do the best guess by
12265 # appending ld.so.conf contents (and includes) to the search path.
12266 if test -f /etc/ld.so.conf; then
12267 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;s/"//g;/^$/d' | tr '\n' ' '`
12268 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12271 # We used to test for /lib/ld.so.1 and disable shared libraries on
12272 # powerpc, because MkLinux only supported shared libraries with the
12273 # GNU dynamic linker. Since this was broken with cross compilers,
12274 # most powerpc-linux boxes support dynamic linking these days and
12275 # people can always --disable-shared, the test was removed, and we
12276 # assume the GNU/Linux dynamic linker is in use.
12277 dynamic_linker='GNU/Linux ld.so'
12284 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12285 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12286 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12287 dynamic_linker='NetBSD (a.out) ld.so'
12289 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12290 soname_spec='$libname$release$shared_ext$major'
12291 dynamic_linker='NetBSD ld.elf_so'
12293 shlibpath_var=LD_LIBRARY_PATH
12294 shlibpath_overrides_runpath=yes
12295 hardcode_into_libs=yes
12299 version_type=linux # correct to gnu/linux during the next big refactor
12300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12301 shlibpath_var=LD_LIBRARY_PATH
12302 shlibpath_overrides_runpath=yes
12309 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12310 soname_spec='$libname$release$shared_ext$major'
12311 shlibpath_var=LD_LIBRARY_PATH
12312 shlibpath_overrides_runpath=no
12313 hardcode_into_libs=yes
12314 dynamic_linker='ldqnx.so'
12317 openbsd* | bitrig*)
12319 sys_lib_dlsearch_path_spec=/usr/lib
12321 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12326 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12327 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12328 shlibpath_var=LD_LIBRARY_PATH
12329 shlibpath_overrides_runpath=yes
12333 libname_spec='$name'
12334 version_type=windows
12338 # OS/2 can only load a DLL with a base name of 8 characters or less.
12339 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12340 v=$($ECHO $release$versuffix | tr -d .-);
12341 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12342 $ECHO $n$v`$shared_ext'
12343 library_names_spec='${libname}_dll.$libext'
12344 dynamic_linker='OS/2 ld.exe'
12345 shlibpath_var=BEGINLIBPATH
12346 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12347 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12348 postinstall_cmds='base_file=`basename \$file`~
12349 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12350 dldir=$destdir/`dirname \$dlpath`~
12351 test -d \$dldir || mkdir -p \$dldir~
12352 $install_prog $dir/$dlname \$dldir/$dlname~
12353 chmod a+x \$dldir/$dlname~
12354 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12355 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12357 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12358 dlpath=$dir/\$dldll~
12362 osf3* | osf4* | osf5*)
12366 soname_spec='$libname$release$shared_ext$major'
12367 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12368 shlibpath_var=LD_LIBRARY_PATH
12369 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12370 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12378 version_type=linux # correct to gnu/linux during the next big refactor
12381 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12382 soname_spec='$libname$release$shared_ext$major'
12383 shlibpath_var=LD_LIBRARY_PATH
12384 shlibpath_overrides_runpath=yes
12385 hardcode_into_libs=yes
12386 # ldd complains unless libraries are executable
12387 postinstall_cmds='chmod +x $lib'
12392 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12393 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12394 shlibpath_var=LD_LIBRARY_PATH
12395 shlibpath_overrides_runpath=yes
12396 if test yes = "$with_gnu_ld"; then
12403 version_type=linux # correct to gnu/linux during the next big refactor
12404 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12405 soname_spec='$libname$release$shared_ext$major'
12406 shlibpath_var=LD_LIBRARY_PATH
12407 case $host_vendor in
12409 shlibpath_overrides_runpath=no
12411 runpath_var=LD_RUN_PATH
12419 shlibpath_overrides_runpath=no
12420 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12426 if test -d /usr/nec; then
12427 version_type=linux # correct to gnu/linux during the next big refactor
12428 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12429 soname_spec='$libname$shared_ext.$major'
12430 shlibpath_var=LD_LIBRARY_PATH
12434 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12438 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12439 soname_spec='$libname$release$shared_ext$major'
12440 shlibpath_var=LD_LIBRARY_PATH
12441 shlibpath_overrides_runpath=yes
12442 hardcode_into_libs=yes
12443 if test yes = "$with_gnu_ld"; then
12444 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12446 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12449 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12453 sys_lib_dlsearch_path_spec='/usr/lib'
12457 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12458 version_type=linux # correct to gnu/linux during the next big refactor
12461 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12462 shlibpath_var=LD_LIBRARY_PATH
12463 shlibpath_overrides_runpath=no
12464 hardcode_into_libs=yes
12468 version_type=linux # correct to gnu/linux during the next big refactor
12469 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12470 soname_spec='$libname$release$shared_ext$major'
12471 shlibpath_var=LD_LIBRARY_PATH
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12479 $as_echo "$dynamic_linker" >&6; }
12480 test no = "$dynamic_linker" && can_build_shared=no
12482 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12483 if test yes = "$GCC"; then
12484 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12487 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12488 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12491 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12492 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12495 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12496 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12498 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12499 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12501 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12502 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12601 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12603 if test -n "$hardcode_libdir_flag_spec" ||
12604 test -n "$runpath_var" ||
12605 test yes = "$hardcode_automatic"; then
12607 # We can hardcode non-existent directories.
12608 if test no != "$hardcode_direct" &&
12609 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12610 # have to relink, otherwise we might link with an installed library
12611 # when we should be linking with a yet-to-be-installed one
12612 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12613 test no != "$hardcode_minus_L"; then
12614 # Linking always hardcodes the temporary library directory.
12615 hardcode_action=relink
12617 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12618 hardcode_action=immediate
12621 # We cannot hardcode anything, or else we can only hardcode existing
12623 hardcode_action=unsupported
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12626 $as_echo "$hardcode_action" >&6; }
12628 if test relink = "$hardcode_action" ||
12629 test yes = "$inherit_rpath"; then
12630 # Fast installation is not supported
12631 enable_fast_install=no
12632 elif test yes = "$shlibpath_overrides_runpath" ||
12633 test no = "$enable_shared"; then
12634 # Fast installation is not necessary
12635 enable_fast_install=needless
12643 if test yes != "$enable_dlopen"; then
12644 enable_dlopen=unknown
12645 enable_dlopen_self=unknown
12646 enable_dlopen_self_static=unknown
12653 lt_cv_dlopen=load_add_on
12655 lt_cv_dlopen_self=yes
12658 mingw* | pw32* | cegcc*)
12659 lt_cv_dlopen=LoadLibrary
12664 lt_cv_dlopen=dlopen
12669 # if libdl is installed we need to link against it
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12671 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12672 if ${ac_cv_lib_dl_dlopen+:} false; then :
12673 $as_echo_n "(cached) " >&6
12675 ac_check_lib_save_LIBS=$LIBS
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12695 if ac_fn_c_try_link "$LINENO"; then :
12696 ac_cv_lib_dl_dlopen=yes
12698 ac_cv_lib_dl_dlopen=no
12700 rm -f core conftest.err conftest.$ac_objext \
12701 conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_lib_save_LIBS
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12705 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12706 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12707 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12712 lt_cv_dlopen_self=yes
12719 # Don't try to run any link tests for TPF. We know it's impossible
12720 # because TPF is a cross-compiler, and we know how we open DSOs.
12721 lt_cv_dlopen=dlopen
12723 lt_cv_dlopen_self=no
12727 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12728 if test "x$ac_cv_func_shl_load" = xyes; then :
12729 lt_cv_dlopen=shl_load
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12732 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12733 if ${ac_cv_lib_dld_shl_load+:} false; then :
12734 $as_echo_n "(cached) " >&6
12736 ac_check_lib_save_LIBS=$LIBS
12738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h. */
12741 /* Override any GCC internal prototype to avoid an error.
12742 Use char because int might match the return type of a GCC
12743 builtin and then its argument prototype would still apply. */
12751 return shl_load ();
12756 if ac_fn_c_try_link "$LINENO"; then :
12757 ac_cv_lib_dld_shl_load=yes
12759 ac_cv_lib_dld_shl_load=no
12761 rm -f core conftest.err conftest.$ac_objext \
12762 conftest$ac_exeext conftest.$ac_ext
12763 LIBS=$ac_check_lib_save_LIBS
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12766 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12767 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12768 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12770 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12771 if test "x$ac_cv_func_dlopen" = xyes; then :
12772 lt_cv_dlopen=dlopen
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12775 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12776 if ${ac_cv_lib_dl_dlopen+:} false; then :
12777 $as_echo_n "(cached) " >&6
12779 ac_check_lib_save_LIBS=$LIBS
12781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12799 if ac_fn_c_try_link "$LINENO"; then :
12800 ac_cv_lib_dl_dlopen=yes
12802 ac_cv_lib_dl_dlopen=no
12804 rm -f core conftest.err conftest.$ac_objext \
12805 conftest$ac_exeext conftest.$ac_ext
12806 LIBS=$ac_check_lib_save_LIBS
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12809 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12810 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12811 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12814 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12815 if ${ac_cv_lib_svld_dlopen+:} false; then :
12816 $as_echo_n "(cached) " >&6
12818 ac_check_lib_save_LIBS=$LIBS
12819 LIBS="-lsvld $LIBS"
12820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12821 /* end confdefs.h. */
12823 /* Override any GCC internal prototype to avoid an error.
12824 Use char because int might match the return type of a GCC
12825 builtin and then its argument prototype would still apply. */
12838 if ac_fn_c_try_link "$LINENO"; then :
12839 ac_cv_lib_svld_dlopen=yes
12841 ac_cv_lib_svld_dlopen=no
12843 rm -f core conftest.err conftest.$ac_objext \
12844 conftest$ac_exeext conftest.$ac_ext
12845 LIBS=$ac_check_lib_save_LIBS
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12848 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12849 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12850 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12853 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12854 if ${ac_cv_lib_dld_dld_link+:} false; then :
12855 $as_echo_n "(cached) " >&6
12857 ac_check_lib_save_LIBS=$LIBS
12859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12862 /* Override any GCC internal prototype to avoid an error.
12863 Use char because int might match the return type of a GCC
12864 builtin and then its argument prototype would still apply. */
12872 return dld_link ();
12877 if ac_fn_c_try_link "$LINENO"; then :
12878 ac_cv_lib_dld_dld_link=yes
12880 ac_cv_lib_dld_dld_link=no
12882 rm -f core conftest.err conftest.$ac_objext \
12883 conftest$ac_exeext conftest.$ac_ext
12884 LIBS=$ac_check_lib_save_LIBS
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12887 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12888 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12889 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12910 if test no = "$lt_cv_dlopen"; then
12916 case $lt_cv_dlopen in
12918 save_CPPFLAGS=$CPPFLAGS
12919 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12921 save_LDFLAGS=$LDFLAGS
12922 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12925 LIBS="$lt_cv_dlopen_libs $LIBS"
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12928 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12929 if ${lt_cv_dlopen_self+:} false; then :
12930 $as_echo_n "(cached) " >&6
12932 if test yes = "$cross_compiling"; then :
12933 lt_cv_dlopen_self=cross
12935 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12936 lt_status=$lt_dlunknown
12937 cat > conftest.$ac_ext <<_LT_EOF
12938 #line $LINENO "configure"
12939 #include "confdefs.h"
12948 # define LT_DLGLOBAL RTLD_GLOBAL
12951 # define LT_DLGLOBAL DL_GLOBAL
12953 # define LT_DLGLOBAL 0
12957 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12958 find out it does not work in some platform. */
12959 #ifndef LT_DLLAZY_OR_NOW
12961 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12964 # define LT_DLLAZY_OR_NOW DL_LAZY
12967 # define LT_DLLAZY_OR_NOW RTLD_NOW
12970 # define LT_DLLAZY_OR_NOW DL_NOW
12972 # define LT_DLLAZY_OR_NOW 0
12979 /* When -fvisibility=hidden is used, assume the code has been annotated
12980 correspondingly for the symbols needed. */
12981 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12982 int fnord () __attribute__((visibility("default")));
12985 int fnord () { return 42; }
12988 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12989 int status = $lt_dlunknown;
12993 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12996 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12997 else puts (dlerror ());
12999 /* dlclose (self); */
13007 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13008 (eval $ac_link) 2>&5
13010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13011 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13012 (./conftest; exit; ) >&5 2>/dev/null
13014 case x$lt_status in
13015 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13016 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13017 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13020 # compilation failed
13021 lt_cv_dlopen_self=no
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13029 $as_echo "$lt_cv_dlopen_self" >&6; }
13031 if test yes = "$lt_cv_dlopen_self"; then
13032 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13034 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13035 if ${lt_cv_dlopen_self_static+:} false; then :
13036 $as_echo_n "(cached) " >&6
13038 if test yes = "$cross_compiling"; then :
13039 lt_cv_dlopen_self_static=cross
13041 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13042 lt_status=$lt_dlunknown
13043 cat > conftest.$ac_ext <<_LT_EOF
13044 #line $LINENO "configure"
13045 #include "confdefs.h"
13054 # define LT_DLGLOBAL RTLD_GLOBAL
13057 # define LT_DLGLOBAL DL_GLOBAL
13059 # define LT_DLGLOBAL 0
13063 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13064 find out it does not work in some platform. */
13065 #ifndef LT_DLLAZY_OR_NOW
13067 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13070 # define LT_DLLAZY_OR_NOW DL_LAZY
13073 # define LT_DLLAZY_OR_NOW RTLD_NOW
13076 # define LT_DLLAZY_OR_NOW DL_NOW
13078 # define LT_DLLAZY_OR_NOW 0
13085 /* When -fvisibility=hidden is used, assume the code has been annotated
13086 correspondingly for the symbols needed. */
13087 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13088 int fnord () __attribute__((visibility("default")));
13091 int fnord () { return 42; }
13094 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13095 int status = $lt_dlunknown;
13099 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13102 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13103 else puts (dlerror ());
13105 /* dlclose (self); */
13113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13114 (eval $ac_link) 2>&5
13116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13117 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13118 (./conftest; exit; ) >&5 2>/dev/null
13120 case x$lt_status in
13121 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13122 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13123 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13126 # compilation failed
13127 lt_cv_dlopen_self_static=no
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13135 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13138 CPPFLAGS=$save_CPPFLAGS
13139 LDFLAGS=$save_LDFLAGS
13144 case $lt_cv_dlopen_self in
13145 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13146 *) enable_dlopen_self=unknown ;;
13149 case $lt_cv_dlopen_self_static in
13150 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13151 *) enable_dlopen_self_static=unknown ;;
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13174 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13175 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13176 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13177 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13179 $as_echo "yes" >&6; }
13181 # FIXME - insert some real tests, host_os isn't really good enough
13184 if test -n "$STRIP"; then
13185 striplib="$STRIP -x"
13186 old_striplib="$STRIP -S"
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13188 $as_echo "yes" >&6; }
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13191 $as_echo "no" >&6; }
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13196 $as_echo "no" >&6; }
13212 # Report what library types will actually be built
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13214 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13216 $as_echo "$can_build_shared" >&6; }
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13219 $as_echo_n "checking whether to build shared libraries... " >&6; }
13220 test no = "$can_build_shared" && enable_shared=no
13222 # On AIX, shared libraries and static libraries use the same namespace, and
13223 # are all built from PIC.
13226 test yes = "$enable_shared" && enable_static=no
13227 if test -n "$RANLIB"; then
13228 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13229 postinstall_cmds='$RANLIB $lib'
13234 if test ia64 != "$host_cpu"; then
13235 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13236 yes,aix,yes) ;; # shared object as lib.so file only
13237 yes,svr4,*) ;; # shared object as lib.so archive member only
13238 yes,*) enable_static=no ;; # shared object in lib.a archive as well
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13244 $as_echo "$enable_shared" >&6; }
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13247 $as_echo_n "checking whether to build static libraries... " >&6; }
13248 # Make sure either enable_shared or enable_static is yes.
13249 test yes = "$enable_shared" || enable_static=yes
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13251 $as_echo "$enable_static" >&6; }
13258 ac_cpp='$CPP $CPPFLAGS'
13259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13279 ac_config_commands="$ac_config_commands libtool"
13284 # Only expand once:
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
13289 $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
13290 if ${libltdl_cv_shlibext+:} false; then :
13291 $as_echo_n "(cached) " >&6
13295 eval libltdl_cv_shlibext=$shrext_cmds
13297 eval libltdl_cv_shrext=$shrext_cmds
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
13301 $as_echo "$libltdl_cv_shlibext" >&6; }
13302 if test -n "$libltdl_cv_shlibext"; then
13304 cat >>confdefs.h <<_ACEOF
13305 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
13309 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
13311 cat >>confdefs.h <<_ACEOF
13312 #define LT_SHARED_EXT "$libltdl_cv_shrext"
13316 if test -n "$shared_archive_member_spec"; then
13318 cat >>confdefs.h <<_ACEOF
13319 #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
13325 $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
13326 if ${lt_cv_module_path_var+:} false; then :
13327 $as_echo_n "(cached) " >&6
13329 lt_cv_module_path_var=$shlibpath_var
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
13332 $as_echo "$lt_cv_module_path_var" >&6; }
13333 if test -n "$lt_cv_module_path_var"; then
13335 cat >>confdefs.h <<_ACEOF
13336 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
13342 $as_echo_n "checking for the default library search path... " >&6; }
13343 if ${lt_cv_sys_dlsearch_path+:} false; then :
13344 $as_echo_n "(cached) " >&6
13346 lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
13349 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
13350 if test -n "$lt_cv_sys_dlsearch_path"; then
13352 for dir in $lt_cv_sys_dlsearch_path; do
13353 if test -z "$sys_dlsearch_path"; then
13354 sys_dlsearch_path=$dir
13356 sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
13360 cat >>confdefs.h <<_ACEOF
13361 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
13371 ac_cpp='$CPP $CPPFLAGS'
13372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13376 lt_dlload_save_LIBS=$LIBS
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13380 $as_echo_n "checking for library containing dlopen... " >&6; }
13381 if ${ac_cv_search_dlopen+:} false; then :
13382 $as_echo_n "(cached) " >&6
13384 ac_func_search_save_LIBS=$LIBS
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13403 for ac_lib in '' dl; do
13404 if test -z "$ac_lib"; then
13405 ac_res="none required"
13408 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13410 if ac_fn_c_try_link "$LINENO"; then :
13411 ac_cv_search_dlopen=$ac_res
13413 rm -f core conftest.err conftest.$ac_objext \
13415 if ${ac_cv_search_dlopen+:} false; then :
13419 if ${ac_cv_search_dlopen+:} false; then :
13422 ac_cv_search_dlopen=no
13424 rm conftest.$ac_ext
13425 LIBS=$ac_func_search_save_LIBS
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13428 $as_echo "$ac_cv_search_dlopen" >&6; }
13429 ac_res=$ac_cv_search_dlopen
13430 if test "$ac_res" != no; then :
13431 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13433 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13435 if test "$ac_cv_search_dlopen" != "none required"; then
13438 libltdl_cv_lib_dl_dlopen=yes
13439 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13444 # include <dlfcn.h>
13455 if ac_fn_c_try_link "$LINENO"; then :
13457 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13459 libltdl_cv_func_dlopen=yes
13460 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13463 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13464 if ${ac_cv_lib_svld_dlopen+:} false; then :
13465 $as_echo_n "(cached) " >&6
13467 ac_check_lib_save_LIBS=$LIBS
13468 LIBS="-lsvld $LIBS"
13469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13470 /* end confdefs.h. */
13472 /* Override any GCC internal prototype to avoid an error.
13473 Use char because int might match the return type of a GCC
13474 builtin and then its argument prototype would still apply. */
13487 if ac_fn_c_try_link "$LINENO"; then :
13488 ac_cv_lib_svld_dlopen=yes
13490 ac_cv_lib_svld_dlopen=no
13492 rm -f core conftest.err conftest.$ac_objext \
13493 conftest$ac_exeext conftest.$ac_ext
13494 LIBS=$ac_check_lib_save_LIBS
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13497 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13498 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13500 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13502 LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
13503 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13507 rm -f core conftest.err conftest.$ac_objext \
13508 conftest$ac_exeext conftest.$ac_ext
13511 if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
13514 LIBS="$LIBS $LIBADD_DLOPEN"
13515 for ac_func in dlerror
13517 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
13518 if test "x$ac_cv_func_dlerror" = xyes; then :
13519 cat >>confdefs.h <<_ACEOF
13520 #define HAVE_DLERROR 1
13531 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13532 if test "x$ac_cv_func_shl_load" = xyes; then :
13534 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
13536 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13539 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13540 if ${ac_cv_lib_dld_shl_load+:} false; then :
13541 $as_echo_n "(cached) " >&6
13543 ac_check_lib_save_LIBS=$LIBS
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13548 /* Override any GCC internal prototype to avoid an error.
13549 Use char because int might match the return type of a GCC
13550 builtin and then its argument prototype would still apply. */
13558 return shl_load ();
13563 if ac_fn_c_try_link "$LINENO"; then :
13564 ac_cv_lib_dld_shl_load=yes
13566 ac_cv_lib_dld_shl_load=no
13568 rm -f core conftest.err conftest.$ac_objext \
13569 conftest$ac_exeext conftest.$ac_ext
13570 LIBS=$ac_check_lib_save_LIBS
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13573 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13574 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13576 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
13578 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
13579 LIBADD_SHL_LOAD=-ldld
13588 # We only want this for pre-Mac OS X 10.4.
13589 ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
13590 if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
13592 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
13594 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
13599 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
13601 cygwin* | mingw* | pw32*)
13602 ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
13604 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
13610 cat >>confdefs.h <<_ACEOF
13611 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
13614 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13619 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13620 if ${ac_cv_lib_dld_dld_link+:} false; then :
13621 $as_echo_n "(cached) " >&6
13623 ac_check_lib_save_LIBS=$LIBS
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13628 /* Override any GCC internal prototype to avoid an error.
13629 Use char because int might match the return type of a GCC
13630 builtin and then its argument prototype would still apply. */
13638 return dld_link ();
13643 if ac_fn_c_try_link "$LINENO"; then :
13644 ac_cv_lib_dld_dld_link=yes
13646 ac_cv_lib_dld_dld_link=no
13648 rm -f core conftest.err conftest.$ac_objext \
13649 conftest$ac_exeext conftest.$ac_ext
13650 LIBS=$ac_check_lib_save_LIBS
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13653 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13654 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13656 $as_echo "#define HAVE_DLD 1" >>confdefs.h
13658 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
13665 if test -n "$LT_DLLOADERS"
13667 for lt_loader in $LT_DLLOADERS; do
13668 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
13671 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
13676 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
13679 LIBS=$lt_dlload_save_LIBS
13681 ac_cpp='$CPP $CPPFLAGS'
13682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
13688 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
13689 if ${lt_cv_sys_symbol_underscore+:} false; then :
13690 $as_echo_n "(cached) " >&6
13692 lt_cv_sys_symbol_underscore=no
13693 cat > conftest.$ac_ext <<_LT_EOF
13694 void nm_test_func(){}
13695 int main(){nm_test_func;return 0;}
13697 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13698 (eval $ac_compile) 2>&5
13700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13701 test $ac_status = 0; }; then
13702 # Now try to grab the symbols.
13703 ac_nlist=conftest.nm
13704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
13705 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
13707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13708 test $ac_status = 0; } && test -s "$ac_nlist"; then
13709 # See whether the symbols have a leading underscore.
13710 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
13711 lt_cv_sys_symbol_underscore=yes
13713 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
13716 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
13720 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
13723 echo "configure: failed program was:" >&5
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
13730 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
13731 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
13734 if test yes = "$lt_cv_sys_symbol_underscore"; then
13735 if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
13737 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
13738 if ${libltdl_cv_need_uscore+:} false; then :
13739 $as_echo_n "(cached) " >&6
13741 libltdl_cv_need_uscore=unknown
13742 dlsym_uscore_save_LIBS=$LIBS
13743 LIBS="$LIBS $LIBADD_DLOPEN"
13744 libname=conftmod # stay within 8.3 filename limits!
13745 cat >$libname.$ac_ext <<_LT_EOF
13746 #line $LINENO "configure"
13747 #include "confdefs.h"
13748 /* When -fvisibility=hidden is used, assume the code has been annotated
13749 correspondingly for the symbols needed. */
13750 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13751 int fnord () __attribute__((visibility("default")));
13753 int fnord () { return 42; }
13756 # ltfn_module_cmds module_cmds
13757 # Execute tilde-delimited MODULE_CMDS with environment primed for
13758 # $module_cmds or $archive_cmds type content.
13759 ltfn_module_cmds ()
13760 {( # subshell avoids polluting parent global environment
13761 module_cmds_save_ifs=$IFS; IFS='~'
13763 IFS=$module_cmds_save_ifs
13764 libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
13765 rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
13766 major=; versuffix=; verstring=; deplibs=
13767 ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
13770 IFS=$module_cmds_save_ifs
13773 # Compile a loadable module using libtool macro expansion results.
13774 $CC $pic_flag -c $libname.$ac_ext
13775 ltfn_module_cmds "${module_cmds:-$archive_cmds}"
13777 # Try to fetch fnord with dlsym().
13778 libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
13779 cat >conftest.$ac_ext <<_LT_EOF
13780 #line $LINENO "configure"
13781 #include "confdefs.h"
13786 #ifndef RTLD_GLOBAL
13788 # define RTLD_GLOBAL DL_GLOBAL
13790 # define RTLD_GLOBAL 0
13795 # define RTLD_NOW DL_NOW
13797 # define RTLD_NOW 0
13801 void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
13802 int status = $libltdl_dlunknown;
13804 if (dlsym (handle, "fnord"))
13805 status = $libltdl_dlnouscore;
13807 if (dlsym (handle, "_fnord"))
13808 status = $libltdl_dluscore;
13818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13819 (eval $ac_link) 2>&5
13821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13822 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13823 (./conftest; exit; ) >&5 2>/dev/null
13825 case x$libltdl_status in
13826 x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
13827 x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
13828 x*) libltdl_cv_need_uscore=unknown ;;
13831 rm -rf conftest* $libname*
13832 LIBS=$dlsym_uscore_save_LIBS
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
13836 $as_echo "$libltdl_cv_need_uscore" >&6; }
13840 if test yes = "$libltdl_cv_need_uscore"; then
13842 $as_echo "#define NEED_USCORE 1" >>confdefs.h
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
13847 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
13848 if ${lt_cv_sys_dlopen_deplibs+:} false; then :
13849 $as_echo_n "(cached) " >&6
13851 # PORTME does your system automatically load deplibs for dlopen?
13852 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
13853 # For now, we just catch OSes we know something about -- in the
13854 # future, we'll try test this programmatically.
13855 lt_cv_sys_dlopen_deplibs=unknown
13857 aix3*|aix4.1.*|aix4.2.*)
13858 # Unknown whether this is true for these versions of AIX, but
13859 # we want this 'case' here to explicitly catch those versions.
13860 lt_cv_sys_dlopen_deplibs=unknown
13863 lt_cv_sys_dlopen_deplibs=yes
13868 lt_cv_sys_dlopen_deplibs=no
13873 lt_cv_sys_dlopen_deplibs=yes
13876 # Assuming the user has installed a libdl from somewhere, this is true
13877 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
13878 lt_cv_sys_dlopen_deplibs=yes
13880 freebsd* | dragonfly*)
13881 lt_cv_sys_dlopen_deplibs=yes
13883 gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
13884 # GNU and its variants, using gnu ld.so (Glibc)
13885 lt_cv_sys_dlopen_deplibs=yes
13888 lt_cv_sys_dlopen_deplibs=yes
13891 lt_cv_sys_dlopen_deplibs=yes
13893 irix[12345]*|irix6.[01]*)
13894 # Catch all versions of IRIX before 6.2, and indicate that we don't
13895 # know how it worked for any of those versions.
13896 lt_cv_sys_dlopen_deplibs=unknown
13899 # The case above catches anything before 6.2, and it's known that
13900 # at 6.2 and later dlopen does load deplibs.
13901 lt_cv_sys_dlopen_deplibs=yes
13904 lt_cv_sys_dlopen_deplibs=yes
13907 lt_cv_sys_dlopen_deplibs=yes
13910 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
13911 # it did *not* use an RPATH in a shared library to find objects the
13912 # library depends on, so we explicitly say 'no'.
13913 lt_cv_sys_dlopen_deplibs=no
13915 osf5.0|osf5.0a|osf5.1)
13916 # dlopen *does* load deplibs and with the right loader patch applied
13917 # it even uses RPATH in a shared library to search for shared objects
13918 # that the library depends on, but there's no easy way to know if that
13919 # patch is installed. Since this is the case, all we can really
13920 # say is unknown -- it depends on the patch being installed. If
13921 # it is, this changes to 'yes'. Without it, it would be 'no'.
13922 lt_cv_sys_dlopen_deplibs=unknown
13925 # the two cases above should catch all versions of osf <= 5.1. Read
13926 # the comments above for what we know about them.
13927 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
13928 # is used to find them so we can finally say 'yes'.
13929 lt_cv_sys_dlopen_deplibs=yes
13932 lt_cv_sys_dlopen_deplibs=yes
13935 lt_cv_sys_dlopen_deplibs=yes
13937 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13938 libltdl_cv_sys_dlopen_deplibs=yes
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
13944 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
13945 if test yes != "$lt_cv_sys_dlopen_deplibs"; then
13947 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
13952 for ac_header in argz.h
13954 ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
13956 if test "x$ac_cv_header_argz_h" = xyes; then :
13957 cat >>confdefs.h <<_ACEOF
13958 #define HAVE_ARGZ_H 1
13966 ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
13970 if test "x$ac_cv_type_error_t" = xyes; then :
13972 cat >>confdefs.h <<_ACEOF
13973 #define HAVE_ERROR_T 1
13979 $as_echo "#define error_t int" >>confdefs.h
13982 $as_echo "#define __error_t_defined 1" >>confdefs.h
13988 for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
13989 argz_next argz_stringify
13991 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13993 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13994 cat >>confdefs.h <<_ACEOF
13995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13999 LT_ARGZ_H=lt__argz.h; case " $LIBOBJS " in
14000 *" lt__argz.$ac_objext "* ) ;;
14001 *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
14009 if test -z "$LT_ARGZ_H"; then :
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
14011 $as_echo_n "checking if argz actually works... " >&6; }
14012 if ${lt_cv_sys_argz_works+:} false; then :
14013 $as_echo_n "(cached) " >&6
14015 case $host_os in #(
14017 lt_cv_sys_argz_works=no
14018 if test no != "$cross_compiling"; then
14019 lt_cv_sys_argz_works="guessing no"
14021 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
14024 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
14029 if test 1 -lt "$lt_os_major" \
14030 || { test 1 -eq "$lt_os_major" \
14031 && { test 5 -lt "$lt_os_minor" \
14032 || { test 5 -eq "$lt_os_minor" \
14033 && test 24 -lt "$lt_os_micro"; }; }; }; then
14034 lt_cv_sys_argz_works=yes
14038 *) lt_cv_sys_argz_works=yes ;;
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
14042 $as_echo "$lt_cv_sys_argz_works" >&6; }
14043 if test yes = "$lt_cv_sys_argz_works"; then :
14045 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
14048 LT_ARGZ_H=lt__argz.h
14049 case " $LIBOBJS " in
14050 *" lt__argz.$ac_objext "* ) ;;
14051 *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
14061 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
14062 if ${libltdl_cv_preloaded_symbols+:} false; then :
14063 $as_echo_n "(cached) " >&6
14065 if test -n "$lt_cv_sys_global_symbol_pipe"; then
14066 libltdl_cv_preloaded_symbols=yes
14068 libltdl_cv_preloaded_symbols=no
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
14073 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
14074 if test yes = "$libltdl_cv_preloaded_symbols"; then
14076 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
14082 # Check whether --enable-ltdl-install was given.
14083 if test "${enable_ltdl_install+set}" = set; then :
14084 enableval=$enable_ltdl_install;
14088 case ,$enable_ltdl_install,$enable_ltdl_convenience in
14090 *) enable_ltdl_convenience=yes ;;
14093 if test no != "${enable_ltdl_install-no}"; then
14095 INSTALL_LTDL_FALSE='#'
14097 INSTALL_LTDL_TRUE='#'
14098 INSTALL_LTDL_FALSE=
14101 if test no != "${enable_ltdl_convenience-no}"; then
14102 CONVENIENCE_LTDL_TRUE=
14103 CONVENIENCE_LTDL_FALSE='#'
14105 CONVENIENCE_LTDL_TRUE='#'
14106 CONVENIENCE_LTDL_FALSE=
14114 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
14115 # the user used. This is so that ltdl.h can pick up the parent projects
14116 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
14117 # definitions required by ltdl.c.
14118 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
14122 for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
14124 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14125 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14127 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14128 cat >>confdefs.h <<_ACEOF
14129 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14137 for ac_func in closedir opendir readdir
14139 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14140 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14141 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14142 cat >>confdefs.h <<_ACEOF
14143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14147 case " $LIBOBJS " in
14148 *" lt__dirent.$ac_objext "* ) ;;
14149 *) LIBOBJS="$LIBOBJS lt__dirent.$ac_objext"
14156 for ac_func in strlcat strlcpy
14158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14160 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14161 cat >>confdefs.h <<_ACEOF
14162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14166 case " $LIBOBJS " in
14167 *" lt__strl.$ac_objext "* ) ;;
14168 *) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
14177 cat >>confdefs.h <<_ACEOF
14178 #define LT_LIBEXT "$libext"
14183 eval "lt_libprefix=\"$libname_spec\""
14185 cat >>confdefs.h <<_ACEOF
14186 #define LT_LIBPREFIX "$lt_libprefix"
14191 eval "LTDLOPEN=\"$libname_spec\""
14195 # Enable all the language support we can
14197 ac_cpp='$CXXCPP $CPPFLAGS'
14198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14201 if test -z "$CXX"; then
14202 if test -n "$CCC"; then
14205 if test -n "$ac_tool_prefix"; then
14206 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14209 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14211 $as_echo_n "checking for $ac_word... " >&6; }
14212 if ${ac_cv_prog_CXX+:} false; then :
14213 $as_echo_n "(cached) " >&6
14215 if test -n "$CXX"; then
14216 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14219 for as_dir in $PATH
14222 test -z "$as_dir" && as_dir=.
14223 for ac_exec_ext in '' $ac_executable_extensions; do
14224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14225 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14235 CXX=$ac_cv_prog_CXX
14236 if test -n "$CXX"; then
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14238 $as_echo "$CXX" >&6; }
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14241 $as_echo "no" >&6; }
14245 test -n "$CXX" && break
14248 if test -z "$CXX"; then
14250 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14252 # Extract the first word of "$ac_prog", so it can be a program name with args.
14253 set dummy $ac_prog; ac_word=$2
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14255 $as_echo_n "checking for $ac_word... " >&6; }
14256 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
14257 $as_echo_n "(cached) " >&6
14259 if test -n "$ac_ct_CXX"; then
14260 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14263 for as_dir in $PATH
14266 test -z "$as_dir" && as_dir=.
14267 for ac_exec_ext in '' $ac_executable_extensions; do
14268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14269 ac_cv_prog_ac_ct_CXX="$ac_prog"
14270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14279 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14280 if test -n "$ac_ct_CXX"; then
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14282 $as_echo "$ac_ct_CXX" >&6; }
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14285 $as_echo "no" >&6; }
14289 test -n "$ac_ct_CXX" && break
14292 if test "x$ac_ct_CXX" = x; then
14295 case $cross_compiling:$ac_tool_warned in
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14299 ac_tool_warned=yes ;;
14307 # Provide some information about the compiler.
14308 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14311 for ac_option in --version -v -V -qversion; do
14312 { { ac_try="$ac_compiler $ac_option >&5"
14313 case "(($ac_try" in
14314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14315 *) ac_try_echo=$ac_try;;
14317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14318 $as_echo "$ac_try_echo"; } >&5
14319 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14321 if test -s conftest.err; then
14323 ... rest of stderr output deleted ...
14324 10q' conftest.err >conftest.er1
14325 cat conftest.er1 >&5
14327 rm -f conftest.er1 conftest.err
14328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14329 test $ac_status = 0; }
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14333 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14334 if ${ac_cv_cxx_compiler_gnu+:} false; then :
14335 $as_echo_n "(cached) " >&6
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14351 if ac_fn_cxx_try_compile "$LINENO"; then :
14352 ac_compiler_gnu=yes
14356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14357 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14361 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14362 if test $ac_compiler_gnu = yes; then
14367 ac_test_CXXFLAGS=${CXXFLAGS+set}
14368 ac_save_CXXFLAGS=$CXXFLAGS
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14370 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14371 if ${ac_cv_prog_cxx_g+:} false; then :
14372 $as_echo_n "(cached) " >&6
14374 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14375 ac_cxx_werror_flag=yes
14376 ac_cv_prog_cxx_g=no
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14389 if ac_fn_cxx_try_compile "$LINENO"; then :
14390 ac_cv_prog_cxx_g=yes
14393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14404 if ac_fn_cxx_try_compile "$LINENO"; then :
14407 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14420 if ac_fn_cxx_try_compile "$LINENO"; then :
14421 ac_cv_prog_cxx_g=yes
14423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14428 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14431 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14432 if test "$ac_test_CXXFLAGS" = set; then
14433 CXXFLAGS=$ac_save_CXXFLAGS
14434 elif test $ac_cv_prog_cxx_g = yes; then
14435 if test "$GXX" = yes; then
14441 if test "$GXX" = yes; then
14448 ac_cpp='$CPP $CPPFLAGS'
14449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14453 depcc="$CXX" am_compiler_list=
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14456 $as_echo_n "checking dependency style of $depcc... " >&6; }
14457 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
14458 $as_echo_n "(cached) " >&6
14460 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14461 # We make a subdir and do the tests there. Otherwise we can end up
14462 # making bogus files that we don't know about and never remove. For
14463 # instance it was reported that on HP-UX the gcc test will end up
14464 # making a dummy file named 'D' -- because '-MD' means "put the output
14466 rm -rf conftest.dir
14468 # Copy depcomp to subdir because otherwise we won't find it if we're
14469 # using a relative directory.
14470 cp "$am_depcomp" conftest.dir
14472 # We will build objects and dependencies in a subdirectory because
14473 # it helps to detect inapplicable dependency modes. For instance
14474 # both Tru64's cc and ICC support -MD to output dependencies as a
14475 # side effect of compilation, but ICC will put the dependencies in
14476 # the current directory while Tru64 will put them in the object
14480 am_cv_CXX_dependencies_compiler_type=none
14481 if test "$am_compiler_list" = ""; then
14482 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14484 am__universal=false
14485 case " $depcc " in #(
14486 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14489 for depmode in $am_compiler_list; do
14490 # Setup a source with many dependencies, because some compilers
14491 # like to wrap large dependency lists on column 80 (with \), and
14492 # we should not choose a depcomp mode which is confused by this.
14494 # We need to recreate these files for each test, as the compiler may
14495 # overwrite some of them when testing with obscure command lines.
14496 # This happens at least with the AIX C compiler.
14498 for i in 1 2 3 4 5 6; do
14499 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14500 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14501 # Solaris 10 /bin/sh.
14502 echo '/* dummy */' > sub/conftst$i.h
14504 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14506 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14507 # mode. It turns out that the SunPro C++ compiler does not properly
14508 # handle '-M -o', and we need to detect this. Also, some Intel
14509 # versions had trouble with output in subdirs.
14510 am__obj=sub/conftest.${OBJEXT-o}
14511 am__minus_obj="-o $am__obj"
14514 # This depmode causes a compiler race in universal mode.
14515 test "$am__universal" = false || continue
14518 # After this tag, mechanisms are not by side-effect, so they'll
14519 # only be used when explicitly requested.
14520 if test "x$enable_dependency_tracking" = xyes; then
14526 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14527 # This compiler won't grok '-c -o', but also, the minuso test has
14528 # not run yet. These depmodes are late enough in the game, and
14529 # so weak that their functioning should not be impacted.
14530 am__obj=conftest.${OBJEXT-o}
14535 if depmode=$depmode \
14536 source=sub/conftest.c object=$am__obj \
14537 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14538 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14539 >/dev/null 2>conftest.err &&
14540 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14541 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14542 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14543 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14544 # icc doesn't choke on unknown options, it will just issue warnings
14545 # or remarks (even with -Werror). So we grep stderr for any message
14546 # that says an option was ignored or not supported.
14547 # When given -MP, icc 7.0 and 7.1 complain thusly:
14548 # icc: Command line warning: ignoring option '-M'; no argument required
14549 # The diagnosis changed in icc 8.0:
14550 # icc: Command line remark: option '-MP' not supported
14551 if (grep 'ignoring option' conftest.err ||
14552 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14553 am_cv_CXX_dependencies_compiler_type=$depmode
14560 rm -rf conftest.dir
14562 am_cv_CXX_dependencies_compiler_type=none
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14567 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14568 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14571 test "x$enable_dependency_tracking" != xno \
14572 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14573 am__fastdepCXX_TRUE=
14574 am__fastdepCXX_FALSE='#'
14576 am__fastdepCXX_TRUE='#'
14577 am__fastdepCXX_FALSE=
14584 func_stripname_cnf ()
14587 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
14588 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
14590 } # func_stripname_cnf
14592 if test -n "$CXX" && ( test no != "$CXX" &&
14593 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14594 (test g++ != "$CXX"))); then
14596 ac_cpp='$CXXCPP $CPPFLAGS'
14597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14601 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14602 if test -z "$CXXCPP"; then
14603 if ${ac_cv_prog_CXXCPP+:} false; then :
14604 $as_echo_n "(cached) " >&6
14606 # Double quotes because CXXCPP needs to be expanded
14607 for CXXCPP in "$CXX -E" "/lib/cpp"
14609 ac_preproc_ok=false
14610 for ac_cxx_preproc_warn_flag in '' yes
14612 # Use a header file that comes with gcc, so configuring glibc
14613 # with a fresh cross-compiler works.
14614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14615 # <limits.h> exists even on freestanding compilers.
14616 # On the NeXT, cc -E runs the code through the compiler's parser,
14617 # not just through cpp. "Syntax error" is here to catch this case.
14618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14619 /* end confdefs.h. */
14621 # include <limits.h>
14623 # include <assert.h>
14627 if ac_fn_cxx_try_cpp "$LINENO"; then :
14630 # Broken: fails on valid input.
14633 rm -f conftest.err conftest.i conftest.$ac_ext
14635 # OK, works on sane cases. Now check whether nonexistent headers
14636 # can be detected and how.
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14639 #include <ac_nonexistent.h>
14641 if ac_fn_cxx_try_cpp "$LINENO"; then :
14642 # Broken: success on invalid input.
14645 # Passes both tests.
14649 rm -f conftest.err conftest.i conftest.$ac_ext
14652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14653 rm -f conftest.i conftest.err conftest.$ac_ext
14654 if $ac_preproc_ok; then :
14659 ac_cv_prog_CXXCPP=$CXXCPP
14662 CXXCPP=$ac_cv_prog_CXXCPP
14664 ac_cv_prog_CXXCPP=$CXXCPP
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14667 $as_echo "$CXXCPP" >&6; }
14668 ac_preproc_ok=false
14669 for ac_cxx_preproc_warn_flag in '' yes
14671 # Use a header file that comes with gcc, so configuring glibc
14672 # with a fresh cross-compiler works.
14673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14674 # <limits.h> exists even on freestanding compilers.
14675 # On the NeXT, cc -E runs the code through the compiler's parser,
14676 # not just through cpp. "Syntax error" is here to catch this case.
14677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14680 # include <limits.h>
14682 # include <assert.h>
14686 if ac_fn_cxx_try_cpp "$LINENO"; then :
14689 # Broken: fails on valid input.
14692 rm -f conftest.err conftest.i conftest.$ac_ext
14694 # OK, works on sane cases. Now check whether nonexistent headers
14695 # can be detected and how.
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14698 #include <ac_nonexistent.h>
14700 if ac_fn_cxx_try_cpp "$LINENO"; then :
14701 # Broken: success on invalid input.
14704 # Passes both tests.
14708 rm -f conftest.err conftest.i conftest.$ac_ext
14711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14712 rm -f conftest.i conftest.err conftest.$ac_ext
14713 if $ac_preproc_ok; then :
14716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14718 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14719 See \`config.log' for more details" "$LINENO" 5; }
14723 ac_cpp='$CPP $CPPFLAGS'
14724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14729 _lt_caught_CXX_error=yes
14733 ac_cpp='$CXXCPP $CPPFLAGS'
14734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14738 archive_cmds_need_lc_CXX=no
14739 allow_undefined_flag_CXX=
14740 always_export_symbols_CXX=no
14741 archive_expsym_cmds_CXX=
14742 compiler_needs_object_CXX=no
14743 export_dynamic_flag_spec_CXX=
14744 hardcode_direct_CXX=no
14745 hardcode_direct_absolute_CXX=no
14746 hardcode_libdir_flag_spec_CXX=
14747 hardcode_libdir_separator_CXX=
14748 hardcode_minus_L_CXX=no
14749 hardcode_shlibpath_var_CXX=unsupported
14750 hardcode_automatic_CXX=no
14751 inherit_rpath_CXX=no
14753 module_expsym_cmds_CXX=
14754 link_all_deplibs_CXX=unknown
14755 old_archive_cmds_CXX=$old_archive_cmds
14756 reload_flag_CXX=$reload_flag
14757 reload_cmds_CXX=$reload_cmds
14758 no_undefined_flag_CXX=
14759 whole_archive_flag_spec_CXX=
14760 enable_shared_with_static_runtimes_CXX=no
14762 # Source file extension for C++ test sources.
14765 # Object file extension for compiled C++ test sources.
14769 # No sense in running all these tests if we already determined that
14770 # the CXX compiler isn't working. Some variables (like enable_shared)
14771 # are currently assumed to apply to all compilers on this platform,
14772 # and will be corrupted by setting them based on a non-working compiler.
14773 if test yes != "$_lt_caught_CXX_error"; then
14774 # Code to be used in simple compile tests
14775 lt_simple_compile_test_code="int some_variable = 0;"
14777 # Code to be used in simple link tests
14778 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14780 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14787 # If no C compiler was specified, use CC.
14790 # If no C compiler flags were specified, use CFLAGS.
14791 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14793 # Allow CC to be a program name with arguments.
14797 # save warnings/boilerplate of simple test code
14798 ac_outfile=conftest.$ac_objext
14799 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14800 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14801 _lt_compiler_boilerplate=`cat conftest.err`
14804 ac_outfile=conftest.$ac_objext
14805 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14806 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14807 _lt_linker_boilerplate=`cat conftest.err`
14811 # Allow CC to be a program name with arguments.
14813 lt_save_CFLAGS=$CFLAGS
14817 lt_save_with_gnu_ld=$with_gnu_ld
14818 lt_save_path_LD=$lt_cv_path_LD
14819 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14820 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14822 $as_unset lt_cv_prog_gnu_ld
14824 if test -n "${lt_cv_path_LDCXX+set}"; then
14825 lt_cv_path_LD=$lt_cv_path_LDCXX
14827 $as_unset lt_cv_path_LD
14829 test -z "${LDCXX+set}" || LD=$LDCXX
14834 func_cc_basename $compiler
14835 cc_basename=$func_cc_basename_result
14838 if test -n "$compiler"; then
14839 # We don't want -fno-exception when compiling C++ code, so set the
14840 # no_builtin_flag separately
14841 if test yes = "$GXX"; then
14842 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14844 lt_prog_compiler_no_builtin_flag_CXX=
14847 if test yes = "$GXX"; then
14848 # Set up default GNU C++ configuration
14852 # Check whether --with-gnu-ld was given.
14853 if test "${with_gnu_ld+set}" = set; then :
14854 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14860 if test yes = "$GCC"; then
14861 # Check if gcc -print-prog-name=ld gives a path.
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14863 $as_echo_n "checking for ld used by $CC... " >&6; }
14866 # gcc leaves a trailing carriage return, which upsets mingw
14867 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14869 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14872 # Accept absolute paths.
14874 re_direlt='/[^/][^/]*/\.\./'
14875 # Canonicalize the pathname of ld
14876 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14877 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14878 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14880 test -z "$LD" && LD=$ac_prog
14883 # If it fails, then pretend we aren't using GCC.
14887 # If it is relative, then search for the first ld in PATH.
14888 with_gnu_ld=unknown
14891 elif test yes = "$with_gnu_ld"; then
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14893 $as_echo_n "checking for GNU ld... " >&6; }
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14896 $as_echo_n "checking for non-GNU ld... " >&6; }
14898 if ${lt_cv_path_LD+:} false; then :
14899 $as_echo_n "(cached) " >&6
14901 if test -z "$LD"; then
14902 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14903 for ac_dir in $PATH; do
14905 test -z "$ac_dir" && ac_dir=.
14906 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14907 lt_cv_path_LD=$ac_dir/$ac_prog
14908 # Check to see if the program is GNU ld. I'd rather use --version,
14909 # but apparently some variants of GNU ld only accept -v.
14910 # Break only if it was the GNU/non-GNU ld that we prefer.
14911 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14912 *GNU* | *'with BFD'*)
14913 test no != "$with_gnu_ld" && break
14916 test yes != "$with_gnu_ld" && break
14923 lt_cv_path_LD=$LD # Let the user override the test with a path.
14928 if test -n "$LD"; then
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14930 $as_echo "$LD" >&6; }
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14933 $as_echo "no" >&6; }
14935 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14937 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14938 if ${lt_cv_prog_gnu_ld+:} false; then :
14939 $as_echo_n "(cached) " >&6
14941 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14942 case `$LD -v 2>&1 </dev/null` in
14943 *GNU* | *'with BFD'*)
14944 lt_cv_prog_gnu_ld=yes
14947 lt_cv_prog_gnu_ld=no
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14952 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14953 with_gnu_ld=$lt_cv_prog_gnu_ld
14961 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14962 # archiving commands below assume that GNU ld is being used.
14963 if test yes = "$with_gnu_ld"; then
14964 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14965 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14967 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14968 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14970 # If archive_cmds runs LD, not CC, wlarc should be empty
14971 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14972 # investigate it a little bit more. (MM)
14975 # ancient GNU ld didn't support --whole-archive et. al.
14976 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14977 $GREP 'no-whole-archive' > /dev/null; then
14978 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14980 whole_archive_flag_spec_CXX=
14986 # A generic and very simple default shared library creation
14987 # command for GNU C++ for the case where it uses the native
14988 # linker, instead of GNU ld. If possible, this setting should
14989 # overridden to take advantage of the native linker features on
14990 # the platform it is being used on.
14991 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14994 # Commands to make compiler produce verbose output that lists
14995 # what "hidden" libraries, object files and flags are used when
14996 # linking a shared library.
14997 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15005 # PORTME: fill in a description of your system's C++ link characteristics
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15007 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15011 # FIXME: insert proper C++ library support
15015 if test ia64 = "$host_cpu"; then
15016 # On IA64, the linker does run time linking by default, so we don't
15017 # have to do anything special.
15018 aix_use_runtimelinking=no
15019 exp_sym_flag='-Bexport'
15022 aix_use_runtimelinking=no
15024 # Test if we are trying to use run time linking or normal
15025 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15026 # have runtime linking enabled, and use it for executables.
15027 # For shared libraries, we enable/disable runtime linking
15028 # depending on the kind of the shared library created -
15029 # when "with_aix_soname,aix_use_runtimelinking" is:
15030 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15031 # "aix,yes" lib.so shared, rtl:yes, for executables
15032 # lib.a static archive
15033 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15034 # lib.a(lib.so.V) shared, rtl:no, for executables
15035 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15036 # lib.a(lib.so.V) shared, rtl:no
15037 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15038 # lib.a static archive
15039 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15040 for ld_flag in $LDFLAGS; do
15043 aix_use_runtimelinking=yes
15048 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
15049 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15050 # so we don't have lib.a shared libs to link our executables.
15051 # We have to force runtime linking in this case.
15052 aix_use_runtimelinking=yes
15053 LDFLAGS="$LDFLAGS -Wl,-brtl"
15058 exp_sym_flag='-bexport'
15059 no_entry_flag='-bnoentry'
15062 # When large executables or shared objects are built, AIX ld can
15063 # have problems creating the table of contents. If linking a library
15064 # or program results in "error TOC overflow" add -mminimal-toc to
15065 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15066 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15068 archive_cmds_CXX=''
15069 hardcode_direct_CXX=yes
15070 hardcode_direct_absolute_CXX=yes
15071 hardcode_libdir_separator_CXX=':'
15072 link_all_deplibs_CXX=yes
15073 file_list_spec_CXX='$wl-f,'
15074 case $with_aix_soname,$aix_use_runtimelinking in
15075 aix,*) ;; # no import file
15076 svr4,* | *,yes) # use import file
15077 # The Import File defines what to hardcode.
15078 hardcode_direct_CXX=no
15079 hardcode_direct_absolute_CXX=no
15083 if test yes = "$GXX"; then
15084 case $host_os in aix4.[012]|aix4.[012].*)
15085 # We only want to do this on AIX 4.2 and lower, the check
15086 # below for broken collect2 doesn't work under 4.3+
15087 collect2name=`$CC -print-prog-name=collect2`
15088 if test -f "$collect2name" &&
15089 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15091 # We have reworked collect2
15094 # We have old collect2
15095 hardcode_direct_CXX=unsupported
15096 # It fails to find uninstalled libraries when the uninstalled
15097 # path is not listed in the libpath. Setting hardcode_minus_L
15098 # to unsupported forces relinking
15099 hardcode_minus_L_CXX=yes
15100 hardcode_libdir_flag_spec_CXX='-L$libdir'
15101 hardcode_libdir_separator_CXX=
15104 shared_flag='-shared'
15105 if test yes = "$aix_use_runtimelinking"; then
15106 shared_flag=$shared_flag' $wl-G'
15108 # Need to ensure runtime linking is disabled for the traditional
15109 # shared library, or the linker may eventually find shared libraries
15110 # /with/ Import File - we do not want to mix them.
15111 shared_flag_aix='-shared'
15112 shared_flag_svr4='-shared $wl-G'
15115 if test ia64 = "$host_cpu"; then
15116 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15117 # chokes on -Wl,-G. The following line is correct:
15120 if test yes = "$aix_use_runtimelinking"; then
15121 shared_flag='$wl-G'
15123 shared_flag='$wl-bM:SRE'
15125 shared_flag_aix='$wl-bM:SRE'
15126 shared_flag_svr4='$wl-G'
15130 export_dynamic_flag_spec_CXX='$wl-bexpall'
15131 # It seems that -bexpall does not export symbols beginning with
15132 # underscore (_), so it is better to generate a list of symbols to
15134 always_export_symbols_CXX=yes
15135 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15136 # Warning - without using the other runtime loading flags (-brtl),
15137 # -berok will link without error, but may produce a broken library.
15138 # The "-G" linker flag allows undefined symbols.
15139 no_undefined_flag_CXX='-bernotok'
15140 # Determine the default libpath from the value encoded in an empty
15142 if test set = "${lt_cv_aix_libpath+set}"; then
15143 aix_libpath=$lt_cv_aix_libpath
15145 if ${lt_cv_aix_libpath__CXX+:} false; then :
15146 $as_echo_n "(cached) " >&6
15148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15149 /* end confdefs.h. */
15159 if ac_fn_cxx_try_link "$LINENO"; then :
15161 lt_aix_libpath_sed='
15162 /Import File Strings/,/^$/ {
15164 s/^0 *\([^ ]*\) *$/\1/
15168 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15169 # Check for a 64-bit object if we didn't find anything.
15170 if test -z "$lt_cv_aix_libpath__CXX"; then
15171 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15174 rm -f core conftest.err conftest.$ac_objext \
15175 conftest$ac_exeext conftest.$ac_ext
15176 if test -z "$lt_cv_aix_libpath__CXX"; then
15177 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15182 aix_libpath=$lt_cv_aix_libpath__CXX
15185 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15187 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
15189 if test ia64 = "$host_cpu"; then
15190 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
15191 allow_undefined_flag_CXX="-z nodefs"
15192 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"
15194 # Determine the default libpath from the value encoded in an
15195 # empty executable.
15196 if test set = "${lt_cv_aix_libpath+set}"; then
15197 aix_libpath=$lt_cv_aix_libpath
15199 if ${lt_cv_aix_libpath__CXX+:} false; then :
15200 $as_echo_n "(cached) " >&6
15202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h. */
15213 if ac_fn_cxx_try_link "$LINENO"; then :
15215 lt_aix_libpath_sed='
15216 /Import File Strings/,/^$/ {
15218 s/^0 *\([^ ]*\) *$/\1/
15222 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15223 # Check for a 64-bit object if we didn't find anything.
15224 if test -z "$lt_cv_aix_libpath__CXX"; then
15225 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15228 rm -f core conftest.err conftest.$ac_objext \
15229 conftest$ac_exeext conftest.$ac_ext
15230 if test -z "$lt_cv_aix_libpath__CXX"; then
15231 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15236 aix_libpath=$lt_cv_aix_libpath__CXX
15239 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15240 # Warning - without using the other run time loading flags,
15241 # -berok will link without error, but may produce a broken library.
15242 no_undefined_flag_CXX=' $wl-bernotok'
15243 allow_undefined_flag_CXX=' $wl-berok'
15244 if test yes = "$with_gnu_ld"; then
15245 # We only use this code for GNU lds that support --whole-archive.
15246 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15248 # Exported symbols can be pulled into shared objects from archives
15249 whole_archive_flag_spec_CXX='$convenience'
15251 archive_cmds_need_lc_CXX=yes
15252 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15253 # -brtl affects multiple linker settings, -berok does not and is overridden later
15254 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15255 if test svr4 != "$with_aix_soname"; then
15256 # This is similar to how AIX traditionally builds its shared
15257 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15258 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
15260 if test aix != "$with_aix_soname"; then
15261 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
15263 # used by -dlpreopen to get the symbols
15264 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15266 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15272 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15273 allow_undefined_flag_CXX=unsupported
15274 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15275 # support --undefined. This deserves some investigation. FIXME
15276 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15283 case $cc_basename in
15285 # FIXME: insert proper C++ library support
15291 cygwin* | mingw* | pw32* | cegcc*)
15292 case $GXX,$cc_basename in
15295 # hardcode_libdir_flag_spec is actually meaningless, as there is
15296 # no search path for DLLs.
15297 hardcode_libdir_flag_spec_CXX=' '
15298 allow_undefined_flag_CXX=unsupported
15299 always_export_symbols_CXX=yes
15300 file_list_spec_CXX='@'
15301 # Tell ltmain to make .lib files, not .a files.
15303 # Tell ltmain to make .dll files, not .so files.
15305 # FIXME: Setting linknames here is a bad hack.
15306 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15307 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15308 cp "$export_symbols" "$output_objdir/$soname.def";
15309 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15311 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15313 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15315 # The linker will not automatically build a static lib if we build a DLL.
15316 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15317 enable_shared_with_static_runtimes_CXX=yes
15319 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15320 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15321 lt_tool_outputfile="@TOOL_OUTPUT@"~
15322 case $lt_outputfile in
15325 lt_outputfile=$lt_outputfile.exe
15326 lt_tool_outputfile=$lt_tool_outputfile.exe
15329 func_to_tool_file "$lt_outputfile"~
15330 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15331 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15332 $RM "$lt_outputfile.manifest";
15337 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15338 # as there is no search path for DLLs.
15339 hardcode_libdir_flag_spec_CXX='-L$libdir'
15340 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
15341 allow_undefined_flag_CXX=unsupported
15342 always_export_symbols_CXX=no
15343 enable_shared_with_static_runtimes_CXX=yes
15345 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15346 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'
15347 # If the export-symbols file already is a .def file, use it as
15348 # is; otherwise, prepend EXPORTS...
15349 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15350 cp $export_symbols $output_objdir/$soname.def;
15352 echo EXPORTS > $output_objdir/$soname.def;
15353 cat $export_symbols >> $output_objdir/$soname.def;
15355 $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'
15362 darwin* | rhapsody*)
15365 archive_cmds_need_lc_CXX=no
15366 hardcode_direct_CXX=no
15367 hardcode_automatic_CXX=yes
15368 hardcode_shlibpath_var_CXX=unsupported
15369 if test yes = "$lt_cv_ld_force_load"; then
15370 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15373 whole_archive_flag_spec_CXX=''
15375 link_all_deplibs_CXX=yes
15376 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
15377 case $cc_basename in
15378 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15379 *) _lt_dar_can_shared=$GCC ;;
15381 if test yes = "$_lt_dar_can_shared"; then
15382 output_verbose_link_cmd=func_echo_all
15383 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"
15384 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15385 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"
15386 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"
15387 if test yes != "$lt_cv_apple_cc_single_mod"; then
15388 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"
15389 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"
15399 hardcode_libdir_flag_spec_CXX='-L$libdir'
15400 hardcode_minus_L_CXX=yes
15401 allow_undefined_flag_CXX=unsupported
15403 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15404 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15405 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15406 $ECHO EXPORTS >> $output_objdir/$libname.def~
15407 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15408 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15409 emximp -o $lib $output_objdir/$libname.def'
15410 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15411 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15412 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15413 $ECHO EXPORTS >> $output_objdir/$libname.def~
15414 prefix_cmds="$SED"~
15415 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15416 prefix_cmds="$prefix_cmds -e 1d";
15418 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15419 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15420 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15421 emximp -o $lib $output_objdir/$libname.def'
15422 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15423 enable_shared_with_static_runtimes_CXX=yes
15427 case $cc_basename in
15429 # FIXME: insert proper C++ library support
15433 # Green Hills C++ Compiler
15434 # FIXME: insert proper C++ library support
15438 # FIXME: insert proper C++ library support
15445 # C++ shared libraries reported to be fairly broken before
15451 archive_cmds_need_lc_CXX=no
15454 freebsd* | dragonfly*)
15455 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15461 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15462 link_all_deplibs_CXX=yes
15466 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15467 hardcode_libdir_separator_CXX=:
15468 export_dynamic_flag_spec_CXX='$wl-E'
15469 hardcode_direct_CXX=yes
15470 hardcode_minus_L_CXX=yes # Not in the search PATH,
15471 # but as the default
15472 # location of the library.
15474 case $cc_basename in
15476 # FIXME: insert proper C++ library support
15480 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15481 # Commands to make compiler produce verbose output that lists
15482 # what "hidden" libraries, object files and flags are used when
15483 # linking a shared library.
15485 # There doesn't appear to be a way to prevent this compiler from
15486 # explicitly linking system object files so we need to strip them
15487 # from the output so that they don't get included in the library
15489 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15492 if test yes = "$GXX"; then
15493 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15495 # FIXME: insert proper C++ library support
15503 if test no = "$with_gnu_ld"; then
15504 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15505 hardcode_libdir_separator_CXX=:
15511 export_dynamic_flag_spec_CXX='$wl-E'
15517 hardcode_direct_CXX=no
15518 hardcode_shlibpath_var_CXX=no
15521 hardcode_direct_CXX=yes
15522 hardcode_direct_absolute_CXX=yes
15523 hardcode_minus_L_CXX=yes # Not in the search PATH,
15524 # but as the default
15525 # location of the library.
15529 case $cc_basename in
15531 # FIXME: insert proper C++ library support
15537 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15540 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15543 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15546 # Commands to make compiler produce verbose output that lists
15547 # what "hidden" libraries, object files and flags are used when
15548 # linking a shared library.
15550 # There doesn't appear to be a way to prevent this compiler from
15551 # explicitly linking system object files so we need to strip them
15552 # from the output so that they don't get included in the library
15554 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; func_echo_all "$list"'
15557 if test yes = "$GXX"; then
15558 if test no = "$with_gnu_ld"; then
15561 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15564 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15567 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15572 # FIXME: insert proper C++ library support
15580 hardcode_direct_CXX=no
15581 hardcode_shlibpath_var_CXX=no
15582 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15583 export_dynamic_flag_spec_CXX='$wl-E'
15584 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15585 # Instead, shared libraries are loaded at an image base (0x10000000 by
15586 # default) and relocated if they conflict, which is a slow very memory
15587 # consuming and fragmenting process. To avoid this, we pick a random,
15588 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15589 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15590 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'
15591 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'
15594 case $cc_basename in
15597 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15599 # Archives containing C++ object files must be created using
15600 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15601 # necessary to make sure instantiated templates are included
15603 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15606 if test yes = "$GXX"; then
15607 if test no = "$with_gnu_ld"; then
15608 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15610 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
15613 link_all_deplibs_CXX=yes
15616 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15617 hardcode_libdir_separator_CXX=:
15618 inherit_rpath_CXX=yes
15621 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15622 case $cc_basename in
15624 # Kuck and Associates, Inc. (KAI) C++ Compiler
15626 # KCC will only create a shared library if the output file
15627 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15628 # to its proper name (with version) after linking.
15629 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'
15630 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'
15631 # Commands to make compiler produce verbose output that lists
15632 # what "hidden" libraries, object files and flags are used when
15633 # linking a shared library.
15635 # There doesn't appear to be a way to prevent this compiler from
15636 # explicitly linking system object files so we need to strip them
15637 # from the output so that they don't get included in the library
15639 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; func_echo_all "$list"'
15641 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15642 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15644 # Archives containing C++ object files must be created using
15645 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15646 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15651 # version 8.0 and above of icpc choke on multiply defined symbols
15652 # if we add $predep_objects and $postdep_objects, however 7.1 and
15653 # earlier do not add the objects themselves.
15654 case `$CC -V 2>&1` in
15656 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15657 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'
15659 *) # Version 8.0 or newer
15662 ia64*) tmp_idyn=' -i_dynamic';;
15664 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15665 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'
15668 archive_cmds_need_lc_CXX=no
15669 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15670 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15671 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15674 # Portland Group C++ compiler
15676 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15677 prelink_cmds_CXX='tpldir=Template.dir~
15679 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15680 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15681 old_archive_cmds_CXX='tpldir=Template.dir~
15683 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15684 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15686 archive_cmds_CXX='tpldir=Template.dir~
15688 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15689 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15690 archive_expsym_cmds_CXX='tpldir=Template.dir~
15692 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15693 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15695 *) # Version 6 and above use weak symbols
15696 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15697 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'
15701 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15702 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15703 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
15707 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15708 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'
15710 runpath_var=LD_RUN_PATH
15711 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15712 hardcode_libdir_separator_CXX=:
15714 # Commands to make compiler produce verbose output that lists
15715 # what "hidden" libraries, object files and flags are used when
15716 # linking a shared library.
15718 # There doesn't appear to be a way to prevent this compiler from
15719 # explicitly linking system object files so we need to strip them
15720 # from the output so that they don't get included in the library
15722 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$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; func_echo_all "X$list" | $Xsed'
15724 xl* | mpixl* | bgxl*)
15725 # IBM XL 8.0 on PPC, with GNU ld
15726 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15727 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15728 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15729 if test yes = "$supports_anon_versioning"; then
15730 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15731 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15732 echo "local: *; };" >> $output_objdir/$libname.ver~
15733 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15737 case `$CC -V 2>&1 | sed 5q` in
15740 no_undefined_flag_CXX=' -zdefs'
15741 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15742 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'
15743 hardcode_libdir_flag_spec_CXX='-R$libdir'
15744 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
15745 compiler_needs_object_CXX=yes
15747 # Not sure whether something based on
15748 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15750 output_verbose_link_cmd='func_echo_all'
15752 # Archives containing C++ object files must be created using
15753 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15754 # necessary to make sure instantiated templates are included
15756 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15764 # FIXME: insert proper C++ library support
15769 # FIXME: insert proper C++ library support
15774 case $cc_basename in
15776 # FIXME: insert proper C++ library support
15780 # FIXME: insert proper C++ library support
15787 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15788 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15790 hardcode_libdir_flag_spec_CXX='-R$libdir'
15791 hardcode_direct_CXX=yes
15792 hardcode_shlibpath_var_CXX=no
15794 # Workaround some broken pre-1.5 toolchains
15795 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15802 openbsd* | bitrig*)
15803 if test -f /usr/libexec/ld.so; then
15804 hardcode_direct_CXX=yes
15805 hardcode_shlibpath_var_CXX=no
15806 hardcode_direct_absolute_CXX=yes
15807 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15808 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15809 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15810 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15811 export_dynamic_flag_spec_CXX='$wl-E'
15812 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15814 output_verbose_link_cmd=func_echo_all
15820 osf3* | osf4* | osf5*)
15821 case $cc_basename in
15823 # Kuck and Associates, Inc. (KAI) C++ Compiler
15825 # KCC will only create a shared library if the output file
15826 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15827 # to its proper name (with version) after linking.
15828 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'
15830 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15831 hardcode_libdir_separator_CXX=:
15833 # Archives containing C++ object files must be created using
15834 # the KAI C++ compiler.
15836 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15837 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15841 # Rational C++ 2.4.1
15842 # FIXME: insert proper C++ library support
15848 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15849 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15850 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15853 allow_undefined_flag_CXX=' -expect_unresolved \*'
15854 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15855 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15856 echo "-hidden">> $lib.exp~
15857 $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~
15859 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15863 hardcode_libdir_separator_CXX=:
15865 # Commands to make compiler produce verbose output that lists
15866 # what "hidden" libraries, object files and flags are used when
15867 # linking a shared library.
15869 # There doesn't appear to be a way to prevent this compiler from
15870 # explicitly linking system object files so we need to strip them
15871 # from the output so that they don't get included in the library
15873 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$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; func_echo_all "$list"'
15876 if test yes,no = "$GXX,$with_gnu_ld"; then
15877 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15880 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15883 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15887 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15888 hardcode_libdir_separator_CXX=:
15890 # Commands to make compiler produce verbose output that lists
15891 # what "hidden" libraries, object files and flags are used when
15892 # linking a shared library.
15893 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15896 # FIXME: insert proper C++ library support
15904 # FIXME: insert proper C++ library support
15909 case $cc_basename in
15912 # FIXME: insert proper C++ library support
15917 # FIXME: insert proper C++ library support
15921 # FIXME: insert proper C++ library support
15928 case $cc_basename in
15930 # Sun C++ 4.2, 5.x and Centerline C++
15931 archive_cmds_need_lc_CXX=yes
15932 no_undefined_flag_CXX=' -zdefs'
15933 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15934 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15935 $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'
15937 hardcode_libdir_flag_spec_CXX='-R$libdir'
15938 hardcode_shlibpath_var_CXX=no
15940 solaris2.[0-5] | solaris2.[0-5].*) ;;
15942 # The compiler driver will combine and reorder linker options,
15943 # but understands '-z linker_flag'.
15944 # Supported since Solaris 2.6 (maybe 2.5.1?)
15945 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15948 link_all_deplibs_CXX=yes
15950 output_verbose_link_cmd='func_echo_all'
15952 # Archives containing C++ object files must be created using
15953 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15954 # necessary to make sure instantiated templates are included
15956 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15959 # Green Hills C++ Compiler
15960 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15962 # The C++ compiler must be used to create the archive.
15963 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15966 # GNU C++ compiler with Solaris linker
15967 if test yes,no = "$GXX,$with_gnu_ld"; then
15968 no_undefined_flag_CXX=' $wl-z ${wl}defs'
15969 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15970 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15971 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15972 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15974 # Commands to make compiler produce verbose output that lists
15975 # what "hidden" libraries, object files and flags are used when
15976 # linking a shared library.
15977 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15979 # g++ 2.7 appears to require '-G' NOT '-shared' on this
15981 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15982 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15983 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15985 # Commands to make compiler produce verbose output that lists
15986 # what "hidden" libraries, object files and flags are used when
15987 # linking a shared library.
15988 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15991 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15993 solaris2.[0-5] | solaris2.[0-5].*) ;;
15995 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16003 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16004 no_undefined_flag_CXX='$wl-z,text'
16005 archive_cmds_need_lc_CXX=no
16006 hardcode_shlibpath_var_CXX=no
16007 runpath_var='LD_RUN_PATH'
16009 case $cc_basename in
16011 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16012 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16015 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16016 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16021 sysv5* | sco3.2v5* | sco5v6*)
16022 # Note: We CANNOT use -z defs as we might desire, because we do not
16023 # link with -lc, and that would cause any symbols used from libc to
16024 # always be unresolved, which means just about no library would
16025 # ever link correctly. If we're not using GNU ld we use -z text
16026 # though, which does catch some bad symbols but isn't as heavy-handed
16028 no_undefined_flag_CXX='$wl-z,text'
16029 allow_undefined_flag_CXX='$wl-z,nodefs'
16030 archive_cmds_need_lc_CXX=no
16031 hardcode_shlibpath_var_CXX=no
16032 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
16033 hardcode_libdir_separator_CXX=':'
16034 link_all_deplibs_CXX=yes
16035 export_dynamic_flag_spec_CXX='$wl-Bexport'
16036 runpath_var='LD_RUN_PATH'
16038 case $cc_basename in
16040 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16041 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16042 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16043 '"$old_archive_cmds_CXX"
16044 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16045 '"$reload_cmds_CXX"
16048 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16049 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16055 case $cc_basename in
16057 # NonStop-UX NCC 3.20
16058 # FIXME: insert proper C++ library support
16062 # FIXME: insert proper C++ library support
16069 # FIXME: insert proper C++ library support
16074 # FIXME: insert proper C++ library support
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16080 $as_echo "$ld_shlibs_CXX" >&6; }
16081 test no = "$ld_shlibs_CXX" && can_build_shared=no
16087 ## There is no encapsulation within the following macros, do not change
16088 ## the running order or otherwise move them around unless you know exactly
16089 ## what you are doing...
16090 # Dependencies to place before and after the object being linked:
16091 predep_objects_CXX=
16092 postdep_objects_CXX=
16095 compiler_lib_search_path_CXX=
16097 cat > conftest.$ac_ext <<_LT_EOF
16101 Foo (void) { a = 0; }
16108 _lt_libdeps_save_CFLAGS=$CFLAGS
16109 case "$CC $CFLAGS " in #(
16110 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16111 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16112 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16116 (eval $ac_compile) 2>&5
16118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16119 test $ac_status = 0; }; then
16120 # Parse the compiler output and extract the necessary
16121 # objects, libraries and library flags.
16123 # Sentinel used to keep track of whether or not we are before
16124 # the conftest object file.
16125 pre_test_object_deps_done=no
16127 for p in `eval "$output_verbose_link_cmd"`; do
16131 # Some compilers place space between "-{L,R}" and the path.
16132 # Remove the space.
16133 if test x-L = "$p" ||
16134 test x-R = "$p"; then
16139 # Expand the sysroot to ease extracting the directories later.
16140 if test -z "$prev"; then
16142 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16143 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16144 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16148 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16150 if test no = "$pre_test_object_deps_done"; then
16153 # Internal compiler library paths should come after those
16154 # provided the user. The postdeps already come after the
16155 # user supplied libs so there is no need to process them.
16156 if test -z "$compiler_lib_search_path_CXX"; then
16157 compiler_lib_search_path_CXX=$prev$p
16159 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
16162 # The "-l" case would never come before the object being
16163 # linked, so don't bother handling this case.
16166 if test -z "$postdeps_CXX"; then
16167 postdeps_CXX=$prev$p
16169 postdeps_CXX="${postdeps_CXX} $prev$p"
16175 *.lto.$objext) ;; # Ignore GCC LTO objects
16177 # This assumes that the test object file only shows up
16178 # once in the compiler output.
16179 if test "$p" = "conftest.$objext"; then
16180 pre_test_object_deps_done=yes
16184 if test no = "$pre_test_object_deps_done"; then
16185 if test -z "$predep_objects_CXX"; then
16186 predep_objects_CXX=$p
16188 predep_objects_CXX="$predep_objects_CXX $p"
16191 if test -z "$postdep_objects_CXX"; then
16192 postdep_objects_CXX=$p
16194 postdep_objects_CXX="$postdep_objects_CXX $p"
16199 *) ;; # Ignore the rest.
16207 echo "libtool.m4: error: problem compiling CXX test program"
16210 $RM -f confest.$objext
16211 CFLAGS=$_lt_libdeps_save_CFLAGS
16213 # PORTME: override above test on systems where it is broken
16216 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16217 # hack all around it, let's just trust "g++" to DTRT.
16218 predep_objects_CXX=
16219 postdep_objects_CXX=
16225 case " $postdeps_CXX " in
16226 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16228 compiler_lib_search_dirs_CXX=
16229 if test -n "${compiler_lib_search_path_CXX}"; then
16230 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16263 lt_prog_compiler_wl_CXX=
16264 lt_prog_compiler_pic_CXX=
16265 lt_prog_compiler_static_CXX=
16268 # C++ specific cases for pic, static, wl, etc.
16269 if test yes = "$GXX"; then
16270 lt_prog_compiler_wl_CXX='-Wl,'
16271 lt_prog_compiler_static_CXX='-static'
16275 # All AIX code is PIC.
16276 if test ia64 = "$host_cpu"; then
16277 # AIX 5 now supports IA64 processor
16278 lt_prog_compiler_static_CXX='-Bstatic'
16280 lt_prog_compiler_pic_CXX='-fPIC'
16286 # see comment about AmigaOS4 .so support
16287 lt_prog_compiler_pic_CXX='-fPIC'
16290 # FIXME: we need at least 68020 code to build shared libraries, but
16291 # adding the '-m68020' flag to GCC prevents building anything better,
16293 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16298 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16299 # PIC is the default for these OSes.
16301 mingw* | cygwin* | os2* | pw32* | cegcc*)
16302 # This hack is so that the source file can tell whether it is being
16303 # built for inclusion in a dll (and should export symbols for example).
16304 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16305 # (--disable-auto-import) libraries
16306 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16309 lt_prog_compiler_static_CXX='$wl-static'
16313 darwin* | rhapsody*)
16314 # PIC is the default on this platform
16315 # Common symbols not allowed in MH_DYLIB files
16316 lt_prog_compiler_pic_CXX='-fno-common'
16319 # DJGPP does not support shared libraries at all
16320 lt_prog_compiler_pic_CXX=
16323 # PIC is the default for Haiku.
16324 # The "-static" flag exists, but is broken.
16325 lt_prog_compiler_static_CXX=
16328 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16329 # Instead, we relocate shared libraries at runtime.
16332 if test -d /usr/nec; then
16333 lt_prog_compiler_pic_CXX=-Kconform_pic
16337 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16338 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16339 # sets the default TLS model and affects inlining.
16344 lt_prog_compiler_pic_CXX='-fPIC'
16349 # QNX uses GNU C++, but need to define -shared option too, otherwise
16350 # it will coredump.
16351 lt_prog_compiler_pic_CXX='-fPIC -shared'
16354 lt_prog_compiler_pic_CXX='-fPIC'
16360 # All AIX code is PIC.
16361 if test ia64 = "$host_cpu"; then
16362 # AIX 5 now supports IA64 processor
16363 lt_prog_compiler_static_CXX='-Bstatic'
16365 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16369 case $cc_basename in
16371 # Green Hills C++ Compiler
16372 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16376 mingw* | cygwin* | os2* | pw32* | cegcc*)
16377 # This hack is so that the source file can tell whether it is being
16378 # built for inclusion in a dll (and should export symbols for example).
16379 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16382 case $cc_basename in
16384 lt_prog_compiler_pic_CXX='-KPIC'
16387 # Green Hills C++ Compiler
16388 lt_prog_compiler_pic_CXX='-pic'
16394 freebsd* | dragonfly*)
16395 # FreeBSD uses GNU C++
16397 hpux9* | hpux10* | hpux11*)
16398 case $cc_basename in
16400 lt_prog_compiler_wl_CXX='-Wl,'
16401 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16402 if test ia64 != "$host_cpu"; then
16403 lt_prog_compiler_pic_CXX='+Z'
16407 lt_prog_compiler_wl_CXX='-Wl,'
16408 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16414 lt_prog_compiler_pic_CXX='+Z'
16423 # This is c89, which is MS Visual C++ (no shared libs)
16424 # Anyone wants to do a port?
16426 irix5* | irix6* | nonstopux*)
16427 case $cc_basename in
16429 lt_prog_compiler_wl_CXX='-Wl,'
16430 lt_prog_compiler_static_CXX='-non_shared'
16431 # CC pic flag -KPIC is the default.
16437 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16438 case $cc_basename in
16441 lt_prog_compiler_wl_CXX='--backend -Wl,'
16442 lt_prog_compiler_pic_CXX='-fPIC'
16445 # old Intel C++ for x86_64, which still supported -KPIC.
16446 lt_prog_compiler_wl_CXX='-Wl,'
16447 lt_prog_compiler_pic_CXX='-KPIC'
16448 lt_prog_compiler_static_CXX='-static'
16451 # Intel C++, used to be incompatible with GCC.
16452 # ICC 10 doesn't accept -KPIC any more.
16453 lt_prog_compiler_wl_CXX='-Wl,'
16454 lt_prog_compiler_pic_CXX='-fPIC'
16455 lt_prog_compiler_static_CXX='-static'
16458 # Portland Group C++ compiler
16459 lt_prog_compiler_wl_CXX='-Wl,'
16460 lt_prog_compiler_pic_CXX='-fpic'
16461 lt_prog_compiler_static_CXX='-Bstatic'
16465 # Make sure the PIC flag is empty. It appears that all Alpha
16466 # Linux and Compaq Tru64 Unix objects are PIC.
16467 lt_prog_compiler_pic_CXX=
16468 lt_prog_compiler_static_CXX='-non_shared'
16470 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16471 # IBM XL 8.0, 9.0 on PPC and BlueGene
16472 lt_prog_compiler_wl_CXX='-Wl,'
16473 lt_prog_compiler_pic_CXX='-qpic'
16474 lt_prog_compiler_static_CXX='-qstaticlink'
16477 case `$CC -V 2>&1 | sed 5q` in
16480 lt_prog_compiler_pic_CXX='-KPIC'
16481 lt_prog_compiler_static_CXX='-Bstatic'
16482 lt_prog_compiler_wl_CXX='-Qoption ld '
16493 case $cc_basename in
16495 lt_prog_compiler_pic_CXX='-W c,exportall'
16504 # QNX uses GNU C++, but need to define -shared option too, otherwise
16505 # it will coredump.
16506 lt_prog_compiler_pic_CXX='-fPIC -shared'
16508 osf3* | osf4* | osf5*)
16509 case $cc_basename in
16511 lt_prog_compiler_wl_CXX='--backend -Wl,'
16514 # Rational C++ 2.4.1
16515 lt_prog_compiler_pic_CXX='-pic'
16518 # Digital/Compaq C++
16519 lt_prog_compiler_wl_CXX='-Wl,'
16520 # Make sure the PIC flag is empty. It appears that all Alpha
16521 # Linux and Compaq Tru64 Unix objects are PIC.
16522 lt_prog_compiler_pic_CXX=
16523 lt_prog_compiler_static_CXX='-non_shared'
16532 case $cc_basename in
16534 # Sun C++ 4.2, 5.x and Centerline C++
16535 lt_prog_compiler_pic_CXX='-KPIC'
16536 lt_prog_compiler_static_CXX='-Bstatic'
16537 lt_prog_compiler_wl_CXX='-Qoption ld '
16540 # Green Hills C++ Compiler
16541 lt_prog_compiler_pic_CXX='-PIC'
16548 case $cc_basename in
16551 lt_prog_compiler_pic_CXX='-pic'
16552 lt_prog_compiler_static_CXX='-Bstatic'
16556 lt_prog_compiler_pic_CXX='-pic'
16562 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16563 case $cc_basename in
16565 lt_prog_compiler_wl_CXX='-Wl,'
16566 lt_prog_compiler_pic_CXX='-KPIC'
16567 lt_prog_compiler_static_CXX='-Bstatic'
16572 case $cc_basename in
16574 # NonStop-UX NCC 3.20
16575 lt_prog_compiler_pic_CXX='-KPIC'
16584 lt_prog_compiler_can_build_shared_CXX=no
16590 # For platforms that do not support PIC, -DPIC is meaningless:
16592 lt_prog_compiler_pic_CXX=
16595 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16600 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16601 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16602 $as_echo_n "(cached) " >&6
16604 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16607 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16608 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16611 # Check to make sure the PIC flag actually works.
16613 if test -n "$lt_prog_compiler_pic_CXX"; then
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16615 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16616 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16617 $as_echo_n "(cached) " >&6
16619 lt_cv_prog_compiler_pic_works_CXX=no
16620 ac_outfile=conftest.$ac_objext
16621 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16622 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16623 # Insert the option either (1) after the last *FLAGS variable, or
16624 # (2) before a word containing "conftest.", or (3) at the end.
16625 # Note that $ac_compile itself does not contain backslashes and begins
16626 # with a dollar sign (not a hyphen), so the echo should work correctly.
16627 # The option is referenced via a variable to avoid confusing sed.
16628 lt_compile=`echo "$ac_compile" | $SED \
16629 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16631 -e 's:$: $lt_compiler_flag:'`
16632 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16633 (eval "$lt_compile" 2>conftest.err)
16635 cat conftest.err >&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 if (exit $ac_status) && test -s "$ac_outfile"; then
16638 # The compiler can only warn and ignore the option if not recognized
16639 # So say no if there are warnings other than the usual output.
16640 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16641 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16642 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16643 lt_cv_prog_compiler_pic_works_CXX=yes
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16650 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16652 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16653 case $lt_prog_compiler_pic_CXX in
16655 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16658 lt_prog_compiler_pic_CXX=
16659 lt_prog_compiler_can_build_shared_CXX=no
16669 # Check to make sure the static flag actually works.
16671 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16673 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16674 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16675 $as_echo_n "(cached) " >&6
16677 lt_cv_prog_compiler_static_works_CXX=no
16678 save_LDFLAGS=$LDFLAGS
16679 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16680 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16681 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16682 # The linker can only warn and ignore the option if not recognized
16683 # So say no if there are warnings
16684 if test -s conftest.err; then
16685 # Append any errors to the config.log.
16686 cat conftest.err 1>&5
16687 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16688 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16689 if diff conftest.exp conftest.er2 >/dev/null; then
16690 lt_cv_prog_compiler_static_works_CXX=yes
16693 lt_cv_prog_compiler_static_works_CXX=yes
16697 LDFLAGS=$save_LDFLAGS
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16701 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16703 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16706 lt_prog_compiler_static_CXX=
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16713 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16714 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16715 $as_echo_n "(cached) " >&6
16717 lt_cv_prog_compiler_c_o_CXX=no
16718 $RM -r conftest 2>/dev/null
16722 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16724 lt_compiler_flag="-o out/conftest2.$ac_objext"
16725 # Insert the option either (1) after the last *FLAGS variable, or
16726 # (2) before a word containing "conftest.", or (3) at the end.
16727 # Note that $ac_compile itself does not contain backslashes and begins
16728 # with a dollar sign (not a hyphen), so the echo should work correctly.
16729 lt_compile=`echo "$ac_compile" | $SED \
16730 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16731 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16732 -e 's:$: $lt_compiler_flag:'`
16733 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16734 (eval "$lt_compile" 2>out/conftest.err)
16736 cat out/conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16740 # The compiler can only warn and ignore the option if not recognized
16741 # So say no if there are warnings
16742 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16743 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16744 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16745 lt_cv_prog_compiler_c_o_CXX=yes
16750 # SGI C++ compiler will create directory out/ii_files/ for
16751 # template instantiation
16752 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16753 $RM out/* && rmdir out
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16760 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16765 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16766 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16767 $as_echo_n "(cached) " >&6
16769 lt_cv_prog_compiler_c_o_CXX=no
16770 $RM -r conftest 2>/dev/null
16774 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16776 lt_compiler_flag="-o out/conftest2.$ac_objext"
16777 # Insert the option either (1) after the last *FLAGS variable, or
16778 # (2) before a word containing "conftest.", or (3) at the end.
16779 # Note that $ac_compile itself does not contain backslashes and begins
16780 # with a dollar sign (not a hyphen), so the echo should work correctly.
16781 lt_compile=`echo "$ac_compile" | $SED \
16782 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16783 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16784 -e 's:$: $lt_compiler_flag:'`
16785 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16786 (eval "$lt_compile" 2>out/conftest.err)
16788 cat out/conftest.err >&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16792 # The compiler can only warn and ignore the option if not recognized
16793 # So say no if there are warnings
16794 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16795 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16796 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16797 lt_cv_prog_compiler_c_o_CXX=yes
16802 # SGI C++ compiler will create directory out/ii_files/ for
16803 # template instantiation
16804 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16805 $RM out/* && rmdir out
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16812 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16817 hard_links=nottested
16818 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16819 # do not overwrite the value of need_locks provided by the user
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16821 $as_echo_n "checking if we can lock with hard links... " >&6; }
16824 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16826 ln conftest.a conftest.b 2>&5 || hard_links=no
16827 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16829 $as_echo "$hard_links" >&6; }
16830 if test no = "$hard_links"; then
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16832 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16842 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16844 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16845 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16848 # If we're using GNU nm, then we don't want the "-C" option.
16849 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16850 # Without the "-l" option, or with the "-B" option, AIX nm treats
16851 # weak defined symbols like other global defined symbols, whereas
16852 # GNU nm marks them as "W".
16853 # While the 'weak' keyword is ignored in the Export File, we need
16854 # it in the Import File for the 'aix-soname' feature, so we have
16855 # to replace the "-B" option with "-P" for AIX nm.
16856 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16857 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
16859 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
16863 export_symbols_cmds_CXX=$ltdll_cmds
16865 cygwin* | mingw* | cegcc*)
16866 case $cc_basename in
16868 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16871 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16872 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16877 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16882 $as_echo "$ld_shlibs_CXX" >&6; }
16883 test no = "$ld_shlibs_CXX" && can_build_shared=no
16885 with_gnu_ld_CXX=$with_gnu_ld
16893 # Do we need to explicitly link libc?
16895 case "x$archive_cmds_need_lc_CXX" in
16897 # Assume -lc should be added
16898 archive_cmds_need_lc_CXX=yes
16900 if test yes,yes = "$GCC,$enable_shared"; then
16901 case $archive_cmds_CXX in
16903 # FIXME: we may have to deal with multi-command sequences.
16906 # Test whether the compiler implicitly links with -lc since on some
16907 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16908 # to ld, don't add -lc before -lgcc.
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16910 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16911 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16912 $as_echo_n "(cached) " >&6
16915 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16918 (eval $ac_compile) 2>&5
16920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16921 test $ac_status = 0; } 2>conftest.err; then
16924 libobjs=conftest.$ac_objext
16926 wl=$lt_prog_compiler_wl_CXX
16927 pic_flag=$lt_prog_compiler_pic_CXX
16933 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16934 allow_undefined_flag_CXX=
16935 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16936 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16939 test $ac_status = 0; }
16941 lt_cv_archive_cmds_need_lc_CXX=no
16943 lt_cv_archive_cmds_need_lc_CXX=yes
16945 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16947 cat conftest.err 1>&5
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16953 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16954 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17023 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17025 library_names_spec=
17026 libname_spec='lib$name'
17030 postuninstall_cmds=
17034 shlibpath_overrides_runpath=unknown
17036 dynamic_linker="$host_os ld.so"
17037 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17038 need_lib_prefix=unknown
17039 hardcode_into_libs=no
17041 # when you set need_version to no, make sure it does not cause -set_version
17042 # flags to be left without arguments
17043 need_version=unknown
17049 version_type=linux # correct to gnu/linux during the next big refactor
17050 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
17051 shlibpath_var=LIBPATH
17053 # AIX 3 has no versioning support, so we append a major version to the name.
17054 soname_spec='$libname$release$shared_ext$major'
17058 version_type=linux # correct to gnu/linux during the next big refactor
17061 hardcode_into_libs=yes
17062 if test ia64 = "$host_cpu"; then
17063 # AIX 5 supports IA64
17064 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17065 shlibpath_var=LD_LIBRARY_PATH
17067 # With GCC up to 2.95.x, collect2 would create an import file
17068 # for dependence libraries. The import file would start with
17069 # the line '#! .'. This would cause the generated library to
17070 # depend on '.', always an invalid library. This was fixed in
17071 # development snapshots of GCC prior to 3.0.
17073 aix4 | aix4.[01] | aix4.[01].*)
17074 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17076 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
17079 can_build_shared=no
17083 # Using Import Files as archive members, it is possible to support
17084 # filename-based versioning of shared library archives on AIX. While
17085 # this would work for both with and without runtime linking, it will
17086 # prevent static linking of such archives. So we do filename-based
17087 # shared library versioning with .so extension only, which is used
17088 # when both runtime linking and shared linking is enabled.
17089 # Unfortunately, runtime linking may impact performance, so we do
17090 # not want this to be the default eventually. Also, we use the
17091 # versioned .so libs for executables only if there is the -brtl
17092 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17093 # To allow for filename-based versioning support, we need to create
17094 # libNAME.so.V as an archive file, containing:
17095 # *) an Import File, referring to the versioned filename of the
17096 # archive as well as the shared archive member, telling the
17097 # bitwidth (32 or 64) of that shared object, and providing the
17098 # list of exported symbols of that shared object, eventually
17099 # decorated with the 'weak' keyword
17100 # *) the shared object with the F_LOADONLY flag set, to really avoid
17101 # it being seen by the linker.
17102 # At run time we better use the real file rather than another symlink,
17103 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17105 case $with_aix_soname,$aix_use_runtimelinking in
17106 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17107 # soname into executable. Probably we can add versioning support to
17108 # collect2, so additional links can be useful in future.
17109 aix,yes) # traditional libtool
17110 dynamic_linker='AIX unversionable lib.so'
17111 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17112 # instead of lib<name>.a to let people know that these are not
17113 # typical AIX shared libraries.
17114 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17116 aix,no) # traditional AIX only
17117 dynamic_linker='AIX lib.a(lib.so.V)'
17118 # We preserve .a as extension for shared libraries through AIX4.2
17119 # and later when we are not doing run time linking.
17120 library_names_spec='$libname$release.a $libname.a'
17121 soname_spec='$libname$release$shared_ext$major'
17123 svr4,*) # full svr4 only
17124 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
17125 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17126 # We do not specify a path in Import Files, so LIBPATH fires.
17127 shlibpath_overrides_runpath=yes
17129 *,yes) # both, prefer svr4
17130 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17131 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17132 # unpreferred sharedlib libNAME.a needs extra handling
17133 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
17134 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
17135 # We do not specify a path in Import Files, so LIBPATH fires.
17136 shlibpath_overrides_runpath=yes
17138 *,no) # both, prefer aix
17139 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17140 library_names_spec='$libname$release.a $libname.a'
17141 soname_spec='$libname$release$shared_ext$major'
17142 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17143 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
17144 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
17147 shlibpath_var=LIBPATH
17154 # Since July 2007 AmigaOS4 officially supports .so libraries.
17155 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17156 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17159 library_names_spec='$libname.ixlibrary $libname.a'
17160 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17161 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
17167 library_names_spec='$libname$shared_ext'
17168 dynamic_linker="$host_os ld.so"
17169 shlibpath_var=LIBRARY_PATH
17173 version_type=linux # correct to gnu/linux during the next big refactor
17175 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17176 soname_spec='$libname$release$shared_ext$major'
17177 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17178 shlibpath_var=LD_LIBRARY_PATH
17179 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17180 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17181 # the default ld.so.conf also contains /usr/contrib/lib and
17182 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17183 # libtool to hard-code these into programs
17186 cygwin* | mingw* | pw32* | cegcc*)
17187 version_type=windows
17192 case $GCC,$cc_basename in
17195 library_names_spec='$libname.dll.a'
17196 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17197 postinstall_cmds='base_file=`basename \$file`~
17198 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17199 dldir=$destdir/`dirname \$dlpath`~
17200 test -d \$dldir || mkdir -p \$dldir~
17201 $install_prog $dir/$dlname \$dldir/$dlname~
17202 chmod a+x \$dldir/$dlname~
17203 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17204 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17206 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17207 dlpath=$dir/\$dldll~
17209 shlibpath_overrides_runpath=yes
17213 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17214 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17218 # MinGW DLLs use traditional 'lib' prefix
17219 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17222 # pw32 DLLs use 'pw' prefix rather than 'lib'
17223 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17226 dynamic_linker='Win32 ld.exe'
17231 libname_spec='$name'
17232 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17233 library_names_spec='$libname.dll.lib'
17237 sys_lib_search_path_spec=
17240 for lt_path in $LIB
17243 # Let DOS variable expansion print the short 8.3 style file name.
17244 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17245 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17248 # Convert to MSYS style.
17249 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17252 # Convert to unix form, then to dos form, then back to unix form
17253 # but this time dos style (no spaces!) so that the unix form looks
17254 # like /cygdrive/c/PROGRA~1:/cygdr...
17255 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17256 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17257 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17260 sys_lib_search_path_spec=$LIB
17261 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17262 # It is most probably a Windows format PATH.
17263 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17265 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17267 # FIXME: find the short name or the path components, as spaces are
17268 # common. (e.g. "Program Files" -> "PROGRA~1")
17272 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17273 postinstall_cmds='base_file=`basename \$file`~
17274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17275 dldir=$destdir/`dirname \$dlpath`~
17276 test -d \$dldir || mkdir -p \$dldir~
17277 $install_prog $dir/$dlname \$dldir/$dlname'
17278 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17279 dlpath=$dir/\$dldll~
17281 shlibpath_overrides_runpath=yes
17282 dynamic_linker='Win32 link.exe'
17286 # Assume MSVC wrapper
17287 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
17288 dynamic_linker='Win32 ld.exe'
17291 # FIXME: first we should search . and the directory the executable is in
17295 darwin* | rhapsody*)
17296 dynamic_linker="$host_os dyld"
17297 version_type=darwin
17300 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
17301 soname_spec='$libname$release$major$shared_ext'
17302 shlibpath_overrides_runpath=yes
17303 shlibpath_var=DYLD_LIBRARY_PATH
17304 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17306 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17310 version_type=linux # correct to gnu/linux during the next big refactor
17313 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17314 soname_spec='$libname$release$shared_ext$major'
17315 shlibpath_var=LD_LIBRARY_PATH
17318 freebsd* | dragonfly*)
17319 # DragonFly does not have aout. When/if they implement a new
17320 # versioning mechanism, adjust this.
17321 if test -x /usr/bin/objformat; then
17322 objformat=`/usr/bin/objformat`
17325 freebsd[23].*) objformat=aout ;;
17326 *) objformat=elf ;;
17329 version_type=freebsd-$objformat
17330 case $version_type in
17332 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17333 soname_spec='$libname$release$shared_ext$major'
17338 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17342 shlibpath_var=LD_LIBRARY_PATH
17345 shlibpath_overrides_runpath=yes
17347 freebsd3.[01]* | freebsdelf3.[01]*)
17348 shlibpath_overrides_runpath=yes
17349 hardcode_into_libs=yes
17351 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17352 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17353 shlibpath_overrides_runpath=no
17354 hardcode_into_libs=yes
17356 *) # from 4.6 on, and DragonFly
17357 shlibpath_overrides_runpath=yes
17358 hardcode_into_libs=yes
17364 version_type=linux # correct to gnu/linux during the next big refactor
17367 dynamic_linker="$host_os runtime_loader"
17368 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17369 soname_spec='$libname$release$shared_ext$major'
17370 shlibpath_var=LIBRARY_PATH
17371 shlibpath_overrides_runpath=no
17372 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17373 hardcode_into_libs=yes
17376 hpux9* | hpux10* | hpux11*)
17377 # Give a soname corresponding to the major version so that dld.sl refuses to
17378 # link against other versions.
17385 hardcode_into_libs=yes
17386 dynamic_linker="$host_os dld.so"
17387 shlibpath_var=LD_LIBRARY_PATH
17388 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17389 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17390 soname_spec='$libname$release$shared_ext$major'
17391 if test 32 = "$HPUX_IA64_MODE"; then
17392 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17393 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
17395 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17396 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
17401 hardcode_into_libs=yes
17402 dynamic_linker="$host_os dld.sl"
17403 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17404 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17405 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17406 soname_spec='$libname$release$shared_ext$major'
17407 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17408 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17412 dynamic_linker="$host_os dld.sl"
17413 shlibpath_var=SHLIB_PATH
17414 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17415 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17416 soname_spec='$libname$release$shared_ext$major'
17419 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17420 postinstall_cmds='chmod 555 $lib'
17421 # or fails outright, so override atomically:
17422 install_override_mode=555
17426 version_type=linux # correct to gnu/linux during the next big refactor
17429 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17430 soname_spec='$libname$release$shared_ext$major'
17431 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17432 shlibpath_var=LD_LIBRARY_PATH
17433 shlibpath_overrides_runpath=no
17434 hardcode_into_libs=yes
17437 irix5* | irix6* | nonstopux*)
17439 nonstopux*) version_type=nonstopux ;;
17441 if test yes = "$lt_cv_prog_gnu_ld"; then
17442 version_type=linux # correct to gnu/linux during the next big refactor
17449 soname_spec='$libname$release$shared_ext$major'
17450 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17452 irix5* | nonstopux*)
17453 libsuff= shlibsuff=
17456 case $LD in # libtool.m4 will add one of these switches to LD
17457 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17458 libsuff= shlibsuff= libmagic=32-bit;;
17459 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17460 libsuff=32 shlibsuff=N32 libmagic=N32;;
17461 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17462 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17463 *) libsuff= shlibsuff= libmagic=never-match;;
17467 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17468 shlibpath_overrides_runpath=no
17469 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17470 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
17471 hardcode_into_libs=yes
17474 # No shared lib support for Linux oldld, aout, or coff.
17475 linux*oldld* | linux*aout* | linux*coff*)
17480 version_type=none # Android doesn't support versioned libraries.
17483 library_names_spec='$libname$release$shared_ext'
17484 soname_spec='$libname$release$shared_ext'
17486 shlibpath_var=LD_LIBRARY_PATH
17487 shlibpath_overrides_runpath=yes
17489 # This implies no fast_install, which is unacceptable.
17490 # Some rework will be needed to allow for fast_install
17491 # before this can be enabled.
17492 hardcode_into_libs=yes
17494 dynamic_linker='Android linker'
17495 # Don't embed -rpath directories since the linker doesn't support them.
17496 hardcode_libdir_flag_spec_CXX='-L$libdir'
17499 # This must be glibc/ELF.
17500 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17501 version_type=linux # correct to gnu/linux during the next big refactor
17504 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17505 soname_spec='$libname$release$shared_ext$major'
17506 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17507 shlibpath_var=LD_LIBRARY_PATH
17508 shlibpath_overrides_runpath=no
17510 # Some binutils ld are patched to set DT_RUNPATH
17511 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17512 $as_echo_n "(cached) " >&6
17514 lt_cv_shlibpath_overrides_runpath=no
17515 save_LDFLAGS=$LDFLAGS
17516 save_libdir=$libdir
17517 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17518 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h. */
17530 if ac_fn_cxx_try_link "$LINENO"; then :
17531 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17532 lt_cv_shlibpath_overrides_runpath=yes
17535 rm -f core conftest.err conftest.$ac_objext \
17536 conftest$ac_exeext conftest.$ac_ext
17537 LDFLAGS=$save_LDFLAGS
17538 libdir=$save_libdir
17542 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17544 # This implies no fast_install, which is unacceptable.
17545 # Some rework will be needed to allow for fast_install
17546 # before this can be enabled.
17547 hardcode_into_libs=yes
17549 # Ideally, we could use ldconfig to report *all* directores which are
17550 # searched for libraries, however this is still not possible. Aside from not
17551 # being certain /sbin/ldconfig is available, command
17552 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17553 # even though it is searched at run-time. Try to do the best guess by
17554 # appending ld.so.conf contents (and includes) to the search path.
17555 if test -f /etc/ld.so.conf; then
17556 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;s/"//g;/^$/d' | tr '\n' ' '`
17557 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17560 # We used to test for /lib/ld.so.1 and disable shared libraries on
17561 # powerpc, because MkLinux only supported shared libraries with the
17562 # GNU dynamic linker. Since this was broken with cross compilers,
17563 # most powerpc-linux boxes support dynamic linking these days and
17564 # people can always --disable-shared, the test was removed, and we
17565 # assume the GNU/Linux dynamic linker is in use.
17566 dynamic_linker='GNU/Linux ld.so'
17573 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17574 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17575 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17576 dynamic_linker='NetBSD (a.out) ld.so'
17578 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17579 soname_spec='$libname$release$shared_ext$major'
17580 dynamic_linker='NetBSD ld.elf_so'
17582 shlibpath_var=LD_LIBRARY_PATH
17583 shlibpath_overrides_runpath=yes
17584 hardcode_into_libs=yes
17588 version_type=linux # correct to gnu/linux during the next big refactor
17589 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17590 shlibpath_var=LD_LIBRARY_PATH
17591 shlibpath_overrides_runpath=yes
17598 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17599 soname_spec='$libname$release$shared_ext$major'
17600 shlibpath_var=LD_LIBRARY_PATH
17601 shlibpath_overrides_runpath=no
17602 hardcode_into_libs=yes
17603 dynamic_linker='ldqnx.so'
17606 openbsd* | bitrig*)
17608 sys_lib_dlsearch_path_spec=/usr/lib
17610 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17615 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17616 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17617 shlibpath_var=LD_LIBRARY_PATH
17618 shlibpath_overrides_runpath=yes
17622 libname_spec='$name'
17623 version_type=windows
17627 # OS/2 can only load a DLL with a base name of 8 characters or less.
17628 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
17629 v=$($ECHO $release$versuffix | tr -d .-);
17630 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17631 $ECHO $n$v`$shared_ext'
17632 library_names_spec='${libname}_dll.$libext'
17633 dynamic_linker='OS/2 ld.exe'
17634 shlibpath_var=BEGINLIBPATH
17635 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17636 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17637 postinstall_cmds='base_file=`basename \$file`~
17638 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17639 dldir=$destdir/`dirname \$dlpath`~
17640 test -d \$dldir || mkdir -p \$dldir~
17641 $install_prog $dir/$dlname \$dldir/$dlname~
17642 chmod a+x \$dldir/$dlname~
17643 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17644 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17646 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17647 dlpath=$dir/\$dldll~
17651 osf3* | osf4* | osf5*)
17655 soname_spec='$libname$release$shared_ext$major'
17656 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17657 shlibpath_var=LD_LIBRARY_PATH
17658 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17659 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17667 version_type=linux # correct to gnu/linux during the next big refactor
17670 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17671 soname_spec='$libname$release$shared_ext$major'
17672 shlibpath_var=LD_LIBRARY_PATH
17673 shlibpath_overrides_runpath=yes
17674 hardcode_into_libs=yes
17675 # ldd complains unless libraries are executable
17676 postinstall_cmds='chmod +x $lib'
17681 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17682 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17683 shlibpath_var=LD_LIBRARY_PATH
17684 shlibpath_overrides_runpath=yes
17685 if test yes = "$with_gnu_ld"; then
17692 version_type=linux # correct to gnu/linux during the next big refactor
17693 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17694 soname_spec='$libname$release$shared_ext$major'
17695 shlibpath_var=LD_LIBRARY_PATH
17696 case $host_vendor in
17698 shlibpath_overrides_runpath=no
17700 runpath_var=LD_RUN_PATH
17708 shlibpath_overrides_runpath=no
17709 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17715 if test -d /usr/nec; then
17716 version_type=linux # correct to gnu/linux during the next big refactor
17717 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17718 soname_spec='$libname$shared_ext.$major'
17719 shlibpath_var=LD_LIBRARY_PATH
17723 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17727 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17728 soname_spec='$libname$release$shared_ext$major'
17729 shlibpath_var=LD_LIBRARY_PATH
17730 shlibpath_overrides_runpath=yes
17731 hardcode_into_libs=yes
17732 if test yes = "$with_gnu_ld"; then
17733 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17735 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17738 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17742 sys_lib_dlsearch_path_spec='/usr/lib'
17746 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17747 version_type=linux # correct to gnu/linux during the next big refactor
17750 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17751 shlibpath_var=LD_LIBRARY_PATH
17752 shlibpath_overrides_runpath=no
17753 hardcode_into_libs=yes
17757 version_type=linux # correct to gnu/linux during the next big refactor
17758 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17759 soname_spec='$libname$release$shared_ext$major'
17760 shlibpath_var=LD_LIBRARY_PATH
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17768 $as_echo "$dynamic_linker" >&6; }
17769 test no = "$dynamic_linker" && can_build_shared=no
17771 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17772 if test yes = "$GCC"; then
17773 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17776 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17777 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17780 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17781 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17784 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17785 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
17787 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17788 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
17790 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17791 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17833 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17834 hardcode_action_CXX=
17835 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17836 test -n "$runpath_var_CXX" ||
17837 test yes = "$hardcode_automatic_CXX"; then
17839 # We can hardcode non-existent directories.
17840 if test no != "$hardcode_direct_CXX" &&
17841 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17842 # have to relink, otherwise we might link with an installed library
17843 # when we should be linking with a yet-to-be-installed one
17844 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17845 test no != "$hardcode_minus_L_CXX"; then
17846 # Linking always hardcodes the temporary library directory.
17847 hardcode_action_CXX=relink
17849 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17850 hardcode_action_CXX=immediate
17853 # We cannot hardcode anything, or else we can only hardcode existing
17855 hardcode_action_CXX=unsupported
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17858 $as_echo "$hardcode_action_CXX" >&6; }
17860 if test relink = "$hardcode_action_CXX" ||
17861 test yes = "$inherit_rpath_CXX"; then
17862 # Fast installation is not supported
17863 enable_fast_install=no
17864 elif test yes = "$shlibpath_overrides_runpath" ||
17865 test no = "$enable_shared"; then
17866 # Fast installation is not necessary
17867 enable_fast_install=needless
17876 fi # test -n "$compiler"
17879 CFLAGS=$lt_save_CFLAGS
17883 with_gnu_ld=$lt_save_with_gnu_ld
17884 lt_cv_path_LDCXX=$lt_cv_path_LD
17885 lt_cv_path_LD=$lt_save_path_LD
17886 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17887 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17888 fi # test yes != "$_lt_caught_CXX_error"
17891 ac_cpp='$CPP $CPPFLAGS'
17892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17898 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
17899 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17900 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
17901 if test -n "$ac_tool_prefix"; then
17902 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 pgfortran pgf95 lf95 ftn nagfor
17904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17907 $as_echo_n "checking for $ac_word... " >&6; }
17908 if ${ac_cv_prog_F77+:} false; then :
17909 $as_echo_n "(cached) " >&6
17911 if test -n "$F77"; then
17912 ac_cv_prog_F77="$F77" # Let the user override the test.
17914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17915 for as_dir in $PATH
17918 test -z "$as_dir" && as_dir=.
17919 for ac_exec_ext in '' $ac_executable_extensions; do
17920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17921 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
17922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17931 F77=$ac_cv_prog_F77
17932 if test -n "$F77"; then
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
17934 $as_echo "$F77" >&6; }
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17937 $as_echo "no" >&6; }
17941 test -n "$F77" && break
17944 if test -z "$F77"; then
17946 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 pgfortran pgf95 lf95 ftn nagfor
17948 # Extract the first word of "$ac_prog", so it can be a program name with args.
17949 set dummy $ac_prog; ac_word=$2
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17951 $as_echo_n "checking for $ac_word... " >&6; }
17952 if ${ac_cv_prog_ac_ct_F77+:} false; then :
17953 $as_echo_n "(cached) " >&6
17955 if test -n "$ac_ct_F77"; then
17956 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
17958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17959 for as_dir in $PATH
17962 test -z "$as_dir" && as_dir=.
17963 for ac_exec_ext in '' $ac_executable_extensions; do
17964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17965 ac_cv_prog_ac_ct_F77="$ac_prog"
17966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17975 ac_ct_F77=$ac_cv_prog_ac_ct_F77
17976 if test -n "$ac_ct_F77"; then
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
17978 $as_echo "$ac_ct_F77" >&6; }
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17981 $as_echo "no" >&6; }
17985 test -n "$ac_ct_F77" && break
17988 if test "x$ac_ct_F77" = x; then
17991 case $cross_compiling:$ac_tool_warned in
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17995 ac_tool_warned=yes ;;
18002 # Provide some information about the compiler.
18003 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
18006 for ac_option in --version -v -V -qversion; do
18007 { { ac_try="$ac_compiler $ac_option >&5"
18008 case "(($ac_try" in
18009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18010 *) ac_try_echo=$ac_try;;
18012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18013 $as_echo "$ac_try_echo"; } >&5
18014 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18016 if test -s conftest.err; then
18018 ... rest of stderr output deleted ...
18019 10q' conftest.err >conftest.er1
18020 cat conftest.er1 >&5
18022 rm -f conftest.er1 conftest.err
18023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18024 test $ac_status = 0; }
18028 # If we don't use `.F' as extension, the preprocessor is not run on the
18029 # input file. (Note that this only needs to work for GNU compilers.)
18030 ac_save_ext=$ac_ext
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
18033 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
18034 if ${ac_cv_f77_compiler_gnu+:} false; then :
18035 $as_echo_n "(cached) " >&6
18037 cat > conftest.$ac_ext <<_ACEOF
18045 if ac_fn_f77_try_compile "$LINENO"; then :
18046 ac_compiler_gnu=yes
18050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
18054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
18055 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
18056 ac_ext=$ac_save_ext
18057 ac_test_FFLAGS=${FFLAGS+set}
18058 ac_save_FFLAGS=$FFLAGS
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
18061 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
18062 if ${ac_cv_prog_f77_g+:} false; then :
18063 $as_echo_n "(cached) " >&6
18066 cat > conftest.$ac_ext <<_ACEOF
18071 if ac_fn_f77_try_compile "$LINENO"; then :
18072 ac_cv_prog_f77_g=yes
18074 ac_cv_prog_f77_g=no
18076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
18080 $as_echo "$ac_cv_prog_f77_g" >&6; }
18081 if test "$ac_test_FFLAGS" = set; then
18082 FFLAGS=$ac_save_FFLAGS
18083 elif test $ac_cv_prog_f77_g = yes; then
18084 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
18090 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
18097 if test $ac_compiler_gnu = yes; then
18103 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
18104 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18105 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
18109 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
18110 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18111 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
18113 if test -z "$F77" || test no = "$F77"; then
18114 _lt_disable_F77=yes
18117 archive_cmds_need_lc_F77=no
18118 allow_undefined_flag_F77=
18119 always_export_symbols_F77=no
18120 archive_expsym_cmds_F77=
18121 export_dynamic_flag_spec_F77=
18122 hardcode_direct_F77=no
18123 hardcode_direct_absolute_F77=no
18124 hardcode_libdir_flag_spec_F77=
18125 hardcode_libdir_separator_F77=
18126 hardcode_minus_L_F77=no
18127 hardcode_automatic_F77=no
18128 inherit_rpath_F77=no
18130 module_expsym_cmds_F77=
18131 link_all_deplibs_F77=unknown
18132 old_archive_cmds_F77=$old_archive_cmds
18133 reload_flag_F77=$reload_flag
18134 reload_cmds_F77=$reload_cmds
18135 no_undefined_flag_F77=
18136 whole_archive_flag_spec_F77=
18137 enable_shared_with_static_runtimes_F77=no
18139 # Source file extension for f77 test sources.
18142 # Object file extension for compiled f77 test sources.
18146 # No sense in running all these tests if we already determined that
18147 # the F77 compiler isn't working. Some variables (like enable_shared)
18148 # are currently assumed to apply to all compilers on this platform,
18149 # and will be corrupted by setting them based on a non-working compiler.
18150 if test yes != "$_lt_disable_F77"; then
18151 # Code to be used in simple compile tests
18152 lt_simple_compile_test_code="\
18158 # Code to be used in simple link tests
18159 lt_simple_link_test_code="\
18164 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18171 # If no C compiler was specified, use CC.
18174 # If no C compiler flags were specified, use CFLAGS.
18175 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18177 # Allow CC to be a program name with arguments.
18181 # save warnings/boilerplate of simple test code
18182 ac_outfile=conftest.$ac_objext
18183 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18184 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18185 _lt_compiler_boilerplate=`cat conftest.err`
18188 ac_outfile=conftest.$ac_objext
18189 echo "$lt_simple_link_test_code" >conftest.$ac_ext
18190 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18191 _lt_linker_boilerplate=`cat conftest.err`
18195 # Allow CC to be a program name with arguments.
18198 lt_save_CFLAGS=$CFLAGS
18203 func_cc_basename $compiler
18204 cc_basename=$func_cc_basename_result
18207 if test -n "$compiler"; then
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
18209 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
18211 $as_echo "$can_build_shared" >&6; }
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
18214 $as_echo_n "checking whether to build shared libraries... " >&6; }
18215 test no = "$can_build_shared" && enable_shared=no
18217 # On AIX, shared libraries and static libraries use the same namespace, and
18218 # are all built from PIC.
18221 test yes = "$enable_shared" && enable_static=no
18222 if test -n "$RANLIB"; then
18223 archive_cmds="$archive_cmds~\$RANLIB \$lib"
18224 postinstall_cmds='$RANLIB $lib'
18228 if test ia64 != "$host_cpu"; then
18229 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
18230 yes,aix,yes) ;; # shared object as lib.so file only
18231 yes,svr4,*) ;; # shared object as lib.so archive member only
18232 yes,*) enable_static=no ;; # shared object in lib.a archive as well
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
18238 $as_echo "$enable_shared" >&6; }
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
18241 $as_echo_n "checking whether to build static libraries... " >&6; }
18242 # Make sure either enable_shared or enable_static is yes.
18243 test yes = "$enable_shared" || enable_static=yes
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
18245 $as_echo "$enable_static" >&6; }
18251 ## There is no encapsulation within the following macros, do not change
18252 ## the running order or otherwise move them around unless you know exactly
18253 ## what you are doing...
18254 lt_prog_compiler_wl_F77=
18255 lt_prog_compiler_pic_F77=
18256 lt_prog_compiler_static_F77=
18259 if test yes = "$GCC"; then
18260 lt_prog_compiler_wl_F77='-Wl,'
18261 lt_prog_compiler_static_F77='-static'
18265 # All AIX code is PIC.
18266 if test ia64 = "$host_cpu"; then
18267 # AIX 5 now supports IA64 processor
18268 lt_prog_compiler_static_F77='-Bstatic'
18270 lt_prog_compiler_pic_F77='-fPIC'
18276 # see comment about AmigaOS4 .so support
18277 lt_prog_compiler_pic_F77='-fPIC'
18280 # FIXME: we need at least 68020 code to build shared libraries, but
18281 # adding the '-m68020' flag to GCC prevents building anything better,
18283 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
18288 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18289 # PIC is the default for these OSes.
18292 mingw* | cygwin* | pw32* | os2* | cegcc*)
18293 # This hack is so that the source file can tell whether it is being
18294 # built for inclusion in a dll (and should export symbols for example).
18295 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18296 # (--disable-auto-import) libraries
18297 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
18300 lt_prog_compiler_static_F77='$wl-static'
18305 darwin* | rhapsody*)
18306 # PIC is the default on this platform
18307 # Common symbols not allowed in MH_DYLIB files
18308 lt_prog_compiler_pic_F77='-fno-common'
18312 # PIC is the default for Haiku.
18313 # The "-static" flag exists, but is broken.
18314 lt_prog_compiler_static_F77=
18318 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18319 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
18320 # sets the default TLS model and affects inlining.
18326 lt_prog_compiler_pic_F77='-fPIC'
18332 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18333 # Instead, we relocate shared libraries at runtime.
18337 # Just because we use GCC doesn't mean we suddenly get shared libraries
18338 # on systems that don't support them.
18339 lt_prog_compiler_can_build_shared_F77=no
18344 # QNX uses GNU C++, but need to define -shared option too, otherwise
18345 # it will coredump.
18346 lt_prog_compiler_pic_F77='-fPIC -shared'
18350 if test -d /usr/nec; then
18351 lt_prog_compiler_pic_F77=-Kconform_pic
18356 lt_prog_compiler_pic_F77='-fPIC'
18360 case $cc_basename in
18361 nvcc*) # Cuda Compiler Driver 2.2
18362 lt_prog_compiler_wl_F77='-Xlinker '
18363 if test -n "$lt_prog_compiler_pic_F77"; then
18364 lt_prog_compiler_pic_F77="-Xcompiler $lt_prog_compiler_pic_F77"
18369 # PORTME Check for flag to pass linker flags through the system compiler.
18372 lt_prog_compiler_wl_F77='-Wl,'
18373 if test ia64 = "$host_cpu"; then
18374 # AIX 5 now supports IA64 processor
18375 lt_prog_compiler_static_F77='-Bstatic'
18377 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
18381 darwin* | rhapsody*)
18382 # PIC is the default on this platform
18383 # Common symbols not allowed in MH_DYLIB files
18384 lt_prog_compiler_pic_F77='-fno-common'
18385 case $cc_basename in
18387 # NAG Fortran compiler
18388 lt_prog_compiler_wl_F77='-Wl,-Wl,,'
18389 lt_prog_compiler_pic_F77='-PIC'
18390 lt_prog_compiler_static_F77='-Bstatic'
18395 mingw* | cygwin* | pw32* | os2* | cegcc*)
18396 # This hack is so that the source file can tell whether it is being
18397 # built for inclusion in a dll (and should export symbols for example).
18398 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
18401 lt_prog_compiler_static_F77='$wl-static'
18406 hpux9* | hpux10* | hpux11*)
18407 lt_prog_compiler_wl_F77='-Wl,'
18408 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18409 # not for PA HP-UX.
18415 lt_prog_compiler_pic_F77='+Z'
18418 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18419 lt_prog_compiler_static_F77='$wl-a ${wl}archive'
18422 irix5* | irix6* | nonstopux*)
18423 lt_prog_compiler_wl_F77='-Wl,'
18424 # PIC (with -KPIC) is the default.
18425 lt_prog_compiler_static_F77='-non_shared'
18428 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
18429 case $cc_basename in
18430 # old Intel for x86_64, which still supported -KPIC.
18432 lt_prog_compiler_wl_F77='-Wl,'
18433 lt_prog_compiler_pic_F77='-KPIC'
18434 lt_prog_compiler_static_F77='-static'
18436 # icc used to be incompatible with GCC.
18437 # ICC 10 doesn't accept -KPIC any more.
18439 lt_prog_compiler_wl_F77='-Wl,'
18440 lt_prog_compiler_pic_F77='-fPIC'
18441 lt_prog_compiler_static_F77='-static'
18443 # Lahey Fortran 8.1.
18445 lt_prog_compiler_wl_F77='-Wl,'
18446 lt_prog_compiler_pic_F77='--shared'
18447 lt_prog_compiler_static_F77='--static'
18450 # NAG Fortran compiler
18451 lt_prog_compiler_wl_F77='-Wl,-Wl,,'
18452 lt_prog_compiler_pic_F77='-PIC'
18453 lt_prog_compiler_static_F77='-Bstatic'
18456 # Fabrice Bellard et al's Tiny C Compiler
18457 lt_prog_compiler_wl_F77='-Wl,'
18458 lt_prog_compiler_pic_F77='-fPIC'
18459 lt_prog_compiler_static_F77='-static'
18461 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
18462 # Portland Group compilers (*not* the Pentium gcc compiler,
18463 # which looks to be a dead project)
18464 lt_prog_compiler_wl_F77='-Wl,'
18465 lt_prog_compiler_pic_F77='-fpic'
18466 lt_prog_compiler_static_F77='-Bstatic'
18469 lt_prog_compiler_wl_F77='-Wl,'
18470 # All Alpha code is PIC.
18471 lt_prog_compiler_static_F77='-non_shared'
18473 xl* | bgxl* | bgf* | mpixl*)
18474 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
18475 lt_prog_compiler_wl_F77='-Wl,'
18476 lt_prog_compiler_pic_F77='-qpic'
18477 lt_prog_compiler_static_F77='-qstaticlink'
18480 case `$CC -V 2>&1 | sed 5q` in
18481 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
18482 # Sun Fortran 8.3 passes all unrecognized flags to the linker
18483 lt_prog_compiler_pic_F77='-KPIC'
18484 lt_prog_compiler_static_F77='-Bstatic'
18485 lt_prog_compiler_wl_F77=''
18487 *Sun\ F* | *Sun*Fortran*)
18488 lt_prog_compiler_pic_F77='-KPIC'
18489 lt_prog_compiler_static_F77='-Bstatic'
18490 lt_prog_compiler_wl_F77='-Qoption ld '
18494 lt_prog_compiler_pic_F77='-KPIC'
18495 lt_prog_compiler_static_F77='-Bstatic'
18496 lt_prog_compiler_wl_F77='-Wl,'
18498 *Intel*\ [CF]*Compiler*)
18499 lt_prog_compiler_wl_F77='-Wl,'
18500 lt_prog_compiler_pic_F77='-fPIC'
18501 lt_prog_compiler_static_F77='-static'
18504 lt_prog_compiler_wl_F77='-Wl,'
18505 lt_prog_compiler_pic_F77='-fpic'
18506 lt_prog_compiler_static_F77='-Bstatic'
18514 lt_prog_compiler_pic_F77='-KPIC'
18515 lt_prog_compiler_static_F77='-Bstatic'
18519 # QNX uses GNU C++, but need to define -shared option too, otherwise
18520 # it will coredump.
18521 lt_prog_compiler_pic_F77='-fPIC -shared'
18524 osf3* | osf4* | osf5*)
18525 lt_prog_compiler_wl_F77='-Wl,'
18526 # All OSF/1 code is PIC.
18527 lt_prog_compiler_static_F77='-non_shared'
18531 lt_prog_compiler_static_F77='-non_shared'
18535 lt_prog_compiler_pic_F77='-KPIC'
18536 lt_prog_compiler_static_F77='-Bstatic'
18537 case $cc_basename in
18538 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
18539 lt_prog_compiler_wl_F77='-Qoption ld ';;
18541 lt_prog_compiler_wl_F77='-Wl,';;
18546 lt_prog_compiler_wl_F77='-Qoption ld '
18547 lt_prog_compiler_pic_F77='-PIC'
18548 lt_prog_compiler_static_F77='-Bstatic'
18551 sysv4 | sysv4.2uw2* | sysv4.3*)
18552 lt_prog_compiler_wl_F77='-Wl,'
18553 lt_prog_compiler_pic_F77='-KPIC'
18554 lt_prog_compiler_static_F77='-Bstatic'
18558 if test -d /usr/nec; then
18559 lt_prog_compiler_pic_F77='-Kconform_pic'
18560 lt_prog_compiler_static_F77='-Bstatic'
18564 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18565 lt_prog_compiler_wl_F77='-Wl,'
18566 lt_prog_compiler_pic_F77='-KPIC'
18567 lt_prog_compiler_static_F77='-Bstatic'
18571 lt_prog_compiler_wl_F77='-Wl,'
18572 lt_prog_compiler_can_build_shared_F77=no
18576 lt_prog_compiler_pic_F77='-pic'
18577 lt_prog_compiler_static_F77='-Bstatic'
18581 lt_prog_compiler_can_build_shared_F77=no
18587 # For platforms that do not support PIC, -DPIC is meaningless:
18589 lt_prog_compiler_pic_F77=
18592 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18597 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18598 if ${lt_cv_prog_compiler_pic_F77+:} false; then :
18599 $as_echo_n "(cached) " >&6
18601 lt_cv_prog_compiler_pic_F77=$lt_prog_compiler_pic_F77
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_F77" >&5
18604 $as_echo "$lt_cv_prog_compiler_pic_F77" >&6; }
18605 lt_prog_compiler_pic_F77=$lt_cv_prog_compiler_pic_F77
18608 # Check to make sure the PIC flag actually works.
18610 if test -n "$lt_prog_compiler_pic_F77"; then
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
18612 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
18613 if ${lt_cv_prog_compiler_pic_works_F77+:} false; then :
18614 $as_echo_n "(cached) " >&6
18616 lt_cv_prog_compiler_pic_works_F77=no
18617 ac_outfile=conftest.$ac_objext
18618 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18619 lt_compiler_flag="$lt_prog_compiler_pic_F77" ## exclude from sc_useless_quotes_in_assignment
18620 # Insert the option either (1) after the last *FLAGS variable, or
18621 # (2) before a word containing "conftest.", or (3) at the end.
18622 # Note that $ac_compile itself does not contain backslashes and begins
18623 # with a dollar sign (not a hyphen), so the echo should work correctly.
18624 # The option is referenced via a variable to avoid confusing sed.
18625 lt_compile=`echo "$ac_compile" | $SED \
18626 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18627 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18628 -e 's:$: $lt_compiler_flag:'`
18629 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18630 (eval "$lt_compile" 2>conftest.err)
18632 cat conftest.err >&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 if (exit $ac_status) && test -s "$ac_outfile"; then
18635 # The compiler can only warn and ignore the option if not recognized
18636 # So say no if there are warnings other than the usual output.
18637 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
18638 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18639 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18640 lt_cv_prog_compiler_pic_works_F77=yes
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5
18647 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
18649 if test yes = "$lt_cv_prog_compiler_pic_works_F77"; then
18650 case $lt_prog_compiler_pic_F77 in
18652 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
18655 lt_prog_compiler_pic_F77=
18656 lt_prog_compiler_can_build_shared_F77=no
18666 # Check to make sure the static flag actually works.
18668 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18670 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18671 if ${lt_cv_prog_compiler_static_works_F77+:} false; then :
18672 $as_echo_n "(cached) " >&6
18674 lt_cv_prog_compiler_static_works_F77=no
18675 save_LDFLAGS=$LDFLAGS
18676 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18677 echo "$lt_simple_link_test_code" > conftest.$ac_ext
18678 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18679 # The linker can only warn and ignore the option if not recognized
18680 # So say no if there are warnings
18681 if test -s conftest.err; then
18682 # Append any errors to the config.log.
18683 cat conftest.err 1>&5
18684 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
18685 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18686 if diff conftest.exp conftest.er2 >/dev/null; then
18687 lt_cv_prog_compiler_static_works_F77=yes
18690 lt_cv_prog_compiler_static_works_F77=yes
18694 LDFLAGS=$save_LDFLAGS
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5
18698 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
18700 if test yes = "$lt_cv_prog_compiler_static_works_F77"; then
18703 lt_prog_compiler_static_F77=
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18710 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18711 if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
18712 $as_echo_n "(cached) " >&6
18714 lt_cv_prog_compiler_c_o_F77=no
18715 $RM -r conftest 2>/dev/null
18719 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18721 lt_compiler_flag="-o out/conftest2.$ac_objext"
18722 # Insert the option either (1) after the last *FLAGS variable, or
18723 # (2) before a word containing "conftest.", or (3) at the end.
18724 # Note that $ac_compile itself does not contain backslashes and begins
18725 # with a dollar sign (not a hyphen), so the echo should work correctly.
18726 lt_compile=`echo "$ac_compile" | $SED \
18727 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18728 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18729 -e 's:$: $lt_compiler_flag:'`
18730 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18731 (eval "$lt_compile" 2>out/conftest.err)
18733 cat out/conftest.err >&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18737 # The compiler can only warn and ignore the option if not recognized
18738 # So say no if there are warnings
18739 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18740 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18741 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18742 lt_cv_prog_compiler_c_o_F77=yes
18747 # SGI C++ compiler will create directory out/ii_files/ for
18748 # template instantiation
18749 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18750 $RM out/* && rmdir out
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
18757 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18762 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18763 if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
18764 $as_echo_n "(cached) " >&6
18766 lt_cv_prog_compiler_c_o_F77=no
18767 $RM -r conftest 2>/dev/null
18771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18773 lt_compiler_flag="-o out/conftest2.$ac_objext"
18774 # Insert the option either (1) after the last *FLAGS variable, or
18775 # (2) before a word containing "conftest.", or (3) at the end.
18776 # Note that $ac_compile itself does not contain backslashes and begins
18777 # with a dollar sign (not a hyphen), so the echo should work correctly.
18778 lt_compile=`echo "$ac_compile" | $SED \
18779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18781 -e 's:$: $lt_compiler_flag:'`
18782 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18783 (eval "$lt_compile" 2>out/conftest.err)
18785 cat out/conftest.err >&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18789 # The compiler can only warn and ignore the option if not recognized
18790 # So say no if there are warnings
18791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18792 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18793 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18794 lt_cv_prog_compiler_c_o_F77=yes
18799 # SGI C++ compiler will create directory out/ii_files/ for
18800 # template instantiation
18801 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18802 $RM out/* && rmdir out
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
18809 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
18814 hard_links=nottested
18815 if test no = "$lt_cv_prog_compiler_c_o_F77" && test no != "$need_locks"; then
18816 # do not overwrite the value of need_locks provided by the user
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
18818 $as_echo_n "checking if we can lock with hard links... " >&6; }
18821 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18823 ln conftest.a conftest.b 2>&5 || hard_links=no
18824 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
18826 $as_echo "$hard_links" >&6; }
18827 if test no = "$hard_links"; then
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
18829 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18839 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18842 allow_undefined_flag_F77=
18843 always_export_symbols_F77=no
18845 archive_expsym_cmds_F77=
18846 compiler_needs_object_F77=no
18847 enable_shared_with_static_runtimes_F77=no
18848 export_dynamic_flag_spec_F77=
18849 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18850 hardcode_automatic_F77=no
18851 hardcode_direct_F77=no
18852 hardcode_direct_absolute_F77=no
18853 hardcode_libdir_flag_spec_F77=
18854 hardcode_libdir_separator_F77=
18855 hardcode_minus_L_F77=no
18856 hardcode_shlibpath_var_F77=unsupported
18857 inherit_rpath_F77=no
18858 link_all_deplibs_F77=unknown
18860 module_expsym_cmds_F77=
18861 old_archive_from_new_cmds_F77=
18862 old_archive_from_expsyms_cmds_F77=
18863 thread_safe_flag_spec_F77=
18864 whole_archive_flag_spec_F77=
18865 # include_expsyms should be a list of space-separated symbols to be *always*
18866 # included in the symbol list
18867 include_expsyms_F77=
18868 # exclude_expsyms can be an extended regexp of symbols to exclude
18869 # it will be wrapped by ' (' and ')$', so one must not match beginning or
18870 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
18871 # as well as any symbol that contains 'd'.
18872 exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18873 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18874 # platforms (ab)use it in PIC code, but their linkers get confused if
18875 # the symbol is explicitly referenced. Since portable code cannot
18876 # rely on this symbol name, it's probably fine to never include it in
18877 # preloaded symbol tables.
18878 # Exclude shared library initialization/finalization symbols.
18879 extract_expsyms_cmds=
18882 cygwin* | mingw* | pw32* | cegcc*)
18883 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18884 # When not using gcc, we currently assume that we are using
18885 # Microsoft Visual C++.
18886 if test yes != "$GCC"; then
18891 # we just hope/assume this is gcc and not c89 (= MSVC++)
18894 openbsd* | bitrig*)
18901 # On some targets, GNU ld is compatible enough with the native linker
18902 # that we're better off using the native interface for both.
18903 lt_use_gnu_ld_interface=no
18904 if test yes = "$with_gnu_ld"; then
18907 # The AIX port of GNU ld has always aspired to compatibility
18908 # with the native linker. However, as the warning in the GNU ld
18909 # block says, versions before 2.19.5* couldn't really create working
18910 # shared libraries, regardless of the interface used.
18911 case `$LD -v 2>&1` in
18912 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
18913 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
18914 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
18916 lt_use_gnu_ld_interface=yes
18921 lt_use_gnu_ld_interface=yes
18926 if test yes = "$lt_use_gnu_ld_interface"; then
18927 # If archive_cmds runs LD, not CC, wlarc should be empty
18930 # Set some defaults for GNU ld with shared library support. These
18931 # are reset later if shared libraries are not supported. Putting them
18932 # here allows them to be overridden if necessary.
18933 runpath_var=LD_RUN_PATH
18934 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
18935 export_dynamic_flag_spec_F77='$wl--export-dynamic'
18936 # ancient GNU ld didn't support --whole-archive et. al.
18937 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
18938 whole_archive_flag_spec_F77=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
18940 whole_archive_flag_spec_F77=
18942 supports_anon_versioning=no
18943 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
18944 *GNU\ gold*) supports_anon_versioning=yes ;;
18945 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18946 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18947 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18948 *\ 2.11.*) ;; # other 2.11 versions
18949 *) supports_anon_versioning=yes ;;
18952 # See if GNU ld supports shared libraries.
18955 # On AIX/PPC, the GNU linker is very broken
18956 if test ia64 != "$host_cpu"; then
18960 *** Warning: the GNU linker, at least up to release 2.19, is reported
18961 *** to be unable to reliably create shared libraries on AIX.
18962 *** Therefore, libtool is disabling shared libraries support. If you
18963 *** really care for shared libraries, you may want to install binutils
18964 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
18965 *** You will then need to restart the configuration process.
18974 # see comment about AmigaOS4 .so support
18975 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
18976 archive_expsym_cmds_F77=''
18979 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)'
18980 hardcode_libdir_flag_spec_F77='-L$libdir'
18981 hardcode_minus_L_F77=yes
18987 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18988 allow_undefined_flag_F77=unsupported
18989 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18990 # support --undefined. This deserves some investigation. FIXME
18991 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
18997 cygwin* | mingw* | pw32* | cegcc*)
18998 # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
18999 # as there is no search path for DLLs.
19000 hardcode_libdir_flag_spec_F77='-L$libdir'
19001 export_dynamic_flag_spec_F77='$wl--export-all-symbols'
19002 allow_undefined_flag_F77=unsupported
19003 always_export_symbols_F77=no
19004 enable_shared_with_static_runtimes_F77=yes
19005 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
19006 exclude_expsyms_F77='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
19008 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
19009 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19010 # If the export-symbols file already is a .def file, use it as
19011 # is; otherwise, prepend EXPORTS...
19012 archive_expsym_cmds_F77='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
19013 cp $export_symbols $output_objdir/$soname.def;
19015 echo EXPORTS > $output_objdir/$soname.def;
19016 cat $export_symbols >> $output_objdir/$soname.def;
19018 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19025 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19026 link_all_deplibs_F77=yes
19030 hardcode_libdir_flag_spec_F77='-L$libdir'
19031 hardcode_minus_L_F77=yes
19032 allow_undefined_flag_F77=unsupported
19034 archive_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19035 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19036 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19037 $ECHO EXPORTS >> $output_objdir/$libname.def~
19038 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
19039 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19040 emximp -o $lib $output_objdir/$libname.def'
19041 archive_expsym_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19042 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19043 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19044 $ECHO EXPORTS >> $output_objdir/$libname.def~
19045 prefix_cmds="$SED"~
19046 if test EXPORTS = "`$SED 1q $export_symbols`"; then
19047 prefix_cmds="$prefix_cmds -e 1d";
19049 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
19050 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
19051 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19052 emximp -o $lib $output_objdir/$libname.def'
19053 old_archive_From_new_cmds_F77='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
19054 enable_shared_with_static_runtimes_F77=yes
19058 hardcode_direct_F77=no
19059 hardcode_shlibpath_var_F77=no
19060 hardcode_libdir_flag_spec_F77='$wl-rpath,$libdir'
19061 export_dynamic_flag_spec_F77='$wl-E'
19062 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19063 # Instead, shared libraries are loaded at an image base (0x10000000 by
19064 # default) and relocated if they conflict, which is a slow very memory
19065 # consuming and fragmenting process. To avoid this, we pick a random,
19066 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19067 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19068 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'
19069 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'
19072 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
19074 if test linux-dietlibc = "$host_os"; then
19075 case $cc_basename in
19076 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
19079 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
19080 && test no = "$tmp_diet"
19082 tmp_addflag=' $pic_flag'
19083 tmp_sharedflag='-shared'
19084 case $cc_basename,$host_cpu in
19085 pgcc*) # Portland Group C compiler
19086 whole_archive_flag_spec_F77='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
19087 tmp_addflag=' $pic_flag'
19089 pgf77* | pgf90* | pgf95* | pgfortran*)
19090 # Portland Group f77 and f90 compilers
19091 whole_archive_flag_spec_F77='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
19092 tmp_addflag=' $pic_flag -Mnomain' ;;
19093 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
19094 tmp_addflag=' -i_dynamic' ;;
19095 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
19096 tmp_addflag=' -i_dynamic -nofor_main' ;;
19097 ifc* | ifort*) # Intel Fortran compiler
19098 tmp_addflag=' -nofor_main' ;;
19099 lf95*) # Lahey Fortran 8.1
19100 whole_archive_flag_spec_F77=
19101 tmp_sharedflag='--shared' ;;
19102 nagfor*) # NAGFOR 5.3
19103 tmp_sharedflag='-Wl,-shared' ;;
19104 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
19105 tmp_sharedflag='-qmkshrobj'
19107 nvcc*) # Cuda Compiler Driver 2.2
19108 whole_archive_flag_spec_F77='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
19109 compiler_needs_object_F77=yes
19112 case `$CC -V 2>&1 | sed 5q` in
19113 *Sun\ C*) # Sun C 5.9
19114 whole_archive_flag_spec_F77='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
19115 compiler_needs_object_F77=yes
19116 tmp_sharedflag='-G' ;;
19117 *Sun\ F*) # Sun Fortran 8.3
19118 tmp_sharedflag='-G' ;;
19120 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19122 if test yes = "$supports_anon_versioning"; then
19123 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
19124 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19125 echo "local: *; };" >> $output_objdir/$libname.ver~
19126 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
19129 case $cc_basename in
19131 export_dynamic_flag_spec_F77='-rdynamic'
19133 xlf* | bgf* | bgxlf* | mpixlf*)
19134 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
19135 whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
19136 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19137 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
19138 if test yes = "$supports_anon_versioning"; then
19139 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
19140 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19141 echo "local: *; };" >> $output_objdir/$libname.ver~
19142 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
19152 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19153 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19156 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19157 archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19162 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
19166 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
19167 *** create shared libraries on Solaris systems. Therefore, libtool
19168 *** is disabling shared libraries support. We urge you to upgrade GNU
19169 *** binutils to release 2.9.1 or newer. Another option is to modify
19170 *** your PATH or compiler configuration so that the native linker is
19171 *** used, and then restart.
19174 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19175 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19176 archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19182 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
19183 case `$LD -v 2>&1` in
19184 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
19188 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
19189 *** reliably create shared libraries on SCO systems. Therefore, libtool
19190 *** is disabling shared libraries support. We urge you to upgrade GNU
19191 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
19192 *** your PATH or compiler configuration so that the native linker is
19193 *** used, and then restart.
19198 # For security reasons, it is highly recommended that you always
19199 # use absolute paths for naming shared libraries, and exclude the
19200 # DT_RUNPATH tag from executables and libraries. But doing so
19201 # requires that you compile everything twice, which is a pain.
19202 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19203 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19204 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19205 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19214 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19216 hardcode_direct_F77=yes
19217 hardcode_shlibpath_var_F77=no
19221 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19222 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19223 archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19230 if test no = "$ld_shlibs_F77"; then
19232 hardcode_libdir_flag_spec_F77=
19233 export_dynamic_flag_spec_F77=
19234 whole_archive_flag_spec_F77=
19237 # PORTME fill in a description of your system's linker (not GNU ld)
19240 allow_undefined_flag_F77=unsupported
19241 always_export_symbols_F77=yes
19242 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'
19243 # Note: this linker hardcodes the directories in LIBPATH if there
19244 # are no directories specified by -L.
19245 hardcode_minus_L_F77=yes
19246 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
19247 # Neither direct hardcoding nor static linking is supported with a
19249 hardcode_direct_F77=unsupported
19254 if test ia64 = "$host_cpu"; then
19255 # On IA64, the linker does run time linking by default, so we don't
19256 # have to do anything special.
19257 aix_use_runtimelinking=no
19258 exp_sym_flag='-Bexport'
19261 # If we're using GNU nm, then we don't want the "-C" option.
19262 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
19263 # Without the "-l" option, or with the "-B" option, AIX nm treats
19264 # weak defined symbols like other global defined symbols, whereas
19265 # GNU nm marks them as "W".
19266 # While the 'weak' keyword is ignored in the Export File, we need
19267 # it in the Import File for the 'aix-soname' feature, so we have
19268 # to replace the "-B" option with "-P" for AIX nm.
19269 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19270 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
19272 export_symbols_cmds_F77='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
19274 aix_use_runtimelinking=no
19276 # Test if we are trying to use run time linking or normal
19277 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19278 # have runtime linking enabled, and use it for executables.
19279 # For shared libraries, we enable/disable runtime linking
19280 # depending on the kind of the shared library created -
19281 # when "with_aix_soname,aix_use_runtimelinking" is:
19282 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
19283 # "aix,yes" lib.so shared, rtl:yes, for executables
19284 # lib.a static archive
19285 # "both,no" lib.so.V(shr.o) shared, rtl:yes
19286 # lib.a(lib.so.V) shared, rtl:no, for executables
19287 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
19288 # lib.a(lib.so.V) shared, rtl:no
19289 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
19290 # lib.a static archive
19291 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19292 for ld_flag in $LDFLAGS; do
19293 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
19294 aix_use_runtimelinking=yes
19298 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
19299 # With aix-soname=svr4, we create the lib.so.V shared archives only,
19300 # so we don't have lib.a shared libs to link our executables.
19301 # We have to force runtime linking in this case.
19302 aix_use_runtimelinking=yes
19303 LDFLAGS="$LDFLAGS -Wl,-brtl"
19308 exp_sym_flag='-bexport'
19309 no_entry_flag='-bnoentry'
19312 # When large executables or shared objects are built, AIX ld can
19313 # have problems creating the table of contents. If linking a library
19314 # or program results in "error TOC overflow" add -mminimal-toc to
19315 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19316 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19318 archive_cmds_F77=''
19319 hardcode_direct_F77=yes
19320 hardcode_direct_absolute_F77=yes
19321 hardcode_libdir_separator_F77=':'
19322 link_all_deplibs_F77=yes
19323 file_list_spec_F77='$wl-f,'
19324 case $with_aix_soname,$aix_use_runtimelinking in
19325 aix,*) ;; # traditional, no import file
19326 svr4,* | *,yes) # use import file
19327 # The Import File defines what to hardcode.
19328 hardcode_direct_F77=no
19329 hardcode_direct_absolute_F77=no
19333 if test yes = "$GCC"; then
19334 case $host_os in aix4.[012]|aix4.[012].*)
19335 # We only want to do this on AIX 4.2 and lower, the check
19336 # below for broken collect2 doesn't work under 4.3+
19337 collect2name=`$CC -print-prog-name=collect2`
19338 if test -f "$collect2name" &&
19339 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
19341 # We have reworked collect2
19344 # We have old collect2
19345 hardcode_direct_F77=unsupported
19346 # It fails to find uninstalled libraries when the uninstalled
19347 # path is not listed in the libpath. Setting hardcode_minus_L
19348 # to unsupported forces relinking
19349 hardcode_minus_L_F77=yes
19350 hardcode_libdir_flag_spec_F77='-L$libdir'
19351 hardcode_libdir_separator_F77=
19355 shared_flag='-shared'
19356 if test yes = "$aix_use_runtimelinking"; then
19357 shared_flag="$shared_flag "'$wl-G'
19359 # Need to ensure runtime linking is disabled for the traditional
19360 # shared library, or the linker may eventually find shared libraries
19361 # /with/ Import File - we do not want to mix them.
19362 shared_flag_aix='-shared'
19363 shared_flag_svr4='-shared $wl-G'
19366 if test ia64 = "$host_cpu"; then
19367 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19368 # chokes on -Wl,-G. The following line is correct:
19371 if test yes = "$aix_use_runtimelinking"; then
19372 shared_flag='$wl-G'
19374 shared_flag='$wl-bM:SRE'
19376 shared_flag_aix='$wl-bM:SRE'
19377 shared_flag_svr4='$wl-G'
19381 export_dynamic_flag_spec_F77='$wl-bexpall'
19382 # It seems that -bexpall does not export symbols beginning with
19383 # underscore (_), so it is better to generate a list of symbols to export.
19384 always_export_symbols_F77=yes
19385 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
19386 # Warning - without using the other runtime loading flags (-brtl),
19387 # -berok will link without error, but may produce a broken library.
19388 allow_undefined_flag_F77='-berok'
19389 # Determine the default libpath from the value encoded in an
19390 # empty executable.
19391 if test set = "${lt_cv_aix_libpath+set}"; then
19392 aix_libpath=$lt_cv_aix_libpath
19394 if ${lt_cv_aix_libpath__F77+:} false; then :
19395 $as_echo_n "(cached) " >&6
19397 cat > conftest.$ac_ext <<_ACEOF
19402 if ac_fn_f77_try_link "$LINENO"; then :
19404 lt_aix_libpath_sed='
19405 /Import File Strings/,/^$/ {
19407 s/^0 *\([^ ]*\) *$/\1/
19411 lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19412 # Check for a 64-bit object if we didn't find anything.
19413 if test -z "$lt_cv_aix_libpath__F77"; then
19414 lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19417 rm -f core conftest.err conftest.$ac_objext \
19418 conftest$ac_exeext conftest.$ac_ext
19419 if test -z "$lt_cv_aix_libpath__F77"; then
19420 lt_cv_aix_libpath__F77=/usr/lib:/lib
19425 aix_libpath=$lt_cv_aix_libpath__F77
19428 hardcode_libdir_flag_spec_F77='$wl-blibpath:$libdir:'"$aix_libpath"
19429 archive_expsym_cmds_F77='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
19431 if test ia64 = "$host_cpu"; then
19432 hardcode_libdir_flag_spec_F77='$wl-R $libdir:/usr/lib:/lib'
19433 allow_undefined_flag_F77="-z nodefs"
19434 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"
19436 # Determine the default libpath from the value encoded in an
19437 # empty executable.
19438 if test set = "${lt_cv_aix_libpath+set}"; then
19439 aix_libpath=$lt_cv_aix_libpath
19441 if ${lt_cv_aix_libpath__F77+:} false; then :
19442 $as_echo_n "(cached) " >&6
19444 cat > conftest.$ac_ext <<_ACEOF
19449 if ac_fn_f77_try_link "$LINENO"; then :
19451 lt_aix_libpath_sed='
19452 /Import File Strings/,/^$/ {
19454 s/^0 *\([^ ]*\) *$/\1/
19458 lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19459 # Check for a 64-bit object if we didn't find anything.
19460 if test -z "$lt_cv_aix_libpath__F77"; then
19461 lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19464 rm -f core conftest.err conftest.$ac_objext \
19465 conftest$ac_exeext conftest.$ac_ext
19466 if test -z "$lt_cv_aix_libpath__F77"; then
19467 lt_cv_aix_libpath__F77=/usr/lib:/lib
19472 aix_libpath=$lt_cv_aix_libpath__F77
19475 hardcode_libdir_flag_spec_F77='$wl-blibpath:$libdir:'"$aix_libpath"
19476 # Warning - without using the other run time loading flags,
19477 # -berok will link without error, but may produce a broken library.
19478 no_undefined_flag_F77=' $wl-bernotok'
19479 allow_undefined_flag_F77=' $wl-berok'
19480 if test yes = "$with_gnu_ld"; then
19481 # We only use this code for GNU lds that support --whole-archive.
19482 whole_archive_flag_spec_F77='$wl--whole-archive$convenience $wl--no-whole-archive'
19484 # Exported symbols can be pulled into shared objects from archives
19485 whole_archive_flag_spec_F77='$convenience'
19487 archive_cmds_need_lc_F77=yes
19488 archive_expsym_cmds_F77='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
19489 # -brtl affects multiple linker settings, -berok does not and is overridden later
19490 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
19491 if test svr4 != "$with_aix_soname"; then
19492 # This is similar to how AIX traditionally builds its shared libraries.
19493 archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
19495 if test aix != "$with_aix_soname"; then
19496 archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
19498 # used by -dlpreopen to get the symbols
19499 archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
19501 archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$RM -r $output_objdir/$realname.d'
19509 # see comment about AmigaOS4 .so support
19510 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19511 archive_expsym_cmds_F77=''
19514 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)'
19515 hardcode_libdir_flag_spec_F77='-L$libdir'
19516 hardcode_minus_L_F77=yes
19522 export_dynamic_flag_spec_F77=-rdynamic
19525 cygwin* | mingw* | pw32* | cegcc*)
19526 # When not using gcc, we currently assume that we are using
19527 # Microsoft Visual C++.
19528 # hardcode_libdir_flag_spec is actually meaningless, as there is
19529 # no search path for DLLs.
19530 case $cc_basename in
19533 hardcode_libdir_flag_spec_F77=' '
19534 allow_undefined_flag_F77=unsupported
19535 always_export_symbols_F77=yes
19536 file_list_spec_F77='@'
19537 # Tell ltmain to make .lib files, not .a files.
19539 # Tell ltmain to make .dll files, not .so files.
19541 # FIXME: Setting linknames here is a bad hack.
19542 archive_cmds_F77='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
19543 archive_expsym_cmds_F77='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
19544 cp "$export_symbols" "$output_objdir/$soname.def";
19545 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
19547 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
19549 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
19551 # The linker will not automatically build a static lib if we build a DLL.
19552 # _LT_TAGVAR(old_archive_from_new_cmds, F77)='true'
19553 enable_shared_with_static_runtimes_F77=yes
19554 exclude_expsyms_F77='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
19555 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19557 old_postinstall_cmds_F77='chmod 644 $oldlib'
19558 postlink_cmds_F77='lt_outputfile="@OUTPUT@"~
19559 lt_tool_outputfile="@TOOL_OUTPUT@"~
19560 case $lt_outputfile in
19563 lt_outputfile=$lt_outputfile.exe
19564 lt_tool_outputfile=$lt_tool_outputfile.exe
19567 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
19568 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
19569 $RM "$lt_outputfile.manifest";
19573 # Assume MSVC wrapper
19574 hardcode_libdir_flag_spec_F77=' '
19575 allow_undefined_flag_F77=unsupported
19576 # Tell ltmain to make .lib files, not .a files.
19578 # Tell ltmain to make .dll files, not .so files.
19580 # FIXME: Setting linknames here is a bad hack.
19581 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
19582 # The linker will automatically build a .lib file if we build a DLL.
19583 old_archive_from_new_cmds_F77='true'
19584 # FIXME: Should let the user specify the lib program.
19585 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
19586 enable_shared_with_static_runtimes_F77=yes
19591 darwin* | rhapsody*)
19594 archive_cmds_need_lc_F77=no
19595 hardcode_direct_F77=no
19596 hardcode_automatic_F77=yes
19597 hardcode_shlibpath_var_F77=unsupported
19598 if test yes = "$lt_cv_ld_force_load"; then
19599 whole_archive_flag_spec_F77='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
19600 compiler_needs_object_F77=yes
19602 whole_archive_flag_spec_F77=''
19604 link_all_deplibs_F77=yes
19605 allow_undefined_flag_F77=$_lt_dar_allow_undefined
19606 case $cc_basename in
19607 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
19608 *) _lt_dar_can_shared=$GCC ;;
19610 if test yes = "$_lt_dar_can_shared"; then
19611 output_verbose_link_cmd=func_echo_all
19612 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"
19613 module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
19614 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"
19615 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"
19624 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19625 hardcode_libdir_flag_spec_F77='-L$libdir'
19626 hardcode_shlibpath_var_F77=no
19629 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19630 # support. Future versions do this automatically, but an explicit c++rt0.o
19631 # does not break anything, and helps significantly (at the cost of a little
19634 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19635 hardcode_libdir_flag_spec_F77='-R$libdir'
19636 hardcode_direct_F77=yes
19637 hardcode_shlibpath_var_F77=no
19640 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19642 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19643 hardcode_direct_F77=yes
19644 hardcode_minus_L_F77=yes
19645 hardcode_shlibpath_var_F77=no
19648 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19649 freebsd* | dragonfly*)
19650 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19651 hardcode_libdir_flag_spec_F77='-R$libdir'
19652 hardcode_direct_F77=yes
19653 hardcode_shlibpath_var_F77=no
19657 if test yes = "$GCC"; then
19658 archive_cmds_F77='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
19660 archive_cmds_F77='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
19662 hardcode_libdir_flag_spec_F77='$wl+b $wl$libdir'
19663 hardcode_libdir_separator_F77=:
19664 hardcode_direct_F77=yes
19666 # hardcode_minus_L: Not really in the search PATH,
19667 # but as the default location of the library.
19668 hardcode_minus_L_F77=yes
19669 export_dynamic_flag_spec_F77='$wl-E'
19673 if test yes,no = "$GCC,$with_gnu_ld"; then
19674 archive_cmds_F77='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19676 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19678 if test no = "$with_gnu_ld"; then
19679 hardcode_libdir_flag_spec_F77='$wl+b $wl$libdir'
19680 hardcode_libdir_separator_F77=:
19681 hardcode_direct_F77=yes
19682 hardcode_direct_absolute_F77=yes
19683 export_dynamic_flag_spec_F77='$wl-E'
19684 # hardcode_minus_L: Not really in the search PATH,
19685 # but as the default location of the library.
19686 hardcode_minus_L_F77=yes
19691 if test yes,no = "$GCC,$with_gnu_ld"; then
19694 archive_cmds_F77='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
19697 archive_cmds_F77='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19700 archive_cmds_F77='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19706 archive_cmds_F77='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
19709 archive_cmds_F77='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19712 archive_cmds_F77='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19716 if test no = "$with_gnu_ld"; then
19717 hardcode_libdir_flag_spec_F77='$wl+b $wl$libdir'
19718 hardcode_libdir_separator_F77=:
19722 hardcode_direct_F77=no
19723 hardcode_shlibpath_var_F77=no
19726 hardcode_direct_F77=yes
19727 hardcode_direct_absolute_F77=yes
19728 export_dynamic_flag_spec_F77='$wl-E'
19730 # hardcode_minus_L: Not really in the search PATH,
19731 # but as the default location of the library.
19732 hardcode_minus_L_F77=yes
19738 irix5* | irix6* | nonstopux*)
19739 if test yes = "$GCC"; then
19740 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
19741 # Try to use the -exported_symbol ld option, if it does not
19742 # work, assume that -exports_file does not work either and
19743 # implicitly export all symbols.
19744 # This should be the same for all languages, so no per-tag cache variable.
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
19746 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
19747 if ${lt_cv_irix_exported_symbol+:} false; then :
19748 $as_echo_n "(cached) " >&6
19750 save_LDFLAGS=$LDFLAGS
19751 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
19752 cat > conftest.$ac_ext <<_ACEOF
19757 if ac_fn_f77_try_link "$LINENO"; then :
19758 lt_cv_irix_exported_symbol=yes
19760 lt_cv_irix_exported_symbol=no
19762 rm -f core conftest.err conftest.$ac_objext \
19763 conftest$ac_exeext conftest.$ac_ext
19764 LDFLAGS=$save_LDFLAGS
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
19767 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
19768 if test yes = "$lt_cv_irix_exported_symbol"; then
19769 archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
19772 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
19773 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
19775 archive_cmds_need_lc_F77='no'
19776 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19777 hardcode_libdir_separator_F77=:
19778 inherit_rpath_F77=yes
19779 link_all_deplibs_F77=yes
19783 case $cc_basename in
19785 # Fabrice Bellard et al's Tiny C Compiler
19787 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19793 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19794 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19796 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19798 hardcode_libdir_flag_spec_F77='-R$libdir'
19799 hardcode_direct_F77=yes
19800 hardcode_shlibpath_var_F77=no
19804 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19805 hardcode_direct_F77=yes
19806 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19807 hardcode_libdir_separator_F77=:
19808 hardcode_shlibpath_var_F77=no
19814 openbsd* | bitrig*)
19815 if test -f /usr/libexec/ld.so; then
19816 hardcode_direct_F77=yes
19817 hardcode_shlibpath_var_F77=no
19818 hardcode_direct_absolute_F77=yes
19819 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
19820 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19821 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
19822 hardcode_libdir_flag_spec_F77='$wl-rpath,$libdir'
19823 export_dynamic_flag_spec_F77='$wl-E'
19825 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19826 hardcode_libdir_flag_spec_F77='$wl-rpath,$libdir'
19834 hardcode_libdir_flag_spec_F77='-L$libdir'
19835 hardcode_minus_L_F77=yes
19836 allow_undefined_flag_F77=unsupported
19838 archive_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19839 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19840 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19841 $ECHO EXPORTS >> $output_objdir/$libname.def~
19842 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
19843 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19844 emximp -o $lib $output_objdir/$libname.def'
19845 archive_expsym_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19846 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19847 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19848 $ECHO EXPORTS >> $output_objdir/$libname.def~
19849 prefix_cmds="$SED"~
19850 if test EXPORTS = "`$SED 1q $export_symbols`"; then
19851 prefix_cmds="$prefix_cmds -e 1d";
19853 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
19854 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
19855 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19856 emximp -o $lib $output_objdir/$libname.def'
19857 old_archive_From_new_cmds_F77='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
19858 enable_shared_with_static_runtimes_F77=yes
19862 if test yes = "$GCC"; then
19863 allow_undefined_flag_F77=' $wl-expect_unresolved $wl\*'
19864 archive_cmds_F77='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
19866 allow_undefined_flag_F77=' -expect_unresolved \*'
19867 archive_cmds_F77='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
19869 archive_cmds_need_lc_F77='no'
19870 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19871 hardcode_libdir_separator_F77=:
19874 osf4* | osf5*) # as osf3* with the addition of -msym flag
19875 if test yes = "$GCC"; then
19876 allow_undefined_flag_F77=' $wl-expect_unresolved $wl\*'
19877 archive_cmds_F77='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
19878 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19880 allow_undefined_flag_F77=' -expect_unresolved \*'
19881 archive_cmds_F77='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
19882 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
19883 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
19885 # Both c and cxx compiler support -rpath directly
19886 hardcode_libdir_flag_spec_F77='-rpath $libdir'
19888 archive_cmds_need_lc_F77='no'
19889 hardcode_libdir_separator_F77=:
19893 no_undefined_flag_F77=' -z defs'
19894 if test yes = "$GCC"; then
19896 archive_cmds_F77='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
19897 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19898 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
19900 case `$CC -V 2>&1` in
19903 archive_cmds_F77='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
19904 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19905 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
19909 archive_cmds_F77='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
19910 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19911 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
19915 hardcode_libdir_flag_spec_F77='-R$libdir'
19916 hardcode_shlibpath_var_F77=no
19918 solaris2.[0-5] | solaris2.[0-5].*) ;;
19920 # The compiler driver will combine and reorder linker options,
19921 # but understands '-z linker_flag'. GCC discards it without '$wl',
19922 # but is careful enough not to reorder.
19923 # Supported since Solaris 2.6 (maybe 2.5.1?)
19924 if test yes = "$GCC"; then
19925 whole_archive_flag_spec_F77='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
19927 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
19931 link_all_deplibs_F77=yes
19935 if test sequent = "$host_vendor"; then
19936 # Use $CC to link under sequent, because it throws in some extra .o
19937 # files that make .init and .fini sections work.
19938 archive_cmds_F77='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19940 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19942 hardcode_libdir_flag_spec_F77='-L$libdir'
19943 hardcode_direct_F77=yes
19944 hardcode_minus_L_F77=yes
19945 hardcode_shlibpath_var_F77=no
19949 case $host_vendor in
19951 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19952 hardcode_direct_F77=yes # is this really true???
19955 ## LD is ld it makes a PLAMLIB
19956 ## CC just makes a GrossModule.
19957 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19958 reload_cmds_F77='$CC -r -o $output$reload_objs'
19959 hardcode_direct_F77=no
19962 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19963 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
19966 runpath_var='LD_RUN_PATH'
19967 hardcode_shlibpath_var_F77=no
19971 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19972 hardcode_shlibpath_var_F77=no
19973 export_dynamic_flag_spec_F77='-Bexport'
19977 if test -d /usr/nec; then
19978 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19979 hardcode_shlibpath_var_F77=no
19980 runpath_var=LD_RUN_PATH
19981 hardcode_runpath_var=yes
19986 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19987 no_undefined_flag_F77='$wl-z,text'
19988 archive_cmds_need_lc_F77=no
19989 hardcode_shlibpath_var_F77=no
19990 runpath_var='LD_RUN_PATH'
19992 if test yes = "$GCC"; then
19993 archive_cmds_F77='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19994 archive_expsym_cmds_F77='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19996 archive_cmds_F77='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19997 archive_expsym_cmds_F77='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20001 sysv5* | sco3.2v5* | sco5v6*)
20002 # Note: We CANNOT use -z defs as we might desire, because we do not
20003 # link with -lc, and that would cause any symbols used from libc to
20004 # always be unresolved, which means just about no library would
20005 # ever link correctly. If we're not using GNU ld we use -z text
20006 # though, which does catch some bad symbols but isn't as heavy-handed
20008 no_undefined_flag_F77='$wl-z,text'
20009 allow_undefined_flag_F77='$wl-z,nodefs'
20010 archive_cmds_need_lc_F77=no
20011 hardcode_shlibpath_var_F77=no
20012 hardcode_libdir_flag_spec_F77='$wl-R,$libdir'
20013 hardcode_libdir_separator_F77=':'
20014 link_all_deplibs_F77=yes
20015 export_dynamic_flag_spec_F77='$wl-Bexport'
20016 runpath_var='LD_RUN_PATH'
20018 if test yes = "$GCC"; then
20019 archive_cmds_F77='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20020 archive_expsym_cmds_F77='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20022 archive_cmds_F77='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20023 archive_expsym_cmds_F77='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20028 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20029 hardcode_libdir_flag_spec_F77='-L$libdir'
20030 hardcode_shlibpath_var_F77=no
20038 if test sni = "$host_vendor"; then
20040 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20041 export_dynamic_flag_spec_F77='$wl-Blargedynsym'
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
20048 $as_echo "$ld_shlibs_F77" >&6; }
20049 test no = "$ld_shlibs_F77" && can_build_shared=no
20051 with_gnu_ld_F77=$with_gnu_ld
20059 # Do we need to explicitly link libc?
20061 case "x$archive_cmds_need_lc_F77" in
20063 # Assume -lc should be added
20064 archive_cmds_need_lc_F77=yes
20066 if test yes,yes = "$GCC,$enable_shared"; then
20067 case $archive_cmds_F77 in
20069 # FIXME: we may have to deal with multi-command sequences.
20072 # Test whether the compiler implicitly links with -lc since on some
20073 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20074 # to ld, don't add -lc before -lgcc.
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
20076 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20077 if ${lt_cv_archive_cmds_need_lc_F77+:} false; then :
20078 $as_echo_n "(cached) " >&6
20081 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20083 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20084 (eval $ac_compile) 2>&5
20086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20087 test $ac_status = 0; } 2>conftest.err; then
20090 libobjs=conftest.$ac_objext
20092 wl=$lt_prog_compiler_wl_F77
20093 pic_flag=$lt_prog_compiler_pic_F77
20099 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
20100 allow_undefined_flag_F77=
20101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
20102 (eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
20104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20105 test $ac_status = 0; }
20107 lt_cv_archive_cmds_need_lc_F77=no
20109 lt_cv_archive_cmds_need_lc_F77=yes
20111 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
20113 cat conftest.err 1>&5
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_F77" >&5
20119 $as_echo "$lt_cv_archive_cmds_need_lc_F77" >&6; }
20120 archive_cmds_need_lc_F77=$lt_cv_archive_cmds_need_lc_F77
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
20189 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20191 library_names_spec=
20192 libname_spec='lib$name'
20196 postuninstall_cmds=
20200 shlibpath_overrides_runpath=unknown
20202 dynamic_linker="$host_os ld.so"
20203 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20204 need_lib_prefix=unknown
20205 hardcode_into_libs=no
20207 # when you set need_version to no, make sure it does not cause -set_version
20208 # flags to be left without arguments
20209 need_version=unknown
20215 version_type=linux # correct to gnu/linux during the next big refactor
20216 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
20217 shlibpath_var=LIBPATH
20219 # AIX 3 has no versioning support, so we append a major version to the name.
20220 soname_spec='$libname$release$shared_ext$major'
20224 version_type=linux # correct to gnu/linux during the next big refactor
20227 hardcode_into_libs=yes
20228 if test ia64 = "$host_cpu"; then
20229 # AIX 5 supports IA64
20230 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
20231 shlibpath_var=LD_LIBRARY_PATH
20233 # With GCC up to 2.95.x, collect2 would create an import file
20234 # for dependence libraries. The import file would start with
20235 # the line '#! .'. This would cause the generated library to
20236 # depend on '.', always an invalid library. This was fixed in
20237 # development snapshots of GCC prior to 3.0.
20239 aix4 | aix4.[01] | aix4.[01].*)
20240 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20242 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
20245 can_build_shared=no
20249 # Using Import Files as archive members, it is possible to support
20250 # filename-based versioning of shared library archives on AIX. While
20251 # this would work for both with and without runtime linking, it will
20252 # prevent static linking of such archives. So we do filename-based
20253 # shared library versioning with .so extension only, which is used
20254 # when both runtime linking and shared linking is enabled.
20255 # Unfortunately, runtime linking may impact performance, so we do
20256 # not want this to be the default eventually. Also, we use the
20257 # versioned .so libs for executables only if there is the -brtl
20258 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
20259 # To allow for filename-based versioning support, we need to create
20260 # libNAME.so.V as an archive file, containing:
20261 # *) an Import File, referring to the versioned filename of the
20262 # archive as well as the shared archive member, telling the
20263 # bitwidth (32 or 64) of that shared object, and providing the
20264 # list of exported symbols of that shared object, eventually
20265 # decorated with the 'weak' keyword
20266 # *) the shared object with the F_LOADONLY flag set, to really avoid
20267 # it being seen by the linker.
20268 # At run time we better use the real file rather than another symlink,
20269 # but for link time we create the symlink libNAME.so -> libNAME.so.V
20271 case $with_aix_soname,$aix_use_runtimelinking in
20272 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
20273 # soname into executable. Probably we can add versioning support to
20274 # collect2, so additional links can be useful in future.
20275 aix,yes) # traditional libtool
20276 dynamic_linker='AIX unversionable lib.so'
20277 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20278 # instead of lib<name>.a to let people know that these are not
20279 # typical AIX shared libraries.
20280 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20282 aix,no) # traditional AIX only
20283 dynamic_linker='AIX lib.a(lib.so.V)'
20284 # We preserve .a as extension for shared libraries through AIX4.2
20285 # and later when we are not doing run time linking.
20286 library_names_spec='$libname$release.a $libname.a'
20287 soname_spec='$libname$release$shared_ext$major'
20289 svr4,*) # full svr4 only
20290 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
20291 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
20292 # We do not specify a path in Import Files, so LIBPATH fires.
20293 shlibpath_overrides_runpath=yes
20295 *,yes) # both, prefer svr4
20296 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
20297 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
20298 # unpreferred sharedlib libNAME.a needs extra handling
20299 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
20300 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
20301 # We do not specify a path in Import Files, so LIBPATH fires.
20302 shlibpath_overrides_runpath=yes
20304 *,no) # both, prefer aix
20305 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
20306 library_names_spec='$libname$release.a $libname.a'
20307 soname_spec='$libname$release$shared_ext$major'
20308 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
20309 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
20310 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
20313 shlibpath_var=LIBPATH
20320 # Since July 2007 AmigaOS4 officially supports .so libraries.
20321 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
20322 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20325 library_names_spec='$libname.ixlibrary $libname.a'
20326 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20327 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
20333 library_names_spec='$libname$shared_ext'
20334 dynamic_linker="$host_os ld.so"
20335 shlibpath_var=LIBRARY_PATH
20339 version_type=linux # correct to gnu/linux during the next big refactor
20341 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20342 soname_spec='$libname$release$shared_ext$major'
20343 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20344 shlibpath_var=LD_LIBRARY_PATH
20345 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20346 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20347 # the default ld.so.conf also contains /usr/contrib/lib and
20348 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20349 # libtool to hard-code these into programs
20352 cygwin* | mingw* | pw32* | cegcc*)
20353 version_type=windows
20358 case $GCC,$cc_basename in
20361 library_names_spec='$libname.dll.a'
20362 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20363 postinstall_cmds='base_file=`basename \$file`~
20364 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
20365 dldir=$destdir/`dirname \$dlpath`~
20366 test -d \$dldir || mkdir -p \$dldir~
20367 $install_prog $dir/$dlname \$dldir/$dlname~
20368 chmod a+x \$dldir/$dlname~
20369 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20370 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20372 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20373 dlpath=$dir/\$dldll~
20375 shlibpath_overrides_runpath=yes
20379 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20380 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20384 # MinGW DLLs use traditional 'lib' prefix
20385 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20388 # pw32 DLLs use 'pw' prefix rather than 'lib'
20389 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20392 dynamic_linker='Win32 ld.exe'
20397 libname_spec='$name'
20398 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20399 library_names_spec='$libname.dll.lib'
20403 sys_lib_search_path_spec=
20406 for lt_path in $LIB
20409 # Let DOS variable expansion print the short 8.3 style file name.
20410 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
20411 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
20414 # Convert to MSYS style.
20415 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
20418 # Convert to unix form, then to dos form, then back to unix form
20419 # but this time dos style (no spaces!) so that the unix form looks
20420 # like /cygdrive/c/PROGRA~1:/cygdr...
20421 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
20422 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
20423 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20426 sys_lib_search_path_spec=$LIB
20427 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
20428 # It is most probably a Windows format PATH.
20429 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20431 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20433 # FIXME: find the short name or the path components, as spaces are
20434 # common. (e.g. "Program Files" -> "PROGRA~1")
20438 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20439 postinstall_cmds='base_file=`basename \$file`~
20440 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
20441 dldir=$destdir/`dirname \$dlpath`~
20442 test -d \$dldir || mkdir -p \$dldir~
20443 $install_prog $dir/$dlname \$dldir/$dlname'
20444 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20445 dlpath=$dir/\$dldll~
20447 shlibpath_overrides_runpath=yes
20448 dynamic_linker='Win32 link.exe'
20452 # Assume MSVC wrapper
20453 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
20454 dynamic_linker='Win32 ld.exe'
20457 # FIXME: first we should search . and the directory the executable is in
20461 darwin* | rhapsody*)
20462 dynamic_linker="$host_os dyld"
20463 version_type=darwin
20466 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
20467 soname_spec='$libname$release$major$shared_ext'
20468 shlibpath_overrides_runpath=yes
20469 shlibpath_var=DYLD_LIBRARY_PATH
20470 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20472 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20476 version_type=linux # correct to gnu/linux during the next big refactor
20479 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20480 soname_spec='$libname$release$shared_ext$major'
20481 shlibpath_var=LD_LIBRARY_PATH
20484 freebsd* | dragonfly*)
20485 # DragonFly does not have aout. When/if they implement a new
20486 # versioning mechanism, adjust this.
20487 if test -x /usr/bin/objformat; then
20488 objformat=`/usr/bin/objformat`
20491 freebsd[23].*) objformat=aout ;;
20492 *) objformat=elf ;;
20495 version_type=freebsd-$objformat
20496 case $version_type in
20498 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20499 soname_spec='$libname$release$shared_ext$major'
20504 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20508 shlibpath_var=LD_LIBRARY_PATH
20511 shlibpath_overrides_runpath=yes
20513 freebsd3.[01]* | freebsdelf3.[01]*)
20514 shlibpath_overrides_runpath=yes
20515 hardcode_into_libs=yes
20517 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20518 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20519 shlibpath_overrides_runpath=no
20520 hardcode_into_libs=yes
20522 *) # from 4.6 on, and DragonFly
20523 shlibpath_overrides_runpath=yes
20524 hardcode_into_libs=yes
20530 version_type=linux # correct to gnu/linux during the next big refactor
20533 dynamic_linker="$host_os runtime_loader"
20534 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20535 soname_spec='$libname$release$shared_ext$major'
20536 shlibpath_var=LIBRARY_PATH
20537 shlibpath_overrides_runpath=no
20538 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
20539 hardcode_into_libs=yes
20542 hpux9* | hpux10* | hpux11*)
20543 # Give a soname corresponding to the major version so that dld.sl refuses to
20544 # link against other versions.
20551 hardcode_into_libs=yes
20552 dynamic_linker="$host_os dld.so"
20553 shlibpath_var=LD_LIBRARY_PATH
20554 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20555 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20556 soname_spec='$libname$release$shared_ext$major'
20557 if test 32 = "$HPUX_IA64_MODE"; then
20558 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20559 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
20561 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20562 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
20567 hardcode_into_libs=yes
20568 dynamic_linker="$host_os dld.sl"
20569 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20570 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20571 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20572 soname_spec='$libname$release$shared_ext$major'
20573 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20574 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20578 dynamic_linker="$host_os dld.sl"
20579 shlibpath_var=SHLIB_PATH
20580 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20581 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20582 soname_spec='$libname$release$shared_ext$major'
20585 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
20586 postinstall_cmds='chmod 555 $lib'
20587 # or fails outright, so override atomically:
20588 install_override_mode=555
20592 version_type=linux # correct to gnu/linux during the next big refactor
20595 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20596 soname_spec='$libname$release$shared_ext$major'
20597 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20598 shlibpath_var=LD_LIBRARY_PATH
20599 shlibpath_overrides_runpath=no
20600 hardcode_into_libs=yes
20603 irix5* | irix6* | nonstopux*)
20605 nonstopux*) version_type=nonstopux ;;
20607 if test yes = "$lt_cv_prog_gnu_ld"; then
20608 version_type=linux # correct to gnu/linux during the next big refactor
20615 soname_spec='$libname$release$shared_ext$major'
20616 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
20618 irix5* | nonstopux*)
20619 libsuff= shlibsuff=
20622 case $LD in # libtool.m4 will add one of these switches to LD
20623 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20624 libsuff= shlibsuff= libmagic=32-bit;;
20625 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20626 libsuff=32 shlibsuff=N32 libmagic=N32;;
20627 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20628 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20629 *) libsuff= shlibsuff= libmagic=never-match;;
20633 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20634 shlibpath_overrides_runpath=no
20635 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
20636 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
20637 hardcode_into_libs=yes
20640 # No shared lib support for Linux oldld, aout, or coff.
20641 linux*oldld* | linux*aout* | linux*coff*)
20646 version_type=none # Android doesn't support versioned libraries.
20649 library_names_spec='$libname$release$shared_ext'
20650 soname_spec='$libname$release$shared_ext'
20652 shlibpath_var=LD_LIBRARY_PATH
20653 shlibpath_overrides_runpath=yes
20655 # This implies no fast_install, which is unacceptable.
20656 # Some rework will be needed to allow for fast_install
20657 # before this can be enabled.
20658 hardcode_into_libs=yes
20660 dynamic_linker='Android linker'
20661 # Don't embed -rpath directories since the linker doesn't support them.
20662 hardcode_libdir_flag_spec_F77='-L$libdir'
20665 # This must be glibc/ELF.
20666 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
20667 version_type=linux # correct to gnu/linux during the next big refactor
20670 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20671 soname_spec='$libname$release$shared_ext$major'
20672 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20673 shlibpath_var=LD_LIBRARY_PATH
20674 shlibpath_overrides_runpath=no
20676 # Some binutils ld are patched to set DT_RUNPATH
20677 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
20678 $as_echo_n "(cached) " >&6
20680 lt_cv_shlibpath_overrides_runpath=no
20681 save_LDFLAGS=$LDFLAGS
20682 save_libdir=$libdir
20683 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
20684 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
20685 cat > conftest.$ac_ext <<_ACEOF
20690 if ac_fn_f77_try_link "$LINENO"; then :
20691 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20692 lt_cv_shlibpath_overrides_runpath=yes
20695 rm -f core conftest.err conftest.$ac_objext \
20696 conftest$ac_exeext conftest.$ac_ext
20697 LDFLAGS=$save_LDFLAGS
20698 libdir=$save_libdir
20702 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
20704 # This implies no fast_install, which is unacceptable.
20705 # Some rework will be needed to allow for fast_install
20706 # before this can be enabled.
20707 hardcode_into_libs=yes
20709 # Ideally, we could use ldconfig to report *all* directores which are
20710 # searched for libraries, however this is still not possible. Aside from not
20711 # being certain /sbin/ldconfig is available, command
20712 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
20713 # even though it is searched at run-time. Try to do the best guess by
20714 # appending ld.so.conf contents (and includes) to the search path.
20715 if test -f /etc/ld.so.conf; then
20716 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;s/"//g;/^$/d' | tr '\n' ' '`
20717 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20720 # We used to test for /lib/ld.so.1 and disable shared libraries on
20721 # powerpc, because MkLinux only supported shared libraries with the
20722 # GNU dynamic linker. Since this was broken with cross compilers,
20723 # most powerpc-linux boxes support dynamic linking these days and
20724 # people can always --disable-shared, the test was removed, and we
20725 # assume the GNU/Linux dynamic linker is in use.
20726 dynamic_linker='GNU/Linux ld.so'
20733 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20734 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20735 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20736 dynamic_linker='NetBSD (a.out) ld.so'
20738 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20739 soname_spec='$libname$release$shared_ext$major'
20740 dynamic_linker='NetBSD ld.elf_so'
20742 shlibpath_var=LD_LIBRARY_PATH
20743 shlibpath_overrides_runpath=yes
20744 hardcode_into_libs=yes
20748 version_type=linux # correct to gnu/linux during the next big refactor
20749 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20750 shlibpath_var=LD_LIBRARY_PATH
20751 shlibpath_overrides_runpath=yes
20758 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20759 soname_spec='$libname$release$shared_ext$major'
20760 shlibpath_var=LD_LIBRARY_PATH
20761 shlibpath_overrides_runpath=no
20762 hardcode_into_libs=yes
20763 dynamic_linker='ldqnx.so'
20766 openbsd* | bitrig*)
20768 sys_lib_dlsearch_path_spec=/usr/lib
20770 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
20775 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20776 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20777 shlibpath_var=LD_LIBRARY_PATH
20778 shlibpath_overrides_runpath=yes
20782 libname_spec='$name'
20783 version_type=windows
20787 # OS/2 can only load a DLL with a base name of 8 characters or less.
20788 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
20789 v=$($ECHO $release$versuffix | tr -d .-);
20790 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
20791 $ECHO $n$v`$shared_ext'
20792 library_names_spec='${libname}_dll.$libext'
20793 dynamic_linker='OS/2 ld.exe'
20794 shlibpath_var=BEGINLIBPATH
20795 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20796 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20797 postinstall_cmds='base_file=`basename \$file`~
20798 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
20799 dldir=$destdir/`dirname \$dlpath`~
20800 test -d \$dldir || mkdir -p \$dldir~
20801 $install_prog $dir/$dlname \$dldir/$dlname~
20802 chmod a+x \$dldir/$dlname~
20803 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20804 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20806 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
20807 dlpath=$dir/\$dldll~
20811 osf3* | osf4* | osf5*)
20815 soname_spec='$libname$release$shared_ext$major'
20816 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20817 shlibpath_var=LD_LIBRARY_PATH
20818 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20819 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20827 version_type=linux # correct to gnu/linux during the next big refactor
20830 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20831 soname_spec='$libname$release$shared_ext$major'
20832 shlibpath_var=LD_LIBRARY_PATH
20833 shlibpath_overrides_runpath=yes
20834 hardcode_into_libs=yes
20835 # ldd complains unless libraries are executable
20836 postinstall_cmds='chmod +x $lib'
20841 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20842 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20843 shlibpath_var=LD_LIBRARY_PATH
20844 shlibpath_overrides_runpath=yes
20845 if test yes = "$with_gnu_ld"; then
20852 version_type=linux # correct to gnu/linux during the next big refactor
20853 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20854 soname_spec='$libname$release$shared_ext$major'
20855 shlibpath_var=LD_LIBRARY_PATH
20856 case $host_vendor in
20858 shlibpath_overrides_runpath=no
20860 runpath_var=LD_RUN_PATH
20868 shlibpath_overrides_runpath=no
20869 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20875 if test -d /usr/nec; then
20876 version_type=linux # correct to gnu/linux during the next big refactor
20877 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
20878 soname_spec='$libname$shared_ext.$major'
20879 shlibpath_var=LD_LIBRARY_PATH
20883 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20887 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
20888 soname_spec='$libname$release$shared_ext$major'
20889 shlibpath_var=LD_LIBRARY_PATH
20890 shlibpath_overrides_runpath=yes
20891 hardcode_into_libs=yes
20892 if test yes = "$with_gnu_ld"; then
20893 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20895 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20898 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20902 sys_lib_dlsearch_path_spec='/usr/lib'
20906 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
20907 version_type=linux # correct to gnu/linux during the next big refactor
20910 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20911 shlibpath_var=LD_LIBRARY_PATH
20912 shlibpath_overrides_runpath=no
20913 hardcode_into_libs=yes
20917 version_type=linux # correct to gnu/linux during the next big refactor
20918 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20919 soname_spec='$libname$release$shared_ext$major'
20920 shlibpath_var=LD_LIBRARY_PATH
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20928 $as_echo "$dynamic_linker" >&6; }
20929 test no = "$dynamic_linker" && can_build_shared=no
20931 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20932 if test yes = "$GCC"; then
20933 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20936 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
20937 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
20940 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
20941 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
20944 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
20945 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
20947 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
20948 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
20950 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
20951 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20993 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20994 hardcode_action_F77=
20995 if test -n "$hardcode_libdir_flag_spec_F77" ||
20996 test -n "$runpath_var_F77" ||
20997 test yes = "$hardcode_automatic_F77"; then
20999 # We can hardcode non-existent directories.
21000 if test no != "$hardcode_direct_F77" &&
21001 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21002 # have to relink, otherwise we might link with an installed library
21003 # when we should be linking with a yet-to-be-installed one
21004 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" &&
21005 test no != "$hardcode_minus_L_F77"; then
21006 # Linking always hardcodes the temporary library directory.
21007 hardcode_action_F77=relink
21009 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21010 hardcode_action_F77=immediate
21013 # We cannot hardcode anything, or else we can only hardcode existing
21015 hardcode_action_F77=unsupported
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
21018 $as_echo "$hardcode_action_F77" >&6; }
21020 if test relink = "$hardcode_action_F77" ||
21021 test yes = "$inherit_rpath_F77"; then
21022 # Fast installation is not supported
21023 enable_fast_install=no
21024 elif test yes = "$shlibpath_overrides_runpath" ||
21025 test no = "$enable_shared"; then
21026 # Fast installation is not necessary
21027 enable_fast_install=needless
21036 fi # test -n "$compiler"
21040 CFLAGS=$lt_save_CFLAGS
21041 fi # test yes != "$_lt_disable_F77"
21044 ac_cpp='$CPP $CPPFLAGS'
21045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21050 ac_ext=${ac_fc_srcext-f}
21051 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
21052 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
21053 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
21054 if test -n "$ac_tool_prefix"; then
21055 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
21057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21060 $as_echo_n "checking for $ac_word... " >&6; }
21061 if ${ac_cv_prog_FC+:} false; then :
21062 $as_echo_n "(cached) " >&6
21064 if test -n "$FC"; then
21065 ac_cv_prog_FC="$FC" # Let the user override the test.
21067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21068 for as_dir in $PATH
21071 test -z "$as_dir" && as_dir=.
21072 for ac_exec_ext in '' $ac_executable_extensions; do
21073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21074 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
21075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21085 if test -n "$FC"; then
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
21087 $as_echo "$FC" >&6; }
21089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21090 $as_echo "no" >&6; }
21094 test -n "$FC" && break
21097 if test -z "$FC"; then
21099 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
21101 # Extract the first word of "$ac_prog", so it can be a program name with args.
21102 set dummy $ac_prog; ac_word=$2
21103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21104 $as_echo_n "checking for $ac_word... " >&6; }
21105 if ${ac_cv_prog_ac_ct_FC+:} false; then :
21106 $as_echo_n "(cached) " >&6
21108 if test -n "$ac_ct_FC"; then
21109 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
21111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21112 for as_dir in $PATH
21115 test -z "$as_dir" && as_dir=.
21116 for ac_exec_ext in '' $ac_executable_extensions; do
21117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21118 ac_cv_prog_ac_ct_FC="$ac_prog"
21119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21128 ac_ct_FC=$ac_cv_prog_ac_ct_FC
21129 if test -n "$ac_ct_FC"; then
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
21131 $as_echo "$ac_ct_FC" >&6; }
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21134 $as_echo "no" >&6; }
21138 test -n "$ac_ct_FC" && break
21141 if test "x$ac_ct_FC" = x; then
21144 case $cross_compiling:$ac_tool_warned in
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21148 ac_tool_warned=yes ;;
21155 # Provide some information about the compiler.
21156 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
21159 for ac_option in --version -v -V -qversion; do
21160 { { ac_try="$ac_compiler $ac_option >&5"
21161 case "(($ac_try" in
21162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21166 $as_echo "$ac_try_echo"; } >&5
21167 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
21169 if test -s conftest.err; then
21171 ... rest of stderr output deleted ...
21172 10q' conftest.err >conftest.er1
21173 cat conftest.er1 >&5
21175 rm -f conftest.er1 conftest.err
21176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21177 test $ac_status = 0; }
21181 # If we don't use `.F' as extension, the preprocessor is not run on the
21182 # input file. (Note that this only needs to work for GNU compilers.)
21183 ac_save_ext=$ac_ext
21185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
21186 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
21187 if ${ac_cv_fc_compiler_gnu+:} false; then :
21188 $as_echo_n "(cached) " >&6
21190 cat > conftest.$ac_ext <<_ACEOF
21198 if ac_fn_fc_try_compile "$LINENO"; then :
21199 ac_compiler_gnu=yes
21203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21204 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
21208 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
21209 ac_ext=$ac_save_ext
21210 ac_test_FCFLAGS=${FCFLAGS+set}
21211 ac_save_FCFLAGS=$FCFLAGS
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
21214 $as_echo_n "checking whether $FC accepts -g... " >&6; }
21215 if ${ac_cv_prog_fc_g+:} false; then :
21216 $as_echo_n "(cached) " >&6
21219 cat > conftest.$ac_ext <<_ACEOF
21224 if ac_fn_fc_try_compile "$LINENO"; then :
21225 ac_cv_prog_fc_g=yes
21229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
21233 $as_echo "$ac_cv_prog_fc_g" >&6; }
21234 if test "$ac_test_FCFLAGS" = set; then
21235 FCFLAGS=$ac_save_FCFLAGS
21236 elif test $ac_cv_prog_fc_g = yes; then
21237 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
21243 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
21250 if test $ac_compiler_gnu = yes; then
21255 ac_ext=${ac_fc_srcext-f}
21256 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
21257 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
21258 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
21261 ac_ext=${ac_fc_srcext-f}
21262 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
21263 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
21267 if test -z "$FC" || test no = "$FC"; then
21271 archive_cmds_need_lc_FC=no
21272 allow_undefined_flag_FC=
21273 always_export_symbols_FC=no
21274 archive_expsym_cmds_FC=
21275 export_dynamic_flag_spec_FC=
21276 hardcode_direct_FC=no
21277 hardcode_direct_absolute_FC=no
21278 hardcode_libdir_flag_spec_FC=
21279 hardcode_libdir_separator_FC=
21280 hardcode_minus_L_FC=no
21281 hardcode_automatic_FC=no
21282 inherit_rpath_FC=no
21284 module_expsym_cmds_FC=
21285 link_all_deplibs_FC=unknown
21286 old_archive_cmds_FC=$old_archive_cmds
21287 reload_flag_FC=$reload_flag
21288 reload_cmds_FC=$reload_cmds
21289 no_undefined_flag_FC=
21290 whole_archive_flag_spec_FC=
21291 enable_shared_with_static_runtimes_FC=no
21293 # Source file extension for fc test sources.
21294 ac_ext=${ac_fc_srcext-f}
21296 # Object file extension for compiled fc test sources.
21300 # No sense in running all these tests if we already determined that
21301 # the FC compiler isn't working. Some variables (like enable_shared)
21302 # are currently assumed to apply to all compilers on this platform,
21303 # and will be corrupted by setting them based on a non-working compiler.
21304 if test yes != "$_lt_disable_FC"; then
21305 # Code to be used in simple compile tests
21306 lt_simple_compile_test_code="\
21312 # Code to be used in simple link tests
21313 lt_simple_link_test_code="\
21318 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21325 # If no C compiler was specified, use CC.
21328 # If no C compiler flags were specified, use CFLAGS.
21329 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21331 # Allow CC to be a program name with arguments.
21335 # save warnings/boilerplate of simple test code
21336 ac_outfile=conftest.$ac_objext
21337 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21338 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21339 _lt_compiler_boilerplate=`cat conftest.err`
21342 ac_outfile=conftest.$ac_objext
21343 echo "$lt_simple_link_test_code" >conftest.$ac_ext
21344 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21345 _lt_linker_boilerplate=`cat conftest.err`
21349 # Allow CC to be a program name with arguments.
21352 lt_save_CFLAGS=$CFLAGS
21356 GCC=$ac_cv_fc_compiler_gnu
21359 func_cc_basename $compiler
21360 cc_basename=$func_cc_basename_result
21363 if test -n "$compiler"; then
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
21365 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
21367 $as_echo "$can_build_shared" >&6; }
21369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
21370 $as_echo_n "checking whether to build shared libraries... " >&6; }
21371 test no = "$can_build_shared" && enable_shared=no
21373 # On AIX, shared libraries and static libraries use the same namespace, and
21374 # are all built from PIC.
21377 test yes = "$enable_shared" && enable_static=no
21378 if test -n "$RANLIB"; then
21379 archive_cmds="$archive_cmds~\$RANLIB \$lib"
21380 postinstall_cmds='$RANLIB $lib'
21384 if test ia64 != "$host_cpu"; then
21385 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
21386 yes,aix,yes) ;; # shared object as lib.so file only
21387 yes,svr4,*) ;; # shared object as lib.so archive member only
21388 yes,*) enable_static=no ;; # shared object in lib.a archive as well
21393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
21394 $as_echo "$enable_shared" >&6; }
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
21397 $as_echo_n "checking whether to build static libraries... " >&6; }
21398 # Make sure either enable_shared or enable_static is yes.
21399 test yes = "$enable_shared" || enable_static=yes
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
21401 $as_echo "$enable_static" >&6; }
21403 GCC_FC=$ac_cv_fc_compiler_gnu
21407 ## There is no encapsulation within the following macros, do not change
21408 ## the running order or otherwise move them around unless you know exactly
21409 ## what you are doing...
21410 # Dependencies to place before and after the object being linked:
21412 postdep_objects_FC=
21415 compiler_lib_search_path_FC=
21417 cat > conftest.$ac_ext <<_LT_EOF
21427 _lt_libdeps_save_CFLAGS=$CFLAGS
21428 case "$CC $CFLAGS " in #(
21429 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
21430 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
21431 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
21434 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
21435 (eval $ac_compile) 2>&5
21437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21438 test $ac_status = 0; }; then
21439 # Parse the compiler output and extract the necessary
21440 # objects, libraries and library flags.
21442 # Sentinel used to keep track of whether or not we are before
21443 # the conftest object file.
21444 pre_test_object_deps_done=no
21446 for p in `eval "$output_verbose_link_cmd"`; do
21450 # Some compilers place space between "-{L,R}" and the path.
21451 # Remove the space.
21452 if test x-L = "$p" ||
21453 test x-R = "$p"; then
21458 # Expand the sysroot to ease extracting the directories later.
21459 if test -z "$prev"; then
21461 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
21462 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
21463 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
21467 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
21469 if test no = "$pre_test_object_deps_done"; then
21472 # Internal compiler library paths should come after those
21473 # provided the user. The postdeps already come after the
21474 # user supplied libs so there is no need to process them.
21475 if test -z "$compiler_lib_search_path_FC"; then
21476 compiler_lib_search_path_FC=$prev$p
21478 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} $prev$p"
21481 # The "-l" case would never come before the object being
21482 # linked, so don't bother handling this case.
21485 if test -z "$postdeps_FC"; then
21486 postdeps_FC=$prev$p
21488 postdeps_FC="${postdeps_FC} $prev$p"
21494 *.lto.$objext) ;; # Ignore GCC LTO objects
21496 # This assumes that the test object file only shows up
21497 # once in the compiler output.
21498 if test "$p" = "conftest.$objext"; then
21499 pre_test_object_deps_done=yes
21503 if test no = "$pre_test_object_deps_done"; then
21504 if test -z "$predep_objects_FC"; then
21505 predep_objects_FC=$p
21507 predep_objects_FC="$predep_objects_FC $p"
21510 if test -z "$postdep_objects_FC"; then
21511 postdep_objects_FC=$p
21513 postdep_objects_FC="$postdep_objects_FC $p"
21518 *) ;; # Ignore the rest.
21526 echo "libtool.m4: error: problem compiling FC test program"
21529 $RM -f confest.$objext
21530 CFLAGS=$_lt_libdeps_save_CFLAGS
21532 # PORTME: override above test on systems where it is broken
21535 case " $postdeps_FC " in
21536 *" -lc "*) archive_cmds_need_lc_FC=no ;;
21538 compiler_lib_search_dirs_FC=
21539 if test -n "${compiler_lib_search_path_FC}"; then
21540 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | $SED -e 's! -L! !g' -e 's!^ !!'`
21555 lt_prog_compiler_wl_FC=
21556 lt_prog_compiler_pic_FC=
21557 lt_prog_compiler_static_FC=
21560 if test yes = "$GCC"; then
21561 lt_prog_compiler_wl_FC='-Wl,'
21562 lt_prog_compiler_static_FC='-static'
21566 # All AIX code is PIC.
21567 if test ia64 = "$host_cpu"; then
21568 # AIX 5 now supports IA64 processor
21569 lt_prog_compiler_static_FC='-Bstatic'
21571 lt_prog_compiler_pic_FC='-fPIC'
21577 # see comment about AmigaOS4 .so support
21578 lt_prog_compiler_pic_FC='-fPIC'
21581 # FIXME: we need at least 68020 code to build shared libraries, but
21582 # adding the '-m68020' flag to GCC prevents building anything better,
21584 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
21589 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21590 # PIC is the default for these OSes.
21593 mingw* | cygwin* | pw32* | os2* | cegcc*)
21594 # This hack is so that the source file can tell whether it is being
21595 # built for inclusion in a dll (and should export symbols for example).
21596 # Although the cygwin gcc ignores -fPIC, still need this for old-style
21597 # (--disable-auto-import) libraries
21598 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
21601 lt_prog_compiler_static_FC='$wl-static'
21606 darwin* | rhapsody*)
21607 # PIC is the default on this platform
21608 # Common symbols not allowed in MH_DYLIB files
21609 lt_prog_compiler_pic_FC='-fno-common'
21613 # PIC is the default for Haiku.
21614 # The "-static" flag exists, but is broken.
21615 lt_prog_compiler_static_FC=
21619 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
21620 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
21621 # sets the default TLS model and affects inlining.
21627 lt_prog_compiler_pic_FC='-fPIC'
21633 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21634 # Instead, we relocate shared libraries at runtime.
21638 # Just because we use GCC doesn't mean we suddenly get shared libraries
21639 # on systems that don't support them.
21640 lt_prog_compiler_can_build_shared_FC=no
21645 # QNX uses GNU C++, but need to define -shared option too, otherwise
21646 # it will coredump.
21647 lt_prog_compiler_pic_FC='-fPIC -shared'
21651 if test -d /usr/nec; then
21652 lt_prog_compiler_pic_FC=-Kconform_pic
21657 lt_prog_compiler_pic_FC='-fPIC'
21661 case $cc_basename in
21662 nvcc*) # Cuda Compiler Driver 2.2
21663 lt_prog_compiler_wl_FC='-Xlinker '
21664 if test -n "$lt_prog_compiler_pic_FC"; then
21665 lt_prog_compiler_pic_FC="-Xcompiler $lt_prog_compiler_pic_FC"
21670 # PORTME Check for flag to pass linker flags through the system compiler.
21673 lt_prog_compiler_wl_FC='-Wl,'
21674 if test ia64 = "$host_cpu"; then
21675 # AIX 5 now supports IA64 processor
21676 lt_prog_compiler_static_FC='-Bstatic'
21678 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
21682 darwin* | rhapsody*)
21683 # PIC is the default on this platform
21684 # Common symbols not allowed in MH_DYLIB files
21685 lt_prog_compiler_pic_FC='-fno-common'
21686 case $cc_basename in
21688 # NAG Fortran compiler
21689 lt_prog_compiler_wl_FC='-Wl,-Wl,,'
21690 lt_prog_compiler_pic_FC='-PIC'
21691 lt_prog_compiler_static_FC='-Bstatic'
21696 mingw* | cygwin* | pw32* | os2* | cegcc*)
21697 # This hack is so that the source file can tell whether it is being
21698 # built for inclusion in a dll (and should export symbols for example).
21699 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
21702 lt_prog_compiler_static_FC='$wl-static'
21707 hpux9* | hpux10* | hpux11*)
21708 lt_prog_compiler_wl_FC='-Wl,'
21709 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21710 # not for PA HP-UX.
21716 lt_prog_compiler_pic_FC='+Z'
21719 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21720 lt_prog_compiler_static_FC='$wl-a ${wl}archive'
21723 irix5* | irix6* | nonstopux*)
21724 lt_prog_compiler_wl_FC='-Wl,'
21725 # PIC (with -KPIC) is the default.
21726 lt_prog_compiler_static_FC='-non_shared'
21729 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
21730 case $cc_basename in
21731 # old Intel for x86_64, which still supported -KPIC.
21733 lt_prog_compiler_wl_FC='-Wl,'
21734 lt_prog_compiler_pic_FC='-KPIC'
21735 lt_prog_compiler_static_FC='-static'
21737 # icc used to be incompatible with GCC.
21738 # ICC 10 doesn't accept -KPIC any more.
21740 lt_prog_compiler_wl_FC='-Wl,'
21741 lt_prog_compiler_pic_FC='-fPIC'
21742 lt_prog_compiler_static_FC='-static'
21744 # Lahey Fortran 8.1.
21746 lt_prog_compiler_wl_FC='-Wl,'
21747 lt_prog_compiler_pic_FC='--shared'
21748 lt_prog_compiler_static_FC='--static'
21751 # NAG Fortran compiler
21752 lt_prog_compiler_wl_FC='-Wl,-Wl,,'
21753 lt_prog_compiler_pic_FC='-PIC'
21754 lt_prog_compiler_static_FC='-Bstatic'
21757 # Fabrice Bellard et al's Tiny C Compiler
21758 lt_prog_compiler_wl_FC='-Wl,'
21759 lt_prog_compiler_pic_FC='-fPIC'
21760 lt_prog_compiler_static_FC='-static'
21762 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
21763 # Portland Group compilers (*not* the Pentium gcc compiler,
21764 # which looks to be a dead project)
21765 lt_prog_compiler_wl_FC='-Wl,'
21766 lt_prog_compiler_pic_FC='-fpic'
21767 lt_prog_compiler_static_FC='-Bstatic'
21770 lt_prog_compiler_wl_FC='-Wl,'
21771 # All Alpha code is PIC.
21772 lt_prog_compiler_static_FC='-non_shared'
21774 xl* | bgxl* | bgf* | mpixl*)
21775 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
21776 lt_prog_compiler_wl_FC='-Wl,'
21777 lt_prog_compiler_pic_FC='-qpic'
21778 lt_prog_compiler_static_FC='-qstaticlink'
21781 case `$CC -V 2>&1 | sed 5q` in
21782 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
21783 # Sun Fortran 8.3 passes all unrecognized flags to the linker
21784 lt_prog_compiler_pic_FC='-KPIC'
21785 lt_prog_compiler_static_FC='-Bstatic'
21786 lt_prog_compiler_wl_FC=''
21788 *Sun\ F* | *Sun*Fortran*)
21789 lt_prog_compiler_pic_FC='-KPIC'
21790 lt_prog_compiler_static_FC='-Bstatic'
21791 lt_prog_compiler_wl_FC='-Qoption ld '
21795 lt_prog_compiler_pic_FC='-KPIC'
21796 lt_prog_compiler_static_FC='-Bstatic'
21797 lt_prog_compiler_wl_FC='-Wl,'
21799 *Intel*\ [CF]*Compiler*)
21800 lt_prog_compiler_wl_FC='-Wl,'
21801 lt_prog_compiler_pic_FC='-fPIC'
21802 lt_prog_compiler_static_FC='-static'
21805 lt_prog_compiler_wl_FC='-Wl,'
21806 lt_prog_compiler_pic_FC='-fpic'
21807 lt_prog_compiler_static_FC='-Bstatic'
21815 lt_prog_compiler_pic_FC='-KPIC'
21816 lt_prog_compiler_static_FC='-Bstatic'
21820 # QNX uses GNU C++, but need to define -shared option too, otherwise
21821 # it will coredump.
21822 lt_prog_compiler_pic_FC='-fPIC -shared'
21825 osf3* | osf4* | osf5*)
21826 lt_prog_compiler_wl_FC='-Wl,'
21827 # All OSF/1 code is PIC.
21828 lt_prog_compiler_static_FC='-non_shared'
21832 lt_prog_compiler_static_FC='-non_shared'
21836 lt_prog_compiler_pic_FC='-KPIC'
21837 lt_prog_compiler_static_FC='-Bstatic'
21838 case $cc_basename in
21839 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
21840 lt_prog_compiler_wl_FC='-Qoption ld ';;
21842 lt_prog_compiler_wl_FC='-Wl,';;
21847 lt_prog_compiler_wl_FC='-Qoption ld '
21848 lt_prog_compiler_pic_FC='-PIC'
21849 lt_prog_compiler_static_FC='-Bstatic'
21852 sysv4 | sysv4.2uw2* | sysv4.3*)
21853 lt_prog_compiler_wl_FC='-Wl,'
21854 lt_prog_compiler_pic_FC='-KPIC'
21855 lt_prog_compiler_static_FC='-Bstatic'
21859 if test -d /usr/nec; then
21860 lt_prog_compiler_pic_FC='-Kconform_pic'
21861 lt_prog_compiler_static_FC='-Bstatic'
21865 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21866 lt_prog_compiler_wl_FC='-Wl,'
21867 lt_prog_compiler_pic_FC='-KPIC'
21868 lt_prog_compiler_static_FC='-Bstatic'
21872 lt_prog_compiler_wl_FC='-Wl,'
21873 lt_prog_compiler_can_build_shared_FC=no
21877 lt_prog_compiler_pic_FC='-pic'
21878 lt_prog_compiler_static_FC='-Bstatic'
21882 lt_prog_compiler_can_build_shared_FC=no
21888 # For platforms that do not support PIC, -DPIC is meaningless:
21890 lt_prog_compiler_pic_FC=
21893 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
21898 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
21899 if ${lt_cv_prog_compiler_pic_FC+:} false; then :
21900 $as_echo_n "(cached) " >&6
21902 lt_cv_prog_compiler_pic_FC=$lt_prog_compiler_pic_FC
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_FC" >&5
21905 $as_echo "$lt_cv_prog_compiler_pic_FC" >&6; }
21906 lt_prog_compiler_pic_FC=$lt_cv_prog_compiler_pic_FC
21909 # Check to make sure the PIC flag actually works.
21911 if test -n "$lt_prog_compiler_pic_FC"; then
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
21913 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
21914 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
21915 $as_echo_n "(cached) " >&6
21917 lt_cv_prog_compiler_pic_works_FC=no
21918 ac_outfile=conftest.$ac_objext
21919 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21920 lt_compiler_flag="$lt_prog_compiler_pic_FC" ## exclude from sc_useless_quotes_in_assignment
21921 # Insert the option either (1) after the last *FLAGS variable, or
21922 # (2) before a word containing "conftest.", or (3) at the end.
21923 # Note that $ac_compile itself does not contain backslashes and begins
21924 # with a dollar sign (not a hyphen), so the echo should work correctly.
21925 # The option is referenced via a variable to avoid confusing sed.
21926 lt_compile=`echo "$ac_compile" | $SED \
21927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21929 -e 's:$: $lt_compiler_flag:'`
21930 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
21931 (eval "$lt_compile" 2>conftest.err)
21933 cat conftest.err >&5
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 if (exit $ac_status) && test -s "$ac_outfile"; then
21936 # The compiler can only warn and ignore the option if not recognized
21937 # So say no if there are warnings other than the usual output.
21938 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
21939 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21940 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21941 lt_cv_prog_compiler_pic_works_FC=yes
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
21948 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
21950 if test yes = "$lt_cv_prog_compiler_pic_works_FC"; then
21951 case $lt_prog_compiler_pic_FC in
21953 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
21956 lt_prog_compiler_pic_FC=
21957 lt_prog_compiler_can_build_shared_FC=no
21967 # Check to make sure the static flag actually works.
21969 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21971 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
21972 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
21973 $as_echo_n "(cached) " >&6
21975 lt_cv_prog_compiler_static_works_FC=no
21976 save_LDFLAGS=$LDFLAGS
21977 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21978 echo "$lt_simple_link_test_code" > conftest.$ac_ext
21979 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21980 # The linker can only warn and ignore the option if not recognized
21981 # So say no if there are warnings
21982 if test -s conftest.err; then
21983 # Append any errors to the config.log.
21984 cat conftest.err 1>&5
21985 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
21986 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21987 if diff conftest.exp conftest.er2 >/dev/null; then
21988 lt_cv_prog_compiler_static_works_FC=yes
21991 lt_cv_prog_compiler_static_works_FC=yes
21995 LDFLAGS=$save_LDFLAGS
21998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
21999 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
22001 if test yes = "$lt_cv_prog_compiler_static_works_FC"; then
22004 lt_prog_compiler_static_FC=
22010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
22011 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
22012 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
22013 $as_echo_n "(cached) " >&6
22015 lt_cv_prog_compiler_c_o_FC=no
22016 $RM -r conftest 2>/dev/null
22020 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22022 lt_compiler_flag="-o out/conftest2.$ac_objext"
22023 # Insert the option either (1) after the last *FLAGS variable, or
22024 # (2) before a word containing "conftest.", or (3) at the end.
22025 # Note that $ac_compile itself does not contain backslashes and begins
22026 # with a dollar sign (not a hyphen), so the echo should work correctly.
22027 lt_compile=`echo "$ac_compile" | $SED \
22028 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22029 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22030 -e 's:$: $lt_compiler_flag:'`
22031 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
22032 (eval "$lt_compile" 2>out/conftest.err)
22034 cat out/conftest.err >&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22038 # The compiler can only warn and ignore the option if not recognized
22039 # So say no if there are warnings
22040 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
22041 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
22042 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22043 lt_cv_prog_compiler_c_o_FC=yes
22048 # SGI C++ compiler will create directory out/ii_files/ for
22049 # template instantiation
22050 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
22051 $RM out/* && rmdir out
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
22058 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
22063 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
22064 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
22065 $as_echo_n "(cached) " >&6
22067 lt_cv_prog_compiler_c_o_FC=no
22068 $RM -r conftest 2>/dev/null
22072 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22074 lt_compiler_flag="-o out/conftest2.$ac_objext"
22075 # Insert the option either (1) after the last *FLAGS variable, or
22076 # (2) before a word containing "conftest.", or (3) at the end.
22077 # Note that $ac_compile itself does not contain backslashes and begins
22078 # with a dollar sign (not a hyphen), so the echo should work correctly.
22079 lt_compile=`echo "$ac_compile" | $SED \
22080 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22081 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22082 -e 's:$: $lt_compiler_flag:'`
22083 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
22084 (eval "$lt_compile" 2>out/conftest.err)
22086 cat out/conftest.err >&5
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22090 # The compiler can only warn and ignore the option if not recognized
22091 # So say no if there are warnings
22092 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
22093 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
22094 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22095 lt_cv_prog_compiler_c_o_FC=yes
22100 # SGI C++ compiler will create directory out/ii_files/ for
22101 # template instantiation
22102 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
22103 $RM out/* && rmdir out
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
22110 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
22115 hard_links=nottested
22116 if test no = "$lt_cv_prog_compiler_c_o_FC" && test no != "$need_locks"; then
22117 # do not overwrite the value of need_locks provided by the user
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
22119 $as_echo_n "checking if we can lock with hard links... " >&6; }
22122 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22124 ln conftest.a conftest.b 2>&5 || hard_links=no
22125 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
22127 $as_echo "$hard_links" >&6; }
22128 if test no = "$hard_links"; then
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
22130 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22140 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
22143 allow_undefined_flag_FC=
22144 always_export_symbols_FC=no
22146 archive_expsym_cmds_FC=
22147 compiler_needs_object_FC=no
22148 enable_shared_with_static_runtimes_FC=no
22149 export_dynamic_flag_spec_FC=
22150 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22151 hardcode_automatic_FC=no
22152 hardcode_direct_FC=no
22153 hardcode_direct_absolute_FC=no
22154 hardcode_libdir_flag_spec_FC=
22155 hardcode_libdir_separator_FC=
22156 hardcode_minus_L_FC=no
22157 hardcode_shlibpath_var_FC=unsupported
22158 inherit_rpath_FC=no
22159 link_all_deplibs_FC=unknown
22161 module_expsym_cmds_FC=
22162 old_archive_from_new_cmds_FC=
22163 old_archive_from_expsyms_cmds_FC=
22164 thread_safe_flag_spec_FC=
22165 whole_archive_flag_spec_FC=
22166 # include_expsyms should be a list of space-separated symbols to be *always*
22167 # included in the symbol list
22168 include_expsyms_FC=
22169 # exclude_expsyms can be an extended regexp of symbols to exclude
22170 # it will be wrapped by ' (' and ')$', so one must not match beginning or
22171 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
22172 # as well as any symbol that contains 'd'.
22173 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
22174 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22175 # platforms (ab)use it in PIC code, but their linkers get confused if
22176 # the symbol is explicitly referenced. Since portable code cannot
22177 # rely on this symbol name, it's probably fine to never include it in
22178 # preloaded symbol tables.
22179 # Exclude shared library initialization/finalization symbols.
22180 extract_expsyms_cmds=
22183 cygwin* | mingw* | pw32* | cegcc*)
22184 # FIXME: the MSVC++ port hasn't been tested in a loooong time
22185 # When not using gcc, we currently assume that we are using
22186 # Microsoft Visual C++.
22187 if test yes != "$GCC"; then
22192 # we just hope/assume this is gcc and not c89 (= MSVC++)
22195 openbsd* | bitrig*)
22202 # On some targets, GNU ld is compatible enough with the native linker
22203 # that we're better off using the native interface for both.
22204 lt_use_gnu_ld_interface=no
22205 if test yes = "$with_gnu_ld"; then
22208 # The AIX port of GNU ld has always aspired to compatibility
22209 # with the native linker. However, as the warning in the GNU ld
22210 # block says, versions before 2.19.5* couldn't really create working
22211 # shared libraries, regardless of the interface used.
22212 case `$LD -v 2>&1` in
22213 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
22214 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
22215 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
22217 lt_use_gnu_ld_interface=yes
22222 lt_use_gnu_ld_interface=yes
22227 if test yes = "$lt_use_gnu_ld_interface"; then
22228 # If archive_cmds runs LD, not CC, wlarc should be empty
22231 # Set some defaults for GNU ld with shared library support. These
22232 # are reset later if shared libraries are not supported. Putting them
22233 # here allows them to be overridden if necessary.
22234 runpath_var=LD_RUN_PATH
22235 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
22236 export_dynamic_flag_spec_FC='$wl--export-dynamic'
22237 # ancient GNU ld didn't support --whole-archive et. al.
22238 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
22239 whole_archive_flag_spec_FC=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
22241 whole_archive_flag_spec_FC=
22243 supports_anon_versioning=no
22244 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
22245 *GNU\ gold*) supports_anon_versioning=yes ;;
22246 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
22247 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
22248 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
22249 *\ 2.11.*) ;; # other 2.11 versions
22250 *) supports_anon_versioning=yes ;;
22253 # See if GNU ld supports shared libraries.
22256 # On AIX/PPC, the GNU linker is very broken
22257 if test ia64 != "$host_cpu"; then
22261 *** Warning: the GNU linker, at least up to release 2.19, is reported
22262 *** to be unable to reliably create shared libraries on AIX.
22263 *** Therefore, libtool is disabling shared libraries support. If you
22264 *** really care for shared libraries, you may want to install binutils
22265 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
22266 *** You will then need to restart the configuration process.
22275 # see comment about AmigaOS4 .so support
22276 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22277 archive_expsym_cmds_FC=''
22280 archive_cmds_FC='$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)'
22281 hardcode_libdir_flag_spec_FC='-L$libdir'
22282 hardcode_minus_L_FC=yes
22288 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22289 allow_undefined_flag_FC=unsupported
22290 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22291 # support --undefined. This deserves some investigation. FIXME
22292 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22298 cygwin* | mingw* | pw32* | cegcc*)
22299 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
22300 # as there is no search path for DLLs.
22301 hardcode_libdir_flag_spec_FC='-L$libdir'
22302 export_dynamic_flag_spec_FC='$wl--export-all-symbols'
22303 allow_undefined_flag_FC=unsupported
22304 always_export_symbols_FC=no
22305 enable_shared_with_static_runtimes_FC=yes
22306 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
22307 exclude_expsyms_FC='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
22309 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
22310 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22311 # If the export-symbols file already is a .def file, use it as
22312 # is; otherwise, prepend EXPORTS...
22313 archive_expsym_cmds_FC='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
22314 cp $export_symbols $output_objdir/$soname.def;
22316 echo EXPORTS > $output_objdir/$soname.def;
22317 cat $export_symbols >> $output_objdir/$soname.def;
22319 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22326 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22327 link_all_deplibs_FC=yes
22331 hardcode_libdir_flag_spec_FC='-L$libdir'
22332 hardcode_minus_L_FC=yes
22333 allow_undefined_flag_FC=unsupported
22335 archive_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
22336 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
22337 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
22338 $ECHO EXPORTS >> $output_objdir/$libname.def~
22339 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
22340 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
22341 emximp -o $lib $output_objdir/$libname.def'
22342 archive_expsym_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
22343 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
22344 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
22345 $ECHO EXPORTS >> $output_objdir/$libname.def~
22346 prefix_cmds="$SED"~
22347 if test EXPORTS = "`$SED 1q $export_symbols`"; then
22348 prefix_cmds="$prefix_cmds -e 1d";
22350 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
22351 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
22352 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
22353 emximp -o $lib $output_objdir/$libname.def'
22354 old_archive_From_new_cmds_FC='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
22355 enable_shared_with_static_runtimes_FC=yes
22359 hardcode_direct_FC=no
22360 hardcode_shlibpath_var_FC=no
22361 hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir'
22362 export_dynamic_flag_spec_FC='$wl-E'
22363 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
22364 # Instead, shared libraries are loaded at an image base (0x10000000 by
22365 # default) and relocated if they conflict, which is a slow very memory
22366 # consuming and fragmenting process. To avoid this, we pick a random,
22367 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
22368 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
22369 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
22370 archive_expsym_cmds_FC='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'
22373 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
22375 if test linux-dietlibc = "$host_os"; then
22376 case $cc_basename in
22377 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
22380 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
22381 && test no = "$tmp_diet"
22383 tmp_addflag=' $pic_flag'
22384 tmp_sharedflag='-shared'
22385 case $cc_basename,$host_cpu in
22386 pgcc*) # Portland Group C compiler
22387 whole_archive_flag_spec_FC='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
22388 tmp_addflag=' $pic_flag'
22390 pgf77* | pgf90* | pgf95* | pgfortran*)
22391 # Portland Group f77 and f90 compilers
22392 whole_archive_flag_spec_FC='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
22393 tmp_addflag=' $pic_flag -Mnomain' ;;
22394 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
22395 tmp_addflag=' -i_dynamic' ;;
22396 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
22397 tmp_addflag=' -i_dynamic -nofor_main' ;;
22398 ifc* | ifort*) # Intel Fortran compiler
22399 tmp_addflag=' -nofor_main' ;;
22400 lf95*) # Lahey Fortran 8.1
22401 whole_archive_flag_spec_FC=
22402 tmp_sharedflag='--shared' ;;
22403 nagfor*) # NAGFOR 5.3
22404 tmp_sharedflag='-Wl,-shared' ;;
22405 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
22406 tmp_sharedflag='-qmkshrobj'
22408 nvcc*) # Cuda Compiler Driver 2.2
22409 whole_archive_flag_spec_FC='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
22410 compiler_needs_object_FC=yes
22413 case `$CC -V 2>&1 | sed 5q` in
22414 *Sun\ C*) # Sun C 5.9
22415 whole_archive_flag_spec_FC='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
22416 compiler_needs_object_FC=yes
22417 tmp_sharedflag='-G' ;;
22418 *Sun\ F*) # Sun Fortran 8.3
22419 tmp_sharedflag='-G' ;;
22421 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22423 if test yes = "$supports_anon_versioning"; then
22424 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
22425 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22426 echo "local: *; };" >> $output_objdir/$libname.ver~
22427 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
22430 case $cc_basename in
22432 export_dynamic_flag_spec_FC='-rdynamic'
22434 xlf* | bgf* | bgxlf* | mpixlf*)
22435 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
22436 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
22437 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
22438 archive_cmds_FC='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
22439 if test yes = "$supports_anon_versioning"; then
22440 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
22441 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22442 echo "local: *; };" >> $output_objdir/$libname.ver~
22443 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
22453 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
22454 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22457 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22458 archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
22463 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
22467 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
22468 *** create shared libraries on Solaris systems. Therefore, libtool
22469 *** is disabling shared libraries support. We urge you to upgrade GNU
22470 *** binutils to release 2.9.1 or newer. Another option is to modify
22471 *** your PATH or compiler configuration so that the native linker is
22472 *** used, and then restart.
22475 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22476 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22477 archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
22483 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
22484 case `$LD -v 2>&1` in
22485 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
22489 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
22490 *** reliably create shared libraries on SCO systems. Therefore, libtool
22491 *** is disabling shared libraries support. We urge you to upgrade GNU
22492 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
22493 *** your PATH or compiler configuration so that the native linker is
22494 *** used, and then restart.
22499 # For security reasons, it is highly recommended that you always
22500 # use absolute paths for naming shared libraries, and exclude the
22501 # DT_RUNPATH tag from executables and libraries. But doing so
22502 # requires that you compile everything twice, which is a pain.
22503 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22504 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
22505 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22506 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
22515 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22517 hardcode_direct_FC=yes
22518 hardcode_shlibpath_var_FC=no
22522 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22523 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22524 archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
22531 if test no = "$ld_shlibs_FC"; then
22533 hardcode_libdir_flag_spec_FC=
22534 export_dynamic_flag_spec_FC=
22535 whole_archive_flag_spec_FC=
22538 # PORTME fill in a description of your system's linker (not GNU ld)
22541 allow_undefined_flag_FC=unsupported
22542 always_export_symbols_FC=yes
22543 archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
22544 # Note: this linker hardcodes the directories in LIBPATH if there
22545 # are no directories specified by -L.
22546 hardcode_minus_L_FC=yes
22547 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
22548 # Neither direct hardcoding nor static linking is supported with a
22550 hardcode_direct_FC=unsupported
22555 if test ia64 = "$host_cpu"; then
22556 # On IA64, the linker does run time linking by default, so we don't
22557 # have to do anything special.
22558 aix_use_runtimelinking=no
22559 exp_sym_flag='-Bexport'
22562 # If we're using GNU nm, then we don't want the "-C" option.
22563 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
22564 # Without the "-l" option, or with the "-B" option, AIX nm treats
22565 # weak defined symbols like other global defined symbols, whereas
22566 # GNU nm marks them as "W".
22567 # While the 'weak' keyword is ignored in the Export File, we need
22568 # it in the Import File for the 'aix-soname' feature, so we have
22569 # to replace the "-B" option with "-P" for AIX nm.
22570 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
22571 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
22573 export_symbols_cmds_FC='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
22575 aix_use_runtimelinking=no
22577 # Test if we are trying to use run time linking or normal
22578 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22579 # have runtime linking enabled, and use it for executables.
22580 # For shared libraries, we enable/disable runtime linking
22581 # depending on the kind of the shared library created -
22582 # when "with_aix_soname,aix_use_runtimelinking" is:
22583 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
22584 # "aix,yes" lib.so shared, rtl:yes, for executables
22585 # lib.a static archive
22586 # "both,no" lib.so.V(shr.o) shared, rtl:yes
22587 # lib.a(lib.so.V) shared, rtl:no, for executables
22588 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
22589 # lib.a(lib.so.V) shared, rtl:no
22590 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
22591 # lib.a static archive
22592 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
22593 for ld_flag in $LDFLAGS; do
22594 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
22595 aix_use_runtimelinking=yes
22599 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
22600 # With aix-soname=svr4, we create the lib.so.V shared archives only,
22601 # so we don't have lib.a shared libs to link our executables.
22602 # We have to force runtime linking in this case.
22603 aix_use_runtimelinking=yes
22604 LDFLAGS="$LDFLAGS -Wl,-brtl"
22609 exp_sym_flag='-bexport'
22610 no_entry_flag='-bnoentry'
22613 # When large executables or shared objects are built, AIX ld can
22614 # have problems creating the table of contents. If linking a library
22615 # or program results in "error TOC overflow" add -mminimal-toc to
22616 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22617 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22620 hardcode_direct_FC=yes
22621 hardcode_direct_absolute_FC=yes
22622 hardcode_libdir_separator_FC=':'
22623 link_all_deplibs_FC=yes
22624 file_list_spec_FC='$wl-f,'
22625 case $with_aix_soname,$aix_use_runtimelinking in
22626 aix,*) ;; # traditional, no import file
22627 svr4,* | *,yes) # use import file
22628 # The Import File defines what to hardcode.
22629 hardcode_direct_FC=no
22630 hardcode_direct_absolute_FC=no
22634 if test yes = "$GCC"; then
22635 case $host_os in aix4.[012]|aix4.[012].*)
22636 # We only want to do this on AIX 4.2 and lower, the check
22637 # below for broken collect2 doesn't work under 4.3+
22638 collect2name=`$CC -print-prog-name=collect2`
22639 if test -f "$collect2name" &&
22640 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
22642 # We have reworked collect2
22645 # We have old collect2
22646 hardcode_direct_FC=unsupported
22647 # It fails to find uninstalled libraries when the uninstalled
22648 # path is not listed in the libpath. Setting hardcode_minus_L
22649 # to unsupported forces relinking
22650 hardcode_minus_L_FC=yes
22651 hardcode_libdir_flag_spec_FC='-L$libdir'
22652 hardcode_libdir_separator_FC=
22656 shared_flag='-shared'
22657 if test yes = "$aix_use_runtimelinking"; then
22658 shared_flag="$shared_flag "'$wl-G'
22660 # Need to ensure runtime linking is disabled for the traditional
22661 # shared library, or the linker may eventually find shared libraries
22662 # /with/ Import File - we do not want to mix them.
22663 shared_flag_aix='-shared'
22664 shared_flag_svr4='-shared $wl-G'
22667 if test ia64 = "$host_cpu"; then
22668 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22669 # chokes on -Wl,-G. The following line is correct:
22672 if test yes = "$aix_use_runtimelinking"; then
22673 shared_flag='$wl-G'
22675 shared_flag='$wl-bM:SRE'
22677 shared_flag_aix='$wl-bM:SRE'
22678 shared_flag_svr4='$wl-G'
22682 export_dynamic_flag_spec_FC='$wl-bexpall'
22683 # It seems that -bexpall does not export symbols beginning with
22684 # underscore (_), so it is better to generate a list of symbols to export.
22685 always_export_symbols_FC=yes
22686 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
22687 # Warning - without using the other runtime loading flags (-brtl),
22688 # -berok will link without error, but may produce a broken library.
22689 allow_undefined_flag_FC='-berok'
22690 # Determine the default libpath from the value encoded in an
22691 # empty executable.
22692 if test set = "${lt_cv_aix_libpath+set}"; then
22693 aix_libpath=$lt_cv_aix_libpath
22695 if ${lt_cv_aix_libpath__FC+:} false; then :
22696 $as_echo_n "(cached) " >&6
22698 cat > conftest.$ac_ext <<_ACEOF
22703 if ac_fn_fc_try_link "$LINENO"; then :
22705 lt_aix_libpath_sed='
22706 /Import File Strings/,/^$/ {
22708 s/^0 *\([^ ]*\) *$/\1/
22712 lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22713 # Check for a 64-bit object if we didn't find anything.
22714 if test -z "$lt_cv_aix_libpath__FC"; then
22715 lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22718 rm -f core conftest.err conftest.$ac_objext \
22719 conftest$ac_exeext conftest.$ac_ext
22720 if test -z "$lt_cv_aix_libpath__FC"; then
22721 lt_cv_aix_libpath__FC=/usr/lib:/lib
22726 aix_libpath=$lt_cv_aix_libpath__FC
22729 hardcode_libdir_flag_spec_FC='$wl-blibpath:$libdir:'"$aix_libpath"
22730 archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
22732 if test ia64 = "$host_cpu"; then
22733 hardcode_libdir_flag_spec_FC='$wl-R $libdir:/usr/lib:/lib'
22734 allow_undefined_flag_FC="-z nodefs"
22735 archive_expsym_cmds_FC="\$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"
22737 # Determine the default libpath from the value encoded in an
22738 # empty executable.
22739 if test set = "${lt_cv_aix_libpath+set}"; then
22740 aix_libpath=$lt_cv_aix_libpath
22742 if ${lt_cv_aix_libpath__FC+:} false; then :
22743 $as_echo_n "(cached) " >&6
22745 cat > conftest.$ac_ext <<_ACEOF
22750 if ac_fn_fc_try_link "$LINENO"; then :
22752 lt_aix_libpath_sed='
22753 /Import File Strings/,/^$/ {
22755 s/^0 *\([^ ]*\) *$/\1/
22759 lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22760 # Check for a 64-bit object if we didn't find anything.
22761 if test -z "$lt_cv_aix_libpath__FC"; then
22762 lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22765 rm -f core conftest.err conftest.$ac_objext \
22766 conftest$ac_exeext conftest.$ac_ext
22767 if test -z "$lt_cv_aix_libpath__FC"; then
22768 lt_cv_aix_libpath__FC=/usr/lib:/lib
22773 aix_libpath=$lt_cv_aix_libpath__FC
22776 hardcode_libdir_flag_spec_FC='$wl-blibpath:$libdir:'"$aix_libpath"
22777 # Warning - without using the other run time loading flags,
22778 # -berok will link without error, but may produce a broken library.
22779 no_undefined_flag_FC=' $wl-bernotok'
22780 allow_undefined_flag_FC=' $wl-berok'
22781 if test yes = "$with_gnu_ld"; then
22782 # We only use this code for GNU lds that support --whole-archive.
22783 whole_archive_flag_spec_FC='$wl--whole-archive$convenience $wl--no-whole-archive'
22785 # Exported symbols can be pulled into shared objects from archives
22786 whole_archive_flag_spec_FC='$convenience'
22788 archive_cmds_need_lc_FC=yes
22789 archive_expsym_cmds_FC='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
22790 # -brtl affects multiple linker settings, -berok does not and is overridden later
22791 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
22792 if test svr4 != "$with_aix_soname"; then
22793 # This is similar to how AIX traditionally builds its shared libraries.
22794 archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
22796 if test aix != "$with_aix_soname"; then
22797 archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
22799 # used by -dlpreopen to get the symbols
22800 archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
22802 archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$RM -r $output_objdir/$realname.d'
22810 # see comment about AmigaOS4 .so support
22811 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22812 archive_expsym_cmds_FC=''
22815 archive_cmds_FC='$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)'
22816 hardcode_libdir_flag_spec_FC='-L$libdir'
22817 hardcode_minus_L_FC=yes
22823 export_dynamic_flag_spec_FC=-rdynamic
22826 cygwin* | mingw* | pw32* | cegcc*)
22827 # When not using gcc, we currently assume that we are using
22828 # Microsoft Visual C++.
22829 # hardcode_libdir_flag_spec is actually meaningless, as there is
22830 # no search path for DLLs.
22831 case $cc_basename in
22834 hardcode_libdir_flag_spec_FC=' '
22835 allow_undefined_flag_FC=unsupported
22836 always_export_symbols_FC=yes
22837 file_list_spec_FC='@'
22838 # Tell ltmain to make .lib files, not .a files.
22840 # Tell ltmain to make .dll files, not .so files.
22842 # FIXME: Setting linknames here is a bad hack.
22843 archive_cmds_FC='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
22844 archive_expsym_cmds_FC='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
22845 cp "$export_symbols" "$output_objdir/$soname.def";
22846 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
22848 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
22850 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
22852 # The linker will not automatically build a static lib if we build a DLL.
22853 # _LT_TAGVAR(old_archive_from_new_cmds, FC)='true'
22854 enable_shared_with_static_runtimes_FC=yes
22855 exclude_expsyms_FC='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
22856 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
22858 old_postinstall_cmds_FC='chmod 644 $oldlib'
22859 postlink_cmds_FC='lt_outputfile="@OUTPUT@"~
22860 lt_tool_outputfile="@TOOL_OUTPUT@"~
22861 case $lt_outputfile in
22864 lt_outputfile=$lt_outputfile.exe
22865 lt_tool_outputfile=$lt_tool_outputfile.exe
22868 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
22869 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
22870 $RM "$lt_outputfile.manifest";
22874 # Assume MSVC wrapper
22875 hardcode_libdir_flag_spec_FC=' '
22876 allow_undefined_flag_FC=unsupported
22877 # Tell ltmain to make .lib files, not .a files.
22879 # Tell ltmain to make .dll files, not .so files.
22881 # FIXME: Setting linknames here is a bad hack.
22882 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
22883 # The linker will automatically build a .lib file if we build a DLL.
22884 old_archive_from_new_cmds_FC='true'
22885 # FIXME: Should let the user specify the lib program.
22886 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
22887 enable_shared_with_static_runtimes_FC=yes
22892 darwin* | rhapsody*)
22895 archive_cmds_need_lc_FC=no
22896 hardcode_direct_FC=no
22897 hardcode_automatic_FC=yes
22898 hardcode_shlibpath_var_FC=unsupported
22899 if test yes = "$lt_cv_ld_force_load"; then
22900 whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
22901 compiler_needs_object_FC=yes
22903 whole_archive_flag_spec_FC=''
22905 link_all_deplibs_FC=yes
22906 allow_undefined_flag_FC=$_lt_dar_allow_undefined
22907 case $cc_basename in
22908 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
22909 *) _lt_dar_can_shared=$GCC ;;
22911 if test yes = "$_lt_dar_can_shared"; then
22912 output_verbose_link_cmd=func_echo_all
22913 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
22914 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
22915 archive_expsym_cmds_FC="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"
22916 module_expsym_cmds_FC="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"
22925 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22926 hardcode_libdir_flag_spec_FC='-L$libdir'
22927 hardcode_shlibpath_var_FC=no
22930 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22931 # support. Future versions do this automatically, but an explicit c++rt0.o
22932 # does not break anything, and helps significantly (at the cost of a little
22935 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22936 hardcode_libdir_flag_spec_FC='-R$libdir'
22937 hardcode_direct_FC=yes
22938 hardcode_shlibpath_var_FC=no
22941 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22943 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22944 hardcode_direct_FC=yes
22945 hardcode_minus_L_FC=yes
22946 hardcode_shlibpath_var_FC=no
22949 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22950 freebsd* | dragonfly*)
22951 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22952 hardcode_libdir_flag_spec_FC='-R$libdir'
22953 hardcode_direct_FC=yes
22954 hardcode_shlibpath_var_FC=no
22958 if test yes = "$GCC"; then
22959 archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
22961 archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
22963 hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir'
22964 hardcode_libdir_separator_FC=:
22965 hardcode_direct_FC=yes
22967 # hardcode_minus_L: Not really in the search PATH,
22968 # but as the default location of the library.
22969 hardcode_minus_L_FC=yes
22970 export_dynamic_flag_spec_FC='$wl-E'
22974 if test yes,no = "$GCC,$with_gnu_ld"; then
22975 archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22977 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22979 if test no = "$with_gnu_ld"; then
22980 hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir'
22981 hardcode_libdir_separator_FC=:
22982 hardcode_direct_FC=yes
22983 hardcode_direct_absolute_FC=yes
22984 export_dynamic_flag_spec_FC='$wl-E'
22985 # hardcode_minus_L: Not really in the search PATH,
22986 # but as the default location of the library.
22987 hardcode_minus_L_FC=yes
22992 if test yes,no = "$GCC,$with_gnu_ld"; then
22995 archive_cmds_FC='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
22998 archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
23001 archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23007 archive_cmds_FC='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
23010 archive_cmds_FC='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
23013 archive_cmds_FC='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23017 if test no = "$with_gnu_ld"; then
23018 hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir'
23019 hardcode_libdir_separator_FC=:
23023 hardcode_direct_FC=no
23024 hardcode_shlibpath_var_FC=no
23027 hardcode_direct_FC=yes
23028 hardcode_direct_absolute_FC=yes
23029 export_dynamic_flag_spec_FC='$wl-E'
23031 # hardcode_minus_L: Not really in the search PATH,
23032 # but as the default location of the library.
23033 hardcode_minus_L_FC=yes
23039 irix5* | irix6* | nonstopux*)
23040 if test yes = "$GCC"; then
23041 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
23042 # Try to use the -exported_symbol ld option, if it does not
23043 # work, assume that -exports_file does not work either and
23044 # implicitly export all symbols.
23045 # This should be the same for all languages, so no per-tag cache variable.
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
23047 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
23048 if ${lt_cv_irix_exported_symbol+:} false; then :
23049 $as_echo_n "(cached) " >&6
23051 save_LDFLAGS=$LDFLAGS
23052 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
23053 cat > conftest.$ac_ext <<_ACEOF
23058 if ac_fn_fc_try_link "$LINENO"; then :
23059 lt_cv_irix_exported_symbol=yes
23061 lt_cv_irix_exported_symbol=no
23063 rm -f core conftest.err conftest.$ac_objext \
23064 conftest$ac_exeext conftest.$ac_ext
23065 LDFLAGS=$save_LDFLAGS
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
23068 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
23069 if test yes = "$lt_cv_irix_exported_symbol"; then
23070 archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
23073 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
23074 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
23076 archive_cmds_need_lc_FC='no'
23077 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23078 hardcode_libdir_separator_FC=:
23079 inherit_rpath_FC=yes
23080 link_all_deplibs_FC=yes
23084 case $cc_basename in
23086 # Fabrice Bellard et al's Tiny C Compiler
23088 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23094 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
23095 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
23097 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
23099 hardcode_libdir_flag_spec_FC='-R$libdir'
23100 hardcode_direct_FC=yes
23101 hardcode_shlibpath_var_FC=no
23105 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23106 hardcode_direct_FC=yes
23107 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23108 hardcode_libdir_separator_FC=:
23109 hardcode_shlibpath_var_FC=no
23115 openbsd* | bitrig*)
23116 if test -f /usr/libexec/ld.so; then
23117 hardcode_direct_FC=yes
23118 hardcode_shlibpath_var_FC=no
23119 hardcode_direct_absolute_FC=yes
23120 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
23121 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23122 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
23123 hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir'
23124 export_dynamic_flag_spec_FC='$wl-E'
23126 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23127 hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir'
23135 hardcode_libdir_flag_spec_FC='-L$libdir'
23136 hardcode_minus_L_FC=yes
23137 allow_undefined_flag_FC=unsupported
23139 archive_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
23140 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
23141 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
23142 $ECHO EXPORTS >> $output_objdir/$libname.def~
23143 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
23144 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
23145 emximp -o $lib $output_objdir/$libname.def'
23146 archive_expsym_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
23147 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
23148 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
23149 $ECHO EXPORTS >> $output_objdir/$libname.def~
23150 prefix_cmds="$SED"~
23151 if test EXPORTS = "`$SED 1q $export_symbols`"; then
23152 prefix_cmds="$prefix_cmds -e 1d";
23154 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
23155 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
23156 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
23157 emximp -o $lib $output_objdir/$libname.def'
23158 old_archive_From_new_cmds_FC='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
23159 enable_shared_with_static_runtimes_FC=yes
23163 if test yes = "$GCC"; then
23164 allow_undefined_flag_FC=' $wl-expect_unresolved $wl\*'
23165 archive_cmds_FC='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
23167 allow_undefined_flag_FC=' -expect_unresolved \*'
23168 archive_cmds_FC='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
23170 archive_cmds_need_lc_FC='no'
23171 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23172 hardcode_libdir_separator_FC=:
23175 osf4* | osf5*) # as osf3* with the addition of -msym flag
23176 if test yes = "$GCC"; then
23177 allow_undefined_flag_FC=' $wl-expect_unresolved $wl\*'
23178 archive_cmds_FC='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
23179 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23181 allow_undefined_flag_FC=' -expect_unresolved \*'
23182 archive_cmds_FC='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
23183 archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
23184 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
23186 # Both c and cxx compiler support -rpath directly
23187 hardcode_libdir_flag_spec_FC='-rpath $libdir'
23189 archive_cmds_need_lc_FC='no'
23190 hardcode_libdir_separator_FC=:
23194 no_undefined_flag_FC=' -z defs'
23195 if test yes = "$GCC"; then
23197 archive_cmds_FC='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
23198 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
23199 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
23201 case `$CC -V 2>&1` in
23204 archive_cmds_FC='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
23205 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
23206 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
23210 archive_cmds_FC='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
23211 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
23212 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
23216 hardcode_libdir_flag_spec_FC='-R$libdir'
23217 hardcode_shlibpath_var_FC=no
23219 solaris2.[0-5] | solaris2.[0-5].*) ;;
23221 # The compiler driver will combine and reorder linker options,
23222 # but understands '-z linker_flag'. GCC discards it without '$wl',
23223 # but is careful enough not to reorder.
23224 # Supported since Solaris 2.6 (maybe 2.5.1?)
23225 if test yes = "$GCC"; then
23226 whole_archive_flag_spec_FC='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
23228 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
23232 link_all_deplibs_FC=yes
23236 if test sequent = "$host_vendor"; then
23237 # Use $CC to link under sequent, because it throws in some extra .o
23238 # files that make .init and .fini sections work.
23239 archive_cmds_FC='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
23241 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
23243 hardcode_libdir_flag_spec_FC='-L$libdir'
23244 hardcode_direct_FC=yes
23245 hardcode_minus_L_FC=yes
23246 hardcode_shlibpath_var_FC=no
23250 case $host_vendor in
23252 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23253 hardcode_direct_FC=yes # is this really true???
23256 ## LD is ld it makes a PLAMLIB
23257 ## CC just makes a GrossModule.
23258 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23259 reload_cmds_FC='$CC -r -o $output$reload_objs'
23260 hardcode_direct_FC=no
23263 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23264 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
23267 runpath_var='LD_RUN_PATH'
23268 hardcode_shlibpath_var_FC=no
23272 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23273 hardcode_shlibpath_var_FC=no
23274 export_dynamic_flag_spec_FC='-Bexport'
23278 if test -d /usr/nec; then
23279 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23280 hardcode_shlibpath_var_FC=no
23281 runpath_var=LD_RUN_PATH
23282 hardcode_runpath_var=yes
23287 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
23288 no_undefined_flag_FC='$wl-z,text'
23289 archive_cmds_need_lc_FC=no
23290 hardcode_shlibpath_var_FC=no
23291 runpath_var='LD_RUN_PATH'
23293 if test yes = "$GCC"; then
23294 archive_cmds_FC='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23295 archive_expsym_cmds_FC='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23297 archive_cmds_FC='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23298 archive_expsym_cmds_FC='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23302 sysv5* | sco3.2v5* | sco5v6*)
23303 # Note: We CANNOT use -z defs as we might desire, because we do not
23304 # link with -lc, and that would cause any symbols used from libc to
23305 # always be unresolved, which means just about no library would
23306 # ever link correctly. If we're not using GNU ld we use -z text
23307 # though, which does catch some bad symbols but isn't as heavy-handed
23309 no_undefined_flag_FC='$wl-z,text'
23310 allow_undefined_flag_FC='$wl-z,nodefs'
23311 archive_cmds_need_lc_FC=no
23312 hardcode_shlibpath_var_FC=no
23313 hardcode_libdir_flag_spec_FC='$wl-R,$libdir'
23314 hardcode_libdir_separator_FC=':'
23315 link_all_deplibs_FC=yes
23316 export_dynamic_flag_spec_FC='$wl-Bexport'
23317 runpath_var='LD_RUN_PATH'
23319 if test yes = "$GCC"; then
23320 archive_cmds_FC='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23321 archive_expsym_cmds_FC='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23323 archive_cmds_FC='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23324 archive_expsym_cmds_FC='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23329 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23330 hardcode_libdir_flag_spec_FC='-L$libdir'
23331 hardcode_shlibpath_var_FC=no
23339 if test sni = "$host_vendor"; then
23341 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
23342 export_dynamic_flag_spec_FC='$wl-Blargedynsym'
23348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
23349 $as_echo "$ld_shlibs_FC" >&6; }
23350 test no = "$ld_shlibs_FC" && can_build_shared=no
23352 with_gnu_ld_FC=$with_gnu_ld
23360 # Do we need to explicitly link libc?
23362 case "x$archive_cmds_need_lc_FC" in
23364 # Assume -lc should be added
23365 archive_cmds_need_lc_FC=yes
23367 if test yes,yes = "$GCC,$enable_shared"; then
23368 case $archive_cmds_FC in
23370 # FIXME: we may have to deal with multi-command sequences.
23373 # Test whether the compiler implicitly links with -lc since on some
23374 # systems, -lgcc has to come before -lc. If gcc already passes -lc
23375 # to ld, don't add -lc before -lgcc.
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
23377 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
23378 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
23379 $as_echo_n "(cached) " >&6
23382 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
23385 (eval $ac_compile) 2>&5
23387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23388 test $ac_status = 0; } 2>conftest.err; then
23391 libobjs=conftest.$ac_objext
23393 wl=$lt_prog_compiler_wl_FC
23394 pic_flag=$lt_prog_compiler_pic_FC
23400 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
23401 allow_undefined_flag_FC=
23402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
23403 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
23405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23406 test $ac_status = 0; }
23408 lt_cv_archive_cmds_need_lc_FC=no
23410 lt_cv_archive_cmds_need_lc_FC=yes
23412 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
23414 cat conftest.err 1>&5
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
23420 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
23421 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
23489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
23490 $as_echo_n "checking dynamic linker characteristics... " >&6; }
23492 library_names_spec=
23493 libname_spec='lib$name'
23497 postuninstall_cmds=
23501 shlibpath_overrides_runpath=unknown
23503 dynamic_linker="$host_os ld.so"
23504 sys_lib_dlsearch_path_spec="/lib /usr/lib"
23505 need_lib_prefix=unknown
23506 hardcode_into_libs=no
23508 # when you set need_version to no, make sure it does not cause -set_version
23509 # flags to be left without arguments
23510 need_version=unknown
23516 version_type=linux # correct to gnu/linux during the next big refactor
23517 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
23518 shlibpath_var=LIBPATH
23520 # AIX 3 has no versioning support, so we append a major version to the name.
23521 soname_spec='$libname$release$shared_ext$major'
23525 version_type=linux # correct to gnu/linux during the next big refactor
23528 hardcode_into_libs=yes
23529 if test ia64 = "$host_cpu"; then
23530 # AIX 5 supports IA64
23531 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
23532 shlibpath_var=LD_LIBRARY_PATH
23534 # With GCC up to 2.95.x, collect2 would create an import file
23535 # for dependence libraries. The import file would start with
23536 # the line '#! .'. This would cause the generated library to
23537 # depend on '.', always an invalid library. This was fixed in
23538 # development snapshots of GCC prior to 3.0.
23540 aix4 | aix4.[01] | aix4.[01].*)
23541 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23543 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
23546 can_build_shared=no
23550 # Using Import Files as archive members, it is possible to support
23551 # filename-based versioning of shared library archives on AIX. While
23552 # this would work for both with and without runtime linking, it will
23553 # prevent static linking of such archives. So we do filename-based
23554 # shared library versioning with .so extension only, which is used
23555 # when both runtime linking and shared linking is enabled.
23556 # Unfortunately, runtime linking may impact performance, so we do
23557 # not want this to be the default eventually. Also, we use the
23558 # versioned .so libs for executables only if there is the -brtl
23559 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
23560 # To allow for filename-based versioning support, we need to create
23561 # libNAME.so.V as an archive file, containing:
23562 # *) an Import File, referring to the versioned filename of the
23563 # archive as well as the shared archive member, telling the
23564 # bitwidth (32 or 64) of that shared object, and providing the
23565 # list of exported symbols of that shared object, eventually
23566 # decorated with the 'weak' keyword
23567 # *) the shared object with the F_LOADONLY flag set, to really avoid
23568 # it being seen by the linker.
23569 # At run time we better use the real file rather than another symlink,
23570 # but for link time we create the symlink libNAME.so -> libNAME.so.V
23572 case $with_aix_soname,$aix_use_runtimelinking in
23573 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
23574 # soname into executable. Probably we can add versioning support to
23575 # collect2, so additional links can be useful in future.
23576 aix,yes) # traditional libtool
23577 dynamic_linker='AIX unversionable lib.so'
23578 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23579 # instead of lib<name>.a to let people know that these are not
23580 # typical AIX shared libraries.
23581 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23583 aix,no) # traditional AIX only
23584 dynamic_linker='AIX lib.a(lib.so.V)'
23585 # We preserve .a as extension for shared libraries through AIX4.2
23586 # and later when we are not doing run time linking.
23587 library_names_spec='$libname$release.a $libname.a'
23588 soname_spec='$libname$release$shared_ext$major'
23590 svr4,*) # full svr4 only
23591 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
23592 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
23593 # We do not specify a path in Import Files, so LIBPATH fires.
23594 shlibpath_overrides_runpath=yes
23596 *,yes) # both, prefer svr4
23597 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
23598 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
23599 # unpreferred sharedlib libNAME.a needs extra handling
23600 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
23601 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
23602 # We do not specify a path in Import Files, so LIBPATH fires.
23603 shlibpath_overrides_runpath=yes
23605 *,no) # both, prefer aix
23606 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
23607 library_names_spec='$libname$release.a $libname.a'
23608 soname_spec='$libname$release$shared_ext$major'
23609 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
23610 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
23611 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
23614 shlibpath_var=LIBPATH
23621 # Since July 2007 AmigaOS4 officially supports .so libraries.
23622 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
23623 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23626 library_names_spec='$libname.ixlibrary $libname.a'
23627 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23628 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
23634 library_names_spec='$libname$shared_ext'
23635 dynamic_linker="$host_os ld.so"
23636 shlibpath_var=LIBRARY_PATH
23640 version_type=linux # correct to gnu/linux during the next big refactor
23642 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23643 soname_spec='$libname$release$shared_ext$major'
23644 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23645 shlibpath_var=LD_LIBRARY_PATH
23646 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23647 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23648 # the default ld.so.conf also contains /usr/contrib/lib and
23649 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23650 # libtool to hard-code these into programs
23653 cygwin* | mingw* | pw32* | cegcc*)
23654 version_type=windows
23659 case $GCC,$cc_basename in
23662 library_names_spec='$libname.dll.a'
23663 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23664 postinstall_cmds='base_file=`basename \$file`~
23665 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
23666 dldir=$destdir/`dirname \$dlpath`~
23667 test -d \$dldir || mkdir -p \$dldir~
23668 $install_prog $dir/$dlname \$dldir/$dlname~
23669 chmod a+x \$dldir/$dlname~
23670 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
23671 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
23673 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23674 dlpath=$dir/\$dldll~
23676 shlibpath_overrides_runpath=yes
23680 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23681 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23685 # MinGW DLLs use traditional 'lib' prefix
23686 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23689 # pw32 DLLs use 'pw' prefix rather than 'lib'
23690 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23693 dynamic_linker='Win32 ld.exe'
23698 libname_spec='$name'
23699 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23700 library_names_spec='$libname.dll.lib'
23704 sys_lib_search_path_spec=
23707 for lt_path in $LIB
23710 # Let DOS variable expansion print the short 8.3 style file name.
23711 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
23712 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
23715 # Convert to MSYS style.
23716 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
23719 # Convert to unix form, then to dos form, then back to unix form
23720 # but this time dos style (no spaces!) so that the unix form looks
23721 # like /cygdrive/c/PROGRA~1:/cygdr...
23722 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
23723 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
23724 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23727 sys_lib_search_path_spec=$LIB
23728 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
23729 # It is most probably a Windows format PATH.
23730 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23732 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23734 # FIXME: find the short name or the path components, as spaces are
23735 # common. (e.g. "Program Files" -> "PROGRA~1")
23739 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23740 postinstall_cmds='base_file=`basename \$file`~
23741 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
23742 dldir=$destdir/`dirname \$dlpath`~
23743 test -d \$dldir || mkdir -p \$dldir~
23744 $install_prog $dir/$dlname \$dldir/$dlname'
23745 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23746 dlpath=$dir/\$dldll~
23748 shlibpath_overrides_runpath=yes
23749 dynamic_linker='Win32 link.exe'
23753 # Assume MSVC wrapper
23754 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
23755 dynamic_linker='Win32 ld.exe'
23758 # FIXME: first we should search . and the directory the executable is in
23762 darwin* | rhapsody*)
23763 dynamic_linker="$host_os dyld"
23764 version_type=darwin
23767 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
23768 soname_spec='$libname$release$major$shared_ext'
23769 shlibpath_overrides_runpath=yes
23770 shlibpath_var=DYLD_LIBRARY_PATH
23771 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
23773 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23777 version_type=linux # correct to gnu/linux during the next big refactor
23780 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23781 soname_spec='$libname$release$shared_ext$major'
23782 shlibpath_var=LD_LIBRARY_PATH
23785 freebsd* | dragonfly*)
23786 # DragonFly does not have aout. When/if they implement a new
23787 # versioning mechanism, adjust this.
23788 if test -x /usr/bin/objformat; then
23789 objformat=`/usr/bin/objformat`
23792 freebsd[23].*) objformat=aout ;;
23793 *) objformat=elf ;;
23796 version_type=freebsd-$objformat
23797 case $version_type in
23799 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23800 soname_spec='$libname$release$shared_ext$major'
23805 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
23809 shlibpath_var=LD_LIBRARY_PATH
23812 shlibpath_overrides_runpath=yes
23814 freebsd3.[01]* | freebsdelf3.[01]*)
23815 shlibpath_overrides_runpath=yes
23816 hardcode_into_libs=yes
23818 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
23819 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
23820 shlibpath_overrides_runpath=no
23821 hardcode_into_libs=yes
23823 *) # from 4.6 on, and DragonFly
23824 shlibpath_overrides_runpath=yes
23825 hardcode_into_libs=yes
23831 version_type=linux # correct to gnu/linux during the next big refactor
23834 dynamic_linker="$host_os runtime_loader"
23835 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23836 soname_spec='$libname$release$shared_ext$major'
23837 shlibpath_var=LIBRARY_PATH
23838 shlibpath_overrides_runpath=no
23839 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
23840 hardcode_into_libs=yes
23843 hpux9* | hpux10* | hpux11*)
23844 # Give a soname corresponding to the major version so that dld.sl refuses to
23845 # link against other versions.
23852 hardcode_into_libs=yes
23853 dynamic_linker="$host_os dld.so"
23854 shlibpath_var=LD_LIBRARY_PATH
23855 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23856 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23857 soname_spec='$libname$release$shared_ext$major'
23858 if test 32 = "$HPUX_IA64_MODE"; then
23859 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23860 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
23862 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23863 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
23868 hardcode_into_libs=yes
23869 dynamic_linker="$host_os dld.sl"
23870 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23871 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23872 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23873 soname_spec='$libname$release$shared_ext$major'
23874 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23875 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23879 dynamic_linker="$host_os dld.sl"
23880 shlibpath_var=SHLIB_PATH
23881 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23882 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23883 soname_spec='$libname$release$shared_ext$major'
23886 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
23887 postinstall_cmds='chmod 555 $lib'
23888 # or fails outright, so override atomically:
23889 install_override_mode=555
23893 version_type=linux # correct to gnu/linux during the next big refactor
23896 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23897 soname_spec='$libname$release$shared_ext$major'
23898 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
23899 shlibpath_var=LD_LIBRARY_PATH
23900 shlibpath_overrides_runpath=no
23901 hardcode_into_libs=yes
23904 irix5* | irix6* | nonstopux*)
23906 nonstopux*) version_type=nonstopux ;;
23908 if test yes = "$lt_cv_prog_gnu_ld"; then
23909 version_type=linux # correct to gnu/linux during the next big refactor
23916 soname_spec='$libname$release$shared_ext$major'
23917 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
23919 irix5* | nonstopux*)
23920 libsuff= shlibsuff=
23923 case $LD in # libtool.m4 will add one of these switches to LD
23924 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23925 libsuff= shlibsuff= libmagic=32-bit;;
23926 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23927 libsuff=32 shlibsuff=N32 libmagic=N32;;
23928 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23929 libsuff=64 shlibsuff=64 libmagic=64-bit;;
23930 *) libsuff= shlibsuff= libmagic=never-match;;
23934 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23935 shlibpath_overrides_runpath=no
23936 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
23937 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
23938 hardcode_into_libs=yes
23941 # No shared lib support for Linux oldld, aout, or coff.
23942 linux*oldld* | linux*aout* | linux*coff*)
23947 version_type=none # Android doesn't support versioned libraries.
23950 library_names_spec='$libname$release$shared_ext'
23951 soname_spec='$libname$release$shared_ext'
23953 shlibpath_var=LD_LIBRARY_PATH
23954 shlibpath_overrides_runpath=yes
23956 # This implies no fast_install, which is unacceptable.
23957 # Some rework will be needed to allow for fast_install
23958 # before this can be enabled.
23959 hardcode_into_libs=yes
23961 dynamic_linker='Android linker'
23962 # Don't embed -rpath directories since the linker doesn't support them.
23963 hardcode_libdir_flag_spec_FC='-L$libdir'
23966 # This must be glibc/ELF.
23967 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
23968 version_type=linux # correct to gnu/linux during the next big refactor
23971 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23972 soname_spec='$libname$release$shared_ext$major'
23973 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23974 shlibpath_var=LD_LIBRARY_PATH
23975 shlibpath_overrides_runpath=no
23977 # Some binutils ld are patched to set DT_RUNPATH
23978 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
23979 $as_echo_n "(cached) " >&6
23981 lt_cv_shlibpath_overrides_runpath=no
23982 save_LDFLAGS=$LDFLAGS
23983 save_libdir=$libdir
23984 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
23985 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
23986 cat > conftest.$ac_ext <<_ACEOF
23991 if ac_fn_fc_try_link "$LINENO"; then :
23992 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
23993 lt_cv_shlibpath_overrides_runpath=yes
23996 rm -f core conftest.err conftest.$ac_objext \
23997 conftest$ac_exeext conftest.$ac_ext
23998 LDFLAGS=$save_LDFLAGS
23999 libdir=$save_libdir
24003 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
24005 # This implies no fast_install, which is unacceptable.
24006 # Some rework will be needed to allow for fast_install
24007 # before this can be enabled.
24008 hardcode_into_libs=yes
24010 # Ideally, we could use ldconfig to report *all* directores which are
24011 # searched for libraries, however this is still not possible. Aside from not
24012 # being certain /sbin/ldconfig is available, command
24013 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
24014 # even though it is searched at run-time. Try to do the best guess by
24015 # appending ld.so.conf contents (and includes) to the search path.
24016 if test -f /etc/ld.so.conf; then
24017 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;s/"//g;/^$/d' | tr '\n' ' '`
24018 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
24021 # We used to test for /lib/ld.so.1 and disable shared libraries on
24022 # powerpc, because MkLinux only supported shared libraries with the
24023 # GNU dynamic linker. Since this was broken with cross compilers,
24024 # most powerpc-linux boxes support dynamic linking these days and
24025 # people can always --disable-shared, the test was removed, and we
24026 # assume the GNU/Linux dynamic linker is in use.
24027 dynamic_linker='GNU/Linux ld.so'
24034 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
24035 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
24036 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24037 dynamic_linker='NetBSD (a.out) ld.so'
24039 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24040 soname_spec='$libname$release$shared_ext$major'
24041 dynamic_linker='NetBSD ld.elf_so'
24043 shlibpath_var=LD_LIBRARY_PATH
24044 shlibpath_overrides_runpath=yes
24045 hardcode_into_libs=yes
24049 version_type=linux # correct to gnu/linux during the next big refactor
24050 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24051 shlibpath_var=LD_LIBRARY_PATH
24052 shlibpath_overrides_runpath=yes
24059 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24060 soname_spec='$libname$release$shared_ext$major'
24061 shlibpath_var=LD_LIBRARY_PATH
24062 shlibpath_overrides_runpath=no
24063 hardcode_into_libs=yes
24064 dynamic_linker='ldqnx.so'
24067 openbsd* | bitrig*)
24069 sys_lib_dlsearch_path_spec=/usr/lib
24071 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
24076 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
24077 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24078 shlibpath_var=LD_LIBRARY_PATH
24079 shlibpath_overrides_runpath=yes
24083 libname_spec='$name'
24084 version_type=windows
24088 # OS/2 can only load a DLL with a base name of 8 characters or less.
24089 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
24090 v=$($ECHO $release$versuffix | tr -d .-);
24091 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
24092 $ECHO $n$v`$shared_ext'
24093 library_names_spec='${libname}_dll.$libext'
24094 dynamic_linker='OS/2 ld.exe'
24095 shlibpath_var=BEGINLIBPATH
24096 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
24097 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24098 postinstall_cmds='base_file=`basename \$file`~
24099 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
24100 dldir=$destdir/`dirname \$dlpath`~
24101 test -d \$dldir || mkdir -p \$dldir~
24102 $install_prog $dir/$dlname \$dldir/$dlname~
24103 chmod a+x \$dldir/$dlname~
24104 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
24105 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
24107 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
24108 dlpath=$dir/\$dldll~
24112 osf3* | osf4* | osf5*)
24116 soname_spec='$libname$release$shared_ext$major'
24117 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24118 shlibpath_var=LD_LIBRARY_PATH
24119 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
24120 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24128 version_type=linux # correct to gnu/linux during the next big refactor
24131 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24132 soname_spec='$libname$release$shared_ext$major'
24133 shlibpath_var=LD_LIBRARY_PATH
24134 shlibpath_overrides_runpath=yes
24135 hardcode_into_libs=yes
24136 # ldd complains unless libraries are executable
24137 postinstall_cmds='chmod +x $lib'
24142 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
24143 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
24144 shlibpath_var=LD_LIBRARY_PATH
24145 shlibpath_overrides_runpath=yes
24146 if test yes = "$with_gnu_ld"; then
24153 version_type=linux # correct to gnu/linux during the next big refactor
24154 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24155 soname_spec='$libname$release$shared_ext$major'
24156 shlibpath_var=LD_LIBRARY_PATH
24157 case $host_vendor in
24159 shlibpath_overrides_runpath=no
24161 runpath_var=LD_RUN_PATH
24169 shlibpath_overrides_runpath=no
24170 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
24176 if test -d /usr/nec; then
24177 version_type=linux # correct to gnu/linux during the next big refactor
24178 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
24179 soname_spec='$libname$shared_ext.$major'
24180 shlibpath_var=LD_LIBRARY_PATH
24184 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
24188 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
24189 soname_spec='$libname$release$shared_ext$major'
24190 shlibpath_var=LD_LIBRARY_PATH
24191 shlibpath_overrides_runpath=yes
24192 hardcode_into_libs=yes
24193 if test yes = "$with_gnu_ld"; then
24194 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
24196 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
24199 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
24203 sys_lib_dlsearch_path_spec='/usr/lib'
24207 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
24208 version_type=linux # correct to gnu/linux during the next big refactor
24211 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24212 shlibpath_var=LD_LIBRARY_PATH
24213 shlibpath_overrides_runpath=no
24214 hardcode_into_libs=yes
24218 version_type=linux # correct to gnu/linux during the next big refactor
24219 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24220 soname_spec='$libname$release$shared_ext$major'
24221 shlibpath_var=LD_LIBRARY_PATH
24228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
24229 $as_echo "$dynamic_linker" >&6; }
24230 test no = "$dynamic_linker" && can_build_shared=no
24232 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24233 if test yes = "$GCC"; then
24234 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24237 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
24238 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
24241 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
24242 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
24245 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
24246 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
24248 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
24249 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
24251 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
24252 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
24294 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
24295 hardcode_action_FC=
24296 if test -n "$hardcode_libdir_flag_spec_FC" ||
24297 test -n "$runpath_var_FC" ||
24298 test yes = "$hardcode_automatic_FC"; then
24300 # We can hardcode non-existent directories.
24301 if test no != "$hardcode_direct_FC" &&
24302 # If the only mechanism to avoid hardcoding is shlibpath_var, we
24303 # have to relink, otherwise we might link with an installed library
24304 # when we should be linking with a yet-to-be-installed one
24305 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" &&
24306 test no != "$hardcode_minus_L_FC"; then
24307 # Linking always hardcodes the temporary library directory.
24308 hardcode_action_FC=relink
24310 # We can link without hardcoding, and we can hardcode nonexisting dirs.
24311 hardcode_action_FC=immediate
24314 # We cannot hardcode anything, or else we can only hardcode existing
24316 hardcode_action_FC=unsupported
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
24319 $as_echo "$hardcode_action_FC" >&6; }
24321 if test relink = "$hardcode_action_FC" ||
24322 test yes = "$inherit_rpath_FC"; then
24323 # Fast installation is not supported
24324 enable_fast_install=no
24325 elif test yes = "$shlibpath_overrides_runpath" ||
24326 test no = "$enable_shared"; then
24327 # Fast installation is not necessary
24328 enable_fast_install=needless
24337 fi # test -n "$compiler"
24341 CFLAGS=$lt_save_CFLAGS
24342 fi # test yes != "$_lt_disable_FC"
24345 ac_cpp='$CPP $CPPFLAGS'
24346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24351 if test -n "$ac_tool_prefix"; then
24352 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
24353 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24355 $as_echo_n "checking for $ac_word... " >&6; }
24356 if ${ac_cv_prog_GOC+:} false; then :
24357 $as_echo_n "(cached) " >&6
24359 if test -n "$GOC"; then
24360 ac_cv_prog_GOC="$GOC" # Let the user override the test.
24362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24363 for as_dir in $PATH
24366 test -z "$as_dir" && as_dir=.
24367 for ac_exec_ext in '' $ac_executable_extensions; do
24368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24369 ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
24370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24379 GOC=$ac_cv_prog_GOC
24380 if test -n "$GOC"; then
24381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
24382 $as_echo "$GOC" >&6; }
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24385 $as_echo "no" >&6; }
24390 if test -z "$ac_cv_prog_GOC"; then
24392 # Extract the first word of "gccgo", so it can be a program name with args.
24393 set dummy gccgo; ac_word=$2
24394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24395 $as_echo_n "checking for $ac_word... " >&6; }
24396 if ${ac_cv_prog_ac_ct_GOC+:} false; then :
24397 $as_echo_n "(cached) " >&6
24399 if test -n "$ac_ct_GOC"; then
24400 ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
24402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24403 for as_dir in $PATH
24406 test -z "$as_dir" && as_dir=.
24407 for ac_exec_ext in '' $ac_executable_extensions; do
24408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24409 ac_cv_prog_ac_ct_GOC="gccgo"
24410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24419 ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
24420 if test -n "$ac_ct_GOC"; then
24421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
24422 $as_echo "$ac_ct_GOC" >&6; }
24424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24425 $as_echo "no" >&6; }
24428 if test "x$ac_ct_GOC" = x; then
24431 case $cross_compiling:$ac_tool_warned in
24433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24435 ac_tool_warned=yes ;;
24440 GOC="$ac_cv_prog_GOC"
24446 # Source file extension for Go test sources.
24449 # Object file extension for compiled Go test sources.
24453 # Code to be used in simple compile tests
24454 lt_simple_compile_test_code="package main; func main() { }"
24456 # Code to be used in simple link tests
24457 lt_simple_link_test_code='package main; func main() { }'
24459 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
24466 # If no C compiler was specified, use CC.
24469 # If no C compiler flags were specified, use CFLAGS.
24470 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
24472 # Allow CC to be a program name with arguments.
24476 # save warnings/boilerplate of simple test code
24477 ac_outfile=conftest.$ac_objext
24478 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
24479 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24480 _lt_compiler_boilerplate=`cat conftest.err`
24483 ac_outfile=conftest.$ac_objext
24484 echo "$lt_simple_link_test_code" >conftest.$ac_ext
24485 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24486 _lt_linker_boilerplate=`cat conftest.err`
24490 # Allow CC to be a program name with arguments.
24492 lt_save_CFLAGS=$CFLAGS
24500 func_cc_basename $compiler
24501 cc_basename=$func_cc_basename_result
24504 # Go did not exist at the time GCC didn't implicitly link libc in.
24505 archive_cmds_need_lc_GO=no
24507 old_archive_cmds_GO=$old_archive_cmds
24508 reload_flag_GO=$reload_flag
24509 reload_cmds_GO=$reload_cmds
24512 ## There is no encapsulation within the following macros, do not change
24513 ## the running order or otherwise move them around unless you know exactly
24514 ## what you are doing...
24515 if test -n "$compiler"; then
24517 lt_prog_compiler_no_builtin_flag_GO=
24519 if test yes = "$GCC"; then
24520 case $cc_basename in
24522 lt_prog_compiler_no_builtin_flag_GO=' -Xcompiler -fno-builtin' ;;
24524 lt_prog_compiler_no_builtin_flag_GO=' -fno-builtin' ;;
24527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
24528 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
24529 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
24530 $as_echo_n "(cached) " >&6
24532 lt_cv_prog_compiler_rtti_exceptions=no
24533 ac_outfile=conftest.$ac_objext
24534 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24535 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
24536 # Insert the option either (1) after the last *FLAGS variable, or
24537 # (2) before a word containing "conftest.", or (3) at the end.
24538 # Note that $ac_compile itself does not contain backslashes and begins
24539 # with a dollar sign (not a hyphen), so the echo should work correctly.
24540 # The option is referenced via a variable to avoid confusing sed.
24541 lt_compile=`echo "$ac_compile" | $SED \
24542 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24543 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24544 -e 's:$: $lt_compiler_flag:'`
24545 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
24546 (eval "$lt_compile" 2>conftest.err)
24548 cat conftest.err >&5
24549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 if (exit $ac_status) && test -s "$ac_outfile"; then
24551 # The compiler can only warn and ignore the option if not recognized
24552 # So say no if there are warnings other than the usual output.
24553 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
24554 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24555 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24556 lt_cv_prog_compiler_rtti_exceptions=yes
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
24563 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
24565 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
24566 lt_prog_compiler_no_builtin_flag_GO="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
24575 lt_prog_compiler_wl_GO=
24576 lt_prog_compiler_pic_GO=
24577 lt_prog_compiler_static_GO=
24580 if test yes = "$GCC"; then
24581 lt_prog_compiler_wl_GO='-Wl,'
24582 lt_prog_compiler_static_GO='-static'
24586 # All AIX code is PIC.
24587 if test ia64 = "$host_cpu"; then
24588 # AIX 5 now supports IA64 processor
24589 lt_prog_compiler_static_GO='-Bstatic'
24591 lt_prog_compiler_pic_GO='-fPIC'
24597 # see comment about AmigaOS4 .so support
24598 lt_prog_compiler_pic_GO='-fPIC'
24601 # FIXME: we need at least 68020 code to build shared libraries, but
24602 # adding the '-m68020' flag to GCC prevents building anything better,
24604 lt_prog_compiler_pic_GO='-m68020 -resident32 -malways-restore-a4'
24609 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
24610 # PIC is the default for these OSes.
24613 mingw* | cygwin* | pw32* | os2* | cegcc*)
24614 # This hack is so that the source file can tell whether it is being
24615 # built for inclusion in a dll (and should export symbols for example).
24616 # Although the cygwin gcc ignores -fPIC, still need this for old-style
24617 # (--disable-auto-import) libraries
24618 lt_prog_compiler_pic_GO='-DDLL_EXPORT'
24621 lt_prog_compiler_static_GO='$wl-static'
24626 darwin* | rhapsody*)
24627 # PIC is the default on this platform
24628 # Common symbols not allowed in MH_DYLIB files
24629 lt_prog_compiler_pic_GO='-fno-common'
24633 # PIC is the default for Haiku.
24634 # The "-static" flag exists, but is broken.
24635 lt_prog_compiler_static_GO=
24639 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
24640 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
24641 # sets the default TLS model and affects inlining.
24647 lt_prog_compiler_pic_GO='-fPIC'
24653 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24654 # Instead, we relocate shared libraries at runtime.
24658 # Just because we use GCC doesn't mean we suddenly get shared libraries
24659 # on systems that don't support them.
24660 lt_prog_compiler_can_build_shared_GO=no
24665 # QNX uses GNU C++, but need to define -shared option too, otherwise
24666 # it will coredump.
24667 lt_prog_compiler_pic_GO='-fPIC -shared'
24671 if test -d /usr/nec; then
24672 lt_prog_compiler_pic_GO=-Kconform_pic
24677 lt_prog_compiler_pic_GO='-fPIC'
24681 case $cc_basename in
24682 nvcc*) # Cuda Compiler Driver 2.2
24683 lt_prog_compiler_wl_GO='-Xlinker '
24684 if test -n "$lt_prog_compiler_pic_GO"; then
24685 lt_prog_compiler_pic_GO="-Xcompiler $lt_prog_compiler_pic_GO"
24690 # PORTME Check for flag to pass linker flags through the system compiler.
24693 lt_prog_compiler_wl_GO='-Wl,'
24694 if test ia64 = "$host_cpu"; then
24695 # AIX 5 now supports IA64 processor
24696 lt_prog_compiler_static_GO='-Bstatic'
24698 lt_prog_compiler_static_GO='-bnso -bI:/lib/syscalls.exp'
24702 darwin* | rhapsody*)
24703 # PIC is the default on this platform
24704 # Common symbols not allowed in MH_DYLIB files
24705 lt_prog_compiler_pic_GO='-fno-common'
24706 case $cc_basename in
24708 # NAG Fortran compiler
24709 lt_prog_compiler_wl_GO='-Wl,-Wl,,'
24710 lt_prog_compiler_pic_GO='-PIC'
24711 lt_prog_compiler_static_GO='-Bstatic'
24716 mingw* | cygwin* | pw32* | os2* | cegcc*)
24717 # This hack is so that the source file can tell whether it is being
24718 # built for inclusion in a dll (and should export symbols for example).
24719 lt_prog_compiler_pic_GO='-DDLL_EXPORT'
24722 lt_prog_compiler_static_GO='$wl-static'
24727 hpux9* | hpux10* | hpux11*)
24728 lt_prog_compiler_wl_GO='-Wl,'
24729 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24730 # not for PA HP-UX.
24736 lt_prog_compiler_pic_GO='+Z'
24739 # Is there a better lt_prog_compiler_static that works with the bundled CC?
24740 lt_prog_compiler_static_GO='$wl-a ${wl}archive'
24743 irix5* | irix6* | nonstopux*)
24744 lt_prog_compiler_wl_GO='-Wl,'
24745 # PIC (with -KPIC) is the default.
24746 lt_prog_compiler_static_GO='-non_shared'
24749 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
24750 case $cc_basename in
24751 # old Intel for x86_64, which still supported -KPIC.
24753 lt_prog_compiler_wl_GO='-Wl,'
24754 lt_prog_compiler_pic_GO='-KPIC'
24755 lt_prog_compiler_static_GO='-static'
24757 # icc used to be incompatible with GCC.
24758 # ICC 10 doesn't accept -KPIC any more.
24760 lt_prog_compiler_wl_GO='-Wl,'
24761 lt_prog_compiler_pic_GO='-fPIC'
24762 lt_prog_compiler_static_GO='-static'
24764 # Lahey Fortran 8.1.
24766 lt_prog_compiler_wl_GO='-Wl,'
24767 lt_prog_compiler_pic_GO='--shared'
24768 lt_prog_compiler_static_GO='--static'
24771 # NAG Fortran compiler
24772 lt_prog_compiler_wl_GO='-Wl,-Wl,,'
24773 lt_prog_compiler_pic_GO='-PIC'
24774 lt_prog_compiler_static_GO='-Bstatic'
24777 # Fabrice Bellard et al's Tiny C Compiler
24778 lt_prog_compiler_wl_GO='-Wl,'
24779 lt_prog_compiler_pic_GO='-fPIC'
24780 lt_prog_compiler_static_GO='-static'
24782 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
24783 # Portland Group compilers (*not* the Pentium gcc compiler,
24784 # which looks to be a dead project)
24785 lt_prog_compiler_wl_GO='-Wl,'
24786 lt_prog_compiler_pic_GO='-fpic'
24787 lt_prog_compiler_static_GO='-Bstatic'
24790 lt_prog_compiler_wl_GO='-Wl,'
24791 # All Alpha code is PIC.
24792 lt_prog_compiler_static_GO='-non_shared'
24794 xl* | bgxl* | bgf* | mpixl*)
24795 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
24796 lt_prog_compiler_wl_GO='-Wl,'
24797 lt_prog_compiler_pic_GO='-qpic'
24798 lt_prog_compiler_static_GO='-qstaticlink'
24801 case `$CC -V 2>&1 | sed 5q` in
24802 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
24803 # Sun Fortran 8.3 passes all unrecognized flags to the linker
24804 lt_prog_compiler_pic_GO='-KPIC'
24805 lt_prog_compiler_static_GO='-Bstatic'
24806 lt_prog_compiler_wl_GO=''
24808 *Sun\ F* | *Sun*Fortran*)
24809 lt_prog_compiler_pic_GO='-KPIC'
24810 lt_prog_compiler_static_GO='-Bstatic'
24811 lt_prog_compiler_wl_GO='-Qoption ld '
24815 lt_prog_compiler_pic_GO='-KPIC'
24816 lt_prog_compiler_static_GO='-Bstatic'
24817 lt_prog_compiler_wl_GO='-Wl,'
24819 *Intel*\ [CF]*Compiler*)
24820 lt_prog_compiler_wl_GO='-Wl,'
24821 lt_prog_compiler_pic_GO='-fPIC'
24822 lt_prog_compiler_static_GO='-static'
24825 lt_prog_compiler_wl_GO='-Wl,'
24826 lt_prog_compiler_pic_GO='-fpic'
24827 lt_prog_compiler_static_GO='-Bstatic'
24835 lt_prog_compiler_pic_GO='-KPIC'
24836 lt_prog_compiler_static_GO='-Bstatic'
24840 # QNX uses GNU C++, but need to define -shared option too, otherwise
24841 # it will coredump.
24842 lt_prog_compiler_pic_GO='-fPIC -shared'
24845 osf3* | osf4* | osf5*)
24846 lt_prog_compiler_wl_GO='-Wl,'
24847 # All OSF/1 code is PIC.
24848 lt_prog_compiler_static_GO='-non_shared'
24852 lt_prog_compiler_static_GO='-non_shared'
24856 lt_prog_compiler_pic_GO='-KPIC'
24857 lt_prog_compiler_static_GO='-Bstatic'
24858 case $cc_basename in
24859 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
24860 lt_prog_compiler_wl_GO='-Qoption ld ';;
24862 lt_prog_compiler_wl_GO='-Wl,';;
24867 lt_prog_compiler_wl_GO='-Qoption ld '
24868 lt_prog_compiler_pic_GO='-PIC'
24869 lt_prog_compiler_static_GO='-Bstatic'
24872 sysv4 | sysv4.2uw2* | sysv4.3*)
24873 lt_prog_compiler_wl_GO='-Wl,'
24874 lt_prog_compiler_pic_GO='-KPIC'
24875 lt_prog_compiler_static_GO='-Bstatic'
24879 if test -d /usr/nec; then
24880 lt_prog_compiler_pic_GO='-Kconform_pic'
24881 lt_prog_compiler_static_GO='-Bstatic'
24885 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
24886 lt_prog_compiler_wl_GO='-Wl,'
24887 lt_prog_compiler_pic_GO='-KPIC'
24888 lt_prog_compiler_static_GO='-Bstatic'
24892 lt_prog_compiler_wl_GO='-Wl,'
24893 lt_prog_compiler_can_build_shared_GO=no
24897 lt_prog_compiler_pic_GO='-pic'
24898 lt_prog_compiler_static_GO='-Bstatic'
24902 lt_prog_compiler_can_build_shared_GO=no
24908 # For platforms that do not support PIC, -DPIC is meaningless:
24910 lt_prog_compiler_pic_GO=
24913 lt_prog_compiler_pic_GO="$lt_prog_compiler_pic_GO"
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
24918 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
24919 if ${lt_cv_prog_compiler_pic_GO+:} false; then :
24920 $as_echo_n "(cached) " >&6
24922 lt_cv_prog_compiler_pic_GO=$lt_prog_compiler_pic_GO
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_GO" >&5
24925 $as_echo "$lt_cv_prog_compiler_pic_GO" >&6; }
24926 lt_prog_compiler_pic_GO=$lt_cv_prog_compiler_pic_GO
24929 # Check to make sure the PIC flag actually works.
24931 if test -n "$lt_prog_compiler_pic_GO"; then
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
24933 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
24934 if ${lt_cv_prog_compiler_pic_works_GO+:} false; then :
24935 $as_echo_n "(cached) " >&6
24937 lt_cv_prog_compiler_pic_works_GO=no
24938 ac_outfile=conftest.$ac_objext
24939 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24940 lt_compiler_flag="$lt_prog_compiler_pic_GO" ## exclude from sc_useless_quotes_in_assignment
24941 # Insert the option either (1) after the last *FLAGS variable, or
24942 # (2) before a word containing "conftest.", or (3) at the end.
24943 # Note that $ac_compile itself does not contain backslashes and begins
24944 # with a dollar sign (not a hyphen), so the echo should work correctly.
24945 # The option is referenced via a variable to avoid confusing sed.
24946 lt_compile=`echo "$ac_compile" | $SED \
24947 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24948 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24949 -e 's:$: $lt_compiler_flag:'`
24950 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
24951 (eval "$lt_compile" 2>conftest.err)
24953 cat conftest.err >&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 if (exit $ac_status) && test -s "$ac_outfile"; then
24956 # The compiler can only warn and ignore the option if not recognized
24957 # So say no if there are warnings other than the usual output.
24958 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
24959 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24960 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24961 lt_cv_prog_compiler_pic_works_GO=yes
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
24968 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
24970 if test yes = "$lt_cv_prog_compiler_pic_works_GO"; then
24971 case $lt_prog_compiler_pic_GO in
24973 *) lt_prog_compiler_pic_GO=" $lt_prog_compiler_pic_GO" ;;
24976 lt_prog_compiler_pic_GO=
24977 lt_prog_compiler_can_build_shared_GO=no
24987 # Check to make sure the static flag actually works.
24989 wl=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GO\"
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24991 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
24992 if ${lt_cv_prog_compiler_static_works_GO+:} false; then :
24993 $as_echo_n "(cached) " >&6
24995 lt_cv_prog_compiler_static_works_GO=no
24996 save_LDFLAGS=$LDFLAGS
24997 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24998 echo "$lt_simple_link_test_code" > conftest.$ac_ext
24999 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
25000 # The linker can only warn and ignore the option if not recognized
25001 # So say no if there are warnings
25002 if test -s conftest.err; then
25003 # Append any errors to the config.log.
25004 cat conftest.err 1>&5
25005 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
25006 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25007 if diff conftest.exp conftest.er2 >/dev/null; then
25008 lt_cv_prog_compiler_static_works_GO=yes
25011 lt_cv_prog_compiler_static_works_GO=yes
25015 LDFLAGS=$save_LDFLAGS
25018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
25019 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
25021 if test yes = "$lt_cv_prog_compiler_static_works_GO"; then
25024 lt_prog_compiler_static_GO=
25030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
25031 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25032 if ${lt_cv_prog_compiler_c_o_GO+:} false; then :
25033 $as_echo_n "(cached) " >&6
25035 lt_cv_prog_compiler_c_o_GO=no
25036 $RM -r conftest 2>/dev/null
25040 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25042 lt_compiler_flag="-o out/conftest2.$ac_objext"
25043 # Insert the option either (1) after the last *FLAGS variable, or
25044 # (2) before a word containing "conftest.", or (3) at the end.
25045 # Note that $ac_compile itself does not contain backslashes and begins
25046 # with a dollar sign (not a hyphen), so the echo should work correctly.
25047 lt_compile=`echo "$ac_compile" | $SED \
25048 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25049 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25050 -e 's:$: $lt_compiler_flag:'`
25051 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25052 (eval "$lt_compile" 2>out/conftest.err)
25054 cat out/conftest.err >&5
25055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25056 if (exit $ac_status) && test -s out/conftest2.$ac_objext
25058 # The compiler can only warn and ignore the option if not recognized
25059 # So say no if there are warnings
25060 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
25061 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25062 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25063 lt_cv_prog_compiler_c_o_GO=yes
25068 # SGI C++ compiler will create directory out/ii_files/ for
25069 # template instantiation
25070 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
25071 $RM out/* && rmdir out
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
25078 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
25082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
25083 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25084 if ${lt_cv_prog_compiler_c_o_GO+:} false; then :
25085 $as_echo_n "(cached) " >&6
25087 lt_cv_prog_compiler_c_o_GO=no
25088 $RM -r conftest 2>/dev/null
25092 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25094 lt_compiler_flag="-o out/conftest2.$ac_objext"
25095 # Insert the option either (1) after the last *FLAGS variable, or
25096 # (2) before a word containing "conftest.", or (3) at the end.
25097 # Note that $ac_compile itself does not contain backslashes and begins
25098 # with a dollar sign (not a hyphen), so the echo should work correctly.
25099 lt_compile=`echo "$ac_compile" | $SED \
25100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25102 -e 's:$: $lt_compiler_flag:'`
25103 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25104 (eval "$lt_compile" 2>out/conftest.err)
25106 cat out/conftest.err >&5
25107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108 if (exit $ac_status) && test -s out/conftest2.$ac_objext
25110 # The compiler can only warn and ignore the option if not recognized
25111 # So say no if there are warnings
25112 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
25113 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25114 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25115 lt_cv_prog_compiler_c_o_GO=yes
25120 # SGI C++ compiler will create directory out/ii_files/ for
25121 # template instantiation
25122 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
25123 $RM out/* && rmdir out
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
25130 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
25135 hard_links=nottested
25136 if test no = "$lt_cv_prog_compiler_c_o_GO" && test no != "$need_locks"; then
25137 # do not overwrite the value of need_locks provided by the user
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
25139 $as_echo_n "checking if we can lock with hard links... " >&6; }
25142 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25144 ln conftest.a conftest.b 2>&5 || hard_links=no
25145 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
25147 $as_echo "$hard_links" >&6; }
25148 if test no = "$hard_links"; then
25149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
25150 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25160 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
25163 allow_undefined_flag_GO=
25164 always_export_symbols_GO=no
25166 archive_expsym_cmds_GO=
25167 compiler_needs_object_GO=no
25168 enable_shared_with_static_runtimes_GO=no
25169 export_dynamic_flag_spec_GO=
25170 export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
25171 hardcode_automatic_GO=no
25172 hardcode_direct_GO=no
25173 hardcode_direct_absolute_GO=no
25174 hardcode_libdir_flag_spec_GO=
25175 hardcode_libdir_separator_GO=
25176 hardcode_minus_L_GO=no
25177 hardcode_shlibpath_var_GO=unsupported
25178 inherit_rpath_GO=no
25179 link_all_deplibs_GO=unknown
25181 module_expsym_cmds_GO=
25182 old_archive_from_new_cmds_GO=
25183 old_archive_from_expsyms_cmds_GO=
25184 thread_safe_flag_spec_GO=
25185 whole_archive_flag_spec_GO=
25186 # include_expsyms should be a list of space-separated symbols to be *always*
25187 # included in the symbol list
25188 include_expsyms_GO=
25189 # exclude_expsyms can be an extended regexp of symbols to exclude
25190 # it will be wrapped by ' (' and ')$', so one must not match beginning or
25191 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
25192 # as well as any symbol that contains 'd'.
25193 exclude_expsyms_GO='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
25194 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
25195 # platforms (ab)use it in PIC code, but their linkers get confused if
25196 # the symbol is explicitly referenced. Since portable code cannot
25197 # rely on this symbol name, it's probably fine to never include it in
25198 # preloaded symbol tables.
25199 # Exclude shared library initialization/finalization symbols.
25200 extract_expsyms_cmds=
25203 cygwin* | mingw* | pw32* | cegcc*)
25204 # FIXME: the MSVC++ port hasn't been tested in a loooong time
25205 # When not using gcc, we currently assume that we are using
25206 # Microsoft Visual C++.
25207 if test yes != "$GCC"; then
25212 # we just hope/assume this is gcc and not c89 (= MSVC++)
25215 openbsd* | bitrig*)
25222 # On some targets, GNU ld is compatible enough with the native linker
25223 # that we're better off using the native interface for both.
25224 lt_use_gnu_ld_interface=no
25225 if test yes = "$with_gnu_ld"; then
25228 # The AIX port of GNU ld has always aspired to compatibility
25229 # with the native linker. However, as the warning in the GNU ld
25230 # block says, versions before 2.19.5* couldn't really create working
25231 # shared libraries, regardless of the interface used.
25232 case `$LD -v 2>&1` in
25233 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
25234 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
25235 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
25237 lt_use_gnu_ld_interface=yes
25242 lt_use_gnu_ld_interface=yes
25247 if test yes = "$lt_use_gnu_ld_interface"; then
25248 # If archive_cmds runs LD, not CC, wlarc should be empty
25251 # Set some defaults for GNU ld with shared library support. These
25252 # are reset later if shared libraries are not supported. Putting them
25253 # here allows them to be overridden if necessary.
25254 runpath_var=LD_RUN_PATH
25255 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
25256 export_dynamic_flag_spec_GO='$wl--export-dynamic'
25257 # ancient GNU ld didn't support --whole-archive et. al.
25258 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
25259 whole_archive_flag_spec_GO=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
25261 whole_archive_flag_spec_GO=
25263 supports_anon_versioning=no
25264 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
25265 *GNU\ gold*) supports_anon_versioning=yes ;;
25266 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
25267 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
25268 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
25269 *\ 2.11.*) ;; # other 2.11 versions
25270 *) supports_anon_versioning=yes ;;
25273 # See if GNU ld supports shared libraries.
25276 # On AIX/PPC, the GNU linker is very broken
25277 if test ia64 != "$host_cpu"; then
25281 *** Warning: the GNU linker, at least up to release 2.19, is reported
25282 *** to be unable to reliably create shared libraries on AIX.
25283 *** Therefore, libtool is disabling shared libraries support. If you
25284 *** really care for shared libraries, you may want to install binutils
25285 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
25286 *** You will then need to restart the configuration process.
25295 # see comment about AmigaOS4 .so support
25296 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25297 archive_expsym_cmds_GO=''
25300 archive_cmds_GO='$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)'
25301 hardcode_libdir_flag_spec_GO='-L$libdir'
25302 hardcode_minus_L_GO=yes
25308 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25309 allow_undefined_flag_GO=unsupported
25310 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
25311 # support --undefined. This deserves some investigation. FIXME
25312 archive_cmds_GO='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25318 cygwin* | mingw* | pw32* | cegcc*)
25319 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
25320 # as there is no search path for DLLs.
25321 hardcode_libdir_flag_spec_GO='-L$libdir'
25322 export_dynamic_flag_spec_GO='$wl--export-all-symbols'
25323 allow_undefined_flag_GO=unsupported
25324 always_export_symbols_GO=no
25325 enable_shared_with_static_runtimes_GO=yes
25326 export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
25327 exclude_expsyms_GO='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
25329 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
25330 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25331 # If the export-symbols file already is a .def file, use it as
25332 # is; otherwise, prepend EXPORTS...
25333 archive_expsym_cmds_GO='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
25334 cp $export_symbols $output_objdir/$soname.def;
25336 echo EXPORTS > $output_objdir/$soname.def;
25337 cat $export_symbols >> $output_objdir/$soname.def;
25339 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25346 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25347 link_all_deplibs_GO=yes
25351 hardcode_libdir_flag_spec_GO='-L$libdir'
25352 hardcode_minus_L_GO=yes
25353 allow_undefined_flag_GO=unsupported
25355 archive_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
25356 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
25357 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
25358 $ECHO EXPORTS >> $output_objdir/$libname.def~
25359 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
25360 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
25361 emximp -o $lib $output_objdir/$libname.def'
25362 archive_expsym_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
25363 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
25364 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
25365 $ECHO EXPORTS >> $output_objdir/$libname.def~
25366 prefix_cmds="$SED"~
25367 if test EXPORTS = "`$SED 1q $export_symbols`"; then
25368 prefix_cmds="$prefix_cmds -e 1d";
25370 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
25371 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
25372 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
25373 emximp -o $lib $output_objdir/$libname.def'
25374 old_archive_From_new_cmds_GO='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
25375 enable_shared_with_static_runtimes_GO=yes
25379 hardcode_direct_GO=no
25380 hardcode_shlibpath_var_GO=no
25381 hardcode_libdir_flag_spec_GO='$wl-rpath,$libdir'
25382 export_dynamic_flag_spec_GO='$wl-E'
25383 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
25384 # Instead, shared libraries are loaded at an image base (0x10000000 by
25385 # default) and relocated if they conflict, which is a slow very memory
25386 # consuming and fragmenting process. To avoid this, we pick a random,
25387 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
25388 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
25389 archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
25390 archive_expsym_cmds_GO='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'
25393 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
25395 if test linux-dietlibc = "$host_os"; then
25396 case $cc_basename in
25397 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
25400 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
25401 && test no = "$tmp_diet"
25403 tmp_addflag=' $pic_flag'
25404 tmp_sharedflag='-shared'
25405 case $cc_basename,$host_cpu in
25406 pgcc*) # Portland Group C compiler
25407 whole_archive_flag_spec_GO='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
25408 tmp_addflag=' $pic_flag'
25410 pgf77* | pgf90* | pgf95* | pgfortran*)
25411 # Portland Group f77 and f90 compilers
25412 whole_archive_flag_spec_GO='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
25413 tmp_addflag=' $pic_flag -Mnomain' ;;
25414 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
25415 tmp_addflag=' -i_dynamic' ;;
25416 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
25417 tmp_addflag=' -i_dynamic -nofor_main' ;;
25418 ifc* | ifort*) # Intel Fortran compiler
25419 tmp_addflag=' -nofor_main' ;;
25420 lf95*) # Lahey Fortran 8.1
25421 whole_archive_flag_spec_GO=
25422 tmp_sharedflag='--shared' ;;
25423 nagfor*) # NAGFOR 5.3
25424 tmp_sharedflag='-Wl,-shared' ;;
25425 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
25426 tmp_sharedflag='-qmkshrobj'
25428 nvcc*) # Cuda Compiler Driver 2.2
25429 whole_archive_flag_spec_GO='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
25430 compiler_needs_object_GO=yes
25433 case `$CC -V 2>&1 | sed 5q` in
25434 *Sun\ C*) # Sun C 5.9
25435 whole_archive_flag_spec_GO='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
25436 compiler_needs_object_GO=yes
25437 tmp_sharedflag='-G' ;;
25438 *Sun\ F*) # Sun Fortran 8.3
25439 tmp_sharedflag='-G' ;;
25441 archive_cmds_GO='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25443 if test yes = "$supports_anon_versioning"; then
25444 archive_expsym_cmds_GO='echo "{ global:" > $output_objdir/$libname.ver~
25445 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25446 echo "local: *; };" >> $output_objdir/$libname.ver~
25447 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
25450 case $cc_basename in
25452 export_dynamic_flag_spec_GO='-rdynamic'
25454 xlf* | bgf* | bgxlf* | mpixlf*)
25455 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
25456 whole_archive_flag_spec_GO='--whole-archive$convenience --no-whole-archive'
25457 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
25458 archive_cmds_GO='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
25459 if test yes = "$supports_anon_versioning"; then
25460 archive_expsym_cmds_GO='echo "{ global:" > $output_objdir/$libname.ver~
25461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25462 echo "local: *; };" >> $output_objdir/$libname.ver~
25463 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
25473 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
25474 archive_cmds_GO='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
25477 archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25478 archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
25483 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
25487 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
25488 *** create shared libraries on Solaris systems. Therefore, libtool
25489 *** is disabling shared libraries support. We urge you to upgrade GNU
25490 *** binutils to release 2.9.1 or newer. Another option is to modify
25491 *** your PATH or compiler configuration so that the native linker is
25492 *** used, and then restart.
25495 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25496 archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25497 archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
25503 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
25504 case `$LD -v 2>&1` in
25505 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
25509 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
25510 *** reliably create shared libraries on SCO systems. Therefore, libtool
25511 *** is disabling shared libraries support. We urge you to upgrade GNU
25512 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
25513 *** your PATH or compiler configuration so that the native linker is
25514 *** used, and then restart.
25519 # For security reasons, it is highly recommended that you always
25520 # use absolute paths for naming shared libraries, and exclude the
25521 # DT_RUNPATH tag from executables and libraries. But doing so
25522 # requires that you compile everything twice, which is a pain.
25523 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25524 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
25525 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25526 archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
25535 archive_cmds_GO='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25537 hardcode_direct_GO=yes
25538 hardcode_shlibpath_var_GO=no
25542 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25543 archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25544 archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
25551 if test no = "$ld_shlibs_GO"; then
25553 hardcode_libdir_flag_spec_GO=
25554 export_dynamic_flag_spec_GO=
25555 whole_archive_flag_spec_GO=
25558 # PORTME fill in a description of your system's linker (not GNU ld)
25561 allow_undefined_flag_GO=unsupported
25562 always_export_symbols_GO=yes
25563 archive_expsym_cmds_GO='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
25564 # Note: this linker hardcodes the directories in LIBPATH if there
25565 # are no directories specified by -L.
25566 hardcode_minus_L_GO=yes
25567 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
25568 # Neither direct hardcoding nor static linking is supported with a
25570 hardcode_direct_GO=unsupported
25575 if test ia64 = "$host_cpu"; then
25576 # On IA64, the linker does run time linking by default, so we don't
25577 # have to do anything special.
25578 aix_use_runtimelinking=no
25579 exp_sym_flag='-Bexport'
25582 # If we're using GNU nm, then we don't want the "-C" option.
25583 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
25584 # Without the "-l" option, or with the "-B" option, AIX nm treats
25585 # weak defined symbols like other global defined symbols, whereas
25586 # GNU nm marks them as "W".
25587 # While the 'weak' keyword is ignored in the Export File, we need
25588 # it in the Import File for the 'aix-soname' feature, so we have
25589 # to replace the "-B" option with "-P" for AIX nm.
25590 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
25591 export_symbols_cmds_GO='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
25593 export_symbols_cmds_GO='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
25595 aix_use_runtimelinking=no
25597 # Test if we are trying to use run time linking or normal
25598 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
25599 # have runtime linking enabled, and use it for executables.
25600 # For shared libraries, we enable/disable runtime linking
25601 # depending on the kind of the shared library created -
25602 # when "with_aix_soname,aix_use_runtimelinking" is:
25603 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
25604 # "aix,yes" lib.so shared, rtl:yes, for executables
25605 # lib.a static archive
25606 # "both,no" lib.so.V(shr.o) shared, rtl:yes
25607 # lib.a(lib.so.V) shared, rtl:no, for executables
25608 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
25609 # lib.a(lib.so.V) shared, rtl:no
25610 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
25611 # lib.a static archive
25612 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
25613 for ld_flag in $LDFLAGS; do
25614 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
25615 aix_use_runtimelinking=yes
25619 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
25620 # With aix-soname=svr4, we create the lib.so.V shared archives only,
25621 # so we don't have lib.a shared libs to link our executables.
25622 # We have to force runtime linking in this case.
25623 aix_use_runtimelinking=yes
25624 LDFLAGS="$LDFLAGS -Wl,-brtl"
25629 exp_sym_flag='-bexport'
25630 no_entry_flag='-bnoentry'
25633 # When large executables or shared objects are built, AIX ld can
25634 # have problems creating the table of contents. If linking a library
25635 # or program results in "error TOC overflow" add -mminimal-toc to
25636 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
25637 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
25640 hardcode_direct_GO=yes
25641 hardcode_direct_absolute_GO=yes
25642 hardcode_libdir_separator_GO=':'
25643 link_all_deplibs_GO=yes
25644 file_list_spec_GO='$wl-f,'
25645 case $with_aix_soname,$aix_use_runtimelinking in
25646 aix,*) ;; # traditional, no import file
25647 svr4,* | *,yes) # use import file
25648 # The Import File defines what to hardcode.
25649 hardcode_direct_GO=no
25650 hardcode_direct_absolute_GO=no
25654 if test yes = "$GCC"; then
25655 case $host_os in aix4.[012]|aix4.[012].*)
25656 # We only want to do this on AIX 4.2 and lower, the check
25657 # below for broken collect2 doesn't work under 4.3+
25658 collect2name=`$CC -print-prog-name=collect2`
25659 if test -f "$collect2name" &&
25660 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
25662 # We have reworked collect2
25665 # We have old collect2
25666 hardcode_direct_GO=unsupported
25667 # It fails to find uninstalled libraries when the uninstalled
25668 # path is not listed in the libpath. Setting hardcode_minus_L
25669 # to unsupported forces relinking
25670 hardcode_minus_L_GO=yes
25671 hardcode_libdir_flag_spec_GO='-L$libdir'
25672 hardcode_libdir_separator_GO=
25676 shared_flag='-shared'
25677 if test yes = "$aix_use_runtimelinking"; then
25678 shared_flag="$shared_flag "'$wl-G'
25680 # Need to ensure runtime linking is disabled for the traditional
25681 # shared library, or the linker may eventually find shared libraries
25682 # /with/ Import File - we do not want to mix them.
25683 shared_flag_aix='-shared'
25684 shared_flag_svr4='-shared $wl-G'
25687 if test ia64 = "$host_cpu"; then
25688 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
25689 # chokes on -Wl,-G. The following line is correct:
25692 if test yes = "$aix_use_runtimelinking"; then
25693 shared_flag='$wl-G'
25695 shared_flag='$wl-bM:SRE'
25697 shared_flag_aix='$wl-bM:SRE'
25698 shared_flag_svr4='$wl-G'
25702 export_dynamic_flag_spec_GO='$wl-bexpall'
25703 # It seems that -bexpall does not export symbols beginning with
25704 # underscore (_), so it is better to generate a list of symbols to export.
25705 always_export_symbols_GO=yes
25706 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
25707 # Warning - without using the other runtime loading flags (-brtl),
25708 # -berok will link without error, but may produce a broken library.
25709 allow_undefined_flag_GO='-berok'
25710 # Determine the default libpath from the value encoded in an
25711 # empty executable.
25712 if test set = "${lt_cv_aix_libpath+set}"; then
25713 aix_libpath=$lt_cv_aix_libpath
25715 if ${lt_cv_aix_libpath__GO+:} false; then :
25716 $as_echo_n "(cached) " >&6
25718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25719 /* end confdefs.h. */
25729 if ac_fn_c_try_link "$LINENO"; then :
25731 lt_aix_libpath_sed='
25732 /Import File Strings/,/^$/ {
25734 s/^0 *\([^ ]*\) *$/\1/
25738 lt_cv_aix_libpath__GO=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25739 # Check for a 64-bit object if we didn't find anything.
25740 if test -z "$lt_cv_aix_libpath__GO"; then
25741 lt_cv_aix_libpath__GO=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25744 rm -f core conftest.err conftest.$ac_objext \
25745 conftest$ac_exeext conftest.$ac_ext
25746 if test -z "$lt_cv_aix_libpath__GO"; then
25747 lt_cv_aix_libpath__GO=/usr/lib:/lib
25752 aix_libpath=$lt_cv_aix_libpath__GO
25755 hardcode_libdir_flag_spec_GO='$wl-blibpath:$libdir:'"$aix_libpath"
25756 archive_expsym_cmds_GO='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
25758 if test ia64 = "$host_cpu"; then
25759 hardcode_libdir_flag_spec_GO='$wl-R $libdir:/usr/lib:/lib'
25760 allow_undefined_flag_GO="-z nodefs"
25761 archive_expsym_cmds_GO="\$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"
25763 # Determine the default libpath from the value encoded in an
25764 # empty executable.
25765 if test set = "${lt_cv_aix_libpath+set}"; then
25766 aix_libpath=$lt_cv_aix_libpath
25768 if ${lt_cv_aix_libpath__GO+:} false; then :
25769 $as_echo_n "(cached) " >&6
25771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25772 /* end confdefs.h. */
25782 if ac_fn_c_try_link "$LINENO"; then :
25784 lt_aix_libpath_sed='
25785 /Import File Strings/,/^$/ {
25787 s/^0 *\([^ ]*\) *$/\1/
25791 lt_cv_aix_libpath__GO=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25792 # Check for a 64-bit object if we didn't find anything.
25793 if test -z "$lt_cv_aix_libpath__GO"; then
25794 lt_cv_aix_libpath__GO=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25797 rm -f core conftest.err conftest.$ac_objext \
25798 conftest$ac_exeext conftest.$ac_ext
25799 if test -z "$lt_cv_aix_libpath__GO"; then
25800 lt_cv_aix_libpath__GO=/usr/lib:/lib
25805 aix_libpath=$lt_cv_aix_libpath__GO
25808 hardcode_libdir_flag_spec_GO='$wl-blibpath:$libdir:'"$aix_libpath"
25809 # Warning - without using the other run time loading flags,
25810 # -berok will link without error, but may produce a broken library.
25811 no_undefined_flag_GO=' $wl-bernotok'
25812 allow_undefined_flag_GO=' $wl-berok'
25813 if test yes = "$with_gnu_ld"; then
25814 # We only use this code for GNU lds that support --whole-archive.
25815 whole_archive_flag_spec_GO='$wl--whole-archive$convenience $wl--no-whole-archive'
25817 # Exported symbols can be pulled into shared objects from archives
25818 whole_archive_flag_spec_GO='$convenience'
25820 archive_cmds_need_lc_GO=yes
25821 archive_expsym_cmds_GO='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
25822 # -brtl affects multiple linker settings, -berok does not and is overridden later
25823 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
25824 if test svr4 != "$with_aix_soname"; then
25825 # This is similar to how AIX traditionally builds its shared libraries.
25826 archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
25828 if test aix != "$with_aix_soname"; then
25829 archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
25831 # used by -dlpreopen to get the symbols
25832 archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
25834 archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$RM -r $output_objdir/$realname.d'
25842 # see comment about AmigaOS4 .so support
25843 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25844 archive_expsym_cmds_GO=''
25847 archive_cmds_GO='$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)'
25848 hardcode_libdir_flag_spec_GO='-L$libdir'
25849 hardcode_minus_L_GO=yes
25855 export_dynamic_flag_spec_GO=-rdynamic
25858 cygwin* | mingw* | pw32* | cegcc*)
25859 # When not using gcc, we currently assume that we are using
25860 # Microsoft Visual C++.
25861 # hardcode_libdir_flag_spec is actually meaningless, as there is
25862 # no search path for DLLs.
25863 case $cc_basename in
25866 hardcode_libdir_flag_spec_GO=' '
25867 allow_undefined_flag_GO=unsupported
25868 always_export_symbols_GO=yes
25869 file_list_spec_GO='@'
25870 # Tell ltmain to make .lib files, not .a files.
25872 # Tell ltmain to make .dll files, not .so files.
25874 # FIXME: Setting linknames here is a bad hack.
25875 archive_cmds_GO='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
25876 archive_expsym_cmds_GO='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
25877 cp "$export_symbols" "$output_objdir/$soname.def";
25878 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
25880 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
25882 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
25884 # The linker will not automatically build a static lib if we build a DLL.
25885 # _LT_TAGVAR(old_archive_from_new_cmds, GO)='true'
25886 enable_shared_with_static_runtimes_GO=yes
25887 exclude_expsyms_GO='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
25888 export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
25890 old_postinstall_cmds_GO='chmod 644 $oldlib'
25891 postlink_cmds_GO='lt_outputfile="@OUTPUT@"~
25892 lt_tool_outputfile="@TOOL_OUTPUT@"~
25893 case $lt_outputfile in
25896 lt_outputfile=$lt_outputfile.exe
25897 lt_tool_outputfile=$lt_tool_outputfile.exe
25900 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
25901 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
25902 $RM "$lt_outputfile.manifest";
25906 # Assume MSVC wrapper
25907 hardcode_libdir_flag_spec_GO=' '
25908 allow_undefined_flag_GO=unsupported
25909 # Tell ltmain to make .lib files, not .a files.
25911 # Tell ltmain to make .dll files, not .so files.
25913 # FIXME: Setting linknames here is a bad hack.
25914 archive_cmds_GO='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
25915 # The linker will automatically build a .lib file if we build a DLL.
25916 old_archive_from_new_cmds_GO='true'
25917 # FIXME: Should let the user specify the lib program.
25918 old_archive_cmds_GO='lib -OUT:$oldlib$oldobjs$old_deplibs'
25919 enable_shared_with_static_runtimes_GO=yes
25924 darwin* | rhapsody*)
25927 archive_cmds_need_lc_GO=no
25928 hardcode_direct_GO=no
25929 hardcode_automatic_GO=yes
25930 hardcode_shlibpath_var_GO=unsupported
25931 if test yes = "$lt_cv_ld_force_load"; then
25932 whole_archive_flag_spec_GO='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
25935 whole_archive_flag_spec_GO=''
25937 link_all_deplibs_GO=yes
25938 allow_undefined_flag_GO=$_lt_dar_allow_undefined
25939 case $cc_basename in
25940 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
25941 *) _lt_dar_can_shared=$GCC ;;
25943 if test yes = "$_lt_dar_can_shared"; then
25944 output_verbose_link_cmd=func_echo_all
25945 archive_cmds_GO="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
25946 module_cmds_GO="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
25947 archive_expsym_cmds_GO="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"
25948 module_expsym_cmds_GO="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"
25957 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25958 hardcode_libdir_flag_spec_GO='-L$libdir'
25959 hardcode_shlibpath_var_GO=no
25962 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
25963 # support. Future versions do this automatically, but an explicit c++rt0.o
25964 # does not break anything, and helps significantly (at the cost of a little
25967 archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
25968 hardcode_libdir_flag_spec_GO='-R$libdir'
25969 hardcode_direct_GO=yes
25970 hardcode_shlibpath_var_GO=no
25973 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
25975 archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25976 hardcode_direct_GO=yes
25977 hardcode_minus_L_GO=yes
25978 hardcode_shlibpath_var_GO=no
25981 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25982 freebsd* | dragonfly*)
25983 archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25984 hardcode_libdir_flag_spec_GO='-R$libdir'
25985 hardcode_direct_GO=yes
25986 hardcode_shlibpath_var_GO=no
25990 if test yes = "$GCC"; then
25991 archive_cmds_GO='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
25993 archive_cmds_GO='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
25995 hardcode_libdir_flag_spec_GO='$wl+b $wl$libdir'
25996 hardcode_libdir_separator_GO=:
25997 hardcode_direct_GO=yes
25999 # hardcode_minus_L: Not really in the search PATH,
26000 # but as the default location of the library.
26001 hardcode_minus_L_GO=yes
26002 export_dynamic_flag_spec_GO='$wl-E'
26006 if test yes,no = "$GCC,$with_gnu_ld"; then
26007 archive_cmds_GO='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26009 archive_cmds_GO='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
26011 if test no = "$with_gnu_ld"; then
26012 hardcode_libdir_flag_spec_GO='$wl+b $wl$libdir'
26013 hardcode_libdir_separator_GO=:
26014 hardcode_direct_GO=yes
26015 hardcode_direct_absolute_GO=yes
26016 export_dynamic_flag_spec_GO='$wl-E'
26017 # hardcode_minus_L: Not really in the search PATH,
26018 # but as the default location of the library.
26019 hardcode_minus_L_GO=yes
26024 if test yes,no = "$GCC,$with_gnu_ld"; then
26027 archive_cmds_GO='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
26030 archive_cmds_GO='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26033 archive_cmds_GO='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26039 archive_cmds_GO='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
26042 archive_cmds_GO='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26045 archive_cmds_GO='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26049 if test no = "$with_gnu_ld"; then
26050 hardcode_libdir_flag_spec_GO='$wl+b $wl$libdir'
26051 hardcode_libdir_separator_GO=:
26055 hardcode_direct_GO=no
26056 hardcode_shlibpath_var_GO=no
26059 hardcode_direct_GO=yes
26060 hardcode_direct_absolute_GO=yes
26061 export_dynamic_flag_spec_GO='$wl-E'
26063 # hardcode_minus_L: Not really in the search PATH,
26064 # but as the default location of the library.
26065 hardcode_minus_L_GO=yes
26071 irix5* | irix6* | nonstopux*)
26072 if test yes = "$GCC"; then
26073 archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
26074 # Try to use the -exported_symbol ld option, if it does not
26075 # work, assume that -exports_file does not work either and
26076 # implicitly export all symbols.
26077 # This should be the same for all languages, so no per-tag cache variable.
26078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
26079 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
26080 if ${lt_cv_irix_exported_symbol+:} false; then :
26081 $as_echo_n "(cached) " >&6
26083 save_LDFLAGS=$LDFLAGS
26084 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
26085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26086 /* end confdefs.h. */
26087 int foo (void) { return 0; }
26089 if ac_fn_c_try_link "$LINENO"; then :
26090 lt_cv_irix_exported_symbol=yes
26092 lt_cv_irix_exported_symbol=no
26094 rm -f core conftest.err conftest.$ac_objext \
26095 conftest$ac_exeext conftest.$ac_ext
26096 LDFLAGS=$save_LDFLAGS
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
26099 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
26100 if test yes = "$lt_cv_irix_exported_symbol"; then
26101 archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
26104 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
26105 archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
26107 archive_cmds_need_lc_GO='no'
26108 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26109 hardcode_libdir_separator_GO=:
26110 inherit_rpath_GO=yes
26111 link_all_deplibs_GO=yes
26115 case $cc_basename in
26117 # Fabrice Bellard et al's Tiny C Compiler
26119 archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26125 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
26126 archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
26128 archive_cmds_GO='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
26130 hardcode_libdir_flag_spec_GO='-R$libdir'
26131 hardcode_direct_GO=yes
26132 hardcode_shlibpath_var_GO=no
26136 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26137 hardcode_direct_GO=yes
26138 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26139 hardcode_libdir_separator_GO=:
26140 hardcode_shlibpath_var_GO=no
26146 openbsd* | bitrig*)
26147 if test -f /usr/libexec/ld.so; then
26148 hardcode_direct_GO=yes
26149 hardcode_shlibpath_var_GO=no
26150 hardcode_direct_absolute_GO=yes
26151 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
26152 archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26153 archive_expsym_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
26154 hardcode_libdir_flag_spec_GO='$wl-rpath,$libdir'
26155 export_dynamic_flag_spec_GO='$wl-E'
26157 archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26158 hardcode_libdir_flag_spec_GO='$wl-rpath,$libdir'
26166 hardcode_libdir_flag_spec_GO='-L$libdir'
26167 hardcode_minus_L_GO=yes
26168 allow_undefined_flag_GO=unsupported
26170 archive_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
26171 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
26172 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
26173 $ECHO EXPORTS >> $output_objdir/$libname.def~
26174 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
26175 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
26176 emximp -o $lib $output_objdir/$libname.def'
26177 archive_expsym_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
26178 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
26179 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
26180 $ECHO EXPORTS >> $output_objdir/$libname.def~
26181 prefix_cmds="$SED"~
26182 if test EXPORTS = "`$SED 1q $export_symbols`"; then
26183 prefix_cmds="$prefix_cmds -e 1d";
26185 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
26186 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
26187 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
26188 emximp -o $lib $output_objdir/$libname.def'
26189 old_archive_From_new_cmds_GO='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
26190 enable_shared_with_static_runtimes_GO=yes
26194 if test yes = "$GCC"; then
26195 allow_undefined_flag_GO=' $wl-expect_unresolved $wl\*'
26196 archive_cmds_GO='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
26198 allow_undefined_flag_GO=' -expect_unresolved \*'
26199 archive_cmds_GO='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
26201 archive_cmds_need_lc_GO='no'
26202 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26203 hardcode_libdir_separator_GO=:
26206 osf4* | osf5*) # as osf3* with the addition of -msym flag
26207 if test yes = "$GCC"; then
26208 allow_undefined_flag_GO=' $wl-expect_unresolved $wl\*'
26209 archive_cmds_GO='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
26210 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26212 allow_undefined_flag_GO=' -expect_unresolved \*'
26213 archive_cmds_GO='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
26214 archive_expsym_cmds_GO='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
26215 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
26217 # Both c and cxx compiler support -rpath directly
26218 hardcode_libdir_flag_spec_GO='-rpath $libdir'
26220 archive_cmds_need_lc_GO='no'
26221 hardcode_libdir_separator_GO=:
26225 no_undefined_flag_GO=' -z defs'
26226 if test yes = "$GCC"; then
26228 archive_cmds_GO='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
26229 archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26230 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
26232 case `$CC -V 2>&1` in
26235 archive_cmds_GO='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
26236 archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26237 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
26241 archive_cmds_GO='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
26242 archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26243 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
26247 hardcode_libdir_flag_spec_GO='-R$libdir'
26248 hardcode_shlibpath_var_GO=no
26250 solaris2.[0-5] | solaris2.[0-5].*) ;;
26252 # The compiler driver will combine and reorder linker options,
26253 # but understands '-z linker_flag'. GCC discards it without '$wl',
26254 # but is careful enough not to reorder.
26255 # Supported since Solaris 2.6 (maybe 2.5.1?)
26256 if test yes = "$GCC"; then
26257 whole_archive_flag_spec_GO='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
26259 whole_archive_flag_spec_GO='-z allextract$convenience -z defaultextract'
26263 link_all_deplibs_GO=yes
26267 if test sequent = "$host_vendor"; then
26268 # Use $CC to link under sequent, because it throws in some extra .o
26269 # files that make .init and .fini sections work.
26270 archive_cmds_GO='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
26272 archive_cmds_GO='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
26274 hardcode_libdir_flag_spec_GO='-L$libdir'
26275 hardcode_direct_GO=yes
26276 hardcode_minus_L_GO=yes
26277 hardcode_shlibpath_var_GO=no
26281 case $host_vendor in
26283 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26284 hardcode_direct_GO=yes # is this really true???
26287 ## LD is ld it makes a PLAMLIB
26288 ## CC just makes a GrossModule.
26289 archive_cmds_GO='$LD -G -o $lib $libobjs $deplibs $linker_flags'
26290 reload_cmds_GO='$CC -r -o $output$reload_objs'
26291 hardcode_direct_GO=no
26294 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26295 hardcode_direct_GO=no #Motorola manual says yes, but my tests say they lie
26298 runpath_var='LD_RUN_PATH'
26299 hardcode_shlibpath_var_GO=no
26303 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26304 hardcode_shlibpath_var_GO=no
26305 export_dynamic_flag_spec_GO='-Bexport'
26309 if test -d /usr/nec; then
26310 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26311 hardcode_shlibpath_var_GO=no
26312 runpath_var=LD_RUN_PATH
26313 hardcode_runpath_var=yes
26318 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
26319 no_undefined_flag_GO='$wl-z,text'
26320 archive_cmds_need_lc_GO=no
26321 hardcode_shlibpath_var_GO=no
26322 runpath_var='LD_RUN_PATH'
26324 if test yes = "$GCC"; then
26325 archive_cmds_GO='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26326 archive_expsym_cmds_GO='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26328 archive_cmds_GO='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26329 archive_expsym_cmds_GO='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26333 sysv5* | sco3.2v5* | sco5v6*)
26334 # Note: We CANNOT use -z defs as we might desire, because we do not
26335 # link with -lc, and that would cause any symbols used from libc to
26336 # always be unresolved, which means just about no library would
26337 # ever link correctly. If we're not using GNU ld we use -z text
26338 # though, which does catch some bad symbols but isn't as heavy-handed
26340 no_undefined_flag_GO='$wl-z,text'
26341 allow_undefined_flag_GO='$wl-z,nodefs'
26342 archive_cmds_need_lc_GO=no
26343 hardcode_shlibpath_var_GO=no
26344 hardcode_libdir_flag_spec_GO='$wl-R,$libdir'
26345 hardcode_libdir_separator_GO=':'
26346 link_all_deplibs_GO=yes
26347 export_dynamic_flag_spec_GO='$wl-Bexport'
26348 runpath_var='LD_RUN_PATH'
26350 if test yes = "$GCC"; then
26351 archive_cmds_GO='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26352 archive_expsym_cmds_GO='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26354 archive_cmds_GO='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26355 archive_expsym_cmds_GO='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26360 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26361 hardcode_libdir_flag_spec_GO='-L$libdir'
26362 hardcode_shlibpath_var_GO=no
26370 if test sni = "$host_vendor"; then
26372 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
26373 export_dynamic_flag_spec_GO='$wl-Blargedynsym'
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
26380 $as_echo "$ld_shlibs_GO" >&6; }
26381 test no = "$ld_shlibs_GO" && can_build_shared=no
26383 with_gnu_ld_GO=$with_gnu_ld
26391 # Do we need to explicitly link libc?
26393 case "x$archive_cmds_need_lc_GO" in
26395 # Assume -lc should be added
26396 archive_cmds_need_lc_GO=yes
26398 if test yes,yes = "$GCC,$enable_shared"; then
26399 case $archive_cmds_GO in
26401 # FIXME: we may have to deal with multi-command sequences.
26404 # Test whether the compiler implicitly links with -lc since on some
26405 # systems, -lgcc has to come before -lc. If gcc already passes -lc
26406 # to ld, don't add -lc before -lgcc.
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
26408 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
26409 if ${lt_cv_archive_cmds_need_lc_GO+:} false; then :
26410 $as_echo_n "(cached) " >&6
26413 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
26416 (eval $ac_compile) 2>&5
26418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26419 test $ac_status = 0; } 2>conftest.err; then
26422 libobjs=conftest.$ac_objext
26424 wl=$lt_prog_compiler_wl_GO
26425 pic_flag=$lt_prog_compiler_pic_GO
26431 lt_save_allow_undefined_flag=$allow_undefined_flag_GO
26432 allow_undefined_flag_GO=
26433 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
26434 (eval $archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
26436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26437 test $ac_status = 0; }
26439 lt_cv_archive_cmds_need_lc_GO=no
26441 lt_cv_archive_cmds_need_lc_GO=yes
26443 allow_undefined_flag_GO=$lt_save_allow_undefined_flag
26445 cat conftest.err 1>&5
26450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
26451 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
26452 archive_cmds_need_lc_GO=$lt_cv_archive_cmds_need_lc_GO
26520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
26521 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
26522 hardcode_action_GO=
26523 if test -n "$hardcode_libdir_flag_spec_GO" ||
26524 test -n "$runpath_var_GO" ||
26525 test yes = "$hardcode_automatic_GO"; then
26527 # We can hardcode non-existent directories.
26528 if test no != "$hardcode_direct_GO" &&
26529 # If the only mechanism to avoid hardcoding is shlibpath_var, we
26530 # have to relink, otherwise we might link with an installed library
26531 # when we should be linking with a yet-to-be-installed one
26532 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" &&
26533 test no != "$hardcode_minus_L_GO"; then
26534 # Linking always hardcodes the temporary library directory.
26535 hardcode_action_GO=relink
26537 # We can link without hardcoding, and we can hardcode nonexisting dirs.
26538 hardcode_action_GO=immediate
26541 # We cannot hardcode anything, or else we can only hardcode existing
26543 hardcode_action_GO=unsupported
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
26546 $as_echo "$hardcode_action_GO" >&6; }
26548 if test relink = "$hardcode_action_GO" ||
26549 test yes = "$inherit_rpath_GO"; then
26550 # Fast installation is not supported
26551 enable_fast_install=no
26552 elif test yes = "$shlibpath_overrides_runpath" ||
26553 test no = "$enable_shared"; then
26554 # Fast installation is not necessary
26555 enable_fast_install=needless
26567 ac_cpp='$CPP $CPPFLAGS'
26568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26575 CFLAGS=$lt_save_CFLAGS
26577 if test -n "$ac_tool_prefix"; then
26578 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
26579 set dummy ${ac_tool_prefix}gcj; ac_word=$2
26580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26581 $as_echo_n "checking for $ac_word... " >&6; }
26582 if ${ac_cv_prog_GCJ+:} false; then :
26583 $as_echo_n "(cached) " >&6
26585 if test -n "$GCJ"; then
26586 ac_cv_prog_GCJ="$GCJ" # Let the user override the test.
26588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26589 for as_dir in $PATH
26592 test -z "$as_dir" && as_dir=.
26593 for ac_exec_ext in '' $ac_executable_extensions; do
26594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26595 ac_cv_prog_GCJ="${ac_tool_prefix}gcj"
26596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26605 GCJ=$ac_cv_prog_GCJ
26606 if test -n "$GCJ"; then
26607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
26608 $as_echo "$GCJ" >&6; }
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26611 $as_echo "no" >&6; }
26616 if test -z "$ac_cv_prog_GCJ"; then
26618 # Extract the first word of "gcj", so it can be a program name with args.
26619 set dummy gcj; ac_word=$2
26620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26621 $as_echo_n "checking for $ac_word... " >&6; }
26622 if ${ac_cv_prog_ac_ct_GCJ+:} false; then :
26623 $as_echo_n "(cached) " >&6
26625 if test -n "$ac_ct_GCJ"; then
26626 ac_cv_prog_ac_ct_GCJ="$ac_ct_GCJ" # Let the user override the test.
26628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26629 for as_dir in $PATH
26632 test -z "$as_dir" && as_dir=.
26633 for ac_exec_ext in '' $ac_executable_extensions; do
26634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26635 ac_cv_prog_ac_ct_GCJ="gcj"
26636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26645 ac_ct_GCJ=$ac_cv_prog_ac_ct_GCJ
26646 if test -n "$ac_ct_GCJ"; then
26647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
26648 $as_echo "$ac_ct_GCJ" >&6; }
26650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26651 $as_echo "no" >&6; }
26654 if test "x$ac_ct_GCJ" = x; then
26657 case $cross_compiling:$ac_tool_warned in
26659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26661 ac_tool_warned=yes ;;
26666 GCJ="$ac_cv_prog_GCJ"
26669 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
26673 # Source file extension for Java test sources.
26676 # Object file extension for compiled Java test sources.
26680 # Code to be used in simple compile tests
26681 lt_simple_compile_test_code="class foo {}"
26683 # Code to be used in simple link tests
26684 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
26686 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26693 # If no C compiler was specified, use CC.
26696 # If no C compiler flags were specified, use CFLAGS.
26697 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
26699 # Allow CC to be a program name with arguments.
26703 # save warnings/boilerplate of simple test code
26704 ac_outfile=conftest.$ac_objext
26705 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
26706 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26707 _lt_compiler_boilerplate=`cat conftest.err`
26710 ac_outfile=conftest.$ac_objext
26711 echo "$lt_simple_link_test_code" >conftest.$ac_ext
26712 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26713 _lt_linker_boilerplate=`cat conftest.err`
26717 # Allow CC to be a program name with arguments.
26719 lt_save_CFLAGS=$CFLAGS
26727 func_cc_basename $compiler
26728 cc_basename=$func_cc_basename_result
26731 # GCJ did not exist at the time GCC didn't implicitly link libc in.
26732 archive_cmds_need_lc_GCJ=no
26734 old_archive_cmds_GCJ=$old_archive_cmds
26735 reload_flag_GCJ=$reload_flag
26736 reload_cmds_GCJ=$reload_cmds
26739 ## There is no encapsulation within the following macros, do not change
26740 ## the running order or otherwise move them around unless you know exactly
26741 ## what you are doing...
26742 if test -n "$compiler"; then
26744 lt_prog_compiler_no_builtin_flag_GCJ=
26746 if test yes = "$GCC"; then
26747 case $cc_basename in
26749 lt_prog_compiler_no_builtin_flag_GCJ=' -Xcompiler -fno-builtin' ;;
26751 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' ;;
26754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
26755 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
26756 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
26757 $as_echo_n "(cached) " >&6
26759 lt_cv_prog_compiler_rtti_exceptions=no
26760 ac_outfile=conftest.$ac_objext
26761 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26762 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
26763 # Insert the option either (1) after the last *FLAGS variable, or
26764 # (2) before a word containing "conftest.", or (3) at the end.
26765 # Note that $ac_compile itself does not contain backslashes and begins
26766 # with a dollar sign (not a hyphen), so the echo should work correctly.
26767 # The option is referenced via a variable to avoid confusing sed.
26768 lt_compile=`echo "$ac_compile" | $SED \
26769 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
26770 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
26771 -e 's:$: $lt_compiler_flag:'`
26772 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
26773 (eval "$lt_compile" 2>conftest.err)
26775 cat conftest.err >&5
26776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26777 if (exit $ac_status) && test -s "$ac_outfile"; then
26778 # The compiler can only warn and ignore the option if not recognized
26779 # So say no if there are warnings other than the usual output.
26780 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
26781 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
26782 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
26783 lt_cv_prog_compiler_rtti_exceptions=yes
26789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
26790 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
26792 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
26793 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
26802 lt_prog_compiler_wl_GCJ=
26803 lt_prog_compiler_pic_GCJ=
26804 lt_prog_compiler_static_GCJ=
26807 if test yes = "$GCC"; then
26808 lt_prog_compiler_wl_GCJ='-Wl,'
26809 lt_prog_compiler_static_GCJ='-static'
26813 # All AIX code is PIC.
26814 if test ia64 = "$host_cpu"; then
26815 # AIX 5 now supports IA64 processor
26816 lt_prog_compiler_static_GCJ='-Bstatic'
26818 lt_prog_compiler_pic_GCJ='-fPIC'
26824 # see comment about AmigaOS4 .so support
26825 lt_prog_compiler_pic_GCJ='-fPIC'
26828 # FIXME: we need at least 68020 code to build shared libraries, but
26829 # adding the '-m68020' flag to GCC prevents building anything better,
26831 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
26836 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
26837 # PIC is the default for these OSes.
26840 mingw* | cygwin* | pw32* | os2* | cegcc*)
26841 # This hack is so that the source file can tell whether it is being
26842 # built for inclusion in a dll (and should export symbols for example).
26843 # Although the cygwin gcc ignores -fPIC, still need this for old-style
26844 # (--disable-auto-import) libraries
26848 lt_prog_compiler_static_GCJ='$wl-static'
26853 darwin* | rhapsody*)
26854 # PIC is the default on this platform
26855 # Common symbols not allowed in MH_DYLIB files
26856 lt_prog_compiler_pic_GCJ='-fno-common'
26860 # PIC is the default for Haiku.
26861 # The "-static" flag exists, but is broken.
26862 lt_prog_compiler_static_GCJ=
26866 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
26867 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
26868 # sets the default TLS model and affects inlining.
26874 lt_prog_compiler_pic_GCJ='-fPIC'
26880 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
26881 # Instead, we relocate shared libraries at runtime.
26885 # Just because we use GCC doesn't mean we suddenly get shared libraries
26886 # on systems that don't support them.
26887 lt_prog_compiler_can_build_shared_GCJ=no
26892 # QNX uses GNU C++, but need to define -shared option too, otherwise
26893 # it will coredump.
26894 lt_prog_compiler_pic_GCJ='-fPIC -shared'
26898 if test -d /usr/nec; then
26899 lt_prog_compiler_pic_GCJ=-Kconform_pic
26904 lt_prog_compiler_pic_GCJ='-fPIC'
26908 case $cc_basename in
26909 nvcc*) # Cuda Compiler Driver 2.2
26910 lt_prog_compiler_wl_GCJ='-Xlinker '
26911 if test -n "$lt_prog_compiler_pic_GCJ"; then
26912 lt_prog_compiler_pic_GCJ="-Xcompiler $lt_prog_compiler_pic_GCJ"
26917 # PORTME Check for flag to pass linker flags through the system compiler.
26920 lt_prog_compiler_wl_GCJ='-Wl,'
26921 if test ia64 = "$host_cpu"; then
26922 # AIX 5 now supports IA64 processor
26923 lt_prog_compiler_static_GCJ='-Bstatic'
26925 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
26929 darwin* | rhapsody*)
26930 # PIC is the default on this platform
26931 # Common symbols not allowed in MH_DYLIB files
26932 lt_prog_compiler_pic_GCJ='-fno-common'
26933 case $cc_basename in
26935 # NAG Fortran compiler
26936 lt_prog_compiler_wl_GCJ='-Wl,-Wl,,'
26937 lt_prog_compiler_pic_GCJ='-PIC'
26938 lt_prog_compiler_static_GCJ='-Bstatic'
26943 mingw* | cygwin* | pw32* | os2* | cegcc*)
26944 # This hack is so that the source file can tell whether it is being
26945 # built for inclusion in a dll (and should export symbols for example).
26949 lt_prog_compiler_static_GCJ='$wl-static'
26954 hpux9* | hpux10* | hpux11*)
26955 lt_prog_compiler_wl_GCJ='-Wl,'
26956 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
26957 # not for PA HP-UX.
26963 lt_prog_compiler_pic_GCJ='+Z'
26966 # Is there a better lt_prog_compiler_static that works with the bundled CC?
26967 lt_prog_compiler_static_GCJ='$wl-a ${wl}archive'
26970 irix5* | irix6* | nonstopux*)
26971 lt_prog_compiler_wl_GCJ='-Wl,'
26972 # PIC (with -KPIC) is the default.
26973 lt_prog_compiler_static_GCJ='-non_shared'
26976 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
26977 case $cc_basename in
26978 # old Intel for x86_64, which still supported -KPIC.
26980 lt_prog_compiler_wl_GCJ='-Wl,'
26981 lt_prog_compiler_pic_GCJ='-KPIC'
26982 lt_prog_compiler_static_GCJ='-static'
26984 # icc used to be incompatible with GCC.
26985 # ICC 10 doesn't accept -KPIC any more.
26987 lt_prog_compiler_wl_GCJ='-Wl,'
26988 lt_prog_compiler_pic_GCJ='-fPIC'
26989 lt_prog_compiler_static_GCJ='-static'
26991 # Lahey Fortran 8.1.
26993 lt_prog_compiler_wl_GCJ='-Wl,'
26994 lt_prog_compiler_pic_GCJ='--shared'
26995 lt_prog_compiler_static_GCJ='--static'
26998 # NAG Fortran compiler
26999 lt_prog_compiler_wl_GCJ='-Wl,-Wl,,'
27000 lt_prog_compiler_pic_GCJ='-PIC'
27001 lt_prog_compiler_static_GCJ='-Bstatic'
27004 # Fabrice Bellard et al's Tiny C Compiler
27005 lt_prog_compiler_wl_GCJ='-Wl,'
27006 lt_prog_compiler_pic_GCJ='-fPIC'
27007 lt_prog_compiler_static_GCJ='-static'
27009 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
27010 # Portland Group compilers (*not* the Pentium gcc compiler,
27011 # which looks to be a dead project)
27012 lt_prog_compiler_wl_GCJ='-Wl,'
27013 lt_prog_compiler_pic_GCJ='-fpic'
27014 lt_prog_compiler_static_GCJ='-Bstatic'
27017 lt_prog_compiler_wl_GCJ='-Wl,'
27018 # All Alpha code is PIC.
27019 lt_prog_compiler_static_GCJ='-non_shared'
27021 xl* | bgxl* | bgf* | mpixl*)
27022 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
27023 lt_prog_compiler_wl_GCJ='-Wl,'
27024 lt_prog_compiler_pic_GCJ='-qpic'
27025 lt_prog_compiler_static_GCJ='-qstaticlink'
27028 case `$CC -V 2>&1 | sed 5q` in
27029 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
27030 # Sun Fortran 8.3 passes all unrecognized flags to the linker
27031 lt_prog_compiler_pic_GCJ='-KPIC'
27032 lt_prog_compiler_static_GCJ='-Bstatic'
27033 lt_prog_compiler_wl_GCJ=''
27035 *Sun\ F* | *Sun*Fortran*)
27036 lt_prog_compiler_pic_GCJ='-KPIC'
27037 lt_prog_compiler_static_GCJ='-Bstatic'
27038 lt_prog_compiler_wl_GCJ='-Qoption ld '
27042 lt_prog_compiler_pic_GCJ='-KPIC'
27043 lt_prog_compiler_static_GCJ='-Bstatic'
27044 lt_prog_compiler_wl_GCJ='-Wl,'
27046 *Intel*\ [CF]*Compiler*)
27047 lt_prog_compiler_wl_GCJ='-Wl,'
27048 lt_prog_compiler_pic_GCJ='-fPIC'
27049 lt_prog_compiler_static_GCJ='-static'
27052 lt_prog_compiler_wl_GCJ='-Wl,'
27053 lt_prog_compiler_pic_GCJ='-fpic'
27054 lt_prog_compiler_static_GCJ='-Bstatic'
27062 lt_prog_compiler_pic_GCJ='-KPIC'
27063 lt_prog_compiler_static_GCJ='-Bstatic'
27067 # QNX uses GNU C++, but need to define -shared option too, otherwise
27068 # it will coredump.
27069 lt_prog_compiler_pic_GCJ='-fPIC -shared'
27072 osf3* | osf4* | osf5*)
27073 lt_prog_compiler_wl_GCJ='-Wl,'
27074 # All OSF/1 code is PIC.
27075 lt_prog_compiler_static_GCJ='-non_shared'
27079 lt_prog_compiler_static_GCJ='-non_shared'
27083 lt_prog_compiler_pic_GCJ='-KPIC'
27084 lt_prog_compiler_static_GCJ='-Bstatic'
27085 case $cc_basename in
27086 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
27087 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
27089 lt_prog_compiler_wl_GCJ='-Wl,';;
27094 lt_prog_compiler_wl_GCJ='-Qoption ld '
27095 lt_prog_compiler_pic_GCJ='-PIC'
27096 lt_prog_compiler_static_GCJ='-Bstatic'
27099 sysv4 | sysv4.2uw2* | sysv4.3*)
27100 lt_prog_compiler_wl_GCJ='-Wl,'
27101 lt_prog_compiler_pic_GCJ='-KPIC'
27102 lt_prog_compiler_static_GCJ='-Bstatic'
27106 if test -d /usr/nec; then
27107 lt_prog_compiler_pic_GCJ='-Kconform_pic'
27108 lt_prog_compiler_static_GCJ='-Bstatic'
27112 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
27113 lt_prog_compiler_wl_GCJ='-Wl,'
27114 lt_prog_compiler_pic_GCJ='-KPIC'
27115 lt_prog_compiler_static_GCJ='-Bstatic'
27119 lt_prog_compiler_wl_GCJ='-Wl,'
27120 lt_prog_compiler_can_build_shared_GCJ=no
27124 lt_prog_compiler_pic_GCJ='-pic'
27125 lt_prog_compiler_static_GCJ='-Bstatic'
27129 lt_prog_compiler_can_build_shared_GCJ=no
27135 # For platforms that do not support PIC, -DPIC is meaningless:
27137 lt_prog_compiler_pic_GCJ=
27140 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
27144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
27145 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
27146 if ${lt_cv_prog_compiler_pic_GCJ+:} false; then :
27147 $as_echo_n "(cached) " >&6
27149 lt_cv_prog_compiler_pic_GCJ=$lt_prog_compiler_pic_GCJ
27151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_GCJ" >&5
27152 $as_echo "$lt_cv_prog_compiler_pic_GCJ" >&6; }
27153 lt_prog_compiler_pic_GCJ=$lt_cv_prog_compiler_pic_GCJ
27156 # Check to make sure the PIC flag actually works.
27158 if test -n "$lt_prog_compiler_pic_GCJ"; then
27159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
27160 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
27161 if ${lt_cv_prog_compiler_pic_works_GCJ+:} false; then :
27162 $as_echo_n "(cached) " >&6
27164 lt_cv_prog_compiler_pic_works_GCJ=no
27165 ac_outfile=conftest.$ac_objext
27166 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27167 lt_compiler_flag="$lt_prog_compiler_pic_GCJ" ## exclude from sc_useless_quotes_in_assignment
27168 # Insert the option either (1) after the last *FLAGS variable, or
27169 # (2) before a word containing "conftest.", or (3) at the end.
27170 # Note that $ac_compile itself does not contain backslashes and begins
27171 # with a dollar sign (not a hyphen), so the echo should work correctly.
27172 # The option is referenced via a variable to avoid confusing sed.
27173 lt_compile=`echo "$ac_compile" | $SED \
27174 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27175 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27176 -e 's:$: $lt_compiler_flag:'`
27177 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
27178 (eval "$lt_compile" 2>conftest.err)
27180 cat conftest.err >&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 if (exit $ac_status) && test -s "$ac_outfile"; then
27183 # The compiler can only warn and ignore the option if not recognized
27184 # So say no if there are warnings other than the usual output.
27185 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
27186 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
27187 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
27188 lt_cv_prog_compiler_pic_works_GCJ=yes
27194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
27195 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
27197 if test yes = "$lt_cv_prog_compiler_pic_works_GCJ"; then
27198 case $lt_prog_compiler_pic_GCJ in
27200 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
27203 lt_prog_compiler_pic_GCJ=
27204 lt_prog_compiler_can_build_shared_GCJ=no
27214 # Check to make sure the static flag actually works.
27216 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
27217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
27218 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
27219 if ${lt_cv_prog_compiler_static_works_GCJ+:} false; then :
27220 $as_echo_n "(cached) " >&6
27222 lt_cv_prog_compiler_static_works_GCJ=no
27223 save_LDFLAGS=$LDFLAGS
27224 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
27225 echo "$lt_simple_link_test_code" > conftest.$ac_ext
27226 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
27227 # The linker can only warn and ignore the option if not recognized
27228 # So say no if there are warnings
27229 if test -s conftest.err; then
27230 # Append any errors to the config.log.
27231 cat conftest.err 1>&5
27232 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
27233 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
27234 if diff conftest.exp conftest.er2 >/dev/null; then
27235 lt_cv_prog_compiler_static_works_GCJ=yes
27238 lt_cv_prog_compiler_static_works_GCJ=yes
27242 LDFLAGS=$save_LDFLAGS
27245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
27246 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
27248 if test yes = "$lt_cv_prog_compiler_static_works_GCJ"; then
27251 lt_prog_compiler_static_GCJ=
27257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
27258 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
27259 if ${lt_cv_prog_compiler_c_o_GCJ+:} false; then :
27260 $as_echo_n "(cached) " >&6
27262 lt_cv_prog_compiler_c_o_GCJ=no
27263 $RM -r conftest 2>/dev/null
27267 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27269 lt_compiler_flag="-o out/conftest2.$ac_objext"
27270 # Insert the option either (1) after the last *FLAGS variable, or
27271 # (2) before a word containing "conftest.", or (3) at the end.
27272 # Note that $ac_compile itself does not contain backslashes and begins
27273 # with a dollar sign (not a hyphen), so the echo should work correctly.
27274 lt_compile=`echo "$ac_compile" | $SED \
27275 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27276 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27277 -e 's:$: $lt_compiler_flag:'`
27278 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
27279 (eval "$lt_compile" 2>out/conftest.err)
27281 cat out/conftest.err >&5
27282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283 if (exit $ac_status) && test -s out/conftest2.$ac_objext
27285 # The compiler can only warn and ignore the option if not recognized
27286 # So say no if there are warnings
27287 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
27288 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
27289 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
27290 lt_cv_prog_compiler_c_o_GCJ=yes
27295 # SGI C++ compiler will create directory out/ii_files/ for
27296 # template instantiation
27297 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
27298 $RM out/* && rmdir out
27304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
27305 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
27310 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
27311 if ${lt_cv_prog_compiler_c_o_GCJ+:} false; then :
27312 $as_echo_n "(cached) " >&6
27314 lt_cv_prog_compiler_c_o_GCJ=no
27315 $RM -r conftest 2>/dev/null
27319 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27321 lt_compiler_flag="-o out/conftest2.$ac_objext"
27322 # Insert the option either (1) after the last *FLAGS variable, or
27323 # (2) before a word containing "conftest.", or (3) at the end.
27324 # Note that $ac_compile itself does not contain backslashes and begins
27325 # with a dollar sign (not a hyphen), so the echo should work correctly.
27326 lt_compile=`echo "$ac_compile" | $SED \
27327 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27328 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27329 -e 's:$: $lt_compiler_flag:'`
27330 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
27331 (eval "$lt_compile" 2>out/conftest.err)
27333 cat out/conftest.err >&5
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 if (exit $ac_status) && test -s out/conftest2.$ac_objext
27337 # The compiler can only warn and ignore the option if not recognized
27338 # So say no if there are warnings
27339 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
27340 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
27341 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
27342 lt_cv_prog_compiler_c_o_GCJ=yes
27347 # SGI C++ compiler will create directory out/ii_files/ for
27348 # template instantiation
27349 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
27350 $RM out/* && rmdir out
27356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
27357 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
27362 hard_links=nottested
27363 if test no = "$lt_cv_prog_compiler_c_o_GCJ" && test no != "$need_locks"; then
27364 # do not overwrite the value of need_locks provided by the user
27365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
27366 $as_echo_n "checking if we can lock with hard links... " >&6; }
27369 ln conftest.a conftest.b 2>/dev/null && hard_links=no
27371 ln conftest.a conftest.b 2>&5 || hard_links=no
27372 ln conftest.a conftest.b 2>/dev/null && hard_links=no
27373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
27374 $as_echo "$hard_links" >&6; }
27375 if test no = "$hard_links"; then
27376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
27377 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
27386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
27387 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
27390 allow_undefined_flag_GCJ=
27391 always_export_symbols_GCJ=no
27393 archive_expsym_cmds_GCJ=
27394 compiler_needs_object_GCJ=no
27395 enable_shared_with_static_runtimes_GCJ=no
27396 export_dynamic_flag_spec_GCJ=
27397 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
27398 hardcode_automatic_GCJ=no
27399 hardcode_direct_GCJ=no
27400 hardcode_direct_absolute_GCJ=no
27401 hardcode_libdir_flag_spec_GCJ=
27402 hardcode_libdir_separator_GCJ=
27403 hardcode_minus_L_GCJ=no
27404 hardcode_shlibpath_var_GCJ=unsupported
27405 inherit_rpath_GCJ=no
27406 link_all_deplibs_GCJ=unknown
27408 module_expsym_cmds_GCJ=
27409 old_archive_from_new_cmds_GCJ=
27410 old_archive_from_expsyms_cmds_GCJ=
27411 thread_safe_flag_spec_GCJ=
27412 whole_archive_flag_spec_GCJ=
27413 # include_expsyms should be a list of space-separated symbols to be *always*
27414 # included in the symbol list
27415 include_expsyms_GCJ=
27416 # exclude_expsyms can be an extended regexp of symbols to exclude
27417 # it will be wrapped by ' (' and ')$', so one must not match beginning or
27418 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
27419 # as well as any symbol that contains 'd'.
27420 exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
27421 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
27422 # platforms (ab)use it in PIC code, but their linkers get confused if
27423 # the symbol is explicitly referenced. Since portable code cannot
27424 # rely on this symbol name, it's probably fine to never include it in
27425 # preloaded symbol tables.
27426 # Exclude shared library initialization/finalization symbols.
27427 extract_expsyms_cmds=
27430 cygwin* | mingw* | pw32* | cegcc*)
27431 # FIXME: the MSVC++ port hasn't been tested in a loooong time
27432 # When not using gcc, we currently assume that we are using
27433 # Microsoft Visual C++.
27434 if test yes != "$GCC"; then
27439 # we just hope/assume this is gcc and not c89 (= MSVC++)
27442 openbsd* | bitrig*)
27449 # On some targets, GNU ld is compatible enough with the native linker
27450 # that we're better off using the native interface for both.
27451 lt_use_gnu_ld_interface=no
27452 if test yes = "$with_gnu_ld"; then
27455 # The AIX port of GNU ld has always aspired to compatibility
27456 # with the native linker. However, as the warning in the GNU ld
27457 # block says, versions before 2.19.5* couldn't really create working
27458 # shared libraries, regardless of the interface used.
27459 case `$LD -v 2>&1` in
27460 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
27461 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
27462 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
27464 lt_use_gnu_ld_interface=yes
27469 lt_use_gnu_ld_interface=yes
27474 if test yes = "$lt_use_gnu_ld_interface"; then
27475 # If archive_cmds runs LD, not CC, wlarc should be empty
27478 # Set some defaults for GNU ld with shared library support. These
27479 # are reset later if shared libraries are not supported. Putting them
27480 # here allows them to be overridden if necessary.
27481 runpath_var=LD_RUN_PATH
27482 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
27483 export_dynamic_flag_spec_GCJ='$wl--export-dynamic'
27484 # ancient GNU ld didn't support --whole-archive et. al.
27485 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
27486 whole_archive_flag_spec_GCJ=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
27488 whole_archive_flag_spec_GCJ=
27490 supports_anon_versioning=no
27491 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
27492 *GNU\ gold*) supports_anon_versioning=yes ;;
27493 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
27494 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
27495 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
27496 *\ 2.11.*) ;; # other 2.11 versions
27497 *) supports_anon_versioning=yes ;;
27500 # See if GNU ld supports shared libraries.
27503 # On AIX/PPC, the GNU linker is very broken
27504 if test ia64 != "$host_cpu"; then
27508 *** Warning: the GNU linker, at least up to release 2.19, is reported
27509 *** to be unable to reliably create shared libraries on AIX.
27510 *** Therefore, libtool is disabling shared libraries support. If you
27511 *** really care for shared libraries, you may want to install binutils
27512 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
27513 *** You will then need to restart the configuration process.
27522 # see comment about AmigaOS4 .so support
27523 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27524 archive_expsym_cmds_GCJ=''
27527 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)'
27528 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27529 hardcode_minus_L_GCJ=yes
27535 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
27536 allow_undefined_flag_GCJ=unsupported
27537 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
27538 # support --undefined. This deserves some investigation. FIXME
27539 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27545 cygwin* | mingw* | pw32* | cegcc*)
27546 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
27547 # as there is no search path for DLLs.
27548 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27549 export_dynamic_flag_spec_GCJ='$wl--export-all-symbols'
27550 allow_undefined_flag_GCJ=unsupported
27551 always_export_symbols_GCJ=no
27552 enable_shared_with_static_runtimes_GCJ=yes
27553 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
27554 exclude_expsyms_GCJ='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
27556 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
27557 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
27558 # If the export-symbols file already is a .def file, use it as
27559 # is; otherwise, prepend EXPORTS...
27560 archive_expsym_cmds_GCJ='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
27561 cp $export_symbols $output_objdir/$soname.def;
27563 echo EXPORTS > $output_objdir/$soname.def;
27564 cat $export_symbols >> $output_objdir/$soname.def;
27566 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
27573 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27574 link_all_deplibs_GCJ=yes
27578 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27579 hardcode_minus_L_GCJ=yes
27580 allow_undefined_flag_GCJ=unsupported
27582 archive_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
27583 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
27584 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
27585 $ECHO EXPORTS >> $output_objdir/$libname.def~
27586 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
27587 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
27588 emximp -o $lib $output_objdir/$libname.def'
27589 archive_expsym_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
27590 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
27591 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
27592 $ECHO EXPORTS >> $output_objdir/$libname.def~
27593 prefix_cmds="$SED"~
27594 if test EXPORTS = "`$SED 1q $export_symbols`"; then
27595 prefix_cmds="$prefix_cmds -e 1d";
27597 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
27598 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
27599 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
27600 emximp -o $lib $output_objdir/$libname.def'
27601 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
27602 enable_shared_with_static_runtimes_GCJ=yes
27606 hardcode_direct_GCJ=no
27607 hardcode_shlibpath_var_GCJ=no
27608 hardcode_libdir_flag_spec_GCJ='$wl-rpath,$libdir'
27609 export_dynamic_flag_spec_GCJ='$wl-E'
27610 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
27611 # Instead, shared libraries are loaded at an image base (0x10000000 by
27612 # default) and relocated if they conflict, which is a slow very memory
27613 # consuming and fragmenting process. To avoid this, we pick a random,
27614 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
27615 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
27616 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'
27617 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'
27620 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
27622 if test linux-dietlibc = "$host_os"; then
27623 case $cc_basename in
27624 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
27627 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
27628 && test no = "$tmp_diet"
27630 tmp_addflag=' $pic_flag'
27631 tmp_sharedflag='-shared'
27632 case $cc_basename,$host_cpu in
27633 pgcc*) # Portland Group C compiler
27634 whole_archive_flag_spec_GCJ='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
27635 tmp_addflag=' $pic_flag'
27637 pgf77* | pgf90* | pgf95* | pgfortran*)
27638 # Portland Group f77 and f90 compilers
27639 whole_archive_flag_spec_GCJ='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
27640 tmp_addflag=' $pic_flag -Mnomain' ;;
27641 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
27642 tmp_addflag=' -i_dynamic' ;;
27643 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
27644 tmp_addflag=' -i_dynamic -nofor_main' ;;
27645 ifc* | ifort*) # Intel Fortran compiler
27646 tmp_addflag=' -nofor_main' ;;
27647 lf95*) # Lahey Fortran 8.1
27648 whole_archive_flag_spec_GCJ=
27649 tmp_sharedflag='--shared' ;;
27650 nagfor*) # NAGFOR 5.3
27651 tmp_sharedflag='-Wl,-shared' ;;
27652 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
27653 tmp_sharedflag='-qmkshrobj'
27655 nvcc*) # Cuda Compiler Driver 2.2
27656 whole_archive_flag_spec_GCJ='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
27657 compiler_needs_object_GCJ=yes
27660 case `$CC -V 2>&1 | sed 5q` in
27661 *Sun\ C*) # Sun C 5.9
27662 whole_archive_flag_spec_GCJ='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
27663 compiler_needs_object_GCJ=yes
27664 tmp_sharedflag='-G' ;;
27665 *Sun\ F*) # Sun Fortran 8.3
27666 tmp_sharedflag='-G' ;;
27668 archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27670 if test yes = "$supports_anon_versioning"; then
27671 archive_expsym_cmds_GCJ='echo "{ global:" > $output_objdir/$libname.ver~
27672 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
27673 echo "local: *; };" >> $output_objdir/$libname.ver~
27674 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
27677 case $cc_basename in
27679 export_dynamic_flag_spec_GCJ='-rdynamic'
27681 xlf* | bgf* | bgxlf* | mpixlf*)
27682 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
27683 whole_archive_flag_spec_GCJ='--whole-archive$convenience --no-whole-archive'
27684 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
27685 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
27686 if test yes = "$supports_anon_versioning"; then
27687 archive_expsym_cmds_GCJ='echo "{ global:" > $output_objdir/$libname.ver~
27688 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
27689 echo "local: *; };" >> $output_objdir/$libname.ver~
27690 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
27700 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
27701 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
27704 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27705 archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
27710 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
27714 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
27715 *** create shared libraries on Solaris systems. Therefore, libtool
27716 *** is disabling shared libraries support. We urge you to upgrade GNU
27717 *** binutils to release 2.9.1 or newer. Another option is to modify
27718 *** your PATH or compiler configuration so that the native linker is
27719 *** used, and then restart.
27722 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
27723 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27724 archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
27730 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
27731 case `$LD -v 2>&1` in
27732 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
27736 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
27737 *** reliably create shared libraries on SCO systems. Therefore, libtool
27738 *** is disabling shared libraries support. We urge you to upgrade GNU
27739 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
27740 *** your PATH or compiler configuration so that the native linker is
27741 *** used, and then restart.
27746 # For security reasons, it is highly recommended that you always
27747 # use absolute paths for naming shared libraries, and exclude the
27748 # DT_RUNPATH tag from executables and libraries. But doing so
27749 # requires that you compile everything twice, which is a pain.
27750 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
27751 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
27752 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27753 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
27762 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
27764 hardcode_direct_GCJ=yes
27765 hardcode_shlibpath_var_GCJ=no
27769 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
27770 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27771 archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
27778 if test no = "$ld_shlibs_GCJ"; then
27780 hardcode_libdir_flag_spec_GCJ=
27781 export_dynamic_flag_spec_GCJ=
27782 whole_archive_flag_spec_GCJ=
27785 # PORTME fill in a description of your system's linker (not GNU ld)
27788 allow_undefined_flag_GCJ=unsupported
27789 always_export_symbols_GCJ=yes
27790 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'
27791 # Note: this linker hardcodes the directories in LIBPATH if there
27792 # are no directories specified by -L.
27793 hardcode_minus_L_GCJ=yes
27794 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
27795 # Neither direct hardcoding nor static linking is supported with a
27797 hardcode_direct_GCJ=unsupported
27802 if test ia64 = "$host_cpu"; then
27803 # On IA64, the linker does run time linking by default, so we don't
27804 # have to do anything special.
27805 aix_use_runtimelinking=no
27806 exp_sym_flag='-Bexport'
27809 # If we're using GNU nm, then we don't want the "-C" option.
27810 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
27811 # Without the "-l" option, or with the "-B" option, AIX nm treats
27812 # weak defined symbols like other global defined symbols, whereas
27813 # GNU nm marks them as "W".
27814 # While the 'weak' keyword is ignored in the Export File, we need
27815 # it in the Import File for the 'aix-soname' feature, so we have
27816 # to replace the "-B" option with "-P" for AIX nm.
27817 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
27818 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
27820 export_symbols_cmds_GCJ='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
27822 aix_use_runtimelinking=no
27824 # Test if we are trying to use run time linking or normal
27825 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
27826 # have runtime linking enabled, and use it for executables.
27827 # For shared libraries, we enable/disable runtime linking
27828 # depending on the kind of the shared library created -
27829 # when "with_aix_soname,aix_use_runtimelinking" is:
27830 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
27831 # "aix,yes" lib.so shared, rtl:yes, for executables
27832 # lib.a static archive
27833 # "both,no" lib.so.V(shr.o) shared, rtl:yes
27834 # lib.a(lib.so.V) shared, rtl:no, for executables
27835 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
27836 # lib.a(lib.so.V) shared, rtl:no
27837 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
27838 # lib.a static archive
27839 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
27840 for ld_flag in $LDFLAGS; do
27841 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
27842 aix_use_runtimelinking=yes
27846 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
27847 # With aix-soname=svr4, we create the lib.so.V shared archives only,
27848 # so we don't have lib.a shared libs to link our executables.
27849 # We have to force runtime linking in this case.
27850 aix_use_runtimelinking=yes
27851 LDFLAGS="$LDFLAGS -Wl,-brtl"
27856 exp_sym_flag='-bexport'
27857 no_entry_flag='-bnoentry'
27860 # When large executables or shared objects are built, AIX ld can
27861 # have problems creating the table of contents. If linking a library
27862 # or program results in "error TOC overflow" add -mminimal-toc to
27863 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
27864 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
27866 archive_cmds_GCJ=''
27867 hardcode_direct_GCJ=yes
27868 hardcode_direct_absolute_GCJ=yes
27869 hardcode_libdir_separator_GCJ=':'
27870 link_all_deplibs_GCJ=yes
27871 file_list_spec_GCJ='$wl-f,'
27872 case $with_aix_soname,$aix_use_runtimelinking in
27873 aix,*) ;; # traditional, no import file
27874 svr4,* | *,yes) # use import file
27875 # The Import File defines what to hardcode.
27876 hardcode_direct_GCJ=no
27877 hardcode_direct_absolute_GCJ=no
27881 if test yes = "$GCC"; then
27882 case $host_os in aix4.[012]|aix4.[012].*)
27883 # We only want to do this on AIX 4.2 and lower, the check
27884 # below for broken collect2 doesn't work under 4.3+
27885 collect2name=`$CC -print-prog-name=collect2`
27886 if test -f "$collect2name" &&
27887 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
27889 # We have reworked collect2
27892 # We have old collect2
27893 hardcode_direct_GCJ=unsupported
27894 # It fails to find uninstalled libraries when the uninstalled
27895 # path is not listed in the libpath. Setting hardcode_minus_L
27896 # to unsupported forces relinking
27897 hardcode_minus_L_GCJ=yes
27898 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27899 hardcode_libdir_separator_GCJ=
27903 shared_flag='-shared'
27904 if test yes = "$aix_use_runtimelinking"; then
27905 shared_flag="$shared_flag "'$wl-G'
27907 # Need to ensure runtime linking is disabled for the traditional
27908 # shared library, or the linker may eventually find shared libraries
27909 # /with/ Import File - we do not want to mix them.
27910 shared_flag_aix='-shared'
27911 shared_flag_svr4='-shared $wl-G'
27914 if test ia64 = "$host_cpu"; then
27915 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
27916 # chokes on -Wl,-G. The following line is correct:
27919 if test yes = "$aix_use_runtimelinking"; then
27920 shared_flag='$wl-G'
27922 shared_flag='$wl-bM:SRE'
27924 shared_flag_aix='$wl-bM:SRE'
27925 shared_flag_svr4='$wl-G'
27929 export_dynamic_flag_spec_GCJ='$wl-bexpall'
27930 # It seems that -bexpall does not export symbols beginning with
27931 # underscore (_), so it is better to generate a list of symbols to export.
27932 always_export_symbols_GCJ=yes
27933 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
27934 # Warning - without using the other runtime loading flags (-brtl),
27935 # -berok will link without error, but may produce a broken library.
27936 allow_undefined_flag_GCJ='-berok'
27937 # Determine the default libpath from the value encoded in an
27938 # empty executable.
27939 if test set = "${lt_cv_aix_libpath+set}"; then
27940 aix_libpath=$lt_cv_aix_libpath
27942 if ${lt_cv_aix_libpath__GCJ+:} false; then :
27943 $as_echo_n "(cached) " >&6
27945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27946 /* end confdefs.h. */
27956 if ac_fn_c_try_link "$LINENO"; then :
27958 lt_aix_libpath_sed='
27959 /Import File Strings/,/^$/ {
27961 s/^0 *\([^ ]*\) *$/\1/
27965 lt_cv_aix_libpath__GCJ=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27966 # Check for a 64-bit object if we didn't find anything.
27967 if test -z "$lt_cv_aix_libpath__GCJ"; then
27968 lt_cv_aix_libpath__GCJ=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27971 rm -f core conftest.err conftest.$ac_objext \
27972 conftest$ac_exeext conftest.$ac_ext
27973 if test -z "$lt_cv_aix_libpath__GCJ"; then
27974 lt_cv_aix_libpath__GCJ=/usr/lib:/lib
27979 aix_libpath=$lt_cv_aix_libpath__GCJ
27982 hardcode_libdir_flag_spec_GCJ='$wl-blibpath:$libdir:'"$aix_libpath"
27983 archive_expsym_cmds_GCJ='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
27985 if test ia64 = "$host_cpu"; then
27986 hardcode_libdir_flag_spec_GCJ='$wl-R $libdir:/usr/lib:/lib'
27987 allow_undefined_flag_GCJ="-z nodefs"
27988 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"
27990 # Determine the default libpath from the value encoded in an
27991 # empty executable.
27992 if test set = "${lt_cv_aix_libpath+set}"; then
27993 aix_libpath=$lt_cv_aix_libpath
27995 if ${lt_cv_aix_libpath__GCJ+:} false; then :
27996 $as_echo_n "(cached) " >&6
27998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27999 /* end confdefs.h. */
28009 if ac_fn_c_try_link "$LINENO"; then :
28011 lt_aix_libpath_sed='
28012 /Import File Strings/,/^$/ {
28014 s/^0 *\([^ ]*\) *$/\1/
28018 lt_cv_aix_libpath__GCJ=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28019 # Check for a 64-bit object if we didn't find anything.
28020 if test -z "$lt_cv_aix_libpath__GCJ"; then
28021 lt_cv_aix_libpath__GCJ=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28024 rm -f core conftest.err conftest.$ac_objext \
28025 conftest$ac_exeext conftest.$ac_ext
28026 if test -z "$lt_cv_aix_libpath__GCJ"; then
28027 lt_cv_aix_libpath__GCJ=/usr/lib:/lib
28032 aix_libpath=$lt_cv_aix_libpath__GCJ
28035 hardcode_libdir_flag_spec_GCJ='$wl-blibpath:$libdir:'"$aix_libpath"
28036 # Warning - without using the other run time loading flags,
28037 # -berok will link without error, but may produce a broken library.
28038 no_undefined_flag_GCJ=' $wl-bernotok'
28039 allow_undefined_flag_GCJ=' $wl-berok'
28040 if test yes = "$with_gnu_ld"; then
28041 # We only use this code for GNU lds that support --whole-archive.
28042 whole_archive_flag_spec_GCJ='$wl--whole-archive$convenience $wl--no-whole-archive'
28044 # Exported symbols can be pulled into shared objects from archives
28045 whole_archive_flag_spec_GCJ='$convenience'
28047 archive_cmds_need_lc_GCJ=yes
28048 archive_expsym_cmds_GCJ='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
28049 # -brtl affects multiple linker settings, -berok does not and is overridden later
28050 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
28051 if test svr4 != "$with_aix_soname"; then
28052 # This is similar to how AIX traditionally builds its shared libraries.
28053 archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
28055 if test aix != "$with_aix_soname"; then
28056 archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
28058 # used by -dlpreopen to get the symbols
28059 archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
28061 archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$RM -r $output_objdir/$realname.d'
28069 # see comment about AmigaOS4 .so support
28070 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
28071 archive_expsym_cmds_GCJ=''
28074 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)'
28075 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28076 hardcode_minus_L_GCJ=yes
28082 export_dynamic_flag_spec_GCJ=-rdynamic
28085 cygwin* | mingw* | pw32* | cegcc*)
28086 # When not using gcc, we currently assume that we are using
28087 # Microsoft Visual C++.
28088 # hardcode_libdir_flag_spec is actually meaningless, as there is
28089 # no search path for DLLs.
28090 case $cc_basename in
28093 hardcode_libdir_flag_spec_GCJ=' '
28094 allow_undefined_flag_GCJ=unsupported
28095 always_export_symbols_GCJ=yes
28096 file_list_spec_GCJ='@'
28097 # Tell ltmain to make .lib files, not .a files.
28099 # Tell ltmain to make .dll files, not .so files.
28101 # FIXME: Setting linknames here is a bad hack.
28102 archive_cmds_GCJ='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
28103 archive_expsym_cmds_GCJ='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
28104 cp "$export_symbols" "$output_objdir/$soname.def";
28105 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
28107 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
28109 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
28111 # The linker will not automatically build a static lib if we build a DLL.
28112 # _LT_TAGVAR(old_archive_from_new_cmds, GCJ)='true'
28113 enable_shared_with_static_runtimes_GCJ=yes
28114 exclude_expsyms_GCJ='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
28115 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
28117 old_postinstall_cmds_GCJ='chmod 644 $oldlib'
28118 postlink_cmds_GCJ='lt_outputfile="@OUTPUT@"~
28119 lt_tool_outputfile="@TOOL_OUTPUT@"~
28120 case $lt_outputfile in
28123 lt_outputfile=$lt_outputfile.exe
28124 lt_tool_outputfile=$lt_tool_outputfile.exe
28127 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
28128 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
28129 $RM "$lt_outputfile.manifest";
28133 # Assume MSVC wrapper
28134 hardcode_libdir_flag_spec_GCJ=' '
28135 allow_undefined_flag_GCJ=unsupported
28136 # Tell ltmain to make .lib files, not .a files.
28138 # Tell ltmain to make .dll files, not .so files.
28140 # FIXME: Setting linknames here is a bad hack.
28141 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
28142 # The linker will automatically build a .lib file if we build a DLL.
28143 old_archive_from_new_cmds_GCJ='true'
28144 # FIXME: Should let the user specify the lib program.
28145 old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
28146 enable_shared_with_static_runtimes_GCJ=yes
28151 darwin* | rhapsody*)
28154 archive_cmds_need_lc_GCJ=no
28155 hardcode_direct_GCJ=no
28156 hardcode_automatic_GCJ=yes
28157 hardcode_shlibpath_var_GCJ=unsupported
28158 if test yes = "$lt_cv_ld_force_load"; then
28159 whole_archive_flag_spec_GCJ='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
28162 whole_archive_flag_spec_GCJ=''
28164 link_all_deplibs_GCJ=yes
28165 allow_undefined_flag_GCJ=$_lt_dar_allow_undefined
28166 case $cc_basename in
28167 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
28168 *) _lt_dar_can_shared=$GCC ;;
28170 if test yes = "$_lt_dar_can_shared"; then
28171 output_verbose_link_cmd=func_echo_all
28172 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"
28173 module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
28174 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"
28175 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"
28184 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28185 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28186 hardcode_shlibpath_var_GCJ=no
28189 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
28190 # support. Future versions do this automatically, but an explicit c++rt0.o
28191 # does not break anything, and helps significantly (at the cost of a little
28194 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
28195 hardcode_libdir_flag_spec_GCJ='-R$libdir'
28196 hardcode_direct_GCJ=yes
28197 hardcode_shlibpath_var_GCJ=no
28200 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
28202 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
28203 hardcode_direct_GCJ=yes
28204 hardcode_minus_L_GCJ=yes
28205 hardcode_shlibpath_var_GCJ=no
28208 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
28209 freebsd* | dragonfly*)
28210 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28211 hardcode_libdir_flag_spec_GCJ='-R$libdir'
28212 hardcode_direct_GCJ=yes
28213 hardcode_shlibpath_var_GCJ=no
28217 if test yes = "$GCC"; then
28218 archive_cmds_GCJ='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
28220 archive_cmds_GCJ='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
28222 hardcode_libdir_flag_spec_GCJ='$wl+b $wl$libdir'
28223 hardcode_libdir_separator_GCJ=:
28224 hardcode_direct_GCJ=yes
28226 # hardcode_minus_L: Not really in the search PATH,
28227 # but as the default location of the library.
28228 hardcode_minus_L_GCJ=yes
28229 export_dynamic_flag_spec_GCJ='$wl-E'
28233 if test yes,no = "$GCC,$with_gnu_ld"; then
28234 archive_cmds_GCJ='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
28236 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
28238 if test no = "$with_gnu_ld"; then
28239 hardcode_libdir_flag_spec_GCJ='$wl+b $wl$libdir'
28240 hardcode_libdir_separator_GCJ=:
28241 hardcode_direct_GCJ=yes
28242 hardcode_direct_absolute_GCJ=yes
28243 export_dynamic_flag_spec_GCJ='$wl-E'
28244 # hardcode_minus_L: Not really in the search PATH,
28245 # but as the default location of the library.
28246 hardcode_minus_L_GCJ=yes
28251 if test yes,no = "$GCC,$with_gnu_ld"; then
28254 archive_cmds_GCJ='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
28257 archive_cmds_GCJ='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
28260 archive_cmds_GCJ='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
28266 archive_cmds_GCJ='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
28269 archive_cmds_GCJ='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
28272 archive_cmds_GCJ='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
28276 if test no = "$with_gnu_ld"; then
28277 hardcode_libdir_flag_spec_GCJ='$wl+b $wl$libdir'
28278 hardcode_libdir_separator_GCJ=:
28282 hardcode_direct_GCJ=no
28283 hardcode_shlibpath_var_GCJ=no
28286 hardcode_direct_GCJ=yes
28287 hardcode_direct_absolute_GCJ=yes
28288 export_dynamic_flag_spec_GCJ='$wl-E'
28290 # hardcode_minus_L: Not really in the search PATH,
28291 # but as the default location of the library.
28292 hardcode_minus_L_GCJ=yes
28298 irix5* | irix6* | nonstopux*)
28299 if test yes = "$GCC"; then
28300 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
28301 # Try to use the -exported_symbol ld option, if it does not
28302 # work, assume that -exports_file does not work either and
28303 # implicitly export all symbols.
28304 # This should be the same for all languages, so no per-tag cache variable.
28305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
28306 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
28307 if ${lt_cv_irix_exported_symbol+:} false; then :
28308 $as_echo_n "(cached) " >&6
28310 save_LDFLAGS=$LDFLAGS
28311 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
28312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28313 /* end confdefs.h. */
28314 int foo (void) { return 0; }
28316 if ac_fn_c_try_link "$LINENO"; then :
28317 lt_cv_irix_exported_symbol=yes
28319 lt_cv_irix_exported_symbol=no
28321 rm -f core conftest.err conftest.$ac_objext \
28322 conftest$ac_exeext conftest.$ac_ext
28323 LDFLAGS=$save_LDFLAGS
28325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
28326 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
28327 if test yes = "$lt_cv_irix_exported_symbol"; then
28328 archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
28331 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
28332 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
28334 archive_cmds_need_lc_GCJ='no'
28335 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28336 hardcode_libdir_separator_GCJ=:
28337 inherit_rpath_GCJ=yes
28338 link_all_deplibs_GCJ=yes
28342 case $cc_basename in
28344 # Fabrice Bellard et al's Tiny C Compiler
28346 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28352 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
28353 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
28355 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
28357 hardcode_libdir_flag_spec_GCJ='-R$libdir'
28358 hardcode_direct_GCJ=yes
28359 hardcode_shlibpath_var_GCJ=no
28363 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28364 hardcode_direct_GCJ=yes
28365 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28366 hardcode_libdir_separator_GCJ=:
28367 hardcode_shlibpath_var_GCJ=no
28373 openbsd* | bitrig*)
28374 if test -f /usr/libexec/ld.so; then
28375 hardcode_direct_GCJ=yes
28376 hardcode_shlibpath_var_GCJ=no
28377 hardcode_direct_absolute_GCJ=yes
28378 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
28379 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28380 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
28381 hardcode_libdir_flag_spec_GCJ='$wl-rpath,$libdir'
28382 export_dynamic_flag_spec_GCJ='$wl-E'
28384 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28385 hardcode_libdir_flag_spec_GCJ='$wl-rpath,$libdir'
28393 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28394 hardcode_minus_L_GCJ=yes
28395 allow_undefined_flag_GCJ=unsupported
28397 archive_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
28398 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
28399 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
28400 $ECHO EXPORTS >> $output_objdir/$libname.def~
28401 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
28402 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
28403 emximp -o $lib $output_objdir/$libname.def'
28404 archive_expsym_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
28405 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
28406 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
28407 $ECHO EXPORTS >> $output_objdir/$libname.def~
28408 prefix_cmds="$SED"~
28409 if test EXPORTS = "`$SED 1q $export_symbols`"; then
28410 prefix_cmds="$prefix_cmds -e 1d";
28412 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
28413 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
28414 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
28415 emximp -o $lib $output_objdir/$libname.def'
28416 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
28417 enable_shared_with_static_runtimes_GCJ=yes
28421 if test yes = "$GCC"; then
28422 allow_undefined_flag_GCJ=' $wl-expect_unresolved $wl\*'
28423 archive_cmds_GCJ='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
28425 allow_undefined_flag_GCJ=' -expect_unresolved \*'
28426 archive_cmds_GCJ='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
28428 archive_cmds_need_lc_GCJ='no'
28429 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28430 hardcode_libdir_separator_GCJ=:
28433 osf4* | osf5*) # as osf3* with the addition of -msym flag
28434 if test yes = "$GCC"; then
28435 allow_undefined_flag_GCJ=' $wl-expect_unresolved $wl\*'
28436 archive_cmds_GCJ='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
28437 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28439 allow_undefined_flag_GCJ=' -expect_unresolved \*'
28440 archive_cmds_GCJ='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
28441 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
28442 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
28444 # Both c and cxx compiler support -rpath directly
28445 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
28447 archive_cmds_need_lc_GCJ='no'
28448 hardcode_libdir_separator_GCJ=:
28452 no_undefined_flag_GCJ=' -z defs'
28453 if test yes = "$GCC"; then
28455 archive_cmds_GCJ='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
28456 archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
28457 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
28459 case `$CC -V 2>&1` in
28462 archive_cmds_GCJ='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
28463 archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
28464 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
28468 archive_cmds_GCJ='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
28469 archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
28470 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
28474 hardcode_libdir_flag_spec_GCJ='-R$libdir'
28475 hardcode_shlibpath_var_GCJ=no
28477 solaris2.[0-5] | solaris2.[0-5].*) ;;
28479 # The compiler driver will combine and reorder linker options,
28480 # but understands '-z linker_flag'. GCC discards it without '$wl',
28481 # but is careful enough not to reorder.
28482 # Supported since Solaris 2.6 (maybe 2.5.1?)
28483 if test yes = "$GCC"; then
28484 whole_archive_flag_spec_GCJ='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
28486 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
28490 link_all_deplibs_GCJ=yes
28494 if test sequent = "$host_vendor"; then
28495 # Use $CC to link under sequent, because it throws in some extra .o
28496 # files that make .init and .fini sections work.
28497 archive_cmds_GCJ='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
28499 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
28501 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28502 hardcode_direct_GCJ=yes
28503 hardcode_minus_L_GCJ=yes
28504 hardcode_shlibpath_var_GCJ=no
28508 case $host_vendor in
28510 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28511 hardcode_direct_GCJ=yes # is this really true???
28514 ## LD is ld it makes a PLAMLIB
28515 ## CC just makes a GrossModule.
28516 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
28517 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
28518 hardcode_direct_GCJ=no
28521 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28522 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
28525 runpath_var='LD_RUN_PATH'
28526 hardcode_shlibpath_var_GCJ=no
28530 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28531 hardcode_shlibpath_var_GCJ=no
28532 export_dynamic_flag_spec_GCJ='-Bexport'
28536 if test -d /usr/nec; then
28537 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28538 hardcode_shlibpath_var_GCJ=no
28539 runpath_var=LD_RUN_PATH
28540 hardcode_runpath_var=yes
28545 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
28546 no_undefined_flag_GCJ='$wl-z,text'
28547 archive_cmds_need_lc_GCJ=no
28548 hardcode_shlibpath_var_GCJ=no
28549 runpath_var='LD_RUN_PATH'
28551 if test yes = "$GCC"; then
28552 archive_cmds_GCJ='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28553 archive_expsym_cmds_GCJ='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28555 archive_cmds_GCJ='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28556 archive_expsym_cmds_GCJ='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28560 sysv5* | sco3.2v5* | sco5v6*)
28561 # Note: We CANNOT use -z defs as we might desire, because we do not
28562 # link with -lc, and that would cause any symbols used from libc to
28563 # always be unresolved, which means just about no library would
28564 # ever link correctly. If we're not using GNU ld we use -z text
28565 # though, which does catch some bad symbols but isn't as heavy-handed
28567 no_undefined_flag_GCJ='$wl-z,text'
28568 allow_undefined_flag_GCJ='$wl-z,nodefs'
28569 archive_cmds_need_lc_GCJ=no
28570 hardcode_shlibpath_var_GCJ=no
28571 hardcode_libdir_flag_spec_GCJ='$wl-R,$libdir'
28572 hardcode_libdir_separator_GCJ=':'
28573 link_all_deplibs_GCJ=yes
28574 export_dynamic_flag_spec_GCJ='$wl-Bexport'
28575 runpath_var='LD_RUN_PATH'
28577 if test yes = "$GCC"; then
28578 archive_cmds_GCJ='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28579 archive_expsym_cmds_GCJ='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28581 archive_cmds_GCJ='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28582 archive_expsym_cmds_GCJ='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28587 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28588 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28589 hardcode_shlibpath_var_GCJ=no
28597 if test sni = "$host_vendor"; then
28599 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
28600 export_dynamic_flag_spec_GCJ='$wl-Blargedynsym'
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
28607 $as_echo "$ld_shlibs_GCJ" >&6; }
28608 test no = "$ld_shlibs_GCJ" && can_build_shared=no
28610 with_gnu_ld_GCJ=$with_gnu_ld
28618 # Do we need to explicitly link libc?
28620 case "x$archive_cmds_need_lc_GCJ" in
28622 # Assume -lc should be added
28623 archive_cmds_need_lc_GCJ=yes
28625 if test yes,yes = "$GCC,$enable_shared"; then
28626 case $archive_cmds_GCJ in
28628 # FIXME: we may have to deal with multi-command sequences.
28631 # Test whether the compiler implicitly links with -lc since on some
28632 # systems, -lgcc has to come before -lc. If gcc already passes -lc
28633 # to ld, don't add -lc before -lgcc.
28634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
28635 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
28636 if ${lt_cv_archive_cmds_need_lc_GCJ+:} false; then :
28637 $as_echo_n "(cached) " >&6
28640 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
28642 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
28643 (eval $ac_compile) 2>&5
28645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28646 test $ac_status = 0; } 2>conftest.err; then
28649 libobjs=conftest.$ac_objext
28651 wl=$lt_prog_compiler_wl_GCJ
28652 pic_flag=$lt_prog_compiler_pic_GCJ
28658 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
28659 allow_undefined_flag_GCJ=
28660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
28661 (eval $archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
28663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28664 test $ac_status = 0; }
28666 lt_cv_archive_cmds_need_lc_GCJ=no
28668 lt_cv_archive_cmds_need_lc_GCJ=yes
28670 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
28672 cat conftest.err 1>&5
28677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
28678 $as_echo "$lt_cv_archive_cmds_need_lc_GCJ" >&6; }
28679 archive_cmds_need_lc_GCJ=$lt_cv_archive_cmds_need_lc_GCJ
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
28748 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
28749 hardcode_action_GCJ=
28750 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
28751 test -n "$runpath_var_GCJ" ||
28752 test yes = "$hardcode_automatic_GCJ"; then
28754 # We can hardcode non-existent directories.
28755 if test no != "$hardcode_direct_GCJ" &&
28756 # If the only mechanism to avoid hardcoding is shlibpath_var, we
28757 # have to relink, otherwise we might link with an installed library
28758 # when we should be linking with a yet-to-be-installed one
28759 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" &&
28760 test no != "$hardcode_minus_L_GCJ"; then
28761 # Linking always hardcodes the temporary library directory.
28762 hardcode_action_GCJ=relink
28764 # We can link without hardcoding, and we can hardcode nonexisting dirs.
28765 hardcode_action_GCJ=immediate
28768 # We cannot hardcode anything, or else we can only hardcode existing
28770 hardcode_action_GCJ=unsupported
28772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
28773 $as_echo "$hardcode_action_GCJ" >&6; }
28775 if test relink = "$hardcode_action_GCJ" ||
28776 test yes = "$inherit_rpath_GCJ"; then
28777 # Fast installation is not supported
28778 enable_fast_install=no
28779 elif test yes = "$shlibpath_overrides_runpath" ||
28780 test no = "$enable_shared"; then
28781 # Fast installation is not necessary
28782 enable_fast_install=needless
28794 ac_cpp='$CPP $CPPFLAGS'
28795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28802 CFLAGS=$lt_save_CFLAGS
28804 if test -n "$ac_tool_prefix"; then
28805 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
28806 set dummy ${ac_tool_prefix}windres; ac_word=$2
28807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28808 $as_echo_n "checking for $ac_word... " >&6; }
28809 if ${ac_cv_prog_RC+:} false; then :
28810 $as_echo_n "(cached) " >&6
28812 if test -n "$RC"; then
28813 ac_cv_prog_RC="$RC" # Let the user override the test.
28815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28816 for as_dir in $PATH
28819 test -z "$as_dir" && as_dir=.
28820 for ac_exec_ext in '' $ac_executable_extensions; do
28821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28822 ac_cv_prog_RC="${ac_tool_prefix}windres"
28823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28833 if test -n "$RC"; then
28834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
28835 $as_echo "$RC" >&6; }
28837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28838 $as_echo "no" >&6; }
28843 if test -z "$ac_cv_prog_RC"; then
28845 # Extract the first word of "windres", so it can be a program name with args.
28846 set dummy windres; ac_word=$2
28847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28848 $as_echo_n "checking for $ac_word... " >&6; }
28849 if ${ac_cv_prog_ac_ct_RC+:} false; then :
28850 $as_echo_n "(cached) " >&6
28852 if test -n "$ac_ct_RC"; then
28853 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
28855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28856 for as_dir in $PATH
28859 test -z "$as_dir" && as_dir=.
28860 for ac_exec_ext in '' $ac_executable_extensions; do
28861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28862 ac_cv_prog_ac_ct_RC="windres"
28863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28872 ac_ct_RC=$ac_cv_prog_ac_ct_RC
28873 if test -n "$ac_ct_RC"; then
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
28875 $as_echo "$ac_ct_RC" >&6; }
28877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28878 $as_echo "no" >&6; }
28881 if test "x$ac_ct_RC" = x; then
28884 case $cross_compiling:$ac_tool_warned in
28886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28888 ac_tool_warned=yes ;;
28893 RC="$ac_cv_prog_RC"
28899 # Source file extension for RC test sources.
28902 # Object file extension for compiled RC test sources.
28906 # Code to be used in simple compile tests
28907 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
28909 # Code to be used in simple link tests
28910 lt_simple_link_test_code=$lt_simple_compile_test_code
28912 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
28919 # If no C compiler was specified, use CC.
28922 # If no C compiler flags were specified, use CFLAGS.
28923 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
28925 # Allow CC to be a program name with arguments.
28929 # save warnings/boilerplate of simple test code
28930 ac_outfile=conftest.$ac_objext
28931 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
28932 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
28933 _lt_compiler_boilerplate=`cat conftest.err`
28936 ac_outfile=conftest.$ac_objext
28937 echo "$lt_simple_link_test_code" >conftest.$ac_ext
28938 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
28939 _lt_linker_boilerplate=`cat conftest.err`
28943 # Allow CC to be a program name with arguments.
28945 lt_save_CFLAGS=$CFLAGS
28952 func_cc_basename $compiler
28953 cc_basename=$func_cc_basename_result
28955 lt_cv_prog_compiler_c_o_RC=yes
28957 if test -n "$compiler"; then
28966 ac_cpp='$CPP $CPPFLAGS'
28967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28972 CFLAGS=$lt_save_CFLAGS
28975 # Ensure the correct file name (and path) conversion function
28976 # is available to the test suite.
28978 # Propagate --with-aix-soname option to the testsuite.
28980 ## ---------------------- ##
28981 ## Gnulib initialisation. ##
28982 ## ---------------------- ##
28988 LIBC_FATAL_STDERR_=1
28989 export LIBC_FATAL_STDERR_
28993 GL_COND_LIBTOOL_TRUE=
28994 GL_COND_LIBTOOL_FALSE='#'
28996 GL_COND_LIBTOOL_TRUE='#'
28997 GL_COND_LIBTOOL_FALSE=
29000 gl_cond_libtool=true
29011 gl_source_base='lib'
29012 # Autoconf 2.61a.99 and earlier don't support linking a file only
29013 # in VPATH builds. But since GNUmakefile is for maintainer use
29014 # only, it does not matter if we skip the link with older autoconf.
29015 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
29016 # builds, so use a shell variable to bypass this.
29017 GNUmakefile=GNUmakefile
29018 ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
29022 # End of code from modules
29041 gl_source_base='tests'
29042 GLtests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
29044 gl_module_indicator_condition=$GLtests_WITNESS
29056 ## ------------- ##
29057 ## Documentation ##
29058 ## ------------- ##
29060 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
29066 ac_config_files="$ac_config_files Makefile"
29068 cat >confcache <<\_ACEOF
29069 # This file is a shell script that caches the results of configure
29070 # tests run on this system so they can be shared between configure
29071 # scripts and configure runs, see configure's option --config-cache.
29072 # It is not useful on other systems. If it contains results you don't
29073 # want to keep, you may remove or edit it.
29075 # config.status only pays attention to the cache file if you give it
29076 # the --recheck option to rerun configure.
29078 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29079 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29080 # following values.
29084 # The following way of writing the cache mishandles newlines in values,
29085 # but we know of no workaround that is simple, portable, and efficient.
29086 # So, we kill variables containing newlines.
29087 # Ultrix sh set writes to stderr and can't be redirected directly,
29088 # and sets the high bit in the cache file unless we assign to the vars.
29090 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29091 eval ac_val=\$$ac_var
29095 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
29096 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
29099 _ | IFS | as_nl) ;; #(
29100 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
29101 *) { eval $ac_var=; unset $ac_var;} ;;
29107 case $as_nl`(ac_space=' '; set) 2>&1` in #(
29108 *${as_nl}ac_space=\ *)
29109 # `set' does not quote correctly, so add quotes: double-quote
29110 # substitution turns \\\\ into \\, and sed turns \\ into \.
29113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29116 # `set' quotes correctly as required by POSIX, so do not add quotes.
29117 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29126 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29128 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29130 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29131 if test -w "$cache_file"; then
29132 if test "x$cache_file" != "x/dev/null"; then
29133 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
29134 $as_echo "$as_me: updating cache $cache_file" >&6;}
29135 if test ! -f "$cache_file" || test -h "$cache_file"; then
29136 cat confcache >"$cache_file"
29138 case $cache_file in #(
29140 mv -f confcache "$cache_file"$$ &&
29141 mv -f "$cache_file"$$ "$cache_file" ;; #(
29143 mv -f confcache "$cache_file" ;;
29148 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
29149 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29154 test "x$prefix" = xNONE && prefix=$ac_default_prefix
29155 # Let make expand exec_prefix.
29156 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29158 DEFS=-DHAVE_CONFIG_H
29163 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29164 # 1. Remove the extension, and $U if already installed.
29165 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29166 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
29167 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29168 # will be set to the directory where LIBOBJS objects are built.
29169 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29170 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
29172 LIBOBJS=$ac_libobjs
29174 LTLIBOBJS=$ac_ltlibobjs
29177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
29178 $as_echo_n "checking that generated files are newer than configure... " >&6; }
29179 if test -n "$am_sleep_pid"; then
29180 # Hide warnings about reused PIDs.
29181 wait $am_sleep_pid 2>/dev/null
29183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
29184 $as_echo "done" >&6; }
29185 if test -n "$EXEEXT"; then
29187 am__EXEEXT_FALSE='#'
29189 am__EXEEXT_TRUE='#'
29193 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29194 as_fn_error $? "conditional \"AMDEP\" was never defined.
29195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29197 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29198 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
29199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29201 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
29202 as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
29203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29205 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
29206 as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
29207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29209 LT_CONFIG_H=config.h
29210 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29211 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
29212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29214 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
29215 as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
29216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29218 CONFIG_INCLUDE=config.h
29223 if test -n "$GL_LIBOBJS"; then
29224 # Remove the extension.
29225 sed_drop_objext='s/\.o$//;s/\.obj$//'
29226 for i in `for i in $GL_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
29227 GL_libobjs="$GL_libobjs $i.$ac_objext"
29228 GL_ltlibobjs="$GL_ltlibobjs $i.lo"
29231 GL_LIBOBJS=$GL_libobjs
29233 GL_LTLIBOBJS=$GL_ltlibobjs
29239 if test -n "$GLtests_LIBOBJS"; then
29240 # Remove the extension.
29241 sed_drop_objext='s/\.o$//;s/\.obj$//'
29242 for i in `for i in $GLtests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
29243 GLtests_libobjs="$GLtests_libobjs $i.$ac_objext"
29244 GLtests_ltlibobjs="$GLtests_ltlibobjs $i.lo"
29247 GLtests_LIBOBJS=$GLtests_libobjs
29249 GLtests_LTLIBOBJS=$GLtests_ltlibobjs
29253 : "${CONFIG_STATUS=./config.status}"
29255 ac_clean_files_save=$ac_clean_files
29256 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29257 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
29258 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
29260 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
29262 # Generated by $as_me.
29263 # Run this file to recreate the current configuration.
29264 # Compiler output produced by configure, useful for debugging
29265 # configure, is in config.log if it exists.
29268 ac_cs_recheck=false
29271 SHELL=\${CONFIG_SHELL-$SHELL}
29274 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
29275 ## -------------------- ##
29276 ## M4sh Initialization. ##
29277 ## -------------------- ##
29279 # Be more Bourne compatible
29280 DUALCASE=1; export DUALCASE # for MKS sh
29281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
29284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29285 # is contrary to our usage. Disable this feature.
29286 alias -g '${1+"$@"}'='"$@"'
29287 setopt NO_GLOB_SUBST
29289 case `(set -o) 2>/dev/null` in #(
29301 # Printing a long string crashes Solaris 7 /usr/bin/printf.
29302 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
29303 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
29304 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
29305 # Prefer a ksh shell builtin over an external printf program on Solaris,
29306 # but without wasting forks for bash or zsh.
29307 if test -z "$BASH_VERSION$ZSH_VERSION" \
29308 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
29309 as_echo='print -r --'
29310 as_echo_n='print -rn --'
29311 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
29312 as_echo='printf %s\n'
29313 as_echo_n='printf %s'
29315 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
29316 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
29317 as_echo_n='/usr/ucb/echo -n'
29319 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
29320 as_echo_n_body='eval
29324 expr "X$arg" : "X\\(.*\\)$as_nl";
29325 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
29327 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
29329 export as_echo_n_body
29330 as_echo_n='sh -c $as_echo_n_body as_echo'
29332 export as_echo_body
29333 as_echo='sh -c $as_echo_body as_echo'
29336 # The user is always right.
29337 if test "${PATH_SEPARATOR+set}" != set; then
29339 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
29340 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
29347 # We need space, tab and new line, in precisely that order. Quoting is
29348 # there to prevent editors from complaining about space-tab.
29349 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
29350 # splitting by setting IFS to empty value.)
29353 # Find who we are. Look in the path if we contain no directory separator.
29356 *[\\/]* ) as_myself=$0 ;;
29357 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29358 for as_dir in $PATH
29361 test -z "$as_dir" && as_dir=.
29362 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29368 # We did not find ourselves, most probably we were run as `sh COMMAND'
29369 # in which case we are not to be found in the path.
29370 if test "x$as_myself" = x; then
29373 if test ! -f "$as_myself"; then
29374 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29378 # Unset variables that we do not need and which cause bugs (e.g. in
29379 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
29380 # suppresses any "Segmentation fault" message there. '((' could
29381 # trigger a bug in pdksh 5.2.14.
29382 for as_var in BASH_ENV ENV MAIL MAILPATH
29383 do eval test x\${$as_var+set} = xset \
29384 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
29397 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29400 # as_fn_error STATUS ERROR [LINENO LOG_FD]
29401 # ----------------------------------------
29402 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
29403 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
29404 # script with STATUS, using 1 if that was 0.
29407 as_status=$1; test $as_status -eq 0 && as_status=1
29409 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
29410 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
29412 $as_echo "$as_me: error: $2" >&2
29413 as_fn_exit $as_status
29417 # as_fn_set_status STATUS
29418 # -----------------------
29419 # Set $? to STATUS, without forking.
29420 as_fn_set_status ()
29423 } # as_fn_set_status
29425 # as_fn_exit STATUS
29426 # -----------------
29427 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
29431 as_fn_set_status $1
29437 # Portably unset VAR.
29440 { eval $1=; unset $1;}
29442 as_unset=as_fn_unset
29443 # as_fn_append VAR VALUE
29444 # ----------------------
29445 # Append the text in VALUE to the end of the definition contained in VAR. Take
29446 # advantage of any shell optimizations that allow amortized linear growth over
29447 # repeated appends, instead of the typical quadratic growth present in naive
29449 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
29450 eval 'as_fn_append ()
29461 # as_fn_arith ARG...
29462 # ------------------
29463 # Perform arithmetic evaluation on the ARGs, and store the result in the
29464 # global $as_val. Take advantage of shells that can avoid forks. The arguments
29465 # must be portable across $(()) and expr.
29466 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
29467 eval 'as_fn_arith ()
29474 as_val=`expr "$@" || test $? -eq 1`
29479 if expr a : '\(a\)' >/dev/null 2>&1 &&
29480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
29486 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29487 as_basename=basename
29492 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29498 as_me=`$as_basename -- "$0" ||
29499 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29500 X"$0" : 'X\(//\)$' \| \
29501 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29503 sed '/^.*\/\([^/][^/]*\)\/*$/{
29517 # Avoid depending upon Character Ranges.
29518 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29519 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29520 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29521 as_cr_digits='0123456789'
29522 as_cr_alnum=$as_cr_Letters$as_cr_digits
29524 ECHO_C= ECHO_N= ECHO_T=
29525 case `echo -n x` in #(((((
29527 case `echo 'xy\c'` in
29528 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
29530 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
29537 rm -f conf$$ conf$$.exe conf$$.file
29538 if test -d conf$$.dir; then
29539 rm -f conf$$.dir/conf$$.file
29542 mkdir conf$$.dir 2>/dev/null
29544 if (echo >conf$$.file) 2>/dev/null; then
29545 if ln -s conf$$.file conf$$ 2>/dev/null; then
29547 # ... but there are two gotchas:
29548 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29549 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29550 # In both cases, we have to default to `cp -pR'.
29551 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29553 elif ln conf$$.file conf$$ 2>/dev/null; then
29561 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29562 rmdir conf$$.dir 2>/dev/null
29567 # Create "$as_dir" as a directory, including parents if necessary.
29572 -*) as_dir=./$as_dir;;
29574 test -d "$as_dir" || eval $as_mkdir_p || {
29578 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
29579 *) as_qdir=$as_dir;;
29581 as_dirs="'$as_qdir' $as_dirs"
29582 as_dir=`$as_dirname -- "$as_dir" ||
29583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29584 X"$as_dir" : 'X\(//\)[^/]' \| \
29585 X"$as_dir" : 'X\(//\)$' \| \
29586 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29587 $as_echo X"$as_dir" |
29588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29592 /^X\(\/\/\)[^/].*/{
29605 test -d "$as_dir" && break
29607 test -z "$as_dirs" || eval "mkdir $as_dirs"
29608 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
29612 if mkdir -p . 2>/dev/null; then
29613 as_mkdir_p='mkdir -p "$as_dir"'
29615 test -d ./-p && rmdir ./-p
29620 # as_fn_executable_p FILE
29621 # -----------------------
29622 # Test if FILE is an executable regular file.
29623 as_fn_executable_p ()
29625 test -f "$1" && test -x "$1"
29626 } # as_fn_executable_p
29627 as_test_x='test -x'
29628 as_executable_p=as_fn_executable_p
29630 # Sed expression to map a string onto a valid CPP name.
29631 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29633 # Sed expression to map a string onto a valid variable name.
29634 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29638 ## ----------------------------------- ##
29639 ## Main body of $CONFIG_STATUS script. ##
29640 ## ----------------------------------- ##
29642 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
29644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29645 # Save the log message, to keep $0 and so on meaningful, and to
29646 # report actual input values of CONFIG_FILES etc. instead of their
29647 # values after options handling.
29649 This file was extended by GNU Libtool $as_me 2.4.6, which was
29650 generated by GNU Autoconf 2.69. Invocation command line was
29652 CONFIG_FILES = $CONFIG_FILES
29653 CONFIG_HEADERS = $CONFIG_HEADERS
29654 CONFIG_LINKS = $CONFIG_LINKS
29655 CONFIG_COMMANDS = $CONFIG_COMMANDS
29658 on `(hostname || uname -n) 2>/dev/null | sed 1q`
29663 case $ac_config_files in *"
29664 "*) set x $ac_config_files; shift; ac_config_files=$*;;
29667 case $ac_config_headers in *"
29668 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
29672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29673 # Files that config.status was made for.
29674 config_files="$ac_config_files"
29675 config_headers="$ac_config_headers"
29676 config_links="$ac_config_links"
29677 config_commands="$ac_config_commands"
29681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29683 \`$as_me' instantiates files and other configuration actions
29684 from templates according to the current configuration. Unless the files
29685 and actions are specified as TAGs, all are instantiated by default.
29687 Usage: $0 [OPTION]... [TAG]...
29689 -h, --help print this help, then exit
29690 -V, --version print version number and configuration settings, then exit
29691 --config print configuration, then exit
29692 -q, --quiet, --silent
29693 do not print progress messages
29694 -d, --debug don't remove temporary files
29695 --recheck update $as_me by reconfiguring in the same conditions
29696 --file=FILE[:TEMPLATE]
29697 instantiate the configuration file FILE
29698 --header=FILE[:TEMPLATE]
29699 instantiate the configuration header FILE
29701 Configuration files:
29704 Configuration headers:
29707 Configuration links:
29710 Configuration commands:
29713 Report bugs to <bug-libtool@gnu.org>.
29714 GNU Libtool home page: <http://www.gnu.org/software/libtool/>.
29715 General help using GNU software: <http://www.gnu.org/gethelp/>."
29718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29719 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
29721 GNU Libtool config.status 2.4.6
29722 configured by $0, generated by GNU Autoconf 2.69,
29723 with options \\"\$ac_cs_config\\"
29725 Copyright (C) 2012 Free Software Foundation, Inc.
29726 This config.status script is free software; the Free Software Foundation
29727 gives unlimited permission to copy, distribute and modify it."
29734 test -n "\$AWK" || AWK=awk
29737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29738 # The default lists apply if the user does not specify any file.
29744 ac_option=`expr "X$1" : 'X\([^=]*\)='`
29745 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
29749 ac_option=`expr "X$1" : 'X\([^=]*\)='`
29761 # Handling of the options.
29762 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29764 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29765 $as_echo "$ac_cs_version"; exit ;;
29766 --config | --confi | --conf | --con | --co | --c )
29767 $as_echo "$ac_cs_config"; exit ;;
29768 --debug | --debu | --deb | --de | --d | -d )
29770 --file | --fil | --fi | --f )
29773 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29774 '') as_fn_error $? "missing file argument" ;;
29776 as_fn_append CONFIG_FILES " '$ac_optarg'"
29777 ac_need_defaults=false;;
29778 --header | --heade | --head | --hea )
29781 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29783 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
29784 ac_need_defaults=false;;
29786 # Conflict between --help and --header
29787 as_fn_error $? "ambiguous option: \`$1'
29788 Try \`$0 --help' for more information.";;
29789 --help | --hel | -h )
29790 $as_echo "$ac_cs_usage"; exit ;;
29791 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29792 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29795 # This is an error.
29796 -*) as_fn_error $? "unrecognized option: \`$1'
29797 Try \`$0 --help' for more information." ;;
29799 *) as_fn_append ac_config_targets " $1"
29800 ac_need_defaults=false ;;
29806 ac_configure_extra_args=
29808 if $ac_cs_silent; then
29810 ac_configure_extra_args="$ac_configure_extra_args --silent"
29814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29815 if \$ac_cs_recheck; then
29816 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29818 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
29819 CONFIG_SHELL='$SHELL'
29820 export CONFIG_SHELL
29825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29829 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29830 ## Running $as_me. ##
29836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29841 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29844 # The HP-UX ksh and POSIX shell print the target directory to stdout
29845 # if CDPATH is set.
29846 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29848 sed_quote_subst='$sed_quote_subst'
29849 double_quote_subst='$double_quote_subst'
29850 delay_variable_subst='$delay_variable_subst'
29851 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
29852 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
29853 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
29854 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
29855 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
29856 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
29857 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
29858 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
29859 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
29860 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
29861 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
29862 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
29863 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
29864 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
29865 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
29866 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
29867 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
29868 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
29869 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
29870 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
29871 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
29872 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
29873 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
29874 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
29875 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
29876 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
29877 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
29878 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
29879 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
29880 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
29881 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
29882 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
29883 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
29884 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
29885 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
29886 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
29887 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
29888 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
29889 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
29890 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
29891 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
29892 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
29893 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
29894 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
29895 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
29896 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
29897 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
29898 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
29899 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
29900 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
29901 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
29902 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
29903 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
29904 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
29905 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
29906 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
29907 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
29908 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
29909 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
29910 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
29911 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
29912 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
29913 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
29914 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
29915 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
29916 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
29917 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
29918 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
29919 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
29920 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
29921 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
29922 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
29923 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
29924 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
29925 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
29926 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
29927 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
29928 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
29929 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
29930 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
29931 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
29932 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
29933 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
29934 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
29935 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
29936 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
29937 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
29938 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
29939 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
29940 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
29941 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
29942 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
29943 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
29944 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
29945 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
29946 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
29947 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
29948 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
29949 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
29950 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
29951 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
29952 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
29953 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
29954 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
29955 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
29956 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
29957 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
29958 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
29959 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
29960 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
29961 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
29962 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
29963 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
29964 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
29965 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
29966 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
29967 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
29968 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
29969 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
29970 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
29971 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
29972 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
29973 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
29974 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
29975 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
29976 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
29977 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
29978 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
29979 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
29980 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
29981 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
29982 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
29983 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
29984 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
29985 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
29986 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
29987 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
29988 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
29989 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
29990 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
29991 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
29992 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
29993 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
29994 LD_F77='`$ECHO "$LD_F77" | $SED "$delay_single_quote_subst"`'
29995 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
29996 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
29997 LD_GCJ='`$ECHO "$LD_GCJ" | $SED "$delay_single_quote_subst"`'
29998 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
29999 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
30000 reload_flag_F77='`$ECHO "$reload_flag_F77" | $SED "$delay_single_quote_subst"`'
30001 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
30002 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
30003 reload_flag_GCJ='`$ECHO "$reload_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30004 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
30005 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30006 reload_cmds_F77='`$ECHO "$reload_cmds_F77" | $SED "$delay_single_quote_subst"`'
30007 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
30008 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
30009 reload_cmds_GCJ='`$ECHO "$reload_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30010 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
30011 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30012 old_archive_cmds_F77='`$ECHO "$old_archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
30013 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
30014 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
30015 old_archive_cmds_GCJ='`$ECHO "$old_archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30016 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
30017 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
30018 compiler_F77='`$ECHO "$compiler_F77" | $SED "$delay_single_quote_subst"`'
30019 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
30020 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
30021 compiler_GCJ='`$ECHO "$compiler_GCJ" | $SED "$delay_single_quote_subst"`'
30022 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
30023 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
30024 GCC_F77='`$ECHO "$GCC_F77" | $SED "$delay_single_quote_subst"`'
30025 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
30026 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
30027 GCC_GCJ='`$ECHO "$GCC_GCJ" | $SED "$delay_single_quote_subst"`'
30028 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
30029 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
30030 lt_prog_compiler_no_builtin_flag_F77='`$ECHO "$lt_prog_compiler_no_builtin_flag_F77" | $SED "$delay_single_quote_subst"`'
30031 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
30032 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
30033 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "$lt_prog_compiler_no_builtin_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30034 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
30035 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
30036 lt_prog_compiler_pic_F77='`$ECHO "$lt_prog_compiler_pic_F77" | $SED "$delay_single_quote_subst"`'
30037 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
30038 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
30039 lt_prog_compiler_pic_GCJ='`$ECHO "$lt_prog_compiler_pic_GCJ" | $SED "$delay_single_quote_subst"`'
30040 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
30041 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
30042 lt_prog_compiler_wl_F77='`$ECHO "$lt_prog_compiler_wl_F77" | $SED "$delay_single_quote_subst"`'
30043 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
30044 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
30045 lt_prog_compiler_wl_GCJ='`$ECHO "$lt_prog_compiler_wl_GCJ" | $SED "$delay_single_quote_subst"`'
30046 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
30047 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
30048 lt_prog_compiler_static_F77='`$ECHO "$lt_prog_compiler_static_F77" | $SED "$delay_single_quote_subst"`'
30049 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
30050 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
30051 lt_prog_compiler_static_GCJ='`$ECHO "$lt_prog_compiler_static_GCJ" | $SED "$delay_single_quote_subst"`'
30052 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
30053 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
30054 lt_cv_prog_compiler_c_o_F77='`$ECHO "$lt_cv_prog_compiler_c_o_F77" | $SED "$delay_single_quote_subst"`'
30055 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
30056 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
30057 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "$lt_cv_prog_compiler_c_o_GCJ" | $SED "$delay_single_quote_subst"`'
30058 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
30059 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
30060 archive_cmds_need_lc_F77='`$ECHO "$archive_cmds_need_lc_F77" | $SED "$delay_single_quote_subst"`'
30061 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
30062 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
30063 archive_cmds_need_lc_GCJ='`$ECHO "$archive_cmds_need_lc_GCJ" | $SED "$delay_single_quote_subst"`'
30064 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
30065 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
30066 enable_shared_with_static_runtimes_F77='`$ECHO "$enable_shared_with_static_runtimes_F77" | $SED "$delay_single_quote_subst"`'
30067 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
30068 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
30069 enable_shared_with_static_runtimes_GCJ='`$ECHO "$enable_shared_with_static_runtimes_GCJ" | $SED "$delay_single_quote_subst"`'
30070 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
30071 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30072 export_dynamic_flag_spec_F77='`$ECHO "$export_dynamic_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
30073 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
30074 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
30075 export_dynamic_flag_spec_GCJ='`$ECHO "$export_dynamic_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30076 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
30077 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30078 whole_archive_flag_spec_F77='`$ECHO "$whole_archive_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
30079 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
30080 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
30081 whole_archive_flag_spec_GCJ='`$ECHO "$whole_archive_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30082 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
30083 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
30084 compiler_needs_object_F77='`$ECHO "$compiler_needs_object_F77" | $SED "$delay_single_quote_subst"`'
30085 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
30086 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
30087 compiler_needs_object_GCJ='`$ECHO "$compiler_needs_object_GCJ" | $SED "$delay_single_quote_subst"`'
30088 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
30089 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30090 old_archive_from_new_cmds_F77='`$ECHO "$old_archive_from_new_cmds_F77" | $SED "$delay_single_quote_subst"`'
30091 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
30092 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
30093 old_archive_from_new_cmds_GCJ='`$ECHO "$old_archive_from_new_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30094 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
30095 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30096 old_archive_from_expsyms_cmds_F77='`$ECHO "$old_archive_from_expsyms_cmds_F77" | $SED "$delay_single_quote_subst"`'
30097 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
30098 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
30099 old_archive_from_expsyms_cmds_GCJ='`$ECHO "$old_archive_from_expsyms_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30100 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
30101 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30102 archive_cmds_F77='`$ECHO "$archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
30103 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
30104 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
30105 archive_cmds_GCJ='`$ECHO "$archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30106 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
30107 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30108 archive_expsym_cmds_F77='`$ECHO "$archive_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
30109 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
30110 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
30111 archive_expsym_cmds_GCJ='`$ECHO "$archive_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30112 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
30113 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30114 module_cmds_F77='`$ECHO "$module_cmds_F77" | $SED "$delay_single_quote_subst"`'
30115 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
30116 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
30117 module_cmds_GCJ='`$ECHO "$module_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30118 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
30119 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30120 module_expsym_cmds_F77='`$ECHO "$module_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
30121 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
30122 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
30123 module_expsym_cmds_GCJ='`$ECHO "$module_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30124 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
30125 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
30126 with_gnu_ld_F77='`$ECHO "$with_gnu_ld_F77" | $SED "$delay_single_quote_subst"`'
30127 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
30128 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
30129 with_gnu_ld_GCJ='`$ECHO "$with_gnu_ld_GCJ" | $SED "$delay_single_quote_subst"`'
30130 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
30131 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
30132 allow_undefined_flag_F77='`$ECHO "$allow_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
30133 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
30134 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
30135 allow_undefined_flag_GCJ='`$ECHO "$allow_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30136 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
30137 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
30138 no_undefined_flag_F77='`$ECHO "$no_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
30139 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
30140 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
30141 no_undefined_flag_GCJ='`$ECHO "$no_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30142 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
30143 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30144 hardcode_libdir_flag_spec_F77='`$ECHO "$hardcode_libdir_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
30145 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
30146 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
30147 hardcode_libdir_flag_spec_GCJ='`$ECHO "$hardcode_libdir_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30148 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
30149 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
30150 hardcode_libdir_separator_F77='`$ECHO "$hardcode_libdir_separator_F77" | $SED "$delay_single_quote_subst"`'
30151 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
30152 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
30153 hardcode_libdir_separator_GCJ='`$ECHO "$hardcode_libdir_separator_GCJ" | $SED "$delay_single_quote_subst"`'
30154 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
30155 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
30156 hardcode_direct_F77='`$ECHO "$hardcode_direct_F77" | $SED "$delay_single_quote_subst"`'
30157 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
30158 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
30159 hardcode_direct_GCJ='`$ECHO "$hardcode_direct_GCJ" | $SED "$delay_single_quote_subst"`'
30160 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
30161 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
30162 hardcode_direct_absolute_F77='`$ECHO "$hardcode_direct_absolute_F77" | $SED "$delay_single_quote_subst"`'
30163 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
30164 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
30165 hardcode_direct_absolute_GCJ='`$ECHO "$hardcode_direct_absolute_GCJ" | $SED "$delay_single_quote_subst"`'
30166 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
30167 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
30168 hardcode_minus_L_F77='`$ECHO "$hardcode_minus_L_F77" | $SED "$delay_single_quote_subst"`'
30169 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
30170 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
30171 hardcode_minus_L_GCJ='`$ECHO "$hardcode_minus_L_GCJ" | $SED "$delay_single_quote_subst"`'
30172 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
30173 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
30174 hardcode_shlibpath_var_F77='`$ECHO "$hardcode_shlibpath_var_F77" | $SED "$delay_single_quote_subst"`'
30175 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
30176 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
30177 hardcode_shlibpath_var_GCJ='`$ECHO "$hardcode_shlibpath_var_GCJ" | $SED "$delay_single_quote_subst"`'
30178 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
30179 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
30180 hardcode_automatic_F77='`$ECHO "$hardcode_automatic_F77" | $SED "$delay_single_quote_subst"`'
30181 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
30182 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
30183 hardcode_automatic_GCJ='`$ECHO "$hardcode_automatic_GCJ" | $SED "$delay_single_quote_subst"`'
30184 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
30185 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
30186 inherit_rpath_F77='`$ECHO "$inherit_rpath_F77" | $SED "$delay_single_quote_subst"`'
30187 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
30188 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
30189 inherit_rpath_GCJ='`$ECHO "$inherit_rpath_GCJ" | $SED "$delay_single_quote_subst"`'
30190 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
30191 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
30192 link_all_deplibs_F77='`$ECHO "$link_all_deplibs_F77" | $SED "$delay_single_quote_subst"`'
30193 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
30194 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
30195 link_all_deplibs_GCJ='`$ECHO "$link_all_deplibs_GCJ" | $SED "$delay_single_quote_subst"`'
30196 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
30197 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
30198 always_export_symbols_F77='`$ECHO "$always_export_symbols_F77" | $SED "$delay_single_quote_subst"`'
30199 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
30200 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
30201 always_export_symbols_GCJ='`$ECHO "$always_export_symbols_GCJ" | $SED "$delay_single_quote_subst"`'
30202 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
30203 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30204 export_symbols_cmds_F77='`$ECHO "$export_symbols_cmds_F77" | $SED "$delay_single_quote_subst"`'
30205 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
30206 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
30207 export_symbols_cmds_GCJ='`$ECHO "$export_symbols_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30208 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
30209 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
30210 exclude_expsyms_F77='`$ECHO "$exclude_expsyms_F77" | $SED "$delay_single_quote_subst"`'
30211 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
30212 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
30213 exclude_expsyms_GCJ='`$ECHO "$exclude_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
30214 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
30215 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
30216 include_expsyms_F77='`$ECHO "$include_expsyms_F77" | $SED "$delay_single_quote_subst"`'
30217 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
30218 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
30219 include_expsyms_GCJ='`$ECHO "$include_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
30220 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
30221 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30222 prelink_cmds_F77='`$ECHO "$prelink_cmds_F77" | $SED "$delay_single_quote_subst"`'
30223 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
30224 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
30225 prelink_cmds_GCJ='`$ECHO "$prelink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30226 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
30227 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30228 postlink_cmds_F77='`$ECHO "$postlink_cmds_F77" | $SED "$delay_single_quote_subst"`'
30229 postlink_cmds_FC='`$ECHO "$postlink_cmds_FC" | $SED "$delay_single_quote_subst"`'
30230 postlink_cmds_GO='`$ECHO "$postlink_cmds_GO" | $SED "$delay_single_quote_subst"`'
30231 postlink_cmds_GCJ='`$ECHO "$postlink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30232 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
30233 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
30234 file_list_spec_F77='`$ECHO "$file_list_spec_F77" | $SED "$delay_single_quote_subst"`'
30235 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
30236 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
30237 file_list_spec_GCJ='`$ECHO "$file_list_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30238 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
30239 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
30240 hardcode_action_F77='`$ECHO "$hardcode_action_F77" | $SED "$delay_single_quote_subst"`'
30241 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
30242 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
30243 hardcode_action_GCJ='`$ECHO "$hardcode_action_GCJ" | $SED "$delay_single_quote_subst"`'
30244 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
30245 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
30246 compiler_lib_search_dirs_F77='`$ECHO "$compiler_lib_search_dirs_F77" | $SED "$delay_single_quote_subst"`'
30247 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
30248 compiler_lib_search_dirs_GO='`$ECHO "$compiler_lib_search_dirs_GO" | $SED "$delay_single_quote_subst"`'
30249 compiler_lib_search_dirs_GCJ='`$ECHO "$compiler_lib_search_dirs_GCJ" | $SED "$delay_single_quote_subst"`'
30250 compiler_lib_search_dirs_RC='`$ECHO "$compiler_lib_search_dirs_RC" | $SED "$delay_single_quote_subst"`'
30251 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
30252 predep_objects_F77='`$ECHO "$predep_objects_F77" | $SED "$delay_single_quote_subst"`'
30253 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
30254 predep_objects_GO='`$ECHO "$predep_objects_GO" | $SED "$delay_single_quote_subst"`'
30255 predep_objects_GCJ='`$ECHO "$predep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
30256 predep_objects_RC='`$ECHO "$predep_objects_RC" | $SED "$delay_single_quote_subst"`'
30257 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
30258 postdep_objects_F77='`$ECHO "$postdep_objects_F77" | $SED "$delay_single_quote_subst"`'
30259 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
30260 postdep_objects_GO='`$ECHO "$postdep_objects_GO" | $SED "$delay_single_quote_subst"`'
30261 postdep_objects_GCJ='`$ECHO "$postdep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
30262 postdep_objects_RC='`$ECHO "$postdep_objects_RC" | $SED "$delay_single_quote_subst"`'
30263 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
30264 predeps_F77='`$ECHO "$predeps_F77" | $SED "$delay_single_quote_subst"`'
30265 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
30266 predeps_GO='`$ECHO "$predeps_GO" | $SED "$delay_single_quote_subst"`'
30267 predeps_GCJ='`$ECHO "$predeps_GCJ" | $SED "$delay_single_quote_subst"`'
30268 predeps_RC='`$ECHO "$predeps_RC" | $SED "$delay_single_quote_subst"`'
30269 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
30270 postdeps_F77='`$ECHO "$postdeps_F77" | $SED "$delay_single_quote_subst"`'
30271 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
30272 postdeps_GO='`$ECHO "$postdeps_GO" | $SED "$delay_single_quote_subst"`'
30273 postdeps_GCJ='`$ECHO "$postdeps_GCJ" | $SED "$delay_single_quote_subst"`'
30274 postdeps_RC='`$ECHO "$postdeps_RC" | $SED "$delay_single_quote_subst"`'
30275 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
30276 compiler_lib_search_path_F77='`$ECHO "$compiler_lib_search_path_F77" | $SED "$delay_single_quote_subst"`'
30277 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
30278 compiler_lib_search_path_GO='`$ECHO "$compiler_lib_search_path_GO" | $SED "$delay_single_quote_subst"`'
30279 compiler_lib_search_path_GCJ='`$ECHO "$compiler_lib_search_path_GCJ" | $SED "$delay_single_quote_subst"`'
30280 compiler_lib_search_path_RC='`$ECHO "$compiler_lib_search_path_RC" | $SED "$delay_single_quote_subst"`'
30283 LTCFLAGS='$LTCFLAGS'
30284 compiler='$compiler_DEFAULT'
30286 # A function that is used when there is no print builtin or printf.
30287 func_fallback_echo ()
30289 eval 'cat <<_LTECHO_EOF
30294 # Quote evaled strings.
30311 deplibs_check_method \
30315 sharedlib_from_linklib_cmd \
30318 archiver_list_spec \
30324 lt_cv_sys_global_symbol_pipe \
30325 lt_cv_sys_global_symbol_to_cdecl \
30326 lt_cv_sys_global_symbol_to_import \
30327 lt_cv_sys_global_symbol_to_c_name_address \
30328 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
30329 lt_cv_nm_interface \
30330 nm_file_list_spec \
30331 lt_cv_truncate_bin \
30332 lt_prog_compiler_no_builtin_flag \
30333 lt_prog_compiler_pic \
30334 lt_prog_compiler_wl \
30335 lt_prog_compiler_static \
30336 lt_cv_prog_compiler_c_o \
30345 export_dynamic_flag_spec \
30346 whole_archive_flag_spec \
30347 compiler_needs_object \
30349 allow_undefined_flag \
30350 no_undefined_flag \
30351 hardcode_libdir_flag_spec \
30352 hardcode_libdir_separator \
30356 variables_saved_for_relink \
30358 library_names_spec \
30360 install_override_mode \
30364 compiler_lib_search_dirs \
30369 compiler_lib_search_path \
30388 lt_prog_compiler_no_builtin_flag_CXX \
30389 lt_prog_compiler_no_builtin_flag_F77 \
30390 lt_prog_compiler_no_builtin_flag_FC \
30391 lt_prog_compiler_no_builtin_flag_GO \
30392 lt_prog_compiler_no_builtin_flag_GCJ \
30393 lt_prog_compiler_no_builtin_flag_RC \
30394 lt_prog_compiler_pic_CXX \
30395 lt_prog_compiler_pic_F77 \
30396 lt_prog_compiler_pic_FC \
30397 lt_prog_compiler_pic_GO \
30398 lt_prog_compiler_pic_GCJ \
30399 lt_prog_compiler_pic_RC \
30400 lt_prog_compiler_wl_CXX \
30401 lt_prog_compiler_wl_F77 \
30402 lt_prog_compiler_wl_FC \
30403 lt_prog_compiler_wl_GO \
30404 lt_prog_compiler_wl_GCJ \
30405 lt_prog_compiler_wl_RC \
30406 lt_prog_compiler_static_CXX \
30407 lt_prog_compiler_static_F77 \
30408 lt_prog_compiler_static_FC \
30409 lt_prog_compiler_static_GO \
30410 lt_prog_compiler_static_GCJ \
30411 lt_prog_compiler_static_RC \
30412 lt_cv_prog_compiler_c_o_CXX \
30413 lt_cv_prog_compiler_c_o_F77 \
30414 lt_cv_prog_compiler_c_o_FC \
30415 lt_cv_prog_compiler_c_o_GO \
30416 lt_cv_prog_compiler_c_o_GCJ \
30417 lt_cv_prog_compiler_c_o_RC \
30418 export_dynamic_flag_spec_CXX \
30419 export_dynamic_flag_spec_F77 \
30420 export_dynamic_flag_spec_FC \
30421 export_dynamic_flag_spec_GO \
30422 export_dynamic_flag_spec_GCJ \
30423 export_dynamic_flag_spec_RC \
30424 whole_archive_flag_spec_CXX \
30425 whole_archive_flag_spec_F77 \
30426 whole_archive_flag_spec_FC \
30427 whole_archive_flag_spec_GO \
30428 whole_archive_flag_spec_GCJ \
30429 whole_archive_flag_spec_RC \
30430 compiler_needs_object_CXX \
30431 compiler_needs_object_F77 \
30432 compiler_needs_object_FC \
30433 compiler_needs_object_GO \
30434 compiler_needs_object_GCJ \
30435 compiler_needs_object_RC \
30442 allow_undefined_flag_CXX \
30443 allow_undefined_flag_F77 \
30444 allow_undefined_flag_FC \
30445 allow_undefined_flag_GO \
30446 allow_undefined_flag_GCJ \
30447 allow_undefined_flag_RC \
30448 no_undefined_flag_CXX \
30449 no_undefined_flag_F77 \
30450 no_undefined_flag_FC \
30451 no_undefined_flag_GO \
30452 no_undefined_flag_GCJ \
30453 no_undefined_flag_RC \
30454 hardcode_libdir_flag_spec_CXX \
30455 hardcode_libdir_flag_spec_F77 \
30456 hardcode_libdir_flag_spec_FC \
30457 hardcode_libdir_flag_spec_GO \
30458 hardcode_libdir_flag_spec_GCJ \
30459 hardcode_libdir_flag_spec_RC \
30460 hardcode_libdir_separator_CXX \
30461 hardcode_libdir_separator_F77 \
30462 hardcode_libdir_separator_FC \
30463 hardcode_libdir_separator_GO \
30464 hardcode_libdir_separator_GCJ \
30465 hardcode_libdir_separator_RC \
30466 exclude_expsyms_CXX \
30467 exclude_expsyms_F77 \
30468 exclude_expsyms_FC \
30469 exclude_expsyms_GO \
30470 exclude_expsyms_GCJ \
30471 exclude_expsyms_RC \
30472 include_expsyms_CXX \
30473 include_expsyms_F77 \
30474 include_expsyms_FC \
30475 include_expsyms_GO \
30476 include_expsyms_GCJ \
30477 include_expsyms_RC \
30478 file_list_spec_CXX \
30479 file_list_spec_F77 \
30480 file_list_spec_FC \
30481 file_list_spec_GO \
30482 file_list_spec_GCJ \
30483 file_list_spec_RC \
30484 compiler_lib_search_dirs_CXX \
30485 compiler_lib_search_dirs_F77 \
30486 compiler_lib_search_dirs_FC \
30487 compiler_lib_search_dirs_GO \
30488 compiler_lib_search_dirs_GCJ \
30489 compiler_lib_search_dirs_RC \
30490 predep_objects_CXX \
30491 predep_objects_F77 \
30492 predep_objects_FC \
30493 predep_objects_GO \
30494 predep_objects_GCJ \
30495 predep_objects_RC \
30496 postdep_objects_CXX \
30497 postdep_objects_F77 \
30498 postdep_objects_FC \
30499 postdep_objects_GO \
30500 postdep_objects_GCJ \
30501 postdep_objects_RC \
30514 compiler_lib_search_path_CXX \
30515 compiler_lib_search_path_F77 \
30516 compiler_lib_search_path_FC \
30517 compiler_lib_search_path_GO \
30518 compiler_lib_search_path_GCJ \
30519 compiler_lib_search_path_RC; do
30520 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
30521 *[\\\\\\\`\\"\\\$]*)
30522 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
30525 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30530 # Double-quote double-evaled strings.
30531 for var in reload_cmds \
30532 old_postinstall_cmds \
30533 old_postuninstall_cmds \
30535 extract_expsyms_cmds \
30536 old_archive_from_new_cmds \
30537 old_archive_from_expsyms_cmds \
30539 archive_expsym_cmds \
30541 module_expsym_cmds \
30542 export_symbols_cmds \
30546 postuninstall_cmds \
30548 sys_lib_search_path_spec \
30549 configure_time_dlsearch_path \
30550 configure_time_lt_sys_library_path \
30557 old_archive_cmds_CXX \
30558 old_archive_cmds_F77 \
30559 old_archive_cmds_FC \
30560 old_archive_cmds_GO \
30561 old_archive_cmds_GCJ \
30562 old_archive_cmds_RC \
30563 old_archive_from_new_cmds_CXX \
30564 old_archive_from_new_cmds_F77 \
30565 old_archive_from_new_cmds_FC \
30566 old_archive_from_new_cmds_GO \
30567 old_archive_from_new_cmds_GCJ \
30568 old_archive_from_new_cmds_RC \
30569 old_archive_from_expsyms_cmds_CXX \
30570 old_archive_from_expsyms_cmds_F77 \
30571 old_archive_from_expsyms_cmds_FC \
30572 old_archive_from_expsyms_cmds_GO \
30573 old_archive_from_expsyms_cmds_GCJ \
30574 old_archive_from_expsyms_cmds_RC \
30581 archive_expsym_cmds_CXX \
30582 archive_expsym_cmds_F77 \
30583 archive_expsym_cmds_FC \
30584 archive_expsym_cmds_GO \
30585 archive_expsym_cmds_GCJ \
30586 archive_expsym_cmds_RC \
30593 module_expsym_cmds_CXX \
30594 module_expsym_cmds_F77 \
30595 module_expsym_cmds_FC \
30596 module_expsym_cmds_GO \
30597 module_expsym_cmds_GCJ \
30598 module_expsym_cmds_RC \
30599 export_symbols_cmds_CXX \
30600 export_symbols_cmds_F77 \
30601 export_symbols_cmds_FC \
30602 export_symbols_cmds_GO \
30603 export_symbols_cmds_GCJ \
30604 export_symbols_cmds_RC \
30611 postlink_cmds_CXX \
30612 postlink_cmds_F77 \
30615 postlink_cmds_GCJ \
30616 postlink_cmds_RC; do
30617 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
30618 *[\\\\\\\`\\"\\\$]*)
30619 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
30622 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30627 ac_aux_dir='$ac_aux_dir'
30629 # See if we are running on zsh, and set the options that allow our
30630 # commands through without removal of \ escapes INIT.
30631 if test -n "\${ZSH_VERSION+set}"; then
30632 setopt NO_GLOB_SUBST
30655 GNUmakefile=$GNUmakefile
30659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30661 # Handling of arguments.
30662 for ac_config_target in $ac_config_targets
30664 case $ac_config_target in
30665 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
30666 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
30667 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30668 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
30669 "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;;
30670 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30672 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
30677 # If the user did not use the arguments to specify the items to instantiate,
30678 # then the envvar interface is used. Set only those that are not.
30679 # We use the long form for the default assignment because of an extremely
30680 # bizarre bug on SunOS 4.1.3.
30681 if $ac_need_defaults; then
30682 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
30683 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
30684 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
30685 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
30688 # Have a temporary directory for convenience. Make it in the build tree
30689 # simply because there is no reason against having it here, and in addition,
30690 # creating and moving files from /tmp can sometimes cause problems.
30691 # Hook for its removal unless debugging.
30692 # Note that there is a small window in which the directory will not be cleaned:
30693 # after its creation but before its name has been assigned to `$tmp'.
30697 trap 'exit_status=$?
30698 : "${ac_tmp:=$tmp}"
30699 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
30701 trap 'as_fn_exit 1' 1 2 13 15
30703 # Create a (secure) tmp directory for tmp files.
30706 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
30710 tmp=./conf$$-$RANDOM
30711 (umask 077 && mkdir "$tmp")
30712 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
30715 # Set up the scripts for CONFIG_FILES section.
30716 # No need to generate them if there are no CONFIG_FILES.
30717 # This happens for instance with `./config.status config.h'.
30718 if test -n "$CONFIG_FILES"; then
30721 ac_cr=`echo X | tr X '\015'`
30722 # On cygwin, bash can eat \r inside `` if the user requested igncr.
30723 # But we know of no other shell where ac_cr would be empty at this
30724 # point, so we can use a bashism as a fallback.
30725 if test "x$ac_cr" = x; then
30726 eval ac_cr=\$\'\\r\'
30728 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
30729 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
30732 ac_cs_awk_cr=$ac_cr
30735 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
30740 echo "cat >conf$$subs.awk <<_ACEOF" &&
30741 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
30743 } >conf$$subs.sh ||
30744 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
30745 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
30747 for ac_last_try in false false false false false :; do
30748 . ./conf$$subs.sh ||
30749 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
30751 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
30752 if test $ac_delim_n = $ac_delim_num; then
30754 elif $ac_last_try; then
30755 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
30757 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30760 rm -f conf$$subs.sh
30762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30763 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
30767 s/^/S["/; s/!.*/"]=/
30777 s/\(.\{148\}\)..*/\1/
30779 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
30784 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30791 s/\(.\{148\}\)..*/\1/
30793 s/["\\]/\\&/g; s/^/"/; s/$/"/
30797 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30802 ' <conf$$subs.awk | sed '
30807 ' >>$CONFIG_STATUS || ac_write_fail=1
30808 rm -f conf$$subs.awk
30809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30811 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
30812 for (key in S) S_is_set[key] = 1
30818 nfields = split(line, field, "@")
30820 len = length(field[1])
30821 for (i = 2; i < nfields; i++) {
30823 keylen = length(key)
30824 if (S_is_set[key]) {
30826 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
30827 len += length(value) + length(field[++i])
30838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30839 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
30840 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
30843 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
30844 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
30847 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
30848 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
30849 # trailing colons and then remove the whole line if VPATH becomes empty
30850 # (actually we leave an empty line to preserve line numbers).
30851 if test "x$srcdir" = x.; then
30852 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
30870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30871 fi # test -n "$CONFIG_FILES"
30873 # Set up the scripts for CONFIG_HEADERS section.
30874 # No need to generate them if there are no CONFIG_HEADERS.
30875 # This happens for instance with `./config.status Makefile'.
30876 if test -n "$CONFIG_HEADERS"; then
30877 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
30881 # Transform confdefs.h into an awk script `defines.awk', embedded as
30882 # here-document in config.status, that substitutes the proper values into
30883 # config.h.in to produce config.h.
30885 # Create a delimiter string that does not exist in confdefs.h, to ease
30886 # handling of long lines.
30888 for ac_last_try in false false :; do
30889 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
30890 if test -z "$ac_tt"; then
30892 elif $ac_last_try; then
30893 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
30895 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30899 # For the awk script, D is an array of macro values keyed by name,
30900 # likewise P contains macro parameters if any. Preserve backslash
30901 # newline sequences.
30903 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30905 s/.\{148\}/&'"$ac_delim"'/g
30908 s/^[ ]*#[ ]*define[ ][ ]*/ /
30915 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
30917 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
30921 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
30922 D["\1"]=" \3\\\\\\n"\\/p
30924 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
30929 s/.\{148\}/&'"$ac_delim"'/g
30934 s/["\\]/\\&/g; s/^/"/; s/$/"/p
30937 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
30939 ' <confdefs.h | sed '
30940 s/'"$ac_delim"'/"\\\
30941 "/g' >>$CONFIG_STATUS || ac_write_fail=1
30943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30944 for (key in D) D_is_set[key] = 1
30947 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
30949 split(line, arg, " ")
30950 if (arg[1] == "#") {
30954 defundef = substr(arg[1], 2)
30957 split(mac1, mac2, "(") #)
30959 prefix = substr(line, 1, index(line, defundef) - 1)
30960 if (D_is_set[macro]) {
30961 # Preserve the white space surrounding the "#".
30962 print prefix "define", macro P[macro] D[macro]
30965 # Replace #undef with comments. This is necessary, for example,
30966 # in the case of _POSIX_SOURCE, which is predefined and required
30967 # on some systems where configure will not decide to define it.
30968 if (defundef == "undef") {
30969 print "/*", prefix defundef, macro, "*/"
30977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30978 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
30979 fi # test -n "$CONFIG_HEADERS"
30982 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
30987 :[FHLC]) ac_mode=$ac_tag; continue;;
30989 case $ac_mode$ac_tag in
30991 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
30992 :[FH]-) ac_tag=-:-;;
30993 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
31010 -) ac_f="$ac_tmp/stdin";;
31011 *) # Look for the file first in the build tree, then in the source tree
31012 # (if the path is not absolute). The absolute path cannot be DOS-style,
31013 # because $ac_f cannot contain `:'.
31017 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
31019 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
31021 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
31022 as_fn_append ac_file_inputs " '$ac_f'"
31025 # Let's still pretend it is `configure' which instantiates (i.e., don't
31026 # use $as_me), people would be surprised to read:
31027 # /* config.h. Generated by config.status. */
31028 configure_input='Generated from '`
31029 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
31031 if test x"$ac_file" != x-; then
31032 configure_input="$ac_file. $configure_input"
31033 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
31034 $as_echo "$as_me: creating $ac_file" >&6;}
31036 # Neutralize special characters interpreted by sed in replacement strings.
31037 case $configure_input in #(
31038 *\&* | *\|* | *\\* )
31039 ac_sed_conf_input=`$as_echo "$configure_input" |
31040 sed 's/[\\\\&|]/\\\\&/g'`;; #(
31041 *) ac_sed_conf_input=$configure_input;;
31045 *:-:* | *:-) cat >"$ac_tmp/stdin" \
31046 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
31051 ac_dir=`$as_dirname -- "$ac_file" ||
31052 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31053 X"$ac_file" : 'X\(//\)[^/]' \| \
31054 X"$ac_file" : 'X\(//\)$' \| \
31055 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
31056 $as_echo X"$ac_file" |
31057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31061 /^X\(\/\/\)[^/].*/{
31074 as_dir="$ac_dir"; as_fn_mkdir_p
31078 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
31080 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
31081 # A ".." for each directory in $ac_dir_suffix.
31082 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
31083 case $ac_top_builddir_sub in
31084 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
31085 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
31088 ac_abs_top_builddir=$ac_pwd
31089 ac_abs_builddir=$ac_pwd$ac_dir_suffix
31090 # for backward compatibility:
31091 ac_top_builddir=$ac_top_build_prefix
31094 .) # We are building in place.
31096 ac_top_srcdir=$ac_top_builddir_sub
31097 ac_abs_top_srcdir=$ac_pwd ;;
31098 [\\/]* | ?:[\\/]* ) # Absolute name.
31099 ac_srcdir=$srcdir$ac_dir_suffix;
31100 ac_top_srcdir=$srcdir
31101 ac_abs_top_srcdir=$srcdir ;;
31102 *) # Relative name.
31103 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
31104 ac_top_srcdir=$ac_top_build_prefix$srcdir
31105 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
31107 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
31117 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
31118 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
31120 ac_MKDIR_P=$MKDIR_P
31122 [\\/$]* | ?:[\\/]* ) ;;
31123 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
31127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31128 # If the template does not know about datarootdir, expand it.
31129 # FIXME: This hack should be removed a few years after 2.60.
31130 ac_datarootdir_hack=; ac_datarootdir_seen=
31141 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
31142 *datarootdir*) ac_datarootdir_seen=yes;;
31143 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
31145 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
31147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31148 ac_datarootdir_hack='
31149 s&@datadir@&$datadir&g
31150 s&@docdir@&$docdir&g
31151 s&@infodir@&$infodir&g
31152 s&@localedir@&$localedir&g
31153 s&@mandir@&$mandir&g
31154 s&\\\${datarootdir}&$datarootdir&g' ;;
31158 # Neutralize VPATH when `$srcdir' = `.'.
31159 # Shell code in configure.ac might set extrasub.
31160 # FIXME: do we really want to maintain this feature?
31161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31162 ac_sed_extra="$ac_vpsub
31165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31167 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31168 s|@configure_input@|$ac_sed_conf_input|;t t
31169 s&@top_builddir@&$ac_top_builddir_sub&;t t
31170 s&@top_build_prefix@&$ac_top_build_prefix&;t t
31171 s&@srcdir@&$ac_srcdir&;t t
31172 s&@abs_srcdir@&$ac_abs_srcdir&;t t
31173 s&@top_srcdir@&$ac_top_srcdir&;t t
31174 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
31175 s&@builddir@&$ac_builddir&;t t
31176 s&@abs_builddir@&$ac_abs_builddir&;t t
31177 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
31178 s&@INSTALL@&$ac_INSTALL&;t t
31179 s&@MKDIR_P@&$ac_MKDIR_P&;t t
31180 $ac_datarootdir_hack
31182 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
31183 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31185 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
31186 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
31187 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
31188 "$ac_tmp/out"`; test -z "$ac_out"; } &&
31189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31190 which seems to be undefined. Please make sure it is defined" >&5
31191 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31192 which seems to be undefined. Please make sure it is defined" >&2;}
31194 rm -f "$ac_tmp/stdin"
31196 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
31197 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
31199 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31205 if test x"$ac_file" != x-; then
31207 $as_echo "/* $configure_input */" \
31208 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
31209 } >"$ac_tmp/config.h" \
31210 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31211 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
31212 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
31213 $as_echo "$as_me: $ac_file is unchanged" >&6;}
31216 mv "$ac_tmp/config.h" "$ac_file" \
31217 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31220 $as_echo "/* $configure_input */" \
31221 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
31222 || as_fn_error $? "could not create -" "$LINENO" 5
31224 # Compute "$ac_file"'s index in $config_headers.
31227 for _am_header in $config_headers :; do
31228 case $_am_header in
31229 $_am_arg | $_am_arg:* )
31232 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
31235 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
31236 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31237 X"$_am_arg" : 'X\(//\)[^/]' \| \
31238 X"$_am_arg" : 'X\(//\)$' \| \
31239 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
31240 $as_echo X"$_am_arg" |
31241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31245 /^X\(\/\/\)[^/].*/{
31257 s/.*/./; q'`/stamp-h$_am_stamp_count
31264 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
31267 # Prefer the file from the source tree if names are identical.
31268 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
31269 ac_source=$srcdir/$ac_source
31272 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
31273 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
31275 if test ! -r "$ac_source"; then
31276 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
31280 # Try a relative symlink, then a hard link, then a copy.
31282 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
31283 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
31285 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
31286 ln "$ac_source" "$ac_file" 2>/dev/null ||
31287 cp -p "$ac_source" "$ac_file" ||
31288 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
31291 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
31292 $as_echo "$as_me: executing $ac_file commands" >&6;}
31297 case $ac_file$ac_mode in
31298 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
31299 # Configurable variable values for building test suites.
31301 # Copyright (C) 2012 Free Software Foundation, Inc.
31303 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
31305 abs_builddir='$ac_abs_builddir'
31306 at_srcdir='$ac_srcdir'
31307 abs_srcdir='$ac_abs_srcdir'
31308 at_top_srcdir='$ac_top_srcdir'
31309 abs_top_srcdir='$ac_abs_top_srcdir'
31310 at_top_build_prefix='$ac_top_build_prefix'
31311 abs_top_builddir='$ac_abs_top_builddir'
31313 # Backward compatibility with Autotest <= 2.59b:
31314 at_top_builddir=\$at_top_build_prefix
31316 AUTOTEST_PATH='tests'
31318 SHELL=\${CONFIG_SHELL-'$SHELL'}
31321 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
31322 # Older Autoconf quotes --file arguments for eval, but not when files
31323 # are listed without --file. Let's play safe and only enable the eval
31324 # if we detect the quoting.
31325 case $CONFIG_FILES in
31326 *\'*) eval set x "$CONFIG_FILES" ;;
31327 *) set x $CONFIG_FILES ;;
31332 # Strip MF so we end up with the name of the file.
31333 mf=`echo "$mf" | sed -e 's/:.*$//'`
31334 # Check whether this is an Automake generated Makefile or not.
31335 # We used to match only the files named 'Makefile.in', but
31336 # some people rename them; so instead we look at the file content.
31337 # Grep'ing the first line is not enough: some people post-process
31338 # each Makefile.in and add a new line on top of each file to say so.
31339 # Grep'ing the whole file is not good either: AIX grep has a line
31340 # limit of 2048, but all sed's we know have understand at least 4000.
31341 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
31342 dirpart=`$as_dirname -- "$mf" ||
31343 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31344 X"$mf" : 'X\(//\)[^/]' \| \
31345 X"$mf" : 'X\(//\)$' \| \
31346 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
31348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31352 /^X\(\/\/\)[^/].*/{
31368 # Extract the definition of DEPDIR, am__include, and am__quote
31369 # from the Makefile without running 'make'.
31370 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
31371 test -z "$DEPDIR" && continue
31372 am__include=`sed -n 's/^am__include = //p' < "$mf"`
31373 test -z "$am__include" && continue
31374 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
31375 # Find all dependency output files, they are included files with
31376 # $(DEPDIR) in their names. We invoke sed twice because it is the
31377 # simplest approach to changing $(DEPDIR) to its actual value in the
31379 for file in `sed -n "
31380 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
31381 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
31382 # Make sure the directory exists.
31383 test -f "$dirpart/$file" && continue
31384 fdir=`$as_dirname -- "$file" ||
31385 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31386 X"$file" : 'X\(//\)[^/]' \| \
31387 X"$file" : 'X\(//\)$' \| \
31388 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
31389 $as_echo X"$file" |
31390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31394 /^X\(\/\/\)[^/].*/{
31407 as_dir=$dirpart/$fdir; as_fn_mkdir_p
31408 # echo "creating $dirpart/$file"
31409 echo '# dummy' > "$dirpart/$file"
31416 # See if we are running on zsh, and set the options that allow our
31417 # commands through without removal of \ escapes.
31418 if test -n "${ZSH_VERSION+set}"; then
31419 setopt NO_GLOB_SUBST
31423 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
31426 cat <<_LT_EOF >> "$cfgfile"
31428 # Generated automatically by $as_me ($PACKAGE) $VERSION
31429 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
31430 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
31432 # Provide generalized library-building support services.
31433 # Written by Gordon Matzigkeit, 1996
31435 # Copyright (C) 2014 Free Software Foundation, Inc.
31436 # This is free software; see the source for copying conditions. There is NO
31437 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
31439 # GNU Libtool is free software; you can redistribute it and/or modify
31440 # it under the terms of the GNU General Public License as published by
31441 # the Free Software Foundation; either version 2 of of the License, or
31442 # (at your option) any later version.
31444 # As a special exception to the GNU General Public License, if you
31445 # distribute this file as part of a program or library that is built
31446 # using GNU Libtool, you may include this file under the same
31447 # distribution terms that you use for the rest of that program.
31449 # GNU Libtool is distributed in the hope that it will be useful, but
31450 # WITHOUT ANY WARRANTY; without even the implied warranty of
31451 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31452 # GNU General Public License for more details.
31454 # You should have received a copy of the GNU General Public License
31455 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31458 # The names of the tagged configurations supported by this script.
31459 available_tags='CXX F77 FC GO GCJ RC '
31461 # Configured defaults for sys_lib_dlsearch_path munging.
31462 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
31464 # ### BEGIN LIBTOOL CONFIG
31466 # Which release of libtool.m4 was used?
31467 macro_version=$macro_version
31468 macro_revision=$macro_revision
31470 # Assembler program.
31473 # DLL creation program.
31474 DLLTOOL=$lt_DLLTOOL
31476 # Object dumper program.
31477 OBJDUMP=$lt_OBJDUMP
31479 # Whether or not to build shared libraries.
31480 build_libtool_libs=$enable_shared
31482 # Whether or not to build static libraries.
31483 build_old_libs=$enable_static
31485 # What type of objects to build.
31488 # Whether or not to optimize for fast installation.
31489 fast_install=$enable_fast_install
31491 # Shared archive member basename,for filename based shared library versioning on AIX.
31492 shared_archive_member_spec=$shared_archive_member_spec
31494 # Shell to use when invoking shell scripts.
31497 # An echo program that protects backslashes.
31500 # The PATH separator for the build system.
31501 PATH_SEPARATOR=$lt_PATH_SEPARATOR
31504 host_alias=$host_alias
31508 # The build system.
31509 build_alias=$build_alias
31513 # A sed program that does not truncate output.
31516 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
31517 Xsed="\$SED -e 1s/^X//"
31519 # A grep program that handles long lines.
31525 # A literal string matcher.
31528 # A BSD- or MS-compatible name lister.
31531 # Whether we need soft or hard links.
31534 # What is the maximum length of a command?
31535 max_cmd_len=$max_cmd_len
31537 # Object file suffix (normally "o").
31540 # Executable file suffix (normally "").
31543 # whether the shell understands "unset".
31546 # turn spaces into newlines.
31549 # turn newlines into spaces.
31552 # convert \$build file names to \$host format.
31553 to_host_file_cmd=$lt_cv_to_host_file_cmd
31555 # convert \$build files to toolchain format.
31556 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
31558 # Method to check whether dependent libraries are shared objects.
31559 deplibs_check_method=$lt_deplibs_check_method
31561 # Command to use when deplibs_check_method = "file_magic".
31562 file_magic_cmd=$lt_file_magic_cmd
31564 # How to find potential files when deplibs_check_method = "file_magic".
31565 file_magic_glob=$lt_file_magic_glob
31567 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
31568 want_nocaseglob=$lt_want_nocaseglob
31570 # Command to associate shared and link libraries.
31571 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
31576 # Flags to create an archive.
31577 AR_FLAGS=$lt_AR_FLAGS
31579 # How to feed a file listing to the archiver.
31580 archiver_list_spec=$lt_archiver_list_spec
31582 # A symbol stripping program.
31585 # Commands used to install an old-style archive.
31587 old_postinstall_cmds=$lt_old_postinstall_cmds
31588 old_postuninstall_cmds=$lt_old_postuninstall_cmds
31590 # Whether to use a lock for old archive extraction.
31591 lock_old_archive_extraction=$lock_old_archive_extraction
31596 # LTCC compiler flags.
31597 LTCFLAGS=$lt_CFLAGS
31599 # Take the output of nm and produce a listing of raw symbols and C names.
31600 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
31602 # Transform the output of nm in a proper C declaration.
31603 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
31605 # Transform the output of nm into a list of symbols to manually relocate.
31606 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
31608 # Transform the output of nm in a C name address pair.
31609 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
31611 # Transform the output of nm in a C name address pair when lib prefix is needed.
31612 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
31614 # The name lister interface.
31615 nm_interface=$lt_lt_cv_nm_interface
31617 # Specify filename containing input files for \$NM.
31618 nm_file_list_spec=$lt_nm_file_list_spec
31620 # The root where to search for dependent libraries,and where our libraries should be installed.
31621 lt_sysroot=$lt_sysroot
31623 # Command to truncate a binary pipe.
31624 lt_truncate_bin=$lt_lt_cv_truncate_bin
31626 # The name of the directory that contains temporary libtool files.
31629 # Used to examine libraries when file_magic_cmd begins with "file".
31630 MAGIC_CMD=$MAGIC_CMD
31632 # Must we lock files when doing compilation?
31633 need_locks=$lt_need_locks
31636 MANIFEST_TOOL=$lt_MANIFEST_TOOL
31638 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
31639 DSYMUTIL=$lt_DSYMUTIL
31641 # Tool to change global to local symbols on Mac OS X.
31644 # Tool to manipulate fat objects and archives on Mac OS X.
31647 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
31650 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
31651 OTOOL64=$lt_OTOOL64
31653 # Old archive suffix (normally "a").
31656 # Shared library suffix (normally ".so").
31657 shrext_cmds=$lt_shrext_cmds
31659 # The commands to extract the exported symbol list from a shared archive.
31660 extract_expsyms_cmds=$lt_extract_expsyms_cmds
31662 # Variables whose values should be saved in libtool wrapper scripts and
31663 # restored at link time.
31664 variables_saved_for_relink=$lt_variables_saved_for_relink
31666 # Do we need the "lib" prefix for modules?
31667 need_lib_prefix=$need_lib_prefix
31669 # Do we need a version for libraries?
31670 need_version=$need_version
31672 # Library versioning type.
31673 version_type=$version_type
31675 # Shared library runtime path variable.
31676 runpath_var=$runpath_var
31678 # Shared library path variable.
31679 shlibpath_var=$shlibpath_var
31681 # Is shlibpath searched before the hard-coded library search path?
31682 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
31684 # Format of library name prefix.
31685 libname_spec=$lt_libname_spec
31687 # List of archive names. First name is the real one, the rest are links.
31688 # The last name is the one that the linker finds with -lNAME
31689 library_names_spec=$lt_library_names_spec
31691 # The coded name of the library, if different from the real name.
31692 soname_spec=$lt_soname_spec
31694 # Permission mode override for installation of shared libraries.
31695 install_override_mode=$lt_install_override_mode
31697 # Command to use after installation of a shared archive.
31698 postinstall_cmds=$lt_postinstall_cmds
31700 # Command to use after uninstallation of a shared archive.
31701 postuninstall_cmds=$lt_postuninstall_cmds
31703 # Commands used to finish a libtool library installation in a directory.
31704 finish_cmds=$lt_finish_cmds
31706 # As "finish_cmds", except a single script fragment to be evaled but
31708 finish_eval=$lt_finish_eval
31710 # Whether we should hardcode library paths into libraries.
31711 hardcode_into_libs=$hardcode_into_libs
31713 # Compile-time system search path for libraries.
31714 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
31716 # Detected run-time system search path for libraries.
31717 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
31719 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
31720 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
31722 # Whether dlopen is supported.
31723 dlopen_support=$enable_dlopen
31725 # Whether dlopen of programs is supported.
31726 dlopen_self=$enable_dlopen_self
31728 # Whether dlopen of statically linked programs is supported.
31729 dlopen_self_static=$enable_dlopen_self_static
31731 # Commands to strip libraries.
31732 old_striplib=$lt_old_striplib
31733 striplib=$lt_striplib
31736 # The linker used to build libraries.
31739 # How to create reloadable object files.
31740 reload_flag=$lt_reload_flag
31741 reload_cmds=$lt_reload_cmds
31743 # Commands used to build an old-style archive.
31744 old_archive_cmds=$lt_old_archive_cmds
31746 # A language specific compiler.
31749 # Is the compiler the GNU compiler?
31752 # Compiler flag to turn off builtin functions.
31753 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
31755 # Additional compiler flags for building library objects.
31756 pic_flag=$lt_lt_prog_compiler_pic
31758 # How to pass a linker flag through the compiler.
31759 wl=$lt_lt_prog_compiler_wl
31761 # Compiler flag to prevent dynamic linking.
31762 link_static_flag=$lt_lt_prog_compiler_static
31764 # Does compiler simultaneously support -c and -o options?
31765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
31767 # Whether or not to add -lc for building shared libraries.
31768 build_libtool_need_lc=$archive_cmds_need_lc
31770 # Whether or not to disallow shared libs when runtime libs are static.
31771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
31773 # Compiler flag to allow reflexive dlopens.
31774 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
31776 # Compiler flag to generate shared objects directly from archives.
31777 whole_archive_flag_spec=$lt_whole_archive_flag_spec
31779 # Whether the compiler copes with passing no objects directly.
31780 compiler_needs_object=$lt_compiler_needs_object
31782 # Create an old-style archive from a shared archive.
31783 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
31785 # Create a temporary old-style archive to link instead of a shared archive.
31786 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
31788 # Commands used to build a shared archive.
31789 archive_cmds=$lt_archive_cmds
31790 archive_expsym_cmds=$lt_archive_expsym_cmds
31792 # Commands used to build a loadable module if different from building
31793 # a shared archive.
31794 module_cmds=$lt_module_cmds
31795 module_expsym_cmds=$lt_module_expsym_cmds
31797 # Whether we are building with GNU ld or not.
31798 with_gnu_ld=$lt_with_gnu_ld
31800 # Flag that allows shared libraries with undefined symbols to be built.
31801 allow_undefined_flag=$lt_allow_undefined_flag
31803 # Flag that enforces no undefined symbols.
31804 no_undefined_flag=$lt_no_undefined_flag
31806 # Flag to hardcode \$libdir into a binary during linking.
31807 # This must work even if \$libdir does not exist
31808 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
31810 # Whether we need a single "-rpath" flag with a separated argument.
31811 hardcode_libdir_separator=$lt_hardcode_libdir_separator
31813 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
31814 # DIR into the resulting binary.
31815 hardcode_direct=$hardcode_direct
31817 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
31818 # DIR into the resulting binary and the resulting library dependency is
31819 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
31820 # library is relocated.
31821 hardcode_direct_absolute=$hardcode_direct_absolute
31823 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31824 # into the resulting binary.
31825 hardcode_minus_L=$hardcode_minus_L
31827 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31828 # into the resulting binary.
31829 hardcode_shlibpath_var=$hardcode_shlibpath_var
31831 # Set to "yes" if building a shared library automatically hardcodes DIR
31832 # into the library and all subsequent libraries and executables linked
31834 hardcode_automatic=$hardcode_automatic
31836 # Set to yes if linker adds runtime paths of dependent libraries
31837 # to runtime path list.
31838 inherit_rpath=$inherit_rpath
31840 # Whether libtool must link a program against all its dependency libraries.
31841 link_all_deplibs=$link_all_deplibs
31843 # Set to "yes" if exported symbols are required.
31844 always_export_symbols=$always_export_symbols
31846 # The commands to list exported symbols.
31847 export_symbols_cmds=$lt_export_symbols_cmds
31849 # Symbols that should not be listed in the preloaded symbols.
31850 exclude_expsyms=$lt_exclude_expsyms
31852 # Symbols that must always be exported.
31853 include_expsyms=$lt_include_expsyms
31855 # Commands necessary for linking programs (against libraries) with templates.
31856 prelink_cmds=$lt_prelink_cmds
31858 # Commands necessary for finishing linking programs.
31859 postlink_cmds=$lt_postlink_cmds
31861 # Specify filename containing input files.
31862 file_list_spec=$lt_file_list_spec
31864 # How to hardcode a shared library path into an executable.
31865 hardcode_action=$hardcode_action
31867 # The directories searched by this compiler when creating a shared library.
31868 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
31870 # Dependencies to place before and after the objects being linked to
31871 # create a shared library.
31872 predep_objects=$lt_predep_objects
31873 postdep_objects=$lt_postdep_objects
31874 predeps=$lt_predeps
31875 postdeps=$lt_postdeps
31877 # The library search path used internally by the compiler when linking
31878 # a shared library.
31879 compiler_lib_search_path=$lt_compiler_lib_search_path
31881 # ### END LIBTOOL CONFIG
31885 cat <<'_LT_EOF' >> "$cfgfile"
31887 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
31889 # func_munge_path_list VARIABLE PATH
31890 # -----------------------------------
31891 # VARIABLE is name of variable containing _space_ separated list of
31892 # directories to be munged by the contents of PATH, which is string
31895 # string "DIR[ DIR]" will be prepended to VARIABLE
31897 # string "DIR[ DIR]" will be appended to VARIABLE
31898 # "DIRP[:DIRP]::[DIRA:]DIRA"
31899 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
31900 # "DIRA[ DIRA]" will be appended to VARIABLE
31902 # VARIABLE will be replaced by "DIR[ DIR]"
31903 func_munge_path_list ()
31909 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
31912 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
31915 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
31916 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
31919 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
31925 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
31926 func_cc_basename ()
31928 for cc_temp in $*""; do
31930 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
31931 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
31936 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
31940 # ### END FUNCTIONS SHARED WITH CONFIGURE
31946 cat <<\_LT_EOF >> "$cfgfile"
31947 # AIX sometimes has problems with the GCC collect2 program. For some
31948 # reason, if we set the COLLECT_NAMES environment variable, the problems
31949 # vanish in a puff of smoke.
31950 if test set != "${COLLECT_NAMES+set}"; then
31952 export COLLECT_NAMES
31959 ltmain=$ac_aux_dir/ltmain.sh
31962 # We use sed instead of cat because bash on DJGPP gets confused if
31963 # if finds mixed CR/LF and LF-only lines. Since sed operates in
31964 # text mode, it properly converts lines to CR/LF. This bash problem
31965 # is reportedly fixed, but why not run on old versions too?
31966 sed '$q' "$ltmain" >> "$cfgfile" \
31967 || (rm -f "$cfgfile"; exit 1)
31969 mv -f "$cfgfile" "$ofile" ||
31970 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
31974 cat <<_LT_EOF >> "$ofile"
31976 # ### BEGIN LIBTOOL TAG CONFIG: CXX
31978 # The linker used to build libraries.
31981 # How to create reloadable object files.
31982 reload_flag=$lt_reload_flag_CXX
31983 reload_cmds=$lt_reload_cmds_CXX
31985 # Commands used to build an old-style archive.
31986 old_archive_cmds=$lt_old_archive_cmds_CXX
31988 # A language specific compiler.
31989 CC=$lt_compiler_CXX
31991 # Is the compiler the GNU compiler?
31994 # Compiler flag to turn off builtin functions.
31995 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
31997 # Additional compiler flags for building library objects.
31998 pic_flag=$lt_lt_prog_compiler_pic_CXX
32000 # How to pass a linker flag through the compiler.
32001 wl=$lt_lt_prog_compiler_wl_CXX
32003 # Compiler flag to prevent dynamic linking.
32004 link_static_flag=$lt_lt_prog_compiler_static_CXX
32006 # Does compiler simultaneously support -c and -o options?
32007 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
32009 # Whether or not to add -lc for building shared libraries.
32010 build_libtool_need_lc=$archive_cmds_need_lc_CXX
32012 # Whether or not to disallow shared libs when runtime libs are static.
32013 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
32015 # Compiler flag to allow reflexive dlopens.
32016 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
32018 # Compiler flag to generate shared objects directly from archives.
32019 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
32021 # Whether the compiler copes with passing no objects directly.
32022 compiler_needs_object=$lt_compiler_needs_object_CXX
32024 # Create an old-style archive from a shared archive.
32025 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
32027 # Create a temporary old-style archive to link instead of a shared archive.
32028 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
32030 # Commands used to build a shared archive.
32031 archive_cmds=$lt_archive_cmds_CXX
32032 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
32034 # Commands used to build a loadable module if different from building
32035 # a shared archive.
32036 module_cmds=$lt_module_cmds_CXX
32037 module_expsym_cmds=$lt_module_expsym_cmds_CXX
32039 # Whether we are building with GNU ld or not.
32040 with_gnu_ld=$lt_with_gnu_ld_CXX
32042 # Flag that allows shared libraries with undefined symbols to be built.
32043 allow_undefined_flag=$lt_allow_undefined_flag_CXX
32045 # Flag that enforces no undefined symbols.
32046 no_undefined_flag=$lt_no_undefined_flag_CXX
32048 # Flag to hardcode \$libdir into a binary during linking.
32049 # This must work even if \$libdir does not exist
32050 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
32052 # Whether we need a single "-rpath" flag with a separated argument.
32053 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
32055 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32056 # DIR into the resulting binary.
32057 hardcode_direct=$hardcode_direct_CXX
32059 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32060 # DIR into the resulting binary and the resulting library dependency is
32061 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32062 # library is relocated.
32063 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
32065 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32066 # into the resulting binary.
32067 hardcode_minus_L=$hardcode_minus_L_CXX
32069 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32070 # into the resulting binary.
32071 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
32073 # Set to "yes" if building a shared library automatically hardcodes DIR
32074 # into the library and all subsequent libraries and executables linked
32076 hardcode_automatic=$hardcode_automatic_CXX
32078 # Set to yes if linker adds runtime paths of dependent libraries
32079 # to runtime path list.
32080 inherit_rpath=$inherit_rpath_CXX
32082 # Whether libtool must link a program against all its dependency libraries.
32083 link_all_deplibs=$link_all_deplibs_CXX
32085 # Set to "yes" if exported symbols are required.
32086 always_export_symbols=$always_export_symbols_CXX
32088 # The commands to list exported symbols.
32089 export_symbols_cmds=$lt_export_symbols_cmds_CXX
32091 # Symbols that should not be listed in the preloaded symbols.
32092 exclude_expsyms=$lt_exclude_expsyms_CXX
32094 # Symbols that must always be exported.
32095 include_expsyms=$lt_include_expsyms_CXX
32097 # Commands necessary for linking programs (against libraries) with templates.
32098 prelink_cmds=$lt_prelink_cmds_CXX
32100 # Commands necessary for finishing linking programs.
32101 postlink_cmds=$lt_postlink_cmds_CXX
32103 # Specify filename containing input files.
32104 file_list_spec=$lt_file_list_spec_CXX
32106 # How to hardcode a shared library path into an executable.
32107 hardcode_action=$hardcode_action_CXX
32109 # The directories searched by this compiler when creating a shared library.
32110 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
32112 # Dependencies to place before and after the objects being linked to
32113 # create a shared library.
32114 predep_objects=$lt_predep_objects_CXX
32115 postdep_objects=$lt_postdep_objects_CXX
32116 predeps=$lt_predeps_CXX
32117 postdeps=$lt_postdeps_CXX
32119 # The library search path used internally by the compiler when linking
32120 # a shared library.
32121 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
32123 # ### END LIBTOOL TAG CONFIG: CXX
32127 cat <<_LT_EOF >> "$ofile"
32129 # ### BEGIN LIBTOOL TAG CONFIG: F77
32131 # The linker used to build libraries.
32134 # How to create reloadable object files.
32135 reload_flag=$lt_reload_flag_F77
32136 reload_cmds=$lt_reload_cmds_F77
32138 # Commands used to build an old-style archive.
32139 old_archive_cmds=$lt_old_archive_cmds_F77
32141 # A language specific compiler.
32142 CC=$lt_compiler_F77
32144 # Is the compiler the GNU compiler?
32147 # Compiler flag to turn off builtin functions.
32148 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
32150 # Additional compiler flags for building library objects.
32151 pic_flag=$lt_lt_prog_compiler_pic_F77
32153 # How to pass a linker flag through the compiler.
32154 wl=$lt_lt_prog_compiler_wl_F77
32156 # Compiler flag to prevent dynamic linking.
32157 link_static_flag=$lt_lt_prog_compiler_static_F77
32159 # Does compiler simultaneously support -c and -o options?
32160 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
32162 # Whether or not to add -lc for building shared libraries.
32163 build_libtool_need_lc=$archive_cmds_need_lc_F77
32165 # Whether or not to disallow shared libs when runtime libs are static.
32166 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
32168 # Compiler flag to allow reflexive dlopens.
32169 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
32171 # Compiler flag to generate shared objects directly from archives.
32172 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
32174 # Whether the compiler copes with passing no objects directly.
32175 compiler_needs_object=$lt_compiler_needs_object_F77
32177 # Create an old-style archive from a shared archive.
32178 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
32180 # Create a temporary old-style archive to link instead of a shared archive.
32181 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
32183 # Commands used to build a shared archive.
32184 archive_cmds=$lt_archive_cmds_F77
32185 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
32187 # Commands used to build a loadable module if different from building
32188 # a shared archive.
32189 module_cmds=$lt_module_cmds_F77
32190 module_expsym_cmds=$lt_module_expsym_cmds_F77
32192 # Whether we are building with GNU ld or not.
32193 with_gnu_ld=$lt_with_gnu_ld_F77
32195 # Flag that allows shared libraries with undefined symbols to be built.
32196 allow_undefined_flag=$lt_allow_undefined_flag_F77
32198 # Flag that enforces no undefined symbols.
32199 no_undefined_flag=$lt_no_undefined_flag_F77
32201 # Flag to hardcode \$libdir into a binary during linking.
32202 # This must work even if \$libdir does not exist
32203 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
32205 # Whether we need a single "-rpath" flag with a separated argument.
32206 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
32208 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32209 # DIR into the resulting binary.
32210 hardcode_direct=$hardcode_direct_F77
32212 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32213 # DIR into the resulting binary and the resulting library dependency is
32214 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32215 # library is relocated.
32216 hardcode_direct_absolute=$hardcode_direct_absolute_F77
32218 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32219 # into the resulting binary.
32220 hardcode_minus_L=$hardcode_minus_L_F77
32222 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32223 # into the resulting binary.
32224 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
32226 # Set to "yes" if building a shared library automatically hardcodes DIR
32227 # into the library and all subsequent libraries and executables linked
32229 hardcode_automatic=$hardcode_automatic_F77
32231 # Set to yes if linker adds runtime paths of dependent libraries
32232 # to runtime path list.
32233 inherit_rpath=$inherit_rpath_F77
32235 # Whether libtool must link a program against all its dependency libraries.
32236 link_all_deplibs=$link_all_deplibs_F77
32238 # Set to "yes" if exported symbols are required.
32239 always_export_symbols=$always_export_symbols_F77
32241 # The commands to list exported symbols.
32242 export_symbols_cmds=$lt_export_symbols_cmds_F77
32244 # Symbols that should not be listed in the preloaded symbols.
32245 exclude_expsyms=$lt_exclude_expsyms_F77
32247 # Symbols that must always be exported.
32248 include_expsyms=$lt_include_expsyms_F77
32250 # Commands necessary for linking programs (against libraries) with templates.
32251 prelink_cmds=$lt_prelink_cmds_F77
32253 # Commands necessary for finishing linking programs.
32254 postlink_cmds=$lt_postlink_cmds_F77
32256 # Specify filename containing input files.
32257 file_list_spec=$lt_file_list_spec_F77
32259 # How to hardcode a shared library path into an executable.
32260 hardcode_action=$hardcode_action_F77
32262 # The directories searched by this compiler when creating a shared library.
32263 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
32265 # Dependencies to place before and after the objects being linked to
32266 # create a shared library.
32267 predep_objects=$lt_predep_objects_F77
32268 postdep_objects=$lt_postdep_objects_F77
32269 predeps=$lt_predeps_F77
32270 postdeps=$lt_postdeps_F77
32272 # The library search path used internally by the compiler when linking
32273 # a shared library.
32274 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
32276 # ### END LIBTOOL TAG CONFIG: F77
32280 cat <<_LT_EOF >> "$ofile"
32282 # ### BEGIN LIBTOOL TAG CONFIG: FC
32284 # The linker used to build libraries.
32287 # How to create reloadable object files.
32288 reload_flag=$lt_reload_flag_FC
32289 reload_cmds=$lt_reload_cmds_FC
32291 # Commands used to build an old-style archive.
32292 old_archive_cmds=$lt_old_archive_cmds_FC
32294 # A language specific compiler.
32297 # Is the compiler the GNU compiler?
32300 # Compiler flag to turn off builtin functions.
32301 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
32303 # Additional compiler flags for building library objects.
32304 pic_flag=$lt_lt_prog_compiler_pic_FC
32306 # How to pass a linker flag through the compiler.
32307 wl=$lt_lt_prog_compiler_wl_FC
32309 # Compiler flag to prevent dynamic linking.
32310 link_static_flag=$lt_lt_prog_compiler_static_FC
32312 # Does compiler simultaneously support -c and -o options?
32313 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
32315 # Whether or not to add -lc for building shared libraries.
32316 build_libtool_need_lc=$archive_cmds_need_lc_FC
32318 # Whether or not to disallow shared libs when runtime libs are static.
32319 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
32321 # Compiler flag to allow reflexive dlopens.
32322 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
32324 # Compiler flag to generate shared objects directly from archives.
32325 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
32327 # Whether the compiler copes with passing no objects directly.
32328 compiler_needs_object=$lt_compiler_needs_object_FC
32330 # Create an old-style archive from a shared archive.
32331 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
32333 # Create a temporary old-style archive to link instead of a shared archive.
32334 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
32336 # Commands used to build a shared archive.
32337 archive_cmds=$lt_archive_cmds_FC
32338 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
32340 # Commands used to build a loadable module if different from building
32341 # a shared archive.
32342 module_cmds=$lt_module_cmds_FC
32343 module_expsym_cmds=$lt_module_expsym_cmds_FC
32345 # Whether we are building with GNU ld or not.
32346 with_gnu_ld=$lt_with_gnu_ld_FC
32348 # Flag that allows shared libraries with undefined symbols to be built.
32349 allow_undefined_flag=$lt_allow_undefined_flag_FC
32351 # Flag that enforces no undefined symbols.
32352 no_undefined_flag=$lt_no_undefined_flag_FC
32354 # Flag to hardcode \$libdir into a binary during linking.
32355 # This must work even if \$libdir does not exist
32356 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
32358 # Whether we need a single "-rpath" flag with a separated argument.
32359 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
32361 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32362 # DIR into the resulting binary.
32363 hardcode_direct=$hardcode_direct_FC
32365 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32366 # DIR into the resulting binary and the resulting library dependency is
32367 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32368 # library is relocated.
32369 hardcode_direct_absolute=$hardcode_direct_absolute_FC
32371 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32372 # into the resulting binary.
32373 hardcode_minus_L=$hardcode_minus_L_FC
32375 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32376 # into the resulting binary.
32377 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
32379 # Set to "yes" if building a shared library automatically hardcodes DIR
32380 # into the library and all subsequent libraries and executables linked
32382 hardcode_automatic=$hardcode_automatic_FC
32384 # Set to yes if linker adds runtime paths of dependent libraries
32385 # to runtime path list.
32386 inherit_rpath=$inherit_rpath_FC
32388 # Whether libtool must link a program against all its dependency libraries.
32389 link_all_deplibs=$link_all_deplibs_FC
32391 # Set to "yes" if exported symbols are required.
32392 always_export_symbols=$always_export_symbols_FC
32394 # The commands to list exported symbols.
32395 export_symbols_cmds=$lt_export_symbols_cmds_FC
32397 # Symbols that should not be listed in the preloaded symbols.
32398 exclude_expsyms=$lt_exclude_expsyms_FC
32400 # Symbols that must always be exported.
32401 include_expsyms=$lt_include_expsyms_FC
32403 # Commands necessary for linking programs (against libraries) with templates.
32404 prelink_cmds=$lt_prelink_cmds_FC
32406 # Commands necessary for finishing linking programs.
32407 postlink_cmds=$lt_postlink_cmds_FC
32409 # Specify filename containing input files.
32410 file_list_spec=$lt_file_list_spec_FC
32412 # How to hardcode a shared library path into an executable.
32413 hardcode_action=$hardcode_action_FC
32415 # The directories searched by this compiler when creating a shared library.
32416 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
32418 # Dependencies to place before and after the objects being linked to
32419 # create a shared library.
32420 predep_objects=$lt_predep_objects_FC
32421 postdep_objects=$lt_postdep_objects_FC
32422 predeps=$lt_predeps_FC
32423 postdeps=$lt_postdeps_FC
32425 # The library search path used internally by the compiler when linking
32426 # a shared library.
32427 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
32429 # ### END LIBTOOL TAG CONFIG: FC
32433 cat <<_LT_EOF >> "$ofile"
32435 # ### BEGIN LIBTOOL TAG CONFIG: GO
32437 # The linker used to build libraries.
32440 # How to create reloadable object files.
32441 reload_flag=$lt_reload_flag_GO
32442 reload_cmds=$lt_reload_cmds_GO
32444 # Commands used to build an old-style archive.
32445 old_archive_cmds=$lt_old_archive_cmds_GO
32447 # A language specific compiler.
32450 # Is the compiler the GNU compiler?
32453 # Compiler flag to turn off builtin functions.
32454 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
32456 # Additional compiler flags for building library objects.
32457 pic_flag=$lt_lt_prog_compiler_pic_GO
32459 # How to pass a linker flag through the compiler.
32460 wl=$lt_lt_prog_compiler_wl_GO
32462 # Compiler flag to prevent dynamic linking.
32463 link_static_flag=$lt_lt_prog_compiler_static_GO
32465 # Does compiler simultaneously support -c and -o options?
32466 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
32468 # Whether or not to add -lc for building shared libraries.
32469 build_libtool_need_lc=$archive_cmds_need_lc_GO
32471 # Whether or not to disallow shared libs when runtime libs are static.
32472 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
32474 # Compiler flag to allow reflexive dlopens.
32475 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
32477 # Compiler flag to generate shared objects directly from archives.
32478 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
32480 # Whether the compiler copes with passing no objects directly.
32481 compiler_needs_object=$lt_compiler_needs_object_GO
32483 # Create an old-style archive from a shared archive.
32484 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
32486 # Create a temporary old-style archive to link instead of a shared archive.
32487 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
32489 # Commands used to build a shared archive.
32490 archive_cmds=$lt_archive_cmds_GO
32491 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
32493 # Commands used to build a loadable module if different from building
32494 # a shared archive.
32495 module_cmds=$lt_module_cmds_GO
32496 module_expsym_cmds=$lt_module_expsym_cmds_GO
32498 # Whether we are building with GNU ld or not.
32499 with_gnu_ld=$lt_with_gnu_ld_GO
32501 # Flag that allows shared libraries with undefined symbols to be built.
32502 allow_undefined_flag=$lt_allow_undefined_flag_GO
32504 # Flag that enforces no undefined symbols.
32505 no_undefined_flag=$lt_no_undefined_flag_GO
32507 # Flag to hardcode \$libdir into a binary during linking.
32508 # This must work even if \$libdir does not exist
32509 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
32511 # Whether we need a single "-rpath" flag with a separated argument.
32512 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
32514 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32515 # DIR into the resulting binary.
32516 hardcode_direct=$hardcode_direct_GO
32518 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32519 # DIR into the resulting binary and the resulting library dependency is
32520 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32521 # library is relocated.
32522 hardcode_direct_absolute=$hardcode_direct_absolute_GO
32524 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32525 # into the resulting binary.
32526 hardcode_minus_L=$hardcode_minus_L_GO
32528 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32529 # into the resulting binary.
32530 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
32532 # Set to "yes" if building a shared library automatically hardcodes DIR
32533 # into the library and all subsequent libraries and executables linked
32535 hardcode_automatic=$hardcode_automatic_GO
32537 # Set to yes if linker adds runtime paths of dependent libraries
32538 # to runtime path list.
32539 inherit_rpath=$inherit_rpath_GO
32541 # Whether libtool must link a program against all its dependency libraries.
32542 link_all_deplibs=$link_all_deplibs_GO
32544 # Set to "yes" if exported symbols are required.
32545 always_export_symbols=$always_export_symbols_GO
32547 # The commands to list exported symbols.
32548 export_symbols_cmds=$lt_export_symbols_cmds_GO
32550 # Symbols that should not be listed in the preloaded symbols.
32551 exclude_expsyms=$lt_exclude_expsyms_GO
32553 # Symbols that must always be exported.
32554 include_expsyms=$lt_include_expsyms_GO
32556 # Commands necessary for linking programs (against libraries) with templates.
32557 prelink_cmds=$lt_prelink_cmds_GO
32559 # Commands necessary for finishing linking programs.
32560 postlink_cmds=$lt_postlink_cmds_GO
32562 # Specify filename containing input files.
32563 file_list_spec=$lt_file_list_spec_GO
32565 # How to hardcode a shared library path into an executable.
32566 hardcode_action=$hardcode_action_GO
32568 # The directories searched by this compiler when creating a shared library.
32569 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GO
32571 # Dependencies to place before and after the objects being linked to
32572 # create a shared library.
32573 predep_objects=$lt_predep_objects_GO
32574 postdep_objects=$lt_postdep_objects_GO
32575 predeps=$lt_predeps_GO
32576 postdeps=$lt_postdeps_GO
32578 # The library search path used internally by the compiler when linking
32579 # a shared library.
32580 compiler_lib_search_path=$lt_compiler_lib_search_path_GO
32582 # ### END LIBTOOL TAG CONFIG: GO
32586 cat <<_LT_EOF >> "$ofile"
32588 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
32590 # The linker used to build libraries.
32593 # How to create reloadable object files.
32594 reload_flag=$lt_reload_flag_GCJ
32595 reload_cmds=$lt_reload_cmds_GCJ
32597 # Commands used to build an old-style archive.
32598 old_archive_cmds=$lt_old_archive_cmds_GCJ
32600 # A language specific compiler.
32601 CC=$lt_compiler_GCJ
32603 # Is the compiler the GNU compiler?
32606 # Compiler flag to turn off builtin functions.
32607 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
32609 # Additional compiler flags for building library objects.
32610 pic_flag=$lt_lt_prog_compiler_pic_GCJ
32612 # How to pass a linker flag through the compiler.
32613 wl=$lt_lt_prog_compiler_wl_GCJ
32615 # Compiler flag to prevent dynamic linking.
32616 link_static_flag=$lt_lt_prog_compiler_static_GCJ
32618 # Does compiler simultaneously support -c and -o options?
32619 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
32621 # Whether or not to add -lc for building shared libraries.
32622 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
32624 # Whether or not to disallow shared libs when runtime libs are static.
32625 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
32627 # Compiler flag to allow reflexive dlopens.
32628 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
32630 # Compiler flag to generate shared objects directly from archives.
32631 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
32633 # Whether the compiler copes with passing no objects directly.
32634 compiler_needs_object=$lt_compiler_needs_object_GCJ
32636 # Create an old-style archive from a shared archive.
32637 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
32639 # Create a temporary old-style archive to link instead of a shared archive.
32640 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
32642 # Commands used to build a shared archive.
32643 archive_cmds=$lt_archive_cmds_GCJ
32644 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
32646 # Commands used to build a loadable module if different from building
32647 # a shared archive.
32648 module_cmds=$lt_module_cmds_GCJ
32649 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
32651 # Whether we are building with GNU ld or not.
32652 with_gnu_ld=$lt_with_gnu_ld_GCJ
32654 # Flag that allows shared libraries with undefined symbols to be built.
32655 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
32657 # Flag that enforces no undefined symbols.
32658 no_undefined_flag=$lt_no_undefined_flag_GCJ
32660 # Flag to hardcode \$libdir into a binary during linking.
32661 # This must work even if \$libdir does not exist
32662 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
32664 # Whether we need a single "-rpath" flag with a separated argument.
32665 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
32667 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32668 # DIR into the resulting binary.
32669 hardcode_direct=$hardcode_direct_GCJ
32671 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32672 # DIR into the resulting binary and the resulting library dependency is
32673 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32674 # library is relocated.
32675 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
32677 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32678 # into the resulting binary.
32679 hardcode_minus_L=$hardcode_minus_L_GCJ
32681 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32682 # into the resulting binary.
32683 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
32685 # Set to "yes" if building a shared library automatically hardcodes DIR
32686 # into the library and all subsequent libraries and executables linked
32688 hardcode_automatic=$hardcode_automatic_GCJ
32690 # Set to yes if linker adds runtime paths of dependent libraries
32691 # to runtime path list.
32692 inherit_rpath=$inherit_rpath_GCJ
32694 # Whether libtool must link a program against all its dependency libraries.
32695 link_all_deplibs=$link_all_deplibs_GCJ
32697 # Set to "yes" if exported symbols are required.
32698 always_export_symbols=$always_export_symbols_GCJ
32700 # The commands to list exported symbols.
32701 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
32703 # Symbols that should not be listed in the preloaded symbols.
32704 exclude_expsyms=$lt_exclude_expsyms_GCJ
32706 # Symbols that must always be exported.
32707 include_expsyms=$lt_include_expsyms_GCJ
32709 # Commands necessary for linking programs (against libraries) with templates.
32710 prelink_cmds=$lt_prelink_cmds_GCJ
32712 # Commands necessary for finishing linking programs.
32713 postlink_cmds=$lt_postlink_cmds_GCJ
32715 # Specify filename containing input files.
32716 file_list_spec=$lt_file_list_spec_GCJ
32718 # How to hardcode a shared library path into an executable.
32719 hardcode_action=$hardcode_action_GCJ
32721 # The directories searched by this compiler when creating a shared library.
32722 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
32724 # Dependencies to place before and after the objects being linked to
32725 # create a shared library.
32726 predep_objects=$lt_predep_objects_GCJ
32727 postdep_objects=$lt_postdep_objects_GCJ
32728 predeps=$lt_predeps_GCJ
32729 postdeps=$lt_postdeps_GCJ
32731 # The library search path used internally by the compiler when linking
32732 # a shared library.
32733 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
32735 # ### END LIBTOOL TAG CONFIG: GCJ
32739 cat <<_LT_EOF >> "$ofile"
32741 # ### BEGIN LIBTOOL TAG CONFIG: RC
32743 # The linker used to build libraries.
32746 # How to create reloadable object files.
32747 reload_flag=$lt_reload_flag_RC
32748 reload_cmds=$lt_reload_cmds_RC
32750 # Commands used to build an old-style archive.
32751 old_archive_cmds=$lt_old_archive_cmds_RC
32753 # A language specific compiler.
32756 # Is the compiler the GNU compiler?
32759 # Compiler flag to turn off builtin functions.
32760 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
32762 # Additional compiler flags for building library objects.
32763 pic_flag=$lt_lt_prog_compiler_pic_RC
32765 # How to pass a linker flag through the compiler.
32766 wl=$lt_lt_prog_compiler_wl_RC
32768 # Compiler flag to prevent dynamic linking.
32769 link_static_flag=$lt_lt_prog_compiler_static_RC
32771 # Does compiler simultaneously support -c and -o options?
32772 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
32774 # Whether or not to add -lc for building shared libraries.
32775 build_libtool_need_lc=$archive_cmds_need_lc_RC
32777 # Whether or not to disallow shared libs when runtime libs are static.
32778 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
32780 # Compiler flag to allow reflexive dlopens.
32781 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
32783 # Compiler flag to generate shared objects directly from archives.
32784 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
32786 # Whether the compiler copes with passing no objects directly.
32787 compiler_needs_object=$lt_compiler_needs_object_RC
32789 # Create an old-style archive from a shared archive.
32790 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
32792 # Create a temporary old-style archive to link instead of a shared archive.
32793 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
32795 # Commands used to build a shared archive.
32796 archive_cmds=$lt_archive_cmds_RC
32797 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
32799 # Commands used to build a loadable module if different from building
32800 # a shared archive.
32801 module_cmds=$lt_module_cmds_RC
32802 module_expsym_cmds=$lt_module_expsym_cmds_RC
32804 # Whether we are building with GNU ld or not.
32805 with_gnu_ld=$lt_with_gnu_ld_RC
32807 # Flag that allows shared libraries with undefined symbols to be built.
32808 allow_undefined_flag=$lt_allow_undefined_flag_RC
32810 # Flag that enforces no undefined symbols.
32811 no_undefined_flag=$lt_no_undefined_flag_RC
32813 # Flag to hardcode \$libdir into a binary during linking.
32814 # This must work even if \$libdir does not exist
32815 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
32817 # Whether we need a single "-rpath" flag with a separated argument.
32818 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
32820 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32821 # DIR into the resulting binary.
32822 hardcode_direct=$hardcode_direct_RC
32824 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32825 # DIR into the resulting binary and the resulting library dependency is
32826 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32827 # library is relocated.
32828 hardcode_direct_absolute=$hardcode_direct_absolute_RC
32830 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32831 # into the resulting binary.
32832 hardcode_minus_L=$hardcode_minus_L_RC
32834 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32835 # into the resulting binary.
32836 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
32838 # Set to "yes" if building a shared library automatically hardcodes DIR
32839 # into the library and all subsequent libraries and executables linked
32841 hardcode_automatic=$hardcode_automatic_RC
32843 # Set to yes if linker adds runtime paths of dependent libraries
32844 # to runtime path list.
32845 inherit_rpath=$inherit_rpath_RC
32847 # Whether libtool must link a program against all its dependency libraries.
32848 link_all_deplibs=$link_all_deplibs_RC
32850 # Set to "yes" if exported symbols are required.
32851 always_export_symbols=$always_export_symbols_RC
32853 # The commands to list exported symbols.
32854 export_symbols_cmds=$lt_export_symbols_cmds_RC
32856 # Symbols that should not be listed in the preloaded symbols.
32857 exclude_expsyms=$lt_exclude_expsyms_RC
32859 # Symbols that must always be exported.
32860 include_expsyms=$lt_include_expsyms_RC
32862 # Commands necessary for linking programs (against libraries) with templates.
32863 prelink_cmds=$lt_prelink_cmds_RC
32865 # Commands necessary for finishing linking programs.
32866 postlink_cmds=$lt_postlink_cmds_RC
32868 # Specify filename containing input files.
32869 file_list_spec=$lt_file_list_spec_RC
32871 # How to hardcode a shared library path into an executable.
32872 hardcode_action=$hardcode_action_RC
32874 # The directories searched by this compiler when creating a shared library.
32875 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
32877 # Dependencies to place before and after the objects being linked to
32878 # create a shared library.
32879 predep_objects=$lt_predep_objects_RC
32880 postdep_objects=$lt_postdep_objects_RC
32881 predeps=$lt_predeps_RC
32882 postdeps=$lt_postdeps_RC
32884 # The library search path used internally by the compiler when linking
32885 # a shared library.
32886 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
32888 # ### END LIBTOOL TAG CONFIG: RC
32899 ac_clean_files=$ac_clean_files_save
32901 test $ac_write_fail = 0 ||
32902 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
32905 # configure is writing to config.log, and then calls config.status.
32906 # config.status does its own redirection, appending to config.log.
32907 # Unfortunately, on DOS this fails, as config.log is still kept open
32908 # by configure, so config.status won't be able to write to it; its
32909 # output is simply discarded. So we exec the FD to /dev/null,
32910 # effectively closing config.log, so it can be properly (re)opened and
32911 # appended to by config.status. When coming back to configure, we
32912 # need to make the FD available again.
32913 if test "$no_create" != yes; then
32915 ac_config_status_args=
32916 test "$silent" = yes &&
32917 ac_config_status_args="$ac_config_status_args --quiet"
32919 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
32921 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
32922 # would make configure fail if this is the last instruction.
32923 $ac_cs_success || as_fn_exit 1
32925 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
32926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
32927 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}