2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Libtool 2.4.7.
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.7'
598 PACKAGE_STRING='GNU Libtool 2.4.7'
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_LIBOBJDEPS
651 GL_CFLAG_GNULIB_WARNINGS
654 GL_CXXFLAG_ALLOW_WARNINGS
655 GL_CFLAG_ALLOW_WARNINGS
656 GL_COND_LIBTOOL_FALSE
680 CONVENIENCE_LTDL_FALSE
681 CONVENIENCE_LTDL_TRUE
686 sys_symbol_underscore
738 CONFIG_STATUS_DEPENDENCIES
759 INSTALL_STRIP_PROGRAM
811 program_transform_name
825 enable_option_checking
828 enable_dependency_tracking
839 ac_precious_vars='build_alias
860 # Initialize some variables set by options.
862 ac_init_version=false
863 ac_unrecognized_opts=
865 # The variables have the same names as the options, with
866 # dashes changed to underlines.
874 program_transform_name=s,x,x,
882 # Installation directory options.
883 # These are left unexpanded so users can "make install exec_prefix=/foo"
884 # and all the variables that are supposed to be based on exec_prefix
885 # by default will actually change.
886 # Use braces instead of parens because sh, perl, etc. also accept them.
887 # (The list follows the same order as the GNU Coding Standards.)
888 bindir='${exec_prefix}/bin'
889 sbindir='${exec_prefix}/sbin'
890 libexecdir='${exec_prefix}/libexec'
891 datarootdir='${prefix}/share'
892 datadir='${datarootdir}'
893 sysconfdir='${prefix}/etc'
894 sharedstatedir='${prefix}/com'
895 localstatedir='${prefix}/var'
896 runstatedir='${localstatedir}/run'
897 includedir='${prefix}/include'
898 oldincludedir='/usr/include'
899 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
900 infodir='${datarootdir}/info'
905 libdir='${exec_prefix}/lib'
906 localedir='${datarootdir}/locale'
907 mandir='${datarootdir}/man'
913 # If the previous option needs an argument, assign it.
914 if test -n "$ac_prev"; then
915 eval $ac_prev=\$ac_option
921 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
926 # Accept the important Cygnus configure options, so we can diagnose typos.
928 case $ac_dashdash$ac_option in
932 -bindir | --bindir | --bindi | --bind | --bin | --bi)
934 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
937 -build | --build | --buil | --bui | --bu)
938 ac_prev=build_alias ;;
939 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
940 build_alias=$ac_optarg ;;
942 -cache-file | --cache-file | --cache-fil | --cache-fi \
943 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
944 ac_prev=cache_file ;;
945 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
946 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
947 cache_file=$ac_optarg ;;
950 cache_file=config.cache ;;
952 -datadir | --datadir | --datadi | --datad)
954 -datadir=* | --datadir=* | --datadi=* | --datad=*)
955 datadir=$ac_optarg ;;
957 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
958 | --dataroo | --dataro | --datar)
959 ac_prev=datarootdir ;;
960 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
961 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
962 datarootdir=$ac_optarg ;;
964 -disable-* | --disable-*)
965 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
966 # Reject names that are not valid shell variable names.
967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968 as_fn_error $? "invalid feature name: $ac_useropt"
969 ac_useropt_orig=$ac_useropt
970 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971 case $ac_user_opts in
975 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
976 ac_unrecognized_sep=', ';;
978 eval enable_$ac_useropt=no ;;
980 -docdir | --docdir | --docdi | --doc | --do)
982 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
985 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
987 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
990 -enable-* | --enable-*)
991 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994 as_fn_error $? "invalid feature name: $ac_useropt"
995 ac_useropt_orig=$ac_useropt
996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
1001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1002 ac_unrecognized_sep=', ';;
1004 eval enable_$ac_useropt=\$ac_optarg ;;
1006 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1007 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1008 | --exec | --exe | --ex)
1009 ac_prev=exec_prefix ;;
1010 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1011 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1012 | --exec=* | --exe=* | --ex=*)
1013 exec_prefix=$ac_optarg ;;
1015 -gas | --gas | --ga | --g)
1016 # Obsolete; use --with-gas.
1019 -help | --help | --hel | --he | -h)
1020 ac_init_help=long ;;
1021 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1022 ac_init_help=recursive ;;
1023 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1024 ac_init_help=short ;;
1026 -host | --host | --hos | --ho)
1027 ac_prev=host_alias ;;
1028 -host=* | --host=* | --hos=* | --ho=*)
1029 host_alias=$ac_optarg ;;
1031 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1033 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1035 htmldir=$ac_optarg ;;
1037 -includedir | --includedir | --includedi | --included | --include \
1038 | --includ | --inclu | --incl | --inc)
1039 ac_prev=includedir ;;
1040 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1041 | --includ=* | --inclu=* | --incl=* | --inc=*)
1042 includedir=$ac_optarg ;;
1044 -infodir | --infodir | --infodi | --infod | --info | --inf)
1046 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1047 infodir=$ac_optarg ;;
1049 -libdir | --libdir | --libdi | --libd)
1051 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1052 libdir=$ac_optarg ;;
1054 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1055 | --libexe | --libex | --libe)
1056 ac_prev=libexecdir ;;
1057 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1058 | --libexe=* | --libex=* | --libe=*)
1059 libexecdir=$ac_optarg ;;
1061 -localedir | --localedir | --localedi | --localed | --locale)
1062 ac_prev=localedir ;;
1063 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1064 localedir=$ac_optarg ;;
1066 -localstatedir | --localstatedir | --localstatedi | --localstated \
1067 | --localstate | --localstat | --localsta | --localst | --locals)
1068 ac_prev=localstatedir ;;
1069 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1070 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1071 localstatedir=$ac_optarg ;;
1073 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1075 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1076 mandir=$ac_optarg ;;
1078 -nfp | --nfp | --nf)
1079 # Obsolete; use --without-fp.
1082 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1083 | --no-cr | --no-c | -n)
1086 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1087 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1090 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1091 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1092 | --oldin | --oldi | --old | --ol | --o)
1093 ac_prev=oldincludedir ;;
1094 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1095 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1096 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1097 oldincludedir=$ac_optarg ;;
1099 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1101 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1102 prefix=$ac_optarg ;;
1104 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1105 | --program-pre | --program-pr | --program-p)
1106 ac_prev=program_prefix ;;
1107 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1108 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1109 program_prefix=$ac_optarg ;;
1111 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1112 | --program-suf | --program-su | --program-s)
1113 ac_prev=program_suffix ;;
1114 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1115 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1116 program_suffix=$ac_optarg ;;
1118 -program-transform-name | --program-transform-name \
1119 | --program-transform-nam | --program-transform-na \
1120 | --program-transform-n | --program-transform- \
1121 | --program-transform | --program-transfor \
1122 | --program-transfo | --program-transf \
1123 | --program-trans | --program-tran \
1124 | --progr-tra | --program-tr | --program-t)
1125 ac_prev=program_transform_name ;;
1126 -program-transform-name=* | --program-transform-name=* \
1127 | --program-transform-nam=* | --program-transform-na=* \
1128 | --program-transform-n=* | --program-transform-=* \
1129 | --program-transform=* | --program-transfor=* \
1130 | --program-transfo=* | --program-transf=* \
1131 | --program-trans=* | --program-tran=* \
1132 | --progr-tra=* | --program-tr=* | --program-t=*)
1133 program_transform_name=$ac_optarg ;;
1135 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1137 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1138 pdfdir=$ac_optarg ;;
1140 -psdir | --psdir | --psdi | --psd | --ps)
1142 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1145 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1146 | -silent | --silent | --silen | --sile | --sil)
1149 -runstatedir | --runstatedir | --runstatedi | --runstated \
1150 | --runstate | --runstat | --runsta | --runst | --runs \
1151 | --run | --ru | --r)
1152 ac_prev=runstatedir ;;
1153 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1154 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1155 | --run=* | --ru=* | --r=*)
1156 runstatedir=$ac_optarg ;;
1158 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1160 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1162 sbindir=$ac_optarg ;;
1164 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1165 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1166 | --sharedst | --shareds | --shared | --share | --shar \
1168 ac_prev=sharedstatedir ;;
1169 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1170 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1171 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1173 sharedstatedir=$ac_optarg ;;
1175 -site | --site | --sit)
1177 -site=* | --site=* | --sit=*)
1180 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1182 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1183 srcdir=$ac_optarg ;;
1185 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1186 | --syscon | --sysco | --sysc | --sys | --sy)
1187 ac_prev=sysconfdir ;;
1188 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1189 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1190 sysconfdir=$ac_optarg ;;
1192 -target | --target | --targe | --targ | --tar | --ta | --t)
1193 ac_prev=target_alias ;;
1194 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1195 target_alias=$ac_optarg ;;
1197 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1200 -version | --version | --versio | --versi | --vers | -V)
1201 ac_init_version=: ;;
1204 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1205 # Reject names that are not valid shell variable names.
1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1207 as_fn_error $? "invalid package name: $ac_useropt"
1208 ac_useropt_orig=$ac_useropt
1209 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210 case $ac_user_opts in
1214 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1215 ac_unrecognized_sep=', ';;
1217 eval with_$ac_useropt=\$ac_optarg ;;
1219 -without-* | --without-*)
1220 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1223 as_fn_error $? "invalid package name: $ac_useropt"
1224 ac_useropt_orig=$ac_useropt
1225 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1230 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1231 ac_unrecognized_sep=', ';;
1233 eval with_$ac_useropt=no ;;
1236 # Obsolete; use --with-x.
1239 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1240 | --x-incl | --x-inc | --x-in | --x-i)
1241 ac_prev=x_includes ;;
1242 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1243 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1244 x_includes=$ac_optarg ;;
1246 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1247 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1248 ac_prev=x_libraries ;;
1249 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1250 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1251 x_libraries=$ac_optarg ;;
1253 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1254 Try \`$0 --help' for more information"
1258 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1259 # Reject names that are not valid shell variable names.
1260 case $ac_envvar in #(
1261 '' | [0-9]* | *[!_$as_cr_alnum]* )
1262 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1264 eval $ac_envvar=\$ac_optarg
1265 export $ac_envvar ;;
1268 # FIXME: should be removed in autoconf 3.0.
1269 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1270 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1271 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1272 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1278 if test -n "$ac_prev"; then
1279 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1280 as_fn_error $? "missing argument to $ac_option"
1283 if test -n "$ac_unrecognized_opts"; then
1284 case $enable_option_checking in
1286 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1287 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1291 # Check all directory arguments for consistency.
1292 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1293 datadir sysconfdir sharedstatedir localstatedir includedir \
1294 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1295 libdir localedir mandir runstatedir
1297 eval ac_val=\$$ac_var
1298 # Remove trailing slashes.
1301 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1302 eval $ac_var=\$ac_val;;
1304 # Be sure to have absolute directory names.
1306 [\\/$]* | ?:[\\/]* ) continue;;
1307 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1309 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1312 # There might be people who depend on the old broken behavior: `$host'
1313 # used to hold the argument of --host etc.
1314 # FIXME: To remove some day.
1317 target=$target_alias
1319 # FIXME: To remove some day.
1320 if test "x$host_alias" != x; then
1321 if test "x$build_alias" = x; then
1322 cross_compiling=maybe
1323 elif test "x$build_alias" != "x$host_alias"; then
1329 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1331 test "$silent" = yes && exec 6>/dev/null
1334 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1335 ac_ls_di=`ls -di .` &&
1336 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1337 as_fn_error $? "working directory cannot be determined"
1338 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1339 as_fn_error $? "pwd does not report name of working directory"
1342 # Find the source files, if location was not specified.
1343 if test -z "$srcdir"; then
1344 ac_srcdir_defaulted=yes
1345 # Try the directory containing this script, then the parent directory.
1346 ac_confdir=`$as_dirname -- "$as_myself" ||
1347 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1348 X"$as_myself" : 'X\(//\)[^/]' \| \
1349 X"$as_myself" : 'X\(//\)$' \| \
1350 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1351 $as_echo X"$as_myself" |
1352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1374 ac_srcdir_defaulted=no
1376 if test ! -r "$srcdir/$ac_unique_file"; then
1377 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1378 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1380 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1382 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1384 # When building in place, set srcdir=.
1385 if test "$ac_abs_confdir" = "$ac_pwd"; then
1388 # Remove unnecessary trailing slashes from srcdir.
1389 # Double slashes in file names in object file debugging info
1390 # mess up M-x gdb in Emacs.
1392 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1394 for ac_var in $ac_precious_vars; do
1395 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1396 eval ac_env_${ac_var}_value=\$${ac_var}
1397 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1398 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1402 # Report the --help message.
1404 if test "$ac_init_help" = "long"; then
1405 # Omit some internal or obsolete options to make the list less imposing.
1406 # This message is too long to be a string in the A/UX 3.1 sh.
1408 \`configure' configures GNU Libtool 2.4.7 to adapt to many kinds of systems.
1410 Usage: $0 [OPTION]... [VAR=VALUE]...
1412 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1413 VAR=VALUE. See below for descriptions of some of the useful variables.
1415 Defaults for the options are specified in brackets.
1418 -h, --help display this help and exit
1419 --help=short display options specific to this package
1420 --help=recursive display the short help of all the included packages
1421 -V, --version display version information and exit
1422 -q, --quiet, --silent do not print \`checking ...' messages
1423 --cache-file=FILE cache test results in FILE [disabled]
1424 -C, --config-cache alias for \`--cache-file=config.cache'
1425 -n, --no-create do not create output files
1426 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1428 Installation directories:
1429 --prefix=PREFIX install architecture-independent files in PREFIX
1430 [$ac_default_prefix]
1431 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1434 By default, \`make install' will install all the files in
1435 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1436 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1437 for instance \`--prefix=\$HOME'.
1439 For better control, use the options below.
1441 Fine tuning of the installation directories:
1442 --bindir=DIR user executables [EPREFIX/bin]
1443 --sbindir=DIR system admin executables [EPREFIX/sbin]
1444 --libexecdir=DIR program executables [EPREFIX/libexec]
1445 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1446 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1447 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1448 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1449 --libdir=DIR object code libraries [EPREFIX/lib]
1450 --includedir=DIR C header files [PREFIX/include]
1451 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1452 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1453 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1454 --infodir=DIR info documentation [DATAROOTDIR/info]
1455 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1456 --mandir=DIR man documentation [DATAROOTDIR/man]
1457 --docdir=DIR documentation root [DATAROOTDIR/doc/libtool]
1458 --htmldir=DIR html documentation [DOCDIR]
1459 --dvidir=DIR dvi documentation [DOCDIR]
1460 --pdfdir=DIR pdf documentation [DOCDIR]
1461 --psdir=DIR ps documentation [DOCDIR]
1467 --program-prefix=PREFIX prepend PREFIX to installed program names
1468 --program-suffix=SUFFIX append SUFFIX to installed program names
1469 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1472 --build=BUILD configure for building on BUILD [guessed]
1473 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1477 if test -n "$ac_init_help"; then
1478 case $ac_init_help in
1479 short | recursive ) echo "Configuration of GNU Libtool 2.4.7:";;
1484 --disable-option-checking ignore unrecognized --enable/--with options
1485 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1486 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1487 --enable-silent-rules less verbose build output (undo: "make V=1")
1488 --disable-silent-rules verbose build output (undo: "make V=0")
1489 --disable-ltdl-install do not install libltdl
1490 --enable-dependency-tracking
1491 do not reject slow dependency extractors
1492 --disable-dependency-tracking
1493 speeds up one-time build
1494 --enable-shared[=PKGS] build shared libraries [default=yes]
1495 --enable-static[=PKGS] build static libraries [default=yes]
1496 --enable-fast-install[=PKGS]
1497 optimize for fast installation [default=yes]
1498 --disable-libtool-lock avoid locking (might break parallel builds)
1499 --enable-ltdl-install install libltdl
1500 --enable-cross-guesses={conservative|risky}
1501 specify policy for cross-compilation guesses
1504 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1505 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1506 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1508 --with-aix-soname=aix|svr4|both
1509 shared library versioning (aka "SONAME") variant to
1510 provide on AIX, [default=aix].
1511 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1512 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1513 compiler's sysroot if not specified).
1515 Some influential environment variables:
1516 M4 Location of GNU M4 1.4.6 or later. Defaults to the first program
1517 of 'm4', 'gm4', or 'gnum4' on PATH that meets Autoconf needs.
1518 CC C compiler command
1519 CFLAGS C compiler flags
1520 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1521 nonstandard directory <lib dir>
1522 LIBS libraries to pass to the linker, e.g. -l<library>
1523 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1524 you have headers in a nonstandard directory <include dir>
1527 User-defined run-time library search path.
1528 CXX C++ compiler command
1529 CXXFLAGS C++ compiler flags
1530 CXXCPP C++ preprocessor
1531 F77 Fortran 77 compiler command
1532 FFLAGS Fortran 77 compiler flags
1533 FC Fortran compiler command
1534 FCFLAGS Fortran compiler flags
1536 Use these variables to override the choices made by `configure' or to help
1537 it to find libraries and programs with nonstandard names/locations.
1539 Report bugs to <bug-libtool@gnu.org>.
1540 GNU Libtool home page: <http://www.gnu.org/software/libtool/>.
1541 General help using GNU software: <http://www.gnu.org/gethelp/>.
1546 if test "$ac_init_help" = "recursive"; then
1547 # If there are subdirs, report their specific --help.
1548 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1549 test -d "$ac_dir" ||
1550 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1555 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1558 # A ".." for each directory in $ac_dir_suffix.
1559 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1560 case $ac_top_builddir_sub in
1561 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1565 ac_abs_top_builddir=$ac_pwd
1566 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1567 # for backward compatibility:
1568 ac_top_builddir=$ac_top_build_prefix
1571 .) # We are building in place.
1573 ac_top_srcdir=$ac_top_builddir_sub
1574 ac_abs_top_srcdir=$ac_pwd ;;
1575 [\\/]* | ?:[\\/]* ) # Absolute name.
1576 ac_srcdir=$srcdir$ac_dir_suffix;
1577 ac_top_srcdir=$srcdir
1578 ac_abs_top_srcdir=$srcdir ;;
1580 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1581 ac_top_srcdir=$ac_top_build_prefix$srcdir
1582 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1584 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1586 cd "$ac_dir" || { ac_status=$?; continue; }
1587 # Check for guested configure.
1588 if test -f "$ac_srcdir/configure.gnu"; then
1590 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1591 elif test -f "$ac_srcdir/configure"; then
1593 $SHELL "$ac_srcdir/configure" --help=recursive
1595 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1597 cd "$ac_pwd" || { ac_status=$?; break; }
1601 test -n "$ac_init_help" && exit $ac_status
1602 if $ac_init_version; then
1604 GNU Libtool configure 2.4.7
1605 generated by GNU Autoconf 2.69
1607 Copyright (C) 2012 Free Software Foundation, Inc.
1608 This configure script is free software; the Free Software Foundation
1609 gives unlimited permission to copy, distribute and modify it.
1614 ## ------------------------ ##
1615 ## Autoconf initialization. ##
1616 ## ------------------------ ##
1618 # ac_fn_c_try_compile LINENO
1619 # --------------------------
1620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1621 ac_fn_c_try_compile ()
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 rm -f conftest.$ac_objext
1625 if { { ac_try="$ac_compile"
1627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_compile") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && {
1641 test -z "$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1643 } && test -s conftest.$ac_objext; then :
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1654 } # ac_fn_c_try_compile
1656 # ac_fn_c_try_cpp LINENO
1657 # ----------------------
1658 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 if { { ac_try="$ac_cpp conftest.$ac_ext"
1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1671 if test -s conftest.err; then
1672 grep -v '^ *+' conftest.err >conftest.er1
1673 cat conftest.er1 >&5
1674 mv -f conftest.er1 conftest.err
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } > conftest.i && {
1678 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1679 test ! -s conftest.err
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.$ac_ext >&5
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status $ac_retval
1693 # ac_fn_c_try_link LINENO
1694 # -----------------------
1695 # Try to link conftest.$ac_ext, and return whether this succeeded.
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 rm -f conftest.$ac_objext conftest$ac_exeext
1700 if { { ac_try="$ac_link"
1702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_link") 2>conftest.err
1709 if test -s conftest.err; then
1710 grep -v '^ *+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_c_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest$ac_exeext && {
1719 test "$cross_compiling" = yes ||
1720 test -x conftest$ac_exeext
1724 $as_echo "$as_me: failed program was:" >&5
1725 sed 's/^/| /' conftest.$ac_ext >&5
1729 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1730 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1731 # interfere with the next link command; also delete a directory that is
1732 # left behind by Apple's compiler. We do this before executing the actions.
1733 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 as_fn_set_status $ac_retval
1737 } # ac_fn_c_try_link
1739 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1740 # -------------------------------------------------------
1741 # Tests whether HEADER exists and can be compiled using the include files in
1742 # INCLUDES, setting the cache variable VAR accordingly.
1743 ac_fn_c_check_header_compile ()
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval \${$3+:} false; then :
1749 $as_echo_n "(cached) " >&6
1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752 /* end confdefs.h. */
1756 if ac_fn_c_try_compile "$LINENO"; then :
1761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765 $as_echo "$ac_res" >&6; }
1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768 } # ac_fn_c_check_header_compile
1770 # ac_fn_c_try_run LINENO
1771 # ----------------------
1772 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1773 # that executables *can* be run.
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 if { { ac_try="$ac_link"
1779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1780 *) ac_try_echo=$ac_try;;
1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783 $as_echo "$ac_try_echo"; } >&5
1784 (eval "$ac_link") 2>&5
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1788 { { case "(($ac_try" in
1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_try") 2>&5
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; }; }; then :
1800 $as_echo "$as_me: program exited with status $ac_status" >&5
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1804 ac_retval=$ac_status
1806 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808 as_fn_set_status $ac_retval
1812 # ac_fn_c_check_func LINENO FUNC VAR
1813 # ----------------------------------
1814 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1815 ac_fn_c_check_func ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819 $as_echo_n "checking for $2... " >&6; }
1820 if eval \${$3+:} false; then :
1821 $as_echo_n "(cached) " >&6
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1825 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1827 #define $2 innocuous_$2
1829 /* System header to define __stub macros and hopefully few prototypes,
1830 which can conflict with char $2 (); below.
1831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1832 <limits.h> exists even on freestanding compilers. */
1835 # include <limits.h>
1837 # include <assert.h>
1842 /* Override any GCC internal prototype to avoid an error.
1843 Use char because int might match the return type of a GCC
1844 builtin and then its argument prototype would still apply. */
1849 /* The GNU C library defines this for functions which it implements
1850 to always fail with ENOSYS. Some functions are actually named
1851 something starting with __ and the normal name is an alias. */
1852 #if defined __stub_$2 || defined __stub___$2
1864 if ac_fn_c_try_link "$LINENO"; then :
1869 rm -f core conftest.err conftest.$ac_objext \
1870 conftest$ac_exeext conftest.$ac_ext
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874 $as_echo "$ac_res" >&6; }
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 } # ac_fn_c_check_func
1879 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1880 # ---------------------------------------------
1881 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1883 ac_fn_c_check_decl ()
1885 ac_save_ac_compile="$ac_compile"
1886 if test -n "$ac_compile_for_check_decl"; then
1887 ac_compile="$ac_compile_for_check_decl"
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 as_decl_name=`echo $2|sed 's/ *(.*//'`
1891 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1893 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1894 if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1903 #ifndef $as_decl_name
1905 (void) $as_decl_use;
1907 (void) $as_decl_name;
1915 if ac_fn_c_try_compile "$LINENO"; then :
1920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924 $as_echo "$ac_res" >&6; }
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 ac_compile="$ac_save_ac_compile"
1928 } # ac_fn_c_check_decl
1930 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1931 # -------------------------------------------
1932 # Tests whether TYPE exists after having included INCLUDES, setting cache
1933 # variable VAR accordingly.
1934 ac_fn_c_check_type ()
1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1938 $as_echo_n "checking for $2... " >&6; }
1939 if eval \${$3+:} false; then :
1940 $as_echo_n "(cached) " >&6
1943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1955 if ac_fn_c_try_compile "$LINENO"; then :
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1968 if ac_fn_c_try_compile "$LINENO"; then :
1973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982 } # ac_fn_c_check_type
1984 # ac_fn_cxx_try_compile LINENO
1985 # ----------------------------
1986 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1987 ac_fn_cxx_try_compile ()
1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990 rm -f conftest.$ac_objext
1991 if { { ac_try="$ac_compile"
1993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1994 *) ac_try_echo=$ac_try;;
1996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_compile") 2>conftest.err
2000 if test -s conftest.err; then
2001 grep -v '^ *+' conftest.err >conftest.er1
2002 cat conftest.er1 >&5
2003 mv -f conftest.er1 conftest.err
2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2006 test $ac_status = 0; } && {
2007 test -z "$ac_cxx_werror_flag" ||
2008 test ! -s conftest.err
2009 } && test -s conftest.$ac_objext; then :
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.$ac_ext >&5
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 as_fn_set_status $ac_retval
2020 } # ac_fn_cxx_try_compile
2022 # ac_fn_cxx_try_cpp LINENO
2023 # ------------------------
2024 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2025 ac_fn_cxx_try_cpp ()
2027 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2028 if { { ac_try="$ac_cpp conftest.$ac_ext"
2030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2031 *) ac_try_echo=$ac_try;;
2033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2034 $as_echo "$ac_try_echo"; } >&5
2035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2037 if test -s conftest.err; then
2038 grep -v '^ *+' conftest.err >conftest.er1
2039 cat conftest.er1 >&5
2040 mv -f conftest.er1 conftest.err
2042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2043 test $ac_status = 0; } > conftest.i && {
2044 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2045 test ! -s conftest.err
2049 $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.$ac_ext >&5
2054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2055 as_fn_set_status $ac_retval
2057 } # ac_fn_cxx_try_cpp
2059 # ac_fn_cxx_try_link LINENO
2060 # -------------------------
2061 # Try to link conftest.$ac_ext, and return whether this succeeded.
2062 ac_fn_cxx_try_link ()
2064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2065 rm -f conftest.$ac_objext conftest$ac_exeext
2066 if { { ac_try="$ac_link"
2068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2069 *) ac_try_echo=$ac_try;;
2071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2072 $as_echo "$ac_try_echo"; } >&5
2073 (eval "$ac_link") 2>conftest.err
2075 if test -s conftest.err; then
2076 grep -v '^ *+' conftest.err >conftest.er1
2077 cat conftest.er1 >&5
2078 mv -f conftest.er1 conftest.err
2080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2081 test $ac_status = 0; } && {
2082 test -z "$ac_cxx_werror_flag" ||
2083 test ! -s conftest.err
2084 } && test -s conftest$ac_exeext && {
2085 test "$cross_compiling" = yes ||
2086 test -x conftest$ac_exeext
2090 $as_echo "$as_me: failed program was:" >&5
2091 sed 's/^/| /' conftest.$ac_ext >&5
2095 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2096 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2097 # interfere with the next link command; also delete a directory that is
2098 # left behind by Apple's compiler. We do this before executing the actions.
2099 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101 as_fn_set_status $ac_retval
2103 } # ac_fn_cxx_try_link
2105 # ac_fn_f77_try_compile LINENO
2106 # ----------------------------
2107 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2108 ac_fn_f77_try_compile ()
2110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111 rm -f conftest.$ac_objext
2112 if { { ac_try="$ac_compile"
2114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2115 *) ac_try_echo=$ac_try;;
2117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2118 $as_echo "$ac_try_echo"; } >&5
2119 (eval "$ac_compile") 2>conftest.err
2121 if test -s conftest.err; then
2122 grep -v '^ *+' conftest.err >conftest.er1
2123 cat conftest.er1 >&5
2124 mv -f conftest.er1 conftest.err
2126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2127 test $ac_status = 0; } && {
2128 test -z "$ac_f77_werror_flag" ||
2129 test ! -s conftest.err
2130 } && test -s conftest.$ac_objext; then :
2133 $as_echo "$as_me: failed program was:" >&5
2134 sed 's/^/| /' conftest.$ac_ext >&5
2138 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2139 as_fn_set_status $ac_retval
2141 } # ac_fn_f77_try_compile
2143 # ac_fn_f77_try_link LINENO
2144 # -------------------------
2145 # Try to link conftest.$ac_ext, and return whether this succeeded.
2146 ac_fn_f77_try_link ()
2148 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2149 rm -f conftest.$ac_objext conftest$ac_exeext
2150 if { { ac_try="$ac_link"
2152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2153 *) ac_try_echo=$ac_try;;
2155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2156 $as_echo "$ac_try_echo"; } >&5
2157 (eval "$ac_link") 2>conftest.err
2159 if test -s conftest.err; then
2160 grep -v '^ *+' conftest.err >conftest.er1
2161 cat conftest.er1 >&5
2162 mv -f conftest.er1 conftest.err
2164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2165 test $ac_status = 0; } && {
2166 test -z "$ac_f77_werror_flag" ||
2167 test ! -s conftest.err
2168 } && test -s conftest$ac_exeext && {
2169 test "$cross_compiling" = yes ||
2170 test -x conftest$ac_exeext
2174 $as_echo "$as_me: failed program was:" >&5
2175 sed 's/^/| /' conftest.$ac_ext >&5
2179 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2180 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2181 # interfere with the next link command; also delete a directory that is
2182 # left behind by Apple's compiler. We do this before executing the actions.
2183 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2185 as_fn_set_status $ac_retval
2187 } # ac_fn_f77_try_link
2189 # ac_fn_fc_try_compile LINENO
2190 # ---------------------------
2191 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2192 ac_fn_fc_try_compile ()
2194 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2195 rm -f conftest.$ac_objext
2196 if { { ac_try="$ac_compile"
2198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2199 *) ac_try_echo=$ac_try;;
2201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2202 $as_echo "$ac_try_echo"; } >&5
2203 (eval "$ac_compile") 2>conftest.err
2205 if test -s conftest.err; then
2206 grep -v '^ *+' conftest.err >conftest.er1
2207 cat conftest.er1 >&5
2208 mv -f conftest.er1 conftest.err
2210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2211 test $ac_status = 0; } && {
2212 test -z "$ac_fc_werror_flag" ||
2213 test ! -s conftest.err
2214 } && test -s conftest.$ac_objext; then :
2217 $as_echo "$as_me: failed program was:" >&5
2218 sed 's/^/| /' conftest.$ac_ext >&5
2222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2223 as_fn_set_status $ac_retval
2225 } # ac_fn_fc_try_compile
2227 # ac_fn_fc_try_link LINENO
2228 # ------------------------
2229 # Try to link conftest.$ac_ext, and return whether this succeeded.
2230 ac_fn_fc_try_link ()
2232 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2233 rm -f conftest.$ac_objext conftest$ac_exeext
2234 if { { ac_try="$ac_link"
2236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2237 *) ac_try_echo=$ac_try;;
2239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2240 $as_echo "$ac_try_echo"; } >&5
2241 (eval "$ac_link") 2>conftest.err
2243 if test -s conftest.err; then
2244 grep -v '^ *+' conftest.err >conftest.er1
2245 cat conftest.er1 >&5
2246 mv -f conftest.er1 conftest.err
2248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2249 test $ac_status = 0; } && {
2250 test -z "$ac_fc_werror_flag" ||
2251 test ! -s conftest.err
2252 } && test -s conftest$ac_exeext && {
2253 test "$cross_compiling" = yes ||
2254 test -x conftest$ac_exeext
2258 $as_echo "$as_me: failed program was:" >&5
2259 sed 's/^/| /' conftest.$ac_ext >&5
2263 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2264 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2265 # interfere with the next link command; also delete a directory that is
2266 # left behind by Apple's compiler. We do this before executing the actions.
2267 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2268 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2269 as_fn_set_status $ac_retval
2271 } # ac_fn_fc_try_link
2272 cat >config.log <<_ACEOF
2273 This file contains any messages produced by compilers while
2274 running configure, to aid debugging if configure makes a mistake.
2276 It was created by GNU Libtool $as_me 2.4.7, which was
2277 generated by GNU Autoconf 2.69. Invocation command line was
2289 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2290 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2291 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2292 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2293 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2295 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2296 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2298 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2299 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2300 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2301 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2302 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2303 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2304 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir=.
2313 $as_echo "PATH: $as_dir"
2329 # Keep a trace of the command line.
2330 # Strip out --no-create and --no-recursion so they do not pile up.
2331 # Strip out --silent because we don't want to record it for future runs.
2332 # Also quote any args containing shell meta-characters.
2333 # Make two passes to allow for proper duplicate-argument suppression.
2337 ac_must_keep_next=false
2343 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2344 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2345 | -silent | --silent | --silen | --sile | --sil)
2348 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2351 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2353 as_fn_append ac_configure_args1 " '$ac_arg'"
2354 if test $ac_must_keep_next = true; then
2355 ac_must_keep_next=false # Got value, back to normal.
2358 *=* | --config-cache | -C | -disable-* | --disable-* \
2359 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2360 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2361 | -with-* | --with-* | -without-* | --without-* | --x)
2362 case "$ac_configure_args0 " in
2363 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2366 -* ) ac_must_keep_next=true ;;
2369 as_fn_append ac_configure_args " '$ac_arg'"
2374 { ac_configure_args0=; unset ac_configure_args0;}
2375 { ac_configure_args1=; unset ac_configure_args1;}
2377 # When interrupted or exit'd, cleanup temporary files, and complete
2378 # config.log. We remove comments because anyway the quotes in there
2379 # would cause problems or look ugly.
2380 # WARNING: Use '\'' to represent an apostrophe within the trap.
2381 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2382 trap 'exit_status=$?
2383 # Save into config.log some information that might help in debugging.
2387 $as_echo "## ---------------- ##
2388 ## Cache variables. ##
2389 ## ---------------- ##"
2391 # The following way of writing the cache mishandles newlines in values,
2393 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2394 eval ac_val=\$$ac_var
2398 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2399 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2402 _ | IFS | as_nl) ;; #(
2403 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2404 *) { eval $ac_var=; unset $ac_var;} ;;
2409 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2410 *${as_nl}ac_space=\ *)
2412 "s/'\''/'\''\\\\'\'''\''/g;
2413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2416 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2423 $as_echo "## ----------------- ##
2424 ## Output variables. ##
2425 ## ----------------- ##"
2427 for ac_var in $ac_subst_vars
2429 eval ac_val=\$$ac_var
2431 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2433 $as_echo "$ac_var='\''$ac_val'\''"
2437 if test -n "$ac_subst_files"; then
2438 $as_echo "## ------------------- ##
2439 ## File substitutions. ##
2440 ## ------------------- ##"
2442 for ac_var in $ac_subst_files
2444 eval ac_val=\$$ac_var
2446 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2448 $as_echo "$ac_var='\''$ac_val'\''"
2453 if test -s confdefs.h; then
2454 $as_echo "## ----------- ##
2461 test "$ac_signal" != 0 &&
2462 $as_echo "$as_me: caught signal $ac_signal"
2463 $as_echo "$as_me: exit $exit_status"
2465 rm -f core *.core core.conftest.* &&
2466 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2469 for ac_signal in 1 2 13 15; do
2470 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2474 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2475 rm -f -r conftest* confdefs.h
2477 $as_echo "/* confdefs.h */" > confdefs.h
2479 # Predefined preprocessor variables.
2481 cat >>confdefs.h <<_ACEOF
2482 #define PACKAGE_NAME "$PACKAGE_NAME"
2485 cat >>confdefs.h <<_ACEOF
2486 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2493 cat >>confdefs.h <<_ACEOF
2494 #define PACKAGE_STRING "$PACKAGE_STRING"
2497 cat >>confdefs.h <<_ACEOF
2498 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2501 cat >>confdefs.h <<_ACEOF
2502 #define PACKAGE_URL "$PACKAGE_URL"
2506 # Let the site file select an alternate cache file if it wants to.
2507 # Prefer an explicitly selected file to automatically selected ones.
2510 if test -n "$CONFIG_SITE"; then
2511 # We do not want a PATH search for config.site.
2512 case $CONFIG_SITE in #((
2513 -*) ac_site_file1=./$CONFIG_SITE;;
2514 */*) ac_site_file1=$CONFIG_SITE;;
2515 *) ac_site_file1=./$CONFIG_SITE;;
2517 elif test "x$prefix" != xNONE; then
2518 ac_site_file1=$prefix/share/config.site
2519 ac_site_file2=$prefix/etc/config.site
2521 ac_site_file1=$ac_default_prefix/share/config.site
2522 ac_site_file2=$ac_default_prefix/etc/config.site
2524 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2526 test "x$ac_site_file" = xNONE && continue
2527 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2529 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2530 sed 's/^/| /' "$ac_site_file" >&5
2532 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2534 as_fn_error $? "failed to load site script $ac_site_file
2535 See \`config.log' for more details" "$LINENO" 5; }
2539 if test -r "$cache_file"; then
2540 # Some versions of bash will fail to source /dev/null (special files
2541 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2542 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2544 $as_echo "$as_me: loading cache $cache_file" >&6;}
2546 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2547 *) . "./$cache_file";;
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2552 $as_echo "$as_me: creating cache $cache_file" >&6;}
2556 # Check that the precious variables saved in the cache have kept the same
2558 ac_cache_corrupted=false
2559 for ac_var in $ac_precious_vars; do
2560 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2561 eval ac_new_set=\$ac_env_${ac_var}_set
2562 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2563 eval ac_new_val=\$ac_env_${ac_var}_value
2564 case $ac_old_set,$ac_new_set in
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2567 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2568 ac_cache_corrupted=: ;;
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2571 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2572 ac_cache_corrupted=: ;;
2575 if test "x$ac_old_val" != "x$ac_new_val"; then
2576 # differences in whitespace do not lead to failure.
2577 ac_old_val_w=`echo x $ac_old_val`
2578 ac_new_val_w=`echo x $ac_new_val`
2579 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2581 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2582 ac_cache_corrupted=:
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2585 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2586 eval $ac_var=\$ac_old_val
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2589 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2591 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2594 # Pass precious variables to config.status.
2595 if test "$ac_new_set" = set; then
2597 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2598 *) ac_arg=$ac_var=$ac_new_val ;;
2600 case " $ac_configure_args " in
2601 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2602 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2606 if $ac_cache_corrupted; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2610 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2611 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2613 ## -------------------- ##
2614 ## Main body of script. ##
2615 ## -------------------- ##
2618 ac_cpp='$CPP $CPPFLAGS'
2619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2626 # Remove this when a released Autoconf is capable of bootstrapping
2627 # Libtool without it (probably after autoconf-2.70).
2630 # Since we already declare these directories in this file, save those
2631 # choices, and push the results into Makefile.am to avoid declaring
2632 # them in two places making renames error prone, and where copies
2633 # might get out of sync.
2638 ac_config_headers="$ac_config_headers config.h:config-h.in"
2650 for ac_dir in build-aux "$srcdir"/build-aux; do
2651 if test -f "$ac_dir/install-sh"; then
2653 ac_install_sh="$ac_aux_dir/install-sh -c"
2655 elif test -f "$ac_dir/install.sh"; then
2657 ac_install_sh="$ac_aux_dir/install.sh -c"
2659 elif test -f "$ac_dir/shtool"; then
2661 ac_install_sh="$ac_aux_dir/shtool install -c"
2665 if test -z "$ac_aux_dir"; then
2666 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2669 # These three variables are undocumented and unsupported,
2670 # and are intended to be withdrawn in a future Autoconf release.
2671 # They can cause serious problems if a builder's source tree is in a directory
2672 # whose full name contains unusual characters.
2673 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2674 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2675 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2683 package_revision=`$SHELL $ac_aux_dir/git-version-gen .tarball-version`
2686 ## ------------------------ ##
2687 ## Autotest initialisation. ##
2688 ## ------------------------ ##
2690 ac_config_commands="$ac_config_commands tests/atconfig"
2692 AUTOM4TE=${AUTOM4TE=autom4te}
2694 AUTOTEST='$(AUTOM4TE) --language=autotest'
2698 ## ---------------------------------------- ##
2699 ## Display a configure time version banner. ##
2700 ## ---------------------------------------- ##
2702 # This is a sanity check so we can see what version is used in bug reports.
2703 $as_echo "## ------------------------- ##
2704 ## Configuring libtool 2.4.7 ##
2705 ## ------------------------- ##"
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU M4 that supports accurate traces" >&5
2715 $as_echo_n "checking for GNU M4 that supports accurate traces... " >&6; }
2716 if ${ac_cv_path_M4+:} false; then :
2717 $as_echo_n "(cached) " >&6
2720 ac_had_posixly_correct=${POSIXLY_CORRECT:+yes}
2721 { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}
2722 if test -z "$M4"; then
2723 ac_path_M4_found=false
2724 # Loop through the user's path and test for each of PROGNAME-LIST
2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir=.
2730 for ac_prog in m4 gm4 gnum4; do
2731 for ac_exec_ext in '' $ac_executable_extensions; do
2732 ac_path_M4="$as_dir/$ac_prog$ac_exec_ext"
2733 as_fn_executable_p "$ac_path_M4" || continue
2734 # Root out GNU M4 1.4.5, as well as non-GNU m4 that ignore -t, -F.
2735 # Root out GNU M4 1.4.15 with buggy false negative replacement strstr.
2736 # Root out Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 with buggy
2737 # false positive strstr.
2738 ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)'
2739 ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl
2740 ac_snippet=$ac_snippet${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)'
2741 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)'
2742 test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
2743 && test -z "`$as_echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
2744 && test -f conftest.m4f \
2745 && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
2747 $ac_path_M4_found && break 3
2752 if test -z "$ac_cv_path_M4"; then
2753 as_fn_error $? "no acceptable m4 could be found in \$PATH.
2754 GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.
2755 GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
2756 Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug." "$LINENO" 5
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_M4" >&5
2764 $as_echo "$ac_cv_path_M4" >&6; }
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ac_cv_path_M4 accepts --gnu" >&5
2767 $as_echo_n "checking whether $ac_cv_path_M4 accepts --gnu... " >&6; }
2768 if ${ac_cv_prog_gnu_m4_gnu+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 case `$M4 --help < /dev/null 2>&1` in
2772 *--gnu*) ac_cv_prog_gnu_m4_gnu=yes ;;
2773 *) ac_cv_prog_gnu_m4_gnu=no ;;
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_gnu" >&5
2777 $as_echo "$ac_cv_prog_gnu_m4_gnu" >&6; }
2778 if test yes = "$ac_cv_prog_gnu_m4_gnu"; then
2784 if test yes = "$ac_had_posixly_correct"; then
2786 if test no = $ac_cv_prog_gnu_m4_gnu; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the version of M4 that was found does not support -g" >&5
2788 $as_echo "$as_me: WARNING: the version of M4 that was found does not support -g" >&2;}
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&5
2790 $as_echo "$as_me: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&2;}
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how m4 supports trace files" >&5
2794 $as_echo_n "checking how m4 supports trace files... " >&6; }
2795 if ${ac_cv_prog_gnu_m4_debugfile+:} false; then :
2796 $as_echo_n "(cached) " >&6
2798 case `$M4 --help < /dev/null 2>&1` in
2799 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2800 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2804 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2805 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2810 ## ------------------------ ##
2811 ## Automake Initialisation. ##
2812 ## ------------------------ ##
2814 am__api_version='1.16'
2816 # Find a good install program. We prefer a C program (faster),
2817 # so one script is as good as another. But avoid the broken or
2818 # incompatible versions:
2819 # SysV /etc/install, /usr/sbin/install
2820 # SunOS /usr/etc/install
2821 # IRIX /sbin/install
2823 # AmigaOS /C/install, which installs bootblocks on floppy discs
2824 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2825 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2826 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2827 # OS/2's system install, which has a completely different semantic
2828 # ./install, which can be erroneously created by make from ./install.sh.
2829 # Reject install programs that cannot install multiple files.
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2831 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2832 if test -z "$INSTALL"; then
2833 if ${ac_cv_path_install+:} false; then :
2834 $as_echo_n "(cached) " >&6
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir=.
2841 # Account for people who put trailing slashes in PATH elements.
2842 case $as_dir/ in #((
2843 ./ | .// | /[cC]/* | \
2844 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2845 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2848 # OSF1 and SCO ODT 3.0 have their own names for install.
2849 # Don't use installbsd from OSF since it installs stuff as root
2851 for ac_prog in ginstall scoinst install; do
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2854 if test $ac_prog = install &&
2855 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2856 # AIX install. It has an incompatible calling convention.
2858 elif test $ac_prog = install &&
2859 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2860 # program-specific install script used by HP pwplus--don't use.
2863 rm -rf conftest.one conftest.two conftest.dir
2864 echo one > conftest.one
2865 echo two > conftest.two
2867 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2868 test -s conftest.one && test -s conftest.two &&
2869 test -s conftest.dir/conftest.one &&
2870 test -s conftest.dir/conftest.two
2872 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2885 rm -rf conftest.one conftest.two conftest.dir
2888 if test "${ac_cv_path_install+set}" = set; then
2889 INSTALL=$ac_cv_path_install
2891 # As a last resort, use the slow shell script. Don't cache a
2892 # value for INSTALL within a source directory, because that will
2893 # break other packages using the cache if that directory is
2894 # removed, or if the value is a relative name.
2895 INSTALL=$ac_install_sh
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2899 $as_echo "$INSTALL" >&6; }
2901 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2902 # It thinks the first close brace ends the variable substitution.
2903 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2905 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2907 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2910 $as_echo_n "checking whether build environment is sane... " >&6; }
2911 # Reject unsafe characters in $srcdir or the absolute working directory
2912 # name. Accept space and tab only in the latter.
2916 *[\\\"\#\$\&\'\`$am_lf]*)
2917 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2920 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2921 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2924 # Do 'set' in a subshell so we don't clobber the current shell's
2925 # arguments. Must try -L first in case configure is actually a
2926 # symlink; some systems play weird games with the mod time of symlinks
2927 # (eg FreeBSD returns the mod time of the symlink's containing
2931 for am_try in 1 2; do
2932 echo "timestamp, slept: $am_has_slept" > conftest.file
2933 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2934 if test "$*" = "X"; then
2936 set X `ls -t "$srcdir/configure" conftest.file`
2938 if test "$*" != "X $srcdir/configure conftest.file" \
2939 && test "$*" != "X conftest.file $srcdir/configure"; then
2941 # If neither matched, then we have a broken ls. This can happen
2942 # if, for instance, CONFIG_SHELL is bash and it inherits a
2943 # broken ls alias from the environment. This has actually
2944 # happened. Such a system could not be considered "sane".
2945 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2946 alias in your environment" "$LINENO" 5
2948 if test "$2" = conftest.file || test $am_try -eq 2; then
2955 test "$2" = conftest.file
2961 as_fn_error $? "newly created file is older than distributed files!
2962 Check your system clock" "$LINENO" 5
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2965 $as_echo "yes" >&6; }
2966 # If we didn't sleep, we still need to ensure time stamps of config.status and
2967 # generated files are strictly newer.
2969 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2976 test "$program_prefix" != NONE &&
2977 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2978 # Use a double $ so make ignores it.
2979 test "$program_suffix" != NONE &&
2980 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2981 # Double any \ or $.
2982 # By default was `s,x,x', remove it if useless.
2983 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2984 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2986 # Expand $ac_aux_dir to an absolute path.
2987 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2989 if test x"${MISSING+set}" != xset; then
2990 MISSING="\${SHELL} '$am_aux_dir/missing'"
2992 # Use eval to expand $SHELL
2993 if eval "$MISSING --is-lightweight"; then
2994 am_missing_run="$MISSING "
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2998 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3001 if test x"${install_sh+set}" != xset; then
3004 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3006 install_sh="\${SHELL} $am_aux_dir/install-sh"
3010 # Installed binaries are usually stripped using 'strip' when the user
3011 # run "make install-strip". However 'strip' might not be the right
3012 # tool to use in cross-compilation environments, therefore Automake
3013 # will honor the 'STRIP' environment variable to overrule this program.
3014 if test "$cross_compiling" != no; then
3015 if test -n "$ac_tool_prefix"; then
3016 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3017 set dummy ${ac_tool_prefix}strip; ac_word=$2
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3019 $as_echo_n "checking for $ac_word... " >&6; }
3020 if ${ac_cv_prog_STRIP+:} false; then :
3021 $as_echo_n "(cached) " >&6
3023 if test -n "$STRIP"; then
3024 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir=.
3031 for ac_exec_ext in '' $ac_executable_extensions; do
3032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3033 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 STRIP=$ac_cv_prog_STRIP
3044 if test -n "$STRIP"; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3046 $as_echo "$STRIP" >&6; }
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3049 $as_echo "no" >&6; }
3054 if test -z "$ac_cv_prog_STRIP"; then
3056 # Extract the first word of "strip", so it can be a program name with args.
3057 set dummy strip; ac_word=$2
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3059 $as_echo_n "checking for $ac_word... " >&6; }
3060 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3061 $as_echo_n "(cached) " >&6
3063 if test -n "$ac_ct_STRIP"; then
3064 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 test -z "$as_dir" && as_dir=.
3071 for ac_exec_ext in '' $ac_executable_extensions; do
3072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3073 ac_cv_prog_ac_ct_STRIP="strip"
3074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3084 if test -n "$ac_ct_STRIP"; then
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3086 $as_echo "$ac_ct_STRIP" >&6; }
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089 $as_echo "no" >&6; }
3092 if test "x$ac_ct_STRIP" = x; then
3095 case $cross_compiling:$ac_tool_warned in
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3099 ac_tool_warned=yes ;;
3104 STRIP="$ac_cv_prog_STRIP"
3108 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3111 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3112 if test -z "$MKDIR_P"; then
3113 if ${ac_cv_path_mkdir+:} false; then :
3114 $as_echo_n "(cached) " >&6
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3120 test -z "$as_dir" && as_dir=.
3121 for ac_prog in mkdir gmkdir; do
3122 for ac_exec_ext in '' $ac_executable_extensions; do
3123 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3124 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3125 'mkdir (GNU coreutils) '* | \
3126 'mkdir (coreutils) '* | \
3127 'mkdir (fileutils) '4.1*)
3128 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3138 test -d ./--version && rmdir ./--version
3139 if test "${ac_cv_path_mkdir+set}" = set; then
3140 MKDIR_P="$ac_cv_path_mkdir -p"
3142 # As a last resort, use the slow shell script. Don't cache a
3143 # value for MKDIR_P within a source directory, because that will
3144 # break other packages using the cache if that directory is
3145 # removed, or if the value is a relative name.
3146 MKDIR_P="$ac_install_sh -d"
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3150 $as_echo "$MKDIR_P" >&6; }
3152 for ac_prog in gawk mawk nawk awk
3154 # Extract the first word of "$ac_prog", so it can be a program name with args.
3155 set dummy $ac_prog; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_prog_AWK+:} false; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$AWK"; then
3162 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3171 ac_cv_prog_AWK="$ac_prog"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 if test -n "$AWK"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3184 $as_echo "$AWK" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3191 test -n "$AWK" && break
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3195 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3197 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3198 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3199 $as_echo_n "(cached) " >&6
3201 cat >conftest.make <<\_ACEOF
3204 @echo '@@@%%%=$(MAKE)=@@@%%%'
3206 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3207 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3209 eval ac_cv_prog_make_${ac_make}_set=yes;;
3211 eval ac_cv_prog_make_${ac_make}_set=no;;
3215 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3217 $as_echo "yes" >&6; }
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3222 SET_MAKE="MAKE=${MAKE-make}"
3225 rm -rf .tst 2>/dev/null
3226 mkdir .tst 2>/dev/null
3227 if test -d .tst; then
3232 rmdir .tst 2>/dev/null
3234 # Check whether --enable-silent-rules was given.
3235 if test "${enable_silent_rules+set}" = set; then :
3236 enableval=$enable_silent_rules;
3239 case $enable_silent_rules in # (((
3240 yes) AM_DEFAULT_VERBOSITY=0;;
3241 no) AM_DEFAULT_VERBOSITY=1;;
3242 *) AM_DEFAULT_VERBOSITY=1;;
3244 am_make=${MAKE-make}
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3246 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3247 if ${am_cv_make_support_nested_variables+:} false; then :
3248 $as_echo_n "(cached) " >&6
3250 if $as_echo 'TRUE=$(BAR$(V))
3256 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3257 am_cv_make_support_nested_variables=yes
3259 am_cv_make_support_nested_variables=no
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3263 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3264 if test $am_cv_make_support_nested_variables = yes; then
3266 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3268 AM_V=$AM_DEFAULT_VERBOSITY
3269 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3273 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3274 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3275 # is not polluted with repeated "-I."
3276 am__isrc=' -I$(srcdir)'
3277 # test to see if srcdir already configured
3278 if test -f $srcdir/config.status; then
3279 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3283 # test whether we have cygpath
3284 if test -z "$CYGPATH_W"; then
3285 if (cygpath --version) >/dev/null 2>/dev/null; then
3286 CYGPATH_W='cygpath -w'
3293 # Define the identity of the package.
3298 cat >>confdefs.h <<_ACEOF
3299 #define PACKAGE "$PACKAGE"
3303 cat >>confdefs.h <<_ACEOF
3304 #define VERSION "$VERSION"
3307 # Some tools Automake needs.
3309 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3312 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3315 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3318 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3321 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3323 # For better backward compatibility. To be removed once Automake 1.9.x
3324 # dies out for good. For more background, see:
3325 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3326 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3327 mkdir_p='$(MKDIR_P)'
3329 # We need awk for the "check" target (and possibly the TAP driver). The
3330 # system "awk" is bad on some platforms.
3331 # Always define AMTAR for backward compatibility. Yes, it's still used
3332 # in the wild :-( We should find a proper way to deprecate it ...
3336 # We'll loop over all known methods to create a tar archive until one works.
3337 _am_tools='gnutar pax cpio none'
3339 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3346 # POSIX will say in a future version that running "rm -f" with no argument
3347 # is OK; and we want to be able to make that assumption in our Makefile
3348 # recipes. So use an aggressive probe to check that the usage we want is
3349 # actually supported "in the wild" to an acceptable degree.
3350 # See automake bug#10828.
3351 # To make any issue more visible, cause the running configure to be aborted
3352 # by default if the 'rm' program in use doesn't match our expectations; the
3353 # user can still override this though.
3354 if rm -f && rm -fr && rm -rf; then : OK; else
3358 Your 'rm' program seems unable to run without file operands specified
3359 on the command line, even when the '-f' option is present. This is contrary
3360 to the behaviour of most rm programs out there, and not conforming with
3361 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3363 Please tell bug-automake@gnu.org about your system, including the value
3364 of your $PATH and any error possibly output before this message. This
3365 can help us improve future automake versions.
3368 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3369 echo 'Configuration will proceed anyway, since you have set the' >&2
3370 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3374 Aborting the configuration process, to ensure you take notice of the issue.
3376 You can download and install GNU coreutils to get an 'rm' implementation
3377 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3379 If you want to complete the configuration process using your problematic
3380 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3381 to "yes", and re-run configure.
3384 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3388 # Check whether --enable-silent-rules was given.
3389 if test "${enable_silent_rules+set}" = set; then :
3390 enableval=$enable_silent_rules;
3393 case $enable_silent_rules in # (((
3394 yes) AM_DEFAULT_VERBOSITY=0;;
3395 no) AM_DEFAULT_VERBOSITY=1;;
3396 *) AM_DEFAULT_VERBOSITY=0;;
3398 am_make=${MAKE-make}
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3400 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3401 if ${am_cv_make_support_nested_variables+:} false; then :
3402 $as_echo_n "(cached) " >&6
3404 if $as_echo 'TRUE=$(BAR$(V))
3410 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3411 am_cv_make_support_nested_variables=yes
3413 am_cv_make_support_nested_variables=no
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3417 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3418 if test $am_cv_make_support_nested_variables = yes; then
3420 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3422 AM_V=$AM_DEFAULT_VERBOSITY
3423 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3429 ## ------------------------- ##
3430 ## Autobuild initialisation. ##
3431 ## ------------------------- ##
3433 # You can set autobuild_mode at configure time to specify a "unique"
3434 # string for this build.
3435 : ${autobuild_mode=default}
3437 # Make sure we can run config.sub.
3438 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3439 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3442 $as_echo_n "checking build system type... " >&6; }
3443 if ${ac_cv_build+:} false; then :
3444 $as_echo_n "(cached) " >&6
3446 ac_build_alias=$build_alias
3447 test "x$ac_build_alias" = x &&
3448 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3449 test "x$ac_build_alias" = x &&
3450 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3451 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3452 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3456 $as_echo "$ac_cv_build" >&6; }
3457 case $ac_cv_build in
3459 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3462 ac_save_IFS=$IFS; IFS='-'
3468 # Remember, the first character of IFS is used to create $*,
3469 # except with old shells:
3472 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3476 $as_echo_n "checking host system type... " >&6; }
3477 if ${ac_cv_host+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 if test "x$host_alias" = x; then
3481 ac_cv_host=$ac_cv_build
3483 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3484 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3489 $as_echo "$ac_cv_host" >&6; }
3492 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3495 ac_save_IFS=$IFS; IFS='-'
3501 # Remember, the first character of IFS is used to create $*,
3502 # except with old shells:
3505 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3512 if test -z "$AB_PACKAGE"; then
3513 AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5
3516 $as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;}
3518 if test -z "$AB_VERSION"; then
3519 AB_VERSION=${PACKAGE_VERSION:-$VERSION}
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5
3522 $as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;}
3525 if test "$hostname"; then
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5
3527 $as_echo "$as_me: autobuild hostname... $hostname" >&6;}
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild mode... $autobuild_mode" >&5
3531 $as_echo "$as_me: autobuild mode... $autobuild_mode" >&6;}
3533 date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
3534 if test "$?" != 0; then
3537 if test "$date"; then
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5
3539 $as_echo "$as_me: autobuild timestamp... $date" >&6;}
3544 CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/.version'
3548 ## ------------------------------- ##
3549 ## Libtool specific configuration. ##
3550 ## ------------------------------- ##
3552 aclocaldir="\$(datadir)/aclocal"
3554 pkgdatadir="\$(datadir)/$PACKAGE"
3557 # Check whether --enable-ltdl-install was given.
3558 if test "${enable_ltdl_install+set}" = set; then :
3559 enableval=$enable_ltdl_install;
3562 if test set != "${enable_ltdl_install+set}"; then
3563 enable_ltdl_install=yes
3566 # The list of scripts required to build libltdl, and which need to be
3567 # installed by libtoolize --ltdl, and consequently need to be placed in
3568 # $pkgdatadir by our make install rule.
3569 pkgaux_scripts="compile config.guess config.sub depcomp install-sh missing"
3573 ## ---------------- ##
3574 ## compiler checks. ##
3575 ## ---------------- ##
3577 # Need to be sure that we have a working C compiler, otherwise even with
3578 # a good C compiler: if the following C++ tests fail, the whole libtool
3581 ac_cpp='$CPP $CPPFLAGS'
3582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3585 if test -n "$ac_tool_prefix"; then
3586 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3587 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if ${ac_cv_prog_CC+:} false; then :
3591 $as_echo_n "(cached) " >&6
3593 if test -n "$CC"; then
3594 ac_cv_prog_CC="$CC" # Let the user override the test.
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir=.
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3603 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3614 if test -n "$CC"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3616 $as_echo "$CC" >&6; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3624 if test -z "$ac_cv_prog_CC"; then
3626 # Extract the first word of "gcc", so it can be a program name with args.
3627 set dummy gcc; ac_word=$2
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3631 $as_echo_n "(cached) " >&6
3633 if test -n "$ac_ct_CC"; then
3634 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3640 test -z "$as_dir" && as_dir=.
3641 for ac_exec_ext in '' $ac_executable_extensions; do
3642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3643 ac_cv_prog_ac_ct_CC="gcc"
3644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3654 if test -n "$ac_ct_CC"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3656 $as_echo "$ac_ct_CC" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3662 if test "x$ac_ct_CC" = x; then
3665 case $cross_compiling:$ac_tool_warned in
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3669 ac_tool_warned=yes ;;
3677 if test -z "$CC"; then
3678 if test -n "$ac_tool_prefix"; then
3679 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3680 set dummy ${ac_tool_prefix}cc; ac_word=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if ${ac_cv_prog_CC+:} false; then :
3684 $as_echo_n "(cached) " >&6
3686 if test -n "$CC"; then
3687 ac_cv_prog_CC="$CC" # Let the user override the test.
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_CC="${ac_tool_prefix}cc"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 if test -n "$CC"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3709 $as_echo "$CC" >&6; }
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3718 if test -z "$CC"; then
3719 # Extract the first word of "cc", so it can be a program name with args.
3720 set dummy cc; ac_word=$2
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3722 $as_echo_n "checking for $ac_word... " >&6; }
3723 if ${ac_cv_prog_CC+:} false; then :
3724 $as_echo_n "(cached) " >&6
3726 if test -n "$CC"; then
3727 ac_cv_prog_CC="$CC" # Let the user override the test.
3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3734 test -z "$as_dir" && as_dir=.
3735 for ac_exec_ext in '' $ac_executable_extensions; do
3736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3737 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3738 ac_prog_rejected=yes
3742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 if test $ac_prog_rejected = yes; then
3750 # We found a bogon in the path, so make sure we never use it.
3751 set dummy $ac_cv_prog_CC
3753 if test $# != 0; then
3754 # We chose a different compiler from the bogus one.
3755 # However, it has the same basename, so the bogon will be chosen
3756 # first if we set CC to just the basename; use the full file name.
3758 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3774 if test -z "$CC"; then
3775 if test -n "$ac_tool_prefix"; then
3776 for ac_prog in cl.exe
3778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if ${ac_cv_prog_CC+:} false; then :
3783 $as_echo_n "(cached) " >&6
3785 if test -n "$CC"; then
3786 ac_cv_prog_CC="$CC" # Let the user override the test.
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir=.
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3795 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 if test -n "$CC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3808 $as_echo "$CC" >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3815 test -n "$CC" && break
3818 if test -z "$CC"; then
3820 for ac_prog in cl.exe
3822 # Extract the first word of "$ac_prog", so it can be a program name with args.
3823 set dummy $ac_prog; ac_word=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3827 $as_echo_n "(cached) " >&6
3829 if test -n "$ac_ct_CC"; then
3830 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_ac_ct_CC="$ac_prog"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3850 if test -n "$ac_ct_CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3852 $as_echo "$ac_ct_CC" >&6; }
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3859 test -n "$ac_ct_CC" && break
3862 if test "x$ac_ct_CC" = x; then
3865 case $cross_compiling:$ac_tool_warned in
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3869 ac_tool_warned=yes ;;
3878 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3880 as_fn_error $? "no acceptable C compiler found in \$PATH
3881 See \`config.log' for more details" "$LINENO" 5; }
3883 # Provide some information about the compiler.
3884 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3887 for ac_option in --version -v -V -qversion; do
3888 { { ac_try="$ac_compiler $ac_option >&5"
3890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3891 *) ac_try_echo=$ac_try;;
3893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3894 $as_echo "$ac_try_echo"; } >&5
3895 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3897 if test -s conftest.err; then
3899 ... rest of stderr output deleted ...
3900 10q' conftest.err >conftest.er1
3901 cat conftest.er1 >&5
3903 rm -f conftest.er1 conftest.err
3904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3905 test $ac_status = 0; }
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3919 ac_clean_files_save=$ac_clean_files
3920 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3921 # Try to create an executable without -o first, disregard a.out.
3922 # It will help us diagnose broken compilers, and finding out an intuition
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3925 $as_echo_n "checking whether the C compiler works... " >&6; }
3926 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3928 # The possible output files:
3929 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3932 for ac_file in $ac_files
3935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3936 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3941 if { { ac_try="$ac_link_default"
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_link_default") 2>&5
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }; then :
3952 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3953 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3954 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3955 # so that the user can short-circuit this test for compilers unknown to
3957 for ac_file in $ac_files ''
3959 test -f "$ac_file" || continue
3961 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3964 # We found the default executable, but exeext='' is most
3968 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3970 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3972 # We set ac_cv_exeext here because the later test for it is not
3973 # safe: cross compilers may not add the suffix if given an `-o'
3974 # argument, so we may need to know it at that point already.
3975 # Even if this section looks crufty: it has the advantage of
3982 test "$ac_cv_exeext" = no && ac_cv_exeext=
3987 if test -z "$ac_file"; then :
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989 $as_echo "no" >&6; }
3990 $as_echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995 as_fn_error 77 "C compiler cannot create executables
3996 See \`config.log' for more details" "$LINENO" 5; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3999 $as_echo "yes" >&6; }
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4002 $as_echo_n "checking for C compiler default output file name... " >&6; }
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4004 $as_echo "$ac_file" >&6; }
4005 ac_exeext=$ac_cv_exeext
4007 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4008 ac_clean_files=$ac_clean_files_save
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4010 $as_echo_n "checking for suffix of executables... " >&6; }
4011 if { { ac_try="$ac_link"
4013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4014 *) ac_try_echo=$ac_try;;
4016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4017 $as_echo "$ac_try_echo"; } >&5
4018 (eval "$ac_link") 2>&5
4020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4021 test $ac_status = 0; }; then :
4022 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4023 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4024 # work properly (i.e., refer to `conftest.exe'), while it won't with
4026 for ac_file in conftest.exe conftest conftest.*; do
4027 test -f "$ac_file" || continue
4029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4030 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4038 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4039 See \`config.log' for more details" "$LINENO" 5; }
4041 rm -f conftest conftest$ac_cv_exeext
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4043 $as_echo "$ac_cv_exeext" >&6; }
4045 rm -f conftest.$ac_ext
4046 EXEEXT=$ac_cv_exeext
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4054 FILE *f = fopen ("conftest.out", "w");
4055 return ferror (f) || fclose (f) != 0;
4061 ac_clean_files="$ac_clean_files conftest.out"
4062 # Check that the compiler produces executables we can run. If not, either
4063 # the compiler is broken, or we cross compile.
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4065 $as_echo_n "checking whether we are cross compiling... " >&6; }
4066 if test "$cross_compiling" != yes; then
4067 { { ac_try="$ac_link"
4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4070 *) ac_try_echo=$ac_try;;
4072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4073 $as_echo "$ac_try_echo"; } >&5
4074 (eval "$ac_link") 2>&5
4076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4077 test $ac_status = 0; }
4078 if { ac_try='./conftest$ac_cv_exeext'
4079 { { case "(($ac_try" in
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085 (eval "$ac_try") 2>&5
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }; }; then
4091 if test "$cross_compiling" = maybe; then
4094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4096 as_fn_error $? "cannot run C compiled programs.
4097 If you meant to cross compile, use \`--host'.
4098 See \`config.log' for more details" "$LINENO" 5; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4103 $as_echo "$cross_compiling" >&6; }
4105 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4106 ac_clean_files=$ac_clean_files_save
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4108 $as_echo_n "checking for suffix of object files... " >&6; }
4109 if ${ac_cv_objext+:} false; then :
4110 $as_echo_n "(cached) " >&6
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4123 rm -f conftest.o conftest.obj
4124 if { { ac_try="$ac_compile"
4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4130 $as_echo "$ac_try_echo"; } >&5
4131 (eval "$ac_compile") 2>&5
4133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4134 test $ac_status = 0; }; then :
4135 for ac_file in conftest.o conftest.obj conftest.*; do
4136 test -f "$ac_file" || continue;
4138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4139 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4144 $as_echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.$ac_ext >&5
4147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_error $? "cannot compute suffix of object files: cannot compile
4150 See \`config.log' for more details" "$LINENO" 5; }
4152 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4155 $as_echo "$ac_cv_objext" >&6; }
4156 OBJEXT=$ac_cv_objext
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4159 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4160 if ${ac_cv_c_compiler_gnu+:} false; then :
4161 $as_echo_n "(cached) " >&6
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4177 if ac_fn_c_try_compile "$LINENO"; then :
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4187 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4188 if test $ac_compiler_gnu = yes; then
4193 ac_test_CFLAGS=${CFLAGS+set}
4194 ac_save_CFLAGS=$CFLAGS
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4196 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4197 if ${ac_cv_prog_cc_g+:} false; then :
4198 $as_echo_n "(cached) " >&6
4200 ac_save_c_werror_flag=$ac_c_werror_flag
4201 ac_c_werror_flag=yes
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4215 if ac_fn_c_try_compile "$LINENO"; then :
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4230 if ac_fn_c_try_compile "$LINENO"; then :
4233 ac_c_werror_flag=$ac_save_c_werror_flag
4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4246 if ac_fn_c_try_compile "$LINENO"; then :
4249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4254 ac_c_werror_flag=$ac_save_c_werror_flag
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4257 $as_echo "$ac_cv_prog_cc_g" >&6; }
4258 if test "$ac_test_CFLAGS" = set; then
4259 CFLAGS=$ac_save_CFLAGS
4260 elif test $ac_cv_prog_cc_g = yes; then
4261 if test "$GCC" = yes; then
4267 if test "$GCC" = yes; then
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4274 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4275 if ${ac_cv_prog_cc_c89+:} false; then :
4276 $as_echo_n "(cached) " >&6
4278 ac_cv_prog_cc_c89=no
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4285 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4286 struct buf { int x; };
4287 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4288 static char *e (p, i)
4294 static char *f (char * (*g) (char **, int), char **p, ...)
4299 s = g (p, va_arg (v,int));
4304 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4305 function prototypes and stuff, but not '\xHH' hex character constants.
4306 These don't provoke an error unfortunately, instead are silently treated
4307 as 'x'. The following induces an error, until -std is added to get
4308 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4309 array size at least. It's necessary to write '\x00'==0 to get something
4310 that's true only with -std. */
4311 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4313 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4314 inside strings and character constants. */
4316 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4318 int test (int i, double x);
4319 struct s1 {int (*f) (int a);};
4320 struct s2 {int (*f) (double a);};
4321 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4327 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4332 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4333 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4335 CC="$ac_save_CC $ac_arg"
4336 if ac_fn_c_try_compile "$LINENO"; then :
4337 ac_cv_prog_cc_c89=$ac_arg
4339 rm -f core conftest.err conftest.$ac_objext
4340 test "x$ac_cv_prog_cc_c89" != "xno" && break
4342 rm -f conftest.$ac_ext
4347 case "x$ac_cv_prog_cc_c89" in
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4350 $as_echo "none needed" >&6; } ;;
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4353 $as_echo "unsupported" >&6; } ;;
4355 CC="$CC $ac_cv_prog_cc_c89"
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4357 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4359 if test "x$ac_cv_prog_cc_c89" != xno; then :
4364 ac_cpp='$CPP $CPPFLAGS'
4365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4370 ac_cpp='$CPP $CPPFLAGS'
4371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4375 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4376 if ${am_cv_prog_cc_c_o+:} false; then :
4377 $as_echo_n "(cached) " >&6
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4390 # Make sure it works both with $CC and with simple cc.
4391 # Following AC_PROG_CC_C_O, we do the test twice because some
4392 # compilers refuse to overwrite an existing .o file with -o,
4393 # though they will create one.
4394 am_cv_prog_cc_c_o=yes
4396 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4397 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); } \
4401 && test -f conftest2.$ac_objext; then
4404 am_cv_prog_cc_c_o=no
4408 rm -f core conftest*
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4412 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4413 if test "$am_cv_prog_cc_c_o" != yes; then
4414 # Losing compiler, so override with the script.
4415 # FIXME: It is wrong to rewrite CC.
4416 # But if we don't then we get into trouble of one sort or another.
4417 # A longer-term fix would be to have automake use am__CC in this case,
4418 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4419 CC="$am_aux_dir/compile $CC"
4422 ac_cpp='$CPP $CPPFLAGS'
4423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler is clang" >&5
4430 $as_echo_n "checking whether the compiler is clang... " >&6; }
4431 if ${gl_cv_compiler_clang+:} false; then :
4432 $as_echo_n "(cached) " >&6
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4450 if ac_fn_c_try_compile "$LINENO"; then :
4451 gl_cv_compiler_clang=no
4453 gl_cv_compiler_clang=yes
4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compiler_clang" >&5
4459 $as_echo "$gl_cv_compiler_clang" >&6; }
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option needed when checking for declarations" >&5
4463 $as_echo_n "checking for compiler option needed when checking for declarations... " >&6; }
4464 if ${gl_cv_compiler_check_decl_option+:} false; then :
4465 $as_echo_n "(cached) " >&6
4467 if test $gl_cv_compiler_clang = yes; then
4468 save_ac_compile="$ac_compile"
4469 ac_compile="$ac_compile -Werror=implicit-function-declaration"
4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4481 if ac_fn_c_try_compile "$LINENO"; then :
4482 gl_cv_compiler_check_decl_option='-Werror=implicit-function-declaration'
4484 gl_cv_compiler_check_decl_option=none
4486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487 ac_compile="$save_ac_compile"
4489 gl_cv_compiler_check_decl_option=none
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compiler_check_decl_option" >&5
4494 $as_echo "$gl_cv_compiler_check_decl_option" >&6; }
4495 if test "x$gl_cv_compiler_check_decl_option" != xnone; then
4496 ac_compile_for_check_decl="$ac_compile $gl_cv_compiler_check_decl_option"
4498 ac_compile_for_check_decl="$ac_compile"
4501 DEPDIR="${am__leading_dot}deps"
4503 ac_config_commands="$ac_config_commands depfiles"
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4506 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4507 cat > confinc.mk << 'END'
4509 @echo this is the am__doit target >confinc.out
4514 # BSD make does it like this.
4515 echo '.include "confinc.mk" # ignored' > confmf.BSD
4516 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4517 echo 'include confinc.mk # ignored' > confmf.GNU
4519 for s in GNU BSD; do
4520 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4521 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }
4525 case $?:`cat confinc.out 2>/dev/null` in #(
4526 '0:this is the am__doit target') :
4529 am__include='.include' am__quote='"' ;; #(
4531 am__include='include' am__quote='' ;;
4536 if test "$am__include" != "#"; then
4537 _am_result="yes ($s style)"
4541 rm -f confinc.* confmf.*
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4543 $as_echo "${_am_result}" >&6; }
4545 # Check whether --enable-dependency-tracking was given.
4546 if test "${enable_dependency_tracking+set}" = set; then :
4547 enableval=$enable_dependency_tracking;
4550 if test "x$enable_dependency_tracking" != xno; then
4551 am_depcomp="$ac_aux_dir/depcomp"
4555 if test "x$enable_dependency_tracking" != xno; then
4565 depcc="$CC" am_compiler_list=
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4568 $as_echo_n "checking dependency style of $depcc... " >&6; }
4569 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4570 $as_echo_n "(cached) " >&6
4572 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4573 # We make a subdir and do the tests there. Otherwise we can end up
4574 # making bogus files that we don't know about and never remove. For
4575 # instance it was reported that on HP-UX the gcc test will end up
4576 # making a dummy file named 'D' -- because '-MD' means "put the output
4580 # Copy depcomp to subdir because otherwise we won't find it if we're
4581 # using a relative directory.
4582 cp "$am_depcomp" conftest.dir
4584 # We will build objects and dependencies in a subdirectory because
4585 # it helps to detect inapplicable dependency modes. For instance
4586 # both Tru64's cc and ICC support -MD to output dependencies as a
4587 # side effect of compilation, but ICC will put the dependencies in
4588 # the current directory while Tru64 will put them in the object
4592 am_cv_CC_dependencies_compiler_type=none
4593 if test "$am_compiler_list" = ""; then
4594 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4597 case " $depcc " in #(
4598 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4601 for depmode in $am_compiler_list; do
4602 # Setup a source with many dependencies, because some compilers
4603 # like to wrap large dependency lists on column 80 (with \), and
4604 # we should not choose a depcomp mode which is confused by this.
4606 # We need to recreate these files for each test, as the compiler may
4607 # overwrite some of them when testing with obscure command lines.
4608 # This happens at least with the AIX C compiler.
4610 for i in 1 2 3 4 5 6; do
4611 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4612 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4613 # Solaris 10 /bin/sh.
4614 echo '/* dummy */' > sub/conftst$i.h
4616 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4618 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4619 # mode. It turns out that the SunPro C++ compiler does not properly
4620 # handle '-M -o', and we need to detect this. Also, some Intel
4621 # versions had trouble with output in subdirs.
4622 am__obj=sub/conftest.${OBJEXT-o}
4623 am__minus_obj="-o $am__obj"
4626 # This depmode causes a compiler race in universal mode.
4627 test "$am__universal" = false || continue
4630 # After this tag, mechanisms are not by side-effect, so they'll
4631 # only be used when explicitly requested.
4632 if test "x$enable_dependency_tracking" = xyes; then
4638 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4639 # This compiler won't grok '-c -o', but also, the minuso test has
4640 # not run yet. These depmodes are late enough in the game, and
4641 # so weak that their functioning should not be impacted.
4642 am__obj=conftest.${OBJEXT-o}
4647 if depmode=$depmode \
4648 source=sub/conftest.c object=$am__obj \
4649 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4650 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4651 >/dev/null 2>conftest.err &&
4652 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4653 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4654 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4655 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4656 # icc doesn't choke on unknown options, it will just issue warnings
4657 # or remarks (even with -Werror). So we grep stderr for any message
4658 # that says an option was ignored or not supported.
4659 # When given -MP, icc 7.0 and 7.1 complain thusly:
4660 # icc: Command line warning: ignoring option '-M'; no argument required
4661 # The diagnosis changed in icc 8.0:
4662 # icc: Command line remark: option '-MP' not supported
4663 if (grep 'ignoring option' conftest.err ||
4664 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4665 am_cv_CC_dependencies_compiler_type=$depmode
4674 am_cv_CC_dependencies_compiler_type=none
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4679 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4680 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4683 test "x$enable_dependency_tracking" != xno \
4684 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4686 am__fastdepCC_FALSE='#'
4688 am__fastdepCC_TRUE='#'
4689 am__fastdepCC_FALSE=
4695 ac_cpp='$CPP $CPPFLAGS'
4696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4700 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4701 # On Suns, sometimes $CPP names a directory.
4702 if test -n "$CPP" && test -d "$CPP"; then
4705 if test -z "$CPP"; then
4706 if ${ac_cv_prog_CPP+:} false; then :
4707 $as_echo_n "(cached) " >&6
4709 # Double quotes because CPP needs to be expanded
4710 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4713 for ac_c_preproc_warn_flag in '' yes
4715 # Use a header file that comes with gcc, so configuring glibc
4716 # with a fresh cross-compiler works.
4717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4718 # <limits.h> exists even on freestanding compilers.
4719 # On the NeXT, cc -E runs the code through the compiler's parser,
4720 # not just through cpp. "Syntax error" is here to catch this case.
4721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4722 /* end confdefs.h. */
4724 # include <limits.h>
4726 # include <assert.h>
4730 if ac_fn_c_try_cpp "$LINENO"; then :
4733 # Broken: fails on valid input.
4736 rm -f conftest.err conftest.i conftest.$ac_ext
4738 # OK, works on sane cases. Now check whether nonexistent headers
4739 # can be detected and how.
4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4742 #include <ac_nonexistent.h>
4744 if ac_fn_c_try_cpp "$LINENO"; then :
4745 # Broken: success on invalid input.
4748 # Passes both tests.
4752 rm -f conftest.err conftest.i conftest.$ac_ext
4755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4756 rm -f conftest.i conftest.err conftest.$ac_ext
4757 if $ac_preproc_ok; then :
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4770 $as_echo "$CPP" >&6; }
4772 for ac_c_preproc_warn_flag in '' yes
4774 # Use a header file that comes with gcc, so configuring glibc
4775 # with a fresh cross-compiler works.
4776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4777 # <limits.h> exists even on freestanding compilers.
4778 # On the NeXT, cc -E runs the code through the compiler's parser,
4779 # not just through cpp. "Syntax error" is here to catch this case.
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4783 # include <limits.h>
4785 # include <assert.h>
4789 if ac_fn_c_try_cpp "$LINENO"; then :
4792 # Broken: fails on valid input.
4795 rm -f conftest.err conftest.i conftest.$ac_ext
4797 # OK, works on sane cases. Now check whether nonexistent headers
4798 # can be detected and how.
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4801 #include <ac_nonexistent.h>
4803 if ac_fn_c_try_cpp "$LINENO"; then :
4804 # Broken: success on invalid input.
4807 # Passes both tests.
4811 rm -f conftest.err conftest.i conftest.$ac_ext
4814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4815 rm -f conftest.i conftest.err conftest.$ac_ext
4816 if $ac_preproc_ok; then :
4819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4821 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4822 See \`config.log' for more details" "$LINENO" 5; }
4826 ac_cpp='$CPP $CPPFLAGS'
4827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4833 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4834 if ${ac_cv_path_GREP+:} false; then :
4835 $as_echo_n "(cached) " >&6
4837 if test -z "$GREP"; then
4838 ac_path_GREP_found=false
4839 # Loop through the user's path and test for each of PROGNAME-LIST
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4844 test -z "$as_dir" && as_dir=.
4845 for ac_prog in grep ggrep; do
4846 for ac_exec_ext in '' $ac_executable_extensions; do
4847 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4848 as_fn_executable_p "$ac_path_GREP" || continue
4849 # Check for GNU ac_path_GREP and select it if it is found.
4850 # Check for GNU $ac_path_GREP
4851 case `"$ac_path_GREP" --version 2>&1` in
4853 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4856 $as_echo_n 0123456789 >"conftest.in"
4859 cat "conftest.in" "conftest.in" >"conftest.tmp"
4860 mv "conftest.tmp" "conftest.in"
4861 cp "conftest.in" "conftest.nl"
4862 $as_echo 'GREP' >> "conftest.nl"
4863 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4864 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4865 as_fn_arith $ac_count + 1 && ac_count=$as_val
4866 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4867 # Best one so far, save it but keep looking for a better one
4868 ac_cv_path_GREP="$ac_path_GREP"
4869 ac_path_GREP_max=$ac_count
4871 # 10*(2^10) chars as input seems more than enough
4872 test $ac_count -gt 10 && break
4874 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4877 $ac_path_GREP_found && break 3
4882 if test -z "$ac_cv_path_GREP"; then
4883 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4886 ac_cv_path_GREP=$GREP
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4891 $as_echo "$ac_cv_path_GREP" >&6; }
4892 GREP="$ac_cv_path_GREP"
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4896 $as_echo_n "checking for egrep... " >&6; }
4897 if ${ac_cv_path_EGREP+:} false; then :
4898 $as_echo_n "(cached) " >&6
4900 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4901 then ac_cv_path_EGREP="$GREP -E"
4903 if test -z "$EGREP"; then
4904 ac_path_EGREP_found=false
4905 # Loop through the user's path and test for each of PROGNAME-LIST
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4910 test -z "$as_dir" && as_dir=.
4911 for ac_prog in egrep; do
4912 for ac_exec_ext in '' $ac_executable_extensions; do
4913 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4914 as_fn_executable_p "$ac_path_EGREP" || continue
4915 # Check for GNU ac_path_EGREP and select it if it is found.
4916 # Check for GNU $ac_path_EGREP
4917 case `"$ac_path_EGREP" --version 2>&1` in
4919 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4922 $as_echo_n 0123456789 >"conftest.in"
4925 cat "conftest.in" "conftest.in" >"conftest.tmp"
4926 mv "conftest.tmp" "conftest.in"
4927 cp "conftest.in" "conftest.nl"
4928 $as_echo 'EGREP' >> "conftest.nl"
4929 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4930 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4931 as_fn_arith $ac_count + 1 && ac_count=$as_val
4932 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4933 # Best one so far, save it but keep looking for a better one
4934 ac_cv_path_EGREP="$ac_path_EGREP"
4935 ac_path_EGREP_max=$ac_count
4937 # 10*(2^10) chars as input seems more than enough
4938 test $ac_count -gt 10 && break
4940 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4943 $ac_path_EGREP_found && break 3
4948 if test -z "$ac_cv_path_EGREP"; then
4949 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4952 ac_cv_path_EGREP=$EGREP
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4958 $as_echo "$ac_cv_path_EGREP" >&6; }
4959 EGREP="$ac_cv_path_EGREP"
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
4966 $as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
4967 if ${gl_cv_c_amsterdam_compiler+:} false; then :
4968 $as_echo_n "(cached) " >&6
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4980 $EGREP "Amsterdam" >/dev/null 2>&1; then :
4981 gl_cv_c_amsterdam_compiler=yes
4983 gl_cv_c_amsterdam_compiler=no
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
4990 $as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
4992 if test $gl_cv_c_amsterdam_compiler = yes; then
4993 if test -z "$AR"; then
4996 if test -z "$ARFLAGS"; then
5003 if test -n "$ac_tool_prefix"; then
5004 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5005 set dummy ${ac_tool_prefix}ar; ac_word=$2
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5007 $as_echo_n "checking for $ac_word... " >&6; }
5008 if ${ac_cv_prog_AR+:} false; then :
5009 $as_echo_n "(cached) " >&6
5011 if test -n "$AR"; then
5012 ac_cv_prog_AR="$AR" # Let the user override the test.
5014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir=.
5019 for ac_exec_ext in '' $ac_executable_extensions; do
5020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5021 ac_cv_prog_AR="${ac_tool_prefix}ar"
5022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 if test -n "$AR"; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5034 $as_echo "$AR" >&6; }
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 $as_echo "no" >&6; }
5042 if test -z "$ac_cv_prog_AR"; then
5044 # Extract the first word of "ar", so it can be a program name with args.
5045 set dummy ar; ac_word=$2
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5047 $as_echo_n "checking for $ac_word... " >&6; }
5048 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5049 $as_echo_n "(cached) " >&6
5051 if test -n "$ac_ct_AR"; then
5052 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 test -z "$as_dir" && as_dir=.
5059 for ac_exec_ext in '' $ac_executable_extensions; do
5060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5061 ac_cv_prog_ac_ct_AR="ar"
5062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5072 if test -n "$ac_ct_AR"; then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5074 $as_echo "$ac_ct_AR" >&6; }
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5080 if test "x$ac_ct_AR" = x; then
5083 case $cross_compiling:$ac_tool_warned in
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5087 ac_tool_warned=yes ;;
5095 if test -z "$ARFLAGS"; then
5101 if test -z "$RANLIB"; then
5102 if test $gl_cv_c_amsterdam_compiler = yes; then
5105 if test -n "$ac_tool_prefix"; then
5106 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5107 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_prog_RANLIB+:} false; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$RANLIB"; then
5114 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5123 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 RANLIB=$ac_cv_prog_RANLIB
5134 if test -n "$RANLIB"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5136 $as_echo "$RANLIB" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5144 if test -z "$ac_cv_prog_RANLIB"; then
5145 ac_ct_RANLIB=$RANLIB
5146 # Extract the first word of "ranlib", so it can be a program name with args.
5147 set dummy ranlib; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5151 $as_echo_n "(cached) " >&6
5153 if test -n "$ac_ct_RANLIB"; then
5154 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_ac_ct_RANLIB="ranlib"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5174 if test -n "$ac_ct_RANLIB"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5176 $as_echo "$ac_ct_RANLIB" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5182 if test "x$ac_ct_RANLIB" = x; then
5185 case $cross_compiling:$ac_tool_warned in
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5189 ac_tool_warned=yes ;;
5191 RANLIB=$ac_ct_RANLIB
5194 RANLIB="$ac_cv_prog_RANLIB"
5203 # Pre-early section.
5206 # Code from module all-shells-tests:
5207 # Code from module announce-gen:
5208 # Code from module bootstrap:
5209 # Code from module do-release-commit-and-tag:
5210 # Code from module extract-trace:
5211 # Code from module funclib.sh:
5212 # Code from module funclib.sh-tests:
5213 # Code from module gendocs:
5214 # Code from module git-version-gen:
5215 # Code from module gitlog-to-changelog:
5216 # Code from module gnu-web-doc-update:
5217 # Code from module gnumakefile:
5218 # Code from module gnupload:
5219 # Code from module inline-source:
5220 # Code from module maintainer-makefile:
5221 # Code from module options-parser:
5222 # Code from module options-parser-tests:
5223 # Code from module readme-release:
5224 # Code from module test-framework-sh:
5225 # Code from module test-framework-sh-tests:
5226 # Code from module update-copyright:
5227 # Code from module update-copyright-tests:
5228 # Code from module useless-if-before-free:
5229 # Code from module vc-list-files:
5230 # Code from module vc-list-files-tests:
5234 ac_cpp='$CPP $CPPFLAGS'
5235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5239 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5240 # On Suns, sometimes $CPP names a directory.
5241 if test -n "$CPP" && test -d "$CPP"; then
5244 if test -z "$CPP"; then
5245 if ${ac_cv_prog_CPP+:} false; then :
5246 $as_echo_n "(cached) " >&6
5248 # Double quotes because CPP needs to be expanded
5249 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5252 for ac_c_preproc_warn_flag in '' yes
5254 # Use a header file that comes with gcc, so configuring glibc
5255 # with a fresh cross-compiler works.
5256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5257 # <limits.h> exists even on freestanding compilers.
5258 # On the NeXT, cc -E runs the code through the compiler's parser,
5259 # not just through cpp. "Syntax error" is here to catch this case.
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5263 # include <limits.h>
5265 # include <assert.h>
5269 if ac_fn_c_try_cpp "$LINENO"; then :
5272 # Broken: fails on valid input.
5275 rm -f conftest.err conftest.i conftest.$ac_ext
5277 # OK, works on sane cases. Now check whether nonexistent headers
5278 # can be detected and how.
5279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5280 /* end confdefs.h. */
5281 #include <ac_nonexistent.h>
5283 if ac_fn_c_try_cpp "$LINENO"; then :
5284 # Broken: success on invalid input.
5287 # Passes both tests.
5291 rm -f conftest.err conftest.i conftest.$ac_ext
5294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5295 rm -f conftest.i conftest.err conftest.$ac_ext
5296 if $ac_preproc_ok; then :
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5309 $as_echo "$CPP" >&6; }
5311 for ac_c_preproc_warn_flag in '' yes
5313 # Use a header file that comes with gcc, so configuring glibc
5314 # with a fresh cross-compiler works.
5315 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5316 # <limits.h> exists even on freestanding compilers.
5317 # On the NeXT, cc -E runs the code through the compiler's parser,
5318 # not just through cpp. "Syntax error" is here to catch this case.
5319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5322 # include <limits.h>
5324 # include <assert.h>
5328 if ac_fn_c_try_cpp "$LINENO"; then :
5331 # Broken: fails on valid input.
5334 rm -f conftest.err conftest.i conftest.$ac_ext
5336 # OK, works on sane cases. Now check whether nonexistent headers
5337 # can be detected and how.
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5340 #include <ac_nonexistent.h>
5342 if ac_fn_c_try_cpp "$LINENO"; then :
5343 # Broken: success on invalid input.
5346 # Passes both tests.
5350 rm -f conftest.err conftest.i conftest.$ac_ext
5353 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5354 rm -f conftest.i conftest.err conftest.$ac_ext
5355 if $ac_preproc_ok; then :
5358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5360 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5361 See \`config.log' for more details" "$LINENO" 5; }
5365 ac_cpp='$CPP $CPPFLAGS'
5366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5371 ## ----------------------- ##
5372 ## Libtool initialisation. ##
5373 ## ----------------------- ##
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5377 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5382 macro_version='2.4.7'
5383 macro_revision='2.4.7'
5397 ltmain=$ac_aux_dir/ltmain.sh
5399 # Backslashify metacharacters that are still active within
5400 # double-quoted strings.
5401 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5403 # Same as above, but do not quote variable references.
5404 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5406 # Sed substitution to delay expansion of an escaped shell variable in a
5407 # double_quote_subst'ed string.
5408 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5410 # Sed substitution to delay expansion of an escaped single quote.
5411 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5413 # Sed substitution to avoid accidental globbing in evaled expressions
5414 no_glob_subst='s/\*/\\\*/g'
5416 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5417 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5421 $as_echo_n "checking how to print strings... " >&6; }
5422 # Test print first, because it will be a builtin if present.
5423 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5424 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5426 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5429 # Use this function as a fallback that always works.
5430 func_fallback_echo ()
5432 eval 'cat <<_LTECHO_EOF
5436 ECHO='func_fallback_echo'
5439 # func_echo_all arg...
5440 # Invoke $ECHO with all args, space-separated.
5447 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5448 $as_echo "printf" >&6; } ;;
5449 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5450 $as_echo "print -r" >&6; } ;;
5451 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5452 $as_echo "cat" >&6; } ;;
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5469 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5470 if ${ac_cv_path_SED+:} false; then :
5471 $as_echo_n "(cached) " >&6
5473 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5474 for ac_i in 1 2 3 4 5 6 7; do
5475 ac_script="$ac_script$as_nl$ac_script"
5477 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5478 { ac_script=; unset ac_script;}
5479 if test -z "$SED"; then
5480 ac_path_SED_found=false
5481 # Loop through the user's path and test for each of PROGNAME-LIST
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 test -z "$as_dir" && as_dir=.
5487 for ac_prog in sed gsed; do
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5490 as_fn_executable_p "$ac_path_SED" || continue
5491 # Check for GNU ac_path_SED and select it if it is found.
5492 # Check for GNU $ac_path_SED
5493 case `"$ac_path_SED" --version 2>&1` in
5495 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5498 $as_echo_n 0123456789 >"conftest.in"
5501 cat "conftest.in" "conftest.in" >"conftest.tmp"
5502 mv "conftest.tmp" "conftest.in"
5503 cp "conftest.in" "conftest.nl"
5504 $as_echo '' >> "conftest.nl"
5505 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5507 as_fn_arith $ac_count + 1 && ac_count=$as_val
5508 if test $ac_count -gt ${ac_path_SED_max-0}; then
5509 # Best one so far, save it but keep looking for a better one
5510 ac_cv_path_SED="$ac_path_SED"
5511 ac_path_SED_max=$ac_count
5513 # 10*(2^10) chars as input seems more than enough
5514 test $ac_count -gt 10 && break
5516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 $ac_path_SED_found && break 3
5524 if test -z "$ac_cv_path_SED"; then
5525 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5533 $as_echo "$ac_cv_path_SED" >&6; }
5534 SED="$ac_cv_path_SED"
5537 test -z "$SED" && SED=sed
5538 Xsed="$SED -e 1s/^X//"
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5551 $as_echo_n "checking for fgrep... " >&6; }
5552 if ${ac_cv_path_FGREP+:} false; then :
5553 $as_echo_n "(cached) " >&6
5555 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5556 then ac_cv_path_FGREP="$GREP -F"
5558 if test -z "$FGREP"; then
5559 ac_path_FGREP_found=false
5560 # Loop through the user's path and test for each of PROGNAME-LIST
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5565 test -z "$as_dir" && as_dir=.
5566 for ac_prog in fgrep; do
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5569 as_fn_executable_p "$ac_path_FGREP" || continue
5570 # Check for GNU ac_path_FGREP and select it if it is found.
5571 # Check for GNU $ac_path_FGREP
5572 case `"$ac_path_FGREP" --version 2>&1` in
5574 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5577 $as_echo_n 0123456789 >"conftest.in"
5580 cat "conftest.in" "conftest.in" >"conftest.tmp"
5581 mv "conftest.tmp" "conftest.in"
5582 cp "conftest.in" "conftest.nl"
5583 $as_echo 'FGREP' >> "conftest.nl"
5584 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5586 as_fn_arith $ac_count + 1 && ac_count=$as_val
5587 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5588 # Best one so far, save it but keep looking for a better one
5589 ac_cv_path_FGREP="$ac_path_FGREP"
5590 ac_path_FGREP_max=$ac_count
5592 # 10*(2^10) chars as input seems more than enough
5593 test $ac_count -gt 10 && break
5595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5598 $ac_path_FGREP_found && break 3
5603 if test -z "$ac_cv_path_FGREP"; then
5604 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 ac_cv_path_FGREP=$FGREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5613 $as_echo "$ac_cv_path_FGREP" >&6; }
5614 FGREP="$ac_cv_path_FGREP"
5617 test -z "$GREP" && GREP=grep
5637 # Check whether --with-gnu-ld was given.
5638 if test "${with_gnu_ld+set}" = set; then :
5639 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5645 if test yes = "$GCC"; then
5646 # Check if gcc -print-prog-name=ld gives a path.
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5648 $as_echo_n "checking for ld used by $CC... " >&6; }
5651 # gcc leaves a trailing carriage return, which upsets mingw
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5654 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5657 # Accept absolute paths.
5659 re_direlt='/[^/][^/]*/\.\./'
5660 # Canonicalize the pathname of ld
5661 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5662 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5663 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5665 test -z "$LD" && LD=$ac_prog
5668 # If it fails, then pretend we aren't using GCC.
5672 # If it is relative, then search for the first ld in PATH.
5676 elif test yes = "$with_gnu_ld"; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5678 $as_echo_n "checking for GNU ld... " >&6; }
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5681 $as_echo_n "checking for non-GNU ld... " >&6; }
5683 if ${lt_cv_path_LD+:} false; then :
5684 $as_echo_n "(cached) " >&6
5686 if test -z "$LD"; then
5687 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5688 for ac_dir in $PATH; do
5690 test -z "$ac_dir" && ac_dir=.
5691 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5692 lt_cv_path_LD=$ac_dir/$ac_prog
5693 # Check to see if the program is GNU ld. I'd rather use --version,
5694 # but apparently some variants of GNU ld only accept -v.
5695 # Break only if it was the GNU/non-GNU ld that we prefer.
5696 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5697 *GNU* | *'with BFD'*)
5698 test no != "$with_gnu_ld" && break
5701 test yes != "$with_gnu_ld" && break
5708 lt_cv_path_LD=$LD # Let the user override the test with a path.
5713 if test -n "$LD"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5715 $as_echo "$LD" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5720 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5722 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5723 if ${lt_cv_prog_gnu_ld+:} false; then :
5724 $as_echo_n "(cached) " >&6
5726 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5727 case `$LD -v 2>&1 </dev/null` in
5728 *GNU* | *'with BFD'*)
5729 lt_cv_prog_gnu_ld=yes
5732 lt_cv_prog_gnu_ld=no
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5737 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5738 with_gnu_ld=$lt_cv_prog_gnu_ld
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5749 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5750 if ${lt_cv_path_NM+:} false; then :
5751 $as_echo_n "(cached) " >&6
5753 if test -n "$NM"; then
5754 # Let the user override the test.
5757 lt_nm_to_check=${ac_tool_prefix}nm
5758 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5759 lt_nm_to_check="$lt_nm_to_check nm"
5761 for lt_tmp_nm in $lt_nm_to_check; do
5762 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5763 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5765 test -z "$ac_dir" && ac_dir=.
5766 tmp_nm=$ac_dir/$lt_tmp_nm
5767 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5768 # Check to see if the nm accepts a BSD-compat flag.
5769 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5770 # nm: unknown option "B" ignored
5771 # Tru64's nm complains that /dev/null is an invalid object file
5772 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5774 mingw*) lt_bad_file=conftest.nm/nofile ;;
5775 *) lt_bad_file=/dev/null ;;
5777 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5778 *$lt_bad_file* | *'Invalid file or object type'*)
5779 lt_cv_path_NM="$tmp_nm -B"
5783 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5785 lt_cv_path_NM="$tmp_nm -p"
5789 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5790 continue # so that we can try to find one that supports BSD flags
5799 : ${lt_cv_path_NM=no}
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5803 $as_echo "$lt_cv_path_NM" >&6; }
5804 if test no != "$lt_cv_path_NM"; then
5807 # Didn't find any BSD compatible name lister, look for dumpbin.
5808 if test -n "$DUMPBIN"; then :
5809 # Let the user override the test.
5811 if test -n "$ac_tool_prefix"; then
5812 for ac_prog in dumpbin "link -dump"
5814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_DUMPBIN+:} false; then :
5819 $as_echo_n "(cached) " >&6
5821 if test -n "$DUMPBIN"; then
5822 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 DUMPBIN=$ac_cv_prog_DUMPBIN
5842 if test -n "$DUMPBIN"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5844 $as_echo "$DUMPBIN" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5851 test -n "$DUMPBIN" && break
5854 if test -z "$DUMPBIN"; then
5855 ac_ct_DUMPBIN=$DUMPBIN
5856 for ac_prog in dumpbin "link -dump"
5858 # Extract the first word of "$ac_prog", so it can be a program name with args.
5859 set dummy $ac_prog; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5863 $as_echo_n "(cached) " >&6
5865 if test -n "$ac_ct_DUMPBIN"; then
5866 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5886 if test -n "$ac_ct_DUMPBIN"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5888 $as_echo "$ac_ct_DUMPBIN" >&6; }
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5895 test -n "$ac_ct_DUMPBIN" && break
5898 if test "x$ac_ct_DUMPBIN" = x; then
5901 case $cross_compiling:$ac_tool_warned in
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5905 ac_tool_warned=yes ;;
5907 DUMPBIN=$ac_ct_DUMPBIN
5911 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
5913 DUMPBIN="$DUMPBIN -symbols -headers"
5921 if test : != "$DUMPBIN"; then
5925 test -z "$NM" && NM=nm
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5933 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5934 if ${lt_cv_nm_interface+:} false; then :
5935 $as_echo_n "(cached) " >&6
5937 lt_cv_nm_interface="BSD nm"
5938 echo "int some_variable = 0;" > conftest.$ac_ext
5939 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5940 (eval "$ac_compile" 2>conftest.err)
5941 cat conftest.err >&5
5942 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5943 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5944 cat conftest.err >&5
5945 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5946 cat conftest.out >&5
5947 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5948 lt_cv_nm_interface="MS dumpbin"
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5953 $as_echo "$lt_cv_nm_interface" >&6; }
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5956 $as_echo_n "checking whether ln -s works... " >&6; }
5958 if test "$LN_S" = "ln -s"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5960 $as_echo "yes" >&6; }
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5963 $as_echo "no, using $LN_S" >&6; }
5966 # find the maximum length of command line arguments
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5968 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5969 if ${lt_cv_sys_max_cmd_len+:} false; then :
5970 $as_echo_n "(cached) " >&6
5977 # On DJGPP, this test can blow up pretty badly due to problems in libc
5978 # (any single argument exceeding 2000 bytes causes a buffer overrun
5979 # during glob expansion). Even if it were fixed, the result of this
5980 # check would be larger than it should be.
5981 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5985 # Under GNU Hurd, this test is not required because there is
5986 # no limit to the length of command line arguments.
5987 # Libtool will interpret -1 as no limit whatsoever
5988 lt_cv_sys_max_cmd_len=-1;
5991 cygwin* | mingw* | cegcc*)
5992 # On Win9x/ME, this test blows up -- it succeeds, but takes
5993 # about 5 minutes as the teststring grows exponentially.
5994 # Worse, since 9x/ME are not pre-emptively multitasking,
5995 # you end up with a "frozen" computer, even though with patience
5996 # the test eventually succeeds (with a max line length of 256k).
5997 # Instead, let's just punt: use the minimum linelength reported by
5998 # all of the supported platforms: 8192 (on NT/2K/XP).
5999 lt_cv_sys_max_cmd_len=8192;
6003 # On MiNT this can take a long time and run out of memory.
6004 lt_cv_sys_max_cmd_len=8192;
6008 # On AmigaOS with pdksh, this test takes hours, literally.
6009 # So we just punt and use a minimum line length of 8192.
6010 lt_cv_sys_max_cmd_len=8192;
6013 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
6014 # This has been around since 386BSD, at least. Likely further.
6015 if test -x /sbin/sysctl; then
6016 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6017 elif test -x /usr/sbin/sysctl; then
6018 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6020 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6022 # And add a safety zone
6023 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6024 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6028 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6029 lt_cv_sys_max_cmd_len=196608
6033 # The test takes a long time on OS/2.
6034 lt_cv_sys_max_cmd_len=8192
6038 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6039 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6040 # nice to cause kernel panics so lets avoid the loop below.
6041 # First set a reasonable default.
6042 lt_cv_sys_max_cmd_len=16384
6044 if test -x /sbin/sysconfig; then
6045 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6046 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6051 lt_cv_sys_max_cmd_len=102400
6053 sysv5* | sco5v6* | sysv4.2uw2*)
6054 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6055 if test -n "$kargmax"; then
6056 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
6058 lt_cv_sys_max_cmd_len=32768
6062 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6063 if test -n "$lt_cv_sys_max_cmd_len" && \
6064 test undefined != "$lt_cv_sys_max_cmd_len"; then
6065 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6068 # Make teststring a little bigger before we do anything with it.
6069 # a 1K string should be a reasonable start.
6070 for i in 1 2 3 4 5 6 7 8; do
6071 teststring=$teststring$teststring
6073 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6074 # If test is not a shell built-in, we'll probably end up computing a
6075 # maximum length that is only half of the actual maximum length, but
6077 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6078 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6079 test 17 != "$i" # 1/2 MB should be enough
6082 teststring=$teststring$teststring
6084 # Only check the string length outside the loop.
6085 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6087 # Add a significant safety factor because C++ compilers can tack on
6088 # massive amounts of additional arguments before passing them to the
6089 # linker. It appears as though 1/2 is a usable value.
6090 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6097 if test -n "$lt_cv_sys_max_cmd_len"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6099 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6102 $as_echo "none" >&6; }
6104 max_cmd_len=$lt_cv_sys_max_cmd_len
6115 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6125 # test EBCDIC or ASCII
6126 case `echo X|tr X '\101'` in
6127 A) # ASCII based system
6128 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6129 lt_SP2NL='tr \040 \012'
6130 lt_NL2SP='tr \015\012 \040\040'
6132 *) # EBCDIC based system
6133 lt_SP2NL='tr \100 \n'
6134 lt_NL2SP='tr \r\n \100\100'
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6147 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6148 if ${lt_cv_to_host_file_cmd+:} false; then :
6149 $as_echo_n "(cached) " >&6
6154 *-*-mingw* ) # actually msys
6155 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6158 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6160 * ) # otherwise, assume *nix
6161 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6167 *-*-mingw* ) # actually msys
6168 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6171 lt_cv_to_host_file_cmd=func_convert_file_noop
6173 * ) # otherwise, assume *nix
6174 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6178 * ) # unhandled hosts (and "normal" native builds)
6179 lt_cv_to_host_file_cmd=func_convert_file_noop
6185 to_host_file_cmd=$lt_cv_to_host_file_cmd
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6187 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6194 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6195 if ${lt_cv_to_tool_file_cmd+:} false; then :
6196 $as_echo_n "(cached) " >&6
6198 #assume ordinary cross tools, or native build.
6199 lt_cv_to_tool_file_cmd=func_convert_file_noop
6203 *-*-mingw* ) # actually msys
6204 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6212 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6214 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6221 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6222 if ${lt_cv_ld_reload_flag+:} false; then :
6223 $as_echo_n "(cached) " >&6
6225 lt_cv_ld_reload_flag='-r'
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6228 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6229 reload_flag=$lt_cv_ld_reload_flag
6230 case $reload_flag in
6232 *) reload_flag=" $reload_flag" ;;
6234 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6236 cygwin* | mingw* | pw32* | cegcc*)
6237 if test yes != "$GCC"; then
6242 if test yes = "$GCC"; then
6243 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6245 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6258 if test -n "$ac_tool_prefix"; then
6259 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
6260 set dummy ${ac_tool_prefix}file; ac_word=$2
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6262 $as_echo_n "checking for $ac_word... " >&6; }
6263 if ${ac_cv_prog_FILECMD+:} false; then :
6264 $as_echo_n "(cached) " >&6
6266 if test -n "$FILECMD"; then
6267 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 test -z "$as_dir" && as_dir=.
6274 for ac_exec_ext in '' $ac_executable_extensions; do
6275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6276 ac_cv_prog_FILECMD="${ac_tool_prefix}file"
6277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6286 FILECMD=$ac_cv_prog_FILECMD
6287 if test -n "$FILECMD"; then
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6289 $as_echo "$FILECMD" >&6; }
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6292 $as_echo "no" >&6; }
6297 if test -z "$ac_cv_prog_FILECMD"; then
6298 ac_ct_FILECMD=$FILECMD
6299 # Extract the first word of "file", so it can be a program name with args.
6300 set dummy file; ac_word=$2
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6302 $as_echo_n "checking for $ac_word... " >&6; }
6303 if ${ac_cv_prog_ac_ct_FILECMD+:} false; then :
6304 $as_echo_n "(cached) " >&6
6306 if test -n "$ac_ct_FILECMD"; then
6307 ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316 ac_cv_prog_ac_ct_FILECMD="file"
6317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6326 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
6327 if test -n "$ac_ct_FILECMD"; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
6329 $as_echo "$ac_ct_FILECMD" >&6; }
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332 $as_echo "no" >&6; }
6335 if test "x$ac_ct_FILECMD" = x; then
6338 case $cross_compiling:$ac_tool_warned in
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6342 ac_tool_warned=yes ;;
6344 FILECMD=$ac_ct_FILECMD
6347 FILECMD="$ac_cv_prog_FILECMD"
6356 if test -n "$ac_tool_prefix"; then
6357 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6358 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6360 $as_echo_n "checking for $ac_word... " >&6; }
6361 if ${ac_cv_prog_OBJDUMP+:} false; then :
6362 $as_echo_n "(cached) " >&6
6364 if test -n "$OBJDUMP"; then
6365 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6371 test -z "$as_dir" && as_dir=.
6372 for ac_exec_ext in '' $ac_executable_extensions; do
6373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6374 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6384 OBJDUMP=$ac_cv_prog_OBJDUMP
6385 if test -n "$OBJDUMP"; then
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6387 $as_echo "$OBJDUMP" >&6; }
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6390 $as_echo "no" >&6; }
6395 if test -z "$ac_cv_prog_OBJDUMP"; then
6396 ac_ct_OBJDUMP=$OBJDUMP
6397 # Extract the first word of "objdump", so it can be a program name with args.
6398 set dummy objdump; ac_word=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6402 $as_echo_n "(cached) " >&6
6404 if test -n "$ac_ct_OBJDUMP"; then
6405 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir=.
6412 for ac_exec_ext in '' $ac_executable_extensions; do
6413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6414 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6425 if test -n "$ac_ct_OBJDUMP"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6427 $as_echo "$ac_ct_OBJDUMP" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430 $as_echo "no" >&6; }
6433 if test "x$ac_ct_OBJDUMP" = x; then
6436 case $cross_compiling:$ac_tool_warned in
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6440 ac_tool_warned=yes ;;
6442 OBJDUMP=$ac_ct_OBJDUMP
6445 OBJDUMP="$ac_cv_prog_OBJDUMP"
6448 test -z "$OBJDUMP" && OBJDUMP=objdump
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6456 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6457 if ${lt_cv_deplibs_check_method+:} false; then :
6458 $as_echo_n "(cached) " >&6
6460 lt_cv_file_magic_cmd='$MAGIC_CMD'
6461 lt_cv_file_magic_test_file=
6462 lt_cv_deplibs_check_method='unknown'
6463 # Need to set the preceding variable on all platforms that support
6464 # interlibrary dependencies.
6465 # 'none' -- dependencies not supported.
6466 # 'unknown' -- same as none, but documents that we really don't know.
6467 # 'pass_all' -- all dependencies passed with no checks.
6468 # 'test_compile' -- check by making test program.
6469 # 'file_magic [[regex]]' -- check by looking for files in library path
6470 # that responds to the $file_magic_cmd with a given extended regex.
6471 # If you have 'file' or equivalent on your system and you're not sure
6472 # whether 'pass_all' will *always* work, you probably want this one.
6476 lt_cv_deplibs_check_method=pass_all
6480 lt_cv_deplibs_check_method=pass_all
6484 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6485 lt_cv_file_magic_cmd='$FILECMD -L'
6486 lt_cv_file_magic_test_file=/shlib/libc.so
6490 # func_win32_libid is a shell function defined in ltmain.sh
6491 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6492 lt_cv_file_magic_cmd='func_win32_libid'
6496 # Base MSYS/MinGW do not provide the 'file' command needed by
6497 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6498 # unless we find 'file', for example because we are cross-compiling.
6499 if ( file / ) >/dev/null 2>&1; then
6500 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6501 lt_cv_file_magic_cmd='func_win32_libid'
6503 # Keep this pattern in sync with the one in func_win32_libid.
6504 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6505 lt_cv_file_magic_cmd='$OBJDUMP -f'
6510 # use the weaker test based on 'objdump'. See mingw*.
6511 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6512 lt_cv_file_magic_cmd='$OBJDUMP -f'
6515 darwin* | rhapsody*)
6516 lt_cv_deplibs_check_method=pass_all
6519 freebsd* | dragonfly* | midnightbsd*)
6520 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6523 # Not sure whether the presence of OpenBSD here was a mistake.
6524 # Let's accept both of them until this is cleared up.
6525 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6526 lt_cv_file_magic_cmd=$FILECMD
6527 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6531 lt_cv_deplibs_check_method=pass_all
6536 lt_cv_deplibs_check_method=pass_all
6539 hpux10.20* | hpux11*)
6540 lt_cv_file_magic_cmd=$FILECMD
6543 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6544 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6547 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]'
6548 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6551 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6552 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6558 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6559 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6562 irix5* | irix6* | nonstopux*)
6564 *-32|*"-32 ") libmagic=32-bit;;
6565 *-n32|*"-n32 ") libmagic=N32;;
6566 *-64|*"-64 ") libmagic=64-bit;;
6567 *) libmagic=never-match;;
6569 lt_cv_deplibs_check_method=pass_all
6572 # This must be glibc/ELF.
6573 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6574 lt_cv_deplibs_check_method=pass_all
6578 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6579 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6581 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6586 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6587 lt_cv_file_magic_cmd=$FILECMD
6588 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6592 lt_cv_deplibs_check_method=pass_all
6596 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6597 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6599 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6603 osf3* | osf4* | osf5*)
6604 lt_cv_deplibs_check_method=pass_all
6608 lt_cv_deplibs_check_method=pass_all
6612 lt_cv_deplibs_check_method=pass_all
6615 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6616 lt_cv_deplibs_check_method=pass_all
6620 case $host_vendor in
6622 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]'
6623 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6626 lt_cv_deplibs_check_method=pass_all
6629 lt_cv_file_magic_cmd='/bin/file'
6630 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6633 lt_cv_file_magic_cmd='/bin/file'
6634 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6635 lt_cv_file_magic_test_file=/lib/libc.so
6638 lt_cv_deplibs_check_method=pass_all
6641 lt_cv_deplibs_check_method=pass_all
6647 lt_cv_deplibs_check_method=pass_all
6650 lt_cv_deplibs_check_method=pass_all
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6656 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6660 if test "$build" = "$host"; then
6663 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6666 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6672 file_magic_cmd=$lt_cv_file_magic_cmd
6673 deplibs_check_method=$lt_cv_deplibs_check_method
6674 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6697 if test -n "$ac_tool_prefix"; then
6698 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6699 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6701 $as_echo_n "checking for $ac_word... " >&6; }
6702 if ${ac_cv_prog_DLLTOOL+:} false; then :
6703 $as_echo_n "(cached) " >&6
6705 if test -n "$DLLTOOL"; then
6706 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 test -z "$as_dir" && as_dir=.
6713 for ac_exec_ext in '' $ac_executable_extensions; do
6714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6715 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 DLLTOOL=$ac_cv_prog_DLLTOOL
6726 if test -n "$DLLTOOL"; then
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6728 $as_echo "$DLLTOOL" >&6; }
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6731 $as_echo "no" >&6; }
6736 if test -z "$ac_cv_prog_DLLTOOL"; then
6737 ac_ct_DLLTOOL=$DLLTOOL
6738 # Extract the first word of "dlltool", so it can be a program name with args.
6739 set dummy dlltool; ac_word=$2
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6741 $as_echo_n "checking for $ac_word... " >&6; }
6742 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6743 $as_echo_n "(cached) " >&6
6745 if test -n "$ac_ct_DLLTOOL"; then
6746 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752 test -z "$as_dir" && as_dir=.
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6766 if test -n "$ac_ct_DLLTOOL"; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6768 $as_echo "$ac_ct_DLLTOOL" >&6; }
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 $as_echo "no" >&6; }
6774 if test "x$ac_ct_DLLTOOL" = x; then
6777 case $cross_compiling:$ac_tool_warned in
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6781 ac_tool_warned=yes ;;
6783 DLLTOOL=$ac_ct_DLLTOOL
6786 DLLTOOL="$ac_cv_prog_DLLTOOL"
6789 test -z "$DLLTOOL" && DLLTOOL=dlltool
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6798 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6799 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6800 $as_echo_n "(cached) " >&6
6802 lt_cv_sharedlib_from_linklib_cmd='unknown'
6805 cygwin* | mingw* | pw32* | cegcc*)
6806 # two different shell functions defined in ltmain.sh;
6807 # decide which one to use based on capabilities of $DLLTOOL
6808 case `$DLLTOOL --help 2>&1` in
6809 *--identify-strict*)
6810 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6813 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6818 # fallback: assume linklib IS sharedlib
6819 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6825 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6826 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6827 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6835 if test -n "$ac_tool_prefix"; then
6838 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6839 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 $as_echo_n "checking for $ac_word... " >&6; }
6842 if ${ac_cv_prog_AR+:} false; then :
6843 $as_echo_n "(cached) " >&6
6845 if test -n "$AR"; then
6846 ac_cv_prog_AR="$AR" # Let the user override the test.
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir=.
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6855 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 if test -n "$AR"; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6868 $as_echo "$AR" >&6; }
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 $as_echo "no" >&6; }
6875 test -n "$AR" && break
6878 if test -z "$AR"; then
6882 # Extract the first word of "$ac_prog", so it can be a program name with args.
6883 set dummy $ac_prog; ac_word=$2
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6885 $as_echo_n "checking for $ac_word... " >&6; }
6886 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6887 $as_echo_n "(cached) " >&6
6889 if test -n "$ac_ct_AR"; then
6890 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6896 test -z "$as_dir" && as_dir=.
6897 for ac_exec_ext in '' $ac_executable_extensions; do
6898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6899 ac_cv_prog_ac_ct_AR="$ac_prog"
6900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6909 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6910 if test -n "$ac_ct_AR"; then
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6912 $as_echo "$ac_ct_AR" >&6; }
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6915 $as_echo "no" >&6; }
6919 test -n "$ac_ct_AR" && break
6922 if test "x$ac_ct_AR" = x; then
6925 case $cross_compiling:$ac_tool_warned in
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6929 ac_tool_warned=yes ;;
6942 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
6943 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6944 # higher priority because thats what people were doing historically (setting
6945 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
6946 # variable obsoleted/removed.
6948 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6949 lt_ar_flags=$AR_FLAGS
6956 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
6957 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6965 $as_echo_n "checking for archiver @FILE support... " >&6; }
6966 if ${lt_cv_ar_at_file+:} false; then :
6967 $as_echo_n "(cached) " >&6
6970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6971 /* end confdefs.h. */
6981 if ac_fn_c_try_compile "$LINENO"; then :
6982 echo conftest.$ac_objext > conftest.lst
6983 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6984 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6985 (eval $lt_ar_try) 2>&5
6987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6988 test $ac_status = 0; }
6989 if test 0 -eq "$ac_status"; then
6990 # Ensure the archiver fails upon bogus file names.
6991 rm -f conftest.$ac_objext libconftest.a
6992 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6993 (eval $lt_ar_try) 2>&5
6995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6996 test $ac_status = 0; }
6997 if test 0 -ne "$ac_status"; then
7001 rm -f conftest.* libconftest.a
7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7008 $as_echo "$lt_cv_ar_at_file" >&6; }
7010 if test no = "$lt_cv_ar_at_file"; then
7013 archiver_list_spec=$lt_cv_ar_at_file
7022 if test -n "$ac_tool_prefix"; then
7023 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7024 set dummy ${ac_tool_prefix}strip; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_STRIP+:} false; then :
7028 $as_echo_n "(cached) " >&6
7030 if test -n "$STRIP"; then
7031 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir=.
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7040 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 STRIP=$ac_cv_prog_STRIP
7051 if test -n "$STRIP"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7053 $as_echo "$STRIP" >&6; }
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7061 if test -z "$ac_cv_prog_STRIP"; then
7063 # Extract the first word of "strip", so it can be a program name with args.
7064 set dummy strip; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7068 $as_echo_n "(cached) " >&6
7070 if test -n "$ac_ct_STRIP"; then
7071 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir=.
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7080 ac_cv_prog_ac_ct_STRIP="strip"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7091 if test -n "$ac_ct_STRIP"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7093 $as_echo "$ac_ct_STRIP" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7099 if test "x$ac_ct_STRIP" = x; then
7102 case $cross_compiling:$ac_tool_warned in
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7106 ac_tool_warned=yes ;;
7111 STRIP="$ac_cv_prog_STRIP"
7114 test -z "$STRIP" && STRIP=:
7121 if test -n "$ac_tool_prefix"; then
7122 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7123 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7125 $as_echo_n "checking for $ac_word... " >&6; }
7126 if ${ac_cv_prog_RANLIB+:} false; then :
7127 $as_echo_n "(cached) " >&6
7129 if test -n "$RANLIB"; then
7130 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 test -z "$as_dir" && as_dir=.
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7139 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7149 RANLIB=$ac_cv_prog_RANLIB
7150 if test -n "$RANLIB"; then
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7152 $as_echo "$RANLIB" >&6; }
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155 $as_echo "no" >&6; }
7160 if test -z "$ac_cv_prog_RANLIB"; then
7161 ac_ct_RANLIB=$RANLIB
7162 # Extract the first word of "ranlib", so it can be a program name with args.
7163 set dummy ranlib; ac_word=$2
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 $as_echo_n "checking for $ac_word... " >&6; }
7166 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7167 $as_echo_n "(cached) " >&6
7169 if test -n "$ac_ct_RANLIB"; then
7170 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 test -z "$as_dir" && as_dir=.
7177 for ac_exec_ext in '' $ac_executable_extensions; do
7178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7179 ac_cv_prog_ac_ct_RANLIB="ranlib"
7180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7189 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7190 if test -n "$ac_ct_RANLIB"; then
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7192 $as_echo "$ac_ct_RANLIB" >&6; }
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7195 $as_echo "no" >&6; }
7198 if test "x$ac_ct_RANLIB" = x; then
7201 case $cross_compiling:$ac_tool_warned in
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7205 ac_tool_warned=yes ;;
7207 RANLIB=$ac_ct_RANLIB
7210 RANLIB="$ac_cv_prog_RANLIB"
7213 test -z "$RANLIB" && RANLIB=:
7220 # Determine commands to create old-style static archives.
7221 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7222 old_postinstall_cmds='chmod 644 $oldlib'
7223 old_postuninstall_cmds=
7225 if test -n "$RANLIB"; then
7228 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7231 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7234 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7239 lock_old_archive_extraction=yes ;;
7241 lock_old_archive_extraction=no ;;
7282 # If no C compiler was specified, use CC.
7285 # If no C compiler flags were specified, use CFLAGS.
7286 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7288 # Allow CC to be a program name with arguments.
7292 # Check for command to grab the raw symbol name followed by C symbol from nm.
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7294 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7295 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7296 $as_echo_n "(cached) " >&6
7299 # These are sane defaults that work on at least a few old systems.
7300 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7302 # Character class describing NM global symbol codes.
7303 symcode='[BCDEGRST]'
7305 # Regexp to match symbols that can be accessed directly from C.
7306 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7308 # Define system-specific variables.
7313 cygwin* | mingw* | pw32* | cegcc*)
7314 symcode='[ABCDGISTW]'
7317 if test ia64 = "$host_cpu"; then
7318 symcode='[ABCDEGRST]'
7322 symcode='[BCDEGRST]'
7325 symcode='[BCDEGQRST]'
7336 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7344 # If we're using GNU nm, then use its standard symbol codes.
7345 case `$NM -V 2>&1` in
7346 *GNU* | *'with BFD'*)
7347 symcode='[ABCDGIRSTW]' ;;
7350 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7351 # Gets list of data symbols to import.
7352 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7353 # Adjust the below global symbol transforms to fixup imported variables.
7354 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7355 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7356 lt_c_name_lib_hook="\
7357 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7358 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7360 # Disable hooks by default.
7361 lt_cv_sys_global_symbol_to_import=
7367 # Transform an extracted symbol line into a proper C declaration.
7368 # Some systems (esp. on ia64) link data and code symbols differently,
7369 # so use this general approach.
7370 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7372 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7373 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7375 # Transform an extracted symbol line into symbol name and symbol address
7376 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7378 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7379 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7381 # Transform an extracted symbol line into symbol name with lib prefix and
7383 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7384 $lt_c_name_lib_hook\
7385 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7386 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7387 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7389 # Handle CRLF in mingw tool chain
7393 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7397 # Try without a prefix underscore, then with it.
7398 for ac_symprfx in "" "_"; do
7400 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7401 symxfrm="\\1 $ac_symprfx\\2 \\2"
7403 # Write the raw and C identifiers.
7404 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7405 # Fake it for dumpbin and say T for any non-static function,
7406 # D for any global variable and I for any imported variable.
7407 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7408 # which start with @ or ?.
7409 lt_cv_sys_global_symbol_pipe="$AWK '"\
7410 " {last_section=section; section=\$ 3};"\
7411 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7412 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7413 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7414 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7415 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7416 " \$ 0!~/External *\|/{next};"\
7417 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7418 " {if(hide[section]) next};"\
7419 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7420 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7421 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7422 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7423 " ' prfx=^$ac_symprfx"
7425 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7427 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7429 # Check to see that the pipe works correctly.
7433 cat > conftest.$ac_ext <<_LT_EOF
7438 void nm_test_func(void);
7439 void nm_test_func(void){}
7443 int main(){nm_test_var='a';nm_test_func();return(0);}
7446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7447 (eval $ac_compile) 2>&5
7449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7450 test $ac_status = 0; }; then
7451 # Now try to grab the symbols.
7453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7454 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7457 test $ac_status = 0; } && test -s "$nlist"; then
7458 # Try sorting and uniquifying the output.
7459 if sort "$nlist" | uniq > "$nlist"T; then
7460 mv -f "$nlist"T "$nlist"
7465 # Make sure that we snagged all the symbols we need.
7466 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7467 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7468 cat <<_LT_EOF > conftest.$ac_ext
7469 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7470 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7471 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7472 relocations are performed -- see ld's documentation on pseudo-relocs. */
7473 # define LT_DLSYM_CONST
7474 #elif defined __osf__
7475 /* This system does not cope well with relocations in const data. */
7476 # define LT_DLSYM_CONST
7478 # define LT_DLSYM_CONST const
7486 # Now generate the symbol file.
7487 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7489 cat <<_LT_EOF >> conftest.$ac_ext
7491 /* The mapping between symbol names and symbols. */
7492 LT_DLSYM_CONST struct {
7496 lt__PROGRAM__LTX_preloaded_symbols[] =
7498 { "@PROGRAM@", (void *) 0 },
7500 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7501 cat <<\_LT_EOF >> conftest.$ac_ext
7505 /* This works around a problem in FreeBSD linker */
7506 #ifdef FREEBSD_WORKAROUND
7507 static const void *lt_preloaded_setup() {
7508 return lt__PROGRAM__LTX_preloaded_symbols;
7516 # Now try linking the two files.
7517 mv conftest.$ac_objext conftstm.$ac_objext
7518 lt_globsym_save_LIBS=$LIBS
7519 lt_globsym_save_CFLAGS=$CFLAGS
7520 LIBS=conftstm.$ac_objext
7521 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7523 (eval $ac_link) 2>&5
7525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7526 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7529 LIBS=$lt_globsym_save_LIBS
7530 CFLAGS=$lt_globsym_save_CFLAGS
7532 echo "cannot find nm_test_func in $nlist" >&5
7535 echo "cannot find nm_test_var in $nlist" >&5
7538 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7541 echo "$progname: failed program was:" >&5
7542 cat conftest.$ac_ext >&5
7544 rm -rf conftest* conftst*
7546 # Do not use the global_symbol_pipe unless it works.
7547 if test yes = "$pipe_works"; then
7550 lt_cv_sys_global_symbol_pipe=
7556 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7557 lt_cv_sys_global_symbol_to_cdecl=
7559 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7561 $as_echo "failed" >&6; }
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7564 $as_echo "ok" >&6; }
7567 # Response file support.
7568 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7569 nm_file_list_spec='@'
7570 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7571 nm_file_list_spec='@'
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7611 $as_echo_n "checking for sysroot... " >&6; }
7613 # Check whether --with-sysroot was given.
7614 if test "${with_sysroot+set}" = set; then :
7615 withval=$with_sysroot;
7622 case $with_sysroot in #(
7624 if test yes = "$GCC"; then
7625 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7629 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7635 $as_echo "$with_sysroot" >&6; }
7636 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7641 $as_echo "${lt_sysroot:-no}" >&6; }
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7648 $as_echo_n "checking for a working dd... " >&6; }
7649 if ${ac_cv_path_lt_DD+:} false; then :
7650 $as_echo_n "(cached) " >&6
7652 printf 0123456789abcdef0123456789abcdef >conftest.i
7653 cat conftest.i conftest.i >conftest2.i
7655 if test -z "$lt_DD"; then
7656 ac_path_lt_DD_found=false
7657 # Loop through the user's path and test for each of PROGNAME-LIST
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 test -z "$as_dir" && as_dir=.
7663 for ac_prog in dd; do
7664 for ac_exec_ext in '' $ac_executable_extensions; do
7665 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7666 as_fn_executable_p "$ac_path_lt_DD" || continue
7667 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7668 cmp -s conftest.i conftest.out \
7669 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7671 $ac_path_lt_DD_found && break 3
7676 if test -z "$ac_cv_path_lt_DD"; then
7680 ac_cv_path_lt_DD=$lt_DD
7683 rm -f conftest.i conftest2.i conftest.out
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7686 $as_echo "$ac_cv_path_lt_DD" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7690 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7691 if ${lt_cv_truncate_bin+:} false; then :
7692 $as_echo_n "(cached) " >&6
7694 printf 0123456789abcdef0123456789abcdef >conftest.i
7695 cat conftest.i conftest.i >conftest2.i
7697 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7698 cmp -s conftest.i conftest.out \
7699 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7701 rm -f conftest.i conftest2.i conftest.out
7702 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7705 $as_echo "$lt_cv_truncate_bin" >&6; }
7713 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7716 for cc_temp in $*""; do
7718 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7719 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7724 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7727 # Check whether --enable-libtool-lock was given.
7728 if test "${enable_libtool_lock+set}" = set; then :
7729 enableval=$enable_libtool_lock;
7732 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7734 # Some flags need to be propagated to the compiler or linker for good
7738 # Find out what ABI is being produced by ac_compile, and set mode
7739 # options accordingly.
7740 echo 'int i;' > conftest.$ac_ext
7741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7742 (eval $ac_compile) 2>&5
7744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7745 test $ac_status = 0; }; then
7746 case `$FILECMD conftest.$ac_objext` in
7758 # Find out what ABI is being produced by ac_compile, and set linker
7759 # options accordingly.
7760 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7761 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7762 (eval $ac_compile) 2>&5
7764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7765 test $ac_status = 0; }; then
7766 if test yes = "$lt_cv_prog_gnu_ld"; then
7767 case `$FILECMD conftest.$ac_objext` in
7769 LD="${LD-ld} -melf32bsmip"
7772 LD="${LD-ld} -melf32bmipn32"
7775 LD="${LD-ld} -melf64bmip"
7779 case `$FILECMD conftest.$ac_objext` in
7796 # Find out what ABI is being produced by ac_compile, and set linker
7797 # options accordingly.
7798 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7800 (eval $ac_compile) 2>&5
7802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7803 test $ac_status = 0; }; then
7805 case `$FILECMD conftest.$ac_objext` in
7813 case `$FILECMD conftest.$ac_objext` in
7815 emul="${emul}btsmip"
7818 emul="${emul}ltsmip"
7821 case `$FILECMD conftest.$ac_objext` in
7826 LD="${LD-ld} -m $emul"
7831 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7832 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7833 # Find out what ABI is being produced by ac_compile, and set linker
7834 # options accordingly. Note that the listed cases only cover the
7835 # situations where additional linker options are needed (such as when
7836 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7837 # vice versa); the common cases where no linker options are needed do
7838 # not appear in the list.
7839 echo 'int i;' > conftest.$ac_ext
7840 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7841 (eval $ac_compile) 2>&5
7843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7844 test $ac_status = 0; }; then
7845 case `$FILECMD conftest.o` in
7848 x86_64-*kfreebsd*-gnu)
7849 LD="${LD-ld} -m elf_i386_fbsd"
7852 case `$FILECMD conftest.o` in
7854 LD="${LD-ld} -m elf32_x86_64"
7857 LD="${LD-ld} -m elf_i386"
7861 powerpc64le-*linux*)
7862 LD="${LD-ld} -m elf32lppclinux"
7865 LD="${LD-ld} -m elf32ppclinux"
7868 LD="${LD-ld} -m elf_s390"
7871 LD="${LD-ld} -m elf32_sparc"
7877 x86_64-*kfreebsd*-gnu)
7878 LD="${LD-ld} -m elf_x86_64_fbsd"
7881 LD="${LD-ld} -m elf_x86_64"
7884 LD="${LD-ld} -m elf64lppc"
7887 LD="${LD-ld} -m elf64ppc"
7889 s390*-*linux*|s390*-*tpf*)
7890 LD="${LD-ld} -m elf64_s390"
7893 LD="${LD-ld} -m elf64_sparc"
7903 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7905 CFLAGS="$CFLAGS -belf"
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7907 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7908 if ${lt_cv_cc_needs_belf+:} false; then :
7909 $as_echo_n "(cached) " >&6
7912 ac_cpp='$CPP $CPPFLAGS'
7913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7918 /* end confdefs.h. */
7928 if ac_fn_c_try_link "$LINENO"; then :
7929 lt_cv_cc_needs_belf=yes
7931 lt_cv_cc_needs_belf=no
7933 rm -f core conftest.err conftest.$ac_objext \
7934 conftest$ac_exeext conftest.$ac_ext
7936 ac_cpp='$CPP $CPPFLAGS'
7937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7943 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7944 if test yes != "$lt_cv_cc_needs_belf"; then
7945 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7950 # Find out what ABI is being produced by ac_compile, and set linker
7951 # options accordingly.
7952 echo 'int i;' > conftest.$ac_ext
7953 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7954 (eval $ac_compile) 2>&5
7956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7957 test $ac_status = 0; }; then
7958 case `$FILECMD conftest.o` in
7960 case $lt_cv_prog_gnu_ld in
7963 i?86-*-solaris*|x86_64-*-solaris*)
7964 LD="${LD-ld} -m elf_x86_64"
7967 LD="${LD-ld} -m elf64_sparc"
7970 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7971 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7976 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7988 need_locks=$enable_libtool_lock
7990 if test -n "$ac_tool_prefix"; then
7991 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7992 set dummy ${ac_tool_prefix}mt; ac_word=$2
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7994 $as_echo_n "checking for $ac_word... " >&6; }
7995 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7996 $as_echo_n "(cached) " >&6
7998 if test -n "$MANIFEST_TOOL"; then
7999 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8005 test -z "$as_dir" && as_dir=.
8006 for ac_exec_ext in '' $ac_executable_extensions; do
8007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8008 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8018 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8019 if test -n "$MANIFEST_TOOL"; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8021 $as_echo "$MANIFEST_TOOL" >&6; }
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024 $as_echo "no" >&6; }
8029 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8030 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8031 # Extract the first word of "mt", so it can be a program name with args.
8032 set dummy mt; ac_word=$2
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8034 $as_echo_n "checking for $ac_word... " >&6; }
8035 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8036 $as_echo_n "(cached) " >&6
8038 if test -n "$ac_ct_MANIFEST_TOOL"; then
8039 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8048 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8059 if test -n "$ac_ct_MANIFEST_TOOL"; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8061 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8064 $as_echo "no" >&6; }
8067 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8070 case $cross_compiling:$ac_tool_warned in
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8074 ac_tool_warned=yes ;;
8076 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8079 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8082 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8084 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8085 if ${lt_cv_path_mainfest_tool+:} false; then :
8086 $as_echo_n "(cached) " >&6
8088 lt_cv_path_mainfest_tool=no
8089 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8090 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8091 cat conftest.err >&5
8092 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8093 lt_cv_path_mainfest_tool=yes
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8098 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8099 if test yes != "$lt_cv_path_mainfest_tool"; then
8109 rhapsody* | darwin*)
8110 if test -n "$ac_tool_prefix"; then
8111 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8112 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8114 $as_echo_n "checking for $ac_word... " >&6; }
8115 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8116 $as_echo_n "(cached) " >&6
8118 if test -n "$DSYMUTIL"; then
8119 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8128 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8138 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8139 if test -n "$DSYMUTIL"; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8141 $as_echo "$DSYMUTIL" >&6; }
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8149 if test -z "$ac_cv_prog_DSYMUTIL"; then
8150 ac_ct_DSYMUTIL=$DSYMUTIL
8151 # Extract the first word of "dsymutil", so it can be a program name with args.
8152 set dummy dsymutil; ac_word=$2
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8154 $as_echo_n "checking for $ac_word... " >&6; }
8155 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8156 $as_echo_n "(cached) " >&6
8158 if test -n "$ac_ct_DSYMUTIL"; then
8159 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8165 test -z "$as_dir" && as_dir=.
8166 for ac_exec_ext in '' $ac_executable_extensions; do
8167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8168 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8178 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8179 if test -n "$ac_ct_DSYMUTIL"; then
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8181 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8184 $as_echo "no" >&6; }
8187 if test "x$ac_ct_DSYMUTIL" = x; then
8190 case $cross_compiling:$ac_tool_warned in
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8194 ac_tool_warned=yes ;;
8196 DSYMUTIL=$ac_ct_DSYMUTIL
8199 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8202 if test -n "$ac_tool_prefix"; then
8203 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8204 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8206 $as_echo_n "checking for $ac_word... " >&6; }
8207 if ${ac_cv_prog_NMEDIT+:} false; then :
8208 $as_echo_n "(cached) " >&6
8210 if test -n "$NMEDIT"; then
8211 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8217 test -z "$as_dir" && as_dir=.
8218 for ac_exec_ext in '' $ac_executable_extensions; do
8219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8220 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8230 NMEDIT=$ac_cv_prog_NMEDIT
8231 if test -n "$NMEDIT"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8233 $as_echo "$NMEDIT" >&6; }
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8241 if test -z "$ac_cv_prog_NMEDIT"; then
8242 ac_ct_NMEDIT=$NMEDIT
8243 # Extract the first word of "nmedit", so it can be a program name with args.
8244 set dummy nmedit; ac_word=$2
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8246 $as_echo_n "checking for $ac_word... " >&6; }
8247 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8248 $as_echo_n "(cached) " >&6
8250 if test -n "$ac_ct_NMEDIT"; then
8251 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8257 test -z "$as_dir" && as_dir=.
8258 for ac_exec_ext in '' $ac_executable_extensions; do
8259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8260 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8270 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8271 if test -n "$ac_ct_NMEDIT"; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8273 $as_echo "$ac_ct_NMEDIT" >&6; }
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8279 if test "x$ac_ct_NMEDIT" = x; then
8282 case $cross_compiling:$ac_tool_warned in
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8286 ac_tool_warned=yes ;;
8288 NMEDIT=$ac_ct_NMEDIT
8291 NMEDIT="$ac_cv_prog_NMEDIT"
8294 if test -n "$ac_tool_prefix"; then
8295 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8296 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8298 $as_echo_n "checking for $ac_word... " >&6; }
8299 if ${ac_cv_prog_LIPO+:} false; then :
8300 $as_echo_n "(cached) " >&6
8302 if test -n "$LIPO"; then
8303 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8309 test -z "$as_dir" && as_dir=.
8310 for ac_exec_ext in '' $ac_executable_extensions; do
8311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8312 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8322 LIPO=$ac_cv_prog_LIPO
8323 if test -n "$LIPO"; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8325 $as_echo "$LIPO" >&6; }
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8328 $as_echo "no" >&6; }
8333 if test -z "$ac_cv_prog_LIPO"; then
8335 # Extract the first word of "lipo", so it can be a program name with args.
8336 set dummy lipo; ac_word=$2
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8338 $as_echo_n "checking for $ac_word... " >&6; }
8339 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8340 $as_echo_n "(cached) " >&6
8342 if test -n "$ac_ct_LIPO"; then
8343 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8349 test -z "$as_dir" && as_dir=.
8350 for ac_exec_ext in '' $ac_executable_extensions; do
8351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8352 ac_cv_prog_ac_ct_LIPO="lipo"
8353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8362 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8363 if test -n "$ac_ct_LIPO"; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8365 $as_echo "$ac_ct_LIPO" >&6; }
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8368 $as_echo "no" >&6; }
8371 if test "x$ac_ct_LIPO" = x; then
8374 case $cross_compiling:$ac_tool_warned in
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8378 ac_tool_warned=yes ;;
8383 LIPO="$ac_cv_prog_LIPO"
8386 if test -n "$ac_tool_prefix"; then
8387 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8388 set dummy ${ac_tool_prefix}otool; ac_word=$2
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8390 $as_echo_n "checking for $ac_word... " >&6; }
8391 if ${ac_cv_prog_OTOOL+:} false; then :
8392 $as_echo_n "(cached) " >&6
8394 if test -n "$OTOOL"; then
8395 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8401 test -z "$as_dir" && as_dir=.
8402 for ac_exec_ext in '' $ac_executable_extensions; do
8403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8404 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8414 OTOOL=$ac_cv_prog_OTOOL
8415 if test -n "$OTOOL"; then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8417 $as_echo "$OTOOL" >&6; }
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8420 $as_echo "no" >&6; }
8425 if test -z "$ac_cv_prog_OTOOL"; then
8427 # Extract the first word of "otool", so it can be a program name with args.
8428 set dummy otool; ac_word=$2
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8430 $as_echo_n "checking for $ac_word... " >&6; }
8431 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8432 $as_echo_n "(cached) " >&6
8434 if test -n "$ac_ct_OTOOL"; then
8435 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8441 test -z "$as_dir" && as_dir=.
8442 for ac_exec_ext in '' $ac_executable_extensions; do
8443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8444 ac_cv_prog_ac_ct_OTOOL="otool"
8445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8454 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8455 if test -n "$ac_ct_OTOOL"; then
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8457 $as_echo "$ac_ct_OTOOL" >&6; }
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8460 $as_echo "no" >&6; }
8463 if test "x$ac_ct_OTOOL" = x; then
8466 case $cross_compiling:$ac_tool_warned in
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8470 ac_tool_warned=yes ;;
8475 OTOOL="$ac_cv_prog_OTOOL"
8478 if test -n "$ac_tool_prefix"; then
8479 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8480 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8482 $as_echo_n "checking for $ac_word... " >&6; }
8483 if ${ac_cv_prog_OTOOL64+:} false; then :
8484 $as_echo_n "(cached) " >&6
8486 if test -n "$OTOOL64"; then
8487 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8493 test -z "$as_dir" && as_dir=.
8494 for ac_exec_ext in '' $ac_executable_extensions; do
8495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8496 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8506 OTOOL64=$ac_cv_prog_OTOOL64
8507 if test -n "$OTOOL64"; then
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8509 $as_echo "$OTOOL64" >&6; }
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8512 $as_echo "no" >&6; }
8517 if test -z "$ac_cv_prog_OTOOL64"; then
8518 ac_ct_OTOOL64=$OTOOL64
8519 # Extract the first word of "otool64", so it can be a program name with args.
8520 set dummy otool64; ac_word=$2
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8522 $as_echo_n "checking for $ac_word... " >&6; }
8523 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8524 $as_echo_n "(cached) " >&6
8526 if test -n "$ac_ct_OTOOL64"; then
8527 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8533 test -z "$as_dir" && as_dir=.
8534 for ac_exec_ext in '' $ac_executable_extensions; do
8535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8536 ac_cv_prog_ac_ct_OTOOL64="otool64"
8537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8546 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8547 if test -n "$ac_ct_OTOOL64"; then
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8549 $as_echo "$ac_ct_OTOOL64" >&6; }
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8552 $as_echo "no" >&6; }
8555 if test "x$ac_ct_OTOOL64" = x; then
8558 case $cross_compiling:$ac_tool_warned in
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8562 ac_tool_warned=yes ;;
8564 OTOOL64=$ac_ct_OTOOL64
8567 OTOOL64="$ac_cv_prog_OTOOL64"
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8597 $as_echo_n "checking for -single_module linker flag... " >&6; }
8598 if ${lt_cv_apple_cc_single_mod+:} false; then :
8599 $as_echo_n "(cached) " >&6
8601 lt_cv_apple_cc_single_mod=no
8602 if test -z "$LT_MULTI_MODULE"; then
8603 # By default we will add the -single_module flag. You can override
8604 # by either setting the environment variable LT_MULTI_MODULE
8605 # non-empty at configure time, or by adding -multi_module to the
8607 rm -rf libconftest.dylib*
8608 echo "int foo(void){return 1;}" > conftest.c
8609 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8610 -dynamiclib -Wl,-single_module conftest.c" >&5
8611 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8612 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8614 # If there is a non-empty error log, and "single_module"
8615 # appears in it, assume the flag caused a linker warning
8616 if test -s conftest.err && $GREP single_module conftest.err; then
8617 cat conftest.err >&5
8618 # Otherwise, if the output was created with a 0 exit code from
8619 # the compiler, it worked.
8620 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8621 lt_cv_apple_cc_single_mod=yes
8623 cat conftest.err >&5
8625 rm -rf libconftest.dylib*
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8630 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8633 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8634 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8635 $as_echo_n "(cached) " >&6
8637 lt_cv_ld_exported_symbols_list=no
8638 save_LDFLAGS=$LDFLAGS
8639 echo "_main" > conftest.sym
8640 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8642 /* end confdefs.h. */
8652 if ac_fn_c_try_link "$LINENO"; then :
8653 lt_cv_ld_exported_symbols_list=yes
8655 lt_cv_ld_exported_symbols_list=no
8657 rm -f core conftest.err conftest.$ac_objext \
8658 conftest$ac_exeext conftest.$ac_ext
8659 LDFLAGS=$save_LDFLAGS
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8663 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8666 $as_echo_n "checking for -force_load linker flag... " >&6; }
8667 if ${lt_cv_ld_force_load+:} false; then :
8668 $as_echo_n "(cached) " >&6
8670 lt_cv_ld_force_load=no
8671 cat > conftest.c << _LT_EOF
8672 int forced_loaded() { return 2;}
8674 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8675 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8676 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8677 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8678 echo "$RANLIB libconftest.a" >&5
8679 $RANLIB libconftest.a 2>&5
8680 cat > conftest.c << _LT_EOF
8681 int main() { return 0;}
8683 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8684 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8686 if test -s conftest.err && $GREP force_load conftest.err; then
8687 cat conftest.err >&5
8688 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8689 lt_cv_ld_force_load=yes
8691 cat conftest.err >&5
8693 rm -f conftest.err libconftest.a conftest conftest.c
8694 rm -rf conftest.dSYM
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8698 $as_echo "$lt_cv_ld_force_load" >&6; }
8700 rhapsody* | darwin1.[012])
8701 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8703 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8705 case $MACOSX_DEPLOYMENT_TARGET,$host in
8706 10.[012],*|,*powerpc*-darwin[5-8]*)
8707 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8709 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8713 if test yes = "$lt_cv_apple_cc_single_mod"; then
8714 _lt_dar_single_mod='$single_module'
8716 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8717 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8719 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8721 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8722 _lt_dsymutil='~$DSYMUTIL $lib || :'
8729 # func_munge_path_list VARIABLE PATH
8730 # -----------------------------------
8731 # VARIABLE is name of variable containing _space_ separated list of
8732 # directories to be munged by the contents of PATH, which is string
8735 # string "DIR[ DIR]" will be prepended to VARIABLE
8737 # string "DIR[ DIR]" will be appended to VARIABLE
8738 # "DIRP[:DIRP]::[DIRA:]DIRA"
8739 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8740 # "DIRA[ DIRA]" will be appended to VARIABLE
8742 # VARIABLE will be replaced by "DIR[ DIR]"
8743 func_munge_path_list ()
8749 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8752 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8755 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8756 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8759 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8765 $as_echo_n "checking for ANSI C header files... " >&6; }
8766 if ${ac_cv_header_stdc+:} false; then :
8767 $as_echo_n "(cached) " >&6
8769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8770 /* end confdefs.h. */
8784 if ac_fn_c_try_compile "$LINENO"; then :
8785 ac_cv_header_stdc=yes
8787 ac_cv_header_stdc=no
8789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8791 if test $ac_cv_header_stdc = yes; then
8792 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8794 /* end confdefs.h. */
8798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8799 $EGREP "memchr" >/dev/null 2>&1; then :
8802 ac_cv_header_stdc=no
8808 if test $ac_cv_header_stdc = yes; then
8809 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8816 $EGREP "free" >/dev/null 2>&1; then :
8819 ac_cv_header_stdc=no
8825 if test $ac_cv_header_stdc = yes; then
8826 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8827 if test "$cross_compiling" = yes; then :
8830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8831 /* end confdefs.h. */
8834 #if ((' ' & 0x0FF) == 0x020)
8835 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8836 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8838 # define ISLOWER(c) \
8839 (('a' <= (c) && (c) <= 'i') \
8840 || ('j' <= (c) && (c) <= 'r') \
8841 || ('s' <= (c) && (c) <= 'z'))
8842 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8845 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8850 for (i = 0; i < 256; i++)
8851 if (XOR (islower (i), ISLOWER (i))
8852 || toupper (i) != TOUPPER (i))
8857 if ac_fn_c_try_run "$LINENO"; then :
8860 ac_cv_header_stdc=no
8862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8863 conftest.$ac_objext conftest.beam conftest.$ac_ext
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8869 $as_echo "$ac_cv_header_stdc" >&6; }
8870 if test $ac_cv_header_stdc = yes; then
8872 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8876 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8877 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8878 inttypes.h stdint.h unistd.h
8880 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8881 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8883 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8884 cat >>confdefs.h <<_ACEOF
8885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8893 for ac_header in dlfcn.h
8895 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8897 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8898 cat >>confdefs.h <<_ACEOF
8899 #define HAVE_DLFCN_H 1
8912 enable_win32_dll=yes
8915 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8916 if test -n "$ac_tool_prefix"; then
8917 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8918 set dummy ${ac_tool_prefix}as; ac_word=$2
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8920 $as_echo_n "checking for $ac_word... " >&6; }
8921 if ${ac_cv_prog_AS+:} false; then :
8922 $as_echo_n "(cached) " >&6
8924 if test -n "$AS"; then
8925 ac_cv_prog_AS="$AS" # Let the user override the test.
8927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8931 test -z "$as_dir" && as_dir=.
8932 for ac_exec_ext in '' $ac_executable_extensions; do
8933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8934 ac_cv_prog_AS="${ac_tool_prefix}as"
8935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8945 if test -n "$AS"; then
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8947 $as_echo "$AS" >&6; }
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8950 $as_echo "no" >&6; }
8955 if test -z "$ac_cv_prog_AS"; then
8957 # Extract the first word of "as", so it can be a program name with args.
8958 set dummy as; ac_word=$2
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8960 $as_echo_n "checking for $ac_word... " >&6; }
8961 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8962 $as_echo_n "(cached) " >&6
8964 if test -n "$ac_ct_AS"; then
8965 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8971 test -z "$as_dir" && as_dir=.
8972 for ac_exec_ext in '' $ac_executable_extensions; do
8973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8974 ac_cv_prog_ac_ct_AS="as"
8975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8984 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8985 if test -n "$ac_ct_AS"; then
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8987 $as_echo "$ac_ct_AS" >&6; }
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990 $as_echo "no" >&6; }
8993 if test "x$ac_ct_AS" = x; then
8996 case $cross_compiling:$ac_tool_warned in
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9000 ac_tool_warned=yes ;;
9008 if test -n "$ac_tool_prefix"; then
9009 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9010 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9012 $as_echo_n "checking for $ac_word... " >&6; }
9013 if ${ac_cv_prog_DLLTOOL+:} false; then :
9014 $as_echo_n "(cached) " >&6
9016 if test -n "$DLLTOOL"; then
9017 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9023 test -z "$as_dir" && as_dir=.
9024 for ac_exec_ext in '' $ac_executable_extensions; do
9025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9026 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9036 DLLTOOL=$ac_cv_prog_DLLTOOL
9037 if test -n "$DLLTOOL"; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9039 $as_echo "$DLLTOOL" >&6; }
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9042 $as_echo "no" >&6; }
9047 if test -z "$ac_cv_prog_DLLTOOL"; then
9048 ac_ct_DLLTOOL=$DLLTOOL
9049 # Extract the first word of "dlltool", so it can be a program name with args.
9050 set dummy dlltool; ac_word=$2
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9052 $as_echo_n "checking for $ac_word... " >&6; }
9053 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9054 $as_echo_n "(cached) " >&6
9056 if test -n "$ac_ct_DLLTOOL"; then
9057 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9063 test -z "$as_dir" && as_dir=.
9064 for ac_exec_ext in '' $ac_executable_extensions; do
9065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9066 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9076 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9077 if test -n "$ac_ct_DLLTOOL"; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9079 $as_echo "$ac_ct_DLLTOOL" >&6; }
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9082 $as_echo "no" >&6; }
9085 if test "x$ac_ct_DLLTOOL" = x; then
9088 case $cross_compiling:$ac_tool_warned in
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9092 ac_tool_warned=yes ;;
9094 DLLTOOL=$ac_ct_DLLTOOL
9097 DLLTOOL="$ac_cv_prog_DLLTOOL"
9100 if test -n "$ac_tool_prefix"; then
9101 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9102 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9104 $as_echo_n "checking for $ac_word... " >&6; }
9105 if ${ac_cv_prog_OBJDUMP+:} false; then :
9106 $as_echo_n "(cached) " >&6
9108 if test -n "$OBJDUMP"; then
9109 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9115 test -z "$as_dir" && as_dir=.
9116 for ac_exec_ext in '' $ac_executable_extensions; do
9117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9118 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9128 OBJDUMP=$ac_cv_prog_OBJDUMP
9129 if test -n "$OBJDUMP"; then
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9131 $as_echo "$OBJDUMP" >&6; }
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9134 $as_echo "no" >&6; }
9139 if test -z "$ac_cv_prog_OBJDUMP"; then
9140 ac_ct_OBJDUMP=$OBJDUMP
9141 # Extract the first word of "objdump", so it can be a program name with args.
9142 set dummy objdump; ac_word=$2
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9144 $as_echo_n "checking for $ac_word... " >&6; }
9145 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9146 $as_echo_n "(cached) " >&6
9148 if test -n "$ac_ct_OBJDUMP"; then
9149 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9155 test -z "$as_dir" && as_dir=.
9156 for ac_exec_ext in '' $ac_executable_extensions; do
9157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9158 ac_cv_prog_ac_ct_OBJDUMP="objdump"
9159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9168 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9169 if test -n "$ac_ct_OBJDUMP"; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9171 $as_echo "$ac_ct_OBJDUMP" >&6; }
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9174 $as_echo "no" >&6; }
9177 if test "x$ac_ct_OBJDUMP" = x; then
9180 case $cross_compiling:$ac_tool_warned in
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9184 ac_tool_warned=yes ;;
9186 OBJDUMP=$ac_ct_OBJDUMP
9189 OBJDUMP="$ac_cv_prog_OBJDUMP"
9195 test -z "$AS" && AS=as
9201 test -z "$DLLTOOL" && DLLTOOL=dlltool
9207 test -z "$OBJDUMP" && OBJDUMP=objdump
9217 # Check whether --enable-shared was given.
9218 if test "${enable_shared+set}" = set; then :
9219 enableval=$enable_shared; p=${PACKAGE-default}
9221 yes) enable_shared=yes ;;
9222 no) enable_shared=no ;;
9225 # Look at the argument we got. We use all the common list separators.
9226 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9227 for pkg in $enableval; do
9229 if test "X$pkg" = "X$p"; then
9248 # Check whether --enable-static was given.
9249 if test "${enable_static+set}" = set; then :
9250 enableval=$enable_static; p=${PACKAGE-default}
9252 yes) enable_static=yes ;;
9253 no) enable_static=no ;;
9256 # Look at the argument we got. We use all the common list separators.
9257 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9258 for pkg in $enableval; do
9260 if test "X$pkg" = "X$p"; then
9280 # Check whether --with-pic was given.
9281 if test "${with_pic+set}" = set; then :
9282 withval=$with_pic; lt_p=${PACKAGE-default}
9284 yes|no) pic_mode=$withval ;;
9287 # Look at the argument we got. We use all the common list separators.
9288 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9289 for lt_pkg in $withval; do
9291 if test "X$lt_pkg" = "X$lt_p"; then
9309 # Check whether --enable-fast-install was given.
9310 if test "${enable_fast_install+set}" = set; then :
9311 enableval=$enable_fast_install; p=${PACKAGE-default}
9313 yes) enable_fast_install=yes ;;
9314 no) enable_fast_install=no ;;
9316 enable_fast_install=no
9317 # Look at the argument we got. We use all the common list separators.
9318 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9319 for pkg in $enableval; do
9321 if test "X$pkg" = "X$p"; then
9322 enable_fast_install=yes
9329 enable_fast_install=yes
9339 shared_archive_member_spec=
9340 case $host,$enable_shared in
9341 power*-*-aix[5-9]*,yes)
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9343 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9345 # Check whether --with-aix-soname was given.
9346 if test "${with_aix_soname+set}" = set; then :
9347 withval=$with_aix_soname; case $withval in
9351 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9354 lt_cv_with_aix_soname=$with_aix_soname
9356 if ${lt_cv_with_aix_soname+:} false; then :
9357 $as_echo_n "(cached) " >&6
9359 lt_cv_with_aix_soname=aix
9362 with_aix_soname=$lt_cv_with_aix_soname
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9366 $as_echo "$with_aix_soname" >&6; }
9367 if test aix != "$with_aix_soname"; then
9368 # For the AIX way of multilib, we name the shared archive member
9369 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9370 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9371 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9372 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9373 if test 64 = "${OBJECT_MODE-32}"; then
9374 shared_archive_member_spec=shr_64
9376 shared_archive_member_spec=shr
9394 # This can be used to rebuild libtool when needed
9395 LIBTOOL_DEPS=$ltmain
9397 # Always use our own libtool.
9398 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9429 test -z "$LN_S" && LN_S="ln -s"
9444 if test -n "${ZSH_VERSION+set}"; then
9445 setopt NO_GLOB_SUBST
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9449 $as_echo_n "checking for objdir... " >&6; }
9450 if ${lt_cv_objdir+:} false; then :
9451 $as_echo_n "(cached) " >&6
9453 rm -f .libs 2>/dev/null
9454 mkdir .libs 2>/dev/null
9455 if test -d .libs; then
9458 # MS-DOS does not allow filenames that begin with a dot.
9461 rmdir .libs 2>/dev/null
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9464 $as_echo "$lt_cv_objdir" >&6; }
9465 objdir=$lt_cv_objdir
9471 cat >>confdefs.h <<_ACEOF
9472 #define LT_OBJDIR "$lt_cv_objdir/"
9480 # AIX sometimes has problems with the GCC collect2 program. For some
9481 # reason, if we set the COLLECT_NAMES environment variable, the problems
9482 # vanish in a puff of smoke.
9483 if test set != "${COLLECT_NAMES+set}"; then
9485 export COLLECT_NAMES
9492 can_build_shared=yes
9494 # All known linkers require a '.a' archive for static linking (except MSVC and
9495 # ICC, which need '.lib').
9498 with_gnu_ld=$lt_cv_prog_gnu_ld
9503 # Set sane defaults for various variables
9504 test -z "$CC" && CC=cc
9505 test -z "$LTCC" && LTCC=$CC
9506 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9507 test -z "$LD" && LD=ld
9508 test -z "$ac_objext" && ac_objext=o
9510 func_cc_basename $compiler
9511 cc_basename=$func_cc_basename_result
9514 # Only perform the check for file, if the check method requires it
9515 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9516 case $deplibs_check_method in
9518 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9520 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9521 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9522 $as_echo_n "(cached) " >&6
9526 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9529 lt_save_MAGIC_CMD=$MAGIC_CMD
9530 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9531 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9532 for ac_dir in $ac_dummy; do
9534 test -z "$ac_dir" && ac_dir=.
9535 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9536 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9537 if test -n "$file_magic_test_file"; then
9538 case $deplibs_check_method in
9540 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9541 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9542 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9543 $EGREP "$file_magic_regex" > /dev/null; then
9548 *** Warning: the command libtool uses to detect shared libraries,
9549 *** $file_magic_cmd, produces output that libtool cannot recognize.
9550 *** The result is that libtool may fail to recognize shared libraries
9551 *** as such. This will affect the creation of libtool libraries that
9552 *** depend on shared libraries, but programs linked with such libtool
9553 *** libraries will work regardless of this problem. Nevertheless, you
9554 *** may want to report the problem to your system manager and/or to
9555 *** bug-libtool@gnu.org
9565 MAGIC_CMD=$lt_save_MAGIC_CMD
9570 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9571 if test -n "$MAGIC_CMD"; then
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9573 $as_echo "$MAGIC_CMD" >&6; }
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9576 $as_echo "no" >&6; }
9583 if test -z "$lt_cv_path_MAGIC_CMD"; then
9584 if test -n "$ac_tool_prefix"; then
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9586 $as_echo_n "checking for file... " >&6; }
9587 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9588 $as_echo_n "(cached) " >&6
9592 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9595 lt_save_MAGIC_CMD=$MAGIC_CMD
9596 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9597 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9598 for ac_dir in $ac_dummy; do
9600 test -z "$ac_dir" && ac_dir=.
9601 if test -f "$ac_dir/file"; then
9602 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9603 if test -n "$file_magic_test_file"; then
9604 case $deplibs_check_method in
9606 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9607 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9608 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9609 $EGREP "$file_magic_regex" > /dev/null; then
9614 *** Warning: the command libtool uses to detect shared libraries,
9615 *** $file_magic_cmd, produces output that libtool cannot recognize.
9616 *** The result is that libtool may fail to recognize shared libraries
9617 *** as such. This will affect the creation of libtool libraries that
9618 *** depend on shared libraries, but programs linked with such libtool
9619 *** libraries will work regardless of this problem. Nevertheless, you
9620 *** may want to report the problem to your system manager and/or to
9621 *** bug-libtool@gnu.org
9631 MAGIC_CMD=$lt_save_MAGIC_CMD
9636 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9637 if test -n "$MAGIC_CMD"; then
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9639 $as_echo "$MAGIC_CMD" >&6; }
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9642 $as_echo "no" >&6; }
9655 # Use C for the default configuration in the libtool script
9659 ac_cpp='$CPP $CPPFLAGS'
9660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9665 # Source file extension for C test sources.
9668 # Object file extension for compiled C test sources.
9672 # Code to be used in simple compile tests
9673 lt_simple_compile_test_code="int some_variable = 0;"
9675 # Code to be used in simple link tests
9676 lt_simple_link_test_code='int main(){return(0);}'
9684 # If no C compiler was specified, use CC.
9687 # If no C compiler flags were specified, use CFLAGS.
9688 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9690 # Allow CC to be a program name with arguments.
9693 # Save the default compiler, since it gets overwritten when the other
9694 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9695 compiler_DEFAULT=$CC
9697 # save warnings/boilerplate of simple test code
9698 ac_outfile=conftest.$ac_objext
9699 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9700 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9701 _lt_compiler_boilerplate=`cat conftest.err`
9704 ac_outfile=conftest.$ac_objext
9705 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9706 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9707 _lt_linker_boilerplate=`cat conftest.err`
9712 ## There is no encapsulation within the following macros, do not change
9713 ## the running order or otherwise move them around unless you know exactly
9714 ## what you are doing...
9715 if test -n "$compiler"; then
9717 lt_prog_compiler_no_builtin_flag=
9719 if test yes = "$GCC"; then
9720 case $cc_basename in
9722 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9724 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9728 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9729 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9730 $as_echo_n "(cached) " >&6
9732 lt_cv_prog_compiler_rtti_exceptions=no
9733 ac_outfile=conftest.$ac_objext
9734 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9735 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9736 # Insert the option either (1) after the last *FLAGS variable, or
9737 # (2) before a word containing "conftest.", or (3) at the end.
9738 # Note that $ac_compile itself does not contain backslashes and begins
9739 # with a dollar sign (not a hyphen), so the echo should work correctly.
9740 # The option is referenced via a variable to avoid confusing sed.
9741 lt_compile=`echo "$ac_compile" | $SED \
9742 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9743 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9744 -e 's:$: $lt_compiler_flag:'`
9745 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9746 (eval "$lt_compile" 2>conftest.err)
9748 cat conftest.err >&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 if (exit $ac_status) && test -s "$ac_outfile"; then
9751 # The compiler can only warn and ignore the option if not recognized
9752 # So say no if there are warnings other than the usual output.
9753 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9754 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9755 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9756 lt_cv_prog_compiler_rtti_exceptions=yes
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9763 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9765 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9766 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9778 lt_prog_compiler_wl=
9779 lt_prog_compiler_pic=
9780 lt_prog_compiler_static=
9783 if test yes = "$GCC"; then
9784 lt_prog_compiler_wl='-Wl,'
9785 lt_prog_compiler_static='-static'
9789 # All AIX code is PIC.
9790 if test ia64 = "$host_cpu"; then
9791 # AIX 5 now supports IA64 processor
9792 lt_prog_compiler_static='-Bstatic'
9794 lt_prog_compiler_pic='-fPIC'
9800 # see comment about AmigaOS4 .so support
9801 lt_prog_compiler_pic='-fPIC'
9804 # FIXME: we need at least 68020 code to build shared libraries, but
9805 # adding the '-m68020' flag to GCC prevents building anything better,
9807 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9812 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9813 # PIC is the default for these OSes.
9816 mingw* | cygwin* | pw32* | os2* | cegcc*)
9817 # This hack is so that the source file can tell whether it is being
9818 # built for inclusion in a dll (and should export symbols for example).
9819 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9820 # (--disable-auto-import) libraries
9821 lt_prog_compiler_pic='-DDLL_EXPORT'
9824 lt_prog_compiler_static='$wl-static'
9829 darwin* | rhapsody*)
9830 # PIC is the default on this platform
9831 # Common symbols not allowed in MH_DYLIB files
9832 lt_prog_compiler_pic='-fno-common'
9836 # PIC is the default for Haiku.
9837 # The "-static" flag exists, but is broken.
9838 lt_prog_compiler_static=
9842 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9843 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9844 # sets the default TLS model and affects inlining.
9850 lt_prog_compiler_pic='-fPIC'
9856 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9857 # Instead, we relocate shared libraries at runtime.
9861 # Just because we use GCC doesn't mean we suddenly get shared libraries
9862 # on systems that don't support them.
9863 lt_prog_compiler_can_build_shared=no
9868 # QNX uses GNU C++, but need to define -shared option too, otherwise
9870 lt_prog_compiler_pic='-fPIC -shared'
9874 if test -d /usr/nec; then
9875 lt_prog_compiler_pic=-Kconform_pic
9880 lt_prog_compiler_pic='-fPIC'
9884 case $cc_basename in
9885 nvcc*) # Cuda Compiler Driver 2.2
9886 lt_prog_compiler_wl='-Xlinker '
9887 if test -n "$lt_prog_compiler_pic"; then
9888 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9893 # PORTME Check for flag to pass linker flags through the system compiler.
9896 lt_prog_compiler_wl='-Wl,'
9897 if test ia64 = "$host_cpu"; then
9898 # AIX 5 now supports IA64 processor
9899 lt_prog_compiler_static='-Bstatic'
9901 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9905 darwin* | rhapsody*)
9906 # PIC is the default on this platform
9907 # Common symbols not allowed in MH_DYLIB files
9908 lt_prog_compiler_pic='-fno-common'
9909 case $cc_basename in
9911 # NAG Fortran compiler
9912 lt_prog_compiler_wl='-Wl,-Wl,,'
9913 lt_prog_compiler_pic='-PIC'
9914 lt_prog_compiler_static='-Bstatic'
9919 mingw* | cygwin* | pw32* | os2* | cegcc*)
9920 # This hack is so that the source file can tell whether it is being
9921 # built for inclusion in a dll (and should export symbols for example).
9922 lt_prog_compiler_pic='-DDLL_EXPORT'
9925 lt_prog_compiler_static='$wl-static'
9930 hpux9* | hpux10* | hpux11*)
9931 lt_prog_compiler_wl='-Wl,'
9932 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9939 lt_prog_compiler_pic='+Z'
9942 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9943 lt_prog_compiler_static='$wl-a ${wl}archive'
9946 irix5* | irix6* | nonstopux*)
9947 lt_prog_compiler_wl='-Wl,'
9948 # PIC (with -KPIC) is the default.
9949 lt_prog_compiler_static='-non_shared'
9952 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9953 case $cc_basename in
9954 # old Intel for x86_64, which still supported -KPIC.
9956 lt_prog_compiler_wl='-Wl,'
9957 lt_prog_compiler_pic='-KPIC'
9958 lt_prog_compiler_static='-static'
9960 # icc used to be incompatible with GCC.
9961 # ICC 10 doesn't accept -KPIC any more.
9963 lt_prog_compiler_wl='-Wl,'
9964 lt_prog_compiler_pic='-fPIC'
9965 lt_prog_compiler_static='-static'
9967 # Lahey Fortran 8.1.
9969 lt_prog_compiler_wl='-Wl,'
9970 lt_prog_compiler_pic='--shared'
9971 lt_prog_compiler_static='--static'
9974 # NAG Fortran compiler
9975 lt_prog_compiler_wl='-Wl,-Wl,,'
9976 lt_prog_compiler_pic='-PIC'
9977 lt_prog_compiler_static='-Bstatic'
9980 # Fabrice Bellard et al's Tiny C Compiler
9981 lt_prog_compiler_wl='-Wl,'
9982 lt_prog_compiler_pic='-fPIC'
9983 lt_prog_compiler_static='-static'
9985 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9986 # Portland Group compilers (*not* the Pentium gcc compiler,
9987 # which looks to be a dead project)
9988 lt_prog_compiler_wl='-Wl,'
9989 lt_prog_compiler_pic='-fpic'
9990 lt_prog_compiler_static='-Bstatic'
9993 lt_prog_compiler_wl='-Wl,'
9994 # All Alpha code is PIC.
9995 lt_prog_compiler_static='-non_shared'
9997 xl* | bgxl* | bgf* | mpixl*)
9998 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9999 lt_prog_compiler_wl='-Wl,'
10000 lt_prog_compiler_pic='-qpic'
10001 lt_prog_compiler_static='-qstaticlink'
10004 case `$CC -V 2>&1 | $SED 5q` in
10005 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10006 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10007 lt_prog_compiler_pic='-KPIC'
10008 lt_prog_compiler_static='-Bstatic'
10009 lt_prog_compiler_wl=''
10011 *Sun\ F* | *Sun*Fortran*)
10012 lt_prog_compiler_pic='-KPIC'
10013 lt_prog_compiler_static='-Bstatic'
10014 lt_prog_compiler_wl='-Qoption ld '
10018 lt_prog_compiler_pic='-KPIC'
10019 lt_prog_compiler_static='-Bstatic'
10020 lt_prog_compiler_wl='-Wl,'
10022 *Intel*\ [CF]*Compiler*)
10023 lt_prog_compiler_wl='-Wl,'
10024 lt_prog_compiler_pic='-fPIC'
10025 lt_prog_compiler_static='-static'
10028 lt_prog_compiler_wl='-Wl,'
10029 lt_prog_compiler_pic='-fpic'
10030 lt_prog_compiler_static='-Bstatic'
10038 lt_prog_compiler_pic='-KPIC'
10039 lt_prog_compiler_static='-Bstatic'
10043 # QNX uses GNU C++, but need to define -shared option too, otherwise
10044 # it will coredump.
10045 lt_prog_compiler_pic='-fPIC -shared'
10048 osf3* | osf4* | osf5*)
10049 lt_prog_compiler_wl='-Wl,'
10050 # All OSF/1 code is PIC.
10051 lt_prog_compiler_static='-non_shared'
10055 lt_prog_compiler_static='-non_shared'
10059 lt_prog_compiler_pic='-KPIC'
10060 lt_prog_compiler_static='-Bstatic'
10061 case $cc_basename in
10062 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10063 lt_prog_compiler_wl='-Qoption ld ';;
10065 lt_prog_compiler_wl='-Wl,';;
10070 lt_prog_compiler_wl='-Qoption ld '
10071 lt_prog_compiler_pic='-PIC'
10072 lt_prog_compiler_static='-Bstatic'
10075 sysv4 | sysv4.2uw2* | sysv4.3*)
10076 lt_prog_compiler_wl='-Wl,'
10077 lt_prog_compiler_pic='-KPIC'
10078 lt_prog_compiler_static='-Bstatic'
10082 if test -d /usr/nec; then
10083 lt_prog_compiler_pic='-Kconform_pic'
10084 lt_prog_compiler_static='-Bstatic'
10088 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10089 lt_prog_compiler_wl='-Wl,'
10090 lt_prog_compiler_pic='-KPIC'
10091 lt_prog_compiler_static='-Bstatic'
10095 lt_prog_compiler_wl='-Wl,'
10096 lt_prog_compiler_can_build_shared=no
10100 lt_prog_compiler_pic='-pic'
10101 lt_prog_compiler_static='-Bstatic'
10105 lt_prog_compiler_can_build_shared=no
10111 # For platforms that do not support PIC, -DPIC is meaningless:
10113 lt_prog_compiler_pic=
10116 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10121 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10122 if ${lt_cv_prog_compiler_pic+:} false; then :
10123 $as_echo_n "(cached) " >&6
10125 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10128 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10129 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10132 # Check to make sure the PIC flag actually works.
10134 if test -n "$lt_prog_compiler_pic"; then
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10136 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10137 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10138 $as_echo_n "(cached) " >&6
10140 lt_cv_prog_compiler_pic_works=no
10141 ac_outfile=conftest.$ac_objext
10142 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10143 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10144 # Insert the option either (1) after the last *FLAGS variable, or
10145 # (2) before a word containing "conftest.", or (3) at the end.
10146 # Note that $ac_compile itself does not contain backslashes and begins
10147 # with a dollar sign (not a hyphen), so the echo should work correctly.
10148 # The option is referenced via a variable to avoid confusing sed.
10149 lt_compile=`echo "$ac_compile" | $SED \
10150 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10151 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10152 -e 's:$: $lt_compiler_flag:'`
10153 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10154 (eval "$lt_compile" 2>conftest.err)
10156 cat conftest.err >&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 if (exit $ac_status) && test -s "$ac_outfile"; then
10159 # The compiler can only warn and ignore the option if not recognized
10160 # So say no if there are warnings other than the usual output.
10161 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10162 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10163 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10164 lt_cv_prog_compiler_pic_works=yes
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10171 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10173 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10174 case $lt_prog_compiler_pic in
10176 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10179 lt_prog_compiler_pic=
10180 lt_prog_compiler_can_build_shared=no
10196 # Check to make sure the static flag actually works.
10198 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10200 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10201 if ${lt_cv_prog_compiler_static_works+:} false; then :
10202 $as_echo_n "(cached) " >&6
10204 lt_cv_prog_compiler_static_works=no
10205 save_LDFLAGS=$LDFLAGS
10206 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10207 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10208 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10209 # The linker can only warn and ignore the option if not recognized
10210 # So say no if there are warnings
10211 if test -s conftest.err; then
10212 # Append any errors to the config.log.
10213 cat conftest.err 1>&5
10214 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10215 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10216 if diff conftest.exp conftest.er2 >/dev/null; then
10217 lt_cv_prog_compiler_static_works=yes
10220 lt_cv_prog_compiler_static_works=yes
10224 LDFLAGS=$save_LDFLAGS
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10228 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10230 if test yes = "$lt_cv_prog_compiler_static_works"; then
10233 lt_prog_compiler_static=
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10243 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10244 if ${lt_cv_prog_compiler_c_o+:} false; then :
10245 $as_echo_n "(cached) " >&6
10247 lt_cv_prog_compiler_c_o=no
10248 $RM -r conftest 2>/dev/null
10252 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10254 lt_compiler_flag="-o out/conftest2.$ac_objext"
10255 # Insert the option either (1) after the last *FLAGS variable, or
10256 # (2) before a word containing "conftest.", or (3) at the end.
10257 # Note that $ac_compile itself does not contain backslashes and begins
10258 # with a dollar sign (not a hyphen), so the echo should work correctly.
10259 lt_compile=`echo "$ac_compile" | $SED \
10260 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10262 -e 's:$: $lt_compiler_flag:'`
10263 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10264 (eval "$lt_compile" 2>out/conftest.err)
10266 cat out/conftest.err >&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10270 # The compiler can only warn and ignore the option if not recognized
10271 # So say no if there are warnings
10272 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10273 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10274 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10275 lt_cv_prog_compiler_c_o=yes
10280 # SGI C++ compiler will create directory out/ii_files/ for
10281 # template instantiation
10282 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10283 $RM out/* && rmdir out
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10290 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10298 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10299 if ${lt_cv_prog_compiler_c_o+:} false; then :
10300 $as_echo_n "(cached) " >&6
10302 lt_cv_prog_compiler_c_o=no
10303 $RM -r conftest 2>/dev/null
10307 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10309 lt_compiler_flag="-o out/conftest2.$ac_objext"
10310 # Insert the option either (1) after the last *FLAGS variable, or
10311 # (2) before a word containing "conftest.", or (3) at the end.
10312 # Note that $ac_compile itself does not contain backslashes and begins
10313 # with a dollar sign (not a hyphen), so the echo should work correctly.
10314 lt_compile=`echo "$ac_compile" | $SED \
10315 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10316 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10317 -e 's:$: $lt_compiler_flag:'`
10318 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10319 (eval "$lt_compile" 2>out/conftest.err)
10321 cat out/conftest.err >&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10325 # The compiler can only warn and ignore the option if not recognized
10326 # So say no if there are warnings
10327 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10328 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10329 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10330 lt_cv_prog_compiler_c_o=yes
10335 # SGI C++ compiler will create directory out/ii_files/ for
10336 # template instantiation
10337 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10338 $RM out/* && rmdir out
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10345 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10350 hard_links=nottested
10351 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10352 # do not overwrite the value of need_locks provided by the user
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10354 $as_echo_n "checking if we can lock with hard links... " >&6; }
10357 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10359 ln conftest.a conftest.b 2>&5 || hard_links=no
10360 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10362 $as_echo "$hard_links" >&6; }
10363 if test no = "$hard_links"; then
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10365 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10378 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10381 allow_undefined_flag=
10382 always_export_symbols=no
10384 archive_expsym_cmds=
10385 compiler_needs_object=no
10386 enable_shared_with_static_runtimes=no
10387 export_dynamic_flag_spec=
10388 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10389 hardcode_automatic=no
10391 hardcode_direct_absolute=no
10392 hardcode_libdir_flag_spec=
10393 hardcode_libdir_separator=
10394 hardcode_minus_L=no
10395 hardcode_shlibpath_var=unsupported
10397 link_all_deplibs=unknown
10399 module_expsym_cmds=
10400 old_archive_from_new_cmds=
10401 old_archive_from_expsyms_cmds=
10402 thread_safe_flag_spec=
10403 whole_archive_flag_spec=
10404 # include_expsyms should be a list of space-separated symbols to be *always*
10405 # included in the symbol list
10407 # exclude_expsyms can be an extended regexp of symbols to exclude
10408 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10409 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10410 # as well as any symbol that contains 'd'.
10411 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10412 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10413 # platforms (ab)use it in PIC code, but their linkers get confused if
10414 # the symbol is explicitly referenced. Since portable code cannot
10415 # rely on this symbol name, it's probably fine to never include it in
10416 # preloaded symbol tables.
10417 # Exclude shared library initialization/finalization symbols.
10418 extract_expsyms_cmds=
10421 cygwin* | mingw* | pw32* | cegcc*)
10422 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
10423 # When not using gcc, we currently assume that we are using
10424 # Microsoft Visual C++ or Intel C++ Compiler.
10425 if test yes != "$GCC"; then
10430 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
10433 openbsd* | bitrig*)
10440 # On some targets, GNU ld is compatible enough with the native linker
10441 # that we're better off using the native interface for both.
10442 lt_use_gnu_ld_interface=no
10443 if test yes = "$with_gnu_ld"; then
10446 # The AIX port of GNU ld has always aspired to compatibility
10447 # with the native linker. However, as the warning in the GNU ld
10448 # block says, versions before 2.19.5* couldn't really create working
10449 # shared libraries, regardless of the interface used.
10450 case `$LD -v 2>&1` in
10451 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10452 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10453 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10455 lt_use_gnu_ld_interface=yes
10460 lt_use_gnu_ld_interface=yes
10465 if test yes = "$lt_use_gnu_ld_interface"; then
10466 # If archive_cmds runs LD, not CC, wlarc should be empty
10469 # Set some defaults for GNU ld with shared library support. These
10470 # are reset later if shared libraries are not supported. Putting them
10471 # here allows them to be overridden if necessary.
10472 runpath_var=LD_RUN_PATH
10473 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10474 export_dynamic_flag_spec='$wl--export-dynamic'
10475 # ancient GNU ld didn't support --whole-archive et. al.
10476 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10477 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10479 whole_archive_flag_spec=
10481 supports_anon_versioning=no
10482 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
10483 *GNU\ gold*) supports_anon_versioning=yes ;;
10484 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10485 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10486 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10487 *\ 2.11.*) ;; # other 2.11 versions
10488 *) supports_anon_versioning=yes ;;
10491 # See if GNU ld supports shared libraries.
10494 # On AIX/PPC, the GNU linker is very broken
10495 if test ia64 != "$host_cpu"; then
10499 *** Warning: the GNU linker, at least up to release 2.19, is reported
10500 *** to be unable to reliably create shared libraries on AIX.
10501 *** Therefore, libtool is disabling shared libraries support. If you
10502 *** really care for shared libraries, you may want to install binutils
10503 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10504 *** You will then need to restart the configuration process.
10513 # see comment about AmigaOS4 .so support
10514 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10515 archive_expsym_cmds=''
10518 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)'
10519 hardcode_libdir_flag_spec='-L$libdir'
10520 hardcode_minus_L=yes
10526 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10527 allow_undefined_flag=unsupported
10528 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10529 # support --undefined. This deserves some investigation. FIXME
10530 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10536 cygwin* | mingw* | pw32* | cegcc*)
10537 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10538 # as there is no search path for DLLs.
10539 hardcode_libdir_flag_spec='-L$libdir'
10540 export_dynamic_flag_spec='$wl--export-all-symbols'
10541 allow_undefined_flag=unsupported
10542 always_export_symbols=no
10543 enable_shared_with_static_runtimes=yes
10544 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'
10545 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10547 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10548 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10549 # If the export-symbols file already is a .def file, use it as
10550 # is; otherwise, prepend EXPORTS...
10551 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10552 cp $export_symbols $output_objdir/$soname.def;
10554 echo EXPORTS > $output_objdir/$soname.def;
10555 cat $export_symbols >> $output_objdir/$soname.def;
10557 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10564 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10565 link_all_deplibs=yes
10569 hardcode_libdir_flag_spec='-L$libdir'
10570 hardcode_minus_L=yes
10571 allow_undefined_flag=unsupported
10573 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10574 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10575 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10576 $ECHO EXPORTS >> $output_objdir/$libname.def~
10577 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10578 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10579 emximp -o $lib $output_objdir/$libname.def'
10580 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10581 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10582 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10583 $ECHO EXPORTS >> $output_objdir/$libname.def~
10584 prefix_cmds="$SED"~
10585 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10586 prefix_cmds="$prefix_cmds -e 1d";
10588 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10589 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10590 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10591 emximp -o $lib $output_objdir/$libname.def'
10592 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10593 enable_shared_with_static_runtimes=yes
10599 hardcode_shlibpath_var=no
10600 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10601 export_dynamic_flag_spec='$wl-E'
10602 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10603 # Instead, shared libraries are loaded at an image base (0x10000000 by
10604 # default) and relocated if they conflict, which is a slow very memory
10605 # consuming and fragmenting process. To avoid this, we pick a random,
10606 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10607 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10608 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10609 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'
10612 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10614 if test linux-dietlibc = "$host_os"; then
10615 case $cc_basename in
10616 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10619 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10620 && test no = "$tmp_diet"
10622 tmp_addflag=' $pic_flag'
10623 tmp_sharedflag='-shared'
10624 case $cc_basename,$host_cpu in
10625 pgcc*) # Portland Group C compiler
10626 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'
10627 tmp_addflag=' $pic_flag'
10629 pgf77* | pgf90* | pgf95* | pgfortran*)
10630 # Portland Group f77 and f90 compilers
10631 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'
10632 tmp_addflag=' $pic_flag -Mnomain' ;;
10633 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10634 tmp_addflag=' -i_dynamic' ;;
10635 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10636 tmp_addflag=' -i_dynamic -nofor_main' ;;
10637 ifc* | ifort*) # Intel Fortran compiler
10638 tmp_addflag=' -nofor_main' ;;
10639 lf95*) # Lahey Fortran 8.1
10640 whole_archive_flag_spec=
10641 tmp_sharedflag='--shared' ;;
10642 nagfor*) # NAGFOR 5.3
10643 tmp_sharedflag='-Wl,-shared' ;;
10644 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10645 tmp_sharedflag='-qmkshrobj'
10647 nvcc*) # Cuda Compiler Driver 2.2
10648 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'
10649 compiler_needs_object=yes
10652 case `$CC -V 2>&1 | $SED 5q` in
10653 *Sun\ C*) # Sun C 5.9
10654 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'
10655 compiler_needs_object=yes
10656 tmp_sharedflag='-G' ;;
10657 *Sun\ F*) # Sun Fortran 8.3
10658 tmp_sharedflag='-G' ;;
10660 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10662 if test yes = "$supports_anon_versioning"; then
10663 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10664 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10665 echo "local: *; };" >> $output_objdir/$libname.ver~
10666 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10669 case $cc_basename in
10671 export_dynamic_flag_spec='-rdynamic'
10673 xlf* | bgf* | bgxlf* | mpixlf*)
10674 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10675 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10676 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10677 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10678 if test yes = "$supports_anon_versioning"; then
10679 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10680 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10681 echo "local: *; };" >> $output_objdir/$libname.ver~
10682 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10692 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10693 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10696 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10697 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10702 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10706 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10707 *** create shared libraries on Solaris systems. Therefore, libtool
10708 *** is disabling shared libraries support. We urge you to upgrade GNU
10709 *** binutils to release 2.9.1 or newer. Another option is to modify
10710 *** your PATH or compiler configuration so that the native linker is
10711 *** used, and then restart.
10714 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10715 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10716 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10722 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10723 case `$LD -v 2>&1` in
10724 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10728 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10729 *** reliably create shared libraries on SCO systems. Therefore, libtool
10730 *** is disabling shared libraries support. We urge you to upgrade GNU
10731 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10732 *** your PATH or compiler configuration so that the native linker is
10733 *** used, and then restart.
10738 # For security reasons, it is highly recommended that you always
10739 # use absolute paths for naming shared libraries, and exclude the
10740 # DT_RUNPATH tag from executables and libraries. But doing so
10741 # requires that you compile everything twice, which is a pain.
10742 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10743 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10744 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10745 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10754 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10756 hardcode_direct=yes
10757 hardcode_shlibpath_var=no
10761 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10762 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10763 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10770 if test no = "$ld_shlibs"; then
10772 hardcode_libdir_flag_spec=
10773 export_dynamic_flag_spec=
10774 whole_archive_flag_spec=
10777 # PORTME fill in a description of your system's linker (not GNU ld)
10780 allow_undefined_flag=unsupported
10781 always_export_symbols=yes
10782 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'
10783 # Note: this linker hardcodes the directories in LIBPATH if there
10784 # are no directories specified by -L.
10785 hardcode_minus_L=yes
10786 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10787 # Neither direct hardcoding nor static linking is supported with a
10789 hardcode_direct=unsupported
10794 if test ia64 = "$host_cpu"; then
10795 # On IA64, the linker does run time linking by default, so we don't
10796 # have to do anything special.
10797 aix_use_runtimelinking=no
10798 exp_sym_flag='-Bexport'
10801 # If we're using GNU nm, then we don't want the "-C" option.
10802 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10803 # Without the "-l" option, or with the "-B" option, AIX nm treats
10804 # weak defined symbols like other global defined symbols, whereas
10805 # GNU nm marks them as "W".
10806 # While the 'weak' keyword is ignored in the Export File, we need
10807 # it in the Import File for the 'aix-soname' feature, so we have
10808 # to replace the "-B" option with "-P" for AIX nm.
10809 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10810 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'
10812 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 == "L") || (\$ 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'
10814 aix_use_runtimelinking=no
10816 # Test if we are trying to use run time linking or normal
10817 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10818 # have runtime linking enabled, and use it for executables.
10819 # For shared libraries, we enable/disable runtime linking
10820 # depending on the kind of the shared library created -
10821 # when "with_aix_soname,aix_use_runtimelinking" is:
10822 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10823 # "aix,yes" lib.so shared, rtl:yes, for executables
10824 # lib.a static archive
10825 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10826 # lib.a(lib.so.V) shared, rtl:no, for executables
10827 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10828 # lib.a(lib.so.V) shared, rtl:no
10829 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10830 # lib.a static archive
10831 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10832 for ld_flag in $LDFLAGS; do
10833 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10834 aix_use_runtimelinking=yes
10838 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10839 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10840 # so we don't have lib.a shared libs to link our executables.
10841 # We have to force runtime linking in this case.
10842 aix_use_runtimelinking=yes
10843 LDFLAGS="$LDFLAGS -Wl,-brtl"
10848 exp_sym_flag='-bexport'
10849 no_entry_flag='-bnoentry'
10852 # When large executables or shared objects are built, AIX ld can
10853 # have problems creating the table of contents. If linking a library
10854 # or program results in "error TOC overflow" add -mminimal-toc to
10855 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10856 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10859 hardcode_direct=yes
10860 hardcode_direct_absolute=yes
10861 hardcode_libdir_separator=':'
10862 link_all_deplibs=yes
10863 file_list_spec='$wl-f,'
10864 case $with_aix_soname,$aix_use_runtimelinking in
10865 aix,*) ;; # traditional, no import file
10866 svr4,* | *,yes) # use import file
10867 # The Import File defines what to hardcode.
10869 hardcode_direct_absolute=no
10873 if test yes = "$GCC"; then
10874 case $host_os in aix4.[012]|aix4.[012].*)
10875 # We only want to do this on AIX 4.2 and lower, the check
10876 # below for broken collect2 doesn't work under 4.3+
10877 collect2name=`$CC -print-prog-name=collect2`
10878 if test -f "$collect2name" &&
10879 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10881 # We have reworked collect2
10884 # We have old collect2
10885 hardcode_direct=unsupported
10886 # It fails to find uninstalled libraries when the uninstalled
10887 # path is not listed in the libpath. Setting hardcode_minus_L
10888 # to unsupported forces relinking
10889 hardcode_minus_L=yes
10890 hardcode_libdir_flag_spec='-L$libdir'
10891 hardcode_libdir_separator=
10895 shared_flag='-shared'
10896 if test yes = "$aix_use_runtimelinking"; then
10897 shared_flag="$shared_flag "'$wl-G'
10899 # Need to ensure runtime linking is disabled for the traditional
10900 # shared library, or the linker may eventually find shared libraries
10901 # /with/ Import File - we do not want to mix them.
10902 shared_flag_aix='-shared'
10903 shared_flag_svr4='-shared $wl-G'
10906 if test ia64 = "$host_cpu"; then
10907 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10908 # chokes on -Wl,-G. The following line is correct:
10911 if test yes = "$aix_use_runtimelinking"; then
10912 shared_flag='$wl-G'
10914 shared_flag='$wl-bM:SRE'
10916 shared_flag_aix='$wl-bM:SRE'
10917 shared_flag_svr4='$wl-G'
10921 export_dynamic_flag_spec='$wl-bexpall'
10922 # It seems that -bexpall does not export symbols beginning with
10923 # underscore (_), so it is better to generate a list of symbols to export.
10924 always_export_symbols=yes
10925 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10926 # Warning - without using the other runtime loading flags (-brtl),
10927 # -berok will link without error, but may produce a broken library.
10928 allow_undefined_flag='-berok'
10929 # Determine the default libpath from the value encoded in an
10930 # empty executable.
10931 if test set = "${lt_cv_aix_libpath+set}"; then
10932 aix_libpath=$lt_cv_aix_libpath
10934 if ${lt_cv_aix_libpath_+:} false; then :
10935 $as_echo_n "(cached) " >&6
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10948 if ac_fn_c_try_link "$LINENO"; then :
10950 lt_aix_libpath_sed='
10951 /Import File Strings/,/^$/ {
10953 s/^0 *\([^ ]*\) *$/\1/
10957 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10958 # Check for a 64-bit object if we didn't find anything.
10959 if test -z "$lt_cv_aix_libpath_"; then
10960 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10963 rm -f core conftest.err conftest.$ac_objext \
10964 conftest$ac_exeext conftest.$ac_ext
10965 if test -z "$lt_cv_aix_libpath_"; then
10966 lt_cv_aix_libpath_=/usr/lib:/lib
10971 aix_libpath=$lt_cv_aix_libpath_
10974 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10975 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
10977 if test ia64 = "$host_cpu"; then
10978 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10979 allow_undefined_flag="-z nodefs"
10980 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"
10982 # Determine the default libpath from the value encoded in an
10983 # empty executable.
10984 if test set = "${lt_cv_aix_libpath+set}"; then
10985 aix_libpath=$lt_cv_aix_libpath
10987 if ${lt_cv_aix_libpath_+:} false; then :
10988 $as_echo_n "(cached) " >&6
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
11001 if ac_fn_c_try_link "$LINENO"; then :
11003 lt_aix_libpath_sed='
11004 /Import File Strings/,/^$/ {
11006 s/^0 *\([^ ]*\) *$/\1/
11010 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11011 # Check for a 64-bit object if we didn't find anything.
11012 if test -z "$lt_cv_aix_libpath_"; then
11013 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11016 rm -f core conftest.err conftest.$ac_objext \
11017 conftest$ac_exeext conftest.$ac_ext
11018 if test -z "$lt_cv_aix_libpath_"; then
11019 lt_cv_aix_libpath_=/usr/lib:/lib
11024 aix_libpath=$lt_cv_aix_libpath_
11027 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11028 # Warning - without using the other run time loading flags,
11029 # -berok will link without error, but may produce a broken library.
11030 no_undefined_flag=' $wl-bernotok'
11031 allow_undefined_flag=' $wl-berok'
11032 if test yes = "$with_gnu_ld"; then
11033 # We only use this code for GNU lds that support --whole-archive.
11034 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11036 # Exported symbols can be pulled into shared objects from archives
11037 whole_archive_flag_spec='$convenience'
11039 archive_cmds_need_lc=yes
11040 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11041 # -brtl affects multiple linker settings, -berok does not and is overridden later
11042 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11043 if test svr4 != "$with_aix_soname"; then
11044 # This is similar to how AIX traditionally builds its shared libraries.
11045 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'
11047 if test aix != "$with_aix_soname"; then
11048 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'
11050 # used by -dlpreopen to get the symbols
11051 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11053 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11061 # see comment about AmigaOS4 .so support
11062 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11063 archive_expsym_cmds=''
11066 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)'
11067 hardcode_libdir_flag_spec='-L$libdir'
11068 hardcode_minus_L=yes
11074 export_dynamic_flag_spec=-rdynamic
11077 cygwin* | mingw* | pw32* | cegcc*)
11078 # When not using gcc, we currently assume that we are using
11079 # Microsoft Visual C++ or Intel C++ Compiler.
11080 # hardcode_libdir_flag_spec is actually meaningless, as there is
11081 # no search path for DLLs.
11082 case $cc_basename in
11084 # Native MSVC or ICC
11085 hardcode_libdir_flag_spec=' '
11086 allow_undefined_flag=unsupported
11087 always_export_symbols=yes
11089 # Tell ltmain to make .lib files, not .a files.
11091 # Tell ltmain to make .dll files, not .so files.
11093 # FIXME: Setting linknames here is a bad hack.
11094 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11095 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11096 cp "$export_symbols" "$output_objdir/$soname.def";
11097 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11099 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11101 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11103 # The linker will not automatically build a static lib if we build a DLL.
11104 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11105 enable_shared_with_static_runtimes=yes
11106 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11107 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11109 old_postinstall_cmds='chmod 644 $oldlib'
11110 postlink_cmds='lt_outputfile="@OUTPUT@"~
11111 lt_tool_outputfile="@TOOL_OUTPUT@"~
11112 case $lt_outputfile in
11115 lt_outputfile=$lt_outputfile.exe
11116 lt_tool_outputfile=$lt_tool_outputfile.exe
11119 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11120 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11121 $RM "$lt_outputfile.manifest";
11125 # Assume MSVC and ICC wrapper
11126 hardcode_libdir_flag_spec=' '
11127 allow_undefined_flag=unsupported
11128 # Tell ltmain to make .lib files, not .a files.
11130 # Tell ltmain to make .dll files, not .so files.
11132 # FIXME: Setting linknames here is a bad hack.
11133 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11134 # The linker will automatically build a .lib file if we build a DLL.
11135 old_archive_from_new_cmds='true'
11136 # FIXME: Should let the user specify the lib program.
11137 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11138 enable_shared_with_static_runtimes=yes
11143 darwin* | rhapsody*)
11146 archive_cmds_need_lc=no
11148 hardcode_automatic=yes
11149 hardcode_shlibpath_var=unsupported
11150 if test yes = "$lt_cv_ld_force_load"; then
11151 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\"`'
11154 whole_archive_flag_spec=''
11156 link_all_deplibs=yes
11157 allow_undefined_flag=$_lt_dar_allow_undefined
11158 case $cc_basename in
11159 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11160 *) _lt_dar_can_shared=$GCC ;;
11162 if test yes = "$_lt_dar_can_shared"; then
11163 output_verbose_link_cmd=func_echo_all
11164 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11165 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11166 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"
11167 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"
11176 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11177 hardcode_libdir_flag_spec='-L$libdir'
11178 hardcode_shlibpath_var=no
11181 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11182 # support. Future versions do this automatically, but an explicit c++rt0.o
11183 # does not break anything, and helps significantly (at the cost of a little
11186 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11187 hardcode_libdir_flag_spec='-R$libdir'
11188 hardcode_direct=yes
11189 hardcode_shlibpath_var=no
11192 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11194 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11195 hardcode_direct=yes
11196 hardcode_minus_L=yes
11197 hardcode_shlibpath_var=no
11200 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11201 freebsd* | dragonfly* | midnightbsd*)
11202 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11203 hardcode_libdir_flag_spec='-R$libdir'
11204 hardcode_direct=yes
11205 hardcode_shlibpath_var=no
11209 if test yes = "$GCC"; then
11210 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'
11212 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'
11214 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11215 hardcode_libdir_separator=:
11216 hardcode_direct=yes
11218 # hardcode_minus_L: Not really in the search PATH,
11219 # but as the default location of the library.
11220 hardcode_minus_L=yes
11221 export_dynamic_flag_spec='$wl-E'
11225 if test yes,no = "$GCC,$with_gnu_ld"; then
11226 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11228 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11230 if test no = "$with_gnu_ld"; then
11231 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11232 hardcode_libdir_separator=:
11233 hardcode_direct=yes
11234 hardcode_direct_absolute=yes
11235 export_dynamic_flag_spec='$wl-E'
11236 # hardcode_minus_L: Not really in the search PATH,
11237 # but as the default location of the library.
11238 hardcode_minus_L=yes
11243 if test yes,no = "$GCC,$with_gnu_ld"; then
11246 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11249 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11252 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11258 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11261 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11265 # Older versions of the 11.00 compiler do not understand -b yet
11266 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11268 $as_echo_n "checking if $CC understands -b... " >&6; }
11269 if ${lt_cv_prog_compiler__b+:} false; then :
11270 $as_echo_n "(cached) " >&6
11272 lt_cv_prog_compiler__b=no
11273 save_LDFLAGS=$LDFLAGS
11274 LDFLAGS="$LDFLAGS -b"
11275 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11276 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11277 # The linker can only warn and ignore the option if not recognized
11278 # So say no if there are warnings
11279 if test -s conftest.err; then
11280 # Append any errors to the config.log.
11281 cat conftest.err 1>&5
11282 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11283 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11284 if diff conftest.exp conftest.er2 >/dev/null; then
11285 lt_cv_prog_compiler__b=yes
11288 lt_cv_prog_compiler__b=yes
11292 LDFLAGS=$save_LDFLAGS
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11296 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11298 if test yes = "$lt_cv_prog_compiler__b"; then
11299 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11301 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11307 if test no = "$with_gnu_ld"; then
11308 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11309 hardcode_libdir_separator=:
11314 hardcode_shlibpath_var=no
11317 hardcode_direct=yes
11318 hardcode_direct_absolute=yes
11319 export_dynamic_flag_spec='$wl-E'
11321 # hardcode_minus_L: Not really in the search PATH,
11322 # but as the default location of the library.
11323 hardcode_minus_L=yes
11329 irix5* | irix6* | nonstopux*)
11330 if test yes = "$GCC"; then
11331 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'
11332 # Try to use the -exported_symbol ld option, if it does not
11333 # work, assume that -exports_file does not work either and
11334 # implicitly export all symbols.
11335 # This should be the same for all languages, so no per-tag cache variable.
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11337 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11338 if ${lt_cv_irix_exported_symbol+:} false; then :
11339 $as_echo_n "(cached) " >&6
11341 save_LDFLAGS=$LDFLAGS
11342 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11345 int foo (void) { return 0; }
11347 if ac_fn_c_try_link "$LINENO"; then :
11348 lt_cv_irix_exported_symbol=yes
11350 lt_cv_irix_exported_symbol=no
11352 rm -f core conftest.err conftest.$ac_objext \
11353 conftest$ac_exeext conftest.$ac_ext
11354 LDFLAGS=$save_LDFLAGS
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11357 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11358 if test yes = "$lt_cv_irix_exported_symbol"; then
11359 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'
11362 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'
11363 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'
11365 archive_cmds_need_lc='no'
11366 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11367 hardcode_libdir_separator=:
11369 link_all_deplibs=yes
11373 case $cc_basename in
11375 # Fabrice Bellard et al's Tiny C Compiler
11377 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11383 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11384 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11386 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11388 hardcode_libdir_flag_spec='-R$libdir'
11389 hardcode_direct=yes
11390 hardcode_shlibpath_var=no
11394 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11395 hardcode_direct=yes
11396 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11397 hardcode_libdir_separator=:
11398 hardcode_shlibpath_var=no
11404 openbsd* | bitrig*)
11405 if test -f /usr/libexec/ld.so; then
11406 hardcode_direct=yes
11407 hardcode_shlibpath_var=no
11408 hardcode_direct_absolute=yes
11409 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11410 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11411 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11412 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11413 export_dynamic_flag_spec='$wl-E'
11415 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11416 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11424 hardcode_libdir_flag_spec='-L$libdir'
11425 hardcode_minus_L=yes
11426 allow_undefined_flag=unsupported
11428 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11429 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11430 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11431 $ECHO EXPORTS >> $output_objdir/$libname.def~
11432 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11433 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11434 emximp -o $lib $output_objdir/$libname.def'
11435 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11436 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11437 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11438 $ECHO EXPORTS >> $output_objdir/$libname.def~
11439 prefix_cmds="$SED"~
11440 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11441 prefix_cmds="$prefix_cmds -e 1d";
11443 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11444 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11445 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11446 emximp -o $lib $output_objdir/$libname.def'
11447 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11448 enable_shared_with_static_runtimes=yes
11453 if test yes = "$GCC"; then
11454 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11455 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'
11457 allow_undefined_flag=' -expect_unresolved \*'
11458 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'
11460 archive_cmds_need_lc='no'
11461 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11462 hardcode_libdir_separator=:
11465 osf4* | osf5*) # as osf3* with the addition of -msym flag
11466 if test yes = "$GCC"; then
11467 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11468 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'
11469 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11471 allow_undefined_flag=' -expect_unresolved \*'
11472 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'
11473 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~
11474 $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'
11476 # Both c and cxx compiler support -rpath directly
11477 hardcode_libdir_flag_spec='-rpath $libdir'
11479 archive_cmds_need_lc='no'
11480 hardcode_libdir_separator=:
11484 no_undefined_flag=' -z defs'
11485 if test yes = "$GCC"; then
11487 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11488 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11489 $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'
11491 case `$CC -V 2>&1` in
11494 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11495 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11496 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11500 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11501 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11502 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11506 hardcode_libdir_flag_spec='-R$libdir'
11507 hardcode_shlibpath_var=no
11509 solaris2.[0-5] | solaris2.[0-5].*) ;;
11511 # The compiler driver will combine and reorder linker options,
11512 # but understands '-z linker_flag'. GCC discards it without '$wl',
11513 # but is careful enough not to reorder.
11514 # Supported since Solaris 2.6 (maybe 2.5.1?)
11515 if test yes = "$GCC"; then
11516 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11518 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11522 link_all_deplibs=yes
11526 if test sequent = "$host_vendor"; then
11527 # Use $CC to link under sequent, because it throws in some extra .o
11528 # files that make .init and .fini sections work.
11529 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11531 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11533 hardcode_libdir_flag_spec='-L$libdir'
11534 hardcode_direct=yes
11535 hardcode_minus_L=yes
11536 hardcode_shlibpath_var=no
11540 case $host_vendor in
11542 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11543 hardcode_direct=yes # is this really true???
11546 ## LD is ld it makes a PLAMLIB
11547 ## CC just makes a GrossModule.
11548 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11549 reload_cmds='$CC -r -o $output$reload_objs'
11553 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11554 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11557 runpath_var='LD_RUN_PATH'
11558 hardcode_shlibpath_var=no
11562 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11563 hardcode_shlibpath_var=no
11564 export_dynamic_flag_spec='-Bexport'
11568 if test -d /usr/nec; then
11569 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11570 hardcode_shlibpath_var=no
11571 runpath_var=LD_RUN_PATH
11572 hardcode_runpath_var=yes
11577 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11578 no_undefined_flag='$wl-z,text'
11579 archive_cmds_need_lc=no
11580 hardcode_shlibpath_var=no
11581 runpath_var='LD_RUN_PATH'
11583 if test yes = "$GCC"; then
11584 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11585 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11587 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11588 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11592 sysv5* | sco3.2v5* | sco5v6*)
11593 # Note: We CANNOT use -z defs as we might desire, because we do not
11594 # link with -lc, and that would cause any symbols used from libc to
11595 # always be unresolved, which means just about no library would
11596 # ever link correctly. If we're not using GNU ld we use -z text
11597 # though, which does catch some bad symbols but isn't as heavy-handed
11599 no_undefined_flag='$wl-z,text'
11600 allow_undefined_flag='$wl-z,nodefs'
11601 archive_cmds_need_lc=no
11602 hardcode_shlibpath_var=no
11603 hardcode_libdir_flag_spec='$wl-R,$libdir'
11604 hardcode_libdir_separator=':'
11605 link_all_deplibs=yes
11606 export_dynamic_flag_spec='$wl-Bexport'
11607 runpath_var='LD_RUN_PATH'
11609 if test yes = "$GCC"; then
11610 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11611 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11613 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11614 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11619 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11620 hardcode_libdir_flag_spec='-L$libdir'
11621 hardcode_shlibpath_var=no
11629 if test sni = "$host_vendor"; then
11631 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11632 export_dynamic_flag_spec='$wl-Blargedynsym'
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11639 $as_echo "$ld_shlibs" >&6; }
11640 test no = "$ld_shlibs" && can_build_shared=no
11642 with_gnu_ld=$with_gnu_ld
11659 # Do we need to explicitly link libc?
11661 case "x$archive_cmds_need_lc" in
11663 # Assume -lc should be added
11664 archive_cmds_need_lc=yes
11666 if test yes,yes = "$GCC,$enable_shared"; then
11667 case $archive_cmds in
11669 # FIXME: we may have to deal with multi-command sequences.
11672 # Test whether the compiler implicitly links with -lc since on some
11673 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11674 # to ld, don't add -lc before -lgcc.
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11676 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11677 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11678 $as_echo_n "(cached) " >&6
11681 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11684 (eval $ac_compile) 2>&5
11686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11687 test $ac_status = 0; } 2>conftest.err; then
11690 libobjs=conftest.$ac_objext
11692 wl=$lt_prog_compiler_wl
11693 pic_flag=$lt_prog_compiler_pic
11699 lt_save_allow_undefined_flag=$allow_undefined_flag
11700 allow_undefined_flag=
11701 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11702 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11705 test $ac_status = 0; }
11707 lt_cv_archive_cmds_need_lc=no
11709 lt_cv_archive_cmds_need_lc=yes
11711 allow_undefined_flag=$lt_save_allow_undefined_flag
11713 cat conftest.err 1>&5
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11719 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11720 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11879 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11881 if test yes = "$GCC"; then
11883 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11884 *) lt_awk_arg='/^libraries:/' ;;
11887 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11888 *) lt_sed_strip_eq='s|=/|/|g' ;;
11890 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11891 case $lt_search_path_spec in
11893 # if the path contains ";" then we assume it to be the separator
11894 # otherwise default to the standard path separator (i.e. ":") - it is
11895 # assumed that no part of a normal pathname contains ";" but that should
11896 # okay in the real world where ";" in dirpaths is itself problematic.
11897 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11900 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11903 # Ok, now we have the path, separated by spaces, we can step through it
11904 # and add multilib dir if necessary...
11905 lt_tmp_lt_search_path_spec=
11906 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11907 # ...but if some path component already ends with the multilib dir we assume
11908 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11909 case "$lt_multi_os_dir; $lt_search_path_spec " in
11910 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11914 for lt_sys_path in $lt_search_path_spec; do
11915 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11916 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11917 elif test -n "$lt_multi_os_dir"; then
11918 test -d "$lt_sys_path" && \
11919 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11922 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11923 BEGIN {RS = " "; FS = "/|\n";} {
11926 for (lt_i = NF; lt_i > 0; lt_i--) {
11927 if ($lt_i != "" && $lt_i != ".") {
11928 if ($lt_i == "..") {
11931 if (lt_count == 0) {
11932 lt_foo = "/" $lt_i lt_foo;
11939 if (lt_foo != "") { lt_freq[lt_foo]++; }
11940 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11942 # AWK program above erroneously prepends '/' to C:/dos/paths
11945 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11946 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11948 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11950 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11952 library_names_spec=
11953 libname_spec='lib$name'
11957 postuninstall_cmds=
11961 shlibpath_overrides_runpath=unknown
11963 dynamic_linker="$host_os ld.so"
11964 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11965 need_lib_prefix=unknown
11966 hardcode_into_libs=no
11968 # when you set need_version to no, make sure it does not cause -set_version
11969 # flags to be left without arguments
11970 need_version=unknown
11976 version_type=linux # correct to gnu/linux during the next big refactor
11977 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11978 shlibpath_var=LIBPATH
11980 # AIX 3 has no versioning support, so we append a major version to the name.
11981 soname_spec='$libname$release$shared_ext$major'
11985 version_type=linux # correct to gnu/linux during the next big refactor
11988 hardcode_into_libs=yes
11989 if test ia64 = "$host_cpu"; then
11990 # AIX 5 supports IA64
11991 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11992 shlibpath_var=LD_LIBRARY_PATH
11994 # With GCC up to 2.95.x, collect2 would create an import file
11995 # for dependence libraries. The import file would start with
11996 # the line '#! .'. This would cause the generated library to
11997 # depend on '.', always an invalid library. This was fixed in
11998 # development snapshots of GCC prior to 3.0.
12000 aix4 | aix4.[01] | aix4.[01].*)
12001 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12003 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12006 can_build_shared=no
12010 # Using Import Files as archive members, it is possible to support
12011 # filename-based versioning of shared library archives on AIX. While
12012 # this would work for both with and without runtime linking, it will
12013 # prevent static linking of such archives. So we do filename-based
12014 # shared library versioning with .so extension only, which is used
12015 # when both runtime linking and shared linking is enabled.
12016 # Unfortunately, runtime linking may impact performance, so we do
12017 # not want this to be the default eventually. Also, we use the
12018 # versioned .so libs for executables only if there is the -brtl
12019 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12020 # To allow for filename-based versioning support, we need to create
12021 # libNAME.so.V as an archive file, containing:
12022 # *) an Import File, referring to the versioned filename of the
12023 # archive as well as the shared archive member, telling the
12024 # bitwidth (32 or 64) of that shared object, and providing the
12025 # list of exported symbols of that shared object, eventually
12026 # decorated with the 'weak' keyword
12027 # *) the shared object with the F_LOADONLY flag set, to really avoid
12028 # it being seen by the linker.
12029 # At run time we better use the real file rather than another symlink,
12030 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12032 case $with_aix_soname,$aix_use_runtimelinking in
12033 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12034 # soname into executable. Probably we can add versioning support to
12035 # collect2, so additional links can be useful in future.
12036 aix,yes) # traditional libtool
12037 dynamic_linker='AIX unversionable lib.so'
12038 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12039 # instead of lib<name>.a to let people know that these are not
12040 # typical AIX shared libraries.
12041 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12043 aix,no) # traditional AIX only
12044 dynamic_linker='AIX lib.a(lib.so.V)'
12045 # We preserve .a as extension for shared libraries through AIX4.2
12046 # and later when we are not doing run time linking.
12047 library_names_spec='$libname$release.a $libname.a'
12048 soname_spec='$libname$release$shared_ext$major'
12050 svr4,*) # full svr4 only
12051 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12052 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12053 # We do not specify a path in Import Files, so LIBPATH fires.
12054 shlibpath_overrides_runpath=yes
12056 *,yes) # both, prefer svr4
12057 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12058 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12059 # unpreferred sharedlib libNAME.a needs extra handling
12060 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"'
12061 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"'
12062 # We do not specify a path in Import Files, so LIBPATH fires.
12063 shlibpath_overrides_runpath=yes
12065 *,no) # both, prefer aix
12066 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12067 library_names_spec='$libname$release.a $libname.a'
12068 soname_spec='$libname$release$shared_ext$major'
12069 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12070 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)'
12071 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"'
12074 shlibpath_var=LIBPATH
12081 # Since July 2007 AmigaOS4 officially supports .so libraries.
12082 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12083 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12086 library_names_spec='$libname.ixlibrary $libname.a'
12087 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12088 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'
12094 library_names_spec='$libname$shared_ext'
12095 dynamic_linker="$host_os ld.so"
12096 shlibpath_var=LIBRARY_PATH
12100 version_type=linux # correct to gnu/linux during the next big refactor
12102 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12103 soname_spec='$libname$release$shared_ext$major'
12104 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12105 shlibpath_var=LD_LIBRARY_PATH
12106 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12107 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12108 # the default ld.so.conf also contains /usr/contrib/lib and
12109 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12110 # libtool to hard-code these into programs
12113 cygwin* | mingw* | pw32* | cegcc*)
12114 version_type=windows
12119 case $GCC,$cc_basename in
12122 library_names_spec='$libname.dll.a'
12123 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12124 postinstall_cmds='base_file=`basename \$file`~
12125 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12126 dldir=$destdir/`dirname \$dlpath`~
12127 test -d \$dldir || mkdir -p \$dldir~
12128 $install_prog $dir/$dlname \$dldir/$dlname~
12129 chmod a+x \$dldir/$dlname~
12130 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12131 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12133 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12134 dlpath=$dir/\$dldll~
12136 shlibpath_overrides_runpath=yes
12140 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12141 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12143 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12146 # MinGW DLLs use traditional 'lib' prefix
12147 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12150 # pw32 DLLs use 'pw' prefix rather than 'lib'
12151 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12154 dynamic_linker='Win32 ld.exe'
12158 # Native MSVC or ICC
12159 libname_spec='$name'
12160 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12161 library_names_spec='$libname.dll.lib'
12165 sys_lib_search_path_spec=
12168 for lt_path in $LIB
12171 # Let DOS variable expansion print the short 8.3 style file name.
12172 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12173 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12176 # Convert to MSYS style.
12177 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12180 # Convert to unix form, then to dos form, then back to unix form
12181 # but this time dos style (no spaces!) so that the unix form looks
12182 # like /cygdrive/c/PROGRA~1:/cygdr...
12183 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12184 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12185 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12188 sys_lib_search_path_spec=$LIB
12189 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12190 # It is most probably a Windows format PATH.
12191 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12193 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12195 # FIXME: find the short name or the path components, as spaces are
12196 # common. (e.g. "Program Files" -> "PROGRA~1")
12200 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12201 postinstall_cmds='base_file=`basename \$file`~
12202 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12203 dldir=$destdir/`dirname \$dlpath`~
12204 test -d \$dldir || mkdir -p \$dldir~
12205 $install_prog $dir/$dlname \$dldir/$dlname'
12206 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12207 dlpath=$dir/\$dldll~
12209 shlibpath_overrides_runpath=yes
12210 dynamic_linker='Win32 link.exe'
12214 # Assume MSVC and ICC wrapper
12215 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12216 dynamic_linker='Win32 ld.exe'
12219 # FIXME: first we should search . and the directory the executable is in
12223 darwin* | rhapsody*)
12224 dynamic_linker="$host_os dyld"
12225 version_type=darwin
12228 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12229 soname_spec='$libname$release$major$shared_ext'
12230 shlibpath_overrides_runpath=yes
12231 shlibpath_var=DYLD_LIBRARY_PATH
12232 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12234 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12235 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12239 version_type=linux # correct to gnu/linux during the next big refactor
12242 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12243 soname_spec='$libname$release$shared_ext$major'
12244 shlibpath_var=LD_LIBRARY_PATH
12247 freebsd* | dragonfly* | midnightbsd*)
12248 # DragonFly does not have aout. When/if they implement a new
12249 # versioning mechanism, adjust this.
12250 if test -x /usr/bin/objformat; then
12251 objformat=`/usr/bin/objformat`
12254 freebsd[23].*) objformat=aout ;;
12255 *) objformat=elf ;;
12258 version_type=freebsd-$objformat
12259 case $version_type in
12261 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12262 soname_spec='$libname$release$shared_ext$major'
12267 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12271 shlibpath_var=LD_LIBRARY_PATH
12274 shlibpath_overrides_runpath=yes
12276 freebsd3.[01]* | freebsdelf3.[01]*)
12277 shlibpath_overrides_runpath=yes
12278 hardcode_into_libs=yes
12280 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12281 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12282 shlibpath_overrides_runpath=no
12283 hardcode_into_libs=yes
12285 *) # from 4.6 on, and DragonFly
12286 shlibpath_overrides_runpath=yes
12287 hardcode_into_libs=yes
12293 version_type=linux # correct to gnu/linux during the next big refactor
12296 dynamic_linker="$host_os runtime_loader"
12297 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12298 soname_spec='$libname$release$shared_ext$major'
12299 shlibpath_var=LIBRARY_PATH
12300 shlibpath_overrides_runpath=no
12301 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12302 hardcode_into_libs=yes
12305 hpux9* | hpux10* | hpux11*)
12306 # Give a soname corresponding to the major version so that dld.sl refuses to
12307 # link against other versions.
12314 hardcode_into_libs=yes
12315 dynamic_linker="$host_os dld.so"
12316 shlibpath_var=LD_LIBRARY_PATH
12317 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12318 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12319 soname_spec='$libname$release$shared_ext$major'
12320 if test 32 = "$HPUX_IA64_MODE"; then
12321 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12322 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12324 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12325 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12330 hardcode_into_libs=yes
12331 dynamic_linker="$host_os dld.sl"
12332 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12333 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12334 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12335 soname_spec='$libname$release$shared_ext$major'
12336 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12337 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12341 dynamic_linker="$host_os dld.sl"
12342 shlibpath_var=SHLIB_PATH
12343 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12344 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12345 soname_spec='$libname$release$shared_ext$major'
12348 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12349 postinstall_cmds='chmod 555 $lib'
12350 # or fails outright, so override atomically:
12351 install_override_mode=555
12355 version_type=linux # correct to gnu/linux during the next big refactor
12358 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12359 soname_spec='$libname$release$shared_ext$major'
12360 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12361 shlibpath_var=LD_LIBRARY_PATH
12362 shlibpath_overrides_runpath=no
12363 hardcode_into_libs=yes
12366 irix5* | irix6* | nonstopux*)
12368 nonstopux*) version_type=nonstopux ;;
12370 if test yes = "$lt_cv_prog_gnu_ld"; then
12371 version_type=linux # correct to gnu/linux during the next big refactor
12378 soname_spec='$libname$release$shared_ext$major'
12379 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12381 irix5* | nonstopux*)
12382 libsuff= shlibsuff=
12385 case $LD in # libtool.m4 will add one of these switches to LD
12386 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12387 libsuff= shlibsuff= libmagic=32-bit;;
12388 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12389 libsuff=32 shlibsuff=N32 libmagic=N32;;
12390 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12391 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12392 *) libsuff= shlibsuff= libmagic=never-match;;
12396 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12397 shlibpath_overrides_runpath=no
12398 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12399 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12400 hardcode_into_libs=yes
12403 # No shared lib support for Linux oldld, aout, or coff.
12404 linux*oldld* | linux*aout* | linux*coff*)
12409 version_type=none # Android doesn't support versioned libraries.
12412 library_names_spec='$libname$release$shared_ext'
12413 soname_spec='$libname$release$shared_ext'
12415 shlibpath_var=LD_LIBRARY_PATH
12416 shlibpath_overrides_runpath=yes
12418 # This implies no fast_install, which is unacceptable.
12419 # Some rework will be needed to allow for fast_install
12420 # before this can be enabled.
12421 hardcode_into_libs=yes
12423 dynamic_linker='Android linker'
12424 # Don't embed -rpath directories since the linker doesn't support them.
12425 hardcode_libdir_flag_spec='-L$libdir'
12428 # This must be glibc/ELF.
12429 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12430 version_type=linux # correct to gnu/linux during the next big refactor
12433 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12434 soname_spec='$libname$release$shared_ext$major'
12435 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12436 shlibpath_var=LD_LIBRARY_PATH
12437 shlibpath_overrides_runpath=no
12439 # Some binutils ld are patched to set DT_RUNPATH
12440 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12441 $as_echo_n "(cached) " >&6
12443 lt_cv_shlibpath_overrides_runpath=no
12444 save_LDFLAGS=$LDFLAGS
12445 save_libdir=$libdir
12446 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12447 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12459 if ac_fn_c_try_link "$LINENO"; then :
12460 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12461 lt_cv_shlibpath_overrides_runpath=yes
12464 rm -f core conftest.err conftest.$ac_objext \
12465 conftest$ac_exeext conftest.$ac_ext
12466 LDFLAGS=$save_LDFLAGS
12467 libdir=$save_libdir
12471 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12473 # This implies no fast_install, which is unacceptable.
12474 # Some rework will be needed to allow for fast_install
12475 # before this can be enabled.
12476 hardcode_into_libs=yes
12478 # Ideally, we could use ldconfig to report *all* directores which are
12479 # searched for libraries, however this is still not possible. Aside from not
12480 # being certain /sbin/ldconfig is available, command
12481 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12482 # even though it is searched at run-time. Try to do the best guess by
12483 # appending ld.so.conf contents (and includes) to the search path.
12484 if test -f /etc/ld.so.conf; then
12485 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' ' '`
12486 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12489 # We used to test for /lib/ld.so.1 and disable shared libraries on
12490 # powerpc, because MkLinux only supported shared libraries with the
12491 # GNU dynamic linker. Since this was broken with cross compilers,
12492 # most powerpc-linux boxes support dynamic linking these days and
12493 # people can always --disable-shared, the test was removed, and we
12494 # assume the GNU/Linux dynamic linker is in use.
12495 dynamic_linker='GNU/Linux ld.so'
12502 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12503 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12504 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12505 dynamic_linker='NetBSD (a.out) ld.so'
12507 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12508 soname_spec='$libname$release$shared_ext$major'
12509 dynamic_linker='NetBSD ld.elf_so'
12511 shlibpath_var=LD_LIBRARY_PATH
12512 shlibpath_overrides_runpath=yes
12513 hardcode_into_libs=yes
12517 version_type=linux # correct to gnu/linux during the next big refactor
12518 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12519 shlibpath_var=LD_LIBRARY_PATH
12520 shlibpath_overrides_runpath=yes
12527 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12528 soname_spec='$libname$release$shared_ext$major'
12529 shlibpath_var=LD_LIBRARY_PATH
12530 shlibpath_overrides_runpath=no
12531 hardcode_into_libs=yes
12532 dynamic_linker='ldqnx.so'
12535 openbsd* | bitrig*)
12537 sys_lib_dlsearch_path_spec=/usr/lib
12539 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12544 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12545 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12546 shlibpath_var=LD_LIBRARY_PATH
12547 shlibpath_overrides_runpath=yes
12551 libname_spec='$name'
12552 version_type=windows
12556 # OS/2 can only load a DLL with a base name of 8 characters or less.
12557 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12558 v=$($ECHO $release$versuffix | tr -d .-);
12559 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12560 $ECHO $n$v`$shared_ext'
12561 library_names_spec='${libname}_dll.$libext'
12562 dynamic_linker='OS/2 ld.exe'
12563 shlibpath_var=BEGINLIBPATH
12564 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12565 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12566 postinstall_cmds='base_file=`basename \$file`~
12567 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12568 dldir=$destdir/`dirname \$dlpath`~
12569 test -d \$dldir || mkdir -p \$dldir~
12570 $install_prog $dir/$dlname \$dldir/$dlname~
12571 chmod a+x \$dldir/$dlname~
12572 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12573 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12575 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12576 dlpath=$dir/\$dldll~
12580 osf3* | osf4* | osf5*)
12584 soname_spec='$libname$release$shared_ext$major'
12585 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12586 shlibpath_var=LD_LIBRARY_PATH
12587 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12588 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12596 version_type=linux # correct to gnu/linux during the next big refactor
12599 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12600 soname_spec='$libname$release$shared_ext$major'
12601 shlibpath_var=LD_LIBRARY_PATH
12602 shlibpath_overrides_runpath=yes
12603 hardcode_into_libs=yes
12604 # ldd complains unless libraries are executable
12605 postinstall_cmds='chmod +x $lib'
12610 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12611 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12612 shlibpath_var=LD_LIBRARY_PATH
12613 shlibpath_overrides_runpath=yes
12614 if test yes = "$with_gnu_ld"; then
12621 version_type=linux # correct to gnu/linux during the next big refactor
12622 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12623 soname_spec='$libname$release$shared_ext$major'
12624 shlibpath_var=LD_LIBRARY_PATH
12625 case $host_vendor in
12627 shlibpath_overrides_runpath=no
12629 runpath_var=LD_RUN_PATH
12637 shlibpath_overrides_runpath=no
12638 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12644 if test -d /usr/nec; then
12645 version_type=linux # correct to gnu/linux during the next big refactor
12646 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12647 soname_spec='$libname$shared_ext.$major'
12648 shlibpath_var=LD_LIBRARY_PATH
12652 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12656 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12657 soname_spec='$libname$release$shared_ext$major'
12658 shlibpath_var=LD_LIBRARY_PATH
12659 shlibpath_overrides_runpath=yes
12660 hardcode_into_libs=yes
12661 if test yes = "$with_gnu_ld"; then
12662 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12664 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12667 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12671 sys_lib_dlsearch_path_spec='/usr/lib'
12675 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12676 version_type=linux # correct to gnu/linux during the next big refactor
12679 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12680 shlibpath_var=LD_LIBRARY_PATH
12681 shlibpath_overrides_runpath=no
12682 hardcode_into_libs=yes
12686 version_type=linux # correct to gnu/linux during the next big refactor
12687 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12688 soname_spec='$libname$release$shared_ext$major'
12689 shlibpath_var=LD_LIBRARY_PATH
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12697 $as_echo "$dynamic_linker" >&6; }
12698 test no = "$dynamic_linker" && can_build_shared=no
12700 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12701 if test yes = "$GCC"; then
12702 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12705 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12706 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12709 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12710 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12713 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12714 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12716 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12717 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12719 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12720 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12819 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12821 if test -n "$hardcode_libdir_flag_spec" ||
12822 test -n "$runpath_var" ||
12823 test yes = "$hardcode_automatic"; then
12825 # We can hardcode non-existent directories.
12826 if test no != "$hardcode_direct" &&
12827 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12828 # have to relink, otherwise we might link with an installed library
12829 # when we should be linking with a yet-to-be-installed one
12830 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12831 test no != "$hardcode_minus_L"; then
12832 # Linking always hardcodes the temporary library directory.
12833 hardcode_action=relink
12835 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12836 hardcode_action=immediate
12839 # We cannot hardcode anything, or else we can only hardcode existing
12841 hardcode_action=unsupported
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12844 $as_echo "$hardcode_action" >&6; }
12846 if test relink = "$hardcode_action" ||
12847 test yes = "$inherit_rpath"; then
12848 # Fast installation is not supported
12849 enable_fast_install=no
12850 elif test yes = "$shlibpath_overrides_runpath" ||
12851 test no = "$enable_shared"; then
12852 # Fast installation is not necessary
12853 enable_fast_install=needless
12861 if test yes != "$enable_dlopen"; then
12862 enable_dlopen=unknown
12863 enable_dlopen_self=unknown
12864 enable_dlopen_self_static=unknown
12871 lt_cv_dlopen=load_add_on
12873 lt_cv_dlopen_self=yes
12876 mingw* | pw32* | cegcc*)
12877 lt_cv_dlopen=LoadLibrary
12882 lt_cv_dlopen=dlopen
12887 # if libdl is installed we need to link against it
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12889 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12890 if ${ac_cv_lib_dl_dlopen+:} false; then :
12891 $as_echo_n "(cached) " >&6
12893 ac_check_lib_save_LIBS=$LIBS
12895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12898 /* Override any GCC internal prototype to avoid an error.
12899 Use char because int might match the return type of a GCC
12900 builtin and then its argument prototype would still apply. */
12913 if ac_fn_c_try_link "$LINENO"; then :
12914 ac_cv_lib_dl_dlopen=yes
12916 ac_cv_lib_dl_dlopen=no
12918 rm -f core conftest.err conftest.$ac_objext \
12919 conftest$ac_exeext conftest.$ac_ext
12920 LIBS=$ac_check_lib_save_LIBS
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12923 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12924 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12925 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12930 lt_cv_dlopen_self=yes
12937 # Don't try to run any link tests for TPF. We know it's impossible
12938 # because TPF is a cross-compiler, and we know how we open DSOs.
12939 lt_cv_dlopen=dlopen
12941 lt_cv_dlopen_self=no
12945 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12946 if test "x$ac_cv_func_shl_load" = xyes; then :
12947 lt_cv_dlopen=shl_load
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12950 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12951 if ${ac_cv_lib_dld_shl_load+:} false; then :
12952 $as_echo_n "(cached) " >&6
12954 ac_check_lib_save_LIBS=$LIBS
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 /* Override any GCC internal prototype to avoid an error.
12960 Use char because int might match the return type of a GCC
12961 builtin and then its argument prototype would still apply. */
12969 return shl_load ();
12974 if ac_fn_c_try_link "$LINENO"; then :
12975 ac_cv_lib_dld_shl_load=yes
12977 ac_cv_lib_dld_shl_load=no
12979 rm -f core conftest.err conftest.$ac_objext \
12980 conftest$ac_exeext conftest.$ac_ext
12981 LIBS=$ac_check_lib_save_LIBS
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12984 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12985 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12986 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12988 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12989 if test "x$ac_cv_func_dlopen" = xyes; then :
12990 lt_cv_dlopen=dlopen
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12993 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12994 if ${ac_cv_lib_dl_dlopen+:} false; then :
12995 $as_echo_n "(cached) " >&6
12997 ac_check_lib_save_LIBS=$LIBS
12999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13002 /* Override any GCC internal prototype to avoid an error.
13003 Use char because int might match the return type of a GCC
13004 builtin and then its argument prototype would still apply. */
13017 if ac_fn_c_try_link "$LINENO"; then :
13018 ac_cv_lib_dl_dlopen=yes
13020 ac_cv_lib_dl_dlopen=no
13022 rm -f core conftest.err conftest.$ac_objext \
13023 conftest$ac_exeext conftest.$ac_ext
13024 LIBS=$ac_check_lib_save_LIBS
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13027 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13028 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13029 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13032 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13033 if ${ac_cv_lib_svld_dlopen+:} false; then :
13034 $as_echo_n "(cached) " >&6
13036 ac_check_lib_save_LIBS=$LIBS
13037 LIBS="-lsvld $LIBS"
13038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13039 /* end confdefs.h. */
13041 /* Override any GCC internal prototype to avoid an error.
13042 Use char because int might match the return type of a GCC
13043 builtin and then its argument prototype would still apply. */
13056 if ac_fn_c_try_link "$LINENO"; then :
13057 ac_cv_lib_svld_dlopen=yes
13059 ac_cv_lib_svld_dlopen=no
13061 rm -f core conftest.err conftest.$ac_objext \
13062 conftest$ac_exeext conftest.$ac_ext
13063 LIBS=$ac_check_lib_save_LIBS
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13066 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13067 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13068 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13071 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13072 if ${ac_cv_lib_dld_dld_link+:} false; then :
13073 $as_echo_n "(cached) " >&6
13075 ac_check_lib_save_LIBS=$LIBS
13077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13078 /* end confdefs.h. */
13080 /* Override any GCC internal prototype to avoid an error.
13081 Use char because int might match the return type of a GCC
13082 builtin and then its argument prototype would still apply. */
13090 return dld_link ();
13095 if ac_fn_c_try_link "$LINENO"; then :
13096 ac_cv_lib_dld_dld_link=yes
13098 ac_cv_lib_dld_dld_link=no
13100 rm -f core conftest.err conftest.$ac_objext \
13101 conftest$ac_exeext conftest.$ac_ext
13102 LIBS=$ac_check_lib_save_LIBS
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13105 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13106 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13107 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13128 if test no = "$lt_cv_dlopen"; then
13134 case $lt_cv_dlopen in
13136 save_CPPFLAGS=$CPPFLAGS
13137 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13139 save_LDFLAGS=$LDFLAGS
13140 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13143 LIBS="$lt_cv_dlopen_libs $LIBS"
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13146 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13147 if ${lt_cv_dlopen_self+:} false; then :
13148 $as_echo_n "(cached) " >&6
13150 if test yes = "$cross_compiling"; then :
13151 lt_cv_dlopen_self=cross
13153 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13154 lt_status=$lt_dlunknown
13155 cat > conftest.$ac_ext <<_LT_EOF
13156 #line $LINENO "configure"
13157 #include "confdefs.h"
13166 # define LT_DLGLOBAL RTLD_GLOBAL
13169 # define LT_DLGLOBAL DL_GLOBAL
13171 # define LT_DLGLOBAL 0
13175 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13176 find out it does not work in some platform. */
13177 #ifndef LT_DLLAZY_OR_NOW
13179 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13182 # define LT_DLLAZY_OR_NOW DL_LAZY
13185 # define LT_DLLAZY_OR_NOW RTLD_NOW
13188 # define LT_DLLAZY_OR_NOW DL_NOW
13190 # define LT_DLLAZY_OR_NOW 0
13197 /* When -fvisibility=hidden is used, assume the code has been annotated
13198 correspondingly for the symbols needed. */
13199 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13200 int fnord () __attribute__((visibility("default")));
13203 int fnord () { return 42; }
13206 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13207 int status = $lt_dlunknown;
13211 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13214 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13215 else puts (dlerror ());
13217 /* dlclose (self); */
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13226 (eval $ac_link) 2>&5
13228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13230 (./conftest; exit; ) >&5 2>/dev/null
13232 case x$lt_status in
13233 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13234 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13235 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13238 # compilation failed
13239 lt_cv_dlopen_self=no
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13247 $as_echo "$lt_cv_dlopen_self" >&6; }
13249 if test yes = "$lt_cv_dlopen_self"; then
13250 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13252 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13253 if ${lt_cv_dlopen_self_static+:} false; then :
13254 $as_echo_n "(cached) " >&6
13256 if test yes = "$cross_compiling"; then :
13257 lt_cv_dlopen_self_static=cross
13259 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13260 lt_status=$lt_dlunknown
13261 cat > conftest.$ac_ext <<_LT_EOF
13262 #line $LINENO "configure"
13263 #include "confdefs.h"
13272 # define LT_DLGLOBAL RTLD_GLOBAL
13275 # define LT_DLGLOBAL DL_GLOBAL
13277 # define LT_DLGLOBAL 0
13281 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13282 find out it does not work in some platform. */
13283 #ifndef LT_DLLAZY_OR_NOW
13285 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13288 # define LT_DLLAZY_OR_NOW DL_LAZY
13291 # define LT_DLLAZY_OR_NOW RTLD_NOW
13294 # define LT_DLLAZY_OR_NOW DL_NOW
13296 # define LT_DLLAZY_OR_NOW 0
13303 /* When -fvisibility=hidden is used, assume the code has been annotated
13304 correspondingly for the symbols needed. */
13305 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13306 int fnord () __attribute__((visibility("default")));
13309 int fnord () { return 42; }
13312 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13313 int status = $lt_dlunknown;
13317 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13320 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13321 else puts (dlerror ());
13323 /* dlclose (self); */
13331 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13332 (eval $ac_link) 2>&5
13334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13335 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13336 (./conftest; exit; ) >&5 2>/dev/null
13338 case x$lt_status in
13339 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13340 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13341 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13344 # compilation failed
13345 lt_cv_dlopen_self_static=no
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13353 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13356 CPPFLAGS=$save_CPPFLAGS
13357 LDFLAGS=$save_LDFLAGS
13362 case $lt_cv_dlopen_self in
13363 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13364 *) enable_dlopen_self=unknown ;;
13367 case $lt_cv_dlopen_self_static in
13368 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13369 *) enable_dlopen_self_static=unknown ;;
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13392 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13393 if test -z "$STRIP"; then
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13395 $as_echo "no" >&6; }
13397 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13398 old_striplib="$STRIP --strip-debug"
13399 striplib="$STRIP --strip-unneeded"
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13401 $as_echo "yes" >&6; }
13405 # FIXME - insert some real tests, host_os isn't really good enough
13406 striplib="$STRIP -x"
13407 old_striplib="$STRIP -S"
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13409 $as_echo "yes" >&6; }
13412 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
13413 old_striplib="$STRIP --strip-debug"
13414 striplib="$STRIP --strip-unneeded"
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13416 $as_echo "yes" >&6; }
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13419 $as_echo "no" >&6; }
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13424 $as_echo "no" >&6; }
13441 # Report what library types will actually be built
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13443 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13445 $as_echo "$can_build_shared" >&6; }
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13448 $as_echo_n "checking whether to build shared libraries... " >&6; }
13449 test no = "$can_build_shared" && enable_shared=no
13451 # On AIX, shared libraries and static libraries use the same namespace, and
13452 # are all built from PIC.
13455 test yes = "$enable_shared" && enable_static=no
13456 if test -n "$RANLIB"; then
13457 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13458 postinstall_cmds='$RANLIB $lib'
13463 if test ia64 != "$host_cpu"; then
13464 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13465 yes,aix,yes) ;; # shared object as lib.so file only
13466 yes,svr4,*) ;; # shared object as lib.so archive member only
13467 yes,*) enable_static=no ;; # shared object in lib.a archive as well
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13473 $as_echo "$enable_shared" >&6; }
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13476 $as_echo_n "checking whether to build static libraries... " >&6; }
13477 # Make sure either enable_shared or enable_static is yes.
13478 test yes = "$enable_shared" || enable_static=yes
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13480 $as_echo "$enable_static" >&6; }
13487 ac_cpp='$CPP $CPPFLAGS'
13488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13508 ac_config_commands="$ac_config_commands libtool"
13513 # Only expand once:
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
13518 $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
13519 if ${libltdl_cv_shlibext+:} false; then :
13520 $as_echo_n "(cached) " >&6
13524 eval libltdl_cv_shlibext=$shrext_cmds
13526 eval libltdl_cv_shrext=$shrext_cmds
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
13530 $as_echo "$libltdl_cv_shlibext" >&6; }
13531 if test -n "$libltdl_cv_shlibext"; then
13533 cat >>confdefs.h <<_ACEOF
13534 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
13538 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
13540 cat >>confdefs.h <<_ACEOF
13541 #define LT_SHARED_EXT "$libltdl_cv_shrext"
13545 if test -n "$shared_archive_member_spec"; then
13547 cat >>confdefs.h <<_ACEOF
13548 #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
13554 $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
13555 if ${lt_cv_module_path_var+:} false; then :
13556 $as_echo_n "(cached) " >&6
13558 lt_cv_module_path_var=$shlibpath_var
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
13561 $as_echo "$lt_cv_module_path_var" >&6; }
13562 if test -n "$lt_cv_module_path_var"; then
13564 cat >>confdefs.h <<_ACEOF
13565 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
13571 $as_echo_n "checking for the default library search path... " >&6; }
13572 if ${lt_cv_sys_dlsearch_path+:} false; then :
13573 $as_echo_n "(cached) " >&6
13575 lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
13578 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
13579 if test -n "$lt_cv_sys_dlsearch_path"; then
13581 for dir in $lt_cv_sys_dlsearch_path; do
13582 if test -z "$sys_dlsearch_path"; then
13583 sys_dlsearch_path=$dir
13585 sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
13589 cat >>confdefs.h <<_ACEOF
13590 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
13600 ac_cpp='$CPP $CPPFLAGS'
13601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13605 lt_dlload_save_LIBS=$LIBS
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13609 $as_echo_n "checking for library containing dlopen... " >&6; }
13610 if ${ac_cv_search_dlopen+:} false; then :
13611 $as_echo_n "(cached) " >&6
13613 ac_func_search_save_LIBS=$LIBS
13614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13617 /* Override any GCC internal prototype to avoid an error.
13618 Use char because int might match the return type of a GCC
13619 builtin and then its argument prototype would still apply. */
13632 for ac_lib in '' dl; do
13633 if test -z "$ac_lib"; then
13634 ac_res="none required"
13637 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13639 if ac_fn_c_try_link "$LINENO"; then :
13640 ac_cv_search_dlopen=$ac_res
13642 rm -f core conftest.err conftest.$ac_objext \
13644 if ${ac_cv_search_dlopen+:} false; then :
13648 if ${ac_cv_search_dlopen+:} false; then :
13651 ac_cv_search_dlopen=no
13653 rm conftest.$ac_ext
13654 LIBS=$ac_func_search_save_LIBS
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13657 $as_echo "$ac_cv_search_dlopen" >&6; }
13658 ac_res=$ac_cv_search_dlopen
13659 if test "$ac_res" != no; then :
13660 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13662 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13664 if test "$ac_cv_search_dlopen" != "none required"; then
13667 libltdl_cv_lib_dl_dlopen=yes
13668 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13673 # include <dlfcn.h>
13684 if ac_fn_c_try_link "$LINENO"; then :
13686 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13688 libltdl_cv_func_dlopen=yes
13689 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13692 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13693 if ${ac_cv_lib_svld_dlopen+:} false; then :
13694 $as_echo_n "(cached) " >&6
13696 ac_check_lib_save_LIBS=$LIBS
13697 LIBS="-lsvld $LIBS"
13698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13701 /* Override any GCC internal prototype to avoid an error.
13702 Use char because int might match the return type of a GCC
13703 builtin and then its argument prototype would still apply. */
13716 if ac_fn_c_try_link "$LINENO"; then :
13717 ac_cv_lib_svld_dlopen=yes
13719 ac_cv_lib_svld_dlopen=no
13721 rm -f core conftest.err conftest.$ac_objext \
13722 conftest$ac_exeext conftest.$ac_ext
13723 LIBS=$ac_check_lib_save_LIBS
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13726 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13727 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13729 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13731 LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
13732 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13736 rm -f core conftest.err conftest.$ac_objext \
13737 conftest$ac_exeext conftest.$ac_ext
13740 if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
13743 LIBS="$LIBS $LIBADD_DLOPEN"
13744 for ac_func in dlerror
13746 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
13747 if test "x$ac_cv_func_dlerror" = xyes; then :
13748 cat >>confdefs.h <<_ACEOF
13749 #define HAVE_DLERROR 1
13760 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13761 if test "x$ac_cv_func_shl_load" = xyes; then :
13763 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
13765 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13768 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13769 if ${ac_cv_lib_dld_shl_load+:} false; then :
13770 $as_echo_n "(cached) " >&6
13772 ac_check_lib_save_LIBS=$LIBS
13774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13777 /* Override any GCC internal prototype to avoid an error.
13778 Use char because int might match the return type of a GCC
13779 builtin and then its argument prototype would still apply. */
13787 return shl_load ();
13792 if ac_fn_c_try_link "$LINENO"; then :
13793 ac_cv_lib_dld_shl_load=yes
13795 ac_cv_lib_dld_shl_load=no
13797 rm -f core conftest.err conftest.$ac_objext \
13798 conftest$ac_exeext conftest.$ac_ext
13799 LIBS=$ac_check_lib_save_LIBS
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13802 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13803 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13805 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
13807 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
13808 LIBADD_SHL_LOAD=-ldld
13817 # We only want this for pre-Mac OS X 10.4.
13818 ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
13819 if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
13821 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
13823 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
13828 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
13830 cygwin* | mingw* | pw32*)
13831 ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
13833 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
13839 cat >>confdefs.h <<_ACEOF
13840 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
13843 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13848 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13849 if ${ac_cv_lib_dld_dld_link+:} false; then :
13850 $as_echo_n "(cached) " >&6
13852 ac_check_lib_save_LIBS=$LIBS
13854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13857 /* Override any GCC internal prototype to avoid an error.
13858 Use char because int might match the return type of a GCC
13859 builtin and then its argument prototype would still apply. */
13867 return dld_link ();
13872 if ac_fn_c_try_link "$LINENO"; then :
13873 ac_cv_lib_dld_dld_link=yes
13875 ac_cv_lib_dld_dld_link=no
13877 rm -f core conftest.err conftest.$ac_objext \
13878 conftest$ac_exeext conftest.$ac_ext
13879 LIBS=$ac_check_lib_save_LIBS
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13882 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13883 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13885 $as_echo "#define HAVE_DLD 1" >>confdefs.h
13887 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
13894 if test -n "$LT_DLLOADERS"
13896 for lt_loader in $LT_DLLOADERS; do
13897 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
13900 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
13905 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
13908 LIBS=$lt_dlload_save_LIBS
13910 ac_cpp='$CPP $CPPFLAGS'
13911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
13917 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
13918 if ${lt_cv_sys_symbol_underscore+:} false; then :
13919 $as_echo_n "(cached) " >&6
13921 lt_cv_sys_symbol_underscore=no
13922 cat > conftest.$ac_ext <<_LT_EOF
13923 void nm_test_func(){}
13924 int main(){nm_test_func;return 0;}
13926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13927 (eval $ac_compile) 2>&5
13929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13930 test $ac_status = 0; }; then
13931 # Now try to grab the symbols.
13932 ac_nlist=conftest.nm
13933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
13934 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
13936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13937 test $ac_status = 0; } && test -s "$ac_nlist"; then
13938 # See whether the symbols have a leading underscore.
13939 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
13940 lt_cv_sys_symbol_underscore=yes
13942 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
13945 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
13949 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
13952 echo "configure: failed program was:" >&5
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
13959 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
13960 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
13963 if test yes = "$lt_cv_sys_symbol_underscore"; then
13964 if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
13966 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
13967 if ${libltdl_cv_need_uscore+:} false; then :
13968 $as_echo_n "(cached) " >&6
13970 libltdl_cv_need_uscore=unknown
13971 dlsym_uscore_save_LIBS=$LIBS
13972 LIBS="$LIBS $LIBADD_DLOPEN"
13973 libname=conftmod # stay within 8.3 filename limits!
13974 cat >$libname.$ac_ext <<_LT_EOF
13975 #line $LINENO "configure"
13976 #include "confdefs.h"
13977 /* When -fvisibility=hidden is used, assume the code has been annotated
13978 correspondingly for the symbols needed. */
13979 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13980 int fnord () __attribute__((visibility("default")));
13982 int fnord () { return 42; }
13985 # ltfn_module_cmds module_cmds
13986 # Execute tilde-delimited MODULE_CMDS with environment primed for
13987 # $module_cmds or $archive_cmds type content.
13988 ltfn_module_cmds ()
13989 {( # subshell avoids polluting parent global environment
13990 module_cmds_save_ifs=$IFS; IFS='~'
13992 IFS=$module_cmds_save_ifs
13993 libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
13994 rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
13995 major=; versuffix=; verstring=; deplibs=
13996 ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
13999 IFS=$module_cmds_save_ifs
14002 # Compile a loadable module using libtool macro expansion results.
14003 $CC $pic_flag -c $libname.$ac_ext
14004 ltfn_module_cmds "${module_cmds:-$archive_cmds}"
14006 # Try to fetch fnord with dlsym().
14007 libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
14008 cat >conftest.$ac_ext <<_LT_EOF
14009 #line $LINENO "configure"
14010 #include "confdefs.h"
14015 #ifndef RTLD_GLOBAL
14017 # define RTLD_GLOBAL DL_GLOBAL
14019 # define RTLD_GLOBAL 0
14024 # define RTLD_NOW DL_NOW
14026 # define RTLD_NOW 0
14030 void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
14031 int status = $libltdl_dlunknown;
14033 if (dlsym (handle, "fnord"))
14034 status = $libltdl_dlnouscore;
14036 if (dlsym (handle, "_fnord"))
14037 status = $libltdl_dluscore;
14047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14048 (eval $ac_link) 2>&5
14050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14051 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14052 (./conftest; exit; ) >&5 2>/dev/null
14054 case x$libltdl_status in
14055 x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
14056 x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
14057 x*) libltdl_cv_need_uscore=unknown ;;
14060 rm -rf conftest* $libname*
14061 LIBS=$dlsym_uscore_save_LIBS
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
14065 $as_echo "$libltdl_cv_need_uscore" >&6; }
14069 if test yes = "$libltdl_cv_need_uscore"; then
14071 $as_echo "#define NEED_USCORE 1" >>confdefs.h
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
14076 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
14077 if ${lt_cv_sys_dlopen_deplibs+:} false; then :
14078 $as_echo_n "(cached) " >&6
14080 # PORTME does your system automatically load deplibs for dlopen?
14081 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
14082 # For now, we just catch OSes we know something about -- in the
14083 # future, we'll try test this programmatically.
14084 lt_cv_sys_dlopen_deplibs=unknown
14086 aix3*|aix4.1.*|aix4.2.*)
14087 # Unknown whether this is true for these versions of AIX, but
14088 # we want this 'case' here to explicitly catch those versions.
14089 lt_cv_sys_dlopen_deplibs=unknown
14092 lt_cv_sys_dlopen_deplibs=yes
14097 lt_cv_sys_dlopen_deplibs=no
14102 lt_cv_sys_dlopen_deplibs=yes
14105 # Assuming the user has installed a libdl from somewhere, this is true
14106 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
14107 lt_cv_sys_dlopen_deplibs=yes
14109 freebsd* | dragonfly* | midnightbsd*)
14110 lt_cv_sys_dlopen_deplibs=yes
14112 gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
14113 # GNU and its variants, using gnu ld.so (Glibc)
14114 lt_cv_sys_dlopen_deplibs=yes
14117 lt_cv_sys_dlopen_deplibs=yes
14120 lt_cv_sys_dlopen_deplibs=yes
14122 irix[12345]*|irix6.[01]*)
14123 # Catch all versions of IRIX before 6.2, and indicate that we don't
14124 # know how it worked for any of those versions.
14125 lt_cv_sys_dlopen_deplibs=unknown
14128 # The case above catches anything before 6.2, and it's known that
14129 # at 6.2 and later dlopen does load deplibs.
14130 lt_cv_sys_dlopen_deplibs=yes
14133 lt_cv_sys_dlopen_deplibs=yes
14136 lt_cv_sys_dlopen_deplibs=yes
14139 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
14140 # it did *not* use an RPATH in a shared library to find objects the
14141 # library depends on, so we explicitly say 'no'.
14142 lt_cv_sys_dlopen_deplibs=no
14144 osf5.0|osf5.0a|osf5.1)
14145 # dlopen *does* load deplibs and with the right loader patch applied
14146 # it even uses RPATH in a shared library to search for shared objects
14147 # that the library depends on, but there's no easy way to know if that
14148 # patch is installed. Since this is the case, all we can really
14149 # say is unknown -- it depends on the patch being installed. If
14150 # it is, this changes to 'yes'. Without it, it would be 'no'.
14151 lt_cv_sys_dlopen_deplibs=unknown
14154 # the two cases above should catch all versions of osf <= 5.1. Read
14155 # the comments above for what we know about them.
14156 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
14157 # is used to find them so we can finally say 'yes'.
14158 lt_cv_sys_dlopen_deplibs=yes
14161 lt_cv_sys_dlopen_deplibs=yes
14164 lt_cv_sys_dlopen_deplibs=yes
14166 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14167 libltdl_cv_sys_dlopen_deplibs=yes
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
14173 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
14174 if test yes != "$lt_cv_sys_dlopen_deplibs"; then
14176 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
14181 for ac_header in argz.h
14183 ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
14185 if test "x$ac_cv_header_argz_h" = xyes; then :
14186 cat >>confdefs.h <<_ACEOF
14187 #define HAVE_ARGZ_H 1
14195 ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
14199 if test "x$ac_cv_type_error_t" = xyes; then :
14201 cat >>confdefs.h <<_ACEOF
14202 #define HAVE_ERROR_T 1
14208 $as_echo "#define error_t int" >>confdefs.h
14211 $as_echo "#define __error_t_defined 1" >>confdefs.h
14217 for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
14218 argz_next argz_stringify
14220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14222 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14223 cat >>confdefs.h <<_ACEOF
14224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14228 LT_ARGZ_H=lt__argz.h; case " $LIBOBJS " in
14229 *" lt__argz.$ac_objext "* ) ;;
14230 *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
14238 if test -z "$LT_ARGZ_H"; then :
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
14240 $as_echo_n "checking if argz actually works... " >&6; }
14241 if ${lt_cv_sys_argz_works+:} false; then :
14242 $as_echo_n "(cached) " >&6
14244 case $host_os in #(
14246 lt_cv_sys_argz_works=no
14247 if test no != "$cross_compiling"; then
14248 lt_cv_sys_argz_works="guessing no"
14250 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
14253 set x `uname -r | $SED -e "$lt_sed_extract_leading_digits"`
14258 if test 1 -lt "$lt_os_major" \
14259 || { test 1 -eq "$lt_os_major" \
14260 && { test 5 -lt "$lt_os_minor" \
14261 || { test 5 -eq "$lt_os_minor" \
14262 && test 24 -lt "$lt_os_micro"; }; }; }; then
14263 lt_cv_sys_argz_works=yes
14267 *) lt_cv_sys_argz_works=yes ;;
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
14271 $as_echo "$lt_cv_sys_argz_works" >&6; }
14272 if test yes = "$lt_cv_sys_argz_works"; then :
14274 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
14277 LT_ARGZ_H=lt__argz.h
14278 case " $LIBOBJS " in
14279 *" lt__argz.$ac_objext "* ) ;;
14280 *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
14290 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
14291 if ${libltdl_cv_preloaded_symbols+:} false; then :
14292 $as_echo_n "(cached) " >&6
14294 if test -n "$lt_cv_sys_global_symbol_pipe"; then
14295 libltdl_cv_preloaded_symbols=yes
14297 libltdl_cv_preloaded_symbols=no
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
14302 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
14303 if test yes = "$libltdl_cv_preloaded_symbols"; then
14305 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
14311 # Check whether --enable-ltdl-install was given.
14312 if test "${enable_ltdl_install+set}" = set; then :
14313 enableval=$enable_ltdl_install;
14317 case ,$enable_ltdl_install,$enable_ltdl_convenience in
14319 *) enable_ltdl_convenience=yes ;;
14322 if test no != "${enable_ltdl_install-no}"; then
14324 INSTALL_LTDL_FALSE='#'
14326 INSTALL_LTDL_TRUE='#'
14327 INSTALL_LTDL_FALSE=
14330 if test no != "${enable_ltdl_convenience-no}"; then
14331 CONVENIENCE_LTDL_TRUE=
14332 CONVENIENCE_LTDL_FALSE='#'
14334 CONVENIENCE_LTDL_TRUE='#'
14335 CONVENIENCE_LTDL_FALSE=
14343 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
14344 # the user used. This is so that ltdl.h can pick up the parent projects
14345 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
14346 # definitions required by ltdl.c.
14347 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
14351 for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
14353 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14354 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14356 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14357 cat >>confdefs.h <<_ACEOF
14358 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14366 for ac_func in closedir opendir readdir
14368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14370 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14371 cat >>confdefs.h <<_ACEOF
14372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14376 case " $LIBOBJS " in
14377 *" lt__dirent.$ac_objext "* ) ;;
14378 *) LIBOBJS="$LIBOBJS lt__dirent.$ac_objext"
14385 for ac_func in strlcat strlcpy
14387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14389 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14390 cat >>confdefs.h <<_ACEOF
14391 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14395 case " $LIBOBJS " in
14396 *" lt__strl.$ac_objext "* ) ;;
14397 *) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
14406 cat >>confdefs.h <<_ACEOF
14407 #define LT_LIBEXT "$libext"
14412 eval "lt_libprefix=\"$libname_spec\""
14414 cat >>confdefs.h <<_ACEOF
14415 #define LT_LIBPREFIX "$lt_libprefix"
14420 eval "LTDLOPEN=\"$libname_spec\""
14424 # Enable all the language support we can
14426 ac_cpp='$CXXCPP $CPPFLAGS'
14427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14430 if test -z "$CXX"; then
14431 if test -n "$CCC"; then
14434 if test -n "$ac_tool_prefix"; then
14435 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14437 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14438 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14440 $as_echo_n "checking for $ac_word... " >&6; }
14441 if ${ac_cv_prog_CXX+:} false; then :
14442 $as_echo_n "(cached) " >&6
14444 if test -n "$CXX"; then
14445 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14448 for as_dir in $PATH
14451 test -z "$as_dir" && as_dir=.
14452 for ac_exec_ext in '' $ac_executable_extensions; do
14453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14454 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14464 CXX=$ac_cv_prog_CXX
14465 if test -n "$CXX"; then
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14467 $as_echo "$CXX" >&6; }
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14470 $as_echo "no" >&6; }
14474 test -n "$CXX" && break
14477 if test -z "$CXX"; then
14479 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14481 # Extract the first word of "$ac_prog", so it can be a program name with args.
14482 set dummy $ac_prog; ac_word=$2
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14484 $as_echo_n "checking for $ac_word... " >&6; }
14485 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
14486 $as_echo_n "(cached) " >&6
14488 if test -n "$ac_ct_CXX"; then
14489 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14492 for as_dir in $PATH
14495 test -z "$as_dir" && as_dir=.
14496 for ac_exec_ext in '' $ac_executable_extensions; do
14497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14498 ac_cv_prog_ac_ct_CXX="$ac_prog"
14499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14508 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14509 if test -n "$ac_ct_CXX"; then
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14511 $as_echo "$ac_ct_CXX" >&6; }
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14514 $as_echo "no" >&6; }
14518 test -n "$ac_ct_CXX" && break
14521 if test "x$ac_ct_CXX" = x; then
14524 case $cross_compiling:$ac_tool_warned in
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14528 ac_tool_warned=yes ;;
14536 # Provide some information about the compiler.
14537 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14540 for ac_option in --version -v -V -qversion; do
14541 { { ac_try="$ac_compiler $ac_option >&5"
14542 case "(($ac_try" in
14543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14544 *) ac_try_echo=$ac_try;;
14546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14547 $as_echo "$ac_try_echo"; } >&5
14548 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14550 if test -s conftest.err; then
14552 ... rest of stderr output deleted ...
14553 10q' conftest.err >conftest.er1
14554 cat conftest.er1 >&5
14556 rm -f conftest.er1 conftest.err
14557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14558 test $ac_status = 0; }
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14562 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14563 if ${ac_cv_cxx_compiler_gnu+:} false; then :
14564 $as_echo_n "(cached) " >&6
14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14580 if ac_fn_cxx_try_compile "$LINENO"; then :
14581 ac_compiler_gnu=yes
14585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14586 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14590 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14591 if test $ac_compiler_gnu = yes; then
14596 ac_test_CXXFLAGS=${CXXFLAGS+set}
14597 ac_save_CXXFLAGS=$CXXFLAGS
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14599 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14600 if ${ac_cv_prog_cxx_g+:} false; then :
14601 $as_echo_n "(cached) " >&6
14603 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14604 ac_cxx_werror_flag=yes
14605 ac_cv_prog_cxx_g=no
14607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14608 /* end confdefs.h. */
14618 if ac_fn_cxx_try_compile "$LINENO"; then :
14619 ac_cv_prog_cxx_g=yes
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14633 if ac_fn_cxx_try_compile "$LINENO"; then :
14636 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14649 if ac_fn_cxx_try_compile "$LINENO"; then :
14650 ac_cv_prog_cxx_g=yes
14652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14657 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14660 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14661 if test "$ac_test_CXXFLAGS" = set; then
14662 CXXFLAGS=$ac_save_CXXFLAGS
14663 elif test $ac_cv_prog_cxx_g = yes; then
14664 if test "$GXX" = yes; then
14670 if test "$GXX" = yes; then
14677 ac_cpp='$CPP $CPPFLAGS'
14678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14682 depcc="$CXX" am_compiler_list=
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14685 $as_echo_n "checking dependency style of $depcc... " >&6; }
14686 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
14687 $as_echo_n "(cached) " >&6
14689 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14690 # We make a subdir and do the tests there. Otherwise we can end up
14691 # making bogus files that we don't know about and never remove. For
14692 # instance it was reported that on HP-UX the gcc test will end up
14693 # making a dummy file named 'D' -- because '-MD' means "put the output
14695 rm -rf conftest.dir
14697 # Copy depcomp to subdir because otherwise we won't find it if we're
14698 # using a relative directory.
14699 cp "$am_depcomp" conftest.dir
14701 # We will build objects and dependencies in a subdirectory because
14702 # it helps to detect inapplicable dependency modes. For instance
14703 # both Tru64's cc and ICC support -MD to output dependencies as a
14704 # side effect of compilation, but ICC will put the dependencies in
14705 # the current directory while Tru64 will put them in the object
14709 am_cv_CXX_dependencies_compiler_type=none
14710 if test "$am_compiler_list" = ""; then
14711 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14713 am__universal=false
14714 case " $depcc " in #(
14715 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14718 for depmode in $am_compiler_list; do
14719 # Setup a source with many dependencies, because some compilers
14720 # like to wrap large dependency lists on column 80 (with \), and
14721 # we should not choose a depcomp mode which is confused by this.
14723 # We need to recreate these files for each test, as the compiler may
14724 # overwrite some of them when testing with obscure command lines.
14725 # This happens at least with the AIX C compiler.
14727 for i in 1 2 3 4 5 6; do
14728 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14729 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14730 # Solaris 10 /bin/sh.
14731 echo '/* dummy */' > sub/conftst$i.h
14733 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14735 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14736 # mode. It turns out that the SunPro C++ compiler does not properly
14737 # handle '-M -o', and we need to detect this. Also, some Intel
14738 # versions had trouble with output in subdirs.
14739 am__obj=sub/conftest.${OBJEXT-o}
14740 am__minus_obj="-o $am__obj"
14743 # This depmode causes a compiler race in universal mode.
14744 test "$am__universal" = false || continue
14747 # After this tag, mechanisms are not by side-effect, so they'll
14748 # only be used when explicitly requested.
14749 if test "x$enable_dependency_tracking" = xyes; then
14755 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14756 # This compiler won't grok '-c -o', but also, the minuso test has
14757 # not run yet. These depmodes are late enough in the game, and
14758 # so weak that their functioning should not be impacted.
14759 am__obj=conftest.${OBJEXT-o}
14764 if depmode=$depmode \
14765 source=sub/conftest.c object=$am__obj \
14766 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14767 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14768 >/dev/null 2>conftest.err &&
14769 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14770 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14771 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14772 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14773 # icc doesn't choke on unknown options, it will just issue warnings
14774 # or remarks (even with -Werror). So we grep stderr for any message
14775 # that says an option was ignored or not supported.
14776 # When given -MP, icc 7.0 and 7.1 complain thusly:
14777 # icc: Command line warning: ignoring option '-M'; no argument required
14778 # The diagnosis changed in icc 8.0:
14779 # icc: Command line remark: option '-MP' not supported
14780 if (grep 'ignoring option' conftest.err ||
14781 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14782 am_cv_CXX_dependencies_compiler_type=$depmode
14789 rm -rf conftest.dir
14791 am_cv_CXX_dependencies_compiler_type=none
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14796 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14797 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14800 test "x$enable_dependency_tracking" != xno \
14801 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14802 am__fastdepCXX_TRUE=
14803 am__fastdepCXX_FALSE='#'
14805 am__fastdepCXX_TRUE='#'
14806 am__fastdepCXX_FALSE=
14813 func_stripname_cnf ()
14816 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
14817 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
14819 } # func_stripname_cnf
14821 if test -n "$CXX" && ( test no != "$CXX" &&
14822 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14823 (test g++ != "$CXX"))); then
14825 ac_cpp='$CXXCPP $CPPFLAGS'
14826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14830 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14831 if test -z "$CXXCPP"; then
14832 if ${ac_cv_prog_CXXCPP+:} false; then :
14833 $as_echo_n "(cached) " >&6
14835 # Double quotes because CXXCPP needs to be expanded
14836 for CXXCPP in "$CXX -E" "/lib/cpp"
14838 ac_preproc_ok=false
14839 for ac_cxx_preproc_warn_flag in '' yes
14841 # Use a header file that comes with gcc, so configuring glibc
14842 # with a fresh cross-compiler works.
14843 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14844 # <limits.h> exists even on freestanding compilers.
14845 # On the NeXT, cc -E runs the code through the compiler's parser,
14846 # not just through cpp. "Syntax error" is here to catch this case.
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14850 # include <limits.h>
14852 # include <assert.h>
14856 if ac_fn_cxx_try_cpp "$LINENO"; then :
14859 # Broken: fails on valid input.
14862 rm -f conftest.err conftest.i conftest.$ac_ext
14864 # OK, works on sane cases. Now check whether nonexistent headers
14865 # can be detected and how.
14866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14868 #include <ac_nonexistent.h>
14870 if ac_fn_cxx_try_cpp "$LINENO"; then :
14871 # Broken: success on invalid input.
14874 # Passes both tests.
14878 rm -f conftest.err conftest.i conftest.$ac_ext
14881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14882 rm -f conftest.i conftest.err conftest.$ac_ext
14883 if $ac_preproc_ok; then :
14888 ac_cv_prog_CXXCPP=$CXXCPP
14891 CXXCPP=$ac_cv_prog_CXXCPP
14893 ac_cv_prog_CXXCPP=$CXXCPP
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14896 $as_echo "$CXXCPP" >&6; }
14897 ac_preproc_ok=false
14898 for ac_cxx_preproc_warn_flag in '' yes
14900 # Use a header file that comes with gcc, so configuring glibc
14901 # with a fresh cross-compiler works.
14902 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14903 # <limits.h> exists even on freestanding compilers.
14904 # On the NeXT, cc -E runs the code through the compiler's parser,
14905 # not just through cpp. "Syntax error" is here to catch this case.
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 # include <limits.h>
14911 # include <assert.h>
14915 if ac_fn_cxx_try_cpp "$LINENO"; then :
14918 # Broken: fails on valid input.
14921 rm -f conftest.err conftest.i conftest.$ac_ext
14923 # OK, works on sane cases. Now check whether nonexistent headers
14924 # can be detected and how.
14925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14927 #include <ac_nonexistent.h>
14929 if ac_fn_cxx_try_cpp "$LINENO"; then :
14930 # Broken: success on invalid input.
14933 # Passes both tests.
14937 rm -f conftest.err conftest.i conftest.$ac_ext
14940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14941 rm -f conftest.i conftest.err conftest.$ac_ext
14942 if $ac_preproc_ok; then :
14945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14947 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14948 See \`config.log' for more details" "$LINENO" 5; }
14952 ac_cpp='$CPP $CPPFLAGS'
14953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14958 _lt_caught_CXX_error=yes
14962 ac_cpp='$CXXCPP $CPPFLAGS'
14963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14967 archive_cmds_need_lc_CXX=no
14968 allow_undefined_flag_CXX=
14969 always_export_symbols_CXX=no
14970 archive_expsym_cmds_CXX=
14971 compiler_needs_object_CXX=no
14972 export_dynamic_flag_spec_CXX=
14973 hardcode_direct_CXX=no
14974 hardcode_direct_absolute_CXX=no
14975 hardcode_libdir_flag_spec_CXX=
14976 hardcode_libdir_separator_CXX=
14977 hardcode_minus_L_CXX=no
14978 hardcode_shlibpath_var_CXX=unsupported
14979 hardcode_automatic_CXX=no
14980 inherit_rpath_CXX=no
14982 module_expsym_cmds_CXX=
14983 link_all_deplibs_CXX=unknown
14984 old_archive_cmds_CXX=$old_archive_cmds
14985 reload_flag_CXX=$reload_flag
14986 reload_cmds_CXX=$reload_cmds
14987 no_undefined_flag_CXX=
14988 whole_archive_flag_spec_CXX=
14989 enable_shared_with_static_runtimes_CXX=no
14991 # Source file extension for C++ test sources.
14994 # Object file extension for compiled C++ test sources.
14998 # No sense in running all these tests if we already determined that
14999 # the CXX compiler isn't working. Some variables (like enable_shared)
15000 # are currently assumed to apply to all compilers on this platform,
15001 # and will be corrupted by setting them based on a non-working compiler.
15002 if test yes != "$_lt_caught_CXX_error"; then
15003 # Code to be used in simple compile tests
15004 lt_simple_compile_test_code="int some_variable = 0;"
15006 # Code to be used in simple link tests
15007 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15009 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15016 # If no C compiler was specified, use CC.
15019 # If no C compiler flags were specified, use CFLAGS.
15020 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15022 # Allow CC to be a program name with arguments.
15026 # save warnings/boilerplate of simple test code
15027 ac_outfile=conftest.$ac_objext
15028 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15029 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15030 _lt_compiler_boilerplate=`cat conftest.err`
15033 ac_outfile=conftest.$ac_objext
15034 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15035 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15036 _lt_linker_boilerplate=`cat conftest.err`
15040 # Allow CC to be a program name with arguments.
15042 lt_save_CFLAGS=$CFLAGS
15046 lt_save_with_gnu_ld=$with_gnu_ld
15047 lt_save_path_LD=$lt_cv_path_LD
15048 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15049 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15051 $as_unset lt_cv_prog_gnu_ld
15053 if test -n "${lt_cv_path_LDCXX+set}"; then
15054 lt_cv_path_LD=$lt_cv_path_LDCXX
15056 $as_unset lt_cv_path_LD
15058 test -z "${LDCXX+set}" || LD=$LDCXX
15063 func_cc_basename $compiler
15064 cc_basename=$func_cc_basename_result
15067 if test -n "$compiler"; then
15068 # We don't want -fno-exception when compiling C++ code, so set the
15069 # no_builtin_flag separately
15070 if test yes = "$GXX"; then
15071 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15073 lt_prog_compiler_no_builtin_flag_CXX=
15076 if test yes = "$GXX"; then
15077 # Set up default GNU C++ configuration
15081 # Check whether --with-gnu-ld was given.
15082 if test "${with_gnu_ld+set}" = set; then :
15083 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
15089 if test yes = "$GCC"; then
15090 # Check if gcc -print-prog-name=ld gives a path.
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15092 $as_echo_n "checking for ld used by $CC... " >&6; }
15095 # gcc leaves a trailing carriage return, which upsets mingw
15096 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15098 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15101 # Accept absolute paths.
15103 re_direlt='/[^/][^/]*/\.\./'
15104 # Canonicalize the pathname of ld
15105 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15106 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15107 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15109 test -z "$LD" && LD=$ac_prog
15112 # If it fails, then pretend we aren't using GCC.
15116 # If it is relative, then search for the first ld in PATH.
15117 with_gnu_ld=unknown
15120 elif test yes = "$with_gnu_ld"; then
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15122 $as_echo_n "checking for GNU ld... " >&6; }
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15125 $as_echo_n "checking for non-GNU ld... " >&6; }
15127 if ${lt_cv_path_LD+:} false; then :
15128 $as_echo_n "(cached) " >&6
15130 if test -z "$LD"; then
15131 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
15132 for ac_dir in $PATH; do
15134 test -z "$ac_dir" && ac_dir=.
15135 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15136 lt_cv_path_LD=$ac_dir/$ac_prog
15137 # Check to see if the program is GNU ld. I'd rather use --version,
15138 # but apparently some variants of GNU ld only accept -v.
15139 # Break only if it was the GNU/non-GNU ld that we prefer.
15140 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15141 *GNU* | *'with BFD'*)
15142 test no != "$with_gnu_ld" && break
15145 test yes != "$with_gnu_ld" && break
15152 lt_cv_path_LD=$LD # Let the user override the test with a path.
15157 if test -n "$LD"; then
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15159 $as_echo "$LD" >&6; }
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15162 $as_echo "no" >&6; }
15164 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15166 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15167 if ${lt_cv_prog_gnu_ld+:} false; then :
15168 $as_echo_n "(cached) " >&6
15170 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15171 case `$LD -v 2>&1 </dev/null` in
15172 *GNU* | *'with BFD'*)
15173 lt_cv_prog_gnu_ld=yes
15176 lt_cv_prog_gnu_ld=no
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15181 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15182 with_gnu_ld=$lt_cv_prog_gnu_ld
15190 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15191 # archiving commands below assume that GNU ld is being used.
15192 if test yes = "$with_gnu_ld"; then
15193 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15194 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'
15196 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15197 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15199 # If archive_cmds runs LD, not CC, wlarc should be empty
15200 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15201 # investigate it a little bit more. (MM)
15204 # ancient GNU ld didn't support --whole-archive et. al.
15205 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15206 $GREP 'no-whole-archive' > /dev/null; then
15207 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15209 whole_archive_flag_spec_CXX=
15215 # A generic and very simple default shared library creation
15216 # command for GNU C++ for the case where it uses the native
15217 # linker, instead of GNU ld. If possible, this setting should
15218 # overridden to take advantage of the native linker features on
15219 # the platform it is being used on.
15220 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15223 # Commands to make compiler produce verbose output that lists
15224 # what "hidden" libraries, object files and flags are used when
15225 # linking a shared library.
15226 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15234 # PORTME: fill in a description of your system's C++ link characteristics
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15236 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15240 # FIXME: insert proper C++ library support
15244 if test ia64 = "$host_cpu"; then
15245 # On IA64, the linker does run time linking by default, so we don't
15246 # have to do anything special.
15247 aix_use_runtimelinking=no
15248 exp_sym_flag='-Bexport'
15251 aix_use_runtimelinking=no
15253 # Test if we are trying to use run time linking or normal
15254 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15255 # have runtime linking enabled, and use it for executables.
15256 # For shared libraries, we enable/disable runtime linking
15257 # depending on the kind of the shared library created -
15258 # when "with_aix_soname,aix_use_runtimelinking" is:
15259 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15260 # "aix,yes" lib.so shared, rtl:yes, for executables
15261 # lib.a static archive
15262 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15263 # lib.a(lib.so.V) shared, rtl:no, for executables
15264 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15265 # lib.a(lib.so.V) shared, rtl:no
15266 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15267 # lib.a static archive
15268 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15269 for ld_flag in $LDFLAGS; do
15272 aix_use_runtimelinking=yes
15277 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
15278 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15279 # so we don't have lib.a shared libs to link our executables.
15280 # We have to force runtime linking in this case.
15281 aix_use_runtimelinking=yes
15282 LDFLAGS="$LDFLAGS -Wl,-brtl"
15287 exp_sym_flag='-bexport'
15288 no_entry_flag='-bnoentry'
15291 # When large executables or shared objects are built, AIX ld can
15292 # have problems creating the table of contents. If linking a library
15293 # or program results in "error TOC overflow" add -mminimal-toc to
15294 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15295 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15297 archive_cmds_CXX=''
15298 hardcode_direct_CXX=yes
15299 hardcode_direct_absolute_CXX=yes
15300 hardcode_libdir_separator_CXX=':'
15301 link_all_deplibs_CXX=yes
15302 file_list_spec_CXX='$wl-f,'
15303 case $with_aix_soname,$aix_use_runtimelinking in
15304 aix,*) ;; # no import file
15305 svr4,* | *,yes) # use import file
15306 # The Import File defines what to hardcode.
15307 hardcode_direct_CXX=no
15308 hardcode_direct_absolute_CXX=no
15312 if test yes = "$GXX"; then
15313 case $host_os in aix4.[012]|aix4.[012].*)
15314 # We only want to do this on AIX 4.2 and lower, the check
15315 # below for broken collect2 doesn't work under 4.3+
15316 collect2name=`$CC -print-prog-name=collect2`
15317 if test -f "$collect2name" &&
15318 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15320 # We have reworked collect2
15323 # We have old collect2
15324 hardcode_direct_CXX=unsupported
15325 # It fails to find uninstalled libraries when the uninstalled
15326 # path is not listed in the libpath. Setting hardcode_minus_L
15327 # to unsupported forces relinking
15328 hardcode_minus_L_CXX=yes
15329 hardcode_libdir_flag_spec_CXX='-L$libdir'
15330 hardcode_libdir_separator_CXX=
15333 shared_flag='-shared'
15334 if test yes = "$aix_use_runtimelinking"; then
15335 shared_flag=$shared_flag' $wl-G'
15337 # Need to ensure runtime linking is disabled for the traditional
15338 # shared library, or the linker may eventually find shared libraries
15339 # /with/ Import File - we do not want to mix them.
15340 shared_flag_aix='-shared'
15341 shared_flag_svr4='-shared $wl-G'
15344 if test ia64 = "$host_cpu"; then
15345 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15346 # chokes on -Wl,-G. The following line is correct:
15349 if test yes = "$aix_use_runtimelinking"; then
15350 shared_flag='$wl-G'
15352 shared_flag='$wl-bM:SRE'
15354 shared_flag_aix='$wl-bM:SRE'
15355 shared_flag_svr4='$wl-G'
15359 export_dynamic_flag_spec_CXX='$wl-bexpall'
15360 # It seems that -bexpall does not export symbols beginning with
15361 # underscore (_), so it is better to generate a list of symbols to
15363 always_export_symbols_CXX=yes
15364 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15365 # Warning - without using the other runtime loading flags (-brtl),
15366 # -berok will link without error, but may produce a broken library.
15367 # The "-G" linker flag allows undefined symbols.
15368 no_undefined_flag_CXX='-bernotok'
15369 # Determine the default libpath from the value encoded in an empty
15371 if test set = "${lt_cv_aix_libpath+set}"; then
15372 aix_libpath=$lt_cv_aix_libpath
15374 if ${lt_cv_aix_libpath__CXX+:} false; then :
15375 $as_echo_n "(cached) " >&6
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15388 if ac_fn_cxx_try_link "$LINENO"; then :
15390 lt_aix_libpath_sed='
15391 /Import File Strings/,/^$/ {
15393 s/^0 *\([^ ]*\) *$/\1/
15397 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15398 # Check for a 64-bit object if we didn't find anything.
15399 if test -z "$lt_cv_aix_libpath__CXX"; then
15400 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15403 rm -f core conftest.err conftest.$ac_objext \
15404 conftest$ac_exeext conftest.$ac_ext
15405 if test -z "$lt_cv_aix_libpath__CXX"; then
15406 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15411 aix_libpath=$lt_cv_aix_libpath__CXX
15414 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15416 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
15418 if test ia64 = "$host_cpu"; then
15419 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
15420 allow_undefined_flag_CXX="-z nodefs"
15421 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"
15423 # Determine the default libpath from the value encoded in an
15424 # empty executable.
15425 if test set = "${lt_cv_aix_libpath+set}"; then
15426 aix_libpath=$lt_cv_aix_libpath
15428 if ${lt_cv_aix_libpath__CXX+:} false; then :
15429 $as_echo_n "(cached) " >&6
15431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h. */
15442 if ac_fn_cxx_try_link "$LINENO"; then :
15444 lt_aix_libpath_sed='
15445 /Import File Strings/,/^$/ {
15447 s/^0 *\([^ ]*\) *$/\1/
15451 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15452 # Check for a 64-bit object if we didn't find anything.
15453 if test -z "$lt_cv_aix_libpath__CXX"; then
15454 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15457 rm -f core conftest.err conftest.$ac_objext \
15458 conftest$ac_exeext conftest.$ac_ext
15459 if test -z "$lt_cv_aix_libpath__CXX"; then
15460 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15465 aix_libpath=$lt_cv_aix_libpath__CXX
15468 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15469 # Warning - without using the other run time loading flags,
15470 # -berok will link without error, but may produce a broken library.
15471 no_undefined_flag_CXX=' $wl-bernotok'
15472 allow_undefined_flag_CXX=' $wl-berok'
15473 if test yes = "$with_gnu_ld"; then
15474 # We only use this code for GNU lds that support --whole-archive.
15475 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15477 # Exported symbols can be pulled into shared objects from archives
15478 whole_archive_flag_spec_CXX='$convenience'
15480 archive_cmds_need_lc_CXX=yes
15481 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15482 # -brtl affects multiple linker settings, -berok does not and is overridden later
15483 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15484 if test svr4 != "$with_aix_soname"; then
15485 # This is similar to how AIX traditionally builds its shared
15486 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15487 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'
15489 if test aix != "$with_aix_soname"; then
15490 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'
15492 # used by -dlpreopen to get the symbols
15493 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15495 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15501 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15502 allow_undefined_flag_CXX=unsupported
15503 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15504 # support --undefined. This deserves some investigation. FIXME
15505 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15512 case $cc_basename in
15514 # FIXME: insert proper C++ library support
15520 cygwin* | mingw* | pw32* | cegcc*)
15521 case $GXX,$cc_basename in
15522 ,cl* | no,cl* | ,icl* | no,icl*)
15523 # Native MSVC or ICC
15524 # hardcode_libdir_flag_spec is actually meaningless, as there is
15525 # no search path for DLLs.
15526 hardcode_libdir_flag_spec_CXX=' '
15527 allow_undefined_flag_CXX=unsupported
15528 always_export_symbols_CXX=yes
15529 file_list_spec_CXX='@'
15530 # Tell ltmain to make .lib files, not .a files.
15532 # Tell ltmain to make .dll files, not .so files.
15534 # FIXME: Setting linknames here is a bad hack.
15535 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15536 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15537 cp "$export_symbols" "$output_objdir/$soname.def";
15538 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15540 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15542 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15544 # The linker will not automatically build a static lib if we build a DLL.
15545 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15546 enable_shared_with_static_runtimes_CXX=yes
15548 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15549 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15550 lt_tool_outputfile="@TOOL_OUTPUT@"~
15551 case $lt_outputfile in
15554 lt_outputfile=$lt_outputfile.exe
15555 lt_tool_outputfile=$lt_tool_outputfile.exe
15558 func_to_tool_file "$lt_outputfile"~
15559 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15560 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15561 $RM "$lt_outputfile.manifest";
15566 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15567 # as there is no search path for DLLs.
15568 hardcode_libdir_flag_spec_CXX='-L$libdir'
15569 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
15570 allow_undefined_flag_CXX=unsupported
15571 always_export_symbols_CXX=no
15572 enable_shared_with_static_runtimes_CXX=yes
15574 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15575 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'
15576 # If the export-symbols file already is a .def file, use it as
15577 # is; otherwise, prepend EXPORTS...
15578 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15579 cp $export_symbols $output_objdir/$soname.def;
15581 echo EXPORTS > $output_objdir/$soname.def;
15582 cat $export_symbols >> $output_objdir/$soname.def;
15584 $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'
15591 darwin* | rhapsody*)
15594 archive_cmds_need_lc_CXX=no
15595 hardcode_direct_CXX=no
15596 hardcode_automatic_CXX=yes
15597 hardcode_shlibpath_var_CXX=unsupported
15598 if test yes = "$lt_cv_ld_force_load"; then
15599 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\"`'
15602 whole_archive_flag_spec_CXX=''
15604 link_all_deplibs_CXX=yes
15605 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
15606 case $cc_basename in
15607 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15608 *) _lt_dar_can_shared=$GCC ;;
15610 if test yes = "$_lt_dar_can_shared"; then
15611 output_verbose_link_cmd=func_echo_all
15612 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"
15613 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15614 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"
15615 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"
15616 if test yes != "$lt_cv_apple_cc_single_mod"; then
15617 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"
15618 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"
15628 hardcode_libdir_flag_spec_CXX='-L$libdir'
15629 hardcode_minus_L_CXX=yes
15630 allow_undefined_flag_CXX=unsupported
15632 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15633 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15634 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15635 $ECHO EXPORTS >> $output_objdir/$libname.def~
15636 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15637 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15638 emximp -o $lib $output_objdir/$libname.def'
15639 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15640 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15641 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15642 $ECHO EXPORTS >> $output_objdir/$libname.def~
15643 prefix_cmds="$SED"~
15644 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15645 prefix_cmds="$prefix_cmds -e 1d";
15647 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15648 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15649 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15650 emximp -o $lib $output_objdir/$libname.def'
15651 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15652 enable_shared_with_static_runtimes_CXX=yes
15653 file_list_spec_CXX='@'
15657 case $cc_basename in
15659 # FIXME: insert proper C++ library support
15663 # Green Hills C++ Compiler
15664 # FIXME: insert proper C++ library support
15668 # FIXME: insert proper C++ library support
15675 # C++ shared libraries reported to be fairly broken before
15681 archive_cmds_need_lc_CXX=no
15684 freebsd* | dragonfly* | midnightbsd*)
15685 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15691 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15692 link_all_deplibs_CXX=yes
15696 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15697 hardcode_libdir_separator_CXX=:
15698 export_dynamic_flag_spec_CXX='$wl-E'
15699 hardcode_direct_CXX=yes
15700 hardcode_minus_L_CXX=yes # Not in the search PATH,
15701 # but as the default
15702 # location of the library.
15704 case $cc_basename in
15706 # FIXME: insert proper C++ library support
15710 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'
15711 # Commands to make compiler produce verbose output that lists
15712 # what "hidden" libraries, object files and flags are used when
15713 # linking a shared library.
15715 # There doesn't appear to be a way to prevent this compiler from
15716 # explicitly linking system object files so we need to strip them
15717 # from the output so that they don't get included in the library
15719 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"'
15722 if test yes = "$GXX"; then
15723 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'
15725 # FIXME: insert proper C++ library support
15733 if test no = "$with_gnu_ld"; then
15734 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15735 hardcode_libdir_separator_CXX=:
15741 export_dynamic_flag_spec_CXX='$wl-E'
15747 hardcode_direct_CXX=no
15748 hardcode_shlibpath_var_CXX=no
15751 hardcode_direct_CXX=yes
15752 hardcode_direct_absolute_CXX=yes
15753 hardcode_minus_L_CXX=yes # Not in the search PATH,
15754 # but as the default
15755 # location of the library.
15759 case $cc_basename in
15761 # FIXME: insert proper C++ library support
15767 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15770 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15773 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15776 # Commands to make compiler produce verbose output that lists
15777 # what "hidden" libraries, object files and flags are used when
15778 # linking a shared library.
15780 # There doesn't appear to be a way to prevent this compiler from
15781 # explicitly linking system object files so we need to strip them
15782 # from the output so that they don't get included in the library
15784 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"'
15787 if test yes = "$GXX"; then
15788 if test no = "$with_gnu_ld"; then
15791 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15794 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15797 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'
15802 # FIXME: insert proper C++ library support
15810 hardcode_direct_CXX=no
15811 hardcode_shlibpath_var_CXX=no
15812 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15813 export_dynamic_flag_spec_CXX='$wl-E'
15814 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15815 # Instead, shared libraries are loaded at an image base (0x10000000 by
15816 # default) and relocated if they conflict, which is a slow very memory
15817 # consuming and fragmenting process. To avoid this, we pick a random,
15818 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15819 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15820 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'
15821 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'
15824 case $cc_basename in
15827 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'
15829 # Archives containing C++ object files must be created using
15830 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15831 # necessary to make sure instantiated templates are included
15833 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15836 if test yes = "$GXX"; then
15837 if test no = "$with_gnu_ld"; then
15838 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'
15840 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'
15843 link_all_deplibs_CXX=yes
15846 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15847 hardcode_libdir_separator_CXX=:
15848 inherit_rpath_CXX=yes
15851 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15852 case $cc_basename in
15854 # Kuck and Associates, Inc. (KAI) C++ Compiler
15856 # KCC will only create a shared library if the output file
15857 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15858 # to its proper name (with version) after linking.
15859 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'
15860 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'
15861 # Commands to make compiler produce verbose output that lists
15862 # what "hidden" libraries, object files and flags are used when
15863 # linking a shared library.
15865 # There doesn't appear to be a way to prevent this compiler from
15866 # explicitly linking system object files so we need to strip them
15867 # from the output so that they don't get included in the library
15869 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"'
15871 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15872 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15874 # Archives containing C++ object files must be created using
15875 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15876 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15881 # version 8.0 and above of icpc choke on multiply defined symbols
15882 # if we add $predep_objects and $postdep_objects, however 7.1 and
15883 # earlier do not add the objects themselves.
15884 case `$CC -V 2>&1` in
15886 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15887 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'
15889 *) # Version 8.0 or newer
15892 ia64*) tmp_idyn=' -i_dynamic';;
15894 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15895 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'
15898 archive_cmds_need_lc_CXX=no
15899 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15900 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15901 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15904 # Portland Group C++ compiler
15906 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15907 prelink_cmds_CXX='tpldir=Template.dir~
15909 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15910 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15911 old_archive_cmds_CXX='tpldir=Template.dir~
15913 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15914 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15916 archive_cmds_CXX='tpldir=Template.dir~
15918 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15919 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15920 archive_expsym_cmds_CXX='tpldir=Template.dir~
15922 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15923 $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'
15925 *) # Version 6 and above use weak symbols
15926 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15927 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'
15931 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15932 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15933 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'
15937 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15938 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'
15940 runpath_var=LD_RUN_PATH
15941 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15942 hardcode_libdir_separator_CXX=:
15944 # Commands to make compiler produce verbose output that lists
15945 # what "hidden" libraries, object files and flags are used when
15946 # linking a shared library.
15948 # There doesn't appear to be a way to prevent this compiler from
15949 # explicitly linking system object files so we need to strip them
15950 # from the output so that they don't get included in the library
15952 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'
15954 xl* | mpixl* | bgxl*)
15955 # IBM XL 8.0 on PPC, with GNU ld
15956 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15957 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15958 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15959 if test yes = "$supports_anon_versioning"; then
15960 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15961 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15962 echo "local: *; };" >> $output_objdir/$libname.ver~
15963 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15967 case `$CC -V 2>&1 | $SED 5q` in
15970 no_undefined_flag_CXX=' -zdefs'
15971 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15972 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'
15973 hardcode_libdir_flag_spec_CXX='-R$libdir'
15974 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'
15975 compiler_needs_object_CXX=yes
15977 # Not sure whether something based on
15978 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15980 output_verbose_link_cmd='func_echo_all'
15982 # Archives containing C++ object files must be created using
15983 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15984 # necessary to make sure instantiated templates are included
15986 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15994 # FIXME: insert proper C++ library support
15999 # FIXME: insert proper C++ library support
16004 case $cc_basename in
16006 # FIXME: insert proper C++ library support
16010 # FIXME: insert proper C++ library support
16017 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16018 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16020 hardcode_libdir_flag_spec_CXX='-R$libdir'
16021 hardcode_direct_CXX=yes
16022 hardcode_shlibpath_var_CXX=no
16024 # Workaround some broken pre-1.5 toolchains
16025 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16032 openbsd* | bitrig*)
16033 if test -f /usr/libexec/ld.so; then
16034 hardcode_direct_CXX=yes
16035 hardcode_shlibpath_var_CXX=no
16036 hardcode_direct_absolute_CXX=yes
16037 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16038 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16039 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
16040 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16041 export_dynamic_flag_spec_CXX='$wl-E'
16042 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16044 output_verbose_link_cmd=func_echo_all
16050 osf3* | osf4* | osf5*)
16051 case $cc_basename in
16053 # Kuck and Associates, Inc. (KAI) C++ Compiler
16055 # KCC will only create a shared library if the output file
16056 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16057 # to its proper name (with version) after linking.
16058 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'
16060 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16061 hardcode_libdir_separator_CXX=:
16063 # Archives containing C++ object files must be created using
16064 # the KAI C++ compiler.
16066 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16067 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16071 # Rational C++ 2.4.1
16072 # FIXME: insert proper C++ library support
16078 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16079 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'
16080 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16083 allow_undefined_flag_CXX=' -expect_unresolved \*'
16084 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'
16085 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16086 echo "-hidden">> $lib.exp~
16087 $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~
16089 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16093 hardcode_libdir_separator_CXX=:
16095 # Commands to make compiler produce verbose output that lists
16096 # what "hidden" libraries, object files and flags are used when
16097 # linking a shared library.
16099 # There doesn't appear to be a way to prevent this compiler from
16100 # explicitly linking system object files so we need to strip them
16101 # from the output so that they don't get included in the library
16103 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"'
16106 if test yes,no = "$GXX,$with_gnu_ld"; then
16107 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16110 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'
16113 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'
16117 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16118 hardcode_libdir_separator_CXX=:
16120 # Commands to make compiler produce verbose output that lists
16121 # what "hidden" libraries, object files and flags are used when
16122 # linking a shared library.
16123 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16126 # FIXME: insert proper C++ library support
16134 # FIXME: insert proper C++ library support
16139 case $cc_basename in
16142 # FIXME: insert proper C++ library support
16147 # FIXME: insert proper C++ library support
16151 # FIXME: insert proper C++ library support
16158 case $cc_basename in
16160 # Sun C++ 4.2, 5.x and Centerline C++
16161 archive_cmds_need_lc_CXX=yes
16162 no_undefined_flag_CXX=' -zdefs'
16163 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16164 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16165 $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'
16167 hardcode_libdir_flag_spec_CXX='-R$libdir'
16168 hardcode_shlibpath_var_CXX=no
16170 solaris2.[0-5] | solaris2.[0-5].*) ;;
16172 # The compiler driver will combine and reorder linker options,
16173 # but understands '-z linker_flag'.
16174 # Supported since Solaris 2.6 (maybe 2.5.1?)
16175 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16178 link_all_deplibs_CXX=yes
16180 output_verbose_link_cmd='func_echo_all'
16182 # Archives containing C++ object files must be created using
16183 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16184 # necessary to make sure instantiated templates are included
16186 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16189 # Green Hills C++ Compiler
16190 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16192 # The C++ compiler must be used to create the archive.
16193 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16196 # GNU C++ compiler with Solaris linker
16197 if test yes,no = "$GXX,$with_gnu_ld"; then
16198 no_undefined_flag_CXX=' $wl-z ${wl}defs'
16199 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16200 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16201 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16202 $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'
16204 # Commands to make compiler produce verbose output that lists
16205 # what "hidden" libraries, object files and flags are used when
16206 # linking a shared library.
16207 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16209 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16211 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16212 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16213 $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'
16215 # Commands to make compiler produce verbose output that lists
16216 # what "hidden" libraries, object files and flags are used when
16217 # linking a shared library.
16218 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16221 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
16223 solaris2.[0-5] | solaris2.[0-5].*) ;;
16225 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16233 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16234 no_undefined_flag_CXX='$wl-z,text'
16235 archive_cmds_need_lc_CXX=no
16236 hardcode_shlibpath_var_CXX=no
16237 runpath_var='LD_RUN_PATH'
16239 case $cc_basename in
16241 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16242 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16245 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16246 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16251 sysv5* | sco3.2v5* | sco5v6*)
16252 # Note: We CANNOT use -z defs as we might desire, because we do not
16253 # link with -lc, and that would cause any symbols used from libc to
16254 # always be unresolved, which means just about no library would
16255 # ever link correctly. If we're not using GNU ld we use -z text
16256 # though, which does catch some bad symbols but isn't as heavy-handed
16258 no_undefined_flag_CXX='$wl-z,text'
16259 allow_undefined_flag_CXX='$wl-z,nodefs'
16260 archive_cmds_need_lc_CXX=no
16261 hardcode_shlibpath_var_CXX=no
16262 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
16263 hardcode_libdir_separator_CXX=':'
16264 link_all_deplibs_CXX=yes
16265 export_dynamic_flag_spec_CXX='$wl-Bexport'
16266 runpath_var='LD_RUN_PATH'
16268 case $cc_basename in
16270 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16271 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16272 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16273 '"$old_archive_cmds_CXX"
16274 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16275 '"$reload_cmds_CXX"
16278 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16279 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16285 case $cc_basename in
16287 # NonStop-UX NCC 3.20
16288 # FIXME: insert proper C++ library support
16292 # FIXME: insert proper C++ library support
16299 # FIXME: insert proper C++ library support
16304 # FIXME: insert proper C++ library support
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16310 $as_echo "$ld_shlibs_CXX" >&6; }
16311 test no = "$ld_shlibs_CXX" && can_build_shared=no
16317 ## There is no encapsulation within the following macros, do not change
16318 ## the running order or otherwise move them around unless you know exactly
16319 ## what you are doing...
16320 # Dependencies to place before and after the object being linked:
16321 predep_objects_CXX=
16322 postdep_objects_CXX=
16325 compiler_lib_search_path_CXX=
16327 cat > conftest.$ac_ext <<_LT_EOF
16331 Foo (void) { a = 0; }
16338 _lt_libdeps_save_CFLAGS=$CFLAGS
16339 case "$CC $CFLAGS " in #(
16340 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16341 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16342 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16345 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16346 (eval $ac_compile) 2>&5
16348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16349 test $ac_status = 0; }; then
16350 # Parse the compiler output and extract the necessary
16351 # objects, libraries and library flags.
16353 # Sentinel used to keep track of whether or not we are before
16354 # the conftest object file.
16355 pre_test_object_deps_done=no
16357 for p in `eval "$output_verbose_link_cmd"`; do
16361 # Some compilers place space between "-{L,R}" and the path.
16362 # Remove the space.
16363 if test x-L = "$p" ||
16364 test x-R = "$p"; then
16369 # Expand the sysroot to ease extracting the directories later.
16370 if test -z "$prev"; then
16372 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16373 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16374 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16378 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16380 if test no = "$pre_test_object_deps_done"; then
16383 # Internal compiler library paths should come after those
16384 # provided the user. The postdeps already come after the
16385 # user supplied libs so there is no need to process them.
16386 if test -z "$compiler_lib_search_path_CXX"; then
16387 compiler_lib_search_path_CXX=$prev$p
16389 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
16392 # The "-l" case would never come before the object being
16393 # linked, so don't bother handling this case.
16396 if test -z "$postdeps_CXX"; then
16397 postdeps_CXX=$prev$p
16399 postdeps_CXX="${postdeps_CXX} $prev$p"
16405 *.lto.$objext) ;; # Ignore GCC LTO objects
16407 # This assumes that the test object file only shows up
16408 # once in the compiler output.
16409 if test "$p" = "conftest.$objext"; then
16410 pre_test_object_deps_done=yes
16414 if test no = "$pre_test_object_deps_done"; then
16415 if test -z "$predep_objects_CXX"; then
16416 predep_objects_CXX=$p
16418 predep_objects_CXX="$predep_objects_CXX $p"
16421 if test -z "$postdep_objects_CXX"; then
16422 postdep_objects_CXX=$p
16424 postdep_objects_CXX="$postdep_objects_CXX $p"
16429 *) ;; # Ignore the rest.
16437 echo "libtool.m4: error: problem compiling CXX test program"
16440 $RM -f confest.$objext
16441 CFLAGS=$_lt_libdeps_save_CFLAGS
16443 # PORTME: override above test on systems where it is broken
16446 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16447 # hack all around it, let's just trust "g++" to DTRT.
16448 predep_objects_CXX=
16449 postdep_objects_CXX=
16455 case " $postdeps_CXX " in
16456 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16458 compiler_lib_search_dirs_CXX=
16459 if test -n "${compiler_lib_search_path_CXX}"; then
16460 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16493 lt_prog_compiler_wl_CXX=
16494 lt_prog_compiler_pic_CXX=
16495 lt_prog_compiler_static_CXX=
16498 # C++ specific cases for pic, static, wl, etc.
16499 if test yes = "$GXX"; then
16500 lt_prog_compiler_wl_CXX='-Wl,'
16501 lt_prog_compiler_static_CXX='-static'
16505 # All AIX code is PIC.
16506 if test ia64 = "$host_cpu"; then
16507 # AIX 5 now supports IA64 processor
16508 lt_prog_compiler_static_CXX='-Bstatic'
16510 lt_prog_compiler_pic_CXX='-fPIC'
16516 # see comment about AmigaOS4 .so support
16517 lt_prog_compiler_pic_CXX='-fPIC'
16520 # FIXME: we need at least 68020 code to build shared libraries, but
16521 # adding the '-m68020' flag to GCC prevents building anything better,
16523 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16528 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16529 # PIC is the default for these OSes.
16531 mingw* | cygwin* | os2* | pw32* | cegcc*)
16532 # This hack is so that the source file can tell whether it is being
16533 # built for inclusion in a dll (and should export symbols for example).
16534 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16535 # (--disable-auto-import) libraries
16536 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16539 lt_prog_compiler_static_CXX='$wl-static'
16543 darwin* | rhapsody*)
16544 # PIC is the default on this platform
16545 # Common symbols not allowed in MH_DYLIB files
16546 lt_prog_compiler_pic_CXX='-fno-common'
16549 # DJGPP does not support shared libraries at all
16550 lt_prog_compiler_pic_CXX=
16553 # PIC is the default for Haiku.
16554 # The "-static" flag exists, but is broken.
16555 lt_prog_compiler_static_CXX=
16558 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16559 # Instead, we relocate shared libraries at runtime.
16562 if test -d /usr/nec; then
16563 lt_prog_compiler_pic_CXX=-Kconform_pic
16567 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16568 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16569 # sets the default TLS model and affects inlining.
16574 lt_prog_compiler_pic_CXX='-fPIC'
16579 # QNX uses GNU C++, but need to define -shared option too, otherwise
16580 # it will coredump.
16581 lt_prog_compiler_pic_CXX='-fPIC -shared'
16584 lt_prog_compiler_pic_CXX='-fPIC'
16590 # All AIX code is PIC.
16591 if test ia64 = "$host_cpu"; then
16592 # AIX 5 now supports IA64 processor
16593 lt_prog_compiler_static_CXX='-Bstatic'
16595 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16599 case $cc_basename in
16601 # Green Hills C++ Compiler
16602 # _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"
16606 mingw* | cygwin* | os2* | pw32* | cegcc*)
16607 # This hack is so that the source file can tell whether it is being
16608 # built for inclusion in a dll (and should export symbols for example).
16609 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16612 case $cc_basename in
16614 lt_prog_compiler_pic_CXX='-KPIC'
16617 # Green Hills C++ Compiler
16618 lt_prog_compiler_pic_CXX='-pic'
16624 freebsd* | dragonfly* | midnightbsd*)
16625 # FreeBSD uses GNU C++
16627 hpux9* | hpux10* | hpux11*)
16628 case $cc_basename in
16630 lt_prog_compiler_wl_CXX='-Wl,'
16631 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16632 if test ia64 != "$host_cpu"; then
16633 lt_prog_compiler_pic_CXX='+Z'
16637 lt_prog_compiler_wl_CXX='-Wl,'
16638 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16644 lt_prog_compiler_pic_CXX='+Z'
16653 # This is c89, which is MS Visual C++ (no shared libs)
16654 # Anyone wants to do a port?
16656 irix5* | irix6* | nonstopux*)
16657 case $cc_basename in
16659 lt_prog_compiler_wl_CXX='-Wl,'
16660 lt_prog_compiler_static_CXX='-non_shared'
16661 # CC pic flag -KPIC is the default.
16667 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16668 case $cc_basename in
16671 lt_prog_compiler_wl_CXX='--backend -Wl,'
16672 lt_prog_compiler_pic_CXX='-fPIC'
16675 # old Intel C++ for x86_64, which still supported -KPIC.
16676 lt_prog_compiler_wl_CXX='-Wl,'
16677 lt_prog_compiler_pic_CXX='-KPIC'
16678 lt_prog_compiler_static_CXX='-static'
16681 # Intel C++, used to be incompatible with GCC.
16682 # ICC 10 doesn't accept -KPIC any more.
16683 lt_prog_compiler_wl_CXX='-Wl,'
16684 lt_prog_compiler_pic_CXX='-fPIC'
16685 lt_prog_compiler_static_CXX='-static'
16688 # Portland Group C++ compiler
16689 lt_prog_compiler_wl_CXX='-Wl,'
16690 lt_prog_compiler_pic_CXX='-fpic'
16691 lt_prog_compiler_static_CXX='-Bstatic'
16695 # Make sure the PIC flag is empty. It appears that all Alpha
16696 # Linux and Compaq Tru64 Unix objects are PIC.
16697 lt_prog_compiler_pic_CXX=
16698 lt_prog_compiler_static_CXX='-non_shared'
16700 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16701 # IBM XL 8.0, 9.0 on PPC and BlueGene
16702 lt_prog_compiler_wl_CXX='-Wl,'
16703 lt_prog_compiler_pic_CXX='-qpic'
16704 lt_prog_compiler_static_CXX='-qstaticlink'
16707 case `$CC -V 2>&1 | $SED 5q` in
16710 lt_prog_compiler_pic_CXX='-KPIC'
16711 lt_prog_compiler_static_CXX='-Bstatic'
16712 lt_prog_compiler_wl_CXX='-Qoption ld '
16723 case $cc_basename in
16725 lt_prog_compiler_pic_CXX='-W c,exportall'
16734 # QNX uses GNU C++, but need to define -shared option too, otherwise
16735 # it will coredump.
16736 lt_prog_compiler_pic_CXX='-fPIC -shared'
16738 osf3* | osf4* | osf5*)
16739 case $cc_basename in
16741 lt_prog_compiler_wl_CXX='--backend -Wl,'
16744 # Rational C++ 2.4.1
16745 lt_prog_compiler_pic_CXX='-pic'
16748 # Digital/Compaq C++
16749 lt_prog_compiler_wl_CXX='-Wl,'
16750 # Make sure the PIC flag is empty. It appears that all Alpha
16751 # Linux and Compaq Tru64 Unix objects are PIC.
16752 lt_prog_compiler_pic_CXX=
16753 lt_prog_compiler_static_CXX='-non_shared'
16762 case $cc_basename in
16764 # Sun C++ 4.2, 5.x and Centerline C++
16765 lt_prog_compiler_pic_CXX='-KPIC'
16766 lt_prog_compiler_static_CXX='-Bstatic'
16767 lt_prog_compiler_wl_CXX='-Qoption ld '
16770 # Green Hills C++ Compiler
16771 lt_prog_compiler_pic_CXX='-PIC'
16778 case $cc_basename in
16781 lt_prog_compiler_pic_CXX='-pic'
16782 lt_prog_compiler_static_CXX='-Bstatic'
16786 lt_prog_compiler_pic_CXX='-pic'
16792 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16793 case $cc_basename in
16795 lt_prog_compiler_wl_CXX='-Wl,'
16796 lt_prog_compiler_pic_CXX='-KPIC'
16797 lt_prog_compiler_static_CXX='-Bstatic'
16802 case $cc_basename in
16804 # NonStop-UX NCC 3.20
16805 lt_prog_compiler_pic_CXX='-KPIC'
16814 lt_prog_compiler_can_build_shared_CXX=no
16820 # For platforms that do not support PIC, -DPIC is meaningless:
16822 lt_prog_compiler_pic_CXX=
16825 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16830 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16831 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16832 $as_echo_n "(cached) " >&6
16834 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16837 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16838 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16841 # Check to make sure the PIC flag actually works.
16843 if test -n "$lt_prog_compiler_pic_CXX"; then
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16845 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16846 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16847 $as_echo_n "(cached) " >&6
16849 lt_cv_prog_compiler_pic_works_CXX=no
16850 ac_outfile=conftest.$ac_objext
16851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16852 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
16853 # Insert the option either (1) after the last *FLAGS variable, or
16854 # (2) before a word containing "conftest.", or (3) at the end.
16855 # Note that $ac_compile itself does not contain backslashes and begins
16856 # with a dollar sign (not a hyphen), so the echo should work correctly.
16857 # The option is referenced via a variable to avoid confusing sed.
16858 lt_compile=`echo "$ac_compile" | $SED \
16859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16861 -e 's:$: $lt_compiler_flag:'`
16862 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16863 (eval "$lt_compile" 2>conftest.err)
16865 cat conftest.err >&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 if (exit $ac_status) && test -s "$ac_outfile"; then
16868 # The compiler can only warn and ignore the option if not recognized
16869 # So say no if there are warnings other than the usual output.
16870 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16872 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16873 lt_cv_prog_compiler_pic_works_CXX=yes
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16880 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16882 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16883 case $lt_prog_compiler_pic_CXX in
16885 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16888 lt_prog_compiler_pic_CXX=
16889 lt_prog_compiler_can_build_shared_CXX=no
16899 # Check to make sure the static flag actually works.
16901 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16903 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16904 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16905 $as_echo_n "(cached) " >&6
16907 lt_cv_prog_compiler_static_works_CXX=no
16908 save_LDFLAGS=$LDFLAGS
16909 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16910 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16911 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16912 # The linker can only warn and ignore the option if not recognized
16913 # So say no if there are warnings
16914 if test -s conftest.err; then
16915 # Append any errors to the config.log.
16916 cat conftest.err 1>&5
16917 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16918 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16919 if diff conftest.exp conftest.er2 >/dev/null; then
16920 lt_cv_prog_compiler_static_works_CXX=yes
16923 lt_cv_prog_compiler_static_works_CXX=yes
16927 LDFLAGS=$save_LDFLAGS
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16931 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16933 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16936 lt_prog_compiler_static_CXX=
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16943 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16944 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16945 $as_echo_n "(cached) " >&6
16947 lt_cv_prog_compiler_c_o_CXX=no
16948 $RM -r conftest 2>/dev/null
16952 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16954 lt_compiler_flag="-o out/conftest2.$ac_objext"
16955 # Insert the option either (1) after the last *FLAGS variable, or
16956 # (2) before a word containing "conftest.", or (3) at the end.
16957 # Note that $ac_compile itself does not contain backslashes and begins
16958 # with a dollar sign (not a hyphen), so the echo should work correctly.
16959 lt_compile=`echo "$ac_compile" | $SED \
16960 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16961 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16962 -e 's:$: $lt_compiler_flag:'`
16963 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16964 (eval "$lt_compile" 2>out/conftest.err)
16966 cat out/conftest.err >&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16970 # The compiler can only warn and ignore the option if not recognized
16971 # So say no if there are warnings
16972 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16973 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16974 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16975 lt_cv_prog_compiler_c_o_CXX=yes
16980 # SGI C++ compiler will create directory out/ii_files/ for
16981 # template instantiation
16982 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16983 $RM out/* && rmdir out
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16990 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16995 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16996 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16997 $as_echo_n "(cached) " >&6
16999 lt_cv_prog_compiler_c_o_CXX=no
17000 $RM -r conftest 2>/dev/null
17004 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17006 lt_compiler_flag="-o out/conftest2.$ac_objext"
17007 # Insert the option either (1) after the last *FLAGS variable, or
17008 # (2) before a word containing "conftest.", or (3) at the end.
17009 # Note that $ac_compile itself does not contain backslashes and begins
17010 # with a dollar sign (not a hyphen), so the echo should work correctly.
17011 lt_compile=`echo "$ac_compile" | $SED \
17012 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17013 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17014 -e 's:$: $lt_compiler_flag:'`
17015 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17016 (eval "$lt_compile" 2>out/conftest.err)
17018 cat out/conftest.err >&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17022 # The compiler can only warn and ignore the option if not recognized
17023 # So say no if there are warnings
17024 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17025 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17026 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17027 lt_cv_prog_compiler_c_o_CXX=yes
17032 # SGI C++ compiler will create directory out/ii_files/ for
17033 # template instantiation
17034 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17035 $RM out/* && rmdir out
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17042 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17047 hard_links=nottested
17048 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
17049 # do not overwrite the value of need_locks provided by the user
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17051 $as_echo_n "checking if we can lock with hard links... " >&6; }
17054 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17056 ln conftest.a conftest.b 2>&5 || hard_links=no
17057 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17059 $as_echo "$hard_links" >&6; }
17060 if test no = "$hard_links"; then
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17062 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17072 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17074 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17075 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17078 # If we're using GNU nm, then we don't want the "-C" option.
17079 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17080 # Without the "-l" option, or with the "-B" option, AIX nm treats
17081 # weak defined symbols like other global defined symbols, whereas
17082 # GNU nm marks them as "W".
17083 # While the 'weak' keyword is ignored in the Export File, we need
17084 # it in the Import File for the 'aix-soname' feature, so we have
17085 # to replace the "-B" option with "-P" for AIX nm.
17086 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17087 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'
17089 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 == "L") || (\$ 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'
17093 export_symbols_cmds_CXX=$ltdll_cmds
17095 cygwin* | mingw* | cegcc*)
17096 case $cc_basename in
17098 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17101 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'
17102 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17107 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17112 $as_echo "$ld_shlibs_CXX" >&6; }
17113 test no = "$ld_shlibs_CXX" && can_build_shared=no
17115 with_gnu_ld_CXX=$with_gnu_ld
17123 # Do we need to explicitly link libc?
17125 case "x$archive_cmds_need_lc_CXX" in
17127 # Assume -lc should be added
17128 archive_cmds_need_lc_CXX=yes
17130 if test yes,yes = "$GCC,$enable_shared"; then
17131 case $archive_cmds_CXX in
17133 # FIXME: we may have to deal with multi-command sequences.
17136 # Test whether the compiler implicitly links with -lc since on some
17137 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17138 # to ld, don't add -lc before -lgcc.
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17140 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17141 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
17142 $as_echo_n "(cached) " >&6
17145 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17147 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17148 (eval $ac_compile) 2>&5
17150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17151 test $ac_status = 0; } 2>conftest.err; then
17154 libobjs=conftest.$ac_objext
17156 wl=$lt_prog_compiler_wl_CXX
17157 pic_flag=$lt_prog_compiler_pic_CXX
17163 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17164 allow_undefined_flag_CXX=
17165 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17166 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17169 test $ac_status = 0; }
17171 lt_cv_archive_cmds_need_lc_CXX=no
17173 lt_cv_archive_cmds_need_lc_CXX=yes
17175 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17177 cat conftest.err 1>&5
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17183 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17184 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17253 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17255 library_names_spec=
17256 libname_spec='lib$name'
17260 postuninstall_cmds=
17264 shlibpath_overrides_runpath=unknown
17266 dynamic_linker="$host_os ld.so"
17267 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17268 need_lib_prefix=unknown
17269 hardcode_into_libs=no
17271 # when you set need_version to no, make sure it does not cause -set_version
17272 # flags to be left without arguments
17273 need_version=unknown
17279 version_type=linux # correct to gnu/linux during the next big refactor
17280 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
17281 shlibpath_var=LIBPATH
17283 # AIX 3 has no versioning support, so we append a major version to the name.
17284 soname_spec='$libname$release$shared_ext$major'
17288 version_type=linux # correct to gnu/linux during the next big refactor
17291 hardcode_into_libs=yes
17292 if test ia64 = "$host_cpu"; then
17293 # AIX 5 supports IA64
17294 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17295 shlibpath_var=LD_LIBRARY_PATH
17297 # With GCC up to 2.95.x, collect2 would create an import file
17298 # for dependence libraries. The import file would start with
17299 # the line '#! .'. This would cause the generated library to
17300 # depend on '.', always an invalid library. This was fixed in
17301 # development snapshots of GCC prior to 3.0.
17303 aix4 | aix4.[01] | aix4.[01].*)
17304 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17306 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
17309 can_build_shared=no
17313 # Using Import Files as archive members, it is possible to support
17314 # filename-based versioning of shared library archives on AIX. While
17315 # this would work for both with and without runtime linking, it will
17316 # prevent static linking of such archives. So we do filename-based
17317 # shared library versioning with .so extension only, which is used
17318 # when both runtime linking and shared linking is enabled.
17319 # Unfortunately, runtime linking may impact performance, so we do
17320 # not want this to be the default eventually. Also, we use the
17321 # versioned .so libs for executables only if there is the -brtl
17322 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17323 # To allow for filename-based versioning support, we need to create
17324 # libNAME.so.V as an archive file, containing:
17325 # *) an Import File, referring to the versioned filename of the
17326 # archive as well as the shared archive member, telling the
17327 # bitwidth (32 or 64) of that shared object, and providing the
17328 # list of exported symbols of that shared object, eventually
17329 # decorated with the 'weak' keyword
17330 # *) the shared object with the F_LOADONLY flag set, to really avoid
17331 # it being seen by the linker.
17332 # At run time we better use the real file rather than another symlink,
17333 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17335 case $with_aix_soname,$aix_use_runtimelinking in
17336 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17337 # soname into executable. Probably we can add versioning support to
17338 # collect2, so additional links can be useful in future.
17339 aix,yes) # traditional libtool
17340 dynamic_linker='AIX unversionable lib.so'
17341 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17342 # instead of lib<name>.a to let people know that these are not
17343 # typical AIX shared libraries.
17344 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17346 aix,no) # traditional AIX only
17347 dynamic_linker='AIX lib.a(lib.so.V)'
17348 # We preserve .a as extension for shared libraries through AIX4.2
17349 # and later when we are not doing run time linking.
17350 library_names_spec='$libname$release.a $libname.a'
17351 soname_spec='$libname$release$shared_ext$major'
17353 svr4,*) # full svr4 only
17354 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
17355 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17356 # We do not specify a path in Import Files, so LIBPATH fires.
17357 shlibpath_overrides_runpath=yes
17359 *,yes) # both, prefer svr4
17360 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17361 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17362 # unpreferred sharedlib libNAME.a needs extra handling
17363 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"'
17364 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"'
17365 # We do not specify a path in Import Files, so LIBPATH fires.
17366 shlibpath_overrides_runpath=yes
17368 *,no) # both, prefer aix
17369 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17370 library_names_spec='$libname$release.a $libname.a'
17371 soname_spec='$libname$release$shared_ext$major'
17372 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17373 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)'
17374 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"'
17377 shlibpath_var=LIBPATH
17384 # Since July 2007 AmigaOS4 officially supports .so libraries.
17385 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17386 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17389 library_names_spec='$libname.ixlibrary $libname.a'
17390 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17391 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'
17397 library_names_spec='$libname$shared_ext'
17398 dynamic_linker="$host_os ld.so"
17399 shlibpath_var=LIBRARY_PATH
17403 version_type=linux # correct to gnu/linux during the next big refactor
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 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17408 shlibpath_var=LD_LIBRARY_PATH
17409 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17410 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17411 # the default ld.so.conf also contains /usr/contrib/lib and
17412 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17413 # libtool to hard-code these into programs
17416 cygwin* | mingw* | pw32* | cegcc*)
17417 version_type=windows
17422 case $GCC,$cc_basename in
17425 library_names_spec='$libname.dll.a'
17426 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17427 postinstall_cmds='base_file=`basename \$file`~
17428 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17429 dldir=$destdir/`dirname \$dlpath`~
17430 test -d \$dldir || mkdir -p \$dldir~
17431 $install_prog $dir/$dlname \$dldir/$dlname~
17432 chmod a+x \$dldir/$dlname~
17433 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17434 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17436 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17437 dlpath=$dir/\$dldll~
17439 shlibpath_overrides_runpath=yes
17443 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17444 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17448 # MinGW DLLs use traditional 'lib' prefix
17449 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17452 # pw32 DLLs use 'pw' prefix rather than 'lib'
17453 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17456 dynamic_linker='Win32 ld.exe'
17460 # Native MSVC or ICC
17461 libname_spec='$name'
17462 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17463 library_names_spec='$libname.dll.lib'
17467 sys_lib_search_path_spec=
17470 for lt_path in $LIB
17473 # Let DOS variable expansion print the short 8.3 style file name.
17474 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17475 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17478 # Convert to MSYS style.
17479 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17482 # Convert to unix form, then to dos form, then back to unix form
17483 # but this time dos style (no spaces!) so that the unix form looks
17484 # like /cygdrive/c/PROGRA~1:/cygdr...
17485 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17486 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17487 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17490 sys_lib_search_path_spec=$LIB
17491 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17492 # It is most probably a Windows format PATH.
17493 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17495 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17497 # FIXME: find the short name or the path components, as spaces are
17498 # common. (e.g. "Program Files" -> "PROGRA~1")
17502 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17503 postinstall_cmds='base_file=`basename \$file`~
17504 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17505 dldir=$destdir/`dirname \$dlpath`~
17506 test -d \$dldir || mkdir -p \$dldir~
17507 $install_prog $dir/$dlname \$dldir/$dlname'
17508 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17509 dlpath=$dir/\$dldll~
17511 shlibpath_overrides_runpath=yes
17512 dynamic_linker='Win32 link.exe'
17516 # Assume MSVC and ICC wrapper
17517 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
17518 dynamic_linker='Win32 ld.exe'
17521 # FIXME: first we should search . and the directory the executable is in
17525 darwin* | rhapsody*)
17526 dynamic_linker="$host_os dyld"
17527 version_type=darwin
17530 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
17531 soname_spec='$libname$release$major$shared_ext'
17532 shlibpath_overrides_runpath=yes
17533 shlibpath_var=DYLD_LIBRARY_PATH
17534 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17536 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17540 version_type=linux # correct to gnu/linux during the next big refactor
17543 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17544 soname_spec='$libname$release$shared_ext$major'
17545 shlibpath_var=LD_LIBRARY_PATH
17548 freebsd* | dragonfly* | midnightbsd*)
17549 # DragonFly does not have aout. When/if they implement a new
17550 # versioning mechanism, adjust this.
17551 if test -x /usr/bin/objformat; then
17552 objformat=`/usr/bin/objformat`
17555 freebsd[23].*) objformat=aout ;;
17556 *) objformat=elf ;;
17559 version_type=freebsd-$objformat
17560 case $version_type in
17562 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17563 soname_spec='$libname$release$shared_ext$major'
17568 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17572 shlibpath_var=LD_LIBRARY_PATH
17575 shlibpath_overrides_runpath=yes
17577 freebsd3.[01]* | freebsdelf3.[01]*)
17578 shlibpath_overrides_runpath=yes
17579 hardcode_into_libs=yes
17581 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17582 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17583 shlibpath_overrides_runpath=no
17584 hardcode_into_libs=yes
17586 *) # from 4.6 on, and DragonFly
17587 shlibpath_overrides_runpath=yes
17588 hardcode_into_libs=yes
17594 version_type=linux # correct to gnu/linux during the next big refactor
17597 dynamic_linker="$host_os runtime_loader"
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=LIBRARY_PATH
17601 shlibpath_overrides_runpath=no
17602 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17603 hardcode_into_libs=yes
17606 hpux9* | hpux10* | hpux11*)
17607 # Give a soname corresponding to the major version so that dld.sl refuses to
17608 # link against other versions.
17615 hardcode_into_libs=yes
17616 dynamic_linker="$host_os dld.so"
17617 shlibpath_var=LD_LIBRARY_PATH
17618 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17619 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17620 soname_spec='$libname$release$shared_ext$major'
17621 if test 32 = "$HPUX_IA64_MODE"; then
17622 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17623 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
17625 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17626 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
17631 hardcode_into_libs=yes
17632 dynamic_linker="$host_os dld.sl"
17633 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17634 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17635 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17636 soname_spec='$libname$release$shared_ext$major'
17637 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17638 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17642 dynamic_linker="$host_os dld.sl"
17643 shlibpath_var=SHLIB_PATH
17644 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17645 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17646 soname_spec='$libname$release$shared_ext$major'
17649 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17650 postinstall_cmds='chmod 555 $lib'
17651 # or fails outright, so override atomically:
17652 install_override_mode=555
17656 version_type=linux # correct to gnu/linux during the next big refactor
17659 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17660 soname_spec='$libname$release$shared_ext$major'
17661 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17662 shlibpath_var=LD_LIBRARY_PATH
17663 shlibpath_overrides_runpath=no
17664 hardcode_into_libs=yes
17667 irix5* | irix6* | nonstopux*)
17669 nonstopux*) version_type=nonstopux ;;
17671 if test yes = "$lt_cv_prog_gnu_ld"; then
17672 version_type=linux # correct to gnu/linux during the next big refactor
17679 soname_spec='$libname$release$shared_ext$major'
17680 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17682 irix5* | nonstopux*)
17683 libsuff= shlibsuff=
17686 case $LD in # libtool.m4 will add one of these switches to LD
17687 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17688 libsuff= shlibsuff= libmagic=32-bit;;
17689 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17690 libsuff=32 shlibsuff=N32 libmagic=N32;;
17691 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17692 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17693 *) libsuff= shlibsuff= libmagic=never-match;;
17697 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17698 shlibpath_overrides_runpath=no
17699 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17700 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
17701 hardcode_into_libs=yes
17704 # No shared lib support for Linux oldld, aout, or coff.
17705 linux*oldld* | linux*aout* | linux*coff*)
17710 version_type=none # Android doesn't support versioned libraries.
17713 library_names_spec='$libname$release$shared_ext'
17714 soname_spec='$libname$release$shared_ext'
17716 shlibpath_var=LD_LIBRARY_PATH
17717 shlibpath_overrides_runpath=yes
17719 # This implies no fast_install, which is unacceptable.
17720 # Some rework will be needed to allow for fast_install
17721 # before this can be enabled.
17722 hardcode_into_libs=yes
17724 dynamic_linker='Android linker'
17725 # Don't embed -rpath directories since the linker doesn't support them.
17726 hardcode_libdir_flag_spec_CXX='-L$libdir'
17729 # This must be glibc/ELF.
17730 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17731 version_type=linux # correct to gnu/linux during the next big refactor
17734 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17735 soname_spec='$libname$release$shared_ext$major'
17736 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17737 shlibpath_var=LD_LIBRARY_PATH
17738 shlibpath_overrides_runpath=no
17740 # Some binutils ld are patched to set DT_RUNPATH
17741 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17742 $as_echo_n "(cached) " >&6
17744 lt_cv_shlibpath_overrides_runpath=no
17745 save_LDFLAGS=$LDFLAGS
17746 save_libdir=$libdir
17747 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17748 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17760 if ac_fn_cxx_try_link "$LINENO"; then :
17761 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17762 lt_cv_shlibpath_overrides_runpath=yes
17765 rm -f core conftest.err conftest.$ac_objext \
17766 conftest$ac_exeext conftest.$ac_ext
17767 LDFLAGS=$save_LDFLAGS
17768 libdir=$save_libdir
17772 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17774 # This implies no fast_install, which is unacceptable.
17775 # Some rework will be needed to allow for fast_install
17776 # before this can be enabled.
17777 hardcode_into_libs=yes
17779 # Ideally, we could use ldconfig to report *all* directores which are
17780 # searched for libraries, however this is still not possible. Aside from not
17781 # being certain /sbin/ldconfig is available, command
17782 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17783 # even though it is searched at run-time. Try to do the best guess by
17784 # appending ld.so.conf contents (and includes) to the search path.
17785 if test -f /etc/ld.so.conf; then
17786 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' ' '`
17787 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17790 # We used to test for /lib/ld.so.1 and disable shared libraries on
17791 # powerpc, because MkLinux only supported shared libraries with the
17792 # GNU dynamic linker. Since this was broken with cross compilers,
17793 # most powerpc-linux boxes support dynamic linking these days and
17794 # people can always --disable-shared, the test was removed, and we
17795 # assume the GNU/Linux dynamic linker is in use.
17796 dynamic_linker='GNU/Linux ld.so'
17803 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17804 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17805 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17806 dynamic_linker='NetBSD (a.out) ld.so'
17808 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17809 soname_spec='$libname$release$shared_ext$major'
17810 dynamic_linker='NetBSD ld.elf_so'
17812 shlibpath_var=LD_LIBRARY_PATH
17813 shlibpath_overrides_runpath=yes
17814 hardcode_into_libs=yes
17818 version_type=linux # correct to gnu/linux during the next big refactor
17819 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17820 shlibpath_var=LD_LIBRARY_PATH
17821 shlibpath_overrides_runpath=yes
17828 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17829 soname_spec='$libname$release$shared_ext$major'
17830 shlibpath_var=LD_LIBRARY_PATH
17831 shlibpath_overrides_runpath=no
17832 hardcode_into_libs=yes
17833 dynamic_linker='ldqnx.so'
17836 openbsd* | bitrig*)
17838 sys_lib_dlsearch_path_spec=/usr/lib
17840 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17845 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17846 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17847 shlibpath_var=LD_LIBRARY_PATH
17848 shlibpath_overrides_runpath=yes
17852 libname_spec='$name'
17853 version_type=windows
17857 # OS/2 can only load a DLL with a base name of 8 characters or less.
17858 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
17859 v=$($ECHO $release$versuffix | tr -d .-);
17860 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17861 $ECHO $n$v`$shared_ext'
17862 library_names_spec='${libname}_dll.$libext'
17863 dynamic_linker='OS/2 ld.exe'
17864 shlibpath_var=BEGINLIBPATH
17865 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17866 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17867 postinstall_cmds='base_file=`basename \$file`~
17868 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17869 dldir=$destdir/`dirname \$dlpath`~
17870 test -d \$dldir || mkdir -p \$dldir~
17871 $install_prog $dir/$dlname \$dldir/$dlname~
17872 chmod a+x \$dldir/$dlname~
17873 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17874 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17876 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17877 dlpath=$dir/\$dldll~
17881 osf3* | osf4* | osf5*)
17885 soname_spec='$libname$release$shared_ext$major'
17886 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17887 shlibpath_var=LD_LIBRARY_PATH
17888 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17889 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17897 version_type=linux # correct to gnu/linux during the next big refactor
17900 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17901 soname_spec='$libname$release$shared_ext$major'
17902 shlibpath_var=LD_LIBRARY_PATH
17903 shlibpath_overrides_runpath=yes
17904 hardcode_into_libs=yes
17905 # ldd complains unless libraries are executable
17906 postinstall_cmds='chmod +x $lib'
17911 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17912 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17913 shlibpath_var=LD_LIBRARY_PATH
17914 shlibpath_overrides_runpath=yes
17915 if test yes = "$with_gnu_ld"; then
17922 version_type=linux # correct to gnu/linux during the next big refactor
17923 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17924 soname_spec='$libname$release$shared_ext$major'
17925 shlibpath_var=LD_LIBRARY_PATH
17926 case $host_vendor in
17928 shlibpath_overrides_runpath=no
17930 runpath_var=LD_RUN_PATH
17938 shlibpath_overrides_runpath=no
17939 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17945 if test -d /usr/nec; then
17946 version_type=linux # correct to gnu/linux during the next big refactor
17947 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17948 soname_spec='$libname$shared_ext.$major'
17949 shlibpath_var=LD_LIBRARY_PATH
17953 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17957 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17958 soname_spec='$libname$release$shared_ext$major'
17959 shlibpath_var=LD_LIBRARY_PATH
17960 shlibpath_overrides_runpath=yes
17961 hardcode_into_libs=yes
17962 if test yes = "$with_gnu_ld"; then
17963 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17965 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17968 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17972 sys_lib_dlsearch_path_spec='/usr/lib'
17976 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17977 version_type=linux # correct to gnu/linux during the next big refactor
17980 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17981 shlibpath_var=LD_LIBRARY_PATH
17982 shlibpath_overrides_runpath=no
17983 hardcode_into_libs=yes
17987 version_type=linux # correct to gnu/linux during the next big refactor
17988 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17989 soname_spec='$libname$release$shared_ext$major'
17990 shlibpath_var=LD_LIBRARY_PATH
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17998 $as_echo "$dynamic_linker" >&6; }
17999 test no = "$dynamic_linker" && can_build_shared=no
18001 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18002 if test yes = "$GCC"; then
18003 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18006 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18007 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
18010 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18011 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
18014 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18015 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
18017 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18018 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
18020 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18021 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18063 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18064 hardcode_action_CXX=
18065 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18066 test -n "$runpath_var_CXX" ||
18067 test yes = "$hardcode_automatic_CXX"; then
18069 # We can hardcode non-existent directories.
18070 if test no != "$hardcode_direct_CXX" &&
18071 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18072 # have to relink, otherwise we might link with an installed library
18073 # when we should be linking with a yet-to-be-installed one
18074 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18075 test no != "$hardcode_minus_L_CXX"; then
18076 # Linking always hardcodes the temporary library directory.
18077 hardcode_action_CXX=relink
18079 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18080 hardcode_action_CXX=immediate
18083 # We cannot hardcode anything, or else we can only hardcode existing
18085 hardcode_action_CXX=unsupported
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18088 $as_echo "$hardcode_action_CXX" >&6; }
18090 if test relink = "$hardcode_action_CXX" ||
18091 test yes = "$inherit_rpath_CXX"; then
18092 # Fast installation is not supported
18093 enable_fast_install=no
18094 elif test yes = "$shlibpath_overrides_runpath" ||
18095 test no = "$enable_shared"; then
18096 # Fast installation is not necessary
18097 enable_fast_install=needless
18106 fi # test -n "$compiler"
18109 CFLAGS=$lt_save_CFLAGS
18113 with_gnu_ld=$lt_save_with_gnu_ld
18114 lt_cv_path_LDCXX=$lt_cv_path_LD
18115 lt_cv_path_LD=$lt_save_path_LD
18116 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18117 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18118 fi # test yes != "$_lt_caught_CXX_error"
18121 ac_cpp='$CPP $CPPFLAGS'
18122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18128 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
18129 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18130 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
18131 if test -n "$ac_tool_prefix"; then
18132 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
18134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18135 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18137 $as_echo_n "checking for $ac_word... " >&6; }
18138 if ${ac_cv_prog_F77+:} false; then :
18139 $as_echo_n "(cached) " >&6
18141 if test -n "$F77"; then
18142 ac_cv_prog_F77="$F77" # Let the user override the test.
18144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18145 for as_dir in $PATH
18148 test -z "$as_dir" && as_dir=.
18149 for ac_exec_ext in '' $ac_executable_extensions; do
18150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18151 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
18152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18161 F77=$ac_cv_prog_F77
18162 if test -n "$F77"; then
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
18164 $as_echo "$F77" >&6; }
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18167 $as_echo "no" >&6; }
18171 test -n "$F77" && break
18174 if test -z "$F77"; then
18176 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
18178 # Extract the first word of "$ac_prog", so it can be a program name with args.
18179 set dummy $ac_prog; ac_word=$2
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18181 $as_echo_n "checking for $ac_word... " >&6; }
18182 if ${ac_cv_prog_ac_ct_F77+:} false; then :
18183 $as_echo_n "(cached) " >&6
18185 if test -n "$ac_ct_F77"; then
18186 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
18188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18189 for as_dir in $PATH
18192 test -z "$as_dir" && as_dir=.
18193 for ac_exec_ext in '' $ac_executable_extensions; do
18194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18195 ac_cv_prog_ac_ct_F77="$ac_prog"
18196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18205 ac_ct_F77=$ac_cv_prog_ac_ct_F77
18206 if test -n "$ac_ct_F77"; then
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
18208 $as_echo "$ac_ct_F77" >&6; }
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18211 $as_echo "no" >&6; }
18215 test -n "$ac_ct_F77" && break
18218 if test "x$ac_ct_F77" = x; then
18221 case $cross_compiling:$ac_tool_warned in
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18225 ac_tool_warned=yes ;;
18232 # Provide some information about the compiler.
18233 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
18236 for ac_option in --version -v -V -qversion; do
18237 { { ac_try="$ac_compiler $ac_option >&5"
18238 case "(($ac_try" in
18239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18240 *) ac_try_echo=$ac_try;;
18242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18243 $as_echo "$ac_try_echo"; } >&5
18244 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18246 if test -s conftest.err; then
18248 ... rest of stderr output deleted ...
18249 10q' conftest.err >conftest.er1
18250 cat conftest.er1 >&5
18252 rm -f conftest.er1 conftest.err
18253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18254 test $ac_status = 0; }
18258 # If we don't use `.F' as extension, the preprocessor is not run on the
18259 # input file. (Note that this only needs to work for GNU compilers.)
18260 ac_save_ext=$ac_ext
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
18263 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
18264 if ${ac_cv_f77_compiler_gnu+:} false; then :
18265 $as_echo_n "(cached) " >&6
18267 cat > conftest.$ac_ext <<_ACEOF
18275 if ac_fn_f77_try_compile "$LINENO"; then :
18276 ac_compiler_gnu=yes
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18281 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
18285 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
18286 ac_ext=$ac_save_ext
18287 ac_test_FFLAGS=${FFLAGS+set}
18288 ac_save_FFLAGS=$FFLAGS
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
18291 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
18292 if ${ac_cv_prog_f77_g+:} false; then :
18293 $as_echo_n "(cached) " >&6
18296 cat > conftest.$ac_ext <<_ACEOF
18301 if ac_fn_f77_try_compile "$LINENO"; then :
18302 ac_cv_prog_f77_g=yes
18304 ac_cv_prog_f77_g=no
18306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
18310 $as_echo "$ac_cv_prog_f77_g" >&6; }
18311 if test "$ac_test_FFLAGS" = set; then
18312 FFLAGS=$ac_save_FFLAGS
18313 elif test $ac_cv_prog_f77_g = yes; then
18314 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
18320 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
18327 if test $ac_compiler_gnu = yes; then
18333 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
18334 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18335 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
18339 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
18340 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18341 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
18343 if test -z "$F77" || test no = "$F77"; then
18344 _lt_disable_F77=yes
18347 archive_cmds_need_lc_F77=no
18348 allow_undefined_flag_F77=
18349 always_export_symbols_F77=no
18350 archive_expsym_cmds_F77=
18351 export_dynamic_flag_spec_F77=
18352 hardcode_direct_F77=no
18353 hardcode_direct_absolute_F77=no
18354 hardcode_libdir_flag_spec_F77=
18355 hardcode_libdir_separator_F77=
18356 hardcode_minus_L_F77=no
18357 hardcode_automatic_F77=no
18358 inherit_rpath_F77=no
18360 module_expsym_cmds_F77=
18361 link_all_deplibs_F77=unknown
18362 old_archive_cmds_F77=$old_archive_cmds
18363 reload_flag_F77=$reload_flag
18364 reload_cmds_F77=$reload_cmds
18365 no_undefined_flag_F77=
18366 whole_archive_flag_spec_F77=
18367 enable_shared_with_static_runtimes_F77=no
18369 # Source file extension for f77 test sources.
18372 # Object file extension for compiled f77 test sources.
18376 # No sense in running all these tests if we already determined that
18377 # the F77 compiler isn't working. Some variables (like enable_shared)
18378 # are currently assumed to apply to all compilers on this platform,
18379 # and will be corrupted by setting them based on a non-working compiler.
18380 if test yes != "$_lt_disable_F77"; then
18381 # Code to be used in simple compile tests
18382 lt_simple_compile_test_code="\
18388 # Code to be used in simple link tests
18389 lt_simple_link_test_code="\
18394 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18401 # If no C compiler was specified, use CC.
18404 # If no C compiler flags were specified, use CFLAGS.
18405 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18407 # Allow CC to be a program name with arguments.
18411 # save warnings/boilerplate of simple test code
18412 ac_outfile=conftest.$ac_objext
18413 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18414 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18415 _lt_compiler_boilerplate=`cat conftest.err`
18418 ac_outfile=conftest.$ac_objext
18419 echo "$lt_simple_link_test_code" >conftest.$ac_ext
18420 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18421 _lt_linker_boilerplate=`cat conftest.err`
18425 # Allow CC to be a program name with arguments.
18428 lt_save_CFLAGS=$CFLAGS
18433 func_cc_basename $compiler
18434 cc_basename=$func_cc_basename_result
18437 if test -n "$compiler"; then
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
18439 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
18441 $as_echo "$can_build_shared" >&6; }
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
18444 $as_echo_n "checking whether to build shared libraries... " >&6; }
18445 test no = "$can_build_shared" && enable_shared=no
18447 # On AIX, shared libraries and static libraries use the same namespace, and
18448 # are all built from PIC.
18451 test yes = "$enable_shared" && enable_static=no
18452 if test -n "$RANLIB"; then
18453 archive_cmds="$archive_cmds~\$RANLIB \$lib"
18454 postinstall_cmds='$RANLIB $lib'
18458 if test ia64 != "$host_cpu"; then
18459 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
18460 yes,aix,yes) ;; # shared object as lib.so file only
18461 yes,svr4,*) ;; # shared object as lib.so archive member only
18462 yes,*) enable_static=no ;; # shared object in lib.a archive as well
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
18468 $as_echo "$enable_shared" >&6; }
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
18471 $as_echo_n "checking whether to build static libraries... " >&6; }
18472 # Make sure either enable_shared or enable_static is yes.
18473 test yes = "$enable_shared" || enable_static=yes
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
18475 $as_echo "$enable_static" >&6; }
18481 ## There is no encapsulation within the following macros, do not change
18482 ## the running order or otherwise move them around unless you know exactly
18483 ## what you are doing...
18484 lt_prog_compiler_wl_F77=
18485 lt_prog_compiler_pic_F77=
18486 lt_prog_compiler_static_F77=
18489 if test yes = "$GCC"; then
18490 lt_prog_compiler_wl_F77='-Wl,'
18491 lt_prog_compiler_static_F77='-static'
18495 # All AIX code is PIC.
18496 if test ia64 = "$host_cpu"; then
18497 # AIX 5 now supports IA64 processor
18498 lt_prog_compiler_static_F77='-Bstatic'
18500 lt_prog_compiler_pic_F77='-fPIC'
18506 # see comment about AmigaOS4 .so support
18507 lt_prog_compiler_pic_F77='-fPIC'
18510 # FIXME: we need at least 68020 code to build shared libraries, but
18511 # adding the '-m68020' flag to GCC prevents building anything better,
18513 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
18518 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18519 # PIC is the default for these OSes.
18522 mingw* | cygwin* | pw32* | os2* | cegcc*)
18523 # This hack is so that the source file can tell whether it is being
18524 # built for inclusion in a dll (and should export symbols for example).
18525 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18526 # (--disable-auto-import) libraries
18527 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
18530 lt_prog_compiler_static_F77='$wl-static'
18535 darwin* | rhapsody*)
18536 # PIC is the default on this platform
18537 # Common symbols not allowed in MH_DYLIB files
18538 lt_prog_compiler_pic_F77='-fno-common'
18542 # PIC is the default for Haiku.
18543 # The "-static" flag exists, but is broken.
18544 lt_prog_compiler_static_F77=
18548 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18549 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
18550 # sets the default TLS model and affects inlining.
18556 lt_prog_compiler_pic_F77='-fPIC'
18562 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18563 # Instead, we relocate shared libraries at runtime.
18567 # Just because we use GCC doesn't mean we suddenly get shared libraries
18568 # on systems that don't support them.
18569 lt_prog_compiler_can_build_shared_F77=no
18574 # QNX uses GNU C++, but need to define -shared option too, otherwise
18575 # it will coredump.
18576 lt_prog_compiler_pic_F77='-fPIC -shared'
18580 if test -d /usr/nec; then
18581 lt_prog_compiler_pic_F77=-Kconform_pic
18586 lt_prog_compiler_pic_F77='-fPIC'
18590 case $cc_basename in
18591 nvcc*) # Cuda Compiler Driver 2.2
18592 lt_prog_compiler_wl_F77='-Xlinker '
18593 if test -n "$lt_prog_compiler_pic_F77"; then
18594 lt_prog_compiler_pic_F77="-Xcompiler $lt_prog_compiler_pic_F77"
18599 # PORTME Check for flag to pass linker flags through the system compiler.
18602 lt_prog_compiler_wl_F77='-Wl,'
18603 if test ia64 = "$host_cpu"; then
18604 # AIX 5 now supports IA64 processor
18605 lt_prog_compiler_static_F77='-Bstatic'
18607 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
18611 darwin* | rhapsody*)
18612 # PIC is the default on this platform
18613 # Common symbols not allowed in MH_DYLIB files
18614 lt_prog_compiler_pic_F77='-fno-common'
18615 case $cc_basename in
18617 # NAG Fortran compiler
18618 lt_prog_compiler_wl_F77='-Wl,-Wl,,'
18619 lt_prog_compiler_pic_F77='-PIC'
18620 lt_prog_compiler_static_F77='-Bstatic'
18625 mingw* | cygwin* | pw32* | os2* | cegcc*)
18626 # This hack is so that the source file can tell whether it is being
18627 # built for inclusion in a dll (and should export symbols for example).
18628 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
18631 lt_prog_compiler_static_F77='$wl-static'
18636 hpux9* | hpux10* | hpux11*)
18637 lt_prog_compiler_wl_F77='-Wl,'
18638 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18639 # not for PA HP-UX.
18645 lt_prog_compiler_pic_F77='+Z'
18648 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18649 lt_prog_compiler_static_F77='$wl-a ${wl}archive'
18652 irix5* | irix6* | nonstopux*)
18653 lt_prog_compiler_wl_F77='-Wl,'
18654 # PIC (with -KPIC) is the default.
18655 lt_prog_compiler_static_F77='-non_shared'
18658 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
18659 case $cc_basename in
18660 # old Intel for x86_64, which still supported -KPIC.
18662 lt_prog_compiler_wl_F77='-Wl,'
18663 lt_prog_compiler_pic_F77='-KPIC'
18664 lt_prog_compiler_static_F77='-static'
18666 # icc used to be incompatible with GCC.
18667 # ICC 10 doesn't accept -KPIC any more.
18669 lt_prog_compiler_wl_F77='-Wl,'
18670 lt_prog_compiler_pic_F77='-fPIC'
18671 lt_prog_compiler_static_F77='-static'
18673 # Lahey Fortran 8.1.
18675 lt_prog_compiler_wl_F77='-Wl,'
18676 lt_prog_compiler_pic_F77='--shared'
18677 lt_prog_compiler_static_F77='--static'
18680 # NAG Fortran compiler
18681 lt_prog_compiler_wl_F77='-Wl,-Wl,,'
18682 lt_prog_compiler_pic_F77='-PIC'
18683 lt_prog_compiler_static_F77='-Bstatic'
18686 # Fabrice Bellard et al's Tiny C Compiler
18687 lt_prog_compiler_wl_F77='-Wl,'
18688 lt_prog_compiler_pic_F77='-fPIC'
18689 lt_prog_compiler_static_F77='-static'
18691 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
18692 # Portland Group compilers (*not* the Pentium gcc compiler,
18693 # which looks to be a dead project)
18694 lt_prog_compiler_wl_F77='-Wl,'
18695 lt_prog_compiler_pic_F77='-fpic'
18696 lt_prog_compiler_static_F77='-Bstatic'
18699 lt_prog_compiler_wl_F77='-Wl,'
18700 # All Alpha code is PIC.
18701 lt_prog_compiler_static_F77='-non_shared'
18703 xl* | bgxl* | bgf* | mpixl*)
18704 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
18705 lt_prog_compiler_wl_F77='-Wl,'
18706 lt_prog_compiler_pic_F77='-qpic'
18707 lt_prog_compiler_static_F77='-qstaticlink'
18710 case `$CC -V 2>&1 | $SED 5q` in
18711 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
18712 # Sun Fortran 8.3 passes all unrecognized flags to the linker
18713 lt_prog_compiler_pic_F77='-KPIC'
18714 lt_prog_compiler_static_F77='-Bstatic'
18715 lt_prog_compiler_wl_F77=''
18717 *Sun\ F* | *Sun*Fortran*)
18718 lt_prog_compiler_pic_F77='-KPIC'
18719 lt_prog_compiler_static_F77='-Bstatic'
18720 lt_prog_compiler_wl_F77='-Qoption ld '
18724 lt_prog_compiler_pic_F77='-KPIC'
18725 lt_prog_compiler_static_F77='-Bstatic'
18726 lt_prog_compiler_wl_F77='-Wl,'
18728 *Intel*\ [CF]*Compiler*)
18729 lt_prog_compiler_wl_F77='-Wl,'
18730 lt_prog_compiler_pic_F77='-fPIC'
18731 lt_prog_compiler_static_F77='-static'
18734 lt_prog_compiler_wl_F77='-Wl,'
18735 lt_prog_compiler_pic_F77='-fpic'
18736 lt_prog_compiler_static_F77='-Bstatic'
18744 lt_prog_compiler_pic_F77='-KPIC'
18745 lt_prog_compiler_static_F77='-Bstatic'
18749 # QNX uses GNU C++, but need to define -shared option too, otherwise
18750 # it will coredump.
18751 lt_prog_compiler_pic_F77='-fPIC -shared'
18754 osf3* | osf4* | osf5*)
18755 lt_prog_compiler_wl_F77='-Wl,'
18756 # All OSF/1 code is PIC.
18757 lt_prog_compiler_static_F77='-non_shared'
18761 lt_prog_compiler_static_F77='-non_shared'
18765 lt_prog_compiler_pic_F77='-KPIC'
18766 lt_prog_compiler_static_F77='-Bstatic'
18767 case $cc_basename in
18768 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
18769 lt_prog_compiler_wl_F77='-Qoption ld ';;
18771 lt_prog_compiler_wl_F77='-Wl,';;
18776 lt_prog_compiler_wl_F77='-Qoption ld '
18777 lt_prog_compiler_pic_F77='-PIC'
18778 lt_prog_compiler_static_F77='-Bstatic'
18781 sysv4 | sysv4.2uw2* | sysv4.3*)
18782 lt_prog_compiler_wl_F77='-Wl,'
18783 lt_prog_compiler_pic_F77='-KPIC'
18784 lt_prog_compiler_static_F77='-Bstatic'
18788 if test -d /usr/nec; then
18789 lt_prog_compiler_pic_F77='-Kconform_pic'
18790 lt_prog_compiler_static_F77='-Bstatic'
18794 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18795 lt_prog_compiler_wl_F77='-Wl,'
18796 lt_prog_compiler_pic_F77='-KPIC'
18797 lt_prog_compiler_static_F77='-Bstatic'
18801 lt_prog_compiler_wl_F77='-Wl,'
18802 lt_prog_compiler_can_build_shared_F77=no
18806 lt_prog_compiler_pic_F77='-pic'
18807 lt_prog_compiler_static_F77='-Bstatic'
18811 lt_prog_compiler_can_build_shared_F77=no
18817 # For platforms that do not support PIC, -DPIC is meaningless:
18819 lt_prog_compiler_pic_F77=
18822 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18827 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18828 if ${lt_cv_prog_compiler_pic_F77+:} false; then :
18829 $as_echo_n "(cached) " >&6
18831 lt_cv_prog_compiler_pic_F77=$lt_prog_compiler_pic_F77
18833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_F77" >&5
18834 $as_echo "$lt_cv_prog_compiler_pic_F77" >&6; }
18835 lt_prog_compiler_pic_F77=$lt_cv_prog_compiler_pic_F77
18838 # Check to make sure the PIC flag actually works.
18840 if test -n "$lt_prog_compiler_pic_F77"; then
18841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
18842 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
18843 if ${lt_cv_prog_compiler_pic_works_F77+:} false; then :
18844 $as_echo_n "(cached) " >&6
18846 lt_cv_prog_compiler_pic_works_F77=no
18847 ac_outfile=conftest.$ac_objext
18848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18849 lt_compiler_flag="$lt_prog_compiler_pic_F77" ## exclude from sc_useless_quotes_in_assignment
18850 # Insert the option either (1) after the last *FLAGS variable, or
18851 # (2) before a word containing "conftest.", or (3) at the end.
18852 # Note that $ac_compile itself does not contain backslashes and begins
18853 # with a dollar sign (not a hyphen), so the echo should work correctly.
18854 # The option is referenced via a variable to avoid confusing sed.
18855 lt_compile=`echo "$ac_compile" | $SED \
18856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18858 -e 's:$: $lt_compiler_flag:'`
18859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18860 (eval "$lt_compile" 2>conftest.err)
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 if (exit $ac_status) && test -s "$ac_outfile"; then
18865 # The compiler can only warn and ignore the option if not recognized
18866 # So say no if there are warnings other than the usual output.
18867 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
18868 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18869 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18870 lt_cv_prog_compiler_pic_works_F77=yes
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5
18877 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
18879 if test yes = "$lt_cv_prog_compiler_pic_works_F77"; then
18880 case $lt_prog_compiler_pic_F77 in
18882 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
18885 lt_prog_compiler_pic_F77=
18886 lt_prog_compiler_can_build_shared_F77=no
18896 # Check to make sure the static flag actually works.
18898 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18900 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18901 if ${lt_cv_prog_compiler_static_works_F77+:} false; then :
18902 $as_echo_n "(cached) " >&6
18904 lt_cv_prog_compiler_static_works_F77=no
18905 save_LDFLAGS=$LDFLAGS
18906 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18907 echo "$lt_simple_link_test_code" > conftest.$ac_ext
18908 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18909 # The linker can only warn and ignore the option if not recognized
18910 # So say no if there are warnings
18911 if test -s conftest.err; then
18912 # Append any errors to the config.log.
18913 cat conftest.err 1>&5
18914 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
18915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18916 if diff conftest.exp conftest.er2 >/dev/null; then
18917 lt_cv_prog_compiler_static_works_F77=yes
18920 lt_cv_prog_compiler_static_works_F77=yes
18924 LDFLAGS=$save_LDFLAGS
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5
18928 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
18930 if test yes = "$lt_cv_prog_compiler_static_works_F77"; then
18933 lt_prog_compiler_static_F77=
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18940 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18941 if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
18942 $as_echo_n "(cached) " >&6
18944 lt_cv_prog_compiler_c_o_F77=no
18945 $RM -r conftest 2>/dev/null
18949 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18951 lt_compiler_flag="-o out/conftest2.$ac_objext"
18952 # Insert the option either (1) after the last *FLAGS variable, or
18953 # (2) before a word containing "conftest.", or (3) at the end.
18954 # Note that $ac_compile itself does not contain backslashes and begins
18955 # with a dollar sign (not a hyphen), so the echo should work correctly.
18956 lt_compile=`echo "$ac_compile" | $SED \
18957 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18958 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18959 -e 's:$: $lt_compiler_flag:'`
18960 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18961 (eval "$lt_compile" 2>out/conftest.err)
18963 cat out/conftest.err >&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18967 # The compiler can only warn and ignore the option if not recognized
18968 # So say no if there are warnings
18969 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18970 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18971 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18972 lt_cv_prog_compiler_c_o_F77=yes
18977 # SGI C++ compiler will create directory out/ii_files/ for
18978 # template instantiation
18979 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18980 $RM out/* && rmdir out
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
18987 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18992 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18993 if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
18994 $as_echo_n "(cached) " >&6
18996 lt_cv_prog_compiler_c_o_F77=no
18997 $RM -r conftest 2>/dev/null
19001 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19003 lt_compiler_flag="-o out/conftest2.$ac_objext"
19004 # Insert the option either (1) after the last *FLAGS variable, or
19005 # (2) before a word containing "conftest.", or (3) at the end.
19006 # Note that $ac_compile itself does not contain backslashes and begins
19007 # with a dollar sign (not a hyphen), so the echo should work correctly.
19008 lt_compile=`echo "$ac_compile" | $SED \
19009 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19010 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19011 -e 's:$: $lt_compiler_flag:'`
19012 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19013 (eval "$lt_compile" 2>out/conftest.err)
19015 cat out/conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19019 # The compiler can only warn and ignore the option if not recognized
19020 # So say no if there are warnings
19021 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19022 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19023 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19024 lt_cv_prog_compiler_c_o_F77=yes
19029 # SGI C++ compiler will create directory out/ii_files/ for
19030 # template instantiation
19031 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19032 $RM out/* && rmdir out
19038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
19039 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
19044 hard_links=nottested
19045 if test no = "$lt_cv_prog_compiler_c_o_F77" && test no != "$need_locks"; then
19046 # do not overwrite the value of need_locks provided by the user
19047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19048 $as_echo_n "checking if we can lock with hard links... " >&6; }
19051 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19053 ln conftest.a conftest.b 2>&5 || hard_links=no
19054 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19056 $as_echo "$hard_links" >&6; }
19057 if test no = "$hard_links"; then
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
19059 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19069 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19072 allow_undefined_flag_F77=
19073 always_export_symbols_F77=no
19075 archive_expsym_cmds_F77=
19076 compiler_needs_object_F77=no
19077 enable_shared_with_static_runtimes_F77=no
19078 export_dynamic_flag_spec_F77=
19079 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19080 hardcode_automatic_F77=no
19081 hardcode_direct_F77=no
19082 hardcode_direct_absolute_F77=no
19083 hardcode_libdir_flag_spec_F77=
19084 hardcode_libdir_separator_F77=
19085 hardcode_minus_L_F77=no
19086 hardcode_shlibpath_var_F77=unsupported
19087 inherit_rpath_F77=no
19088 link_all_deplibs_F77=unknown
19090 module_expsym_cmds_F77=
19091 old_archive_from_new_cmds_F77=
19092 old_archive_from_expsyms_cmds_F77=
19093 thread_safe_flag_spec_F77=
19094 whole_archive_flag_spec_F77=
19095 # include_expsyms should be a list of space-separated symbols to be *always*
19096 # included in the symbol list
19097 include_expsyms_F77=
19098 # exclude_expsyms can be an extended regexp of symbols to exclude
19099 # it will be wrapped by ' (' and ')$', so one must not match beginning or
19100 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
19101 # as well as any symbol that contains 'd'.
19102 exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19103 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19104 # platforms (ab)use it in PIC code, but their linkers get confused if
19105 # the symbol is explicitly referenced. Since portable code cannot
19106 # rely on this symbol name, it's probably fine to never include it in
19107 # preloaded symbol tables.
19108 # Exclude shared library initialization/finalization symbols.
19109 extract_expsyms_cmds=
19112 cygwin* | mingw* | pw32* | cegcc*)
19113 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
19114 # When not using gcc, we currently assume that we are using
19115 # Microsoft Visual C++ or Intel C++ Compiler.
19116 if test yes != "$GCC"; then
19121 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
19124 openbsd* | bitrig*)
19131 # On some targets, GNU ld is compatible enough with the native linker
19132 # that we're better off using the native interface for both.
19133 lt_use_gnu_ld_interface=no
19134 if test yes = "$with_gnu_ld"; then
19137 # The AIX port of GNU ld has always aspired to compatibility
19138 # with the native linker. However, as the warning in the GNU ld
19139 # block says, versions before 2.19.5* couldn't really create working
19140 # shared libraries, regardless of the interface used.
19141 case `$LD -v 2>&1` in
19142 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
19143 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
19144 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
19146 lt_use_gnu_ld_interface=yes
19151 lt_use_gnu_ld_interface=yes
19156 if test yes = "$lt_use_gnu_ld_interface"; then
19157 # If archive_cmds runs LD, not CC, wlarc should be empty
19160 # Set some defaults for GNU ld with shared library support. These
19161 # are reset later if shared libraries are not supported. Putting them
19162 # here allows them to be overridden if necessary.
19163 runpath_var=LD_RUN_PATH
19164 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19165 export_dynamic_flag_spec_F77='$wl--export-dynamic'
19166 # ancient GNU ld didn't support --whole-archive et. al.
19167 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
19168 whole_archive_flag_spec_F77=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
19170 whole_archive_flag_spec_F77=
19172 supports_anon_versioning=no
19173 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
19174 *GNU\ gold*) supports_anon_versioning=yes ;;
19175 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19176 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19177 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19178 *\ 2.11.*) ;; # other 2.11 versions
19179 *) supports_anon_versioning=yes ;;
19182 # See if GNU ld supports shared libraries.
19185 # On AIX/PPC, the GNU linker is very broken
19186 if test ia64 != "$host_cpu"; then
19190 *** Warning: the GNU linker, at least up to release 2.19, is reported
19191 *** to be unable to reliably create shared libraries on AIX.
19192 *** Therefore, libtool is disabling shared libraries support. If you
19193 *** really care for shared libraries, you may want to install binutils
19194 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
19195 *** You will then need to restart the configuration process.
19204 # see comment about AmigaOS4 .so support
19205 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19206 archive_expsym_cmds_F77=''
19209 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)'
19210 hardcode_libdir_flag_spec_F77='-L$libdir'
19211 hardcode_minus_L_F77=yes
19217 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19218 allow_undefined_flag_F77=unsupported
19219 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19220 # support --undefined. This deserves some investigation. FIXME
19221 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19227 cygwin* | mingw* | pw32* | cegcc*)
19228 # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
19229 # as there is no search path for DLLs.
19230 hardcode_libdir_flag_spec_F77='-L$libdir'
19231 export_dynamic_flag_spec_F77='$wl--export-all-symbols'
19232 allow_undefined_flag_F77=unsupported
19233 always_export_symbols_F77=no
19234 enable_shared_with_static_runtimes_F77=yes
19235 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'
19236 exclude_expsyms_F77='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
19238 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
19239 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19240 # If the export-symbols file already is a .def file, use it as
19241 # is; otherwise, prepend EXPORTS...
19242 archive_expsym_cmds_F77='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
19243 cp $export_symbols $output_objdir/$soname.def;
19245 echo EXPORTS > $output_objdir/$soname.def;
19246 cat $export_symbols >> $output_objdir/$soname.def;
19248 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19255 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19256 link_all_deplibs_F77=yes
19260 hardcode_libdir_flag_spec_F77='-L$libdir'
19261 hardcode_minus_L_F77=yes
19262 allow_undefined_flag_F77=unsupported
19264 archive_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19265 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19266 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19267 $ECHO EXPORTS >> $output_objdir/$libname.def~
19268 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
19269 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19270 emximp -o $lib $output_objdir/$libname.def'
19271 archive_expsym_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19272 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19273 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19274 $ECHO EXPORTS >> $output_objdir/$libname.def~
19275 prefix_cmds="$SED"~
19276 if test EXPORTS = "`$SED 1q $export_symbols`"; then
19277 prefix_cmds="$prefix_cmds -e 1d";
19279 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
19280 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
19281 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19282 emximp -o $lib $output_objdir/$libname.def'
19283 old_archive_From_new_cmds_F77='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
19284 enable_shared_with_static_runtimes_F77=yes
19285 file_list_spec_F77='@'
19289 hardcode_direct_F77=no
19290 hardcode_shlibpath_var_F77=no
19291 hardcode_libdir_flag_spec_F77='$wl-rpath,$libdir'
19292 export_dynamic_flag_spec_F77='$wl-E'
19293 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19294 # Instead, shared libraries are loaded at an image base (0x10000000 by
19295 # default) and relocated if they conflict, which is a slow very memory
19296 # consuming and fragmenting process. To avoid this, we pick a random,
19297 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19298 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19299 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'
19300 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'
19303 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
19305 if test linux-dietlibc = "$host_os"; then
19306 case $cc_basename in
19307 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
19310 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
19311 && test no = "$tmp_diet"
19313 tmp_addflag=' $pic_flag'
19314 tmp_sharedflag='-shared'
19315 case $cc_basename,$host_cpu in
19316 pgcc*) # Portland Group C compiler
19317 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'
19318 tmp_addflag=' $pic_flag'
19320 pgf77* | pgf90* | pgf95* | pgfortran*)
19321 # Portland Group f77 and f90 compilers
19322 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'
19323 tmp_addflag=' $pic_flag -Mnomain' ;;
19324 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
19325 tmp_addflag=' -i_dynamic' ;;
19326 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
19327 tmp_addflag=' -i_dynamic -nofor_main' ;;
19328 ifc* | ifort*) # Intel Fortran compiler
19329 tmp_addflag=' -nofor_main' ;;
19330 lf95*) # Lahey Fortran 8.1
19331 whole_archive_flag_spec_F77=
19332 tmp_sharedflag='--shared' ;;
19333 nagfor*) # NAGFOR 5.3
19334 tmp_sharedflag='-Wl,-shared' ;;
19335 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
19336 tmp_sharedflag='-qmkshrobj'
19338 nvcc*) # Cuda Compiler Driver 2.2
19339 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'
19340 compiler_needs_object_F77=yes
19343 case `$CC -V 2>&1 | $SED 5q` in
19344 *Sun\ C*) # Sun C 5.9
19345 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'
19346 compiler_needs_object_F77=yes
19347 tmp_sharedflag='-G' ;;
19348 *Sun\ F*) # Sun Fortran 8.3
19349 tmp_sharedflag='-G' ;;
19351 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19353 if test yes = "$supports_anon_versioning"; then
19354 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
19355 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19356 echo "local: *; };" >> $output_objdir/$libname.ver~
19357 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
19360 case $cc_basename in
19362 export_dynamic_flag_spec_F77='-rdynamic'
19364 xlf* | bgf* | bgxlf* | mpixlf*)
19365 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
19366 whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
19367 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19368 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
19369 if test yes = "$supports_anon_versioning"; then
19370 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
19371 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19372 echo "local: *; };" >> $output_objdir/$libname.ver~
19373 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
19383 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19384 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19387 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19388 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'
19393 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
19397 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
19398 *** create shared libraries on Solaris systems. Therefore, libtool
19399 *** is disabling shared libraries support. We urge you to upgrade GNU
19400 *** binutils to release 2.9.1 or newer. Another option is to modify
19401 *** your PATH or compiler configuration so that the native linker is
19402 *** used, and then restart.
19405 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19406 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19407 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'
19413 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
19414 case `$LD -v 2>&1` in
19415 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
19419 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
19420 *** reliably create shared libraries on SCO systems. Therefore, libtool
19421 *** is disabling shared libraries support. We urge you to upgrade GNU
19422 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
19423 *** your PATH or compiler configuration so that the native linker is
19424 *** used, and then restart.
19429 # For security reasons, it is highly recommended that you always
19430 # use absolute paths for naming shared libraries, and exclude the
19431 # DT_RUNPATH tag from executables and libraries. But doing so
19432 # requires that you compile everything twice, which is a pain.
19433 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19434 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19435 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19436 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19445 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19447 hardcode_direct_F77=yes
19448 hardcode_shlibpath_var_F77=no
19452 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19453 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19454 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'
19461 if test no = "$ld_shlibs_F77"; then
19463 hardcode_libdir_flag_spec_F77=
19464 export_dynamic_flag_spec_F77=
19465 whole_archive_flag_spec_F77=
19468 # PORTME fill in a description of your system's linker (not GNU ld)
19471 allow_undefined_flag_F77=unsupported
19472 always_export_symbols_F77=yes
19473 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'
19474 # Note: this linker hardcodes the directories in LIBPATH if there
19475 # are no directories specified by -L.
19476 hardcode_minus_L_F77=yes
19477 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
19478 # Neither direct hardcoding nor static linking is supported with a
19480 hardcode_direct_F77=unsupported
19485 if test ia64 = "$host_cpu"; then
19486 # On IA64, the linker does run time linking by default, so we don't
19487 # have to do anything special.
19488 aix_use_runtimelinking=no
19489 exp_sym_flag='-Bexport'
19492 # If we're using GNU nm, then we don't want the "-C" option.
19493 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
19494 # Without the "-l" option, or with the "-B" option, AIX nm treats
19495 # weak defined symbols like other global defined symbols, whereas
19496 # GNU nm marks them as "W".
19497 # While the 'weak' keyword is ignored in the Export File, we need
19498 # it in the Import File for the 'aix-soname' feature, so we have
19499 # to replace the "-B" option with "-P" for AIX nm.
19500 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19501 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'
19503 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 == "L") || (\$ 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'
19505 aix_use_runtimelinking=no
19507 # Test if we are trying to use run time linking or normal
19508 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19509 # have runtime linking enabled, and use it for executables.
19510 # For shared libraries, we enable/disable runtime linking
19511 # depending on the kind of the shared library created -
19512 # when "with_aix_soname,aix_use_runtimelinking" is:
19513 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
19514 # "aix,yes" lib.so shared, rtl:yes, for executables
19515 # lib.a static archive
19516 # "both,no" lib.so.V(shr.o) shared, rtl:yes
19517 # lib.a(lib.so.V) shared, rtl:no, for executables
19518 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
19519 # lib.a(lib.so.V) shared, rtl:no
19520 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
19521 # lib.a static archive
19522 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19523 for ld_flag in $LDFLAGS; do
19524 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
19525 aix_use_runtimelinking=yes
19529 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
19530 # With aix-soname=svr4, we create the lib.so.V shared archives only,
19531 # so we don't have lib.a shared libs to link our executables.
19532 # We have to force runtime linking in this case.
19533 aix_use_runtimelinking=yes
19534 LDFLAGS="$LDFLAGS -Wl,-brtl"
19539 exp_sym_flag='-bexport'
19540 no_entry_flag='-bnoentry'
19543 # When large executables or shared objects are built, AIX ld can
19544 # have problems creating the table of contents. If linking a library
19545 # or program results in "error TOC overflow" add -mminimal-toc to
19546 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19547 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19549 archive_cmds_F77=''
19550 hardcode_direct_F77=yes
19551 hardcode_direct_absolute_F77=yes
19552 hardcode_libdir_separator_F77=':'
19553 link_all_deplibs_F77=yes
19554 file_list_spec_F77='$wl-f,'
19555 case $with_aix_soname,$aix_use_runtimelinking in
19556 aix,*) ;; # traditional, no import file
19557 svr4,* | *,yes) # use import file
19558 # The Import File defines what to hardcode.
19559 hardcode_direct_F77=no
19560 hardcode_direct_absolute_F77=no
19564 if test yes = "$GCC"; then
19565 case $host_os in aix4.[012]|aix4.[012].*)
19566 # We only want to do this on AIX 4.2 and lower, the check
19567 # below for broken collect2 doesn't work under 4.3+
19568 collect2name=`$CC -print-prog-name=collect2`
19569 if test -f "$collect2name" &&
19570 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
19572 # We have reworked collect2
19575 # We have old collect2
19576 hardcode_direct_F77=unsupported
19577 # It fails to find uninstalled libraries when the uninstalled
19578 # path is not listed in the libpath. Setting hardcode_minus_L
19579 # to unsupported forces relinking
19580 hardcode_minus_L_F77=yes
19581 hardcode_libdir_flag_spec_F77='-L$libdir'
19582 hardcode_libdir_separator_F77=
19586 shared_flag='-shared'
19587 if test yes = "$aix_use_runtimelinking"; then
19588 shared_flag="$shared_flag "'$wl-G'
19590 # Need to ensure runtime linking is disabled for the traditional
19591 # shared library, or the linker may eventually find shared libraries
19592 # /with/ Import File - we do not want to mix them.
19593 shared_flag_aix='-shared'
19594 shared_flag_svr4='-shared $wl-G'
19597 if test ia64 = "$host_cpu"; then
19598 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19599 # chokes on -Wl,-G. The following line is correct:
19602 if test yes = "$aix_use_runtimelinking"; then
19603 shared_flag='$wl-G'
19605 shared_flag='$wl-bM:SRE'
19607 shared_flag_aix='$wl-bM:SRE'
19608 shared_flag_svr4='$wl-G'
19612 export_dynamic_flag_spec_F77='$wl-bexpall'
19613 # It seems that -bexpall does not export symbols beginning with
19614 # underscore (_), so it is better to generate a list of symbols to export.
19615 always_export_symbols_F77=yes
19616 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
19617 # Warning - without using the other runtime loading flags (-brtl),
19618 # -berok will link without error, but may produce a broken library.
19619 allow_undefined_flag_F77='-berok'
19620 # Determine the default libpath from the value encoded in an
19621 # empty executable.
19622 if test set = "${lt_cv_aix_libpath+set}"; then
19623 aix_libpath=$lt_cv_aix_libpath
19625 if ${lt_cv_aix_libpath__F77+:} false; then :
19626 $as_echo_n "(cached) " >&6
19628 cat > conftest.$ac_ext <<_ACEOF
19633 if ac_fn_f77_try_link "$LINENO"; then :
19635 lt_aix_libpath_sed='
19636 /Import File Strings/,/^$/ {
19638 s/^0 *\([^ ]*\) *$/\1/
19642 lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19643 # Check for a 64-bit object if we didn't find anything.
19644 if test -z "$lt_cv_aix_libpath__F77"; then
19645 lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19648 rm -f core conftest.err conftest.$ac_objext \
19649 conftest$ac_exeext conftest.$ac_ext
19650 if test -z "$lt_cv_aix_libpath__F77"; then
19651 lt_cv_aix_libpath__F77=/usr/lib:/lib
19656 aix_libpath=$lt_cv_aix_libpath__F77
19659 hardcode_libdir_flag_spec_F77='$wl-blibpath:$libdir:'"$aix_libpath"
19660 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
19662 if test ia64 = "$host_cpu"; then
19663 hardcode_libdir_flag_spec_F77='$wl-R $libdir:/usr/lib:/lib'
19664 allow_undefined_flag_F77="-z nodefs"
19665 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"
19667 # Determine the default libpath from the value encoded in an
19668 # empty executable.
19669 if test set = "${lt_cv_aix_libpath+set}"; then
19670 aix_libpath=$lt_cv_aix_libpath
19672 if ${lt_cv_aix_libpath__F77+:} false; then :
19673 $as_echo_n "(cached) " >&6
19675 cat > conftest.$ac_ext <<_ACEOF
19680 if ac_fn_f77_try_link "$LINENO"; then :
19682 lt_aix_libpath_sed='
19683 /Import File Strings/,/^$/ {
19685 s/^0 *\([^ ]*\) *$/\1/
19689 lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19690 # Check for a 64-bit object if we didn't find anything.
19691 if test -z "$lt_cv_aix_libpath__F77"; then
19692 lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19695 rm -f core conftest.err conftest.$ac_objext \
19696 conftest$ac_exeext conftest.$ac_ext
19697 if test -z "$lt_cv_aix_libpath__F77"; then
19698 lt_cv_aix_libpath__F77=/usr/lib:/lib
19703 aix_libpath=$lt_cv_aix_libpath__F77
19706 hardcode_libdir_flag_spec_F77='$wl-blibpath:$libdir:'"$aix_libpath"
19707 # Warning - without using the other run time loading flags,
19708 # -berok will link without error, but may produce a broken library.
19709 no_undefined_flag_F77=' $wl-bernotok'
19710 allow_undefined_flag_F77=' $wl-berok'
19711 if test yes = "$with_gnu_ld"; then
19712 # We only use this code for GNU lds that support --whole-archive.
19713 whole_archive_flag_spec_F77='$wl--whole-archive$convenience $wl--no-whole-archive'
19715 # Exported symbols can be pulled into shared objects from archives
19716 whole_archive_flag_spec_F77='$convenience'
19718 archive_cmds_need_lc_F77=yes
19719 archive_expsym_cmds_F77='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
19720 # -brtl affects multiple linker settings, -berok does not and is overridden later
19721 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
19722 if test svr4 != "$with_aix_soname"; then
19723 # This is similar to how AIX traditionally builds its shared libraries.
19724 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'
19726 if test aix != "$with_aix_soname"; then
19727 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'
19729 # used by -dlpreopen to get the symbols
19730 archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
19732 archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$RM -r $output_objdir/$realname.d'
19740 # see comment about AmigaOS4 .so support
19741 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19742 archive_expsym_cmds_F77=''
19745 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)'
19746 hardcode_libdir_flag_spec_F77='-L$libdir'
19747 hardcode_minus_L_F77=yes
19753 export_dynamic_flag_spec_F77=-rdynamic
19756 cygwin* | mingw* | pw32* | cegcc*)
19757 # When not using gcc, we currently assume that we are using
19758 # Microsoft Visual C++ or Intel C++ Compiler.
19759 # hardcode_libdir_flag_spec is actually meaningless, as there is
19760 # no search path for DLLs.
19761 case $cc_basename in
19763 # Native MSVC or ICC
19764 hardcode_libdir_flag_spec_F77=' '
19765 allow_undefined_flag_F77=unsupported
19766 always_export_symbols_F77=yes
19767 file_list_spec_F77='@'
19768 # Tell ltmain to make .lib files, not .a files.
19770 # Tell ltmain to make .dll files, not .so files.
19772 # FIXME: Setting linknames here is a bad hack.
19773 archive_cmds_F77='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
19774 archive_expsym_cmds_F77='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
19775 cp "$export_symbols" "$output_objdir/$soname.def";
19776 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
19778 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
19780 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
19782 # The linker will not automatically build a static lib if we build a DLL.
19783 # _LT_TAGVAR(old_archive_from_new_cmds, F77)='true'
19784 enable_shared_with_static_runtimes_F77=yes
19785 exclude_expsyms_F77='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
19786 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19788 old_postinstall_cmds_F77='chmod 644 $oldlib'
19789 postlink_cmds_F77='lt_outputfile="@OUTPUT@"~
19790 lt_tool_outputfile="@TOOL_OUTPUT@"~
19791 case $lt_outputfile in
19794 lt_outputfile=$lt_outputfile.exe
19795 lt_tool_outputfile=$lt_tool_outputfile.exe
19798 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
19799 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
19800 $RM "$lt_outputfile.manifest";
19804 # Assume MSVC and ICC wrapper
19805 hardcode_libdir_flag_spec_F77=' '
19806 allow_undefined_flag_F77=unsupported
19807 # Tell ltmain to make .lib files, not .a files.
19809 # Tell ltmain to make .dll files, not .so files.
19811 # FIXME: Setting linknames here is a bad hack.
19812 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
19813 # The linker will automatically build a .lib file if we build a DLL.
19814 old_archive_from_new_cmds_F77='true'
19815 # FIXME: Should let the user specify the lib program.
19816 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
19817 enable_shared_with_static_runtimes_F77=yes
19822 darwin* | rhapsody*)
19825 archive_cmds_need_lc_F77=no
19826 hardcode_direct_F77=no
19827 hardcode_automatic_F77=yes
19828 hardcode_shlibpath_var_F77=unsupported
19829 if test yes = "$lt_cv_ld_force_load"; then
19830 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\"`'
19831 compiler_needs_object_F77=yes
19833 whole_archive_flag_spec_F77=''
19835 link_all_deplibs_F77=yes
19836 allow_undefined_flag_F77=$_lt_dar_allow_undefined
19837 case $cc_basename in
19838 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
19839 *) _lt_dar_can_shared=$GCC ;;
19841 if test yes = "$_lt_dar_can_shared"; then
19842 output_verbose_link_cmd=func_echo_all
19843 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"
19844 module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
19845 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"
19846 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"
19855 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19856 hardcode_libdir_flag_spec_F77='-L$libdir'
19857 hardcode_shlibpath_var_F77=no
19860 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19861 # support. Future versions do this automatically, but an explicit c++rt0.o
19862 # does not break anything, and helps significantly (at the cost of a little
19865 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19866 hardcode_libdir_flag_spec_F77='-R$libdir'
19867 hardcode_direct_F77=yes
19868 hardcode_shlibpath_var_F77=no
19871 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19873 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19874 hardcode_direct_F77=yes
19875 hardcode_minus_L_F77=yes
19876 hardcode_shlibpath_var_F77=no
19879 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19880 freebsd* | dragonfly* | midnightbsd*)
19881 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19882 hardcode_libdir_flag_spec_F77='-R$libdir'
19883 hardcode_direct_F77=yes
19884 hardcode_shlibpath_var_F77=no
19888 if test yes = "$GCC"; then
19889 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'
19891 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'
19893 hardcode_libdir_flag_spec_F77='$wl+b $wl$libdir'
19894 hardcode_libdir_separator_F77=:
19895 hardcode_direct_F77=yes
19897 # hardcode_minus_L: Not really in the search PATH,
19898 # but as the default location of the library.
19899 hardcode_minus_L_F77=yes
19900 export_dynamic_flag_spec_F77='$wl-E'
19904 if test yes,no = "$GCC,$with_gnu_ld"; then
19905 archive_cmds_F77='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19907 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19909 if test no = "$with_gnu_ld"; then
19910 hardcode_libdir_flag_spec_F77='$wl+b $wl$libdir'
19911 hardcode_libdir_separator_F77=:
19912 hardcode_direct_F77=yes
19913 hardcode_direct_absolute_F77=yes
19914 export_dynamic_flag_spec_F77='$wl-E'
19915 # hardcode_minus_L: Not really in the search PATH,
19916 # but as the default location of the library.
19917 hardcode_minus_L_F77=yes
19922 if test yes,no = "$GCC,$with_gnu_ld"; then
19925 archive_cmds_F77='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
19928 archive_cmds_F77='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19931 archive_cmds_F77='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19937 archive_cmds_F77='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
19940 archive_cmds_F77='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19943 archive_cmds_F77='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19947 if test no = "$with_gnu_ld"; then
19948 hardcode_libdir_flag_spec_F77='$wl+b $wl$libdir'
19949 hardcode_libdir_separator_F77=:
19953 hardcode_direct_F77=no
19954 hardcode_shlibpath_var_F77=no
19957 hardcode_direct_F77=yes
19958 hardcode_direct_absolute_F77=yes
19959 export_dynamic_flag_spec_F77='$wl-E'
19961 # hardcode_minus_L: Not really in the search PATH,
19962 # but as the default location of the library.
19963 hardcode_minus_L_F77=yes
19969 irix5* | irix6* | nonstopux*)
19970 if test yes = "$GCC"; then
19971 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'
19972 # Try to use the -exported_symbol ld option, if it does not
19973 # work, assume that -exports_file does not work either and
19974 # implicitly export all symbols.
19975 # This should be the same for all languages, so no per-tag cache variable.
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
19977 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
19978 if ${lt_cv_irix_exported_symbol+:} false; then :
19979 $as_echo_n "(cached) " >&6
19981 save_LDFLAGS=$LDFLAGS
19982 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
19983 cat > conftest.$ac_ext <<_ACEOF
19988 if ac_fn_f77_try_link "$LINENO"; then :
19989 lt_cv_irix_exported_symbol=yes
19991 lt_cv_irix_exported_symbol=no
19993 rm -f core conftest.err conftest.$ac_objext \
19994 conftest$ac_exeext conftest.$ac_ext
19995 LDFLAGS=$save_LDFLAGS
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
19998 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
19999 if test yes = "$lt_cv_irix_exported_symbol"; then
20000 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'
20003 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'
20004 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'
20006 archive_cmds_need_lc_F77='no'
20007 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
20008 hardcode_libdir_separator_F77=:
20009 inherit_rpath_F77=yes
20010 link_all_deplibs_F77=yes
20014 case $cc_basename in
20016 # Fabrice Bellard et al's Tiny C Compiler
20018 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20024 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20025 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20027 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
20029 hardcode_libdir_flag_spec_F77='-R$libdir'
20030 hardcode_direct_F77=yes
20031 hardcode_shlibpath_var_F77=no
20035 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20036 hardcode_direct_F77=yes
20037 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
20038 hardcode_libdir_separator_F77=:
20039 hardcode_shlibpath_var_F77=no
20045 openbsd* | bitrig*)
20046 if test -f /usr/libexec/ld.so; then
20047 hardcode_direct_F77=yes
20048 hardcode_shlibpath_var_F77=no
20049 hardcode_direct_absolute_F77=yes
20050 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
20051 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20052 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
20053 hardcode_libdir_flag_spec_F77='$wl-rpath,$libdir'
20054 export_dynamic_flag_spec_F77='$wl-E'
20056 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20057 hardcode_libdir_flag_spec_F77='$wl-rpath,$libdir'
20065 hardcode_libdir_flag_spec_F77='-L$libdir'
20066 hardcode_minus_L_F77=yes
20067 allow_undefined_flag_F77=unsupported
20069 archive_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
20070 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
20071 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
20072 $ECHO EXPORTS >> $output_objdir/$libname.def~
20073 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
20074 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
20075 emximp -o $lib $output_objdir/$libname.def'
20076 archive_expsym_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
20077 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
20078 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
20079 $ECHO EXPORTS >> $output_objdir/$libname.def~
20080 prefix_cmds="$SED"~
20081 if test EXPORTS = "`$SED 1q $export_symbols`"; then
20082 prefix_cmds="$prefix_cmds -e 1d";
20084 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
20085 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
20086 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
20087 emximp -o $lib $output_objdir/$libname.def'
20088 old_archive_From_new_cmds_F77='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
20089 enable_shared_with_static_runtimes_F77=yes
20090 file_list_spec_F77='@'
20094 if test yes = "$GCC"; then
20095 allow_undefined_flag_F77=' $wl-expect_unresolved $wl\*'
20096 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'
20098 allow_undefined_flag_F77=' -expect_unresolved \*'
20099 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'
20101 archive_cmds_need_lc_F77='no'
20102 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
20103 hardcode_libdir_separator_F77=:
20106 osf4* | osf5*) # as osf3* with the addition of -msym flag
20107 if test yes = "$GCC"; then
20108 allow_undefined_flag_F77=' $wl-expect_unresolved $wl\*'
20109 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'
20110 hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
20112 allow_undefined_flag_F77=' -expect_unresolved \*'
20113 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'
20114 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~
20115 $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'
20117 # Both c and cxx compiler support -rpath directly
20118 hardcode_libdir_flag_spec_F77='-rpath $libdir'
20120 archive_cmds_need_lc_F77='no'
20121 hardcode_libdir_separator_F77=:
20125 no_undefined_flag_F77=' -z defs'
20126 if test yes = "$GCC"; then
20128 archive_cmds_F77='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
20129 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
20130 $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'
20132 case `$CC -V 2>&1` in
20135 archive_cmds_F77='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
20136 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
20137 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
20141 archive_cmds_F77='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
20142 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
20143 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
20147 hardcode_libdir_flag_spec_F77='-R$libdir'
20148 hardcode_shlibpath_var_F77=no
20150 solaris2.[0-5] | solaris2.[0-5].*) ;;
20152 # The compiler driver will combine and reorder linker options,
20153 # but understands '-z linker_flag'. GCC discards it without '$wl',
20154 # but is careful enough not to reorder.
20155 # Supported since Solaris 2.6 (maybe 2.5.1?)
20156 if test yes = "$GCC"; then
20157 whole_archive_flag_spec_F77='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
20159 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
20163 link_all_deplibs_F77=yes
20167 if test sequent = "$host_vendor"; then
20168 # Use $CC to link under sequent, because it throws in some extra .o
20169 # files that make .init and .fini sections work.
20170 archive_cmds_F77='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20172 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20174 hardcode_libdir_flag_spec_F77='-L$libdir'
20175 hardcode_direct_F77=yes
20176 hardcode_minus_L_F77=yes
20177 hardcode_shlibpath_var_F77=no
20181 case $host_vendor in
20183 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20184 hardcode_direct_F77=yes # is this really true???
20187 ## LD is ld it makes a PLAMLIB
20188 ## CC just makes a GrossModule.
20189 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20190 reload_cmds_F77='$CC -r -o $output$reload_objs'
20191 hardcode_direct_F77=no
20194 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20195 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
20198 runpath_var='LD_RUN_PATH'
20199 hardcode_shlibpath_var_F77=no
20203 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20204 hardcode_shlibpath_var_F77=no
20205 export_dynamic_flag_spec_F77='-Bexport'
20209 if test -d /usr/nec; then
20210 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20211 hardcode_shlibpath_var_F77=no
20212 runpath_var=LD_RUN_PATH
20213 hardcode_runpath_var=yes
20218 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
20219 no_undefined_flag_F77='$wl-z,text'
20220 archive_cmds_need_lc_F77=no
20221 hardcode_shlibpath_var_F77=no
20222 runpath_var='LD_RUN_PATH'
20224 if test yes = "$GCC"; then
20225 archive_cmds_F77='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20226 archive_expsym_cmds_F77='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20228 archive_cmds_F77='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20229 archive_expsym_cmds_F77='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20233 sysv5* | sco3.2v5* | sco5v6*)
20234 # Note: We CANNOT use -z defs as we might desire, because we do not
20235 # link with -lc, and that would cause any symbols used from libc to
20236 # always be unresolved, which means just about no library would
20237 # ever link correctly. If we're not using GNU ld we use -z text
20238 # though, which does catch some bad symbols but isn't as heavy-handed
20240 no_undefined_flag_F77='$wl-z,text'
20241 allow_undefined_flag_F77='$wl-z,nodefs'
20242 archive_cmds_need_lc_F77=no
20243 hardcode_shlibpath_var_F77=no
20244 hardcode_libdir_flag_spec_F77='$wl-R,$libdir'
20245 hardcode_libdir_separator_F77=':'
20246 link_all_deplibs_F77=yes
20247 export_dynamic_flag_spec_F77='$wl-Bexport'
20248 runpath_var='LD_RUN_PATH'
20250 if test yes = "$GCC"; then
20251 archive_cmds_F77='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20252 archive_expsym_cmds_F77='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20254 archive_cmds_F77='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20255 archive_expsym_cmds_F77='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20260 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20261 hardcode_libdir_flag_spec_F77='-L$libdir'
20262 hardcode_shlibpath_var_F77=no
20270 if test sni = "$host_vendor"; then
20272 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20273 export_dynamic_flag_spec_F77='$wl-Blargedynsym'
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
20280 $as_echo "$ld_shlibs_F77" >&6; }
20281 test no = "$ld_shlibs_F77" && can_build_shared=no
20283 with_gnu_ld_F77=$with_gnu_ld
20291 # Do we need to explicitly link libc?
20293 case "x$archive_cmds_need_lc_F77" in
20295 # Assume -lc should be added
20296 archive_cmds_need_lc_F77=yes
20298 if test yes,yes = "$GCC,$enable_shared"; then
20299 case $archive_cmds_F77 in
20301 # FIXME: we may have to deal with multi-command sequences.
20304 # Test whether the compiler implicitly links with -lc since on some
20305 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20306 # to ld, don't add -lc before -lgcc.
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
20308 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20309 if ${lt_cv_archive_cmds_need_lc_F77+:} false; then :
20310 $as_echo_n "(cached) " >&6
20313 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20316 (eval $ac_compile) 2>&5
20318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20319 test $ac_status = 0; } 2>conftest.err; then
20322 libobjs=conftest.$ac_objext
20324 wl=$lt_prog_compiler_wl_F77
20325 pic_flag=$lt_prog_compiler_pic_F77
20331 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
20332 allow_undefined_flag_F77=
20333 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
20334 (eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
20336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20337 test $ac_status = 0; }
20339 lt_cv_archive_cmds_need_lc_F77=no
20341 lt_cv_archive_cmds_need_lc_F77=yes
20343 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
20345 cat conftest.err 1>&5
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_F77" >&5
20351 $as_echo "$lt_cv_archive_cmds_need_lc_F77" >&6; }
20352 archive_cmds_need_lc_F77=$lt_cv_archive_cmds_need_lc_F77
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
20421 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20423 library_names_spec=
20424 libname_spec='lib$name'
20428 postuninstall_cmds=
20432 shlibpath_overrides_runpath=unknown
20434 dynamic_linker="$host_os ld.so"
20435 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20436 need_lib_prefix=unknown
20437 hardcode_into_libs=no
20439 # when you set need_version to no, make sure it does not cause -set_version
20440 # flags to be left without arguments
20441 need_version=unknown
20447 version_type=linux # correct to gnu/linux during the next big refactor
20448 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
20449 shlibpath_var=LIBPATH
20451 # AIX 3 has no versioning support, so we append a major version to the name.
20452 soname_spec='$libname$release$shared_ext$major'
20456 version_type=linux # correct to gnu/linux during the next big refactor
20459 hardcode_into_libs=yes
20460 if test ia64 = "$host_cpu"; then
20461 # AIX 5 supports IA64
20462 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
20463 shlibpath_var=LD_LIBRARY_PATH
20465 # With GCC up to 2.95.x, collect2 would create an import file
20466 # for dependence libraries. The import file would start with
20467 # the line '#! .'. This would cause the generated library to
20468 # depend on '.', always an invalid library. This was fixed in
20469 # development snapshots of GCC prior to 3.0.
20471 aix4 | aix4.[01] | aix4.[01].*)
20472 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20474 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
20477 can_build_shared=no
20481 # Using Import Files as archive members, it is possible to support
20482 # filename-based versioning of shared library archives on AIX. While
20483 # this would work for both with and without runtime linking, it will
20484 # prevent static linking of such archives. So we do filename-based
20485 # shared library versioning with .so extension only, which is used
20486 # when both runtime linking and shared linking is enabled.
20487 # Unfortunately, runtime linking may impact performance, so we do
20488 # not want this to be the default eventually. Also, we use the
20489 # versioned .so libs for executables only if there is the -brtl
20490 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
20491 # To allow for filename-based versioning support, we need to create
20492 # libNAME.so.V as an archive file, containing:
20493 # *) an Import File, referring to the versioned filename of the
20494 # archive as well as the shared archive member, telling the
20495 # bitwidth (32 or 64) of that shared object, and providing the
20496 # list of exported symbols of that shared object, eventually
20497 # decorated with the 'weak' keyword
20498 # *) the shared object with the F_LOADONLY flag set, to really avoid
20499 # it being seen by the linker.
20500 # At run time we better use the real file rather than another symlink,
20501 # but for link time we create the symlink libNAME.so -> libNAME.so.V
20503 case $with_aix_soname,$aix_use_runtimelinking in
20504 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
20505 # soname into executable. Probably we can add versioning support to
20506 # collect2, so additional links can be useful in future.
20507 aix,yes) # traditional libtool
20508 dynamic_linker='AIX unversionable lib.so'
20509 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20510 # instead of lib<name>.a to let people know that these are not
20511 # typical AIX shared libraries.
20512 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20514 aix,no) # traditional AIX only
20515 dynamic_linker='AIX lib.a(lib.so.V)'
20516 # We preserve .a as extension for shared libraries through AIX4.2
20517 # and later when we are not doing run time linking.
20518 library_names_spec='$libname$release.a $libname.a'
20519 soname_spec='$libname$release$shared_ext$major'
20521 svr4,*) # full svr4 only
20522 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
20523 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
20524 # We do not specify a path in Import Files, so LIBPATH fires.
20525 shlibpath_overrides_runpath=yes
20527 *,yes) # both, prefer svr4
20528 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
20529 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
20530 # unpreferred sharedlib libNAME.a needs extra handling
20531 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"'
20532 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"'
20533 # We do not specify a path in Import Files, so LIBPATH fires.
20534 shlibpath_overrides_runpath=yes
20536 *,no) # both, prefer aix
20537 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
20538 library_names_spec='$libname$release.a $libname.a'
20539 soname_spec='$libname$release$shared_ext$major'
20540 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
20541 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)'
20542 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"'
20545 shlibpath_var=LIBPATH
20552 # Since July 2007 AmigaOS4 officially supports .so libraries.
20553 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
20554 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20557 library_names_spec='$libname.ixlibrary $libname.a'
20558 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20559 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'
20565 library_names_spec='$libname$shared_ext'
20566 dynamic_linker="$host_os ld.so"
20567 shlibpath_var=LIBRARY_PATH
20571 version_type=linux # correct to gnu/linux during the next big refactor
20573 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20574 soname_spec='$libname$release$shared_ext$major'
20575 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20576 shlibpath_var=LD_LIBRARY_PATH
20577 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20578 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20579 # the default ld.so.conf also contains /usr/contrib/lib and
20580 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20581 # libtool to hard-code these into programs
20584 cygwin* | mingw* | pw32* | cegcc*)
20585 version_type=windows
20590 case $GCC,$cc_basename in
20593 library_names_spec='$libname.dll.a'
20594 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20595 postinstall_cmds='base_file=`basename \$file`~
20596 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
20597 dldir=$destdir/`dirname \$dlpath`~
20598 test -d \$dldir || mkdir -p \$dldir~
20599 $install_prog $dir/$dlname \$dldir/$dlname~
20600 chmod a+x \$dldir/$dlname~
20601 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20602 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20604 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20605 dlpath=$dir/\$dldll~
20607 shlibpath_overrides_runpath=yes
20611 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20612 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20616 # MinGW DLLs use traditional 'lib' prefix
20617 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20620 # pw32 DLLs use 'pw' prefix rather than 'lib'
20621 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20624 dynamic_linker='Win32 ld.exe'
20628 # Native MSVC or ICC
20629 libname_spec='$name'
20630 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20631 library_names_spec='$libname.dll.lib'
20635 sys_lib_search_path_spec=
20638 for lt_path in $LIB
20641 # Let DOS variable expansion print the short 8.3 style file name.
20642 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
20643 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
20646 # Convert to MSYS style.
20647 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
20650 # Convert to unix form, then to dos form, then back to unix form
20651 # but this time dos style (no spaces!) so that the unix form looks
20652 # like /cygdrive/c/PROGRA~1:/cygdr...
20653 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
20654 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
20655 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20658 sys_lib_search_path_spec=$LIB
20659 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
20660 # It is most probably a Windows format PATH.
20661 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20663 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20665 # FIXME: find the short name or the path components, as spaces are
20666 # common. (e.g. "Program Files" -> "PROGRA~1")
20670 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20671 postinstall_cmds='base_file=`basename \$file`~
20672 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
20673 dldir=$destdir/`dirname \$dlpath`~
20674 test -d \$dldir || mkdir -p \$dldir~
20675 $install_prog $dir/$dlname \$dldir/$dlname'
20676 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20677 dlpath=$dir/\$dldll~
20679 shlibpath_overrides_runpath=yes
20680 dynamic_linker='Win32 link.exe'
20684 # Assume MSVC and ICC wrapper
20685 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
20686 dynamic_linker='Win32 ld.exe'
20689 # FIXME: first we should search . and the directory the executable is in
20693 darwin* | rhapsody*)
20694 dynamic_linker="$host_os dyld"
20695 version_type=darwin
20698 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
20699 soname_spec='$libname$release$major$shared_ext'
20700 shlibpath_overrides_runpath=yes
20701 shlibpath_var=DYLD_LIBRARY_PATH
20702 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20704 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20708 version_type=linux # correct to gnu/linux during the next big refactor
20711 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20712 soname_spec='$libname$release$shared_ext$major'
20713 shlibpath_var=LD_LIBRARY_PATH
20716 freebsd* | dragonfly* | midnightbsd*)
20717 # DragonFly does not have aout. When/if they implement a new
20718 # versioning mechanism, adjust this.
20719 if test -x /usr/bin/objformat; then
20720 objformat=`/usr/bin/objformat`
20723 freebsd[23].*) objformat=aout ;;
20724 *) objformat=elf ;;
20727 version_type=freebsd-$objformat
20728 case $version_type in
20730 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20731 soname_spec='$libname$release$shared_ext$major'
20736 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20740 shlibpath_var=LD_LIBRARY_PATH
20743 shlibpath_overrides_runpath=yes
20745 freebsd3.[01]* | freebsdelf3.[01]*)
20746 shlibpath_overrides_runpath=yes
20747 hardcode_into_libs=yes
20749 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20750 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20751 shlibpath_overrides_runpath=no
20752 hardcode_into_libs=yes
20754 *) # from 4.6 on, and DragonFly
20755 shlibpath_overrides_runpath=yes
20756 hardcode_into_libs=yes
20762 version_type=linux # correct to gnu/linux during the next big refactor
20765 dynamic_linker="$host_os runtime_loader"
20766 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20767 soname_spec='$libname$release$shared_ext$major'
20768 shlibpath_var=LIBRARY_PATH
20769 shlibpath_overrides_runpath=no
20770 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
20771 hardcode_into_libs=yes
20774 hpux9* | hpux10* | hpux11*)
20775 # Give a soname corresponding to the major version so that dld.sl refuses to
20776 # link against other versions.
20783 hardcode_into_libs=yes
20784 dynamic_linker="$host_os dld.so"
20785 shlibpath_var=LD_LIBRARY_PATH
20786 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20787 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20788 soname_spec='$libname$release$shared_ext$major'
20789 if test 32 = "$HPUX_IA64_MODE"; then
20790 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20791 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
20793 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20794 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
20799 hardcode_into_libs=yes
20800 dynamic_linker="$host_os dld.sl"
20801 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20802 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20803 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20804 soname_spec='$libname$release$shared_ext$major'
20805 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20806 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20810 dynamic_linker="$host_os dld.sl"
20811 shlibpath_var=SHLIB_PATH
20812 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20813 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20814 soname_spec='$libname$release$shared_ext$major'
20817 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
20818 postinstall_cmds='chmod 555 $lib'
20819 # or fails outright, so override atomically:
20820 install_override_mode=555
20824 version_type=linux # correct to gnu/linux during the next big refactor
20827 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20828 soname_spec='$libname$release$shared_ext$major'
20829 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20830 shlibpath_var=LD_LIBRARY_PATH
20831 shlibpath_overrides_runpath=no
20832 hardcode_into_libs=yes
20835 irix5* | irix6* | nonstopux*)
20837 nonstopux*) version_type=nonstopux ;;
20839 if test yes = "$lt_cv_prog_gnu_ld"; then
20840 version_type=linux # correct to gnu/linux during the next big refactor
20847 soname_spec='$libname$release$shared_ext$major'
20848 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
20850 irix5* | nonstopux*)
20851 libsuff= shlibsuff=
20854 case $LD in # libtool.m4 will add one of these switches to LD
20855 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20856 libsuff= shlibsuff= libmagic=32-bit;;
20857 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20858 libsuff=32 shlibsuff=N32 libmagic=N32;;
20859 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20860 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20861 *) libsuff= shlibsuff= libmagic=never-match;;
20865 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20866 shlibpath_overrides_runpath=no
20867 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
20868 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
20869 hardcode_into_libs=yes
20872 # No shared lib support for Linux oldld, aout, or coff.
20873 linux*oldld* | linux*aout* | linux*coff*)
20878 version_type=none # Android doesn't support versioned libraries.
20881 library_names_spec='$libname$release$shared_ext'
20882 soname_spec='$libname$release$shared_ext'
20884 shlibpath_var=LD_LIBRARY_PATH
20885 shlibpath_overrides_runpath=yes
20887 # This implies no fast_install, which is unacceptable.
20888 # Some rework will be needed to allow for fast_install
20889 # before this can be enabled.
20890 hardcode_into_libs=yes
20892 dynamic_linker='Android linker'
20893 # Don't embed -rpath directories since the linker doesn't support them.
20894 hardcode_libdir_flag_spec_F77='-L$libdir'
20897 # This must be glibc/ELF.
20898 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
20899 version_type=linux # correct to gnu/linux during the next big refactor
20902 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20903 soname_spec='$libname$release$shared_ext$major'
20904 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20905 shlibpath_var=LD_LIBRARY_PATH
20906 shlibpath_overrides_runpath=no
20908 # Some binutils ld are patched to set DT_RUNPATH
20909 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
20910 $as_echo_n "(cached) " >&6
20912 lt_cv_shlibpath_overrides_runpath=no
20913 save_LDFLAGS=$LDFLAGS
20914 save_libdir=$libdir
20915 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
20916 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
20917 cat > conftest.$ac_ext <<_ACEOF
20922 if ac_fn_f77_try_link "$LINENO"; then :
20923 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20924 lt_cv_shlibpath_overrides_runpath=yes
20927 rm -f core conftest.err conftest.$ac_objext \
20928 conftest$ac_exeext conftest.$ac_ext
20929 LDFLAGS=$save_LDFLAGS
20930 libdir=$save_libdir
20934 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
20936 # This implies no fast_install, which is unacceptable.
20937 # Some rework will be needed to allow for fast_install
20938 # before this can be enabled.
20939 hardcode_into_libs=yes
20941 # Ideally, we could use ldconfig to report *all* directores which are
20942 # searched for libraries, however this is still not possible. Aside from not
20943 # being certain /sbin/ldconfig is available, command
20944 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
20945 # even though it is searched at run-time. Try to do the best guess by
20946 # appending ld.so.conf contents (and includes) to the search path.
20947 if test -f /etc/ld.so.conf; then
20948 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' ' '`
20949 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20952 # We used to test for /lib/ld.so.1 and disable shared libraries on
20953 # powerpc, because MkLinux only supported shared libraries with the
20954 # GNU dynamic linker. Since this was broken with cross compilers,
20955 # most powerpc-linux boxes support dynamic linking these days and
20956 # people can always --disable-shared, the test was removed, and we
20957 # assume the GNU/Linux dynamic linker is in use.
20958 dynamic_linker='GNU/Linux ld.so'
20965 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20966 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20967 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20968 dynamic_linker='NetBSD (a.out) ld.so'
20970 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20971 soname_spec='$libname$release$shared_ext$major'
20972 dynamic_linker='NetBSD ld.elf_so'
20974 shlibpath_var=LD_LIBRARY_PATH
20975 shlibpath_overrides_runpath=yes
20976 hardcode_into_libs=yes
20980 version_type=linux # correct to gnu/linux during the next big refactor
20981 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20982 shlibpath_var=LD_LIBRARY_PATH
20983 shlibpath_overrides_runpath=yes
20990 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20991 soname_spec='$libname$release$shared_ext$major'
20992 shlibpath_var=LD_LIBRARY_PATH
20993 shlibpath_overrides_runpath=no
20994 hardcode_into_libs=yes
20995 dynamic_linker='ldqnx.so'
20998 openbsd* | bitrig*)
21000 sys_lib_dlsearch_path_spec=/usr/lib
21002 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
21007 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
21008 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21009 shlibpath_var=LD_LIBRARY_PATH
21010 shlibpath_overrides_runpath=yes
21014 libname_spec='$name'
21015 version_type=windows
21019 # OS/2 can only load a DLL with a base name of 8 characters or less.
21020 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
21021 v=$($ECHO $release$versuffix | tr -d .-);
21022 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
21023 $ECHO $n$v`$shared_ext'
21024 library_names_spec='${libname}_dll.$libext'
21025 dynamic_linker='OS/2 ld.exe'
21026 shlibpath_var=BEGINLIBPATH
21027 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
21028 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21029 postinstall_cmds='base_file=`basename \$file`~
21030 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
21031 dldir=$destdir/`dirname \$dlpath`~
21032 test -d \$dldir || mkdir -p \$dldir~
21033 $install_prog $dir/$dlname \$dldir/$dlname~
21034 chmod a+x \$dldir/$dlname~
21035 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
21036 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
21038 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
21039 dlpath=$dir/\$dldll~
21043 osf3* | osf4* | osf5*)
21047 soname_spec='$libname$release$shared_ext$major'
21048 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21049 shlibpath_var=LD_LIBRARY_PATH
21050 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21051 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21059 version_type=linux # correct to gnu/linux during the next big refactor
21062 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21063 soname_spec='$libname$release$shared_ext$major'
21064 shlibpath_var=LD_LIBRARY_PATH
21065 shlibpath_overrides_runpath=yes
21066 hardcode_into_libs=yes
21067 # ldd complains unless libraries are executable
21068 postinstall_cmds='chmod +x $lib'
21073 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
21074 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21075 shlibpath_var=LD_LIBRARY_PATH
21076 shlibpath_overrides_runpath=yes
21077 if test yes = "$with_gnu_ld"; then
21084 version_type=linux # correct to gnu/linux during the next big refactor
21085 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21086 soname_spec='$libname$release$shared_ext$major'
21087 shlibpath_var=LD_LIBRARY_PATH
21088 case $host_vendor in
21090 shlibpath_overrides_runpath=no
21092 runpath_var=LD_RUN_PATH
21100 shlibpath_overrides_runpath=no
21101 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21107 if test -d /usr/nec; then
21108 version_type=linux # correct to gnu/linux during the next big refactor
21109 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
21110 soname_spec='$libname$shared_ext.$major'
21111 shlibpath_var=LD_LIBRARY_PATH
21115 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
21119 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
21120 soname_spec='$libname$release$shared_ext$major'
21121 shlibpath_var=LD_LIBRARY_PATH
21122 shlibpath_overrides_runpath=yes
21123 hardcode_into_libs=yes
21124 if test yes = "$with_gnu_ld"; then
21125 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21127 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
21130 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
21134 sys_lib_dlsearch_path_spec='/usr/lib'
21138 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
21139 version_type=linux # correct to gnu/linux during the next big refactor
21142 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21143 shlibpath_var=LD_LIBRARY_PATH
21144 shlibpath_overrides_runpath=no
21145 hardcode_into_libs=yes
21149 version_type=linux # correct to gnu/linux during the next big refactor
21150 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
21151 soname_spec='$libname$release$shared_ext$major'
21152 shlibpath_var=LD_LIBRARY_PATH
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
21160 $as_echo "$dynamic_linker" >&6; }
21161 test no = "$dynamic_linker" && can_build_shared=no
21163 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21164 if test yes = "$GCC"; then
21165 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21168 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
21169 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
21172 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
21173 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
21176 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
21177 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
21179 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
21180 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
21182 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
21183 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
21225 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
21226 hardcode_action_F77=
21227 if test -n "$hardcode_libdir_flag_spec_F77" ||
21228 test -n "$runpath_var_F77" ||
21229 test yes = "$hardcode_automatic_F77"; then
21231 # We can hardcode non-existent directories.
21232 if test no != "$hardcode_direct_F77" &&
21233 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21234 # have to relink, otherwise we might link with an installed library
21235 # when we should be linking with a yet-to-be-installed one
21236 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" &&
21237 test no != "$hardcode_minus_L_F77"; then
21238 # Linking always hardcodes the temporary library directory.
21239 hardcode_action_F77=relink
21241 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21242 hardcode_action_F77=immediate
21245 # We cannot hardcode anything, or else we can only hardcode existing
21247 hardcode_action_F77=unsupported
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
21250 $as_echo "$hardcode_action_F77" >&6; }
21252 if test relink = "$hardcode_action_F77" ||
21253 test yes = "$inherit_rpath_F77"; then
21254 # Fast installation is not supported
21255 enable_fast_install=no
21256 elif test yes = "$shlibpath_overrides_runpath" ||
21257 test no = "$enable_shared"; then
21258 # Fast installation is not necessary
21259 enable_fast_install=needless
21268 fi # test -n "$compiler"
21272 CFLAGS=$lt_save_CFLAGS
21273 fi # test yes != "$_lt_disable_F77"
21276 ac_cpp='$CPP $CPPFLAGS'
21277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21282 ac_ext=${ac_fc_srcext-f}
21283 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
21284 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
21285 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
21286 if test -n "$ac_tool_prefix"; then
21287 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
21289 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21290 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21292 $as_echo_n "checking for $ac_word... " >&6; }
21293 if ${ac_cv_prog_FC+:} false; then :
21294 $as_echo_n "(cached) " >&6
21296 if test -n "$FC"; then
21297 ac_cv_prog_FC="$FC" # Let the user override the test.
21299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21300 for as_dir in $PATH
21303 test -z "$as_dir" && as_dir=.
21304 for ac_exec_ext in '' $ac_executable_extensions; do
21305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21306 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
21307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21317 if test -n "$FC"; then
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
21319 $as_echo "$FC" >&6; }
21321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21322 $as_echo "no" >&6; }
21326 test -n "$FC" && break
21329 if test -z "$FC"; then
21331 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
21333 # Extract the first word of "$ac_prog", so it can be a program name with args.
21334 set dummy $ac_prog; ac_word=$2
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21336 $as_echo_n "checking for $ac_word... " >&6; }
21337 if ${ac_cv_prog_ac_ct_FC+:} false; then :
21338 $as_echo_n "(cached) " >&6
21340 if test -n "$ac_ct_FC"; then
21341 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
21343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21344 for as_dir in $PATH
21347 test -z "$as_dir" && as_dir=.
21348 for ac_exec_ext in '' $ac_executable_extensions; do
21349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21350 ac_cv_prog_ac_ct_FC="$ac_prog"
21351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21360 ac_ct_FC=$ac_cv_prog_ac_ct_FC
21361 if test -n "$ac_ct_FC"; then
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
21363 $as_echo "$ac_ct_FC" >&6; }
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21366 $as_echo "no" >&6; }
21370 test -n "$ac_ct_FC" && break
21373 if test "x$ac_ct_FC" = x; then
21376 case $cross_compiling:$ac_tool_warned in
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21380 ac_tool_warned=yes ;;
21387 # Provide some information about the compiler.
21388 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
21391 for ac_option in --version -v -V -qversion; do
21392 { { ac_try="$ac_compiler $ac_option >&5"
21393 case "(($ac_try" in
21394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21395 *) ac_try_echo=$ac_try;;
21397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21398 $as_echo "$ac_try_echo"; } >&5
21399 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
21401 if test -s conftest.err; then
21403 ... rest of stderr output deleted ...
21404 10q' conftest.err >conftest.er1
21405 cat conftest.er1 >&5
21407 rm -f conftest.er1 conftest.err
21408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21409 test $ac_status = 0; }
21413 # If we don't use `.F' as extension, the preprocessor is not run on the
21414 # input file. (Note that this only needs to work for GNU compilers.)
21415 ac_save_ext=$ac_ext
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
21418 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
21419 if ${ac_cv_fc_compiler_gnu+:} false; then :
21420 $as_echo_n "(cached) " >&6
21422 cat > conftest.$ac_ext <<_ACEOF
21430 if ac_fn_fc_try_compile "$LINENO"; then :
21431 ac_compiler_gnu=yes
21435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21436 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
21439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
21440 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
21441 ac_ext=$ac_save_ext
21442 ac_test_FCFLAGS=${FCFLAGS+set}
21443 ac_save_FCFLAGS=$FCFLAGS
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
21446 $as_echo_n "checking whether $FC accepts -g... " >&6; }
21447 if ${ac_cv_prog_fc_g+:} false; then :
21448 $as_echo_n "(cached) " >&6
21451 cat > conftest.$ac_ext <<_ACEOF
21456 if ac_fn_fc_try_compile "$LINENO"; then :
21457 ac_cv_prog_fc_g=yes
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
21465 $as_echo "$ac_cv_prog_fc_g" >&6; }
21466 if test "$ac_test_FCFLAGS" = set; then
21467 FCFLAGS=$ac_save_FCFLAGS
21468 elif test $ac_cv_prog_fc_g = yes; then
21469 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
21475 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
21482 if test $ac_compiler_gnu = yes; then
21487 ac_ext=${ac_fc_srcext-f}
21488 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
21489 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
21490 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
21493 ac_ext=${ac_fc_srcext-f}
21494 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
21495 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
21496 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
21499 if test -z "$FC" || test no = "$FC"; then
21503 archive_cmds_need_lc_FC=no
21504 allow_undefined_flag_FC=
21505 always_export_symbols_FC=no
21506 archive_expsym_cmds_FC=
21507 export_dynamic_flag_spec_FC=
21508 hardcode_direct_FC=no
21509 hardcode_direct_absolute_FC=no
21510 hardcode_libdir_flag_spec_FC=
21511 hardcode_libdir_separator_FC=
21512 hardcode_minus_L_FC=no
21513 hardcode_automatic_FC=no
21514 inherit_rpath_FC=no
21516 module_expsym_cmds_FC=
21517 link_all_deplibs_FC=unknown
21518 old_archive_cmds_FC=$old_archive_cmds
21519 reload_flag_FC=$reload_flag
21520 reload_cmds_FC=$reload_cmds
21521 no_undefined_flag_FC=
21522 whole_archive_flag_spec_FC=
21523 enable_shared_with_static_runtimes_FC=no
21525 # Source file extension for fc test sources.
21526 ac_ext=${ac_fc_srcext-f}
21528 # Object file extension for compiled fc test sources.
21532 # No sense in running all these tests if we already determined that
21533 # the FC compiler isn't working. Some variables (like enable_shared)
21534 # are currently assumed to apply to all compilers on this platform,
21535 # and will be corrupted by setting them based on a non-working compiler.
21536 if test yes != "$_lt_disable_FC"; then
21537 # Code to be used in simple compile tests
21538 lt_simple_compile_test_code="\
21544 # Code to be used in simple link tests
21545 lt_simple_link_test_code="\
21550 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21557 # If no C compiler was specified, use CC.
21560 # If no C compiler flags were specified, use CFLAGS.
21561 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21563 # Allow CC to be a program name with arguments.
21567 # save warnings/boilerplate of simple test code
21568 ac_outfile=conftest.$ac_objext
21569 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21570 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21571 _lt_compiler_boilerplate=`cat conftest.err`
21574 ac_outfile=conftest.$ac_objext
21575 echo "$lt_simple_link_test_code" >conftest.$ac_ext
21576 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21577 _lt_linker_boilerplate=`cat conftest.err`
21581 # Allow CC to be a program name with arguments.
21584 lt_save_CFLAGS=$CFLAGS
21588 GCC=$ac_cv_fc_compiler_gnu
21591 func_cc_basename $compiler
21592 cc_basename=$func_cc_basename_result
21595 if test -n "$compiler"; then
21596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
21597 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
21599 $as_echo "$can_build_shared" >&6; }
21601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
21602 $as_echo_n "checking whether to build shared libraries... " >&6; }
21603 test no = "$can_build_shared" && enable_shared=no
21605 # On AIX, shared libraries and static libraries use the same namespace, and
21606 # are all built from PIC.
21609 test yes = "$enable_shared" && enable_static=no
21610 if test -n "$RANLIB"; then
21611 archive_cmds="$archive_cmds~\$RANLIB \$lib"
21612 postinstall_cmds='$RANLIB $lib'
21616 if test ia64 != "$host_cpu"; then
21617 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
21618 yes,aix,yes) ;; # shared object as lib.so file only
21619 yes,svr4,*) ;; # shared object as lib.so archive member only
21620 yes,*) enable_static=no ;; # shared object in lib.a archive as well
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
21626 $as_echo "$enable_shared" >&6; }
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
21629 $as_echo_n "checking whether to build static libraries... " >&6; }
21630 # Make sure either enable_shared or enable_static is yes.
21631 test yes = "$enable_shared" || enable_static=yes
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
21633 $as_echo "$enable_static" >&6; }
21635 GCC_FC=$ac_cv_fc_compiler_gnu
21639 ## There is no encapsulation within the following macros, do not change
21640 ## the running order or otherwise move them around unless you know exactly
21641 ## what you are doing...
21642 # Dependencies to place before and after the object being linked:
21644 postdep_objects_FC=
21647 compiler_lib_search_path_FC=
21649 cat > conftest.$ac_ext <<_LT_EOF
21659 _lt_libdeps_save_CFLAGS=$CFLAGS
21660 case "$CC $CFLAGS " in #(
21661 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
21662 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
21663 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
21666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
21667 (eval $ac_compile) 2>&5
21669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21670 test $ac_status = 0; }; then
21671 # Parse the compiler output and extract the necessary
21672 # objects, libraries and library flags.
21674 # Sentinel used to keep track of whether or not we are before
21675 # the conftest object file.
21676 pre_test_object_deps_done=no
21678 for p in `eval "$output_verbose_link_cmd"`; do
21682 # Some compilers place space between "-{L,R}" and the path.
21683 # Remove the space.
21684 if test x-L = "$p" ||
21685 test x-R = "$p"; then
21690 # Expand the sysroot to ease extracting the directories later.
21691 if test -z "$prev"; then
21693 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
21694 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
21695 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
21699 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
21701 if test no = "$pre_test_object_deps_done"; then
21704 # Internal compiler library paths should come after those
21705 # provided the user. The postdeps already come after the
21706 # user supplied libs so there is no need to process them.
21707 if test -z "$compiler_lib_search_path_FC"; then
21708 compiler_lib_search_path_FC=$prev$p
21710 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} $prev$p"
21713 # The "-l" case would never come before the object being
21714 # linked, so don't bother handling this case.
21717 if test -z "$postdeps_FC"; then
21718 postdeps_FC=$prev$p
21720 postdeps_FC="${postdeps_FC} $prev$p"
21726 *.lto.$objext) ;; # Ignore GCC LTO objects
21728 # This assumes that the test object file only shows up
21729 # once in the compiler output.
21730 if test "$p" = "conftest.$objext"; then
21731 pre_test_object_deps_done=yes
21735 if test no = "$pre_test_object_deps_done"; then
21736 if test -z "$predep_objects_FC"; then
21737 predep_objects_FC=$p
21739 predep_objects_FC="$predep_objects_FC $p"
21742 if test -z "$postdep_objects_FC"; then
21743 postdep_objects_FC=$p
21745 postdep_objects_FC="$postdep_objects_FC $p"
21750 *) ;; # Ignore the rest.
21758 echo "libtool.m4: error: problem compiling FC test program"
21761 $RM -f confest.$objext
21762 CFLAGS=$_lt_libdeps_save_CFLAGS
21764 # PORTME: override above test on systems where it is broken
21767 case " $postdeps_FC " in
21768 *" -lc "*) archive_cmds_need_lc_FC=no ;;
21770 compiler_lib_search_dirs_FC=
21771 if test -n "${compiler_lib_search_path_FC}"; then
21772 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | $SED -e 's! -L! !g' -e 's!^ !!'`
21787 lt_prog_compiler_wl_FC=
21788 lt_prog_compiler_pic_FC=
21789 lt_prog_compiler_static_FC=
21792 if test yes = "$GCC"; then
21793 lt_prog_compiler_wl_FC='-Wl,'
21794 lt_prog_compiler_static_FC='-static'
21798 # All AIX code is PIC.
21799 if test ia64 = "$host_cpu"; then
21800 # AIX 5 now supports IA64 processor
21801 lt_prog_compiler_static_FC='-Bstatic'
21803 lt_prog_compiler_pic_FC='-fPIC'
21809 # see comment about AmigaOS4 .so support
21810 lt_prog_compiler_pic_FC='-fPIC'
21813 # FIXME: we need at least 68020 code to build shared libraries, but
21814 # adding the '-m68020' flag to GCC prevents building anything better,
21816 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
21821 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21822 # PIC is the default for these OSes.
21825 mingw* | cygwin* | pw32* | os2* | cegcc*)
21826 # This hack is so that the source file can tell whether it is being
21827 # built for inclusion in a dll (and should export symbols for example).
21828 # Although the cygwin gcc ignores -fPIC, still need this for old-style
21829 # (--disable-auto-import) libraries
21830 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
21833 lt_prog_compiler_static_FC='$wl-static'
21838 darwin* | rhapsody*)
21839 # PIC is the default on this platform
21840 # Common symbols not allowed in MH_DYLIB files
21841 lt_prog_compiler_pic_FC='-fno-common'
21845 # PIC is the default for Haiku.
21846 # The "-static" flag exists, but is broken.
21847 lt_prog_compiler_static_FC=
21851 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
21852 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
21853 # sets the default TLS model and affects inlining.
21859 lt_prog_compiler_pic_FC='-fPIC'
21865 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21866 # Instead, we relocate shared libraries at runtime.
21870 # Just because we use GCC doesn't mean we suddenly get shared libraries
21871 # on systems that don't support them.
21872 lt_prog_compiler_can_build_shared_FC=no
21877 # QNX uses GNU C++, but need to define -shared option too, otherwise
21878 # it will coredump.
21879 lt_prog_compiler_pic_FC='-fPIC -shared'
21883 if test -d /usr/nec; then
21884 lt_prog_compiler_pic_FC=-Kconform_pic
21889 lt_prog_compiler_pic_FC='-fPIC'
21893 case $cc_basename in
21894 nvcc*) # Cuda Compiler Driver 2.2
21895 lt_prog_compiler_wl_FC='-Xlinker '
21896 if test -n "$lt_prog_compiler_pic_FC"; then
21897 lt_prog_compiler_pic_FC="-Xcompiler $lt_prog_compiler_pic_FC"
21902 # PORTME Check for flag to pass linker flags through the system compiler.
21905 lt_prog_compiler_wl_FC='-Wl,'
21906 if test ia64 = "$host_cpu"; then
21907 # AIX 5 now supports IA64 processor
21908 lt_prog_compiler_static_FC='-Bstatic'
21910 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
21914 darwin* | rhapsody*)
21915 # PIC is the default on this platform
21916 # Common symbols not allowed in MH_DYLIB files
21917 lt_prog_compiler_pic_FC='-fno-common'
21918 case $cc_basename in
21920 # NAG Fortran compiler
21921 lt_prog_compiler_wl_FC='-Wl,-Wl,,'
21922 lt_prog_compiler_pic_FC='-PIC'
21923 lt_prog_compiler_static_FC='-Bstatic'
21928 mingw* | cygwin* | pw32* | os2* | cegcc*)
21929 # This hack is so that the source file can tell whether it is being
21930 # built for inclusion in a dll (and should export symbols for example).
21931 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
21934 lt_prog_compiler_static_FC='$wl-static'
21939 hpux9* | hpux10* | hpux11*)
21940 lt_prog_compiler_wl_FC='-Wl,'
21941 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21942 # not for PA HP-UX.
21948 lt_prog_compiler_pic_FC='+Z'
21951 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21952 lt_prog_compiler_static_FC='$wl-a ${wl}archive'
21955 irix5* | irix6* | nonstopux*)
21956 lt_prog_compiler_wl_FC='-Wl,'
21957 # PIC (with -KPIC) is the default.
21958 lt_prog_compiler_static_FC='-non_shared'
21961 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
21962 case $cc_basename in
21963 # old Intel for x86_64, which still supported -KPIC.
21965 lt_prog_compiler_wl_FC='-Wl,'
21966 lt_prog_compiler_pic_FC='-KPIC'
21967 lt_prog_compiler_static_FC='-static'
21969 # icc used to be incompatible with GCC.
21970 # ICC 10 doesn't accept -KPIC any more.
21972 lt_prog_compiler_wl_FC='-Wl,'
21973 lt_prog_compiler_pic_FC='-fPIC'
21974 lt_prog_compiler_static_FC='-static'
21976 # Lahey Fortran 8.1.
21978 lt_prog_compiler_wl_FC='-Wl,'
21979 lt_prog_compiler_pic_FC='--shared'
21980 lt_prog_compiler_static_FC='--static'
21983 # NAG Fortran compiler
21984 lt_prog_compiler_wl_FC='-Wl,-Wl,,'
21985 lt_prog_compiler_pic_FC='-PIC'
21986 lt_prog_compiler_static_FC='-Bstatic'
21989 # Fabrice Bellard et al's Tiny C Compiler
21990 lt_prog_compiler_wl_FC='-Wl,'
21991 lt_prog_compiler_pic_FC='-fPIC'
21992 lt_prog_compiler_static_FC='-static'
21994 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
21995 # Portland Group compilers (*not* the Pentium gcc compiler,
21996 # which looks to be a dead project)
21997 lt_prog_compiler_wl_FC='-Wl,'
21998 lt_prog_compiler_pic_FC='-fpic'
21999 lt_prog_compiler_static_FC='-Bstatic'
22002 lt_prog_compiler_wl_FC='-Wl,'
22003 # All Alpha code is PIC.
22004 lt_prog_compiler_static_FC='-non_shared'
22006 xl* | bgxl* | bgf* | mpixl*)
22007 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
22008 lt_prog_compiler_wl_FC='-Wl,'
22009 lt_prog_compiler_pic_FC='-qpic'
22010 lt_prog_compiler_static_FC='-qstaticlink'
22013 case `$CC -V 2>&1 | $SED 5q` in
22014 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
22015 # Sun Fortran 8.3 passes all unrecognized flags to the linker
22016 lt_prog_compiler_pic_FC='-KPIC'
22017 lt_prog_compiler_static_FC='-Bstatic'
22018 lt_prog_compiler_wl_FC=''
22020 *Sun\ F* | *Sun*Fortran*)
22021 lt_prog_compiler_pic_FC='-KPIC'
22022 lt_prog_compiler_static_FC='-Bstatic'
22023 lt_prog_compiler_wl_FC='-Qoption ld '
22027 lt_prog_compiler_pic_FC='-KPIC'
22028 lt_prog_compiler_static_FC='-Bstatic'
22029 lt_prog_compiler_wl_FC='-Wl,'
22031 *Intel*\ [CF]*Compiler*)
22032 lt_prog_compiler_wl_FC='-Wl,'
22033 lt_prog_compiler_pic_FC='-fPIC'
22034 lt_prog_compiler_static_FC='-static'
22037 lt_prog_compiler_wl_FC='-Wl,'
22038 lt_prog_compiler_pic_FC='-fpic'
22039 lt_prog_compiler_static_FC='-Bstatic'
22047 lt_prog_compiler_pic_FC='-KPIC'
22048 lt_prog_compiler_static_FC='-Bstatic'
22052 # QNX uses GNU C++, but need to define -shared option too, otherwise
22053 # it will coredump.
22054 lt_prog_compiler_pic_FC='-fPIC -shared'
22057 osf3* | osf4* | osf5*)
22058 lt_prog_compiler_wl_FC='-Wl,'
22059 # All OSF/1 code is PIC.
22060 lt_prog_compiler_static_FC='-non_shared'
22064 lt_prog_compiler_static_FC='-non_shared'
22068 lt_prog_compiler_pic_FC='-KPIC'
22069 lt_prog_compiler_static_FC='-Bstatic'
22070 case $cc_basename in
22071 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
22072 lt_prog_compiler_wl_FC='-Qoption ld ';;
22074 lt_prog_compiler_wl_FC='-Wl,';;
22079 lt_prog_compiler_wl_FC='-Qoption ld '
22080 lt_prog_compiler_pic_FC='-PIC'
22081 lt_prog_compiler_static_FC='-Bstatic'
22084 sysv4 | sysv4.2uw2* | sysv4.3*)
22085 lt_prog_compiler_wl_FC='-Wl,'
22086 lt_prog_compiler_pic_FC='-KPIC'
22087 lt_prog_compiler_static_FC='-Bstatic'
22091 if test -d /usr/nec; then
22092 lt_prog_compiler_pic_FC='-Kconform_pic'
22093 lt_prog_compiler_static_FC='-Bstatic'
22097 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
22098 lt_prog_compiler_wl_FC='-Wl,'
22099 lt_prog_compiler_pic_FC='-KPIC'
22100 lt_prog_compiler_static_FC='-Bstatic'
22104 lt_prog_compiler_wl_FC='-Wl,'
22105 lt_prog_compiler_can_build_shared_FC=no
22109 lt_prog_compiler_pic_FC='-pic'
22110 lt_prog_compiler_static_FC='-Bstatic'
22114 lt_prog_compiler_can_build_shared_FC=no
22120 # For platforms that do not support PIC, -DPIC is meaningless:
22122 lt_prog_compiler_pic_FC=
22125 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
22130 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
22131 if ${lt_cv_prog_compiler_pic_FC+:} false; then :
22132 $as_echo_n "(cached) " >&6
22134 lt_cv_prog_compiler_pic_FC=$lt_prog_compiler_pic_FC
22136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_FC" >&5
22137 $as_echo "$lt_cv_prog_compiler_pic_FC" >&6; }
22138 lt_prog_compiler_pic_FC=$lt_cv_prog_compiler_pic_FC
22141 # Check to make sure the PIC flag actually works.
22143 if test -n "$lt_prog_compiler_pic_FC"; then
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
22145 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
22146 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
22147 $as_echo_n "(cached) " >&6
22149 lt_cv_prog_compiler_pic_works_FC=no
22150 ac_outfile=conftest.$ac_objext
22151 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22152 lt_compiler_flag="$lt_prog_compiler_pic_FC" ## exclude from sc_useless_quotes_in_assignment
22153 # Insert the option either (1) after the last *FLAGS variable, or
22154 # (2) before a word containing "conftest.", or (3) at the end.
22155 # Note that $ac_compile itself does not contain backslashes and begins
22156 # with a dollar sign (not a hyphen), so the echo should work correctly.
22157 # The option is referenced via a variable to avoid confusing sed.
22158 lt_compile=`echo "$ac_compile" | $SED \
22159 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22160 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22161 -e 's:$: $lt_compiler_flag:'`
22162 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
22163 (eval "$lt_compile" 2>conftest.err)
22165 cat conftest.err >&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 if (exit $ac_status) && test -s "$ac_outfile"; then
22168 # The compiler can only warn and ignore the option if not recognized
22169 # So say no if there are warnings other than the usual output.
22170 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
22171 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22172 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
22173 lt_cv_prog_compiler_pic_works_FC=yes
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
22180 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
22182 if test yes = "$lt_cv_prog_compiler_pic_works_FC"; then
22183 case $lt_prog_compiler_pic_FC in
22185 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
22188 lt_prog_compiler_pic_FC=
22189 lt_prog_compiler_can_build_shared_FC=no
22199 # Check to make sure the static flag actually works.
22201 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
22202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
22203 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
22204 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
22205 $as_echo_n "(cached) " >&6
22207 lt_cv_prog_compiler_static_works_FC=no
22208 save_LDFLAGS=$LDFLAGS
22209 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
22210 echo "$lt_simple_link_test_code" > conftest.$ac_ext
22211 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
22212 # The linker can only warn and ignore the option if not recognized
22213 # So say no if there are warnings
22214 if test -s conftest.err; then
22215 # Append any errors to the config.log.
22216 cat conftest.err 1>&5
22217 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
22218 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22219 if diff conftest.exp conftest.er2 >/dev/null; then
22220 lt_cv_prog_compiler_static_works_FC=yes
22223 lt_cv_prog_compiler_static_works_FC=yes
22227 LDFLAGS=$save_LDFLAGS
22230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
22231 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
22233 if test yes = "$lt_cv_prog_compiler_static_works_FC"; then
22236 lt_prog_compiler_static_FC=
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
22243 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
22244 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
22245 $as_echo_n "(cached) " >&6
22247 lt_cv_prog_compiler_c_o_FC=no
22248 $RM -r conftest 2>/dev/null
22252 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22254 lt_compiler_flag="-o out/conftest2.$ac_objext"
22255 # Insert the option either (1) after the last *FLAGS variable, or
22256 # (2) before a word containing "conftest.", or (3) at the end.
22257 # Note that $ac_compile itself does not contain backslashes and begins
22258 # with a dollar sign (not a hyphen), so the echo should work correctly.
22259 lt_compile=`echo "$ac_compile" | $SED \
22260 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22262 -e 's:$: $lt_compiler_flag:'`
22263 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
22264 (eval "$lt_compile" 2>out/conftest.err)
22266 cat out/conftest.err >&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22270 # The compiler can only warn and ignore the option if not recognized
22271 # So say no if there are warnings
22272 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
22273 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
22274 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22275 lt_cv_prog_compiler_c_o_FC=yes
22280 # SGI C++ compiler will create directory out/ii_files/ for
22281 # template instantiation
22282 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
22283 $RM out/* && rmdir out
22289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
22290 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
22294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
22295 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
22296 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
22297 $as_echo_n "(cached) " >&6
22299 lt_cv_prog_compiler_c_o_FC=no
22300 $RM -r conftest 2>/dev/null
22304 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22306 lt_compiler_flag="-o out/conftest2.$ac_objext"
22307 # Insert the option either (1) after the last *FLAGS variable, or
22308 # (2) before a word containing "conftest.", or (3) at the end.
22309 # Note that $ac_compile itself does not contain backslashes and begins
22310 # with a dollar sign (not a hyphen), so the echo should work correctly.
22311 lt_compile=`echo "$ac_compile" | $SED \
22312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22314 -e 's:$: $lt_compiler_flag:'`
22315 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
22316 (eval "$lt_compile" 2>out/conftest.err)
22318 cat out/conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 if (exit $ac_status) && test -s out/conftest2.$ac_objext
22322 # The compiler can only warn and ignore the option if not recognized
22323 # So say no if there are warnings
22324 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
22325 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
22326 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22327 lt_cv_prog_compiler_c_o_FC=yes
22332 # SGI C++ compiler will create directory out/ii_files/ for
22333 # template instantiation
22334 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
22335 $RM out/* && rmdir out
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
22342 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
22347 hard_links=nottested
22348 if test no = "$lt_cv_prog_compiler_c_o_FC" && test no != "$need_locks"; then
22349 # do not overwrite the value of need_locks provided by the user
22350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
22351 $as_echo_n "checking if we can lock with hard links... " >&6; }
22354 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22356 ln conftest.a conftest.b 2>&5 || hard_links=no
22357 ln conftest.a conftest.b 2>/dev/null && hard_links=no
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
22359 $as_echo "$hard_links" >&6; }
22360 if test no = "$hard_links"; then
22361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
22362 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22372 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
22375 allow_undefined_flag_FC=
22376 always_export_symbols_FC=no
22378 archive_expsym_cmds_FC=
22379 compiler_needs_object_FC=no
22380 enable_shared_with_static_runtimes_FC=no
22381 export_dynamic_flag_spec_FC=
22382 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22383 hardcode_automatic_FC=no
22384 hardcode_direct_FC=no
22385 hardcode_direct_absolute_FC=no
22386 hardcode_libdir_flag_spec_FC=
22387 hardcode_libdir_separator_FC=
22388 hardcode_minus_L_FC=no
22389 hardcode_shlibpath_var_FC=unsupported
22390 inherit_rpath_FC=no
22391 link_all_deplibs_FC=unknown
22393 module_expsym_cmds_FC=
22394 old_archive_from_new_cmds_FC=
22395 old_archive_from_expsyms_cmds_FC=
22396 thread_safe_flag_spec_FC=
22397 whole_archive_flag_spec_FC=
22398 # include_expsyms should be a list of space-separated symbols to be *always*
22399 # included in the symbol list
22400 include_expsyms_FC=
22401 # exclude_expsyms can be an extended regexp of symbols to exclude
22402 # it will be wrapped by ' (' and ')$', so one must not match beginning or
22403 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
22404 # as well as any symbol that contains 'd'.
22405 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
22406 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22407 # platforms (ab)use it in PIC code, but their linkers get confused if
22408 # the symbol is explicitly referenced. Since portable code cannot
22409 # rely on this symbol name, it's probably fine to never include it in
22410 # preloaded symbol tables.
22411 # Exclude shared library initialization/finalization symbols.
22412 extract_expsyms_cmds=
22415 cygwin* | mingw* | pw32* | cegcc*)
22416 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
22417 # When not using gcc, we currently assume that we are using
22418 # Microsoft Visual C++ or Intel C++ Compiler.
22419 if test yes != "$GCC"; then
22424 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
22427 openbsd* | bitrig*)
22434 # On some targets, GNU ld is compatible enough with the native linker
22435 # that we're better off using the native interface for both.
22436 lt_use_gnu_ld_interface=no
22437 if test yes = "$with_gnu_ld"; then
22440 # The AIX port of GNU ld has always aspired to compatibility
22441 # with the native linker. However, as the warning in the GNU ld
22442 # block says, versions before 2.19.5* couldn't really create working
22443 # shared libraries, regardless of the interface used.
22444 case `$LD -v 2>&1` in
22445 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
22446 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
22447 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
22449 lt_use_gnu_ld_interface=yes
22454 lt_use_gnu_ld_interface=yes
22459 if test yes = "$lt_use_gnu_ld_interface"; then
22460 # If archive_cmds runs LD, not CC, wlarc should be empty
22463 # Set some defaults for GNU ld with shared library support. These
22464 # are reset later if shared libraries are not supported. Putting them
22465 # here allows them to be overridden if necessary.
22466 runpath_var=LD_RUN_PATH
22467 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
22468 export_dynamic_flag_spec_FC='$wl--export-dynamic'
22469 # ancient GNU ld didn't support --whole-archive et. al.
22470 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
22471 whole_archive_flag_spec_FC=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
22473 whole_archive_flag_spec_FC=
22475 supports_anon_versioning=no
22476 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
22477 *GNU\ gold*) supports_anon_versioning=yes ;;
22478 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
22479 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
22480 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
22481 *\ 2.11.*) ;; # other 2.11 versions
22482 *) supports_anon_versioning=yes ;;
22485 # See if GNU ld supports shared libraries.
22488 # On AIX/PPC, the GNU linker is very broken
22489 if test ia64 != "$host_cpu"; then
22493 *** Warning: the GNU linker, at least up to release 2.19, is reported
22494 *** to be unable to reliably create shared libraries on AIX.
22495 *** Therefore, libtool is disabling shared libraries support. If you
22496 *** really care for shared libraries, you may want to install binutils
22497 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
22498 *** You will then need to restart the configuration process.
22507 # see comment about AmigaOS4 .so support
22508 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22509 archive_expsym_cmds_FC=''
22512 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)'
22513 hardcode_libdir_flag_spec_FC='-L$libdir'
22514 hardcode_minus_L_FC=yes
22520 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22521 allow_undefined_flag_FC=unsupported
22522 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22523 # support --undefined. This deserves some investigation. FIXME
22524 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22530 cygwin* | mingw* | pw32* | cegcc*)
22531 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
22532 # as there is no search path for DLLs.
22533 hardcode_libdir_flag_spec_FC='-L$libdir'
22534 export_dynamic_flag_spec_FC='$wl--export-all-symbols'
22535 allow_undefined_flag_FC=unsupported
22536 always_export_symbols_FC=no
22537 enable_shared_with_static_runtimes_FC=yes
22538 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'
22539 exclude_expsyms_FC='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
22541 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
22542 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22543 # If the export-symbols file already is a .def file, use it as
22544 # is; otherwise, prepend EXPORTS...
22545 archive_expsym_cmds_FC='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
22546 cp $export_symbols $output_objdir/$soname.def;
22548 echo EXPORTS > $output_objdir/$soname.def;
22549 cat $export_symbols >> $output_objdir/$soname.def;
22551 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22558 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22559 link_all_deplibs_FC=yes
22563 hardcode_libdir_flag_spec_FC='-L$libdir'
22564 hardcode_minus_L_FC=yes
22565 allow_undefined_flag_FC=unsupported
22567 archive_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
22568 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
22569 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
22570 $ECHO EXPORTS >> $output_objdir/$libname.def~
22571 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
22572 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
22573 emximp -o $lib $output_objdir/$libname.def'
22574 archive_expsym_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
22575 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
22576 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
22577 $ECHO EXPORTS >> $output_objdir/$libname.def~
22578 prefix_cmds="$SED"~
22579 if test EXPORTS = "`$SED 1q $export_symbols`"; then
22580 prefix_cmds="$prefix_cmds -e 1d";
22582 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
22583 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
22584 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
22585 emximp -o $lib $output_objdir/$libname.def'
22586 old_archive_From_new_cmds_FC='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
22587 enable_shared_with_static_runtimes_FC=yes
22588 file_list_spec_FC='@'
22592 hardcode_direct_FC=no
22593 hardcode_shlibpath_var_FC=no
22594 hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir'
22595 export_dynamic_flag_spec_FC='$wl-E'
22596 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
22597 # Instead, shared libraries are loaded at an image base (0x10000000 by
22598 # default) and relocated if they conflict, which is a slow very memory
22599 # consuming and fragmenting process. To avoid this, we pick a random,
22600 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
22601 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
22602 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'
22603 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'
22606 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
22608 if test linux-dietlibc = "$host_os"; then
22609 case $cc_basename in
22610 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
22613 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
22614 && test no = "$tmp_diet"
22616 tmp_addflag=' $pic_flag'
22617 tmp_sharedflag='-shared'
22618 case $cc_basename,$host_cpu in
22619 pgcc*) # Portland Group C compiler
22620 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'
22621 tmp_addflag=' $pic_flag'
22623 pgf77* | pgf90* | pgf95* | pgfortran*)
22624 # Portland Group f77 and f90 compilers
22625 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'
22626 tmp_addflag=' $pic_flag -Mnomain' ;;
22627 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
22628 tmp_addflag=' -i_dynamic' ;;
22629 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
22630 tmp_addflag=' -i_dynamic -nofor_main' ;;
22631 ifc* | ifort*) # Intel Fortran compiler
22632 tmp_addflag=' -nofor_main' ;;
22633 lf95*) # Lahey Fortran 8.1
22634 whole_archive_flag_spec_FC=
22635 tmp_sharedflag='--shared' ;;
22636 nagfor*) # NAGFOR 5.3
22637 tmp_sharedflag='-Wl,-shared' ;;
22638 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
22639 tmp_sharedflag='-qmkshrobj'
22641 nvcc*) # Cuda Compiler Driver 2.2
22642 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'
22643 compiler_needs_object_FC=yes
22646 case `$CC -V 2>&1 | $SED 5q` in
22647 *Sun\ C*) # Sun C 5.9
22648 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'
22649 compiler_needs_object_FC=yes
22650 tmp_sharedflag='-G' ;;
22651 *Sun\ F*) # Sun Fortran 8.3
22652 tmp_sharedflag='-G' ;;
22654 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22656 if test yes = "$supports_anon_versioning"; then
22657 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
22658 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22659 echo "local: *; };" >> $output_objdir/$libname.ver~
22660 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
22663 case $cc_basename in
22665 export_dynamic_flag_spec_FC='-rdynamic'
22667 xlf* | bgf* | bgxlf* | mpixlf*)
22668 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
22669 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
22670 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
22671 archive_cmds_FC='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
22672 if test yes = "$supports_anon_versioning"; then
22673 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
22674 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22675 echo "local: *; };" >> $output_objdir/$libname.ver~
22676 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
22686 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
22687 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22690 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22691 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'
22696 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
22700 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
22701 *** create shared libraries on Solaris systems. Therefore, libtool
22702 *** is disabling shared libraries support. We urge you to upgrade GNU
22703 *** binutils to release 2.9.1 or newer. Another option is to modify
22704 *** your PATH or compiler configuration so that the native linker is
22705 *** used, and then restart.
22708 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22709 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22710 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'
22716 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
22717 case `$LD -v 2>&1` in
22718 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
22722 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
22723 *** reliably create shared libraries on SCO systems. Therefore, libtool
22724 *** is disabling shared libraries support. We urge you to upgrade GNU
22725 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
22726 *** your PATH or compiler configuration so that the native linker is
22727 *** used, and then restart.
22732 # For security reasons, it is highly recommended that you always
22733 # use absolute paths for naming shared libraries, and exclude the
22734 # DT_RUNPATH tag from executables and libraries. But doing so
22735 # requires that you compile everything twice, which is a pain.
22736 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22737 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
22738 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22739 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
22748 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22750 hardcode_direct_FC=yes
22751 hardcode_shlibpath_var_FC=no
22755 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22756 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22757 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'
22764 if test no = "$ld_shlibs_FC"; then
22766 hardcode_libdir_flag_spec_FC=
22767 export_dynamic_flag_spec_FC=
22768 whole_archive_flag_spec_FC=
22771 # PORTME fill in a description of your system's linker (not GNU ld)
22774 allow_undefined_flag_FC=unsupported
22775 always_export_symbols_FC=yes
22776 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'
22777 # Note: this linker hardcodes the directories in LIBPATH if there
22778 # are no directories specified by -L.
22779 hardcode_minus_L_FC=yes
22780 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
22781 # Neither direct hardcoding nor static linking is supported with a
22783 hardcode_direct_FC=unsupported
22788 if test ia64 = "$host_cpu"; then
22789 # On IA64, the linker does run time linking by default, so we don't
22790 # have to do anything special.
22791 aix_use_runtimelinking=no
22792 exp_sym_flag='-Bexport'
22795 # If we're using GNU nm, then we don't want the "-C" option.
22796 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
22797 # Without the "-l" option, or with the "-B" option, AIX nm treats
22798 # weak defined symbols like other global defined symbols, whereas
22799 # GNU nm marks them as "W".
22800 # While the 'weak' keyword is ignored in the Export File, we need
22801 # it in the Import File for the 'aix-soname' feature, so we have
22802 # to replace the "-B" option with "-P" for AIX nm.
22803 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
22804 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'
22806 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 == "L") || (\$ 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'
22808 aix_use_runtimelinking=no
22810 # Test if we are trying to use run time linking or normal
22811 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22812 # have runtime linking enabled, and use it for executables.
22813 # For shared libraries, we enable/disable runtime linking
22814 # depending on the kind of the shared library created -
22815 # when "with_aix_soname,aix_use_runtimelinking" is:
22816 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
22817 # "aix,yes" lib.so shared, rtl:yes, for executables
22818 # lib.a static archive
22819 # "both,no" lib.so.V(shr.o) shared, rtl:yes
22820 # lib.a(lib.so.V) shared, rtl:no, for executables
22821 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
22822 # lib.a(lib.so.V) shared, rtl:no
22823 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
22824 # lib.a static archive
22825 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
22826 for ld_flag in $LDFLAGS; do
22827 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
22828 aix_use_runtimelinking=yes
22832 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
22833 # With aix-soname=svr4, we create the lib.so.V shared archives only,
22834 # so we don't have lib.a shared libs to link our executables.
22835 # We have to force runtime linking in this case.
22836 aix_use_runtimelinking=yes
22837 LDFLAGS="$LDFLAGS -Wl,-brtl"
22842 exp_sym_flag='-bexport'
22843 no_entry_flag='-bnoentry'
22846 # When large executables or shared objects are built, AIX ld can
22847 # have problems creating the table of contents. If linking a library
22848 # or program results in "error TOC overflow" add -mminimal-toc to
22849 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22850 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22853 hardcode_direct_FC=yes
22854 hardcode_direct_absolute_FC=yes
22855 hardcode_libdir_separator_FC=':'
22856 link_all_deplibs_FC=yes
22857 file_list_spec_FC='$wl-f,'
22858 case $with_aix_soname,$aix_use_runtimelinking in
22859 aix,*) ;; # traditional, no import file
22860 svr4,* | *,yes) # use import file
22861 # The Import File defines what to hardcode.
22862 hardcode_direct_FC=no
22863 hardcode_direct_absolute_FC=no
22867 if test yes = "$GCC"; then
22868 case $host_os in aix4.[012]|aix4.[012].*)
22869 # We only want to do this on AIX 4.2 and lower, the check
22870 # below for broken collect2 doesn't work under 4.3+
22871 collect2name=`$CC -print-prog-name=collect2`
22872 if test -f "$collect2name" &&
22873 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
22875 # We have reworked collect2
22878 # We have old collect2
22879 hardcode_direct_FC=unsupported
22880 # It fails to find uninstalled libraries when the uninstalled
22881 # path is not listed in the libpath. Setting hardcode_minus_L
22882 # to unsupported forces relinking
22883 hardcode_minus_L_FC=yes
22884 hardcode_libdir_flag_spec_FC='-L$libdir'
22885 hardcode_libdir_separator_FC=
22889 shared_flag='-shared'
22890 if test yes = "$aix_use_runtimelinking"; then
22891 shared_flag="$shared_flag "'$wl-G'
22893 # Need to ensure runtime linking is disabled for the traditional
22894 # shared library, or the linker may eventually find shared libraries
22895 # /with/ Import File - we do not want to mix them.
22896 shared_flag_aix='-shared'
22897 shared_flag_svr4='-shared $wl-G'
22900 if test ia64 = "$host_cpu"; then
22901 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22902 # chokes on -Wl,-G. The following line is correct:
22905 if test yes = "$aix_use_runtimelinking"; then
22906 shared_flag='$wl-G'
22908 shared_flag='$wl-bM:SRE'
22910 shared_flag_aix='$wl-bM:SRE'
22911 shared_flag_svr4='$wl-G'
22915 export_dynamic_flag_spec_FC='$wl-bexpall'
22916 # It seems that -bexpall does not export symbols beginning with
22917 # underscore (_), so it is better to generate a list of symbols to export.
22918 always_export_symbols_FC=yes
22919 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
22920 # Warning - without using the other runtime loading flags (-brtl),
22921 # -berok will link without error, but may produce a broken library.
22922 allow_undefined_flag_FC='-berok'
22923 # Determine the default libpath from the value encoded in an
22924 # empty executable.
22925 if test set = "${lt_cv_aix_libpath+set}"; then
22926 aix_libpath=$lt_cv_aix_libpath
22928 if ${lt_cv_aix_libpath__FC+:} false; then :
22929 $as_echo_n "(cached) " >&6
22931 cat > conftest.$ac_ext <<_ACEOF
22936 if ac_fn_fc_try_link "$LINENO"; then :
22938 lt_aix_libpath_sed='
22939 /Import File Strings/,/^$/ {
22941 s/^0 *\([^ ]*\) *$/\1/
22945 lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22946 # Check for a 64-bit object if we didn't find anything.
22947 if test -z "$lt_cv_aix_libpath__FC"; then
22948 lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22951 rm -f core conftest.err conftest.$ac_objext \
22952 conftest$ac_exeext conftest.$ac_ext
22953 if test -z "$lt_cv_aix_libpath__FC"; then
22954 lt_cv_aix_libpath__FC=/usr/lib:/lib
22959 aix_libpath=$lt_cv_aix_libpath__FC
22962 hardcode_libdir_flag_spec_FC='$wl-blibpath:$libdir:'"$aix_libpath"
22963 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
22965 if test ia64 = "$host_cpu"; then
22966 hardcode_libdir_flag_spec_FC='$wl-R $libdir:/usr/lib:/lib'
22967 allow_undefined_flag_FC="-z nodefs"
22968 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"
22970 # Determine the default libpath from the value encoded in an
22971 # empty executable.
22972 if test set = "${lt_cv_aix_libpath+set}"; then
22973 aix_libpath=$lt_cv_aix_libpath
22975 if ${lt_cv_aix_libpath__FC+:} false; then :
22976 $as_echo_n "(cached) " >&6
22978 cat > conftest.$ac_ext <<_ACEOF
22983 if ac_fn_fc_try_link "$LINENO"; then :
22985 lt_aix_libpath_sed='
22986 /Import File Strings/,/^$/ {
22988 s/^0 *\([^ ]*\) *$/\1/
22992 lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22993 # Check for a 64-bit object if we didn't find anything.
22994 if test -z "$lt_cv_aix_libpath__FC"; then
22995 lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22998 rm -f core conftest.err conftest.$ac_objext \
22999 conftest$ac_exeext conftest.$ac_ext
23000 if test -z "$lt_cv_aix_libpath__FC"; then
23001 lt_cv_aix_libpath__FC=/usr/lib:/lib
23006 aix_libpath=$lt_cv_aix_libpath__FC
23009 hardcode_libdir_flag_spec_FC='$wl-blibpath:$libdir:'"$aix_libpath"
23010 # Warning - without using the other run time loading flags,
23011 # -berok will link without error, but may produce a broken library.
23012 no_undefined_flag_FC=' $wl-bernotok'
23013 allow_undefined_flag_FC=' $wl-berok'
23014 if test yes = "$with_gnu_ld"; then
23015 # We only use this code for GNU lds that support --whole-archive.
23016 whole_archive_flag_spec_FC='$wl--whole-archive$convenience $wl--no-whole-archive'
23018 # Exported symbols can be pulled into shared objects from archives
23019 whole_archive_flag_spec_FC='$convenience'
23021 archive_cmds_need_lc_FC=yes
23022 archive_expsym_cmds_FC='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
23023 # -brtl affects multiple linker settings, -berok does not and is overridden later
23024 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
23025 if test svr4 != "$with_aix_soname"; then
23026 # This is similar to how AIX traditionally builds its shared libraries.
23027 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'
23029 if test aix != "$with_aix_soname"; then
23030 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'
23032 # used by -dlpreopen to get the symbols
23033 archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
23035 archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$RM -r $output_objdir/$realname.d'
23043 # see comment about AmigaOS4 .so support
23044 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
23045 archive_expsym_cmds_FC=''
23048 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)'
23049 hardcode_libdir_flag_spec_FC='-L$libdir'
23050 hardcode_minus_L_FC=yes
23056 export_dynamic_flag_spec_FC=-rdynamic
23059 cygwin* | mingw* | pw32* | cegcc*)
23060 # When not using gcc, we currently assume that we are using
23061 # Microsoft Visual C++ or Intel C++ Compiler.
23062 # hardcode_libdir_flag_spec is actually meaningless, as there is
23063 # no search path for DLLs.
23064 case $cc_basename in
23066 # Native MSVC or ICC
23067 hardcode_libdir_flag_spec_FC=' '
23068 allow_undefined_flag_FC=unsupported
23069 always_export_symbols_FC=yes
23070 file_list_spec_FC='@'
23071 # Tell ltmain to make .lib files, not .a files.
23073 # Tell ltmain to make .dll files, not .so files.
23075 # FIXME: Setting linknames here is a bad hack.
23076 archive_cmds_FC='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
23077 archive_expsym_cmds_FC='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
23078 cp "$export_symbols" "$output_objdir/$soname.def";
23079 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
23081 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
23083 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
23085 # The linker will not automatically build a static lib if we build a DLL.
23086 # _LT_TAGVAR(old_archive_from_new_cmds, FC)='true'
23087 enable_shared_with_static_runtimes_FC=yes
23088 exclude_expsyms_FC='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
23089 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
23091 old_postinstall_cmds_FC='chmod 644 $oldlib'
23092 postlink_cmds_FC='lt_outputfile="@OUTPUT@"~
23093 lt_tool_outputfile="@TOOL_OUTPUT@"~
23094 case $lt_outputfile in
23097 lt_outputfile=$lt_outputfile.exe
23098 lt_tool_outputfile=$lt_tool_outputfile.exe
23101 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
23102 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
23103 $RM "$lt_outputfile.manifest";
23107 # Assume MSVC and ICC wrapper
23108 hardcode_libdir_flag_spec_FC=' '
23109 allow_undefined_flag_FC=unsupported
23110 # Tell ltmain to make .lib files, not .a files.
23112 # Tell ltmain to make .dll files, not .so files.
23114 # FIXME: Setting linknames here is a bad hack.
23115 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
23116 # The linker will automatically build a .lib file if we build a DLL.
23117 old_archive_from_new_cmds_FC='true'
23118 # FIXME: Should let the user specify the lib program.
23119 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
23120 enable_shared_with_static_runtimes_FC=yes
23125 darwin* | rhapsody*)
23128 archive_cmds_need_lc_FC=no
23129 hardcode_direct_FC=no
23130 hardcode_automatic_FC=yes
23131 hardcode_shlibpath_var_FC=unsupported
23132 if test yes = "$lt_cv_ld_force_load"; then
23133 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\"`'
23134 compiler_needs_object_FC=yes
23136 whole_archive_flag_spec_FC=''
23138 link_all_deplibs_FC=yes
23139 allow_undefined_flag_FC=$_lt_dar_allow_undefined
23140 case $cc_basename in
23141 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
23142 *) _lt_dar_can_shared=$GCC ;;
23144 if test yes = "$_lt_dar_can_shared"; then
23145 output_verbose_link_cmd=func_echo_all
23146 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"
23147 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
23148 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"
23149 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"
23158 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23159 hardcode_libdir_flag_spec_FC='-L$libdir'
23160 hardcode_shlibpath_var_FC=no
23163 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
23164 # support. Future versions do this automatically, but an explicit c++rt0.o
23165 # does not break anything, and helps significantly (at the cost of a little
23168 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
23169 hardcode_libdir_flag_spec_FC='-R$libdir'
23170 hardcode_direct_FC=yes
23171 hardcode_shlibpath_var_FC=no
23174 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
23176 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23177 hardcode_direct_FC=yes
23178 hardcode_minus_L_FC=yes
23179 hardcode_shlibpath_var_FC=no
23182 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
23183 freebsd* | dragonfly* | midnightbsd*)
23184 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23185 hardcode_libdir_flag_spec_FC='-R$libdir'
23186 hardcode_direct_FC=yes
23187 hardcode_shlibpath_var_FC=no
23191 if test yes = "$GCC"; then
23192 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'
23194 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'
23196 hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir'
23197 hardcode_libdir_separator_FC=:
23198 hardcode_direct_FC=yes
23200 # hardcode_minus_L: Not really in the search PATH,
23201 # but as the default location of the library.
23202 hardcode_minus_L_FC=yes
23203 export_dynamic_flag_spec_FC='$wl-E'
23207 if test yes,no = "$GCC,$with_gnu_ld"; then
23208 archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23210 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
23212 if test no = "$with_gnu_ld"; then
23213 hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir'
23214 hardcode_libdir_separator_FC=:
23215 hardcode_direct_FC=yes
23216 hardcode_direct_absolute_FC=yes
23217 export_dynamic_flag_spec_FC='$wl-E'
23218 # hardcode_minus_L: Not really in the search PATH,
23219 # but as the default location of the library.
23220 hardcode_minus_L_FC=yes
23225 if test yes,no = "$GCC,$with_gnu_ld"; then
23228 archive_cmds_FC='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
23231 archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
23234 archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23240 archive_cmds_FC='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
23243 archive_cmds_FC='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
23246 archive_cmds_FC='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23250 if test no = "$with_gnu_ld"; then
23251 hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir'
23252 hardcode_libdir_separator_FC=:
23256 hardcode_direct_FC=no
23257 hardcode_shlibpath_var_FC=no
23260 hardcode_direct_FC=yes
23261 hardcode_direct_absolute_FC=yes
23262 export_dynamic_flag_spec_FC='$wl-E'
23264 # hardcode_minus_L: Not really in the search PATH,
23265 # but as the default location of the library.
23266 hardcode_minus_L_FC=yes
23272 irix5* | irix6* | nonstopux*)
23273 if test yes = "$GCC"; then
23274 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'
23275 # Try to use the -exported_symbol ld option, if it does not
23276 # work, assume that -exports_file does not work either and
23277 # implicitly export all symbols.
23278 # This should be the same for all languages, so no per-tag cache variable.
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
23280 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
23281 if ${lt_cv_irix_exported_symbol+:} false; then :
23282 $as_echo_n "(cached) " >&6
23284 save_LDFLAGS=$LDFLAGS
23285 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
23286 cat > conftest.$ac_ext <<_ACEOF
23291 if ac_fn_fc_try_link "$LINENO"; then :
23292 lt_cv_irix_exported_symbol=yes
23294 lt_cv_irix_exported_symbol=no
23296 rm -f core conftest.err conftest.$ac_objext \
23297 conftest$ac_exeext conftest.$ac_ext
23298 LDFLAGS=$save_LDFLAGS
23300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
23301 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
23302 if test yes = "$lt_cv_irix_exported_symbol"; then
23303 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'
23306 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'
23307 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'
23309 archive_cmds_need_lc_FC='no'
23310 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23311 hardcode_libdir_separator_FC=:
23312 inherit_rpath_FC=yes
23313 link_all_deplibs_FC=yes
23317 case $cc_basename in
23319 # Fabrice Bellard et al's Tiny C Compiler
23321 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23327 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
23328 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
23330 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
23332 hardcode_libdir_flag_spec_FC='-R$libdir'
23333 hardcode_direct_FC=yes
23334 hardcode_shlibpath_var_FC=no
23338 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23339 hardcode_direct_FC=yes
23340 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23341 hardcode_libdir_separator_FC=:
23342 hardcode_shlibpath_var_FC=no
23348 openbsd* | bitrig*)
23349 if test -f /usr/libexec/ld.so; then
23350 hardcode_direct_FC=yes
23351 hardcode_shlibpath_var_FC=no
23352 hardcode_direct_absolute_FC=yes
23353 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
23354 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23355 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
23356 hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir'
23357 export_dynamic_flag_spec_FC='$wl-E'
23359 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23360 hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir'
23368 hardcode_libdir_flag_spec_FC='-L$libdir'
23369 hardcode_minus_L_FC=yes
23370 allow_undefined_flag_FC=unsupported
23372 archive_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
23373 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
23374 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
23375 $ECHO EXPORTS >> $output_objdir/$libname.def~
23376 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
23377 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
23378 emximp -o $lib $output_objdir/$libname.def'
23379 archive_expsym_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
23380 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
23381 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
23382 $ECHO EXPORTS >> $output_objdir/$libname.def~
23383 prefix_cmds="$SED"~
23384 if test EXPORTS = "`$SED 1q $export_symbols`"; then
23385 prefix_cmds="$prefix_cmds -e 1d";
23387 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
23388 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
23389 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
23390 emximp -o $lib $output_objdir/$libname.def'
23391 old_archive_From_new_cmds_FC='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
23392 enable_shared_with_static_runtimes_FC=yes
23393 file_list_spec_FC='@'
23397 if test yes = "$GCC"; then
23398 allow_undefined_flag_FC=' $wl-expect_unresolved $wl\*'
23399 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'
23401 allow_undefined_flag_FC=' -expect_unresolved \*'
23402 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'
23404 archive_cmds_need_lc_FC='no'
23405 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23406 hardcode_libdir_separator_FC=:
23409 osf4* | osf5*) # as osf3* with the addition of -msym flag
23410 if test yes = "$GCC"; then
23411 allow_undefined_flag_FC=' $wl-expect_unresolved $wl\*'
23412 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'
23413 hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23415 allow_undefined_flag_FC=' -expect_unresolved \*'
23416 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'
23417 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~
23418 $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'
23420 # Both c and cxx compiler support -rpath directly
23421 hardcode_libdir_flag_spec_FC='-rpath $libdir'
23423 archive_cmds_need_lc_FC='no'
23424 hardcode_libdir_separator_FC=:
23428 no_undefined_flag_FC=' -z defs'
23429 if test yes = "$GCC"; then
23431 archive_cmds_FC='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
23432 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
23433 $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'
23435 case `$CC -V 2>&1` in
23438 archive_cmds_FC='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
23439 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
23440 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
23444 archive_cmds_FC='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
23445 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
23446 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
23450 hardcode_libdir_flag_spec_FC='-R$libdir'
23451 hardcode_shlibpath_var_FC=no
23453 solaris2.[0-5] | solaris2.[0-5].*) ;;
23455 # The compiler driver will combine and reorder linker options,
23456 # but understands '-z linker_flag'. GCC discards it without '$wl',
23457 # but is careful enough not to reorder.
23458 # Supported since Solaris 2.6 (maybe 2.5.1?)
23459 if test yes = "$GCC"; then
23460 whole_archive_flag_spec_FC='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
23462 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
23466 link_all_deplibs_FC=yes
23470 if test sequent = "$host_vendor"; then
23471 # Use $CC to link under sequent, because it throws in some extra .o
23472 # files that make .init and .fini sections work.
23473 archive_cmds_FC='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
23475 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
23477 hardcode_libdir_flag_spec_FC='-L$libdir'
23478 hardcode_direct_FC=yes
23479 hardcode_minus_L_FC=yes
23480 hardcode_shlibpath_var_FC=no
23484 case $host_vendor in
23486 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23487 hardcode_direct_FC=yes # is this really true???
23490 ## LD is ld it makes a PLAMLIB
23491 ## CC just makes a GrossModule.
23492 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23493 reload_cmds_FC='$CC -r -o $output$reload_objs'
23494 hardcode_direct_FC=no
23497 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23498 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
23501 runpath_var='LD_RUN_PATH'
23502 hardcode_shlibpath_var_FC=no
23506 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23507 hardcode_shlibpath_var_FC=no
23508 export_dynamic_flag_spec_FC='-Bexport'
23512 if test -d /usr/nec; then
23513 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23514 hardcode_shlibpath_var_FC=no
23515 runpath_var=LD_RUN_PATH
23516 hardcode_runpath_var=yes
23521 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
23522 no_undefined_flag_FC='$wl-z,text'
23523 archive_cmds_need_lc_FC=no
23524 hardcode_shlibpath_var_FC=no
23525 runpath_var='LD_RUN_PATH'
23527 if test yes = "$GCC"; then
23528 archive_cmds_FC='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23529 archive_expsym_cmds_FC='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23531 archive_cmds_FC='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23532 archive_expsym_cmds_FC='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23536 sysv5* | sco3.2v5* | sco5v6*)
23537 # Note: We CANNOT use -z defs as we might desire, because we do not
23538 # link with -lc, and that would cause any symbols used from libc to
23539 # always be unresolved, which means just about no library would
23540 # ever link correctly. If we're not using GNU ld we use -z text
23541 # though, which does catch some bad symbols but isn't as heavy-handed
23543 no_undefined_flag_FC='$wl-z,text'
23544 allow_undefined_flag_FC='$wl-z,nodefs'
23545 archive_cmds_need_lc_FC=no
23546 hardcode_shlibpath_var_FC=no
23547 hardcode_libdir_flag_spec_FC='$wl-R,$libdir'
23548 hardcode_libdir_separator_FC=':'
23549 link_all_deplibs_FC=yes
23550 export_dynamic_flag_spec_FC='$wl-Bexport'
23551 runpath_var='LD_RUN_PATH'
23553 if test yes = "$GCC"; then
23554 archive_cmds_FC='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23555 archive_expsym_cmds_FC='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23557 archive_cmds_FC='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23558 archive_expsym_cmds_FC='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23563 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23564 hardcode_libdir_flag_spec_FC='-L$libdir'
23565 hardcode_shlibpath_var_FC=no
23573 if test sni = "$host_vendor"; then
23575 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
23576 export_dynamic_flag_spec_FC='$wl-Blargedynsym'
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
23583 $as_echo "$ld_shlibs_FC" >&6; }
23584 test no = "$ld_shlibs_FC" && can_build_shared=no
23586 with_gnu_ld_FC=$with_gnu_ld
23594 # Do we need to explicitly link libc?
23596 case "x$archive_cmds_need_lc_FC" in
23598 # Assume -lc should be added
23599 archive_cmds_need_lc_FC=yes
23601 if test yes,yes = "$GCC,$enable_shared"; then
23602 case $archive_cmds_FC in
23604 # FIXME: we may have to deal with multi-command sequences.
23607 # Test whether the compiler implicitly links with -lc since on some
23608 # systems, -lgcc has to come before -lc. If gcc already passes -lc
23609 # to ld, don't add -lc before -lgcc.
23610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
23611 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
23612 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
23613 $as_echo_n "(cached) " >&6
23616 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
23619 (eval $ac_compile) 2>&5
23621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23622 test $ac_status = 0; } 2>conftest.err; then
23625 libobjs=conftest.$ac_objext
23627 wl=$lt_prog_compiler_wl_FC
23628 pic_flag=$lt_prog_compiler_pic_FC
23634 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
23635 allow_undefined_flag_FC=
23636 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
23637 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
23639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23640 test $ac_status = 0; }
23642 lt_cv_archive_cmds_need_lc_FC=no
23644 lt_cv_archive_cmds_need_lc_FC=yes
23646 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
23648 cat conftest.err 1>&5
23653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
23654 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
23655 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
23723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
23724 $as_echo_n "checking dynamic linker characteristics... " >&6; }
23726 library_names_spec=
23727 libname_spec='lib$name'
23731 postuninstall_cmds=
23735 shlibpath_overrides_runpath=unknown
23737 dynamic_linker="$host_os ld.so"
23738 sys_lib_dlsearch_path_spec="/lib /usr/lib"
23739 need_lib_prefix=unknown
23740 hardcode_into_libs=no
23742 # when you set need_version to no, make sure it does not cause -set_version
23743 # flags to be left without arguments
23744 need_version=unknown
23750 version_type=linux # correct to gnu/linux during the next big refactor
23751 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
23752 shlibpath_var=LIBPATH
23754 # AIX 3 has no versioning support, so we append a major version to the name.
23755 soname_spec='$libname$release$shared_ext$major'
23759 version_type=linux # correct to gnu/linux during the next big refactor
23762 hardcode_into_libs=yes
23763 if test ia64 = "$host_cpu"; then
23764 # AIX 5 supports IA64
23765 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
23766 shlibpath_var=LD_LIBRARY_PATH
23768 # With GCC up to 2.95.x, collect2 would create an import file
23769 # for dependence libraries. The import file would start with
23770 # the line '#! .'. This would cause the generated library to
23771 # depend on '.', always an invalid library. This was fixed in
23772 # development snapshots of GCC prior to 3.0.
23774 aix4 | aix4.[01] | aix4.[01].*)
23775 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23777 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
23780 can_build_shared=no
23784 # Using Import Files as archive members, it is possible to support
23785 # filename-based versioning of shared library archives on AIX. While
23786 # this would work for both with and without runtime linking, it will
23787 # prevent static linking of such archives. So we do filename-based
23788 # shared library versioning with .so extension only, which is used
23789 # when both runtime linking and shared linking is enabled.
23790 # Unfortunately, runtime linking may impact performance, so we do
23791 # not want this to be the default eventually. Also, we use the
23792 # versioned .so libs for executables only if there is the -brtl
23793 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
23794 # To allow for filename-based versioning support, we need to create
23795 # libNAME.so.V as an archive file, containing:
23796 # *) an Import File, referring to the versioned filename of the
23797 # archive as well as the shared archive member, telling the
23798 # bitwidth (32 or 64) of that shared object, and providing the
23799 # list of exported symbols of that shared object, eventually
23800 # decorated with the 'weak' keyword
23801 # *) the shared object with the F_LOADONLY flag set, to really avoid
23802 # it being seen by the linker.
23803 # At run time we better use the real file rather than another symlink,
23804 # but for link time we create the symlink libNAME.so -> libNAME.so.V
23806 case $with_aix_soname,$aix_use_runtimelinking in
23807 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
23808 # soname into executable. Probably we can add versioning support to
23809 # collect2, so additional links can be useful in future.
23810 aix,yes) # traditional libtool
23811 dynamic_linker='AIX unversionable lib.so'
23812 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23813 # instead of lib<name>.a to let people know that these are not
23814 # typical AIX shared libraries.
23815 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23817 aix,no) # traditional AIX only
23818 dynamic_linker='AIX lib.a(lib.so.V)'
23819 # We preserve .a as extension for shared libraries through AIX4.2
23820 # and later when we are not doing run time linking.
23821 library_names_spec='$libname$release.a $libname.a'
23822 soname_spec='$libname$release$shared_ext$major'
23824 svr4,*) # full svr4 only
23825 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
23826 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
23827 # We do not specify a path in Import Files, so LIBPATH fires.
23828 shlibpath_overrides_runpath=yes
23830 *,yes) # both, prefer svr4
23831 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
23832 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
23833 # unpreferred sharedlib libNAME.a needs extra handling
23834 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"'
23835 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"'
23836 # We do not specify a path in Import Files, so LIBPATH fires.
23837 shlibpath_overrides_runpath=yes
23839 *,no) # both, prefer aix
23840 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
23841 library_names_spec='$libname$release.a $libname.a'
23842 soname_spec='$libname$release$shared_ext$major'
23843 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
23844 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)'
23845 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"'
23848 shlibpath_var=LIBPATH
23855 # Since July 2007 AmigaOS4 officially supports .so libraries.
23856 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
23857 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23860 library_names_spec='$libname.ixlibrary $libname.a'
23861 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23862 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'
23868 library_names_spec='$libname$shared_ext'
23869 dynamic_linker="$host_os ld.so"
23870 shlibpath_var=LIBRARY_PATH
23874 version_type=linux # correct to gnu/linux during the next big refactor
23876 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23877 soname_spec='$libname$release$shared_ext$major'
23878 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23879 shlibpath_var=LD_LIBRARY_PATH
23880 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23881 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23882 # the default ld.so.conf also contains /usr/contrib/lib and
23883 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23884 # libtool to hard-code these into programs
23887 cygwin* | mingw* | pw32* | cegcc*)
23888 version_type=windows
23893 case $GCC,$cc_basename in
23896 library_names_spec='$libname.dll.a'
23897 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23898 postinstall_cmds='base_file=`basename \$file`~
23899 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
23900 dldir=$destdir/`dirname \$dlpath`~
23901 test -d \$dldir || mkdir -p \$dldir~
23902 $install_prog $dir/$dlname \$dldir/$dlname~
23903 chmod a+x \$dldir/$dlname~
23904 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
23905 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
23907 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23908 dlpath=$dir/\$dldll~
23910 shlibpath_overrides_runpath=yes
23914 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23915 soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23919 # MinGW DLLs use traditional 'lib' prefix
23920 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23923 # pw32 DLLs use 'pw' prefix rather than 'lib'
23924 library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23927 dynamic_linker='Win32 ld.exe'
23931 # Native MSVC or ICC
23932 libname_spec='$name'
23933 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23934 library_names_spec='$libname.dll.lib'
23938 sys_lib_search_path_spec=
23941 for lt_path in $LIB
23944 # Let DOS variable expansion print the short 8.3 style file name.
23945 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
23946 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
23949 # Convert to MSYS style.
23950 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
23953 # Convert to unix form, then to dos form, then back to unix form
23954 # but this time dos style (no spaces!) so that the unix form looks
23955 # like /cygdrive/c/PROGRA~1:/cygdr...
23956 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
23957 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
23958 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23961 sys_lib_search_path_spec=$LIB
23962 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
23963 # It is most probably a Windows format PATH.
23964 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23966 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23968 # FIXME: find the short name or the path components, as spaces are
23969 # common. (e.g. "Program Files" -> "PROGRA~1")
23973 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23974 postinstall_cmds='base_file=`basename \$file`~
23975 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
23976 dldir=$destdir/`dirname \$dlpath`~
23977 test -d \$dldir || mkdir -p \$dldir~
23978 $install_prog $dir/$dlname \$dldir/$dlname'
23979 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23980 dlpath=$dir/\$dldll~
23982 shlibpath_overrides_runpath=yes
23983 dynamic_linker='Win32 link.exe'
23987 # Assume MSVC and ICC wrapper
23988 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
23989 dynamic_linker='Win32 ld.exe'
23992 # FIXME: first we should search . and the directory the executable is in
23996 darwin* | rhapsody*)
23997 dynamic_linker="$host_os dyld"
23998 version_type=darwin
24001 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
24002 soname_spec='$libname$release$major$shared_ext'
24003 shlibpath_overrides_runpath=yes
24004 shlibpath_var=DYLD_LIBRARY_PATH
24005 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
24007 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
24011 version_type=linux # correct to gnu/linux during the next big refactor
24014 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24015 soname_spec='$libname$release$shared_ext$major'
24016 shlibpath_var=LD_LIBRARY_PATH
24019 freebsd* | dragonfly* | midnightbsd*)
24020 # DragonFly does not have aout. When/if they implement a new
24021 # versioning mechanism, adjust this.
24022 if test -x /usr/bin/objformat; then
24023 objformat=`/usr/bin/objformat`
24026 freebsd[23].*) objformat=aout ;;
24027 *) objformat=elf ;;
24030 version_type=freebsd-$objformat
24031 case $version_type in
24033 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24034 soname_spec='$libname$release$shared_ext$major'
24039 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
24043 shlibpath_var=LD_LIBRARY_PATH
24046 shlibpath_overrides_runpath=yes
24048 freebsd3.[01]* | freebsdelf3.[01]*)
24049 shlibpath_overrides_runpath=yes
24050 hardcode_into_libs=yes
24052 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
24053 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
24054 shlibpath_overrides_runpath=no
24055 hardcode_into_libs=yes
24057 *) # from 4.6 on, and DragonFly
24058 shlibpath_overrides_runpath=yes
24059 hardcode_into_libs=yes
24065 version_type=linux # correct to gnu/linux during the next big refactor
24068 dynamic_linker="$host_os runtime_loader"
24069 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24070 soname_spec='$libname$release$shared_ext$major'
24071 shlibpath_var=LIBRARY_PATH
24072 shlibpath_overrides_runpath=no
24073 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
24074 hardcode_into_libs=yes
24077 hpux9* | hpux10* | hpux11*)
24078 # Give a soname corresponding to the major version so that dld.sl refuses to
24079 # link against other versions.
24086 hardcode_into_libs=yes
24087 dynamic_linker="$host_os dld.so"
24088 shlibpath_var=LD_LIBRARY_PATH
24089 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24090 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24091 soname_spec='$libname$release$shared_ext$major'
24092 if test 32 = "$HPUX_IA64_MODE"; then
24093 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
24094 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
24096 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
24097 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
24102 hardcode_into_libs=yes
24103 dynamic_linker="$host_os dld.sl"
24104 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
24105 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24106 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24107 soname_spec='$libname$release$shared_ext$major'
24108 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
24109 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24113 dynamic_linker="$host_os dld.sl"
24114 shlibpath_var=SHLIB_PATH
24115 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
24116 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24117 soname_spec='$libname$release$shared_ext$major'
24120 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
24121 postinstall_cmds='chmod 555 $lib'
24122 # or fails outright, so override atomically:
24123 install_override_mode=555
24127 version_type=linux # correct to gnu/linux during the next big refactor
24130 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24131 soname_spec='$libname$release$shared_ext$major'
24132 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
24133 shlibpath_var=LD_LIBRARY_PATH
24134 shlibpath_overrides_runpath=no
24135 hardcode_into_libs=yes
24138 irix5* | irix6* | nonstopux*)
24140 nonstopux*) version_type=nonstopux ;;
24142 if test yes = "$lt_cv_prog_gnu_ld"; then
24143 version_type=linux # correct to gnu/linux during the next big refactor
24150 soname_spec='$libname$release$shared_ext$major'
24151 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
24153 irix5* | nonstopux*)
24154 libsuff= shlibsuff=
24157 case $LD in # libtool.m4 will add one of these switches to LD
24158 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
24159 libsuff= shlibsuff= libmagic=32-bit;;
24160 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
24161 libsuff=32 shlibsuff=N32 libmagic=N32;;
24162 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
24163 libsuff=64 shlibsuff=64 libmagic=64-bit;;
24164 *) libsuff= shlibsuff= libmagic=never-match;;
24168 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
24169 shlibpath_overrides_runpath=no
24170 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
24171 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
24172 hardcode_into_libs=yes
24175 # No shared lib support for Linux oldld, aout, or coff.
24176 linux*oldld* | linux*aout* | linux*coff*)
24181 version_type=none # Android doesn't support versioned libraries.
24184 library_names_spec='$libname$release$shared_ext'
24185 soname_spec='$libname$release$shared_ext'
24187 shlibpath_var=LD_LIBRARY_PATH
24188 shlibpath_overrides_runpath=yes
24190 # This implies no fast_install, which is unacceptable.
24191 # Some rework will be needed to allow for fast_install
24192 # before this can be enabled.
24193 hardcode_into_libs=yes
24195 dynamic_linker='Android linker'
24196 # Don't embed -rpath directories since the linker doesn't support them.
24197 hardcode_libdir_flag_spec_FC='-L$libdir'
24200 # This must be glibc/ELF.
24201 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
24202 version_type=linux # correct to gnu/linux during the next big refactor
24205 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24206 soname_spec='$libname$release$shared_ext$major'
24207 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
24208 shlibpath_var=LD_LIBRARY_PATH
24209 shlibpath_overrides_runpath=no
24211 # Some binutils ld are patched to set DT_RUNPATH
24212 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
24213 $as_echo_n "(cached) " >&6
24215 lt_cv_shlibpath_overrides_runpath=no
24216 save_LDFLAGS=$LDFLAGS
24217 save_libdir=$libdir
24218 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
24219 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
24220 cat > conftest.$ac_ext <<_ACEOF
24225 if ac_fn_fc_try_link "$LINENO"; then :
24226 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
24227 lt_cv_shlibpath_overrides_runpath=yes
24230 rm -f core conftest.err conftest.$ac_objext \
24231 conftest$ac_exeext conftest.$ac_ext
24232 LDFLAGS=$save_LDFLAGS
24233 libdir=$save_libdir
24237 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
24239 # This implies no fast_install, which is unacceptable.
24240 # Some rework will be needed to allow for fast_install
24241 # before this can be enabled.
24242 hardcode_into_libs=yes
24244 # Ideally, we could use ldconfig to report *all* directores which are
24245 # searched for libraries, however this is still not possible. Aside from not
24246 # being certain /sbin/ldconfig is available, command
24247 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
24248 # even though it is searched at run-time. Try to do the best guess by
24249 # appending ld.so.conf contents (and includes) to the search path.
24250 if test -f /etc/ld.so.conf; then
24251 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' ' '`
24252 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
24255 # We used to test for /lib/ld.so.1 and disable shared libraries on
24256 # powerpc, because MkLinux only supported shared libraries with the
24257 # GNU dynamic linker. Since this was broken with cross compilers,
24258 # most powerpc-linux boxes support dynamic linking these days and
24259 # people can always --disable-shared, the test was removed, and we
24260 # assume the GNU/Linux dynamic linker is in use.
24261 dynamic_linker='GNU/Linux ld.so'
24268 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
24269 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
24270 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24271 dynamic_linker='NetBSD (a.out) ld.so'
24273 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24274 soname_spec='$libname$release$shared_ext$major'
24275 dynamic_linker='NetBSD ld.elf_so'
24277 shlibpath_var=LD_LIBRARY_PATH
24278 shlibpath_overrides_runpath=yes
24279 hardcode_into_libs=yes
24283 version_type=linux # correct to gnu/linux during the next big refactor
24284 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24285 shlibpath_var=LD_LIBRARY_PATH
24286 shlibpath_overrides_runpath=yes
24293 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24294 soname_spec='$libname$release$shared_ext$major'
24295 shlibpath_var=LD_LIBRARY_PATH
24296 shlibpath_overrides_runpath=no
24297 hardcode_into_libs=yes
24298 dynamic_linker='ldqnx.so'
24301 openbsd* | bitrig*)
24303 sys_lib_dlsearch_path_spec=/usr/lib
24305 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
24310 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
24311 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24312 shlibpath_var=LD_LIBRARY_PATH
24313 shlibpath_overrides_runpath=yes
24317 libname_spec='$name'
24318 version_type=windows
24322 # OS/2 can only load a DLL with a base name of 8 characters or less.
24323 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
24324 v=$($ECHO $release$versuffix | tr -d .-);
24325 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
24326 $ECHO $n$v`$shared_ext'
24327 library_names_spec='${libname}_dll.$libext'
24328 dynamic_linker='OS/2 ld.exe'
24329 shlibpath_var=BEGINLIBPATH
24330 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
24331 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24332 postinstall_cmds='base_file=`basename \$file`~
24333 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
24334 dldir=$destdir/`dirname \$dlpath`~
24335 test -d \$dldir || mkdir -p \$dldir~
24336 $install_prog $dir/$dlname \$dldir/$dlname~
24337 chmod a+x \$dldir/$dlname~
24338 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
24339 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
24341 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
24342 dlpath=$dir/\$dldll~
24346 osf3* | osf4* | osf5*)
24350 soname_spec='$libname$release$shared_ext$major'
24351 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24352 shlibpath_var=LD_LIBRARY_PATH
24353 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
24354 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24362 version_type=linux # correct to gnu/linux during the next big refactor
24365 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24366 soname_spec='$libname$release$shared_ext$major'
24367 shlibpath_var=LD_LIBRARY_PATH
24368 shlibpath_overrides_runpath=yes
24369 hardcode_into_libs=yes
24370 # ldd complains unless libraries are executable
24371 postinstall_cmds='chmod +x $lib'
24376 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
24377 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
24378 shlibpath_var=LD_LIBRARY_PATH
24379 shlibpath_overrides_runpath=yes
24380 if test yes = "$with_gnu_ld"; then
24387 version_type=linux # correct to gnu/linux during the next big refactor
24388 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24389 soname_spec='$libname$release$shared_ext$major'
24390 shlibpath_var=LD_LIBRARY_PATH
24391 case $host_vendor in
24393 shlibpath_overrides_runpath=no
24395 runpath_var=LD_RUN_PATH
24403 shlibpath_overrides_runpath=no
24404 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
24410 if test -d /usr/nec; then
24411 version_type=linux # correct to gnu/linux during the next big refactor
24412 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
24413 soname_spec='$libname$shared_ext.$major'
24414 shlibpath_var=LD_LIBRARY_PATH
24418 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
24422 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
24423 soname_spec='$libname$release$shared_ext$major'
24424 shlibpath_var=LD_LIBRARY_PATH
24425 shlibpath_overrides_runpath=yes
24426 hardcode_into_libs=yes
24427 if test yes = "$with_gnu_ld"; then
24428 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
24430 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
24433 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
24437 sys_lib_dlsearch_path_spec='/usr/lib'
24441 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
24442 version_type=linux # correct to gnu/linux during the next big refactor
24445 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24446 shlibpath_var=LD_LIBRARY_PATH
24447 shlibpath_overrides_runpath=no
24448 hardcode_into_libs=yes
24452 version_type=linux # correct to gnu/linux during the next big refactor
24453 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24454 soname_spec='$libname$release$shared_ext$major'
24455 shlibpath_var=LD_LIBRARY_PATH
24462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
24463 $as_echo "$dynamic_linker" >&6; }
24464 test no = "$dynamic_linker" && can_build_shared=no
24466 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24467 if test yes = "$GCC"; then
24468 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24471 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
24472 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
24475 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
24476 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
24479 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
24480 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
24482 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
24483 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
24485 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
24486 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
24527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
24528 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
24529 hardcode_action_FC=
24530 if test -n "$hardcode_libdir_flag_spec_FC" ||
24531 test -n "$runpath_var_FC" ||
24532 test yes = "$hardcode_automatic_FC"; then
24534 # We can hardcode non-existent directories.
24535 if test no != "$hardcode_direct_FC" &&
24536 # If the only mechanism to avoid hardcoding is shlibpath_var, we
24537 # have to relink, otherwise we might link with an installed library
24538 # when we should be linking with a yet-to-be-installed one
24539 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" &&
24540 test no != "$hardcode_minus_L_FC"; then
24541 # Linking always hardcodes the temporary library directory.
24542 hardcode_action_FC=relink
24544 # We can link without hardcoding, and we can hardcode nonexisting dirs.
24545 hardcode_action_FC=immediate
24548 # We cannot hardcode anything, or else we can only hardcode existing
24550 hardcode_action_FC=unsupported
24552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
24553 $as_echo "$hardcode_action_FC" >&6; }
24555 if test relink = "$hardcode_action_FC" ||
24556 test yes = "$inherit_rpath_FC"; then
24557 # Fast installation is not supported
24558 enable_fast_install=no
24559 elif test yes = "$shlibpath_overrides_runpath" ||
24560 test no = "$enable_shared"; then
24561 # Fast installation is not necessary
24562 enable_fast_install=needless
24571 fi # test -n "$compiler"
24575 CFLAGS=$lt_save_CFLAGS
24576 fi # test yes != "$_lt_disable_FC"
24579 ac_cpp='$CPP $CPPFLAGS'
24580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24585 if test -n "$ac_tool_prefix"; then
24586 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
24587 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24589 $as_echo_n "checking for $ac_word... " >&6; }
24590 if ${ac_cv_prog_GOC+:} false; then :
24591 $as_echo_n "(cached) " >&6
24593 if test -n "$GOC"; then
24594 ac_cv_prog_GOC="$GOC" # Let the user override the test.
24596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24597 for as_dir in $PATH
24600 test -z "$as_dir" && as_dir=.
24601 for ac_exec_ext in '' $ac_executable_extensions; do
24602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24603 ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
24604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24613 GOC=$ac_cv_prog_GOC
24614 if test -n "$GOC"; then
24615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
24616 $as_echo "$GOC" >&6; }
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24619 $as_echo "no" >&6; }
24624 if test -z "$ac_cv_prog_GOC"; then
24626 # Extract the first word of "gccgo", so it can be a program name with args.
24627 set dummy gccgo; ac_word=$2
24628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24629 $as_echo_n "checking for $ac_word... " >&6; }
24630 if ${ac_cv_prog_ac_ct_GOC+:} false; then :
24631 $as_echo_n "(cached) " >&6
24633 if test -n "$ac_ct_GOC"; then
24634 ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
24636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24637 for as_dir in $PATH
24640 test -z "$as_dir" && as_dir=.
24641 for ac_exec_ext in '' $ac_executable_extensions; do
24642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24643 ac_cv_prog_ac_ct_GOC="gccgo"
24644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24653 ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
24654 if test -n "$ac_ct_GOC"; then
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
24656 $as_echo "$ac_ct_GOC" >&6; }
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24659 $as_echo "no" >&6; }
24662 if test "x$ac_ct_GOC" = x; then
24665 case $cross_compiling:$ac_tool_warned in
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24669 ac_tool_warned=yes ;;
24674 GOC="$ac_cv_prog_GOC"
24680 # Source file extension for Go test sources.
24683 # Object file extension for compiled Go test sources.
24687 # Code to be used in simple compile tests
24688 lt_simple_compile_test_code="package main; func main() { }"
24690 # Code to be used in simple link tests
24691 lt_simple_link_test_code='package main; func main() { }'
24693 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
24700 # If no C compiler was specified, use CC.
24703 # If no C compiler flags were specified, use CFLAGS.
24704 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
24706 # Allow CC to be a program name with arguments.
24710 # save warnings/boilerplate of simple test code
24711 ac_outfile=conftest.$ac_objext
24712 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
24713 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24714 _lt_compiler_boilerplate=`cat conftest.err`
24717 ac_outfile=conftest.$ac_objext
24718 echo "$lt_simple_link_test_code" >conftest.$ac_ext
24719 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24720 _lt_linker_boilerplate=`cat conftest.err`
24724 # Allow CC to be a program name with arguments.
24726 lt_save_CFLAGS=$CFLAGS
24734 func_cc_basename $compiler
24735 cc_basename=$func_cc_basename_result
24738 # Go did not exist at the time GCC didn't implicitly link libc in.
24739 archive_cmds_need_lc_GO=no
24741 old_archive_cmds_GO=$old_archive_cmds
24742 reload_flag_GO=$reload_flag
24743 reload_cmds_GO=$reload_cmds
24746 ## There is no encapsulation within the following macros, do not change
24747 ## the running order or otherwise move them around unless you know exactly
24748 ## what you are doing...
24749 if test -n "$compiler"; then
24751 lt_prog_compiler_no_builtin_flag_GO=
24753 if test yes = "$GCC"; then
24754 case $cc_basename in
24756 lt_prog_compiler_no_builtin_flag_GO=' -Xcompiler -fno-builtin' ;;
24758 lt_prog_compiler_no_builtin_flag_GO=' -fno-builtin' ;;
24761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
24762 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
24763 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
24764 $as_echo_n "(cached) " >&6
24766 lt_cv_prog_compiler_rtti_exceptions=no
24767 ac_outfile=conftest.$ac_objext
24768 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24769 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
24770 # Insert the option either (1) after the last *FLAGS variable, or
24771 # (2) before a word containing "conftest.", or (3) at the end.
24772 # Note that $ac_compile itself does not contain backslashes and begins
24773 # with a dollar sign (not a hyphen), so the echo should work correctly.
24774 # The option is referenced via a variable to avoid confusing sed.
24775 lt_compile=`echo "$ac_compile" | $SED \
24776 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24777 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24778 -e 's:$: $lt_compiler_flag:'`
24779 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
24780 (eval "$lt_compile" 2>conftest.err)
24782 cat conftest.err >&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 if (exit $ac_status) && test -s "$ac_outfile"; then
24785 # The compiler can only warn and ignore the option if not recognized
24786 # So say no if there are warnings other than the usual output.
24787 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
24788 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24789 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24790 lt_cv_prog_compiler_rtti_exceptions=yes
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
24797 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
24799 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
24800 lt_prog_compiler_no_builtin_flag_GO="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
24809 lt_prog_compiler_wl_GO=
24810 lt_prog_compiler_pic_GO=
24811 lt_prog_compiler_static_GO=
24814 if test yes = "$GCC"; then
24815 lt_prog_compiler_wl_GO='-Wl,'
24816 lt_prog_compiler_static_GO='-static'
24820 # All AIX code is PIC.
24821 if test ia64 = "$host_cpu"; then
24822 # AIX 5 now supports IA64 processor
24823 lt_prog_compiler_static_GO='-Bstatic'
24825 lt_prog_compiler_pic_GO='-fPIC'
24831 # see comment about AmigaOS4 .so support
24832 lt_prog_compiler_pic_GO='-fPIC'
24835 # FIXME: we need at least 68020 code to build shared libraries, but
24836 # adding the '-m68020' flag to GCC prevents building anything better,
24838 lt_prog_compiler_pic_GO='-m68020 -resident32 -malways-restore-a4'
24843 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
24844 # PIC is the default for these OSes.
24847 mingw* | cygwin* | pw32* | os2* | cegcc*)
24848 # This hack is so that the source file can tell whether it is being
24849 # built for inclusion in a dll (and should export symbols for example).
24850 # Although the cygwin gcc ignores -fPIC, still need this for old-style
24851 # (--disable-auto-import) libraries
24852 lt_prog_compiler_pic_GO='-DDLL_EXPORT'
24855 lt_prog_compiler_static_GO='$wl-static'
24860 darwin* | rhapsody*)
24861 # PIC is the default on this platform
24862 # Common symbols not allowed in MH_DYLIB files
24863 lt_prog_compiler_pic_GO='-fno-common'
24867 # PIC is the default for Haiku.
24868 # The "-static" flag exists, but is broken.
24869 lt_prog_compiler_static_GO=
24873 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
24874 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
24875 # sets the default TLS model and affects inlining.
24881 lt_prog_compiler_pic_GO='-fPIC'
24887 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24888 # Instead, we relocate shared libraries at runtime.
24892 # Just because we use GCC doesn't mean we suddenly get shared libraries
24893 # on systems that don't support them.
24894 lt_prog_compiler_can_build_shared_GO=no
24899 # QNX uses GNU C++, but need to define -shared option too, otherwise
24900 # it will coredump.
24901 lt_prog_compiler_pic_GO='-fPIC -shared'
24905 if test -d /usr/nec; then
24906 lt_prog_compiler_pic_GO=-Kconform_pic
24911 lt_prog_compiler_pic_GO='-fPIC'
24915 case $cc_basename in
24916 nvcc*) # Cuda Compiler Driver 2.2
24917 lt_prog_compiler_wl_GO='-Xlinker '
24918 if test -n "$lt_prog_compiler_pic_GO"; then
24919 lt_prog_compiler_pic_GO="-Xcompiler $lt_prog_compiler_pic_GO"
24924 # PORTME Check for flag to pass linker flags through the system compiler.
24927 lt_prog_compiler_wl_GO='-Wl,'
24928 if test ia64 = "$host_cpu"; then
24929 # AIX 5 now supports IA64 processor
24930 lt_prog_compiler_static_GO='-Bstatic'
24932 lt_prog_compiler_static_GO='-bnso -bI:/lib/syscalls.exp'
24936 darwin* | rhapsody*)
24937 # PIC is the default on this platform
24938 # Common symbols not allowed in MH_DYLIB files
24939 lt_prog_compiler_pic_GO='-fno-common'
24940 case $cc_basename in
24942 # NAG Fortran compiler
24943 lt_prog_compiler_wl_GO='-Wl,-Wl,,'
24944 lt_prog_compiler_pic_GO='-PIC'
24945 lt_prog_compiler_static_GO='-Bstatic'
24950 mingw* | cygwin* | pw32* | os2* | cegcc*)
24951 # This hack is so that the source file can tell whether it is being
24952 # built for inclusion in a dll (and should export symbols for example).
24953 lt_prog_compiler_pic_GO='-DDLL_EXPORT'
24956 lt_prog_compiler_static_GO='$wl-static'
24961 hpux9* | hpux10* | hpux11*)
24962 lt_prog_compiler_wl_GO='-Wl,'
24963 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24964 # not for PA HP-UX.
24970 lt_prog_compiler_pic_GO='+Z'
24973 # Is there a better lt_prog_compiler_static that works with the bundled CC?
24974 lt_prog_compiler_static_GO='$wl-a ${wl}archive'
24977 irix5* | irix6* | nonstopux*)
24978 lt_prog_compiler_wl_GO='-Wl,'
24979 # PIC (with -KPIC) is the default.
24980 lt_prog_compiler_static_GO='-non_shared'
24983 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
24984 case $cc_basename in
24985 # old Intel for x86_64, which still supported -KPIC.
24987 lt_prog_compiler_wl_GO='-Wl,'
24988 lt_prog_compiler_pic_GO='-KPIC'
24989 lt_prog_compiler_static_GO='-static'
24991 # icc used to be incompatible with GCC.
24992 # ICC 10 doesn't accept -KPIC any more.
24994 lt_prog_compiler_wl_GO='-Wl,'
24995 lt_prog_compiler_pic_GO='-fPIC'
24996 lt_prog_compiler_static_GO='-static'
24998 # Lahey Fortran 8.1.
25000 lt_prog_compiler_wl_GO='-Wl,'
25001 lt_prog_compiler_pic_GO='--shared'
25002 lt_prog_compiler_static_GO='--static'
25005 # NAG Fortran compiler
25006 lt_prog_compiler_wl_GO='-Wl,-Wl,,'
25007 lt_prog_compiler_pic_GO='-PIC'
25008 lt_prog_compiler_static_GO='-Bstatic'
25011 # Fabrice Bellard et al's Tiny C Compiler
25012 lt_prog_compiler_wl_GO='-Wl,'
25013 lt_prog_compiler_pic_GO='-fPIC'
25014 lt_prog_compiler_static_GO='-static'
25016 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
25017 # Portland Group compilers (*not* the Pentium gcc compiler,
25018 # which looks to be a dead project)
25019 lt_prog_compiler_wl_GO='-Wl,'
25020 lt_prog_compiler_pic_GO='-fpic'
25021 lt_prog_compiler_static_GO='-Bstatic'
25024 lt_prog_compiler_wl_GO='-Wl,'
25025 # All Alpha code is PIC.
25026 lt_prog_compiler_static_GO='-non_shared'
25028 xl* | bgxl* | bgf* | mpixl*)
25029 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
25030 lt_prog_compiler_wl_GO='-Wl,'
25031 lt_prog_compiler_pic_GO='-qpic'
25032 lt_prog_compiler_static_GO='-qstaticlink'
25035 case `$CC -V 2>&1 | $SED 5q` in
25036 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
25037 # Sun Fortran 8.3 passes all unrecognized flags to the linker
25038 lt_prog_compiler_pic_GO='-KPIC'
25039 lt_prog_compiler_static_GO='-Bstatic'
25040 lt_prog_compiler_wl_GO=''
25042 *Sun\ F* | *Sun*Fortran*)
25043 lt_prog_compiler_pic_GO='-KPIC'
25044 lt_prog_compiler_static_GO='-Bstatic'
25045 lt_prog_compiler_wl_GO='-Qoption ld '
25049 lt_prog_compiler_pic_GO='-KPIC'
25050 lt_prog_compiler_static_GO='-Bstatic'
25051 lt_prog_compiler_wl_GO='-Wl,'
25053 *Intel*\ [CF]*Compiler*)
25054 lt_prog_compiler_wl_GO='-Wl,'
25055 lt_prog_compiler_pic_GO='-fPIC'
25056 lt_prog_compiler_static_GO='-static'
25059 lt_prog_compiler_wl_GO='-Wl,'
25060 lt_prog_compiler_pic_GO='-fpic'
25061 lt_prog_compiler_static_GO='-Bstatic'
25069 lt_prog_compiler_pic_GO='-KPIC'
25070 lt_prog_compiler_static_GO='-Bstatic'
25074 # QNX uses GNU C++, but need to define -shared option too, otherwise
25075 # it will coredump.
25076 lt_prog_compiler_pic_GO='-fPIC -shared'
25079 osf3* | osf4* | osf5*)
25080 lt_prog_compiler_wl_GO='-Wl,'
25081 # All OSF/1 code is PIC.
25082 lt_prog_compiler_static_GO='-non_shared'
25086 lt_prog_compiler_static_GO='-non_shared'
25090 lt_prog_compiler_pic_GO='-KPIC'
25091 lt_prog_compiler_static_GO='-Bstatic'
25092 case $cc_basename in
25093 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
25094 lt_prog_compiler_wl_GO='-Qoption ld ';;
25096 lt_prog_compiler_wl_GO='-Wl,';;
25101 lt_prog_compiler_wl_GO='-Qoption ld '
25102 lt_prog_compiler_pic_GO='-PIC'
25103 lt_prog_compiler_static_GO='-Bstatic'
25106 sysv4 | sysv4.2uw2* | sysv4.3*)
25107 lt_prog_compiler_wl_GO='-Wl,'
25108 lt_prog_compiler_pic_GO='-KPIC'
25109 lt_prog_compiler_static_GO='-Bstatic'
25113 if test -d /usr/nec; then
25114 lt_prog_compiler_pic_GO='-Kconform_pic'
25115 lt_prog_compiler_static_GO='-Bstatic'
25119 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
25120 lt_prog_compiler_wl_GO='-Wl,'
25121 lt_prog_compiler_pic_GO='-KPIC'
25122 lt_prog_compiler_static_GO='-Bstatic'
25126 lt_prog_compiler_wl_GO='-Wl,'
25127 lt_prog_compiler_can_build_shared_GO=no
25131 lt_prog_compiler_pic_GO='-pic'
25132 lt_prog_compiler_static_GO='-Bstatic'
25136 lt_prog_compiler_can_build_shared_GO=no
25142 # For platforms that do not support PIC, -DPIC is meaningless:
25144 lt_prog_compiler_pic_GO=
25147 lt_prog_compiler_pic_GO="$lt_prog_compiler_pic_GO"
25151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
25152 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
25153 if ${lt_cv_prog_compiler_pic_GO+:} false; then :
25154 $as_echo_n "(cached) " >&6
25156 lt_cv_prog_compiler_pic_GO=$lt_prog_compiler_pic_GO
25158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_GO" >&5
25159 $as_echo "$lt_cv_prog_compiler_pic_GO" >&6; }
25160 lt_prog_compiler_pic_GO=$lt_cv_prog_compiler_pic_GO
25163 # Check to make sure the PIC flag actually works.
25165 if test -n "$lt_prog_compiler_pic_GO"; then
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
25167 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
25168 if ${lt_cv_prog_compiler_pic_works_GO+:} false; then :
25169 $as_echo_n "(cached) " >&6
25171 lt_cv_prog_compiler_pic_works_GO=no
25172 ac_outfile=conftest.$ac_objext
25173 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25174 lt_compiler_flag="$lt_prog_compiler_pic_GO" ## exclude from sc_useless_quotes_in_assignment
25175 # Insert the option either (1) after the last *FLAGS variable, or
25176 # (2) before a word containing "conftest.", or (3) at the end.
25177 # Note that $ac_compile itself does not contain backslashes and begins
25178 # with a dollar sign (not a hyphen), so the echo should work correctly.
25179 # The option is referenced via a variable to avoid confusing sed.
25180 lt_compile=`echo "$ac_compile" | $SED \
25181 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25182 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25183 -e 's:$: $lt_compiler_flag:'`
25184 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25185 (eval "$lt_compile" 2>conftest.err)
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 if (exit $ac_status) && test -s "$ac_outfile"; then
25190 # The compiler can only warn and ignore the option if not recognized
25191 # So say no if there are warnings other than the usual output.
25192 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
25193 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25194 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
25195 lt_cv_prog_compiler_pic_works_GO=yes
25201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
25202 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
25204 if test yes = "$lt_cv_prog_compiler_pic_works_GO"; then
25205 case $lt_prog_compiler_pic_GO in
25207 *) lt_prog_compiler_pic_GO=" $lt_prog_compiler_pic_GO" ;;
25210 lt_prog_compiler_pic_GO=
25211 lt_prog_compiler_can_build_shared_GO=no
25221 # Check to make sure the static flag actually works.
25223 wl=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GO\"
25224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
25225 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
25226 if ${lt_cv_prog_compiler_static_works_GO+:} false; then :
25227 $as_echo_n "(cached) " >&6
25229 lt_cv_prog_compiler_static_works_GO=no
25230 save_LDFLAGS=$LDFLAGS
25231 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
25232 echo "$lt_simple_link_test_code" > conftest.$ac_ext
25233 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
25234 # The linker can only warn and ignore the option if not recognized
25235 # So say no if there are warnings
25236 if test -s conftest.err; then
25237 # Append any errors to the config.log.
25238 cat conftest.err 1>&5
25239 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
25240 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25241 if diff conftest.exp conftest.er2 >/dev/null; then
25242 lt_cv_prog_compiler_static_works_GO=yes
25245 lt_cv_prog_compiler_static_works_GO=yes
25249 LDFLAGS=$save_LDFLAGS
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
25253 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
25255 if test yes = "$lt_cv_prog_compiler_static_works_GO"; then
25258 lt_prog_compiler_static_GO=
25264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
25265 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25266 if ${lt_cv_prog_compiler_c_o_GO+:} false; then :
25267 $as_echo_n "(cached) " >&6
25269 lt_cv_prog_compiler_c_o_GO=no
25270 $RM -r conftest 2>/dev/null
25274 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25276 lt_compiler_flag="-o out/conftest2.$ac_objext"
25277 # Insert the option either (1) after the last *FLAGS variable, or
25278 # (2) before a word containing "conftest.", or (3) at the end.
25279 # Note that $ac_compile itself does not contain backslashes and begins
25280 # with a dollar sign (not a hyphen), so the echo should work correctly.
25281 lt_compile=`echo "$ac_compile" | $SED \
25282 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25283 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25284 -e 's:$: $lt_compiler_flag:'`
25285 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25286 (eval "$lt_compile" 2>out/conftest.err)
25288 cat out/conftest.err >&5
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 if (exit $ac_status) && test -s out/conftest2.$ac_objext
25292 # The compiler can only warn and ignore the option if not recognized
25293 # So say no if there are warnings
25294 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
25295 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25296 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25297 lt_cv_prog_compiler_c_o_GO=yes
25302 # SGI C++ compiler will create directory out/ii_files/ for
25303 # template instantiation
25304 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
25305 $RM out/* && rmdir out
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
25312 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
25317 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25318 if ${lt_cv_prog_compiler_c_o_GO+:} false; then :
25319 $as_echo_n "(cached) " >&6
25321 lt_cv_prog_compiler_c_o_GO=no
25322 $RM -r conftest 2>/dev/null
25326 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25328 lt_compiler_flag="-o out/conftest2.$ac_objext"
25329 # Insert the option either (1) after the last *FLAGS variable, or
25330 # (2) before a word containing "conftest.", or (3) at the end.
25331 # Note that $ac_compile itself does not contain backslashes and begins
25332 # with a dollar sign (not a hyphen), so the echo should work correctly.
25333 lt_compile=`echo "$ac_compile" | $SED \
25334 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25335 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25336 -e 's:$: $lt_compiler_flag:'`
25337 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25338 (eval "$lt_compile" 2>out/conftest.err)
25340 cat out/conftest.err >&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 if (exit $ac_status) && test -s out/conftest2.$ac_objext
25344 # The compiler can only warn and ignore the option if not recognized
25345 # So say no if there are warnings
25346 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
25347 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25348 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25349 lt_cv_prog_compiler_c_o_GO=yes
25354 # SGI C++ compiler will create directory out/ii_files/ for
25355 # template instantiation
25356 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
25357 $RM out/* && rmdir out
25363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
25364 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
25369 hard_links=nottested
25370 if test no = "$lt_cv_prog_compiler_c_o_GO" && test no != "$need_locks"; then
25371 # do not overwrite the value of need_locks provided by the user
25372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
25373 $as_echo_n "checking if we can lock with hard links... " >&6; }
25376 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25378 ln conftest.a conftest.b 2>&5 || hard_links=no
25379 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
25381 $as_echo "$hard_links" >&6; }
25382 if test no = "$hard_links"; then
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
25384 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25394 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
25397 allow_undefined_flag_GO=
25398 always_export_symbols_GO=no
25400 archive_expsym_cmds_GO=
25401 compiler_needs_object_GO=no
25402 enable_shared_with_static_runtimes_GO=no
25403 export_dynamic_flag_spec_GO=
25404 export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
25405 hardcode_automatic_GO=no
25406 hardcode_direct_GO=no
25407 hardcode_direct_absolute_GO=no
25408 hardcode_libdir_flag_spec_GO=
25409 hardcode_libdir_separator_GO=
25410 hardcode_minus_L_GO=no
25411 hardcode_shlibpath_var_GO=unsupported
25412 inherit_rpath_GO=no
25413 link_all_deplibs_GO=unknown
25415 module_expsym_cmds_GO=
25416 old_archive_from_new_cmds_GO=
25417 old_archive_from_expsyms_cmds_GO=
25418 thread_safe_flag_spec_GO=
25419 whole_archive_flag_spec_GO=
25420 # include_expsyms should be a list of space-separated symbols to be *always*
25421 # included in the symbol list
25422 include_expsyms_GO=
25423 # exclude_expsyms can be an extended regexp of symbols to exclude
25424 # it will be wrapped by ' (' and ')$', so one must not match beginning or
25425 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
25426 # as well as any symbol that contains 'd'.
25427 exclude_expsyms_GO='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
25428 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
25429 # platforms (ab)use it in PIC code, but their linkers get confused if
25430 # the symbol is explicitly referenced. Since portable code cannot
25431 # rely on this symbol name, it's probably fine to never include it in
25432 # preloaded symbol tables.
25433 # Exclude shared library initialization/finalization symbols.
25434 extract_expsyms_cmds=
25437 cygwin* | mingw* | pw32* | cegcc*)
25438 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
25439 # When not using gcc, we currently assume that we are using
25440 # Microsoft Visual C++ or Intel C++ Compiler.
25441 if test yes != "$GCC"; then
25446 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
25449 openbsd* | bitrig*)
25456 # On some targets, GNU ld is compatible enough with the native linker
25457 # that we're better off using the native interface for both.
25458 lt_use_gnu_ld_interface=no
25459 if test yes = "$with_gnu_ld"; then
25462 # The AIX port of GNU ld has always aspired to compatibility
25463 # with the native linker. However, as the warning in the GNU ld
25464 # block says, versions before 2.19.5* couldn't really create working
25465 # shared libraries, regardless of the interface used.
25466 case `$LD -v 2>&1` in
25467 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
25468 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
25469 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
25471 lt_use_gnu_ld_interface=yes
25476 lt_use_gnu_ld_interface=yes
25481 if test yes = "$lt_use_gnu_ld_interface"; then
25482 # If archive_cmds runs LD, not CC, wlarc should be empty
25485 # Set some defaults for GNU ld with shared library support. These
25486 # are reset later if shared libraries are not supported. Putting them
25487 # here allows them to be overridden if necessary.
25488 runpath_var=LD_RUN_PATH
25489 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
25490 export_dynamic_flag_spec_GO='$wl--export-dynamic'
25491 # ancient GNU ld didn't support --whole-archive et. al.
25492 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
25493 whole_archive_flag_spec_GO=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
25495 whole_archive_flag_spec_GO=
25497 supports_anon_versioning=no
25498 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
25499 *GNU\ gold*) supports_anon_versioning=yes ;;
25500 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
25501 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
25502 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
25503 *\ 2.11.*) ;; # other 2.11 versions
25504 *) supports_anon_versioning=yes ;;
25507 # See if GNU ld supports shared libraries.
25510 # On AIX/PPC, the GNU linker is very broken
25511 if test ia64 != "$host_cpu"; then
25515 *** Warning: the GNU linker, at least up to release 2.19, is reported
25516 *** to be unable to reliably create shared libraries on AIX.
25517 *** Therefore, libtool is disabling shared libraries support. If you
25518 *** really care for shared libraries, you may want to install binutils
25519 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
25520 *** You will then need to restart the configuration process.
25529 # see comment about AmigaOS4 .so support
25530 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25531 archive_expsym_cmds_GO=''
25534 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)'
25535 hardcode_libdir_flag_spec_GO='-L$libdir'
25536 hardcode_minus_L_GO=yes
25542 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25543 allow_undefined_flag_GO=unsupported
25544 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
25545 # support --undefined. This deserves some investigation. FIXME
25546 archive_cmds_GO='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25552 cygwin* | mingw* | pw32* | cegcc*)
25553 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
25554 # as there is no search path for DLLs.
25555 hardcode_libdir_flag_spec_GO='-L$libdir'
25556 export_dynamic_flag_spec_GO='$wl--export-all-symbols'
25557 allow_undefined_flag_GO=unsupported
25558 always_export_symbols_GO=no
25559 enable_shared_with_static_runtimes_GO=yes
25560 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'
25561 exclude_expsyms_GO='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
25563 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
25564 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25565 # If the export-symbols file already is a .def file, use it as
25566 # is; otherwise, prepend EXPORTS...
25567 archive_expsym_cmds_GO='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
25568 cp $export_symbols $output_objdir/$soname.def;
25570 echo EXPORTS > $output_objdir/$soname.def;
25571 cat $export_symbols >> $output_objdir/$soname.def;
25573 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25580 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25581 link_all_deplibs_GO=yes
25585 hardcode_libdir_flag_spec_GO='-L$libdir'
25586 hardcode_minus_L_GO=yes
25587 allow_undefined_flag_GO=unsupported
25589 archive_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
25590 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
25591 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
25592 $ECHO EXPORTS >> $output_objdir/$libname.def~
25593 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
25594 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
25595 emximp -o $lib $output_objdir/$libname.def'
25596 archive_expsym_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
25597 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
25598 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
25599 $ECHO EXPORTS >> $output_objdir/$libname.def~
25600 prefix_cmds="$SED"~
25601 if test EXPORTS = "`$SED 1q $export_symbols`"; then
25602 prefix_cmds="$prefix_cmds -e 1d";
25604 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
25605 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
25606 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
25607 emximp -o $lib $output_objdir/$libname.def'
25608 old_archive_From_new_cmds_GO='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
25609 enable_shared_with_static_runtimes_GO=yes
25610 file_list_spec_GO='@'
25614 hardcode_direct_GO=no
25615 hardcode_shlibpath_var_GO=no
25616 hardcode_libdir_flag_spec_GO='$wl-rpath,$libdir'
25617 export_dynamic_flag_spec_GO='$wl-E'
25618 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
25619 # Instead, shared libraries are loaded at an image base (0x10000000 by
25620 # default) and relocated if they conflict, which is a slow very memory
25621 # consuming and fragmenting process. To avoid this, we pick a random,
25622 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
25623 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
25624 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'
25625 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'
25628 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
25630 if test linux-dietlibc = "$host_os"; then
25631 case $cc_basename in
25632 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
25635 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
25636 && test no = "$tmp_diet"
25638 tmp_addflag=' $pic_flag'
25639 tmp_sharedflag='-shared'
25640 case $cc_basename,$host_cpu in
25641 pgcc*) # Portland Group C compiler
25642 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'
25643 tmp_addflag=' $pic_flag'
25645 pgf77* | pgf90* | pgf95* | pgfortran*)
25646 # Portland Group f77 and f90 compilers
25647 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'
25648 tmp_addflag=' $pic_flag -Mnomain' ;;
25649 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
25650 tmp_addflag=' -i_dynamic' ;;
25651 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
25652 tmp_addflag=' -i_dynamic -nofor_main' ;;
25653 ifc* | ifort*) # Intel Fortran compiler
25654 tmp_addflag=' -nofor_main' ;;
25655 lf95*) # Lahey Fortran 8.1
25656 whole_archive_flag_spec_GO=
25657 tmp_sharedflag='--shared' ;;
25658 nagfor*) # NAGFOR 5.3
25659 tmp_sharedflag='-Wl,-shared' ;;
25660 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
25661 tmp_sharedflag='-qmkshrobj'
25663 nvcc*) # Cuda Compiler Driver 2.2
25664 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'
25665 compiler_needs_object_GO=yes
25668 case `$CC -V 2>&1 | $SED 5q` in
25669 *Sun\ C*) # Sun C 5.9
25670 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'
25671 compiler_needs_object_GO=yes
25672 tmp_sharedflag='-G' ;;
25673 *Sun\ F*) # Sun Fortran 8.3
25674 tmp_sharedflag='-G' ;;
25676 archive_cmds_GO='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25678 if test yes = "$supports_anon_versioning"; then
25679 archive_expsym_cmds_GO='echo "{ global:" > $output_objdir/$libname.ver~
25680 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25681 echo "local: *; };" >> $output_objdir/$libname.ver~
25682 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
25685 case $cc_basename in
25687 export_dynamic_flag_spec_GO='-rdynamic'
25689 xlf* | bgf* | bgxlf* | mpixlf*)
25690 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
25691 whole_archive_flag_spec_GO='--whole-archive$convenience --no-whole-archive'
25692 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
25693 archive_cmds_GO='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
25694 if test yes = "$supports_anon_versioning"; then
25695 archive_expsym_cmds_GO='echo "{ global:" > $output_objdir/$libname.ver~
25696 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25697 echo "local: *; };" >> $output_objdir/$libname.ver~
25698 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
25708 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
25709 archive_cmds_GO='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
25712 archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25713 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'
25718 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
25722 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
25723 *** create shared libraries on Solaris systems. Therefore, libtool
25724 *** is disabling shared libraries support. We urge you to upgrade GNU
25725 *** binutils to release 2.9.1 or newer. Another option is to modify
25726 *** your PATH or compiler configuration so that the native linker is
25727 *** used, and then restart.
25730 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25731 archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25732 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'
25738 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
25739 case `$LD -v 2>&1` in
25740 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
25744 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
25745 *** reliably create shared libraries on SCO systems. Therefore, libtool
25746 *** is disabling shared libraries support. We urge you to upgrade GNU
25747 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
25748 *** your PATH or compiler configuration so that the native linker is
25749 *** used, and then restart.
25754 # For security reasons, it is highly recommended that you always
25755 # use absolute paths for naming shared libraries, and exclude the
25756 # DT_RUNPATH tag from executables and libraries. But doing so
25757 # requires that you compile everything twice, which is a pain.
25758 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25759 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
25760 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25761 archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
25770 archive_cmds_GO='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25772 hardcode_direct_GO=yes
25773 hardcode_shlibpath_var_GO=no
25777 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25778 archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25779 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'
25786 if test no = "$ld_shlibs_GO"; then
25788 hardcode_libdir_flag_spec_GO=
25789 export_dynamic_flag_spec_GO=
25790 whole_archive_flag_spec_GO=
25793 # PORTME fill in a description of your system's linker (not GNU ld)
25796 allow_undefined_flag_GO=unsupported
25797 always_export_symbols_GO=yes
25798 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'
25799 # Note: this linker hardcodes the directories in LIBPATH if there
25800 # are no directories specified by -L.
25801 hardcode_minus_L_GO=yes
25802 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
25803 # Neither direct hardcoding nor static linking is supported with a
25805 hardcode_direct_GO=unsupported
25810 if test ia64 = "$host_cpu"; then
25811 # On IA64, the linker does run time linking by default, so we don't
25812 # have to do anything special.
25813 aix_use_runtimelinking=no
25814 exp_sym_flag='-Bexport'
25817 # If we're using GNU nm, then we don't want the "-C" option.
25818 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
25819 # Without the "-l" option, or with the "-B" option, AIX nm treats
25820 # weak defined symbols like other global defined symbols, whereas
25821 # GNU nm marks them as "W".
25822 # While the 'weak' keyword is ignored in the Export File, we need
25823 # it in the Import File for the 'aix-soname' feature, so we have
25824 # to replace the "-B" option with "-P" for AIX nm.
25825 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
25826 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'
25828 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 == "L") || (\$ 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'
25830 aix_use_runtimelinking=no
25832 # Test if we are trying to use run time linking or normal
25833 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
25834 # have runtime linking enabled, and use it for executables.
25835 # For shared libraries, we enable/disable runtime linking
25836 # depending on the kind of the shared library created -
25837 # when "with_aix_soname,aix_use_runtimelinking" is:
25838 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
25839 # "aix,yes" lib.so shared, rtl:yes, for executables
25840 # lib.a static archive
25841 # "both,no" lib.so.V(shr.o) shared, rtl:yes
25842 # lib.a(lib.so.V) shared, rtl:no, for executables
25843 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
25844 # lib.a(lib.so.V) shared, rtl:no
25845 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
25846 # lib.a static archive
25847 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
25848 for ld_flag in $LDFLAGS; do
25849 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
25850 aix_use_runtimelinking=yes
25854 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
25855 # With aix-soname=svr4, we create the lib.so.V shared archives only,
25856 # so we don't have lib.a shared libs to link our executables.
25857 # We have to force runtime linking in this case.
25858 aix_use_runtimelinking=yes
25859 LDFLAGS="$LDFLAGS -Wl,-brtl"
25864 exp_sym_flag='-bexport'
25865 no_entry_flag='-bnoentry'
25868 # When large executables or shared objects are built, AIX ld can
25869 # have problems creating the table of contents. If linking a library
25870 # or program results in "error TOC overflow" add -mminimal-toc to
25871 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
25872 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
25875 hardcode_direct_GO=yes
25876 hardcode_direct_absolute_GO=yes
25877 hardcode_libdir_separator_GO=':'
25878 link_all_deplibs_GO=yes
25879 file_list_spec_GO='$wl-f,'
25880 case $with_aix_soname,$aix_use_runtimelinking in
25881 aix,*) ;; # traditional, no import file
25882 svr4,* | *,yes) # use import file
25883 # The Import File defines what to hardcode.
25884 hardcode_direct_GO=no
25885 hardcode_direct_absolute_GO=no
25889 if test yes = "$GCC"; then
25890 case $host_os in aix4.[012]|aix4.[012].*)
25891 # We only want to do this on AIX 4.2 and lower, the check
25892 # below for broken collect2 doesn't work under 4.3+
25893 collect2name=`$CC -print-prog-name=collect2`
25894 if test -f "$collect2name" &&
25895 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
25897 # We have reworked collect2
25900 # We have old collect2
25901 hardcode_direct_GO=unsupported
25902 # It fails to find uninstalled libraries when the uninstalled
25903 # path is not listed in the libpath. Setting hardcode_minus_L
25904 # to unsupported forces relinking
25905 hardcode_minus_L_GO=yes
25906 hardcode_libdir_flag_spec_GO='-L$libdir'
25907 hardcode_libdir_separator_GO=
25911 shared_flag='-shared'
25912 if test yes = "$aix_use_runtimelinking"; then
25913 shared_flag="$shared_flag "'$wl-G'
25915 # Need to ensure runtime linking is disabled for the traditional
25916 # shared library, or the linker may eventually find shared libraries
25917 # /with/ Import File - we do not want to mix them.
25918 shared_flag_aix='-shared'
25919 shared_flag_svr4='-shared $wl-G'
25922 if test ia64 = "$host_cpu"; then
25923 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
25924 # chokes on -Wl,-G. The following line is correct:
25927 if test yes = "$aix_use_runtimelinking"; then
25928 shared_flag='$wl-G'
25930 shared_flag='$wl-bM:SRE'
25932 shared_flag_aix='$wl-bM:SRE'
25933 shared_flag_svr4='$wl-G'
25937 export_dynamic_flag_spec_GO='$wl-bexpall'
25938 # It seems that -bexpall does not export symbols beginning with
25939 # underscore (_), so it is better to generate a list of symbols to export.
25940 always_export_symbols_GO=yes
25941 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
25942 # Warning - without using the other runtime loading flags (-brtl),
25943 # -berok will link without error, but may produce a broken library.
25944 allow_undefined_flag_GO='-berok'
25945 # Determine the default libpath from the value encoded in an
25946 # empty executable.
25947 if test set = "${lt_cv_aix_libpath+set}"; then
25948 aix_libpath=$lt_cv_aix_libpath
25950 if ${lt_cv_aix_libpath__GO+:} false; then :
25951 $as_echo_n "(cached) " >&6
25953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25954 /* end confdefs.h. */
25964 if ac_fn_c_try_link "$LINENO"; then :
25966 lt_aix_libpath_sed='
25967 /Import File Strings/,/^$/ {
25969 s/^0 *\([^ ]*\) *$/\1/
25973 lt_cv_aix_libpath__GO=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25974 # Check for a 64-bit object if we didn't find anything.
25975 if test -z "$lt_cv_aix_libpath__GO"; then
25976 lt_cv_aix_libpath__GO=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25979 rm -f core conftest.err conftest.$ac_objext \
25980 conftest$ac_exeext conftest.$ac_ext
25981 if test -z "$lt_cv_aix_libpath__GO"; then
25982 lt_cv_aix_libpath__GO=/usr/lib:/lib
25987 aix_libpath=$lt_cv_aix_libpath__GO
25990 hardcode_libdir_flag_spec_GO='$wl-blibpath:$libdir:'"$aix_libpath"
25991 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
25993 if test ia64 = "$host_cpu"; then
25994 hardcode_libdir_flag_spec_GO='$wl-R $libdir:/usr/lib:/lib'
25995 allow_undefined_flag_GO="-z nodefs"
25996 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"
25998 # Determine the default libpath from the value encoded in an
25999 # empty executable.
26000 if test set = "${lt_cv_aix_libpath+set}"; then
26001 aix_libpath=$lt_cv_aix_libpath
26003 if ${lt_cv_aix_libpath__GO+:} false; then :
26004 $as_echo_n "(cached) " >&6
26006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26007 /* end confdefs.h. */
26017 if ac_fn_c_try_link "$LINENO"; then :
26019 lt_aix_libpath_sed='
26020 /Import File Strings/,/^$/ {
26022 s/^0 *\([^ ]*\) *$/\1/
26026 lt_cv_aix_libpath__GO=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26027 # Check for a 64-bit object if we didn't find anything.
26028 if test -z "$lt_cv_aix_libpath__GO"; then
26029 lt_cv_aix_libpath__GO=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26032 rm -f core conftest.err conftest.$ac_objext \
26033 conftest$ac_exeext conftest.$ac_ext
26034 if test -z "$lt_cv_aix_libpath__GO"; then
26035 lt_cv_aix_libpath__GO=/usr/lib:/lib
26040 aix_libpath=$lt_cv_aix_libpath__GO
26043 hardcode_libdir_flag_spec_GO='$wl-blibpath:$libdir:'"$aix_libpath"
26044 # Warning - without using the other run time loading flags,
26045 # -berok will link without error, but may produce a broken library.
26046 no_undefined_flag_GO=' $wl-bernotok'
26047 allow_undefined_flag_GO=' $wl-berok'
26048 if test yes = "$with_gnu_ld"; then
26049 # We only use this code for GNU lds that support --whole-archive.
26050 whole_archive_flag_spec_GO='$wl--whole-archive$convenience $wl--no-whole-archive'
26052 # Exported symbols can be pulled into shared objects from archives
26053 whole_archive_flag_spec_GO='$convenience'
26055 archive_cmds_need_lc_GO=yes
26056 archive_expsym_cmds_GO='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
26057 # -brtl affects multiple linker settings, -berok does not and is overridden later
26058 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
26059 if test svr4 != "$with_aix_soname"; then
26060 # This is similar to how AIX traditionally builds its shared libraries.
26061 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'
26063 if test aix != "$with_aix_soname"; then
26064 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'
26066 # used by -dlpreopen to get the symbols
26067 archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
26069 archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$RM -r $output_objdir/$realname.d'
26077 # see comment about AmigaOS4 .so support
26078 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
26079 archive_expsym_cmds_GO=''
26082 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)'
26083 hardcode_libdir_flag_spec_GO='-L$libdir'
26084 hardcode_minus_L_GO=yes
26090 export_dynamic_flag_spec_GO=-rdynamic
26093 cygwin* | mingw* | pw32* | cegcc*)
26094 # When not using gcc, we currently assume that we are using
26095 # Microsoft Visual C++ or Intel C++ Compiler.
26096 # hardcode_libdir_flag_spec is actually meaningless, as there is
26097 # no search path for DLLs.
26098 case $cc_basename in
26100 # Native MSVC or ICC
26101 hardcode_libdir_flag_spec_GO=' '
26102 allow_undefined_flag_GO=unsupported
26103 always_export_symbols_GO=yes
26104 file_list_spec_GO='@'
26105 # Tell ltmain to make .lib files, not .a files.
26107 # Tell ltmain to make .dll files, not .so files.
26109 # FIXME: Setting linknames here is a bad hack.
26110 archive_cmds_GO='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
26111 archive_expsym_cmds_GO='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
26112 cp "$export_symbols" "$output_objdir/$soname.def";
26113 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
26115 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
26117 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
26119 # The linker will not automatically build a static lib if we build a DLL.
26120 # _LT_TAGVAR(old_archive_from_new_cmds, GO)='true'
26121 enable_shared_with_static_runtimes_GO=yes
26122 exclude_expsyms_GO='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
26123 export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
26125 old_postinstall_cmds_GO='chmod 644 $oldlib'
26126 postlink_cmds_GO='lt_outputfile="@OUTPUT@"~
26127 lt_tool_outputfile="@TOOL_OUTPUT@"~
26128 case $lt_outputfile in
26131 lt_outputfile=$lt_outputfile.exe
26132 lt_tool_outputfile=$lt_tool_outputfile.exe
26135 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
26136 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
26137 $RM "$lt_outputfile.manifest";
26141 # Assume MSVC and ICC wrapper
26142 hardcode_libdir_flag_spec_GO=' '
26143 allow_undefined_flag_GO=unsupported
26144 # Tell ltmain to make .lib files, not .a files.
26146 # Tell ltmain to make .dll files, not .so files.
26148 # FIXME: Setting linknames here is a bad hack.
26149 archive_cmds_GO='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
26150 # The linker will automatically build a .lib file if we build a DLL.
26151 old_archive_from_new_cmds_GO='true'
26152 # FIXME: Should let the user specify the lib program.
26153 old_archive_cmds_GO='lib -OUT:$oldlib$oldobjs$old_deplibs'
26154 enable_shared_with_static_runtimes_GO=yes
26159 darwin* | rhapsody*)
26162 archive_cmds_need_lc_GO=no
26163 hardcode_direct_GO=no
26164 hardcode_automatic_GO=yes
26165 hardcode_shlibpath_var_GO=unsupported
26166 if test yes = "$lt_cv_ld_force_load"; then
26167 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\"`'
26170 whole_archive_flag_spec_GO=''
26172 link_all_deplibs_GO=yes
26173 allow_undefined_flag_GO=$_lt_dar_allow_undefined
26174 case $cc_basename in
26175 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
26176 *) _lt_dar_can_shared=$GCC ;;
26178 if test yes = "$_lt_dar_can_shared"; then
26179 output_verbose_link_cmd=func_echo_all
26180 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"
26181 module_cmds_GO="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
26182 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"
26183 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"
26192 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26193 hardcode_libdir_flag_spec_GO='-L$libdir'
26194 hardcode_shlibpath_var_GO=no
26197 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
26198 # support. Future versions do this automatically, but an explicit c++rt0.o
26199 # does not break anything, and helps significantly (at the cost of a little
26202 archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
26203 hardcode_libdir_flag_spec_GO='-R$libdir'
26204 hardcode_direct_GO=yes
26205 hardcode_shlibpath_var_GO=no
26208 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
26210 archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
26211 hardcode_direct_GO=yes
26212 hardcode_minus_L_GO=yes
26213 hardcode_shlibpath_var_GO=no
26216 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
26217 freebsd* | dragonfly* | midnightbsd*)
26218 archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26219 hardcode_libdir_flag_spec_GO='-R$libdir'
26220 hardcode_direct_GO=yes
26221 hardcode_shlibpath_var_GO=no
26225 if test yes = "$GCC"; then
26226 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'
26228 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'
26230 hardcode_libdir_flag_spec_GO='$wl+b $wl$libdir'
26231 hardcode_libdir_separator_GO=:
26232 hardcode_direct_GO=yes
26234 # hardcode_minus_L: Not really in the search PATH,
26235 # but as the default location of the library.
26236 hardcode_minus_L_GO=yes
26237 export_dynamic_flag_spec_GO='$wl-E'
26241 if test yes,no = "$GCC,$with_gnu_ld"; then
26242 archive_cmds_GO='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26244 archive_cmds_GO='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
26246 if test no = "$with_gnu_ld"; then
26247 hardcode_libdir_flag_spec_GO='$wl+b $wl$libdir'
26248 hardcode_libdir_separator_GO=:
26249 hardcode_direct_GO=yes
26250 hardcode_direct_absolute_GO=yes
26251 export_dynamic_flag_spec_GO='$wl-E'
26252 # hardcode_minus_L: Not really in the search PATH,
26253 # but as the default location of the library.
26254 hardcode_minus_L_GO=yes
26259 if test yes,no = "$GCC,$with_gnu_ld"; then
26262 archive_cmds_GO='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
26265 archive_cmds_GO='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26268 archive_cmds_GO='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26274 archive_cmds_GO='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
26277 archive_cmds_GO='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26280 archive_cmds_GO='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26284 if test no = "$with_gnu_ld"; then
26285 hardcode_libdir_flag_spec_GO='$wl+b $wl$libdir'
26286 hardcode_libdir_separator_GO=:
26290 hardcode_direct_GO=no
26291 hardcode_shlibpath_var_GO=no
26294 hardcode_direct_GO=yes
26295 hardcode_direct_absolute_GO=yes
26296 export_dynamic_flag_spec_GO='$wl-E'
26298 # hardcode_minus_L: Not really in the search PATH,
26299 # but as the default location of the library.
26300 hardcode_minus_L_GO=yes
26306 irix5* | irix6* | nonstopux*)
26307 if test yes = "$GCC"; then
26308 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'
26309 # Try to use the -exported_symbol ld option, if it does not
26310 # work, assume that -exports_file does not work either and
26311 # implicitly export all symbols.
26312 # This should be the same for all languages, so no per-tag cache variable.
26313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
26314 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
26315 if ${lt_cv_irix_exported_symbol+:} false; then :
26316 $as_echo_n "(cached) " >&6
26318 save_LDFLAGS=$LDFLAGS
26319 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
26320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26321 /* end confdefs.h. */
26322 int foo (void) { return 0; }
26324 if ac_fn_c_try_link "$LINENO"; then :
26325 lt_cv_irix_exported_symbol=yes
26327 lt_cv_irix_exported_symbol=no
26329 rm -f core conftest.err conftest.$ac_objext \
26330 conftest$ac_exeext conftest.$ac_ext
26331 LDFLAGS=$save_LDFLAGS
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
26334 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
26335 if test yes = "$lt_cv_irix_exported_symbol"; then
26336 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'
26339 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'
26340 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'
26342 archive_cmds_need_lc_GO='no'
26343 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26344 hardcode_libdir_separator_GO=:
26345 inherit_rpath_GO=yes
26346 link_all_deplibs_GO=yes
26350 case $cc_basename in
26352 # Fabrice Bellard et al's Tiny C Compiler
26354 archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26360 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
26361 archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
26363 archive_cmds_GO='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
26365 hardcode_libdir_flag_spec_GO='-R$libdir'
26366 hardcode_direct_GO=yes
26367 hardcode_shlibpath_var_GO=no
26371 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26372 hardcode_direct_GO=yes
26373 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26374 hardcode_libdir_separator_GO=:
26375 hardcode_shlibpath_var_GO=no
26381 openbsd* | bitrig*)
26382 if test -f /usr/libexec/ld.so; then
26383 hardcode_direct_GO=yes
26384 hardcode_shlibpath_var_GO=no
26385 hardcode_direct_absolute_GO=yes
26386 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
26387 archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26388 archive_expsym_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
26389 hardcode_libdir_flag_spec_GO='$wl-rpath,$libdir'
26390 export_dynamic_flag_spec_GO='$wl-E'
26392 archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26393 hardcode_libdir_flag_spec_GO='$wl-rpath,$libdir'
26401 hardcode_libdir_flag_spec_GO='-L$libdir'
26402 hardcode_minus_L_GO=yes
26403 allow_undefined_flag_GO=unsupported
26405 archive_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
26406 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
26407 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
26408 $ECHO EXPORTS >> $output_objdir/$libname.def~
26409 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
26410 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
26411 emximp -o $lib $output_objdir/$libname.def'
26412 archive_expsym_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
26413 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
26414 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
26415 $ECHO EXPORTS >> $output_objdir/$libname.def~
26416 prefix_cmds="$SED"~
26417 if test EXPORTS = "`$SED 1q $export_symbols`"; then
26418 prefix_cmds="$prefix_cmds -e 1d";
26420 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
26421 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
26422 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
26423 emximp -o $lib $output_objdir/$libname.def'
26424 old_archive_From_new_cmds_GO='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
26425 enable_shared_with_static_runtimes_GO=yes
26426 file_list_spec_GO='@'
26430 if test yes = "$GCC"; then
26431 allow_undefined_flag_GO=' $wl-expect_unresolved $wl\*'
26432 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'
26434 allow_undefined_flag_GO=' -expect_unresolved \*'
26435 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'
26437 archive_cmds_need_lc_GO='no'
26438 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26439 hardcode_libdir_separator_GO=:
26442 osf4* | osf5*) # as osf3* with the addition of -msym flag
26443 if test yes = "$GCC"; then
26444 allow_undefined_flag_GO=' $wl-expect_unresolved $wl\*'
26445 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'
26446 hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26448 allow_undefined_flag_GO=' -expect_unresolved \*'
26449 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'
26450 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~
26451 $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'
26453 # Both c and cxx compiler support -rpath directly
26454 hardcode_libdir_flag_spec_GO='-rpath $libdir'
26456 archive_cmds_need_lc_GO='no'
26457 hardcode_libdir_separator_GO=:
26461 no_undefined_flag_GO=' -z defs'
26462 if test yes = "$GCC"; then
26464 archive_cmds_GO='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
26465 archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26466 $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'
26468 case `$CC -V 2>&1` in
26471 archive_cmds_GO='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
26472 archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26473 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
26477 archive_cmds_GO='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
26478 archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26479 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
26483 hardcode_libdir_flag_spec_GO='-R$libdir'
26484 hardcode_shlibpath_var_GO=no
26486 solaris2.[0-5] | solaris2.[0-5].*) ;;
26488 # The compiler driver will combine and reorder linker options,
26489 # but understands '-z linker_flag'. GCC discards it without '$wl',
26490 # but is careful enough not to reorder.
26491 # Supported since Solaris 2.6 (maybe 2.5.1?)
26492 if test yes = "$GCC"; then
26493 whole_archive_flag_spec_GO='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
26495 whole_archive_flag_spec_GO='-z allextract$convenience -z defaultextract'
26499 link_all_deplibs_GO=yes
26503 if test sequent = "$host_vendor"; then
26504 # Use $CC to link under sequent, because it throws in some extra .o
26505 # files that make .init and .fini sections work.
26506 archive_cmds_GO='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
26508 archive_cmds_GO='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
26510 hardcode_libdir_flag_spec_GO='-L$libdir'
26511 hardcode_direct_GO=yes
26512 hardcode_minus_L_GO=yes
26513 hardcode_shlibpath_var_GO=no
26517 case $host_vendor in
26519 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26520 hardcode_direct_GO=yes # is this really true???
26523 ## LD is ld it makes a PLAMLIB
26524 ## CC just makes a GrossModule.
26525 archive_cmds_GO='$LD -G -o $lib $libobjs $deplibs $linker_flags'
26526 reload_cmds_GO='$CC -r -o $output$reload_objs'
26527 hardcode_direct_GO=no
26530 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26531 hardcode_direct_GO=no #Motorola manual says yes, but my tests say they lie
26534 runpath_var='LD_RUN_PATH'
26535 hardcode_shlibpath_var_GO=no
26539 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26540 hardcode_shlibpath_var_GO=no
26541 export_dynamic_flag_spec_GO='-Bexport'
26545 if test -d /usr/nec; then
26546 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26547 hardcode_shlibpath_var_GO=no
26548 runpath_var=LD_RUN_PATH
26549 hardcode_runpath_var=yes
26554 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
26555 no_undefined_flag_GO='$wl-z,text'
26556 archive_cmds_need_lc_GO=no
26557 hardcode_shlibpath_var_GO=no
26558 runpath_var='LD_RUN_PATH'
26560 if test yes = "$GCC"; then
26561 archive_cmds_GO='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26562 archive_expsym_cmds_GO='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26564 archive_cmds_GO='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26565 archive_expsym_cmds_GO='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26569 sysv5* | sco3.2v5* | sco5v6*)
26570 # Note: We CANNOT use -z defs as we might desire, because we do not
26571 # link with -lc, and that would cause any symbols used from libc to
26572 # always be unresolved, which means just about no library would
26573 # ever link correctly. If we're not using GNU ld we use -z text
26574 # though, which does catch some bad symbols but isn't as heavy-handed
26576 no_undefined_flag_GO='$wl-z,text'
26577 allow_undefined_flag_GO='$wl-z,nodefs'
26578 archive_cmds_need_lc_GO=no
26579 hardcode_shlibpath_var_GO=no
26580 hardcode_libdir_flag_spec_GO='$wl-R,$libdir'
26581 hardcode_libdir_separator_GO=':'
26582 link_all_deplibs_GO=yes
26583 export_dynamic_flag_spec_GO='$wl-Bexport'
26584 runpath_var='LD_RUN_PATH'
26586 if test yes = "$GCC"; then
26587 archive_cmds_GO='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26588 archive_expsym_cmds_GO='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26590 archive_cmds_GO='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26591 archive_expsym_cmds_GO='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26596 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26597 hardcode_libdir_flag_spec_GO='-L$libdir'
26598 hardcode_shlibpath_var_GO=no
26606 if test sni = "$host_vendor"; then
26608 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
26609 export_dynamic_flag_spec_GO='$wl-Blargedynsym'
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
26616 $as_echo "$ld_shlibs_GO" >&6; }
26617 test no = "$ld_shlibs_GO" && can_build_shared=no
26619 with_gnu_ld_GO=$with_gnu_ld
26627 # Do we need to explicitly link libc?
26629 case "x$archive_cmds_need_lc_GO" in
26631 # Assume -lc should be added
26632 archive_cmds_need_lc_GO=yes
26634 if test yes,yes = "$GCC,$enable_shared"; then
26635 case $archive_cmds_GO in
26637 # FIXME: we may have to deal with multi-command sequences.
26640 # Test whether the compiler implicitly links with -lc since on some
26641 # systems, -lgcc has to come before -lc. If gcc already passes -lc
26642 # to ld, don't add -lc before -lgcc.
26643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
26644 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
26645 if ${lt_cv_archive_cmds_need_lc_GO+:} false; then :
26646 $as_echo_n "(cached) " >&6
26649 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
26652 (eval $ac_compile) 2>&5
26654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26655 test $ac_status = 0; } 2>conftest.err; then
26658 libobjs=conftest.$ac_objext
26660 wl=$lt_prog_compiler_wl_GO
26661 pic_flag=$lt_prog_compiler_pic_GO
26667 lt_save_allow_undefined_flag=$allow_undefined_flag_GO
26668 allow_undefined_flag_GO=
26669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
26670 (eval $archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
26672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26673 test $ac_status = 0; }
26675 lt_cv_archive_cmds_need_lc_GO=no
26677 lt_cv_archive_cmds_need_lc_GO=yes
26679 allow_undefined_flag_GO=$lt_save_allow_undefined_flag
26681 cat conftest.err 1>&5
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
26687 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
26688 archive_cmds_need_lc_GO=$lt_cv_archive_cmds_need_lc_GO
26756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
26757 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
26758 hardcode_action_GO=
26759 if test -n "$hardcode_libdir_flag_spec_GO" ||
26760 test -n "$runpath_var_GO" ||
26761 test yes = "$hardcode_automatic_GO"; then
26763 # We can hardcode non-existent directories.
26764 if test no != "$hardcode_direct_GO" &&
26765 # If the only mechanism to avoid hardcoding is shlibpath_var, we
26766 # have to relink, otherwise we might link with an installed library
26767 # when we should be linking with a yet-to-be-installed one
26768 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" &&
26769 test no != "$hardcode_minus_L_GO"; then
26770 # Linking always hardcodes the temporary library directory.
26771 hardcode_action_GO=relink
26773 # We can link without hardcoding, and we can hardcode nonexisting dirs.
26774 hardcode_action_GO=immediate
26777 # We cannot hardcode anything, or else we can only hardcode existing
26779 hardcode_action_GO=unsupported
26781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
26782 $as_echo "$hardcode_action_GO" >&6; }
26784 if test relink = "$hardcode_action_GO" ||
26785 test yes = "$inherit_rpath_GO"; then
26786 # Fast installation is not supported
26787 enable_fast_install=no
26788 elif test yes = "$shlibpath_overrides_runpath" ||
26789 test no = "$enable_shared"; then
26790 # Fast installation is not necessary
26791 enable_fast_install=needless
26803 ac_cpp='$CPP $CPPFLAGS'
26804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26811 CFLAGS=$lt_save_CFLAGS
26813 if test -n "$ac_tool_prefix"; then
26814 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
26815 set dummy ${ac_tool_prefix}gcj; ac_word=$2
26816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26817 $as_echo_n "checking for $ac_word... " >&6; }
26818 if ${ac_cv_prog_GCJ+:} false; then :
26819 $as_echo_n "(cached) " >&6
26821 if test -n "$GCJ"; then
26822 ac_cv_prog_GCJ="$GCJ" # Let the user override the test.
26824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26825 for as_dir in $PATH
26828 test -z "$as_dir" && as_dir=.
26829 for ac_exec_ext in '' $ac_executable_extensions; do
26830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26831 ac_cv_prog_GCJ="${ac_tool_prefix}gcj"
26832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26841 GCJ=$ac_cv_prog_GCJ
26842 if test -n "$GCJ"; then
26843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
26844 $as_echo "$GCJ" >&6; }
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26847 $as_echo "no" >&6; }
26852 if test -z "$ac_cv_prog_GCJ"; then
26854 # Extract the first word of "gcj", so it can be a program name with args.
26855 set dummy gcj; ac_word=$2
26856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26857 $as_echo_n "checking for $ac_word... " >&6; }
26858 if ${ac_cv_prog_ac_ct_GCJ+:} false; then :
26859 $as_echo_n "(cached) " >&6
26861 if test -n "$ac_ct_GCJ"; then
26862 ac_cv_prog_ac_ct_GCJ="$ac_ct_GCJ" # Let the user override the test.
26864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26865 for as_dir in $PATH
26868 test -z "$as_dir" && as_dir=.
26869 for ac_exec_ext in '' $ac_executable_extensions; do
26870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26871 ac_cv_prog_ac_ct_GCJ="gcj"
26872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26881 ac_ct_GCJ=$ac_cv_prog_ac_ct_GCJ
26882 if test -n "$ac_ct_GCJ"; then
26883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
26884 $as_echo "$ac_ct_GCJ" >&6; }
26886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26887 $as_echo "no" >&6; }
26890 if test "x$ac_ct_GCJ" = x; then
26893 case $cross_compiling:$ac_tool_warned in
26895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26897 ac_tool_warned=yes ;;
26902 GCJ="$ac_cv_prog_GCJ"
26905 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
26909 # Source file extension for Java test sources.
26912 # Object file extension for compiled Java test sources.
26916 # Code to be used in simple compile tests
26917 lt_simple_compile_test_code="class foo {}"
26919 # Code to be used in simple link tests
26920 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
26922 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26929 # If no C compiler was specified, use CC.
26932 # If no C compiler flags were specified, use CFLAGS.
26933 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
26935 # Allow CC to be a program name with arguments.
26939 # save warnings/boilerplate of simple test code
26940 ac_outfile=conftest.$ac_objext
26941 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
26942 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26943 _lt_compiler_boilerplate=`cat conftest.err`
26946 ac_outfile=conftest.$ac_objext
26947 echo "$lt_simple_link_test_code" >conftest.$ac_ext
26948 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26949 _lt_linker_boilerplate=`cat conftest.err`
26953 # Allow CC to be a program name with arguments.
26955 lt_save_CFLAGS=$CFLAGS
26963 func_cc_basename $compiler
26964 cc_basename=$func_cc_basename_result
26967 # GCJ did not exist at the time GCC didn't implicitly link libc in.
26968 archive_cmds_need_lc_GCJ=no
26970 old_archive_cmds_GCJ=$old_archive_cmds
26971 reload_flag_GCJ=$reload_flag
26972 reload_cmds_GCJ=$reload_cmds
26975 ## There is no encapsulation within the following macros, do not change
26976 ## the running order or otherwise move them around unless you know exactly
26977 ## what you are doing...
26978 if test -n "$compiler"; then
26980 lt_prog_compiler_no_builtin_flag_GCJ=
26982 if test yes = "$GCC"; then
26983 case $cc_basename in
26985 lt_prog_compiler_no_builtin_flag_GCJ=' -Xcompiler -fno-builtin' ;;
26987 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' ;;
26990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
26991 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
26992 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
26993 $as_echo_n "(cached) " >&6
26995 lt_cv_prog_compiler_rtti_exceptions=no
26996 ac_outfile=conftest.$ac_objext
26997 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26998 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
26999 # Insert the option either (1) after the last *FLAGS variable, or
27000 # (2) before a word containing "conftest.", or (3) at the end.
27001 # Note that $ac_compile itself does not contain backslashes and begins
27002 # with a dollar sign (not a hyphen), so the echo should work correctly.
27003 # The option is referenced via a variable to avoid confusing sed.
27004 lt_compile=`echo "$ac_compile" | $SED \
27005 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27006 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27007 -e 's:$: $lt_compiler_flag:'`
27008 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
27009 (eval "$lt_compile" 2>conftest.err)
27011 cat conftest.err >&5
27012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27013 if (exit $ac_status) && test -s "$ac_outfile"; then
27014 # The compiler can only warn and ignore the option if not recognized
27015 # So say no if there are warnings other than the usual output.
27016 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
27017 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
27018 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
27019 lt_cv_prog_compiler_rtti_exceptions=yes
27025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
27026 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
27028 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
27029 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
27038 lt_prog_compiler_wl_GCJ=
27039 lt_prog_compiler_pic_GCJ=
27040 lt_prog_compiler_static_GCJ=
27043 if test yes = "$GCC"; then
27044 lt_prog_compiler_wl_GCJ='-Wl,'
27045 lt_prog_compiler_static_GCJ='-static'
27049 # All AIX code is PIC.
27050 if test ia64 = "$host_cpu"; then
27051 # AIX 5 now supports IA64 processor
27052 lt_prog_compiler_static_GCJ='-Bstatic'
27054 lt_prog_compiler_pic_GCJ='-fPIC'
27060 # see comment about AmigaOS4 .so support
27061 lt_prog_compiler_pic_GCJ='-fPIC'
27064 # FIXME: we need at least 68020 code to build shared libraries, but
27065 # adding the '-m68020' flag to GCC prevents building anything better,
27067 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
27072 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
27073 # PIC is the default for these OSes.
27076 mingw* | cygwin* | pw32* | os2* | cegcc*)
27077 # This hack is so that the source file can tell whether it is being
27078 # built for inclusion in a dll (and should export symbols for example).
27079 # Although the cygwin gcc ignores -fPIC, still need this for old-style
27080 # (--disable-auto-import) libraries
27084 lt_prog_compiler_static_GCJ='$wl-static'
27089 darwin* | rhapsody*)
27090 # PIC is the default on this platform
27091 # Common symbols not allowed in MH_DYLIB files
27092 lt_prog_compiler_pic_GCJ='-fno-common'
27096 # PIC is the default for Haiku.
27097 # The "-static" flag exists, but is broken.
27098 lt_prog_compiler_static_GCJ=
27102 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
27103 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
27104 # sets the default TLS model and affects inlining.
27110 lt_prog_compiler_pic_GCJ='-fPIC'
27116 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
27117 # Instead, we relocate shared libraries at runtime.
27121 # Just because we use GCC doesn't mean we suddenly get shared libraries
27122 # on systems that don't support them.
27123 lt_prog_compiler_can_build_shared_GCJ=no
27128 # QNX uses GNU C++, but need to define -shared option too, otherwise
27129 # it will coredump.
27130 lt_prog_compiler_pic_GCJ='-fPIC -shared'
27134 if test -d /usr/nec; then
27135 lt_prog_compiler_pic_GCJ=-Kconform_pic
27140 lt_prog_compiler_pic_GCJ='-fPIC'
27144 case $cc_basename in
27145 nvcc*) # Cuda Compiler Driver 2.2
27146 lt_prog_compiler_wl_GCJ='-Xlinker '
27147 if test -n "$lt_prog_compiler_pic_GCJ"; then
27148 lt_prog_compiler_pic_GCJ="-Xcompiler $lt_prog_compiler_pic_GCJ"
27153 # PORTME Check for flag to pass linker flags through the system compiler.
27156 lt_prog_compiler_wl_GCJ='-Wl,'
27157 if test ia64 = "$host_cpu"; then
27158 # AIX 5 now supports IA64 processor
27159 lt_prog_compiler_static_GCJ='-Bstatic'
27161 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
27165 darwin* | rhapsody*)
27166 # PIC is the default on this platform
27167 # Common symbols not allowed in MH_DYLIB files
27168 lt_prog_compiler_pic_GCJ='-fno-common'
27169 case $cc_basename in
27171 # NAG Fortran compiler
27172 lt_prog_compiler_wl_GCJ='-Wl,-Wl,,'
27173 lt_prog_compiler_pic_GCJ='-PIC'
27174 lt_prog_compiler_static_GCJ='-Bstatic'
27179 mingw* | cygwin* | pw32* | os2* | cegcc*)
27180 # This hack is so that the source file can tell whether it is being
27181 # built for inclusion in a dll (and should export symbols for example).
27185 lt_prog_compiler_static_GCJ='$wl-static'
27190 hpux9* | hpux10* | hpux11*)
27191 lt_prog_compiler_wl_GCJ='-Wl,'
27192 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
27193 # not for PA HP-UX.
27199 lt_prog_compiler_pic_GCJ='+Z'
27202 # Is there a better lt_prog_compiler_static that works with the bundled CC?
27203 lt_prog_compiler_static_GCJ='$wl-a ${wl}archive'
27206 irix5* | irix6* | nonstopux*)
27207 lt_prog_compiler_wl_GCJ='-Wl,'
27208 # PIC (with -KPIC) is the default.
27209 lt_prog_compiler_static_GCJ='-non_shared'
27212 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
27213 case $cc_basename in
27214 # old Intel for x86_64, which still supported -KPIC.
27216 lt_prog_compiler_wl_GCJ='-Wl,'
27217 lt_prog_compiler_pic_GCJ='-KPIC'
27218 lt_prog_compiler_static_GCJ='-static'
27220 # icc used to be incompatible with GCC.
27221 # ICC 10 doesn't accept -KPIC any more.
27223 lt_prog_compiler_wl_GCJ='-Wl,'
27224 lt_prog_compiler_pic_GCJ='-fPIC'
27225 lt_prog_compiler_static_GCJ='-static'
27227 # Lahey Fortran 8.1.
27229 lt_prog_compiler_wl_GCJ='-Wl,'
27230 lt_prog_compiler_pic_GCJ='--shared'
27231 lt_prog_compiler_static_GCJ='--static'
27234 # NAG Fortran compiler
27235 lt_prog_compiler_wl_GCJ='-Wl,-Wl,,'
27236 lt_prog_compiler_pic_GCJ='-PIC'
27237 lt_prog_compiler_static_GCJ='-Bstatic'
27240 # Fabrice Bellard et al's Tiny C Compiler
27241 lt_prog_compiler_wl_GCJ='-Wl,'
27242 lt_prog_compiler_pic_GCJ='-fPIC'
27243 lt_prog_compiler_static_GCJ='-static'
27245 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
27246 # Portland Group compilers (*not* the Pentium gcc compiler,
27247 # which looks to be a dead project)
27248 lt_prog_compiler_wl_GCJ='-Wl,'
27249 lt_prog_compiler_pic_GCJ='-fpic'
27250 lt_prog_compiler_static_GCJ='-Bstatic'
27253 lt_prog_compiler_wl_GCJ='-Wl,'
27254 # All Alpha code is PIC.
27255 lt_prog_compiler_static_GCJ='-non_shared'
27257 xl* | bgxl* | bgf* | mpixl*)
27258 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
27259 lt_prog_compiler_wl_GCJ='-Wl,'
27260 lt_prog_compiler_pic_GCJ='-qpic'
27261 lt_prog_compiler_static_GCJ='-qstaticlink'
27264 case `$CC -V 2>&1 | $SED 5q` in
27265 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
27266 # Sun Fortran 8.3 passes all unrecognized flags to the linker
27267 lt_prog_compiler_pic_GCJ='-KPIC'
27268 lt_prog_compiler_static_GCJ='-Bstatic'
27269 lt_prog_compiler_wl_GCJ=''
27271 *Sun\ F* | *Sun*Fortran*)
27272 lt_prog_compiler_pic_GCJ='-KPIC'
27273 lt_prog_compiler_static_GCJ='-Bstatic'
27274 lt_prog_compiler_wl_GCJ='-Qoption ld '
27278 lt_prog_compiler_pic_GCJ='-KPIC'
27279 lt_prog_compiler_static_GCJ='-Bstatic'
27280 lt_prog_compiler_wl_GCJ='-Wl,'
27282 *Intel*\ [CF]*Compiler*)
27283 lt_prog_compiler_wl_GCJ='-Wl,'
27284 lt_prog_compiler_pic_GCJ='-fPIC'
27285 lt_prog_compiler_static_GCJ='-static'
27288 lt_prog_compiler_wl_GCJ='-Wl,'
27289 lt_prog_compiler_pic_GCJ='-fpic'
27290 lt_prog_compiler_static_GCJ='-Bstatic'
27298 lt_prog_compiler_pic_GCJ='-KPIC'
27299 lt_prog_compiler_static_GCJ='-Bstatic'
27303 # QNX uses GNU C++, but need to define -shared option too, otherwise
27304 # it will coredump.
27305 lt_prog_compiler_pic_GCJ='-fPIC -shared'
27308 osf3* | osf4* | osf5*)
27309 lt_prog_compiler_wl_GCJ='-Wl,'
27310 # All OSF/1 code is PIC.
27311 lt_prog_compiler_static_GCJ='-non_shared'
27315 lt_prog_compiler_static_GCJ='-non_shared'
27319 lt_prog_compiler_pic_GCJ='-KPIC'
27320 lt_prog_compiler_static_GCJ='-Bstatic'
27321 case $cc_basename in
27322 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
27323 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
27325 lt_prog_compiler_wl_GCJ='-Wl,';;
27330 lt_prog_compiler_wl_GCJ='-Qoption ld '
27331 lt_prog_compiler_pic_GCJ='-PIC'
27332 lt_prog_compiler_static_GCJ='-Bstatic'
27335 sysv4 | sysv4.2uw2* | sysv4.3*)
27336 lt_prog_compiler_wl_GCJ='-Wl,'
27337 lt_prog_compiler_pic_GCJ='-KPIC'
27338 lt_prog_compiler_static_GCJ='-Bstatic'
27342 if test -d /usr/nec; then
27343 lt_prog_compiler_pic_GCJ='-Kconform_pic'
27344 lt_prog_compiler_static_GCJ='-Bstatic'
27348 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
27349 lt_prog_compiler_wl_GCJ='-Wl,'
27350 lt_prog_compiler_pic_GCJ='-KPIC'
27351 lt_prog_compiler_static_GCJ='-Bstatic'
27355 lt_prog_compiler_wl_GCJ='-Wl,'
27356 lt_prog_compiler_can_build_shared_GCJ=no
27360 lt_prog_compiler_pic_GCJ='-pic'
27361 lt_prog_compiler_static_GCJ='-Bstatic'
27365 lt_prog_compiler_can_build_shared_GCJ=no
27371 # For platforms that do not support PIC, -DPIC is meaningless:
27373 lt_prog_compiler_pic_GCJ=
27376 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
27381 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
27382 if ${lt_cv_prog_compiler_pic_GCJ+:} false; then :
27383 $as_echo_n "(cached) " >&6
27385 lt_cv_prog_compiler_pic_GCJ=$lt_prog_compiler_pic_GCJ
27387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_GCJ" >&5
27388 $as_echo "$lt_cv_prog_compiler_pic_GCJ" >&6; }
27389 lt_prog_compiler_pic_GCJ=$lt_cv_prog_compiler_pic_GCJ
27392 # Check to make sure the PIC flag actually works.
27394 if test -n "$lt_prog_compiler_pic_GCJ"; then
27395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
27396 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
27397 if ${lt_cv_prog_compiler_pic_works_GCJ+:} false; then :
27398 $as_echo_n "(cached) " >&6
27400 lt_cv_prog_compiler_pic_works_GCJ=no
27401 ac_outfile=conftest.$ac_objext
27402 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27403 lt_compiler_flag="$lt_prog_compiler_pic_GCJ" ## exclude from sc_useless_quotes_in_assignment
27404 # Insert the option either (1) after the last *FLAGS variable, or
27405 # (2) before a word containing "conftest.", or (3) at the end.
27406 # Note that $ac_compile itself does not contain backslashes and begins
27407 # with a dollar sign (not a hyphen), so the echo should work correctly.
27408 # The option is referenced via a variable to avoid confusing sed.
27409 lt_compile=`echo "$ac_compile" | $SED \
27410 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27411 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27412 -e 's:$: $lt_compiler_flag:'`
27413 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
27414 (eval "$lt_compile" 2>conftest.err)
27416 cat conftest.err >&5
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 if (exit $ac_status) && test -s "$ac_outfile"; then
27419 # The compiler can only warn and ignore the option if not recognized
27420 # So say no if there are warnings other than the usual output.
27421 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
27422 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
27423 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
27424 lt_cv_prog_compiler_pic_works_GCJ=yes
27430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
27431 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
27433 if test yes = "$lt_cv_prog_compiler_pic_works_GCJ"; then
27434 case $lt_prog_compiler_pic_GCJ in
27436 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
27439 lt_prog_compiler_pic_GCJ=
27440 lt_prog_compiler_can_build_shared_GCJ=no
27450 # Check to make sure the static flag actually works.
27452 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
27453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
27454 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
27455 if ${lt_cv_prog_compiler_static_works_GCJ+:} false; then :
27456 $as_echo_n "(cached) " >&6
27458 lt_cv_prog_compiler_static_works_GCJ=no
27459 save_LDFLAGS=$LDFLAGS
27460 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
27461 echo "$lt_simple_link_test_code" > conftest.$ac_ext
27462 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
27463 # The linker can only warn and ignore the option if not recognized
27464 # So say no if there are warnings
27465 if test -s conftest.err; then
27466 # Append any errors to the config.log.
27467 cat conftest.err 1>&5
27468 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
27469 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
27470 if diff conftest.exp conftest.er2 >/dev/null; then
27471 lt_cv_prog_compiler_static_works_GCJ=yes
27474 lt_cv_prog_compiler_static_works_GCJ=yes
27478 LDFLAGS=$save_LDFLAGS
27481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
27482 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
27484 if test yes = "$lt_cv_prog_compiler_static_works_GCJ"; then
27487 lt_prog_compiler_static_GCJ=
27493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
27494 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
27495 if ${lt_cv_prog_compiler_c_o_GCJ+:} false; then :
27496 $as_echo_n "(cached) " >&6
27498 lt_cv_prog_compiler_c_o_GCJ=no
27499 $RM -r conftest 2>/dev/null
27503 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27505 lt_compiler_flag="-o out/conftest2.$ac_objext"
27506 # Insert the option either (1) after the last *FLAGS variable, or
27507 # (2) before a word containing "conftest.", or (3) at the end.
27508 # Note that $ac_compile itself does not contain backslashes and begins
27509 # with a dollar sign (not a hyphen), so the echo should work correctly.
27510 lt_compile=`echo "$ac_compile" | $SED \
27511 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27512 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27513 -e 's:$: $lt_compiler_flag:'`
27514 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
27515 (eval "$lt_compile" 2>out/conftest.err)
27517 cat out/conftest.err >&5
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 if (exit $ac_status) && test -s out/conftest2.$ac_objext
27521 # The compiler can only warn and ignore the option if not recognized
27522 # So say no if there are warnings
27523 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
27524 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
27525 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
27526 lt_cv_prog_compiler_c_o_GCJ=yes
27531 # SGI C++ compiler will create directory out/ii_files/ for
27532 # template instantiation
27533 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
27534 $RM out/* && rmdir out
27540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
27541 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
27545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
27546 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
27547 if ${lt_cv_prog_compiler_c_o_GCJ+:} false; then :
27548 $as_echo_n "(cached) " >&6
27550 lt_cv_prog_compiler_c_o_GCJ=no
27551 $RM -r conftest 2>/dev/null
27555 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27557 lt_compiler_flag="-o out/conftest2.$ac_objext"
27558 # Insert the option either (1) after the last *FLAGS variable, or
27559 # (2) before a word containing "conftest.", or (3) at the end.
27560 # Note that $ac_compile itself does not contain backslashes and begins
27561 # with a dollar sign (not a hyphen), so the echo should work correctly.
27562 lt_compile=`echo "$ac_compile" | $SED \
27563 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27564 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27565 -e 's:$: $lt_compiler_flag:'`
27566 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
27567 (eval "$lt_compile" 2>out/conftest.err)
27569 cat out/conftest.err >&5
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 if (exit $ac_status) && test -s out/conftest2.$ac_objext
27573 # The compiler can only warn and ignore the option if not recognized
27574 # So say no if there are warnings
27575 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
27576 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
27577 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
27578 lt_cv_prog_compiler_c_o_GCJ=yes
27583 # SGI C++ compiler will create directory out/ii_files/ for
27584 # template instantiation
27585 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
27586 $RM out/* && rmdir out
27592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
27593 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
27598 hard_links=nottested
27599 if test no = "$lt_cv_prog_compiler_c_o_GCJ" && test no != "$need_locks"; then
27600 # do not overwrite the value of need_locks provided by the user
27601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
27602 $as_echo_n "checking if we can lock with hard links... " >&6; }
27605 ln conftest.a conftest.b 2>/dev/null && hard_links=no
27607 ln conftest.a conftest.b 2>&5 || hard_links=no
27608 ln conftest.a conftest.b 2>/dev/null && hard_links=no
27609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
27610 $as_echo "$hard_links" >&6; }
27611 if test no = "$hard_links"; then
27612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
27613 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
27622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
27623 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
27626 allow_undefined_flag_GCJ=
27627 always_export_symbols_GCJ=no
27629 archive_expsym_cmds_GCJ=
27630 compiler_needs_object_GCJ=no
27631 enable_shared_with_static_runtimes_GCJ=no
27632 export_dynamic_flag_spec_GCJ=
27633 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
27634 hardcode_automatic_GCJ=no
27635 hardcode_direct_GCJ=no
27636 hardcode_direct_absolute_GCJ=no
27637 hardcode_libdir_flag_spec_GCJ=
27638 hardcode_libdir_separator_GCJ=
27639 hardcode_minus_L_GCJ=no
27640 hardcode_shlibpath_var_GCJ=unsupported
27641 inherit_rpath_GCJ=no
27642 link_all_deplibs_GCJ=unknown
27644 module_expsym_cmds_GCJ=
27645 old_archive_from_new_cmds_GCJ=
27646 old_archive_from_expsyms_cmds_GCJ=
27647 thread_safe_flag_spec_GCJ=
27648 whole_archive_flag_spec_GCJ=
27649 # include_expsyms should be a list of space-separated symbols to be *always*
27650 # included in the symbol list
27651 include_expsyms_GCJ=
27652 # exclude_expsyms can be an extended regexp of symbols to exclude
27653 # it will be wrapped by ' (' and ')$', so one must not match beginning or
27654 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
27655 # as well as any symbol that contains 'd'.
27656 exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
27657 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
27658 # platforms (ab)use it in PIC code, but their linkers get confused if
27659 # the symbol is explicitly referenced. Since portable code cannot
27660 # rely on this symbol name, it's probably fine to never include it in
27661 # preloaded symbol tables.
27662 # Exclude shared library initialization/finalization symbols.
27663 extract_expsyms_cmds=
27666 cygwin* | mingw* | pw32* | cegcc*)
27667 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
27668 # When not using gcc, we currently assume that we are using
27669 # Microsoft Visual C++ or Intel C++ Compiler.
27670 if test yes != "$GCC"; then
27675 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
27678 openbsd* | bitrig*)
27685 # On some targets, GNU ld is compatible enough with the native linker
27686 # that we're better off using the native interface for both.
27687 lt_use_gnu_ld_interface=no
27688 if test yes = "$with_gnu_ld"; then
27691 # The AIX port of GNU ld has always aspired to compatibility
27692 # with the native linker. However, as the warning in the GNU ld
27693 # block says, versions before 2.19.5* couldn't really create working
27694 # shared libraries, regardless of the interface used.
27695 case `$LD -v 2>&1` in
27696 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
27697 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
27698 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
27700 lt_use_gnu_ld_interface=yes
27705 lt_use_gnu_ld_interface=yes
27710 if test yes = "$lt_use_gnu_ld_interface"; then
27711 # If archive_cmds runs LD, not CC, wlarc should be empty
27714 # Set some defaults for GNU ld with shared library support. These
27715 # are reset later if shared libraries are not supported. Putting them
27716 # here allows them to be overridden if necessary.
27717 runpath_var=LD_RUN_PATH
27718 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
27719 export_dynamic_flag_spec_GCJ='$wl--export-dynamic'
27720 # ancient GNU ld didn't support --whole-archive et. al.
27721 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
27722 whole_archive_flag_spec_GCJ=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
27724 whole_archive_flag_spec_GCJ=
27726 supports_anon_versioning=no
27727 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
27728 *GNU\ gold*) supports_anon_versioning=yes ;;
27729 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
27730 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
27731 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
27732 *\ 2.11.*) ;; # other 2.11 versions
27733 *) supports_anon_versioning=yes ;;
27736 # See if GNU ld supports shared libraries.
27739 # On AIX/PPC, the GNU linker is very broken
27740 if test ia64 != "$host_cpu"; then
27744 *** Warning: the GNU linker, at least up to release 2.19, is reported
27745 *** to be unable to reliably create shared libraries on AIX.
27746 *** Therefore, libtool is disabling shared libraries support. If you
27747 *** really care for shared libraries, you may want to install binutils
27748 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
27749 *** You will then need to restart the configuration process.
27758 # see comment about AmigaOS4 .so support
27759 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27760 archive_expsym_cmds_GCJ=''
27763 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)'
27764 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27765 hardcode_minus_L_GCJ=yes
27771 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
27772 allow_undefined_flag_GCJ=unsupported
27773 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
27774 # support --undefined. This deserves some investigation. FIXME
27775 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27781 cygwin* | mingw* | pw32* | cegcc*)
27782 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
27783 # as there is no search path for DLLs.
27784 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27785 export_dynamic_flag_spec_GCJ='$wl--export-all-symbols'
27786 allow_undefined_flag_GCJ=unsupported
27787 always_export_symbols_GCJ=no
27788 enable_shared_with_static_runtimes_GCJ=yes
27789 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'
27790 exclude_expsyms_GCJ='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
27792 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
27793 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
27794 # If the export-symbols file already is a .def file, use it as
27795 # is; otherwise, prepend EXPORTS...
27796 archive_expsym_cmds_GCJ='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
27797 cp $export_symbols $output_objdir/$soname.def;
27799 echo EXPORTS > $output_objdir/$soname.def;
27800 cat $export_symbols >> $output_objdir/$soname.def;
27802 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
27809 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27810 link_all_deplibs_GCJ=yes
27814 hardcode_libdir_flag_spec_GCJ='-L$libdir'
27815 hardcode_minus_L_GCJ=yes
27816 allow_undefined_flag_GCJ=unsupported
27818 archive_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
27819 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
27820 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
27821 $ECHO EXPORTS >> $output_objdir/$libname.def~
27822 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
27823 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
27824 emximp -o $lib $output_objdir/$libname.def'
27825 archive_expsym_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
27826 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
27827 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
27828 $ECHO EXPORTS >> $output_objdir/$libname.def~
27829 prefix_cmds="$SED"~
27830 if test EXPORTS = "`$SED 1q $export_symbols`"; then
27831 prefix_cmds="$prefix_cmds -e 1d";
27833 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
27834 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
27835 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
27836 emximp -o $lib $output_objdir/$libname.def'
27837 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
27838 enable_shared_with_static_runtimes_GCJ=yes
27839 file_list_spec_GCJ='@'
27843 hardcode_direct_GCJ=no
27844 hardcode_shlibpath_var_GCJ=no
27845 hardcode_libdir_flag_spec_GCJ='$wl-rpath,$libdir'
27846 export_dynamic_flag_spec_GCJ='$wl-E'
27847 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
27848 # Instead, shared libraries are loaded at an image base (0x10000000 by
27849 # default) and relocated if they conflict, which is a slow very memory
27850 # consuming and fragmenting process. To avoid this, we pick a random,
27851 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
27852 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
27853 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'
27854 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'
27857 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
27859 if test linux-dietlibc = "$host_os"; then
27860 case $cc_basename in
27861 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
27864 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
27865 && test no = "$tmp_diet"
27867 tmp_addflag=' $pic_flag'
27868 tmp_sharedflag='-shared'
27869 case $cc_basename,$host_cpu in
27870 pgcc*) # Portland Group C compiler
27871 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'
27872 tmp_addflag=' $pic_flag'
27874 pgf77* | pgf90* | pgf95* | pgfortran*)
27875 # Portland Group f77 and f90 compilers
27876 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'
27877 tmp_addflag=' $pic_flag -Mnomain' ;;
27878 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
27879 tmp_addflag=' -i_dynamic' ;;
27880 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
27881 tmp_addflag=' -i_dynamic -nofor_main' ;;
27882 ifc* | ifort*) # Intel Fortran compiler
27883 tmp_addflag=' -nofor_main' ;;
27884 lf95*) # Lahey Fortran 8.1
27885 whole_archive_flag_spec_GCJ=
27886 tmp_sharedflag='--shared' ;;
27887 nagfor*) # NAGFOR 5.3
27888 tmp_sharedflag='-Wl,-shared' ;;
27889 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
27890 tmp_sharedflag='-qmkshrobj'
27892 nvcc*) # Cuda Compiler Driver 2.2
27893 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'
27894 compiler_needs_object_GCJ=yes
27897 case `$CC -V 2>&1 | $SED 5q` in
27898 *Sun\ C*) # Sun C 5.9
27899 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'
27900 compiler_needs_object_GCJ=yes
27901 tmp_sharedflag='-G' ;;
27902 *Sun\ F*) # Sun Fortran 8.3
27903 tmp_sharedflag='-G' ;;
27905 archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27907 if test yes = "$supports_anon_versioning"; then
27908 archive_expsym_cmds_GCJ='echo "{ global:" > $output_objdir/$libname.ver~
27909 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
27910 echo "local: *; };" >> $output_objdir/$libname.ver~
27911 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
27914 case $cc_basename in
27916 export_dynamic_flag_spec_GCJ='-rdynamic'
27918 xlf* | bgf* | bgxlf* | mpixlf*)
27919 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
27920 whole_archive_flag_spec_GCJ='--whole-archive$convenience --no-whole-archive'
27921 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
27922 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
27923 if test yes = "$supports_anon_versioning"; then
27924 archive_expsym_cmds_GCJ='echo "{ global:" > $output_objdir/$libname.ver~
27925 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
27926 echo "local: *; };" >> $output_objdir/$libname.ver~
27927 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
27937 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
27938 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
27941 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27942 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'
27947 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
27951 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
27952 *** create shared libraries on Solaris systems. Therefore, libtool
27953 *** is disabling shared libraries support. We urge you to upgrade GNU
27954 *** binutils to release 2.9.1 or newer. Another option is to modify
27955 *** your PATH or compiler configuration so that the native linker is
27956 *** used, and then restart.
27959 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
27960 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27961 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'
27967 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
27968 case `$LD -v 2>&1` in
27969 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
27973 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
27974 *** reliably create shared libraries on SCO systems. Therefore, libtool
27975 *** is disabling shared libraries support. We urge you to upgrade GNU
27976 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
27977 *** your PATH or compiler configuration so that the native linker is
27978 *** used, and then restart.
27983 # For security reasons, it is highly recommended that you always
27984 # use absolute paths for naming shared libraries, and exclude the
27985 # DT_RUNPATH tag from executables and libraries. But doing so
27986 # requires that you compile everything twice, which is a pain.
27987 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
27988 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
27989 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27990 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
27999 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
28001 hardcode_direct_GCJ=yes
28002 hardcode_shlibpath_var_GCJ=no
28006 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
28007 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
28008 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'
28015 if test no = "$ld_shlibs_GCJ"; then
28017 hardcode_libdir_flag_spec_GCJ=
28018 export_dynamic_flag_spec_GCJ=
28019 whole_archive_flag_spec_GCJ=
28022 # PORTME fill in a description of your system's linker (not GNU ld)
28025 allow_undefined_flag_GCJ=unsupported
28026 always_export_symbols_GCJ=yes
28027 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'
28028 # Note: this linker hardcodes the directories in LIBPATH if there
28029 # are no directories specified by -L.
28030 hardcode_minus_L_GCJ=yes
28031 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
28032 # Neither direct hardcoding nor static linking is supported with a
28034 hardcode_direct_GCJ=unsupported
28039 if test ia64 = "$host_cpu"; then
28040 # On IA64, the linker does run time linking by default, so we don't
28041 # have to do anything special.
28042 aix_use_runtimelinking=no
28043 exp_sym_flag='-Bexport'
28046 # If we're using GNU nm, then we don't want the "-C" option.
28047 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
28048 # Without the "-l" option, or with the "-B" option, AIX nm treats
28049 # weak defined symbols like other global defined symbols, whereas
28050 # GNU nm marks them as "W".
28051 # While the 'weak' keyword is ignored in the Export File, we need
28052 # it in the Import File for the 'aix-soname' feature, so we have
28053 # to replace the "-B" option with "-P" for AIX nm.
28054 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
28055 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'
28057 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 == "L") || (\$ 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'
28059 aix_use_runtimelinking=no
28061 # Test if we are trying to use run time linking or normal
28062 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
28063 # have runtime linking enabled, and use it for executables.
28064 # For shared libraries, we enable/disable runtime linking
28065 # depending on the kind of the shared library created -
28066 # when "with_aix_soname,aix_use_runtimelinking" is:
28067 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
28068 # "aix,yes" lib.so shared, rtl:yes, for executables
28069 # lib.a static archive
28070 # "both,no" lib.so.V(shr.o) shared, rtl:yes
28071 # lib.a(lib.so.V) shared, rtl:no, for executables
28072 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
28073 # lib.a(lib.so.V) shared, rtl:no
28074 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
28075 # lib.a static archive
28076 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
28077 for ld_flag in $LDFLAGS; do
28078 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
28079 aix_use_runtimelinking=yes
28083 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
28084 # With aix-soname=svr4, we create the lib.so.V shared archives only,
28085 # so we don't have lib.a shared libs to link our executables.
28086 # We have to force runtime linking in this case.
28087 aix_use_runtimelinking=yes
28088 LDFLAGS="$LDFLAGS -Wl,-brtl"
28093 exp_sym_flag='-bexport'
28094 no_entry_flag='-bnoentry'
28097 # When large executables or shared objects are built, AIX ld can
28098 # have problems creating the table of contents. If linking a library
28099 # or program results in "error TOC overflow" add -mminimal-toc to
28100 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
28101 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
28103 archive_cmds_GCJ=''
28104 hardcode_direct_GCJ=yes
28105 hardcode_direct_absolute_GCJ=yes
28106 hardcode_libdir_separator_GCJ=':'
28107 link_all_deplibs_GCJ=yes
28108 file_list_spec_GCJ='$wl-f,'
28109 case $with_aix_soname,$aix_use_runtimelinking in
28110 aix,*) ;; # traditional, no import file
28111 svr4,* | *,yes) # use import file
28112 # The Import File defines what to hardcode.
28113 hardcode_direct_GCJ=no
28114 hardcode_direct_absolute_GCJ=no
28118 if test yes = "$GCC"; then
28119 case $host_os in aix4.[012]|aix4.[012].*)
28120 # We only want to do this on AIX 4.2 and lower, the check
28121 # below for broken collect2 doesn't work under 4.3+
28122 collect2name=`$CC -print-prog-name=collect2`
28123 if test -f "$collect2name" &&
28124 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
28126 # We have reworked collect2
28129 # We have old collect2
28130 hardcode_direct_GCJ=unsupported
28131 # It fails to find uninstalled libraries when the uninstalled
28132 # path is not listed in the libpath. Setting hardcode_minus_L
28133 # to unsupported forces relinking
28134 hardcode_minus_L_GCJ=yes
28135 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28136 hardcode_libdir_separator_GCJ=
28140 shared_flag='-shared'
28141 if test yes = "$aix_use_runtimelinking"; then
28142 shared_flag="$shared_flag "'$wl-G'
28144 # Need to ensure runtime linking is disabled for the traditional
28145 # shared library, or the linker may eventually find shared libraries
28146 # /with/ Import File - we do not want to mix them.
28147 shared_flag_aix='-shared'
28148 shared_flag_svr4='-shared $wl-G'
28151 if test ia64 = "$host_cpu"; then
28152 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
28153 # chokes on -Wl,-G. The following line is correct:
28156 if test yes = "$aix_use_runtimelinking"; then
28157 shared_flag='$wl-G'
28159 shared_flag='$wl-bM:SRE'
28161 shared_flag_aix='$wl-bM:SRE'
28162 shared_flag_svr4='$wl-G'
28166 export_dynamic_flag_spec_GCJ='$wl-bexpall'
28167 # It seems that -bexpall does not export symbols beginning with
28168 # underscore (_), so it is better to generate a list of symbols to export.
28169 always_export_symbols_GCJ=yes
28170 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
28171 # Warning - without using the other runtime loading flags (-brtl),
28172 # -berok will link without error, but may produce a broken library.
28173 allow_undefined_flag_GCJ='-berok'
28174 # Determine the default libpath from the value encoded in an
28175 # empty executable.
28176 if test set = "${lt_cv_aix_libpath+set}"; then
28177 aix_libpath=$lt_cv_aix_libpath
28179 if ${lt_cv_aix_libpath__GCJ+:} false; then :
28180 $as_echo_n "(cached) " >&6
28182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28183 /* end confdefs.h. */
28193 if ac_fn_c_try_link "$LINENO"; then :
28195 lt_aix_libpath_sed='
28196 /Import File Strings/,/^$/ {
28198 s/^0 *\([^ ]*\) *$/\1/
28202 lt_cv_aix_libpath__GCJ=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28203 # Check for a 64-bit object if we didn't find anything.
28204 if test -z "$lt_cv_aix_libpath__GCJ"; then
28205 lt_cv_aix_libpath__GCJ=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28208 rm -f core conftest.err conftest.$ac_objext \
28209 conftest$ac_exeext conftest.$ac_ext
28210 if test -z "$lt_cv_aix_libpath__GCJ"; then
28211 lt_cv_aix_libpath__GCJ=/usr/lib:/lib
28216 aix_libpath=$lt_cv_aix_libpath__GCJ
28219 hardcode_libdir_flag_spec_GCJ='$wl-blibpath:$libdir:'"$aix_libpath"
28220 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
28222 if test ia64 = "$host_cpu"; then
28223 hardcode_libdir_flag_spec_GCJ='$wl-R $libdir:/usr/lib:/lib'
28224 allow_undefined_flag_GCJ="-z nodefs"
28225 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"
28227 # Determine the default libpath from the value encoded in an
28228 # empty executable.
28229 if test set = "${lt_cv_aix_libpath+set}"; then
28230 aix_libpath=$lt_cv_aix_libpath
28232 if ${lt_cv_aix_libpath__GCJ+:} false; then :
28233 $as_echo_n "(cached) " >&6
28235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28236 /* end confdefs.h. */
28246 if ac_fn_c_try_link "$LINENO"; then :
28248 lt_aix_libpath_sed='
28249 /Import File Strings/,/^$/ {
28251 s/^0 *\([^ ]*\) *$/\1/
28255 lt_cv_aix_libpath__GCJ=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28256 # Check for a 64-bit object if we didn't find anything.
28257 if test -z "$lt_cv_aix_libpath__GCJ"; then
28258 lt_cv_aix_libpath__GCJ=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28261 rm -f core conftest.err conftest.$ac_objext \
28262 conftest$ac_exeext conftest.$ac_ext
28263 if test -z "$lt_cv_aix_libpath__GCJ"; then
28264 lt_cv_aix_libpath__GCJ=/usr/lib:/lib
28269 aix_libpath=$lt_cv_aix_libpath__GCJ
28272 hardcode_libdir_flag_spec_GCJ='$wl-blibpath:$libdir:'"$aix_libpath"
28273 # Warning - without using the other run time loading flags,
28274 # -berok will link without error, but may produce a broken library.
28275 no_undefined_flag_GCJ=' $wl-bernotok'
28276 allow_undefined_flag_GCJ=' $wl-berok'
28277 if test yes = "$with_gnu_ld"; then
28278 # We only use this code for GNU lds that support --whole-archive.
28279 whole_archive_flag_spec_GCJ='$wl--whole-archive$convenience $wl--no-whole-archive'
28281 # Exported symbols can be pulled into shared objects from archives
28282 whole_archive_flag_spec_GCJ='$convenience'
28284 archive_cmds_need_lc_GCJ=yes
28285 archive_expsym_cmds_GCJ='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
28286 # -brtl affects multiple linker settings, -berok does not and is overridden later
28287 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
28288 if test svr4 != "$with_aix_soname"; then
28289 # This is similar to how AIX traditionally builds its shared libraries.
28290 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'
28292 if test aix != "$with_aix_soname"; then
28293 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'
28295 # used by -dlpreopen to get the symbols
28296 archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
28298 archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$RM -r $output_objdir/$realname.d'
28306 # see comment about AmigaOS4 .so support
28307 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
28308 archive_expsym_cmds_GCJ=''
28311 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)'
28312 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28313 hardcode_minus_L_GCJ=yes
28319 export_dynamic_flag_spec_GCJ=-rdynamic
28322 cygwin* | mingw* | pw32* | cegcc*)
28323 # When not using gcc, we currently assume that we are using
28324 # Microsoft Visual C++ or Intel C++ Compiler.
28325 # hardcode_libdir_flag_spec is actually meaningless, as there is
28326 # no search path for DLLs.
28327 case $cc_basename in
28329 # Native MSVC or ICC
28330 hardcode_libdir_flag_spec_GCJ=' '
28331 allow_undefined_flag_GCJ=unsupported
28332 always_export_symbols_GCJ=yes
28333 file_list_spec_GCJ='@'
28334 # Tell ltmain to make .lib files, not .a files.
28336 # Tell ltmain to make .dll files, not .so files.
28338 # FIXME: Setting linknames here is a bad hack.
28339 archive_cmds_GCJ='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
28340 archive_expsym_cmds_GCJ='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
28341 cp "$export_symbols" "$output_objdir/$soname.def";
28342 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
28344 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
28346 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
28348 # The linker will not automatically build a static lib if we build a DLL.
28349 # _LT_TAGVAR(old_archive_from_new_cmds, GCJ)='true'
28350 enable_shared_with_static_runtimes_GCJ=yes
28351 exclude_expsyms_GCJ='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
28352 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
28354 old_postinstall_cmds_GCJ='chmod 644 $oldlib'
28355 postlink_cmds_GCJ='lt_outputfile="@OUTPUT@"~
28356 lt_tool_outputfile="@TOOL_OUTPUT@"~
28357 case $lt_outputfile in
28360 lt_outputfile=$lt_outputfile.exe
28361 lt_tool_outputfile=$lt_tool_outputfile.exe
28364 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
28365 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
28366 $RM "$lt_outputfile.manifest";
28370 # Assume MSVC and ICC wrapper
28371 hardcode_libdir_flag_spec_GCJ=' '
28372 allow_undefined_flag_GCJ=unsupported
28373 # Tell ltmain to make .lib files, not .a files.
28375 # Tell ltmain to make .dll files, not .so files.
28377 # FIXME: Setting linknames here is a bad hack.
28378 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
28379 # The linker will automatically build a .lib file if we build a DLL.
28380 old_archive_from_new_cmds_GCJ='true'
28381 # FIXME: Should let the user specify the lib program.
28382 old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
28383 enable_shared_with_static_runtimes_GCJ=yes
28388 darwin* | rhapsody*)
28391 archive_cmds_need_lc_GCJ=no
28392 hardcode_direct_GCJ=no
28393 hardcode_automatic_GCJ=yes
28394 hardcode_shlibpath_var_GCJ=unsupported
28395 if test yes = "$lt_cv_ld_force_load"; then
28396 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\"`'
28399 whole_archive_flag_spec_GCJ=''
28401 link_all_deplibs_GCJ=yes
28402 allow_undefined_flag_GCJ=$_lt_dar_allow_undefined
28403 case $cc_basename in
28404 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
28405 *) _lt_dar_can_shared=$GCC ;;
28407 if test yes = "$_lt_dar_can_shared"; then
28408 output_verbose_link_cmd=func_echo_all
28409 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"
28410 module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
28411 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"
28412 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"
28421 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28422 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28423 hardcode_shlibpath_var_GCJ=no
28426 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
28427 # support. Future versions do this automatically, but an explicit c++rt0.o
28428 # does not break anything, and helps significantly (at the cost of a little
28431 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
28432 hardcode_libdir_flag_spec_GCJ='-R$libdir'
28433 hardcode_direct_GCJ=yes
28434 hardcode_shlibpath_var_GCJ=no
28437 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
28439 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
28440 hardcode_direct_GCJ=yes
28441 hardcode_minus_L_GCJ=yes
28442 hardcode_shlibpath_var_GCJ=no
28445 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
28446 freebsd* | dragonfly* | midnightbsd*)
28447 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28448 hardcode_libdir_flag_spec_GCJ='-R$libdir'
28449 hardcode_direct_GCJ=yes
28450 hardcode_shlibpath_var_GCJ=no
28454 if test yes = "$GCC"; then
28455 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'
28457 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'
28459 hardcode_libdir_flag_spec_GCJ='$wl+b $wl$libdir'
28460 hardcode_libdir_separator_GCJ=:
28461 hardcode_direct_GCJ=yes
28463 # hardcode_minus_L: Not really in the search PATH,
28464 # but as the default location of the library.
28465 hardcode_minus_L_GCJ=yes
28466 export_dynamic_flag_spec_GCJ='$wl-E'
28470 if test yes,no = "$GCC,$with_gnu_ld"; then
28471 archive_cmds_GCJ='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
28473 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
28475 if test no = "$with_gnu_ld"; then
28476 hardcode_libdir_flag_spec_GCJ='$wl+b $wl$libdir'
28477 hardcode_libdir_separator_GCJ=:
28478 hardcode_direct_GCJ=yes
28479 hardcode_direct_absolute_GCJ=yes
28480 export_dynamic_flag_spec_GCJ='$wl-E'
28481 # hardcode_minus_L: Not really in the search PATH,
28482 # but as the default location of the library.
28483 hardcode_minus_L_GCJ=yes
28488 if test yes,no = "$GCC,$with_gnu_ld"; then
28491 archive_cmds_GCJ='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
28494 archive_cmds_GCJ='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
28497 archive_cmds_GCJ='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
28503 archive_cmds_GCJ='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
28506 archive_cmds_GCJ='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
28509 archive_cmds_GCJ='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
28513 if test no = "$with_gnu_ld"; then
28514 hardcode_libdir_flag_spec_GCJ='$wl+b $wl$libdir'
28515 hardcode_libdir_separator_GCJ=:
28519 hardcode_direct_GCJ=no
28520 hardcode_shlibpath_var_GCJ=no
28523 hardcode_direct_GCJ=yes
28524 hardcode_direct_absolute_GCJ=yes
28525 export_dynamic_flag_spec_GCJ='$wl-E'
28527 # hardcode_minus_L: Not really in the search PATH,
28528 # but as the default location of the library.
28529 hardcode_minus_L_GCJ=yes
28535 irix5* | irix6* | nonstopux*)
28536 if test yes = "$GCC"; then
28537 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'
28538 # Try to use the -exported_symbol ld option, if it does not
28539 # work, assume that -exports_file does not work either and
28540 # implicitly export all symbols.
28541 # This should be the same for all languages, so no per-tag cache variable.
28542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
28543 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
28544 if ${lt_cv_irix_exported_symbol+:} false; then :
28545 $as_echo_n "(cached) " >&6
28547 save_LDFLAGS=$LDFLAGS
28548 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
28549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28550 /* end confdefs.h. */
28551 int foo (void) { return 0; }
28553 if ac_fn_c_try_link "$LINENO"; then :
28554 lt_cv_irix_exported_symbol=yes
28556 lt_cv_irix_exported_symbol=no
28558 rm -f core conftest.err conftest.$ac_objext \
28559 conftest$ac_exeext conftest.$ac_ext
28560 LDFLAGS=$save_LDFLAGS
28562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
28563 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
28564 if test yes = "$lt_cv_irix_exported_symbol"; then
28565 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'
28568 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'
28569 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'
28571 archive_cmds_need_lc_GCJ='no'
28572 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28573 hardcode_libdir_separator_GCJ=:
28574 inherit_rpath_GCJ=yes
28575 link_all_deplibs_GCJ=yes
28579 case $cc_basename in
28581 # Fabrice Bellard et al's Tiny C Compiler
28583 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28589 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
28590 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
28592 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
28594 hardcode_libdir_flag_spec_GCJ='-R$libdir'
28595 hardcode_direct_GCJ=yes
28596 hardcode_shlibpath_var_GCJ=no
28600 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28601 hardcode_direct_GCJ=yes
28602 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28603 hardcode_libdir_separator_GCJ=:
28604 hardcode_shlibpath_var_GCJ=no
28610 openbsd* | bitrig*)
28611 if test -f /usr/libexec/ld.so; then
28612 hardcode_direct_GCJ=yes
28613 hardcode_shlibpath_var_GCJ=no
28614 hardcode_direct_absolute_GCJ=yes
28615 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
28616 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28617 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
28618 hardcode_libdir_flag_spec_GCJ='$wl-rpath,$libdir'
28619 export_dynamic_flag_spec_GCJ='$wl-E'
28621 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28622 hardcode_libdir_flag_spec_GCJ='$wl-rpath,$libdir'
28630 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28631 hardcode_minus_L_GCJ=yes
28632 allow_undefined_flag_GCJ=unsupported
28634 archive_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
28635 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
28636 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
28637 $ECHO EXPORTS >> $output_objdir/$libname.def~
28638 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
28639 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
28640 emximp -o $lib $output_objdir/$libname.def'
28641 archive_expsym_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
28642 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
28643 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
28644 $ECHO EXPORTS >> $output_objdir/$libname.def~
28645 prefix_cmds="$SED"~
28646 if test EXPORTS = "`$SED 1q $export_symbols`"; then
28647 prefix_cmds="$prefix_cmds -e 1d";
28649 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
28650 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
28651 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
28652 emximp -o $lib $output_objdir/$libname.def'
28653 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
28654 enable_shared_with_static_runtimes_GCJ=yes
28655 file_list_spec_GCJ='@'
28659 if test yes = "$GCC"; then
28660 allow_undefined_flag_GCJ=' $wl-expect_unresolved $wl\*'
28661 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'
28663 allow_undefined_flag_GCJ=' -expect_unresolved \*'
28664 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'
28666 archive_cmds_need_lc_GCJ='no'
28667 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28668 hardcode_libdir_separator_GCJ=:
28671 osf4* | osf5*) # as osf3* with the addition of -msym flag
28672 if test yes = "$GCC"; then
28673 allow_undefined_flag_GCJ=' $wl-expect_unresolved $wl\*'
28674 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'
28675 hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28677 allow_undefined_flag_GCJ=' -expect_unresolved \*'
28678 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'
28679 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~
28680 $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'
28682 # Both c and cxx compiler support -rpath directly
28683 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
28685 archive_cmds_need_lc_GCJ='no'
28686 hardcode_libdir_separator_GCJ=:
28690 no_undefined_flag_GCJ=' -z defs'
28691 if test yes = "$GCC"; then
28693 archive_cmds_GCJ='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
28694 archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
28695 $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'
28697 case `$CC -V 2>&1` in
28700 archive_cmds_GCJ='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
28701 archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
28702 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
28706 archive_cmds_GCJ='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
28707 archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
28708 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
28712 hardcode_libdir_flag_spec_GCJ='-R$libdir'
28713 hardcode_shlibpath_var_GCJ=no
28715 solaris2.[0-5] | solaris2.[0-5].*) ;;
28717 # The compiler driver will combine and reorder linker options,
28718 # but understands '-z linker_flag'. GCC discards it without '$wl',
28719 # but is careful enough not to reorder.
28720 # Supported since Solaris 2.6 (maybe 2.5.1?)
28721 if test yes = "$GCC"; then
28722 whole_archive_flag_spec_GCJ='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
28724 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
28728 link_all_deplibs_GCJ=yes
28732 if test sequent = "$host_vendor"; then
28733 # Use $CC to link under sequent, because it throws in some extra .o
28734 # files that make .init and .fini sections work.
28735 archive_cmds_GCJ='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
28737 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
28739 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28740 hardcode_direct_GCJ=yes
28741 hardcode_minus_L_GCJ=yes
28742 hardcode_shlibpath_var_GCJ=no
28746 case $host_vendor in
28748 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28749 hardcode_direct_GCJ=yes # is this really true???
28752 ## LD is ld it makes a PLAMLIB
28753 ## CC just makes a GrossModule.
28754 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
28755 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
28756 hardcode_direct_GCJ=no
28759 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28760 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
28763 runpath_var='LD_RUN_PATH'
28764 hardcode_shlibpath_var_GCJ=no
28768 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28769 hardcode_shlibpath_var_GCJ=no
28770 export_dynamic_flag_spec_GCJ='-Bexport'
28774 if test -d /usr/nec; then
28775 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28776 hardcode_shlibpath_var_GCJ=no
28777 runpath_var=LD_RUN_PATH
28778 hardcode_runpath_var=yes
28783 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
28784 no_undefined_flag_GCJ='$wl-z,text'
28785 archive_cmds_need_lc_GCJ=no
28786 hardcode_shlibpath_var_GCJ=no
28787 runpath_var='LD_RUN_PATH'
28789 if test yes = "$GCC"; then
28790 archive_cmds_GCJ='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28791 archive_expsym_cmds_GCJ='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28793 archive_cmds_GCJ='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28794 archive_expsym_cmds_GCJ='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28798 sysv5* | sco3.2v5* | sco5v6*)
28799 # Note: We CANNOT use -z defs as we might desire, because we do not
28800 # link with -lc, and that would cause any symbols used from libc to
28801 # always be unresolved, which means just about no library would
28802 # ever link correctly. If we're not using GNU ld we use -z text
28803 # though, which does catch some bad symbols but isn't as heavy-handed
28805 no_undefined_flag_GCJ='$wl-z,text'
28806 allow_undefined_flag_GCJ='$wl-z,nodefs'
28807 archive_cmds_need_lc_GCJ=no
28808 hardcode_shlibpath_var_GCJ=no
28809 hardcode_libdir_flag_spec_GCJ='$wl-R,$libdir'
28810 hardcode_libdir_separator_GCJ=':'
28811 link_all_deplibs_GCJ=yes
28812 export_dynamic_flag_spec_GCJ='$wl-Bexport'
28813 runpath_var='LD_RUN_PATH'
28815 if test yes = "$GCC"; then
28816 archive_cmds_GCJ='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28817 archive_expsym_cmds_GCJ='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28819 archive_cmds_GCJ='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28820 archive_expsym_cmds_GCJ='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28825 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28826 hardcode_libdir_flag_spec_GCJ='-L$libdir'
28827 hardcode_shlibpath_var_GCJ=no
28835 if test sni = "$host_vendor"; then
28837 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
28838 export_dynamic_flag_spec_GCJ='$wl-Blargedynsym'
28844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
28845 $as_echo "$ld_shlibs_GCJ" >&6; }
28846 test no = "$ld_shlibs_GCJ" && can_build_shared=no
28848 with_gnu_ld_GCJ=$with_gnu_ld
28856 # Do we need to explicitly link libc?
28858 case "x$archive_cmds_need_lc_GCJ" in
28860 # Assume -lc should be added
28861 archive_cmds_need_lc_GCJ=yes
28863 if test yes,yes = "$GCC,$enable_shared"; then
28864 case $archive_cmds_GCJ in
28866 # FIXME: we may have to deal with multi-command sequences.
28869 # Test whether the compiler implicitly links with -lc since on some
28870 # systems, -lgcc has to come before -lc. If gcc already passes -lc
28871 # to ld, don't add -lc before -lgcc.
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
28873 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
28874 if ${lt_cv_archive_cmds_need_lc_GCJ+:} false; then :
28875 $as_echo_n "(cached) " >&6
28878 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
28880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
28881 (eval $ac_compile) 2>&5
28883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28884 test $ac_status = 0; } 2>conftest.err; then
28887 libobjs=conftest.$ac_objext
28889 wl=$lt_prog_compiler_wl_GCJ
28890 pic_flag=$lt_prog_compiler_pic_GCJ
28896 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
28897 allow_undefined_flag_GCJ=
28898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
28899 (eval $archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
28901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28902 test $ac_status = 0; }
28904 lt_cv_archive_cmds_need_lc_GCJ=no
28906 lt_cv_archive_cmds_need_lc_GCJ=yes
28908 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
28910 cat conftest.err 1>&5
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
28916 $as_echo "$lt_cv_archive_cmds_need_lc_GCJ" >&6; }
28917 archive_cmds_need_lc_GCJ=$lt_cv_archive_cmds_need_lc_GCJ
28985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
28986 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
28987 hardcode_action_GCJ=
28988 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
28989 test -n "$runpath_var_GCJ" ||
28990 test yes = "$hardcode_automatic_GCJ"; then
28992 # We can hardcode non-existent directories.
28993 if test no != "$hardcode_direct_GCJ" &&
28994 # If the only mechanism to avoid hardcoding is shlibpath_var, we
28995 # have to relink, otherwise we might link with an installed library
28996 # when we should be linking with a yet-to-be-installed one
28997 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" &&
28998 test no != "$hardcode_minus_L_GCJ"; then
28999 # Linking always hardcodes the temporary library directory.
29000 hardcode_action_GCJ=relink
29002 # We can link without hardcoding, and we can hardcode nonexisting dirs.
29003 hardcode_action_GCJ=immediate
29006 # We cannot hardcode anything, or else we can only hardcode existing
29008 hardcode_action_GCJ=unsupported
29010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
29011 $as_echo "$hardcode_action_GCJ" >&6; }
29013 if test relink = "$hardcode_action_GCJ" ||
29014 test yes = "$inherit_rpath_GCJ"; then
29015 # Fast installation is not supported
29016 enable_fast_install=no
29017 elif test yes = "$shlibpath_overrides_runpath" ||
29018 test no = "$enable_shared"; then
29019 # Fast installation is not necessary
29020 enable_fast_install=needless
29032 ac_cpp='$CPP $CPPFLAGS'
29033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29040 CFLAGS=$lt_save_CFLAGS
29042 if test -n "$ac_tool_prefix"; then
29043 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
29044 set dummy ${ac_tool_prefix}windres; ac_word=$2
29045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29046 $as_echo_n "checking for $ac_word... " >&6; }
29047 if ${ac_cv_prog_RC+:} false; then :
29048 $as_echo_n "(cached) " >&6
29050 if test -n "$RC"; then
29051 ac_cv_prog_RC="$RC" # Let the user override the test.
29053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29054 for as_dir in $PATH
29057 test -z "$as_dir" && as_dir=.
29058 for ac_exec_ext in '' $ac_executable_extensions; do
29059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29060 ac_cv_prog_RC="${ac_tool_prefix}windres"
29061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29071 if test -n "$RC"; then
29072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
29073 $as_echo "$RC" >&6; }
29075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29076 $as_echo "no" >&6; }
29081 if test -z "$ac_cv_prog_RC"; then
29083 # Extract the first word of "windres", so it can be a program name with args.
29084 set dummy windres; ac_word=$2
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29086 $as_echo_n "checking for $ac_word... " >&6; }
29087 if ${ac_cv_prog_ac_ct_RC+:} false; then :
29088 $as_echo_n "(cached) " >&6
29090 if test -n "$ac_ct_RC"; then
29091 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
29093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29094 for as_dir in $PATH
29097 test -z "$as_dir" && as_dir=.
29098 for ac_exec_ext in '' $ac_executable_extensions; do
29099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29100 ac_cv_prog_ac_ct_RC="windres"
29101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29110 ac_ct_RC=$ac_cv_prog_ac_ct_RC
29111 if test -n "$ac_ct_RC"; then
29112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
29113 $as_echo "$ac_ct_RC" >&6; }
29115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29116 $as_echo "no" >&6; }
29119 if test "x$ac_ct_RC" = x; then
29122 case $cross_compiling:$ac_tool_warned in
29124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
29125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
29126 ac_tool_warned=yes ;;
29131 RC="$ac_cv_prog_RC"
29137 # Source file extension for RC test sources.
29140 # Object file extension for compiled RC test sources.
29144 # Code to be used in simple compile tests
29145 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
29147 # Code to be used in simple link tests
29148 lt_simple_link_test_code=$lt_simple_compile_test_code
29150 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
29157 # If no C compiler was specified, use CC.
29160 # If no C compiler flags were specified, use CFLAGS.
29161 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
29163 # Allow CC to be a program name with arguments.
29167 # save warnings/boilerplate of simple test code
29168 ac_outfile=conftest.$ac_objext
29169 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
29170 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
29171 _lt_compiler_boilerplate=`cat conftest.err`
29174 ac_outfile=conftest.$ac_objext
29175 echo "$lt_simple_link_test_code" >conftest.$ac_ext
29176 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
29177 _lt_linker_boilerplate=`cat conftest.err`
29181 # Allow CC to be a program name with arguments.
29183 lt_save_CFLAGS=$CFLAGS
29190 func_cc_basename $compiler
29191 cc_basename=$func_cc_basename_result
29193 lt_cv_prog_compiler_c_o_RC=yes
29195 if test -n "$compiler"; then
29204 ac_cpp='$CPP $CPPFLAGS'
29205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29210 CFLAGS=$lt_save_CFLAGS
29213 # Ensure the correct file name (and path) conversion function
29214 # is available to the test suite.
29216 # Propagate --with-aix-soname option to the testsuite.
29218 ## ---------------------- ##
29219 ## Gnulib initialisation. ##
29220 ## ---------------------- ##
29229 # Check whether --enable-cross-guesses was given.
29230 if test "${enable_cross_guesses+set}" = set; then :
29231 enableval=$enable_cross_guesses; if test "x$enableval" != xconservative && test "x$enableval" != xrisky; then
29232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-cross-guesses" >&5
29233 $as_echo "$as_me: WARNING: invalid argument supplied to --enable-cross-guesses" >&2;}
29234 enableval=conservative
29236 gl_cross_guesses="$enableval"
29238 gl_cross_guesses=conservative
29241 if test $gl_cross_guesses = risky; then
29242 gl_cross_guess_normal="guessing yes"
29243 gl_cross_guess_inverted="guessing no"
29245 gl_cross_guess_normal="guessing no"
29246 gl_cross_guess_inverted="guessing yes"
29248 LIBC_FATAL_STDERR_=1
29249 export LIBC_FATAL_STDERR_
29254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler option to allow warnings" >&5
29255 $as_echo_n "checking for C compiler option to allow warnings... " >&6; }
29256 if ${gl_cv_cc_wallow+:} false; then :
29257 $as_echo_n "(cached) " >&6
29260 echo 'int dummy;' > conftest.c
29261 { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c 2>conftest1.err'
29262 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29263 (eval $ac_try) 2>&5
29265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29266 test $ac_status = 0; }; } >/dev/null
29267 { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -Wno-error -c conftest.c 2>conftest2.err'
29268 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29269 (eval $ac_try) 2>&5
29271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29272 test $ac_status = 0; }; } >/dev/null
29273 if test $? = 0 && test `wc -l < conftest1.err` = `wc -l < conftest2.err`; then
29274 gl_cv_cc_wallow='-Wno-error'
29276 gl_cv_cc_wallow=none
29281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_wallow" >&5
29282 $as_echo "$gl_cv_cc_wallow" >&6; }
29283 case "$gl_cv_cc_wallow" in
29284 none) GL_CFLAG_ALLOW_WARNINGS='' ;;
29285 *) GL_CFLAG_ALLOW_WARNINGS="$gl_cv_cc_wallow" ;;
29290 if test -n "$CXX" && test "$CXX" != no; then
29291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler option to allow warnings" >&5
29292 $as_echo_n "checking for C++ compiler option to allow warnings... " >&6; }
29293 if ${gl_cv_cxx_wallow+:} false; then :
29294 $as_echo_n "(cached) " >&6
29297 echo 'int dummy;' > conftest.cc
29298 { ac_try='${CXX-c++} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>conftest1.err'
29299 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29300 (eval $ac_try) 2>&5
29302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29303 test $ac_status = 0; }; } >/dev/null
29304 { ac_try='${CXX-c++} $CXXFLAGS $CPPFLAGS -Wno-error -c conftest.cc 2>conftest2.err'
29305 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29306 (eval $ac_try) 2>&5
29308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29309 test $ac_status = 0; }; } >/dev/null
29310 if test $? = 0 && test `wc -l < conftest1.err` = `wc -l < conftest2.err`; then
29311 gl_cv_cxx_wallow='-Wno-error'
29313 gl_cv_cxx_wallow=none
29318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cxx_wallow" >&5
29319 $as_echo "$gl_cv_cxx_wallow" >&6; }
29320 case "$gl_cv_cxx_wallow" in
29321 none) GL_CXXFLAG_ALLOW_WARNINGS='' ;;
29322 *) GL_CXXFLAG_ALLOW_WARNINGS="$gl_cv_cxx_wallow" ;;
29325 GL_CXXFLAG_ALLOW_WARNINGS=''
29331 GL_CFLAG_GNULIB_WARNINGS=''
29332 if test -n "$GL_CFLAG_ALLOW_WARNINGS"; then
29333 cat > conftest.c <<\EOF
29334 #if __GNUC__ >= 3 || (__clang_major__ + (__clang_minor__ >= 9) > 3)
29340 -Wno-unused-function
29341 -Wno-unused-parameter
29343 #if __GNUC__ + (__GNUC_MINOR__ >= 9) > 4 || (__clang_major__ + (__clang_minor__ >= 9) > 3)
29344 -Wno-float-conversion
29346 #if __GNUC__ >= 7 || (__clang_major__ + (__clang_minor__ >= 9) > 3)
29347 -Wimplicit-fallthrough
29349 #if __GNUC__ + (__GNUC_MINOR__ >= 8) > 4 || (__clang_major__ + (__clang_minor__ >= 9) > 3)
29352 #if __GNUC__ + (__GNUC_MINOR__ >= 3) > 4 || (__clang_major__ + (__clang_minor__ >= 9) > 3)
29353 -Wno-sign-conversion
29356 #if __GNUC__ + (__GNUC_MINOR__ >= 5) > 4
29357 -Wno-unsuffixed-float-constants
29360 gl_command="$CC $CFLAGS $CPPFLAGS -E conftest.c > conftest.out"
29361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gl_command\""; } >&5
29362 (eval $gl_command) 2>&5
29364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29365 test $ac_status = 0; }; then
29366 gl_options=`grep -v '#' conftest.out`
29367 for word in $gl_options; do
29368 GL_CFLAG_GNULIB_WARNINGS="$GL_CFLAG_GNULIB_WARNINGS $word"
29371 rm -f conftest.c conftest.out
29377 GL_COND_LIBTOOL_TRUE=
29378 GL_COND_LIBTOOL_FALSE='#'
29380 GL_COND_LIBTOOL_TRUE='#'
29381 GL_COND_LIBTOOL_FALSE=
29384 gl_cond_libtool=true
29398 gl_source_base='lib'
29399 gl_source_base_prefix=
29400 # Autoconf 2.61a.99 and earlier don't support linking a file only
29401 # in VPATH builds. But since GNUmakefile is for maintainer use
29402 # only, it does not matter if we skip the link with older autoconf.
29403 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
29404 # builds, so use a shell variable to bypass this.
29405 GNUmakefile=GNUmakefile
29406 ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
29411 # End of code from modules
29437 gl_source_base='gnulib-tests'
29438 gl_source_base_prefix=
29439 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
29441 gl_module_indicator_condition=$GLtests_WITNESS
29443 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
29445 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
29460 ## ------------- ##
29461 ## Documentation ##
29462 ## ------------- ##
29464 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
29470 ac_config_files="$ac_config_files Makefile gnulib-tests/Makefile"
29472 cat >confcache <<\_ACEOF
29473 # This file is a shell script that caches the results of configure
29474 # tests run on this system so they can be shared between configure
29475 # scripts and configure runs, see configure's option --config-cache.
29476 # It is not useful on other systems. If it contains results you don't
29477 # want to keep, you may remove or edit it.
29479 # config.status only pays attention to the cache file if you give it
29480 # the --recheck option to rerun configure.
29482 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29483 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29484 # following values.
29488 # The following way of writing the cache mishandles newlines in values,
29489 # but we know of no workaround that is simple, portable, and efficient.
29490 # So, we kill variables containing newlines.
29491 # Ultrix sh set writes to stderr and can't be redirected directly,
29492 # and sets the high bit in the cache file unless we assign to the vars.
29494 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29495 eval ac_val=\$$ac_var
29499 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
29500 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
29503 _ | IFS | as_nl) ;; #(
29504 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
29505 *) { eval $ac_var=; unset $ac_var;} ;;
29511 case $as_nl`(ac_space=' '; set) 2>&1` in #(
29512 *${as_nl}ac_space=\ *)
29513 # `set' does not quote correctly, so add quotes: double-quote
29514 # substitution turns \\\\ into \\, and sed turns \\ into \.
29517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29520 # `set' quotes correctly as required by POSIX, so do not add quotes.
29521 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29530 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29532 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29534 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29535 if test -w "$cache_file"; then
29536 if test "x$cache_file" != "x/dev/null"; then
29537 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
29538 $as_echo "$as_me: updating cache $cache_file" >&6;}
29539 if test ! -f "$cache_file" || test -h "$cache_file"; then
29540 cat confcache >"$cache_file"
29542 case $cache_file in #(
29544 mv -f confcache "$cache_file"$$ &&
29545 mv -f "$cache_file"$$ "$cache_file" ;; #(
29547 mv -f confcache "$cache_file" ;;
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
29553 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29558 test "x$prefix" = xNONE && prefix=$ac_default_prefix
29559 # Let make expand exec_prefix.
29560 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29562 DEFS=-DHAVE_CONFIG_H
29567 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29568 # 1. Remove the extension, and $U if already installed.
29569 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29570 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
29571 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29572 # will be set to the directory where LIBOBJS objects are built.
29573 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29574 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
29576 LIBOBJS=$ac_libobjs
29578 LTLIBOBJS=$ac_ltlibobjs
29581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
29582 $as_echo_n "checking that generated files are newer than configure... " >&6; }
29583 if test -n "$am_sleep_pid"; then
29584 # Hide warnings about reused PIDs.
29585 wait $am_sleep_pid 2>/dev/null
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
29588 $as_echo "done" >&6; }
29589 if test -n "$EXEEXT"; then
29591 am__EXEEXT_FALSE='#'
29593 am__EXEEXT_TRUE='#'
29597 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29598 as_fn_error $? "conditional \"AMDEP\" was never defined.
29599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29601 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29602 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
29603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29605 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
29606 as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
29607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29609 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
29610 as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
29611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29613 LT_CONFIG_H=config.h
29614 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29615 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
29616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29618 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
29619 as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
29620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29622 CONFIG_INCLUDE=config.h
29628 if test -n "$GL_LIBOBJS"; then
29629 # Remove the extension.
29630 sed_drop_objext='s/\.o$//;s/\.obj$//'
29631 sed_dirname1='s,//*,/,g'
29632 sed_dirname2='s,\(.\)/$,\1,'
29633 sed_dirname3='s,^[^/]*$,.,'
29634 sed_dirname4='s,\(.\)/[^/]*$,\1,'
29635 sed_basename1='s,.*/,,'
29636 for i in `for i in $GL_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
29637 GL_libobjs="$GL_libobjs $i.$ac_objext"
29638 GL_ltlibobjs="$GL_ltlibobjs $i.lo"
29639 i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3" -e "$sed_dirname4"`
29640 i_base=`echo "$i" | sed -e "$sed_basename1"`
29641 GL_libobjdeps="$GL_libobjdeps $i_dir/\$(DEPDIR)/$i_base.Plo"
29644 GL_LIBOBJS=$GL_libobjs
29646 GL_LTLIBOBJS=$GL_ltlibobjs
29648 GL_LIBOBJDEPS=$GL_libobjdeps
29654 GLtests_libobjdeps=
29655 if test -n "$GLtests_LIBOBJS"; then
29656 # Remove the extension.
29657 sed_drop_objext='s/\.o$//;s/\.obj$//'
29658 sed_dirname1='s,//*,/,g'
29659 sed_dirname2='s,\(.\)/$,\1,'
29660 sed_dirname3='s,^[^/]*$,.,'
29661 sed_dirname4='s,\(.\)/[^/]*$,\1,'
29662 sed_basename1='s,.*/,,'
29663 for i in `for i in $GLtests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
29664 GLtests_libobjs="$GLtests_libobjs $i.$ac_objext"
29665 GLtests_ltlibobjs="$GLtests_ltlibobjs $i.lo"
29666 i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3" -e "$sed_dirname4"`
29667 i_base=`echo "$i" | sed -e "$sed_basename1"`
29668 GLtests_libobjdeps="$GLtests_libobjdeps $i_dir/\$(DEPDIR)/$i_base.Plo"
29671 GLtests_LIBOBJS=$GLtests_libobjs
29673 GLtests_LTLIBOBJS=$GLtests_ltlibobjs
29675 GLtests_LIBOBJDEPS=$GLtests_libobjdeps
29679 : "${CONFIG_STATUS=./config.status}"
29681 ac_clean_files_save=$ac_clean_files
29682 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
29684 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
29686 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
29688 # Generated by $as_me.
29689 # Run this file to recreate the current configuration.
29690 # Compiler output produced by configure, useful for debugging
29691 # configure, is in config.log if it exists.
29694 ac_cs_recheck=false
29697 SHELL=\${CONFIG_SHELL-$SHELL}
29700 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
29701 ## -------------------- ##
29702 ## M4sh Initialization. ##
29703 ## -------------------- ##
29705 # Be more Bourne compatible
29706 DUALCASE=1; export DUALCASE # for MKS sh
29707 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
29710 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29711 # is contrary to our usage. Disable this feature.
29712 alias -g '${1+"$@"}'='"$@"'
29713 setopt NO_GLOB_SUBST
29715 case `(set -o) 2>/dev/null` in #(
29727 # Printing a long string crashes Solaris 7 /usr/bin/printf.
29728 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
29729 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
29730 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
29731 # Prefer a ksh shell builtin over an external printf program on Solaris,
29732 # but without wasting forks for bash or zsh.
29733 if test -z "$BASH_VERSION$ZSH_VERSION" \
29734 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
29735 as_echo='print -r --'
29736 as_echo_n='print -rn --'
29737 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
29738 as_echo='printf %s\n'
29739 as_echo_n='printf %s'
29741 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
29742 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
29743 as_echo_n='/usr/ucb/echo -n'
29745 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
29746 as_echo_n_body='eval
29750 expr "X$arg" : "X\\(.*\\)$as_nl";
29751 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
29753 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
29755 export as_echo_n_body
29756 as_echo_n='sh -c $as_echo_n_body as_echo'
29758 export as_echo_body
29759 as_echo='sh -c $as_echo_body as_echo'
29762 # The user is always right.
29763 if test "${PATH_SEPARATOR+set}" != set; then
29765 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
29766 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
29773 # We need space, tab and new line, in precisely that order. Quoting is
29774 # there to prevent editors from complaining about space-tab.
29775 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
29776 # splitting by setting IFS to empty value.)
29779 # Find who we are. Look in the path if we contain no directory separator.
29782 *[\\/]* ) as_myself=$0 ;;
29783 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29784 for as_dir in $PATH
29787 test -z "$as_dir" && as_dir=.
29788 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29794 # We did not find ourselves, most probably we were run as `sh COMMAND'
29795 # in which case we are not to be found in the path.
29796 if test "x$as_myself" = x; then
29799 if test ! -f "$as_myself"; then
29800 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29804 # Unset variables that we do not need and which cause bugs (e.g. in
29805 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
29806 # suppresses any "Segmentation fault" message there. '((' could
29807 # trigger a bug in pdksh 5.2.14.
29808 for as_var in BASH_ENV ENV MAIL MAILPATH
29809 do eval test x\${$as_var+set} = xset \
29810 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
29823 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29826 # as_fn_error STATUS ERROR [LINENO LOG_FD]
29827 # ----------------------------------------
29828 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
29829 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
29830 # script with STATUS, using 1 if that was 0.
29833 as_status=$1; test $as_status -eq 0 && as_status=1
29835 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
29836 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
29838 $as_echo "$as_me: error: $2" >&2
29839 as_fn_exit $as_status
29843 # as_fn_set_status STATUS
29844 # -----------------------
29845 # Set $? to STATUS, without forking.
29846 as_fn_set_status ()
29849 } # as_fn_set_status
29851 # as_fn_exit STATUS
29852 # -----------------
29853 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
29857 as_fn_set_status $1
29863 # Portably unset VAR.
29866 { eval $1=; unset $1;}
29868 as_unset=as_fn_unset
29869 # as_fn_append VAR VALUE
29870 # ----------------------
29871 # Append the text in VALUE to the end of the definition contained in VAR. Take
29872 # advantage of any shell optimizations that allow amortized linear growth over
29873 # repeated appends, instead of the typical quadratic growth present in naive
29875 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
29876 eval 'as_fn_append ()
29887 # as_fn_arith ARG...
29888 # ------------------
29889 # Perform arithmetic evaluation on the ARGs, and store the result in the
29890 # global $as_val. Take advantage of shells that can avoid forks. The arguments
29891 # must be portable across $(()) and expr.
29892 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
29893 eval 'as_fn_arith ()
29900 as_val=`expr "$@" || test $? -eq 1`
29905 if expr a : '\(a\)' >/dev/null 2>&1 &&
29906 test "X`expr 00001 : '.*\(...\)'`" = X001; then
29912 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29913 as_basename=basename
29918 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29924 as_me=`$as_basename -- "$0" ||
29925 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29926 X"$0" : 'X\(//\)$' \| \
29927 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29929 sed '/^.*\/\([^/][^/]*\)\/*$/{
29943 # Avoid depending upon Character Ranges.
29944 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29945 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29946 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29947 as_cr_digits='0123456789'
29948 as_cr_alnum=$as_cr_Letters$as_cr_digits
29950 ECHO_C= ECHO_N= ECHO_T=
29951 case `echo -n x` in #(((((
29953 case `echo 'xy\c'` in
29954 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
29956 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
29963 rm -f conf$$ conf$$.exe conf$$.file
29964 if test -d conf$$.dir; then
29965 rm -f conf$$.dir/conf$$.file
29968 mkdir conf$$.dir 2>/dev/null
29970 if (echo >conf$$.file) 2>/dev/null; then
29971 if ln -s conf$$.file conf$$ 2>/dev/null; then
29973 # ... but there are two gotchas:
29974 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29975 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29976 # In both cases, we have to default to `cp -pR'.
29977 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29979 elif ln conf$$.file conf$$ 2>/dev/null; then
29987 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29988 rmdir conf$$.dir 2>/dev/null
29993 # Create "$as_dir" as a directory, including parents if necessary.
29998 -*) as_dir=./$as_dir;;
30000 test -d "$as_dir" || eval $as_mkdir_p || {
30004 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
30005 *) as_qdir=$as_dir;;
30007 as_dirs="'$as_qdir' $as_dirs"
30008 as_dir=`$as_dirname -- "$as_dir" ||
30009 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30010 X"$as_dir" : 'X\(//\)[^/]' \| \
30011 X"$as_dir" : 'X\(//\)$' \| \
30012 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30013 $as_echo X"$as_dir" |
30014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30018 /^X\(\/\/\)[^/].*/{
30031 test -d "$as_dir" && break
30033 test -z "$as_dirs" || eval "mkdir $as_dirs"
30034 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
30038 if mkdir -p . 2>/dev/null; then
30039 as_mkdir_p='mkdir -p "$as_dir"'
30041 test -d ./-p && rmdir ./-p
30046 # as_fn_executable_p FILE
30047 # -----------------------
30048 # Test if FILE is an executable regular file.
30049 as_fn_executable_p ()
30051 test -f "$1" && test -x "$1"
30052 } # as_fn_executable_p
30053 as_test_x='test -x'
30054 as_executable_p=as_fn_executable_p
30056 # Sed expression to map a string onto a valid CPP name.
30057 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30059 # Sed expression to map a string onto a valid variable name.
30060 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30064 ## ----------------------------------- ##
30065 ## Main body of $CONFIG_STATUS script. ##
30066 ## ----------------------------------- ##
30068 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
30070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30071 # Save the log message, to keep $0 and so on meaningful, and to
30072 # report actual input values of CONFIG_FILES etc. instead of their
30073 # values after options handling.
30075 This file was extended by GNU Libtool $as_me 2.4.7, which was
30076 generated by GNU Autoconf 2.69. Invocation command line was
30078 CONFIG_FILES = $CONFIG_FILES
30079 CONFIG_HEADERS = $CONFIG_HEADERS
30080 CONFIG_LINKS = $CONFIG_LINKS
30081 CONFIG_COMMANDS = $CONFIG_COMMANDS
30084 on `(hostname || uname -n) 2>/dev/null | sed 1q`
30089 case $ac_config_files in *"
30090 "*) set x $ac_config_files; shift; ac_config_files=$*;;
30093 case $ac_config_headers in *"
30094 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
30098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30099 # Files that config.status was made for.
30100 config_files="$ac_config_files"
30101 config_headers="$ac_config_headers"
30102 config_links="$ac_config_links"
30103 config_commands="$ac_config_commands"
30107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30109 \`$as_me' instantiates files and other configuration actions
30110 from templates according to the current configuration. Unless the files
30111 and actions are specified as TAGs, all are instantiated by default.
30113 Usage: $0 [OPTION]... [TAG]...
30115 -h, --help print this help, then exit
30116 -V, --version print version number and configuration settings, then exit
30117 --config print configuration, then exit
30118 -q, --quiet, --silent
30119 do not print progress messages
30120 -d, --debug don't remove temporary files
30121 --recheck update $as_me by reconfiguring in the same conditions
30122 --file=FILE[:TEMPLATE]
30123 instantiate the configuration file FILE
30124 --header=FILE[:TEMPLATE]
30125 instantiate the configuration header FILE
30127 Configuration files:
30130 Configuration headers:
30133 Configuration links:
30136 Configuration commands:
30139 Report bugs to <bug-libtool@gnu.org>.
30140 GNU Libtool home page: <http://www.gnu.org/software/libtool/>.
30141 General help using GNU software: <http://www.gnu.org/gethelp/>."
30144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30145 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
30147 GNU Libtool config.status 2.4.7
30148 configured by $0, generated by GNU Autoconf 2.69,
30149 with options \\"\$ac_cs_config\\"
30151 Copyright (C) 2012 Free Software Foundation, Inc.
30152 This config.status script is free software; the Free Software Foundation
30153 gives unlimited permission to copy, distribute and modify it."
30160 test -n "\$AWK" || AWK=awk
30163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30164 # The default lists apply if the user does not specify any file.
30170 ac_option=`expr "X$1" : 'X\([^=]*\)='`
30171 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
30175 ac_option=`expr "X$1" : 'X\([^=]*\)='`
30187 # Handling of the options.
30188 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30190 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
30191 $as_echo "$ac_cs_version"; exit ;;
30192 --config | --confi | --conf | --con | --co | --c )
30193 $as_echo "$ac_cs_config"; exit ;;
30194 --debug | --debu | --deb | --de | --d | -d )
30196 --file | --fil | --fi | --f )
30199 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30200 '') as_fn_error $? "missing file argument" ;;
30202 as_fn_append CONFIG_FILES " '$ac_optarg'"
30203 ac_need_defaults=false;;
30204 --header | --heade | --head | --hea )
30207 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30209 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
30210 ac_need_defaults=false;;
30212 # Conflict between --help and --header
30213 as_fn_error $? "ambiguous option: \`$1'
30214 Try \`$0 --help' for more information.";;
30215 --help | --hel | -h )
30216 $as_echo "$ac_cs_usage"; exit ;;
30217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
30218 | -silent | --silent | --silen | --sile | --sil | --si | --s)
30221 # This is an error.
30222 -*) as_fn_error $? "unrecognized option: \`$1'
30223 Try \`$0 --help' for more information." ;;
30225 *) as_fn_append ac_config_targets " $1"
30226 ac_need_defaults=false ;;
30232 ac_configure_extra_args=
30234 if $ac_cs_silent; then
30236 ac_configure_extra_args="$ac_configure_extra_args --silent"
30240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30241 if \$ac_cs_recheck; then
30242 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30244 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
30245 CONFIG_SHELL='$SHELL'
30246 export CONFIG_SHELL
30251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30255 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30256 ## Running $as_me. ##
30262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30267 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
30270 # The HP-UX ksh and POSIX shell print the target directory to stdout
30271 # if CDPATH is set.
30272 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
30274 sed_quote_subst='$sed_quote_subst'
30275 double_quote_subst='$double_quote_subst'
30276 delay_variable_subst='$delay_variable_subst'
30277 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
30278 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
30279 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
30280 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
30281 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
30282 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
30283 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
30284 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
30285 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
30286 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
30287 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
30288 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
30289 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
30290 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
30291 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
30292 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
30293 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
30294 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
30295 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
30296 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
30297 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
30298 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
30299 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
30300 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
30301 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
30302 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
30303 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
30304 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
30305 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
30306 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
30307 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
30308 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
30309 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
30310 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
30311 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
30312 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
30313 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
30314 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
30315 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
30316 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
30317 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
30318 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
30319 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
30320 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
30321 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
30322 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
30323 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
30324 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
30325 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
30326 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
30327 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
30328 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
30329 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
30330 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
30331 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
30332 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
30333 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
30334 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
30335 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
30336 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
30337 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
30338 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"`'
30339 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
30340 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
30341 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
30342 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
30343 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
30344 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
30345 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
30346 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
30347 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
30348 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
30349 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
30350 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
30351 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
30352 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
30353 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
30354 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
30355 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
30356 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
30357 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
30358 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
30359 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
30360 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
30361 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
30362 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
30363 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
30364 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
30365 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
30366 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
30367 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
30368 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
30369 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
30370 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
30371 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
30372 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
30373 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
30374 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
30375 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
30376 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
30377 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
30378 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
30379 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
30380 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
30381 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
30382 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
30383 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
30384 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
30385 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
30386 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
30387 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
30388 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
30389 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
30390 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
30391 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
30392 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
30393 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
30394 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
30395 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
30396 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
30397 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
30398 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
30399 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
30400 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
30401 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
30402 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
30403 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
30404 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
30405 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
30406 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
30407 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
30408 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
30409 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
30410 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
30411 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
30412 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
30413 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
30414 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
30415 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
30416 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
30417 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
30418 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
30419 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
30420 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
30421 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
30422 LD_F77='`$ECHO "$LD_F77" | $SED "$delay_single_quote_subst"`'
30423 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
30424 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
30425 LD_GCJ='`$ECHO "$LD_GCJ" | $SED "$delay_single_quote_subst"`'
30426 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
30427 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
30428 reload_flag_F77='`$ECHO "$reload_flag_F77" | $SED "$delay_single_quote_subst"`'
30429 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
30430 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
30431 reload_flag_GCJ='`$ECHO "$reload_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30432 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
30433 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30434 reload_cmds_F77='`$ECHO "$reload_cmds_F77" | $SED "$delay_single_quote_subst"`'
30435 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
30436 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
30437 reload_cmds_GCJ='`$ECHO "$reload_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30438 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
30439 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30440 old_archive_cmds_F77='`$ECHO "$old_archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
30441 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
30442 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
30443 old_archive_cmds_GCJ='`$ECHO "$old_archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30444 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
30445 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
30446 compiler_F77='`$ECHO "$compiler_F77" | $SED "$delay_single_quote_subst"`'
30447 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
30448 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
30449 compiler_GCJ='`$ECHO "$compiler_GCJ" | $SED "$delay_single_quote_subst"`'
30450 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
30451 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
30452 GCC_F77='`$ECHO "$GCC_F77" | $SED "$delay_single_quote_subst"`'
30453 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
30454 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
30455 GCC_GCJ='`$ECHO "$GCC_GCJ" | $SED "$delay_single_quote_subst"`'
30456 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
30457 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
30458 lt_prog_compiler_no_builtin_flag_F77='`$ECHO "$lt_prog_compiler_no_builtin_flag_F77" | $SED "$delay_single_quote_subst"`'
30459 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
30460 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
30461 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "$lt_prog_compiler_no_builtin_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30462 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
30463 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
30464 lt_prog_compiler_pic_F77='`$ECHO "$lt_prog_compiler_pic_F77" | $SED "$delay_single_quote_subst"`'
30465 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
30466 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
30467 lt_prog_compiler_pic_GCJ='`$ECHO "$lt_prog_compiler_pic_GCJ" | $SED "$delay_single_quote_subst"`'
30468 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
30469 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
30470 lt_prog_compiler_wl_F77='`$ECHO "$lt_prog_compiler_wl_F77" | $SED "$delay_single_quote_subst"`'
30471 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
30472 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
30473 lt_prog_compiler_wl_GCJ='`$ECHO "$lt_prog_compiler_wl_GCJ" | $SED "$delay_single_quote_subst"`'
30474 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
30475 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
30476 lt_prog_compiler_static_F77='`$ECHO "$lt_prog_compiler_static_F77" | $SED "$delay_single_quote_subst"`'
30477 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
30478 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
30479 lt_prog_compiler_static_GCJ='`$ECHO "$lt_prog_compiler_static_GCJ" | $SED "$delay_single_quote_subst"`'
30480 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
30481 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
30482 lt_cv_prog_compiler_c_o_F77='`$ECHO "$lt_cv_prog_compiler_c_o_F77" | $SED "$delay_single_quote_subst"`'
30483 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
30484 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
30485 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "$lt_cv_prog_compiler_c_o_GCJ" | $SED "$delay_single_quote_subst"`'
30486 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
30487 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
30488 archive_cmds_need_lc_F77='`$ECHO "$archive_cmds_need_lc_F77" | $SED "$delay_single_quote_subst"`'
30489 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
30490 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
30491 archive_cmds_need_lc_GCJ='`$ECHO "$archive_cmds_need_lc_GCJ" | $SED "$delay_single_quote_subst"`'
30492 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
30493 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
30494 enable_shared_with_static_runtimes_F77='`$ECHO "$enable_shared_with_static_runtimes_F77" | $SED "$delay_single_quote_subst"`'
30495 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
30496 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
30497 enable_shared_with_static_runtimes_GCJ='`$ECHO "$enable_shared_with_static_runtimes_GCJ" | $SED "$delay_single_quote_subst"`'
30498 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
30499 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30500 export_dynamic_flag_spec_F77='`$ECHO "$export_dynamic_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
30501 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
30502 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
30503 export_dynamic_flag_spec_GCJ='`$ECHO "$export_dynamic_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30504 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
30505 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30506 whole_archive_flag_spec_F77='`$ECHO "$whole_archive_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
30507 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
30508 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
30509 whole_archive_flag_spec_GCJ='`$ECHO "$whole_archive_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30510 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
30511 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
30512 compiler_needs_object_F77='`$ECHO "$compiler_needs_object_F77" | $SED "$delay_single_quote_subst"`'
30513 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
30514 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
30515 compiler_needs_object_GCJ='`$ECHO "$compiler_needs_object_GCJ" | $SED "$delay_single_quote_subst"`'
30516 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
30517 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30518 old_archive_from_new_cmds_F77='`$ECHO "$old_archive_from_new_cmds_F77" | $SED "$delay_single_quote_subst"`'
30519 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
30520 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
30521 old_archive_from_new_cmds_GCJ='`$ECHO "$old_archive_from_new_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30522 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
30523 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30524 old_archive_from_expsyms_cmds_F77='`$ECHO "$old_archive_from_expsyms_cmds_F77" | $SED "$delay_single_quote_subst"`'
30525 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
30526 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
30527 old_archive_from_expsyms_cmds_GCJ='`$ECHO "$old_archive_from_expsyms_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30528 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
30529 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30530 archive_cmds_F77='`$ECHO "$archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
30531 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
30532 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
30533 archive_cmds_GCJ='`$ECHO "$archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30534 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
30535 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30536 archive_expsym_cmds_F77='`$ECHO "$archive_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
30537 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
30538 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
30539 archive_expsym_cmds_GCJ='`$ECHO "$archive_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30540 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
30541 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30542 module_cmds_F77='`$ECHO "$module_cmds_F77" | $SED "$delay_single_quote_subst"`'
30543 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
30544 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
30545 module_cmds_GCJ='`$ECHO "$module_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30546 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
30547 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30548 module_expsym_cmds_F77='`$ECHO "$module_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
30549 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
30550 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
30551 module_expsym_cmds_GCJ='`$ECHO "$module_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30552 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
30553 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
30554 with_gnu_ld_F77='`$ECHO "$with_gnu_ld_F77" | $SED "$delay_single_quote_subst"`'
30555 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
30556 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
30557 with_gnu_ld_GCJ='`$ECHO "$with_gnu_ld_GCJ" | $SED "$delay_single_quote_subst"`'
30558 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
30559 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
30560 allow_undefined_flag_F77='`$ECHO "$allow_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
30561 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
30562 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
30563 allow_undefined_flag_GCJ='`$ECHO "$allow_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30564 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
30565 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
30566 no_undefined_flag_F77='`$ECHO "$no_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
30567 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
30568 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
30569 no_undefined_flag_GCJ='`$ECHO "$no_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30570 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
30571 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30572 hardcode_libdir_flag_spec_F77='`$ECHO "$hardcode_libdir_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
30573 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
30574 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
30575 hardcode_libdir_flag_spec_GCJ='`$ECHO "$hardcode_libdir_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30576 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
30577 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
30578 hardcode_libdir_separator_F77='`$ECHO "$hardcode_libdir_separator_F77" | $SED "$delay_single_quote_subst"`'
30579 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
30580 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
30581 hardcode_libdir_separator_GCJ='`$ECHO "$hardcode_libdir_separator_GCJ" | $SED "$delay_single_quote_subst"`'
30582 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
30583 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
30584 hardcode_direct_F77='`$ECHO "$hardcode_direct_F77" | $SED "$delay_single_quote_subst"`'
30585 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
30586 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
30587 hardcode_direct_GCJ='`$ECHO "$hardcode_direct_GCJ" | $SED "$delay_single_quote_subst"`'
30588 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
30589 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
30590 hardcode_direct_absolute_F77='`$ECHO "$hardcode_direct_absolute_F77" | $SED "$delay_single_quote_subst"`'
30591 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
30592 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
30593 hardcode_direct_absolute_GCJ='`$ECHO "$hardcode_direct_absolute_GCJ" | $SED "$delay_single_quote_subst"`'
30594 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
30595 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
30596 hardcode_minus_L_F77='`$ECHO "$hardcode_minus_L_F77" | $SED "$delay_single_quote_subst"`'
30597 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
30598 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
30599 hardcode_minus_L_GCJ='`$ECHO "$hardcode_minus_L_GCJ" | $SED "$delay_single_quote_subst"`'
30600 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
30601 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
30602 hardcode_shlibpath_var_F77='`$ECHO "$hardcode_shlibpath_var_F77" | $SED "$delay_single_quote_subst"`'
30603 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
30604 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
30605 hardcode_shlibpath_var_GCJ='`$ECHO "$hardcode_shlibpath_var_GCJ" | $SED "$delay_single_quote_subst"`'
30606 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
30607 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
30608 hardcode_automatic_F77='`$ECHO "$hardcode_automatic_F77" | $SED "$delay_single_quote_subst"`'
30609 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
30610 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
30611 hardcode_automatic_GCJ='`$ECHO "$hardcode_automatic_GCJ" | $SED "$delay_single_quote_subst"`'
30612 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
30613 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
30614 inherit_rpath_F77='`$ECHO "$inherit_rpath_F77" | $SED "$delay_single_quote_subst"`'
30615 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
30616 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
30617 inherit_rpath_GCJ='`$ECHO "$inherit_rpath_GCJ" | $SED "$delay_single_quote_subst"`'
30618 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
30619 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
30620 link_all_deplibs_F77='`$ECHO "$link_all_deplibs_F77" | $SED "$delay_single_quote_subst"`'
30621 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
30622 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
30623 link_all_deplibs_GCJ='`$ECHO "$link_all_deplibs_GCJ" | $SED "$delay_single_quote_subst"`'
30624 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
30625 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
30626 always_export_symbols_F77='`$ECHO "$always_export_symbols_F77" | $SED "$delay_single_quote_subst"`'
30627 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
30628 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
30629 always_export_symbols_GCJ='`$ECHO "$always_export_symbols_GCJ" | $SED "$delay_single_quote_subst"`'
30630 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
30631 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30632 export_symbols_cmds_F77='`$ECHO "$export_symbols_cmds_F77" | $SED "$delay_single_quote_subst"`'
30633 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
30634 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
30635 export_symbols_cmds_GCJ='`$ECHO "$export_symbols_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30636 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
30637 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
30638 exclude_expsyms_F77='`$ECHO "$exclude_expsyms_F77" | $SED "$delay_single_quote_subst"`'
30639 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
30640 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
30641 exclude_expsyms_GCJ='`$ECHO "$exclude_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
30642 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
30643 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
30644 include_expsyms_F77='`$ECHO "$include_expsyms_F77" | $SED "$delay_single_quote_subst"`'
30645 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
30646 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
30647 include_expsyms_GCJ='`$ECHO "$include_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
30648 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
30649 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30650 prelink_cmds_F77='`$ECHO "$prelink_cmds_F77" | $SED "$delay_single_quote_subst"`'
30651 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
30652 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
30653 prelink_cmds_GCJ='`$ECHO "$prelink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30654 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
30655 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30656 postlink_cmds_F77='`$ECHO "$postlink_cmds_F77" | $SED "$delay_single_quote_subst"`'
30657 postlink_cmds_FC='`$ECHO "$postlink_cmds_FC" | $SED "$delay_single_quote_subst"`'
30658 postlink_cmds_GO='`$ECHO "$postlink_cmds_GO" | $SED "$delay_single_quote_subst"`'
30659 postlink_cmds_GCJ='`$ECHO "$postlink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30660 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
30661 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
30662 file_list_spec_F77='`$ECHO "$file_list_spec_F77" | $SED "$delay_single_quote_subst"`'
30663 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
30664 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
30665 file_list_spec_GCJ='`$ECHO "$file_list_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30666 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
30667 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
30668 hardcode_action_F77='`$ECHO "$hardcode_action_F77" | $SED "$delay_single_quote_subst"`'
30669 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
30670 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
30671 hardcode_action_GCJ='`$ECHO "$hardcode_action_GCJ" | $SED "$delay_single_quote_subst"`'
30672 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
30673 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
30674 compiler_lib_search_dirs_F77='`$ECHO "$compiler_lib_search_dirs_F77" | $SED "$delay_single_quote_subst"`'
30675 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
30676 compiler_lib_search_dirs_GO='`$ECHO "$compiler_lib_search_dirs_GO" | $SED "$delay_single_quote_subst"`'
30677 compiler_lib_search_dirs_GCJ='`$ECHO "$compiler_lib_search_dirs_GCJ" | $SED "$delay_single_quote_subst"`'
30678 compiler_lib_search_dirs_RC='`$ECHO "$compiler_lib_search_dirs_RC" | $SED "$delay_single_quote_subst"`'
30679 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
30680 predep_objects_F77='`$ECHO "$predep_objects_F77" | $SED "$delay_single_quote_subst"`'
30681 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
30682 predep_objects_GO='`$ECHO "$predep_objects_GO" | $SED "$delay_single_quote_subst"`'
30683 predep_objects_GCJ='`$ECHO "$predep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
30684 predep_objects_RC='`$ECHO "$predep_objects_RC" | $SED "$delay_single_quote_subst"`'
30685 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
30686 postdep_objects_F77='`$ECHO "$postdep_objects_F77" | $SED "$delay_single_quote_subst"`'
30687 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
30688 postdep_objects_GO='`$ECHO "$postdep_objects_GO" | $SED "$delay_single_quote_subst"`'
30689 postdep_objects_GCJ='`$ECHO "$postdep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
30690 postdep_objects_RC='`$ECHO "$postdep_objects_RC" | $SED "$delay_single_quote_subst"`'
30691 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
30692 predeps_F77='`$ECHO "$predeps_F77" | $SED "$delay_single_quote_subst"`'
30693 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
30694 predeps_GO='`$ECHO "$predeps_GO" | $SED "$delay_single_quote_subst"`'
30695 predeps_GCJ='`$ECHO "$predeps_GCJ" | $SED "$delay_single_quote_subst"`'
30696 predeps_RC='`$ECHO "$predeps_RC" | $SED "$delay_single_quote_subst"`'
30697 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
30698 postdeps_F77='`$ECHO "$postdeps_F77" | $SED "$delay_single_quote_subst"`'
30699 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
30700 postdeps_GO='`$ECHO "$postdeps_GO" | $SED "$delay_single_quote_subst"`'
30701 postdeps_GCJ='`$ECHO "$postdeps_GCJ" | $SED "$delay_single_quote_subst"`'
30702 postdeps_RC='`$ECHO "$postdeps_RC" | $SED "$delay_single_quote_subst"`'
30703 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
30704 compiler_lib_search_path_F77='`$ECHO "$compiler_lib_search_path_F77" | $SED "$delay_single_quote_subst"`'
30705 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
30706 compiler_lib_search_path_GO='`$ECHO "$compiler_lib_search_path_GO" | $SED "$delay_single_quote_subst"`'
30707 compiler_lib_search_path_GCJ='`$ECHO "$compiler_lib_search_path_GCJ" | $SED "$delay_single_quote_subst"`'
30708 compiler_lib_search_path_RC='`$ECHO "$compiler_lib_search_path_RC" | $SED "$delay_single_quote_subst"`'
30711 LTCFLAGS='$LTCFLAGS'
30712 compiler='$compiler_DEFAULT'
30714 # A function that is used when there is no print builtin or printf.
30715 func_fallback_echo ()
30717 eval 'cat <<_LTECHO_EOF
30722 # Quote evaled strings.
30740 deplibs_check_method \
30744 sharedlib_from_linklib_cmd \
30746 archiver_list_spec \
30752 lt_cv_sys_global_symbol_pipe \
30753 lt_cv_sys_global_symbol_to_cdecl \
30754 lt_cv_sys_global_symbol_to_import \
30755 lt_cv_sys_global_symbol_to_c_name_address \
30756 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
30757 lt_cv_nm_interface \
30758 nm_file_list_spec \
30759 lt_cv_truncate_bin \
30760 lt_prog_compiler_no_builtin_flag \
30761 lt_prog_compiler_pic \
30762 lt_prog_compiler_wl \
30763 lt_prog_compiler_static \
30764 lt_cv_prog_compiler_c_o \
30773 export_dynamic_flag_spec \
30774 whole_archive_flag_spec \
30775 compiler_needs_object \
30777 allow_undefined_flag \
30778 no_undefined_flag \
30779 hardcode_libdir_flag_spec \
30780 hardcode_libdir_separator \
30784 variables_saved_for_relink \
30786 library_names_spec \
30788 install_override_mode \
30792 compiler_lib_search_dirs \
30797 compiler_lib_search_path \
30816 lt_prog_compiler_no_builtin_flag_CXX \
30817 lt_prog_compiler_no_builtin_flag_F77 \
30818 lt_prog_compiler_no_builtin_flag_FC \
30819 lt_prog_compiler_no_builtin_flag_GO \
30820 lt_prog_compiler_no_builtin_flag_GCJ \
30821 lt_prog_compiler_no_builtin_flag_RC \
30822 lt_prog_compiler_pic_CXX \
30823 lt_prog_compiler_pic_F77 \
30824 lt_prog_compiler_pic_FC \
30825 lt_prog_compiler_pic_GO \
30826 lt_prog_compiler_pic_GCJ \
30827 lt_prog_compiler_pic_RC \
30828 lt_prog_compiler_wl_CXX \
30829 lt_prog_compiler_wl_F77 \
30830 lt_prog_compiler_wl_FC \
30831 lt_prog_compiler_wl_GO \
30832 lt_prog_compiler_wl_GCJ \
30833 lt_prog_compiler_wl_RC \
30834 lt_prog_compiler_static_CXX \
30835 lt_prog_compiler_static_F77 \
30836 lt_prog_compiler_static_FC \
30837 lt_prog_compiler_static_GO \
30838 lt_prog_compiler_static_GCJ \
30839 lt_prog_compiler_static_RC \
30840 lt_cv_prog_compiler_c_o_CXX \
30841 lt_cv_prog_compiler_c_o_F77 \
30842 lt_cv_prog_compiler_c_o_FC \
30843 lt_cv_prog_compiler_c_o_GO \
30844 lt_cv_prog_compiler_c_o_GCJ \
30845 lt_cv_prog_compiler_c_o_RC \
30846 export_dynamic_flag_spec_CXX \
30847 export_dynamic_flag_spec_F77 \
30848 export_dynamic_flag_spec_FC \
30849 export_dynamic_flag_spec_GO \
30850 export_dynamic_flag_spec_GCJ \
30851 export_dynamic_flag_spec_RC \
30852 whole_archive_flag_spec_CXX \
30853 whole_archive_flag_spec_F77 \
30854 whole_archive_flag_spec_FC \
30855 whole_archive_flag_spec_GO \
30856 whole_archive_flag_spec_GCJ \
30857 whole_archive_flag_spec_RC \
30858 compiler_needs_object_CXX \
30859 compiler_needs_object_F77 \
30860 compiler_needs_object_FC \
30861 compiler_needs_object_GO \
30862 compiler_needs_object_GCJ \
30863 compiler_needs_object_RC \
30870 allow_undefined_flag_CXX \
30871 allow_undefined_flag_F77 \
30872 allow_undefined_flag_FC \
30873 allow_undefined_flag_GO \
30874 allow_undefined_flag_GCJ \
30875 allow_undefined_flag_RC \
30876 no_undefined_flag_CXX \
30877 no_undefined_flag_F77 \
30878 no_undefined_flag_FC \
30879 no_undefined_flag_GO \
30880 no_undefined_flag_GCJ \
30881 no_undefined_flag_RC \
30882 hardcode_libdir_flag_spec_CXX \
30883 hardcode_libdir_flag_spec_F77 \
30884 hardcode_libdir_flag_spec_FC \
30885 hardcode_libdir_flag_spec_GO \
30886 hardcode_libdir_flag_spec_GCJ \
30887 hardcode_libdir_flag_spec_RC \
30888 hardcode_libdir_separator_CXX \
30889 hardcode_libdir_separator_F77 \
30890 hardcode_libdir_separator_FC \
30891 hardcode_libdir_separator_GO \
30892 hardcode_libdir_separator_GCJ \
30893 hardcode_libdir_separator_RC \
30894 exclude_expsyms_CXX \
30895 exclude_expsyms_F77 \
30896 exclude_expsyms_FC \
30897 exclude_expsyms_GO \
30898 exclude_expsyms_GCJ \
30899 exclude_expsyms_RC \
30900 include_expsyms_CXX \
30901 include_expsyms_F77 \
30902 include_expsyms_FC \
30903 include_expsyms_GO \
30904 include_expsyms_GCJ \
30905 include_expsyms_RC \
30906 file_list_spec_CXX \
30907 file_list_spec_F77 \
30908 file_list_spec_FC \
30909 file_list_spec_GO \
30910 file_list_spec_GCJ \
30911 file_list_spec_RC \
30912 compiler_lib_search_dirs_CXX \
30913 compiler_lib_search_dirs_F77 \
30914 compiler_lib_search_dirs_FC \
30915 compiler_lib_search_dirs_GO \
30916 compiler_lib_search_dirs_GCJ \
30917 compiler_lib_search_dirs_RC \
30918 predep_objects_CXX \
30919 predep_objects_F77 \
30920 predep_objects_FC \
30921 predep_objects_GO \
30922 predep_objects_GCJ \
30923 predep_objects_RC \
30924 postdep_objects_CXX \
30925 postdep_objects_F77 \
30926 postdep_objects_FC \
30927 postdep_objects_GO \
30928 postdep_objects_GCJ \
30929 postdep_objects_RC \
30942 compiler_lib_search_path_CXX \
30943 compiler_lib_search_path_F77 \
30944 compiler_lib_search_path_FC \
30945 compiler_lib_search_path_GO \
30946 compiler_lib_search_path_GCJ \
30947 compiler_lib_search_path_RC; do
30948 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
30949 *[\\\\\\\`\\"\\\$]*)
30950 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
30953 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30958 # Double-quote double-evaled strings.
30959 for var in reload_cmds \
30960 old_postinstall_cmds \
30961 old_postuninstall_cmds \
30963 extract_expsyms_cmds \
30964 old_archive_from_new_cmds \
30965 old_archive_from_expsyms_cmds \
30967 archive_expsym_cmds \
30969 module_expsym_cmds \
30970 export_symbols_cmds \
30974 postuninstall_cmds \
30976 sys_lib_search_path_spec \
30977 configure_time_dlsearch_path \
30978 configure_time_lt_sys_library_path \
30985 old_archive_cmds_CXX \
30986 old_archive_cmds_F77 \
30987 old_archive_cmds_FC \
30988 old_archive_cmds_GO \
30989 old_archive_cmds_GCJ \
30990 old_archive_cmds_RC \
30991 old_archive_from_new_cmds_CXX \
30992 old_archive_from_new_cmds_F77 \
30993 old_archive_from_new_cmds_FC \
30994 old_archive_from_new_cmds_GO \
30995 old_archive_from_new_cmds_GCJ \
30996 old_archive_from_new_cmds_RC \
30997 old_archive_from_expsyms_cmds_CXX \
30998 old_archive_from_expsyms_cmds_F77 \
30999 old_archive_from_expsyms_cmds_FC \
31000 old_archive_from_expsyms_cmds_GO \
31001 old_archive_from_expsyms_cmds_GCJ \
31002 old_archive_from_expsyms_cmds_RC \
31009 archive_expsym_cmds_CXX \
31010 archive_expsym_cmds_F77 \
31011 archive_expsym_cmds_FC \
31012 archive_expsym_cmds_GO \
31013 archive_expsym_cmds_GCJ \
31014 archive_expsym_cmds_RC \
31021 module_expsym_cmds_CXX \
31022 module_expsym_cmds_F77 \
31023 module_expsym_cmds_FC \
31024 module_expsym_cmds_GO \
31025 module_expsym_cmds_GCJ \
31026 module_expsym_cmds_RC \
31027 export_symbols_cmds_CXX \
31028 export_symbols_cmds_F77 \
31029 export_symbols_cmds_FC \
31030 export_symbols_cmds_GO \
31031 export_symbols_cmds_GCJ \
31032 export_symbols_cmds_RC \
31039 postlink_cmds_CXX \
31040 postlink_cmds_F77 \
31043 postlink_cmds_GCJ \
31044 postlink_cmds_RC; do
31045 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
31046 *[\\\\\\\`\\"\\\$]*)
31047 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
31050 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
31055 ac_aux_dir='$ac_aux_dir'
31057 # See if we are running on zsh, and set the options that allow our
31058 # commands through without removal of \ escapes INIT.
31059 if test -n "\${ZSH_VERSION+set}"; then
31060 setopt NO_GLOB_SUBST
31083 GNUmakefile=$GNUmakefile
31087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31089 # Handling of arguments.
31090 for ac_config_target in $ac_config_targets
31092 case $ac_config_target in
31093 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
31094 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
31095 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
31096 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
31097 "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;;
31098 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
31099 "gnulib-tests/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib-tests/Makefile" ;;
31101 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
31106 # If the user did not use the arguments to specify the items to instantiate,
31107 # then the envvar interface is used. Set only those that are not.
31108 # We use the long form for the default assignment because of an extremely
31109 # bizarre bug on SunOS 4.1.3.
31110 if $ac_need_defaults; then
31111 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
31112 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
31113 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
31114 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
31117 # Have a temporary directory for convenience. Make it in the build tree
31118 # simply because there is no reason against having it here, and in addition,
31119 # creating and moving files from /tmp can sometimes cause problems.
31120 # Hook for its removal unless debugging.
31121 # Note that there is a small window in which the directory will not be cleaned:
31122 # after its creation but before its name has been assigned to `$tmp'.
31126 trap 'exit_status=$?
31127 : "${ac_tmp:=$tmp}"
31128 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
31130 trap 'as_fn_exit 1' 1 2 13 15
31132 # Create a (secure) tmp directory for tmp files.
31135 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
31139 tmp=./conf$$-$RANDOM
31140 (umask 077 && mkdir "$tmp")
31141 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
31144 # Set up the scripts for CONFIG_FILES section.
31145 # No need to generate them if there are no CONFIG_FILES.
31146 # This happens for instance with `./config.status config.h'.
31147 if test -n "$CONFIG_FILES"; then
31150 ac_cr=`echo X | tr X '\015'`
31151 # On cygwin, bash can eat \r inside `` if the user requested igncr.
31152 # But we know of no other shell where ac_cr would be empty at this
31153 # point, so we can use a bashism as a fallback.
31154 if test "x$ac_cr" = x; then
31155 eval ac_cr=\$\'\\r\'
31157 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
31158 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
31161 ac_cs_awk_cr=$ac_cr
31164 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
31169 echo "cat >conf$$subs.awk <<_ACEOF" &&
31170 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
31172 } >conf$$subs.sh ||
31173 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
31174 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
31176 for ac_last_try in false false false false false :; do
31177 . ./conf$$subs.sh ||
31178 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
31180 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
31181 if test $ac_delim_n = $ac_delim_num; then
31183 elif $ac_last_try; then
31184 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
31186 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
31189 rm -f conf$$subs.sh
31191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31192 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
31196 s/^/S["/; s/!.*/"]=/
31206 s/\(.\{148\}\)..*/\1/
31208 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
31213 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
31220 s/\(.\{148\}\)..*/\1/
31222 s/["\\]/\\&/g; s/^/"/; s/$/"/
31226 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
31231 ' <conf$$subs.awk | sed '
31236 ' >>$CONFIG_STATUS || ac_write_fail=1
31237 rm -f conf$$subs.awk
31238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31240 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
31241 for (key in S) S_is_set[key] = 1
31247 nfields = split(line, field, "@")
31249 len = length(field[1])
31250 for (i = 2; i < nfields; i++) {
31252 keylen = length(key)
31253 if (S_is_set[key]) {
31255 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
31256 len += length(value) + length(field[++i])
31267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31268 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
31269 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
31272 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
31273 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
31276 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
31277 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
31278 # trailing colons and then remove the whole line if VPATH becomes empty
31279 # (actually we leave an empty line to preserve line numbers).
31280 if test "x$srcdir" = x.; then
31281 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
31299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31300 fi # test -n "$CONFIG_FILES"
31302 # Set up the scripts for CONFIG_HEADERS section.
31303 # No need to generate them if there are no CONFIG_HEADERS.
31304 # This happens for instance with `./config.status Makefile'.
31305 if test -n "$CONFIG_HEADERS"; then
31306 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
31310 # Transform confdefs.h into an awk script `defines.awk', embedded as
31311 # here-document in config.status, that substitutes the proper values into
31312 # config.h.in to produce config.h.
31314 # Create a delimiter string that does not exist in confdefs.h, to ease
31315 # handling of long lines.
31317 for ac_last_try in false false :; do
31318 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
31319 if test -z "$ac_tt"; then
31321 elif $ac_last_try; then
31322 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
31324 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
31328 # For the awk script, D is an array of macro values keyed by name,
31329 # likewise P contains macro parameters if any. Preserve backslash
31330 # newline sequences.
31332 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
31334 s/.\{148\}/&'"$ac_delim"'/g
31337 s/^[ ]*#[ ]*define[ ][ ]*/ /
31344 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31346 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
31350 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31351 D["\1"]=" \3\\\\\\n"\\/p
31353 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
31358 s/.\{148\}/&'"$ac_delim"'/g
31363 s/["\\]/\\&/g; s/^/"/; s/$/"/p
31366 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
31368 ' <confdefs.h | sed '
31369 s/'"$ac_delim"'/"\\\
31370 "/g' >>$CONFIG_STATUS || ac_write_fail=1
31372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31373 for (key in D) D_is_set[key] = 1
31376 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
31378 split(line, arg, " ")
31379 if (arg[1] == "#") {
31383 defundef = substr(arg[1], 2)
31386 split(mac1, mac2, "(") #)
31388 prefix = substr(line, 1, index(line, defundef) - 1)
31389 if (D_is_set[macro]) {
31390 # Preserve the white space surrounding the "#".
31391 print prefix "define", macro P[macro] D[macro]
31394 # Replace #undef with comments. This is necessary, for example,
31395 # in the case of _POSIX_SOURCE, which is predefined and required
31396 # on some systems where configure will not decide to define it.
31397 if (defundef == "undef") {
31398 print "/*", prefix defundef, macro, "*/"
31406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31407 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
31408 fi # test -n "$CONFIG_HEADERS"
31411 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
31416 :[FHLC]) ac_mode=$ac_tag; continue;;
31418 case $ac_mode$ac_tag in
31420 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
31421 :[FH]-) ac_tag=-:-;;
31422 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
31439 -) ac_f="$ac_tmp/stdin";;
31440 *) # Look for the file first in the build tree, then in the source tree
31441 # (if the path is not absolute). The absolute path cannot be DOS-style,
31442 # because $ac_f cannot contain `:'.
31446 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
31448 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
31450 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
31451 as_fn_append ac_file_inputs " '$ac_f'"
31454 # Let's still pretend it is `configure' which instantiates (i.e., don't
31455 # use $as_me), people would be surprised to read:
31456 # /* config.h. Generated by config.status. */
31457 configure_input='Generated from '`
31458 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
31460 if test x"$ac_file" != x-; then
31461 configure_input="$ac_file. $configure_input"
31462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
31463 $as_echo "$as_me: creating $ac_file" >&6;}
31465 # Neutralize special characters interpreted by sed in replacement strings.
31466 case $configure_input in #(
31467 *\&* | *\|* | *\\* )
31468 ac_sed_conf_input=`$as_echo "$configure_input" |
31469 sed 's/[\\\\&|]/\\\\&/g'`;; #(
31470 *) ac_sed_conf_input=$configure_input;;
31474 *:-:* | *:-) cat >"$ac_tmp/stdin" \
31475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
31480 ac_dir=`$as_dirname -- "$ac_file" ||
31481 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31482 X"$ac_file" : 'X\(//\)[^/]' \| \
31483 X"$ac_file" : 'X\(//\)$' \| \
31484 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
31485 $as_echo X"$ac_file" |
31486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31490 /^X\(\/\/\)[^/].*/{
31503 as_dir="$ac_dir"; as_fn_mkdir_p
31507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
31509 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
31510 # A ".." for each directory in $ac_dir_suffix.
31511 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
31512 case $ac_top_builddir_sub in
31513 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
31514 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
31517 ac_abs_top_builddir=$ac_pwd
31518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
31519 # for backward compatibility:
31520 ac_top_builddir=$ac_top_build_prefix
31523 .) # We are building in place.
31525 ac_top_srcdir=$ac_top_builddir_sub
31526 ac_abs_top_srcdir=$ac_pwd ;;
31527 [\\/]* | ?:[\\/]* ) # Absolute name.
31528 ac_srcdir=$srcdir$ac_dir_suffix;
31529 ac_top_srcdir=$srcdir
31530 ac_abs_top_srcdir=$srcdir ;;
31531 *) # Relative name.
31532 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
31533 ac_top_srcdir=$ac_top_build_prefix$srcdir
31534 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
31536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
31546 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
31547 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
31549 ac_MKDIR_P=$MKDIR_P
31551 [\\/$]* | ?:[\\/]* ) ;;
31552 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
31556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31557 # If the template does not know about datarootdir, expand it.
31558 # FIXME: This hack should be removed a few years after 2.60.
31559 ac_datarootdir_hack=; ac_datarootdir_seen=
31570 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
31571 *datarootdir*) ac_datarootdir_seen=yes;;
31572 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
31574 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
31576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31577 ac_datarootdir_hack='
31578 s&@datadir@&$datadir&g
31579 s&@docdir@&$docdir&g
31580 s&@infodir@&$infodir&g
31581 s&@localedir@&$localedir&g
31582 s&@mandir@&$mandir&g
31583 s&\\\${datarootdir}&$datarootdir&g' ;;
31587 # Neutralize VPATH when `$srcdir' = `.'.
31588 # Shell code in configure.ac might set extrasub.
31589 # FIXME: do we really want to maintain this feature?
31590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31591 ac_sed_extra="$ac_vpsub
31594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31596 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31597 s|@configure_input@|$ac_sed_conf_input|;t t
31598 s&@top_builddir@&$ac_top_builddir_sub&;t t
31599 s&@top_build_prefix@&$ac_top_build_prefix&;t t
31600 s&@srcdir@&$ac_srcdir&;t t
31601 s&@abs_srcdir@&$ac_abs_srcdir&;t t
31602 s&@top_srcdir@&$ac_top_srcdir&;t t
31603 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
31604 s&@builddir@&$ac_builddir&;t t
31605 s&@abs_builddir@&$ac_abs_builddir&;t t
31606 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
31607 s&@INSTALL@&$ac_INSTALL&;t t
31608 s&@MKDIR_P@&$ac_MKDIR_P&;t t
31609 $ac_datarootdir_hack
31611 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
31612 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31614 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
31615 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
31616 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
31617 "$ac_tmp/out"`; test -z "$ac_out"; } &&
31618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31619 which seems to be undefined. Please make sure it is defined" >&5
31620 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31621 which seems to be undefined. Please make sure it is defined" >&2;}
31623 rm -f "$ac_tmp/stdin"
31625 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
31626 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
31628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31634 if test x"$ac_file" != x-; then
31636 $as_echo "/* $configure_input */" \
31637 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
31638 } >"$ac_tmp/config.h" \
31639 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31640 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
31641 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
31642 $as_echo "$as_me: $ac_file is unchanged" >&6;}
31645 mv "$ac_tmp/config.h" "$ac_file" \
31646 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31649 $as_echo "/* $configure_input */" \
31650 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
31651 || as_fn_error $? "could not create -" "$LINENO" 5
31653 # Compute "$ac_file"'s index in $config_headers.
31656 for _am_header in $config_headers :; do
31657 case $_am_header in
31658 $_am_arg | $_am_arg:* )
31661 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
31664 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
31665 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31666 X"$_am_arg" : 'X\(//\)[^/]' \| \
31667 X"$_am_arg" : 'X\(//\)$' \| \
31668 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
31669 $as_echo X"$_am_arg" |
31670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31674 /^X\(\/\/\)[^/].*/{
31686 s/.*/./; q'`/stamp-h$_am_stamp_count
31693 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
31696 # Prefer the file from the source tree if names are identical.
31697 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
31698 ac_source=$srcdir/$ac_source
31701 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
31702 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
31704 if test ! -r "$ac_source"; then
31705 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
31709 # Try a relative symlink, then a hard link, then a copy.
31711 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
31712 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
31714 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
31715 ln "$ac_source" "$ac_file" 2>/dev/null ||
31716 cp -p "$ac_source" "$ac_file" ||
31717 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
31720 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
31721 $as_echo "$as_me: executing $ac_file commands" >&6;}
31726 case $ac_file$ac_mode in
31727 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
31728 # Configurable variable values for building test suites.
31730 # Copyright (C) 2012 Free Software Foundation, Inc.
31732 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
31734 abs_builddir='$ac_abs_builddir'
31735 at_srcdir='$ac_srcdir'
31736 abs_srcdir='$ac_abs_srcdir'
31737 at_top_srcdir='$ac_top_srcdir'
31738 abs_top_srcdir='$ac_abs_top_srcdir'
31739 at_top_build_prefix='$ac_top_build_prefix'
31740 abs_top_builddir='$ac_abs_top_builddir'
31742 # Backward compatibility with Autotest <= 2.59b:
31743 at_top_builddir=\$at_top_build_prefix
31745 AUTOTEST_PATH='tests'
31747 SHELL=\${CONFIG_SHELL-'$SHELL'}
31750 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
31751 # Older Autoconf quotes --file arguments for eval, but not when files
31752 # are listed without --file. Let's play safe and only enable the eval
31753 # if we detect the quoting.
31754 # TODO: see whether this extra hack can be removed once we start
31755 # requiring Autoconf 2.70 or later.
31756 case $CONFIG_FILES in #(
31758 eval set x "$CONFIG_FILES" ;; #(
31760 set x $CONFIG_FILES ;; #(
31765 # Used to flag and report bootstrapping failures.
31769 # Strip MF so we end up with the name of the file.
31770 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
31771 # Check whether this is an Automake generated Makefile which includes
31772 # dependency-tracking related rules and includes.
31773 # Grep'ing the whole file directly is not great: AIX grep has a line
31774 # limit of 2048, but all sed's we know have understand at least 4000.
31775 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
31777 am_dirpart=`$as_dirname -- "$am_mf" ||
31778 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31779 X"$am_mf" : 'X\(//\)[^/]' \| \
31780 X"$am_mf" : 'X\(//\)$' \| \
31781 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
31782 $as_echo X"$am_mf" |
31783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31787 /^X\(\/\/\)[^/].*/{
31800 am_filepart=`$as_basename -- "$am_mf" ||
31801 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
31802 X"$am_mf" : 'X\(//\)$' \| \
31803 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
31804 $as_echo X/"$am_mf" |
31805 sed '/^.*\/\([^/][^/]*\)\/*$/{
31818 { echo "$as_me:$LINENO: cd "$am_dirpart" \
31819 && sed -e '/# am--include-marker/d' "$am_filepart" \
31820 | $MAKE -f - am--depfiles" >&5
31821 (cd "$am_dirpart" \
31822 && sed -e '/# am--include-marker/d' "$am_filepart" \
31823 | $MAKE -f - am--depfiles) >&5 2>&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } || am_rc=$?
31828 if test $am_rc -ne 0; then
31829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31831 as_fn_error $? "Something went wrong bootstrapping makefile fragments
31832 for automatic dependency tracking. If GNU make was not used, consider
31833 re-running the configure script with MAKE=\"gmake\" (or whatever is
31834 necessary). You can also try re-running configure with the
31835 '--disable-dependency-tracking' option to at least be able to build
31836 the package (albeit without support for automatic dependency tracking).
31837 See \`config.log' for more details" "$LINENO" 5; }
31839 { am_dirpart=; unset am_dirpart;}
31840 { am_filepart=; unset am_filepart;}
31841 { am_mf=; unset am_mf;}
31842 { am_rc=; unset am_rc;}
31843 rm -f conftest-deps.mk
31848 # See if we are running on zsh, and set the options that allow our
31849 # commands through without removal of \ escapes.
31850 if test -n "${ZSH_VERSION+set}"; then
31851 setopt NO_GLOB_SUBST
31855 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
31858 cat <<_LT_EOF >> "$cfgfile"
31860 # Generated automatically by $as_me ($PACKAGE) $VERSION
31861 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
31862 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
31864 # Provide generalized library-building support services.
31865 # Written by Gordon Matzigkeit, 1996
31867 # Copyright (C) 2014 Free Software Foundation, Inc.
31868 # This is free software; see the source for copying conditions. There is NO
31869 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
31871 # GNU Libtool is free software; you can redistribute it and/or modify
31872 # it under the terms of the GNU General Public License as published by
31873 # the Free Software Foundation; either version 2 of of the License, or
31874 # (at your option) any later version.
31876 # As a special exception to the GNU General Public License, if you
31877 # distribute this file as part of a program or library that is built
31878 # using GNU Libtool, you may include this file under the same
31879 # distribution terms that you use for the rest of that program.
31881 # GNU Libtool is distributed in the hope that it will be useful, but
31882 # WITHOUT ANY WARRANTY; without even the implied warranty of
31883 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31884 # GNU General Public License for more details.
31886 # You should have received a copy of the GNU General Public License
31887 # along with this program. If not, see <http://www.gnu.org/licenses/>.
31890 # The names of the tagged configurations supported by this script.
31891 available_tags='CXX F77 FC GO GCJ RC '
31893 # Configured defaults for sys_lib_dlsearch_path munging.
31894 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
31896 # ### BEGIN LIBTOOL CONFIG
31898 # Which release of libtool.m4 was used?
31899 macro_version=$macro_version
31900 macro_revision=$macro_revision
31902 # Assembler program.
31905 # DLL creation program.
31906 DLLTOOL=$lt_DLLTOOL
31908 # Object dumper program.
31909 OBJDUMP=$lt_OBJDUMP
31911 # Whether or not to build shared libraries.
31912 build_libtool_libs=$enable_shared
31914 # Whether or not to build static libraries.
31915 build_old_libs=$enable_static
31917 # What type of objects to build.
31920 # Whether or not to optimize for fast installation.
31921 fast_install=$enable_fast_install
31923 # Shared archive member basename,for filename based shared library versioning on AIX.
31924 shared_archive_member_spec=$shared_archive_member_spec
31926 # Shell to use when invoking shell scripts.
31929 # An echo program that protects backslashes.
31932 # The PATH separator for the build system.
31933 PATH_SEPARATOR=$lt_PATH_SEPARATOR
31936 host_alias=$host_alias
31940 # The build system.
31941 build_alias=$build_alias
31945 # A sed program that does not truncate output.
31948 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
31949 Xsed="\$SED -e 1s/^X//"
31951 # A grep program that handles long lines.
31957 # A literal string matcher.
31960 # A BSD- or MS-compatible name lister.
31963 # Whether we need soft or hard links.
31966 # What is the maximum length of a command?
31967 max_cmd_len=$max_cmd_len
31969 # Object file suffix (normally "o").
31972 # Executable file suffix (normally "").
31975 # whether the shell understands "unset".
31978 # turn spaces into newlines.
31981 # turn newlines into spaces.
31984 # convert \$build file names to \$host format.
31985 to_host_file_cmd=$lt_cv_to_host_file_cmd
31987 # convert \$build files to toolchain format.
31988 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
31990 # A file(cmd) program that detects file types.
31991 FILECMD=$lt_FILECMD
31993 # Method to check whether dependent libraries are shared objects.
31994 deplibs_check_method=$lt_deplibs_check_method
31996 # Command to use when deplibs_check_method = "file_magic".
31997 file_magic_cmd=$lt_file_magic_cmd
31999 # How to find potential files when deplibs_check_method = "file_magic".
32000 file_magic_glob=$lt_file_magic_glob
32002 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
32003 want_nocaseglob=$lt_want_nocaseglob
32005 # Command to associate shared and link libraries.
32006 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
32011 # Flags to create an archive (by configure).
32012 lt_ar_flags=$lt_ar_flags
32014 # Flags to create an archive.
32015 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
32017 # How to feed a file listing to the archiver.
32018 archiver_list_spec=$lt_archiver_list_spec
32020 # A symbol stripping program.
32023 # Commands used to install an old-style archive.
32025 old_postinstall_cmds=$lt_old_postinstall_cmds
32026 old_postuninstall_cmds=$lt_old_postuninstall_cmds
32028 # Whether to use a lock for old archive extraction.
32029 lock_old_archive_extraction=$lock_old_archive_extraction
32034 # LTCC compiler flags.
32035 LTCFLAGS=$lt_CFLAGS
32037 # Take the output of nm and produce a listing of raw symbols and C names.
32038 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
32040 # Transform the output of nm in a proper C declaration.
32041 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
32043 # Transform the output of nm into a list of symbols to manually relocate.
32044 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
32046 # Transform the output of nm in a C name address pair.
32047 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
32049 # Transform the output of nm in a C name address pair when lib prefix is needed.
32050 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
32052 # The name lister interface.
32053 nm_interface=$lt_lt_cv_nm_interface
32055 # Specify filename containing input files for \$NM.
32056 nm_file_list_spec=$lt_nm_file_list_spec
32058 # The root where to search for dependent libraries,and where our libraries should be installed.
32059 lt_sysroot=$lt_sysroot
32061 # Command to truncate a binary pipe.
32062 lt_truncate_bin=$lt_lt_cv_truncate_bin
32064 # The name of the directory that contains temporary libtool files.
32067 # Used to examine libraries when file_magic_cmd begins with "file".
32068 MAGIC_CMD=$MAGIC_CMD
32070 # Must we lock files when doing compilation?
32071 need_locks=$lt_need_locks
32074 MANIFEST_TOOL=$lt_MANIFEST_TOOL
32076 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
32077 DSYMUTIL=$lt_DSYMUTIL
32079 # Tool to change global to local symbols on Mac OS X.
32082 # Tool to manipulate fat objects and archives on Mac OS X.
32085 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
32088 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
32089 OTOOL64=$lt_OTOOL64
32091 # Old archive suffix (normally "a").
32094 # Shared library suffix (normally ".so").
32095 shrext_cmds=$lt_shrext_cmds
32097 # The commands to extract the exported symbol list from a shared archive.
32098 extract_expsyms_cmds=$lt_extract_expsyms_cmds
32100 # Variables whose values should be saved in libtool wrapper scripts and
32101 # restored at link time.
32102 variables_saved_for_relink=$lt_variables_saved_for_relink
32104 # Do we need the "lib" prefix for modules?
32105 need_lib_prefix=$need_lib_prefix
32107 # Do we need a version for libraries?
32108 need_version=$need_version
32110 # Library versioning type.
32111 version_type=$version_type
32113 # Shared library runtime path variable.
32114 runpath_var=$runpath_var
32116 # Shared library path variable.
32117 shlibpath_var=$shlibpath_var
32119 # Is shlibpath searched before the hard-coded library search path?
32120 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
32122 # Format of library name prefix.
32123 libname_spec=$lt_libname_spec
32125 # List of archive names. First name is the real one, the rest are links.
32126 # The last name is the one that the linker finds with -lNAME
32127 library_names_spec=$lt_library_names_spec
32129 # The coded name of the library, if different from the real name.
32130 soname_spec=$lt_soname_spec
32132 # Permission mode override for installation of shared libraries.
32133 install_override_mode=$lt_install_override_mode
32135 # Command to use after installation of a shared archive.
32136 postinstall_cmds=$lt_postinstall_cmds
32138 # Command to use after uninstallation of a shared archive.
32139 postuninstall_cmds=$lt_postuninstall_cmds
32141 # Commands used to finish a libtool library installation in a directory.
32142 finish_cmds=$lt_finish_cmds
32144 # As "finish_cmds", except a single script fragment to be evaled but
32146 finish_eval=$lt_finish_eval
32148 # Whether we should hardcode library paths into libraries.
32149 hardcode_into_libs=$hardcode_into_libs
32151 # Compile-time system search path for libraries.
32152 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
32154 # Detected run-time system search path for libraries.
32155 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
32157 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
32158 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
32160 # Whether dlopen is supported.
32161 dlopen_support=$enable_dlopen
32163 # Whether dlopen of programs is supported.
32164 dlopen_self=$enable_dlopen_self
32166 # Whether dlopen of statically linked programs is supported.
32167 dlopen_self_static=$enable_dlopen_self_static
32169 # Commands to strip libraries.
32170 old_striplib=$lt_old_striplib
32171 striplib=$lt_striplib
32174 # The linker used to build libraries.
32177 # How to create reloadable object files.
32178 reload_flag=$lt_reload_flag
32179 reload_cmds=$lt_reload_cmds
32181 # Commands used to build an old-style archive.
32182 old_archive_cmds=$lt_old_archive_cmds
32184 # A language specific compiler.
32187 # Is the compiler the GNU compiler?
32190 # Compiler flag to turn off builtin functions.
32191 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
32193 # Additional compiler flags for building library objects.
32194 pic_flag=$lt_lt_prog_compiler_pic
32196 # How to pass a linker flag through the compiler.
32197 wl=$lt_lt_prog_compiler_wl
32199 # Compiler flag to prevent dynamic linking.
32200 link_static_flag=$lt_lt_prog_compiler_static
32202 # Does compiler simultaneously support -c and -o options?
32203 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
32205 # Whether or not to add -lc for building shared libraries.
32206 build_libtool_need_lc=$archive_cmds_need_lc
32208 # Whether or not to disallow shared libs when runtime libs are static.
32209 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
32211 # Compiler flag to allow reflexive dlopens.
32212 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
32214 # Compiler flag to generate shared objects directly from archives.
32215 whole_archive_flag_spec=$lt_whole_archive_flag_spec
32217 # Whether the compiler copes with passing no objects directly.
32218 compiler_needs_object=$lt_compiler_needs_object
32220 # Create an old-style archive from a shared archive.
32221 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
32223 # Create a temporary old-style archive to link instead of a shared archive.
32224 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
32226 # Commands used to build a shared archive.
32227 archive_cmds=$lt_archive_cmds
32228 archive_expsym_cmds=$lt_archive_expsym_cmds
32230 # Commands used to build a loadable module if different from building
32231 # a shared archive.
32232 module_cmds=$lt_module_cmds
32233 module_expsym_cmds=$lt_module_expsym_cmds
32235 # Whether we are building with GNU ld or not.
32236 with_gnu_ld=$lt_with_gnu_ld
32238 # Flag that allows shared libraries with undefined symbols to be built.
32239 allow_undefined_flag=$lt_allow_undefined_flag
32241 # Flag that enforces no undefined symbols.
32242 no_undefined_flag=$lt_no_undefined_flag
32244 # Flag to hardcode \$libdir into a binary during linking.
32245 # This must work even if \$libdir does not exist
32246 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
32248 # Whether we need a single "-rpath" flag with a separated argument.
32249 hardcode_libdir_separator=$lt_hardcode_libdir_separator
32251 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32252 # DIR into the resulting binary.
32253 hardcode_direct=$hardcode_direct
32255 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32256 # DIR into the resulting binary and the resulting library dependency is
32257 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32258 # library is relocated.
32259 hardcode_direct_absolute=$hardcode_direct_absolute
32261 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32262 # into the resulting binary.
32263 hardcode_minus_L=$hardcode_minus_L
32265 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32266 # into the resulting binary.
32267 hardcode_shlibpath_var=$hardcode_shlibpath_var
32269 # Set to "yes" if building a shared library automatically hardcodes DIR
32270 # into the library and all subsequent libraries and executables linked
32272 hardcode_automatic=$hardcode_automatic
32274 # Set to yes if linker adds runtime paths of dependent libraries
32275 # to runtime path list.
32276 inherit_rpath=$inherit_rpath
32278 # Whether libtool must link a program against all its dependency libraries.
32279 link_all_deplibs=$link_all_deplibs
32281 # Set to "yes" if exported symbols are required.
32282 always_export_symbols=$always_export_symbols
32284 # The commands to list exported symbols.
32285 export_symbols_cmds=$lt_export_symbols_cmds
32287 # Symbols that should not be listed in the preloaded symbols.
32288 exclude_expsyms=$lt_exclude_expsyms
32290 # Symbols that must always be exported.
32291 include_expsyms=$lt_include_expsyms
32293 # Commands necessary for linking programs (against libraries) with templates.
32294 prelink_cmds=$lt_prelink_cmds
32296 # Commands necessary for finishing linking programs.
32297 postlink_cmds=$lt_postlink_cmds
32299 # Specify filename containing input files.
32300 file_list_spec=$lt_file_list_spec
32302 # How to hardcode a shared library path into an executable.
32303 hardcode_action=$hardcode_action
32305 # The directories searched by this compiler when creating a shared library.
32306 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
32308 # Dependencies to place before and after the objects being linked to
32309 # create a shared library.
32310 predep_objects=$lt_predep_objects
32311 postdep_objects=$lt_postdep_objects
32312 predeps=$lt_predeps
32313 postdeps=$lt_postdeps
32315 # The library search path used internally by the compiler when linking
32316 # a shared library.
32317 compiler_lib_search_path=$lt_compiler_lib_search_path
32319 # ### END LIBTOOL CONFIG
32323 cat <<'_LT_EOF' >> "$cfgfile"
32325 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
32327 # func_munge_path_list VARIABLE PATH
32328 # -----------------------------------
32329 # VARIABLE is name of variable containing _space_ separated list of
32330 # directories to be munged by the contents of PATH, which is string
32333 # string "DIR[ DIR]" will be prepended to VARIABLE
32335 # string "DIR[ DIR]" will be appended to VARIABLE
32336 # "DIRP[:DIRP]::[DIRA:]DIRA"
32337 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
32338 # "DIRA[ DIRA]" will be appended to VARIABLE
32340 # VARIABLE will be replaced by "DIR[ DIR]"
32341 func_munge_path_list ()
32347 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
32350 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
32353 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
32354 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
32357 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
32363 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
32364 func_cc_basename ()
32366 for cc_temp in $*""; do
32368 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
32369 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
32374 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
32378 # ### END FUNCTIONS SHARED WITH CONFIGURE
32384 cat <<\_LT_EOF >> "$cfgfile"
32385 # AIX sometimes has problems with the GCC collect2 program. For some
32386 # reason, if we set the COLLECT_NAMES environment variable, the problems
32387 # vanish in a puff of smoke.
32388 if test set != "${COLLECT_NAMES+set}"; then
32390 export COLLECT_NAMES
32397 ltmain=$ac_aux_dir/ltmain.sh
32400 # We use sed instead of cat because bash on DJGPP gets confused if
32401 # if finds mixed CR/LF and LF-only lines. Since sed operates in
32402 # text mode, it properly converts lines to CR/LF. This bash problem
32403 # is reportedly fixed, but why not run on old versions too?
32404 $SED '$q' "$ltmain" >> "$cfgfile" \
32405 || (rm -f "$cfgfile"; exit 1)
32407 mv -f "$cfgfile" "$ofile" ||
32408 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
32412 cat <<_LT_EOF >> "$ofile"
32414 # ### BEGIN LIBTOOL TAG CONFIG: CXX
32416 # The linker used to build libraries.
32419 # How to create reloadable object files.
32420 reload_flag=$lt_reload_flag_CXX
32421 reload_cmds=$lt_reload_cmds_CXX
32423 # Commands used to build an old-style archive.
32424 old_archive_cmds=$lt_old_archive_cmds_CXX
32426 # A language specific compiler.
32427 CC=$lt_compiler_CXX
32429 # Is the compiler the GNU compiler?
32432 # Compiler flag to turn off builtin functions.
32433 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
32435 # Additional compiler flags for building library objects.
32436 pic_flag=$lt_lt_prog_compiler_pic_CXX
32438 # How to pass a linker flag through the compiler.
32439 wl=$lt_lt_prog_compiler_wl_CXX
32441 # Compiler flag to prevent dynamic linking.
32442 link_static_flag=$lt_lt_prog_compiler_static_CXX
32444 # Does compiler simultaneously support -c and -o options?
32445 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
32447 # Whether or not to add -lc for building shared libraries.
32448 build_libtool_need_lc=$archive_cmds_need_lc_CXX
32450 # Whether or not to disallow shared libs when runtime libs are static.
32451 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
32453 # Compiler flag to allow reflexive dlopens.
32454 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
32456 # Compiler flag to generate shared objects directly from archives.
32457 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
32459 # Whether the compiler copes with passing no objects directly.
32460 compiler_needs_object=$lt_compiler_needs_object_CXX
32462 # Create an old-style archive from a shared archive.
32463 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
32465 # Create a temporary old-style archive to link instead of a shared archive.
32466 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
32468 # Commands used to build a shared archive.
32469 archive_cmds=$lt_archive_cmds_CXX
32470 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
32472 # Commands used to build a loadable module if different from building
32473 # a shared archive.
32474 module_cmds=$lt_module_cmds_CXX
32475 module_expsym_cmds=$lt_module_expsym_cmds_CXX
32477 # Whether we are building with GNU ld or not.
32478 with_gnu_ld=$lt_with_gnu_ld_CXX
32480 # Flag that allows shared libraries with undefined symbols to be built.
32481 allow_undefined_flag=$lt_allow_undefined_flag_CXX
32483 # Flag that enforces no undefined symbols.
32484 no_undefined_flag=$lt_no_undefined_flag_CXX
32486 # Flag to hardcode \$libdir into a binary during linking.
32487 # This must work even if \$libdir does not exist
32488 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
32490 # Whether we need a single "-rpath" flag with a separated argument.
32491 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
32493 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32494 # DIR into the resulting binary.
32495 hardcode_direct=$hardcode_direct_CXX
32497 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32498 # DIR into the resulting binary and the resulting library dependency is
32499 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32500 # library is relocated.
32501 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
32503 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32504 # into the resulting binary.
32505 hardcode_minus_L=$hardcode_minus_L_CXX
32507 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32508 # into the resulting binary.
32509 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
32511 # Set to "yes" if building a shared library automatically hardcodes DIR
32512 # into the library and all subsequent libraries and executables linked
32514 hardcode_automatic=$hardcode_automatic_CXX
32516 # Set to yes if linker adds runtime paths of dependent libraries
32517 # to runtime path list.
32518 inherit_rpath=$inherit_rpath_CXX
32520 # Whether libtool must link a program against all its dependency libraries.
32521 link_all_deplibs=$link_all_deplibs_CXX
32523 # Set to "yes" if exported symbols are required.
32524 always_export_symbols=$always_export_symbols_CXX
32526 # The commands to list exported symbols.
32527 export_symbols_cmds=$lt_export_symbols_cmds_CXX
32529 # Symbols that should not be listed in the preloaded symbols.
32530 exclude_expsyms=$lt_exclude_expsyms_CXX
32532 # Symbols that must always be exported.
32533 include_expsyms=$lt_include_expsyms_CXX
32535 # Commands necessary for linking programs (against libraries) with templates.
32536 prelink_cmds=$lt_prelink_cmds_CXX
32538 # Commands necessary for finishing linking programs.
32539 postlink_cmds=$lt_postlink_cmds_CXX
32541 # Specify filename containing input files.
32542 file_list_spec=$lt_file_list_spec_CXX
32544 # How to hardcode a shared library path into an executable.
32545 hardcode_action=$hardcode_action_CXX
32547 # The directories searched by this compiler when creating a shared library.
32548 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
32550 # Dependencies to place before and after the objects being linked to
32551 # create a shared library.
32552 predep_objects=$lt_predep_objects_CXX
32553 postdep_objects=$lt_postdep_objects_CXX
32554 predeps=$lt_predeps_CXX
32555 postdeps=$lt_postdeps_CXX
32557 # The library search path used internally by the compiler when linking
32558 # a shared library.
32559 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
32561 # ### END LIBTOOL TAG CONFIG: CXX
32565 cat <<_LT_EOF >> "$ofile"
32567 # ### BEGIN LIBTOOL TAG CONFIG: F77
32569 # The linker used to build libraries.
32572 # How to create reloadable object files.
32573 reload_flag=$lt_reload_flag_F77
32574 reload_cmds=$lt_reload_cmds_F77
32576 # Commands used to build an old-style archive.
32577 old_archive_cmds=$lt_old_archive_cmds_F77
32579 # A language specific compiler.
32580 CC=$lt_compiler_F77
32582 # Is the compiler the GNU compiler?
32585 # Compiler flag to turn off builtin functions.
32586 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
32588 # Additional compiler flags for building library objects.
32589 pic_flag=$lt_lt_prog_compiler_pic_F77
32591 # How to pass a linker flag through the compiler.
32592 wl=$lt_lt_prog_compiler_wl_F77
32594 # Compiler flag to prevent dynamic linking.
32595 link_static_flag=$lt_lt_prog_compiler_static_F77
32597 # Does compiler simultaneously support -c and -o options?
32598 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
32600 # Whether or not to add -lc for building shared libraries.
32601 build_libtool_need_lc=$archive_cmds_need_lc_F77
32603 # Whether or not to disallow shared libs when runtime libs are static.
32604 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
32606 # Compiler flag to allow reflexive dlopens.
32607 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
32609 # Compiler flag to generate shared objects directly from archives.
32610 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
32612 # Whether the compiler copes with passing no objects directly.
32613 compiler_needs_object=$lt_compiler_needs_object_F77
32615 # Create an old-style archive from a shared archive.
32616 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
32618 # Create a temporary old-style archive to link instead of a shared archive.
32619 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
32621 # Commands used to build a shared archive.
32622 archive_cmds=$lt_archive_cmds_F77
32623 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
32625 # Commands used to build a loadable module if different from building
32626 # a shared archive.
32627 module_cmds=$lt_module_cmds_F77
32628 module_expsym_cmds=$lt_module_expsym_cmds_F77
32630 # Whether we are building with GNU ld or not.
32631 with_gnu_ld=$lt_with_gnu_ld_F77
32633 # Flag that allows shared libraries with undefined symbols to be built.
32634 allow_undefined_flag=$lt_allow_undefined_flag_F77
32636 # Flag that enforces no undefined symbols.
32637 no_undefined_flag=$lt_no_undefined_flag_F77
32639 # Flag to hardcode \$libdir into a binary during linking.
32640 # This must work even if \$libdir does not exist
32641 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
32643 # Whether we need a single "-rpath" flag with a separated argument.
32644 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
32646 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32647 # DIR into the resulting binary.
32648 hardcode_direct=$hardcode_direct_F77
32650 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32651 # DIR into the resulting binary and the resulting library dependency is
32652 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32653 # library is relocated.
32654 hardcode_direct_absolute=$hardcode_direct_absolute_F77
32656 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32657 # into the resulting binary.
32658 hardcode_minus_L=$hardcode_minus_L_F77
32660 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32661 # into the resulting binary.
32662 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
32664 # Set to "yes" if building a shared library automatically hardcodes DIR
32665 # into the library and all subsequent libraries and executables linked
32667 hardcode_automatic=$hardcode_automatic_F77
32669 # Set to yes if linker adds runtime paths of dependent libraries
32670 # to runtime path list.
32671 inherit_rpath=$inherit_rpath_F77
32673 # Whether libtool must link a program against all its dependency libraries.
32674 link_all_deplibs=$link_all_deplibs_F77
32676 # Set to "yes" if exported symbols are required.
32677 always_export_symbols=$always_export_symbols_F77
32679 # The commands to list exported symbols.
32680 export_symbols_cmds=$lt_export_symbols_cmds_F77
32682 # Symbols that should not be listed in the preloaded symbols.
32683 exclude_expsyms=$lt_exclude_expsyms_F77
32685 # Symbols that must always be exported.
32686 include_expsyms=$lt_include_expsyms_F77
32688 # Commands necessary for linking programs (against libraries) with templates.
32689 prelink_cmds=$lt_prelink_cmds_F77
32691 # Commands necessary for finishing linking programs.
32692 postlink_cmds=$lt_postlink_cmds_F77
32694 # Specify filename containing input files.
32695 file_list_spec=$lt_file_list_spec_F77
32697 # How to hardcode a shared library path into an executable.
32698 hardcode_action=$hardcode_action_F77
32700 # The directories searched by this compiler when creating a shared library.
32701 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
32703 # Dependencies to place before and after the objects being linked to
32704 # create a shared library.
32705 predep_objects=$lt_predep_objects_F77
32706 postdep_objects=$lt_postdep_objects_F77
32707 predeps=$lt_predeps_F77
32708 postdeps=$lt_postdeps_F77
32710 # The library search path used internally by the compiler when linking
32711 # a shared library.
32712 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
32714 # ### END LIBTOOL TAG CONFIG: F77
32718 cat <<_LT_EOF >> "$ofile"
32720 # ### BEGIN LIBTOOL TAG CONFIG: FC
32722 # The linker used to build libraries.
32725 # How to create reloadable object files.
32726 reload_flag=$lt_reload_flag_FC
32727 reload_cmds=$lt_reload_cmds_FC
32729 # Commands used to build an old-style archive.
32730 old_archive_cmds=$lt_old_archive_cmds_FC
32732 # A language specific compiler.
32735 # Is the compiler the GNU compiler?
32738 # Compiler flag to turn off builtin functions.
32739 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
32741 # Additional compiler flags for building library objects.
32742 pic_flag=$lt_lt_prog_compiler_pic_FC
32744 # How to pass a linker flag through the compiler.
32745 wl=$lt_lt_prog_compiler_wl_FC
32747 # Compiler flag to prevent dynamic linking.
32748 link_static_flag=$lt_lt_prog_compiler_static_FC
32750 # Does compiler simultaneously support -c and -o options?
32751 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
32753 # Whether or not to add -lc for building shared libraries.
32754 build_libtool_need_lc=$archive_cmds_need_lc_FC
32756 # Whether or not to disallow shared libs when runtime libs are static.
32757 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
32759 # Compiler flag to allow reflexive dlopens.
32760 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
32762 # Compiler flag to generate shared objects directly from archives.
32763 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
32765 # Whether the compiler copes with passing no objects directly.
32766 compiler_needs_object=$lt_compiler_needs_object_FC
32768 # Create an old-style archive from a shared archive.
32769 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
32771 # Create a temporary old-style archive to link instead of a shared archive.
32772 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
32774 # Commands used to build a shared archive.
32775 archive_cmds=$lt_archive_cmds_FC
32776 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
32778 # Commands used to build a loadable module if different from building
32779 # a shared archive.
32780 module_cmds=$lt_module_cmds_FC
32781 module_expsym_cmds=$lt_module_expsym_cmds_FC
32783 # Whether we are building with GNU ld or not.
32784 with_gnu_ld=$lt_with_gnu_ld_FC
32786 # Flag that allows shared libraries with undefined symbols to be built.
32787 allow_undefined_flag=$lt_allow_undefined_flag_FC
32789 # Flag that enforces no undefined symbols.
32790 no_undefined_flag=$lt_no_undefined_flag_FC
32792 # Flag to hardcode \$libdir into a binary during linking.
32793 # This must work even if \$libdir does not exist
32794 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
32796 # Whether we need a single "-rpath" flag with a separated argument.
32797 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
32799 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32800 # DIR into the resulting binary.
32801 hardcode_direct=$hardcode_direct_FC
32803 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32804 # DIR into the resulting binary and the resulting library dependency is
32805 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32806 # library is relocated.
32807 hardcode_direct_absolute=$hardcode_direct_absolute_FC
32809 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32810 # into the resulting binary.
32811 hardcode_minus_L=$hardcode_minus_L_FC
32813 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32814 # into the resulting binary.
32815 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
32817 # Set to "yes" if building a shared library automatically hardcodes DIR
32818 # into the library and all subsequent libraries and executables linked
32820 hardcode_automatic=$hardcode_automatic_FC
32822 # Set to yes if linker adds runtime paths of dependent libraries
32823 # to runtime path list.
32824 inherit_rpath=$inherit_rpath_FC
32826 # Whether libtool must link a program against all its dependency libraries.
32827 link_all_deplibs=$link_all_deplibs_FC
32829 # Set to "yes" if exported symbols are required.
32830 always_export_symbols=$always_export_symbols_FC
32832 # The commands to list exported symbols.
32833 export_symbols_cmds=$lt_export_symbols_cmds_FC
32835 # Symbols that should not be listed in the preloaded symbols.
32836 exclude_expsyms=$lt_exclude_expsyms_FC
32838 # Symbols that must always be exported.
32839 include_expsyms=$lt_include_expsyms_FC
32841 # Commands necessary for linking programs (against libraries) with templates.
32842 prelink_cmds=$lt_prelink_cmds_FC
32844 # Commands necessary for finishing linking programs.
32845 postlink_cmds=$lt_postlink_cmds_FC
32847 # Specify filename containing input files.
32848 file_list_spec=$lt_file_list_spec_FC
32850 # How to hardcode a shared library path into an executable.
32851 hardcode_action=$hardcode_action_FC
32853 # The directories searched by this compiler when creating a shared library.
32854 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
32856 # Dependencies to place before and after the objects being linked to
32857 # create a shared library.
32858 predep_objects=$lt_predep_objects_FC
32859 postdep_objects=$lt_postdep_objects_FC
32860 predeps=$lt_predeps_FC
32861 postdeps=$lt_postdeps_FC
32863 # The library search path used internally by the compiler when linking
32864 # a shared library.
32865 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
32867 # ### END LIBTOOL TAG CONFIG: FC
32871 cat <<_LT_EOF >> "$ofile"
32873 # ### BEGIN LIBTOOL TAG CONFIG: GO
32875 # The linker used to build libraries.
32878 # How to create reloadable object files.
32879 reload_flag=$lt_reload_flag_GO
32880 reload_cmds=$lt_reload_cmds_GO
32882 # Commands used to build an old-style archive.
32883 old_archive_cmds=$lt_old_archive_cmds_GO
32885 # A language specific compiler.
32888 # Is the compiler the GNU compiler?
32891 # Compiler flag to turn off builtin functions.
32892 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
32894 # Additional compiler flags for building library objects.
32895 pic_flag=$lt_lt_prog_compiler_pic_GO
32897 # How to pass a linker flag through the compiler.
32898 wl=$lt_lt_prog_compiler_wl_GO
32900 # Compiler flag to prevent dynamic linking.
32901 link_static_flag=$lt_lt_prog_compiler_static_GO
32903 # Does compiler simultaneously support -c and -o options?
32904 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
32906 # Whether or not to add -lc for building shared libraries.
32907 build_libtool_need_lc=$archive_cmds_need_lc_GO
32909 # Whether or not to disallow shared libs when runtime libs are static.
32910 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
32912 # Compiler flag to allow reflexive dlopens.
32913 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
32915 # Compiler flag to generate shared objects directly from archives.
32916 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
32918 # Whether the compiler copes with passing no objects directly.
32919 compiler_needs_object=$lt_compiler_needs_object_GO
32921 # Create an old-style archive from a shared archive.
32922 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
32924 # Create a temporary old-style archive to link instead of a shared archive.
32925 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
32927 # Commands used to build a shared archive.
32928 archive_cmds=$lt_archive_cmds_GO
32929 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
32931 # Commands used to build a loadable module if different from building
32932 # a shared archive.
32933 module_cmds=$lt_module_cmds_GO
32934 module_expsym_cmds=$lt_module_expsym_cmds_GO
32936 # Whether we are building with GNU ld or not.
32937 with_gnu_ld=$lt_with_gnu_ld_GO
32939 # Flag that allows shared libraries with undefined symbols to be built.
32940 allow_undefined_flag=$lt_allow_undefined_flag_GO
32942 # Flag that enforces no undefined symbols.
32943 no_undefined_flag=$lt_no_undefined_flag_GO
32945 # Flag to hardcode \$libdir into a binary during linking.
32946 # This must work even if \$libdir does not exist
32947 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
32949 # Whether we need a single "-rpath" flag with a separated argument.
32950 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
32952 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32953 # DIR into the resulting binary.
32954 hardcode_direct=$hardcode_direct_GO
32956 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32957 # DIR into the resulting binary and the resulting library dependency is
32958 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32959 # library is relocated.
32960 hardcode_direct_absolute=$hardcode_direct_absolute_GO
32962 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32963 # into the resulting binary.
32964 hardcode_minus_L=$hardcode_minus_L_GO
32966 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32967 # into the resulting binary.
32968 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
32970 # Set to "yes" if building a shared library automatically hardcodes DIR
32971 # into the library and all subsequent libraries and executables linked
32973 hardcode_automatic=$hardcode_automatic_GO
32975 # Set to yes if linker adds runtime paths of dependent libraries
32976 # to runtime path list.
32977 inherit_rpath=$inherit_rpath_GO
32979 # Whether libtool must link a program against all its dependency libraries.
32980 link_all_deplibs=$link_all_deplibs_GO
32982 # Set to "yes" if exported symbols are required.
32983 always_export_symbols=$always_export_symbols_GO
32985 # The commands to list exported symbols.
32986 export_symbols_cmds=$lt_export_symbols_cmds_GO
32988 # Symbols that should not be listed in the preloaded symbols.
32989 exclude_expsyms=$lt_exclude_expsyms_GO
32991 # Symbols that must always be exported.
32992 include_expsyms=$lt_include_expsyms_GO
32994 # Commands necessary for linking programs (against libraries) with templates.
32995 prelink_cmds=$lt_prelink_cmds_GO
32997 # Commands necessary for finishing linking programs.
32998 postlink_cmds=$lt_postlink_cmds_GO
33000 # Specify filename containing input files.
33001 file_list_spec=$lt_file_list_spec_GO
33003 # How to hardcode a shared library path into an executable.
33004 hardcode_action=$hardcode_action_GO
33006 # The directories searched by this compiler when creating a shared library.
33007 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GO
33009 # Dependencies to place before and after the objects being linked to
33010 # create a shared library.
33011 predep_objects=$lt_predep_objects_GO
33012 postdep_objects=$lt_postdep_objects_GO
33013 predeps=$lt_predeps_GO
33014 postdeps=$lt_postdeps_GO
33016 # The library search path used internally by the compiler when linking
33017 # a shared library.
33018 compiler_lib_search_path=$lt_compiler_lib_search_path_GO
33020 # ### END LIBTOOL TAG CONFIG: GO
33024 cat <<_LT_EOF >> "$ofile"
33026 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
33028 # The linker used to build libraries.
33031 # How to create reloadable object files.
33032 reload_flag=$lt_reload_flag_GCJ
33033 reload_cmds=$lt_reload_cmds_GCJ
33035 # Commands used to build an old-style archive.
33036 old_archive_cmds=$lt_old_archive_cmds_GCJ
33038 # A language specific compiler.
33039 CC=$lt_compiler_GCJ
33041 # Is the compiler the GNU compiler?
33044 # Compiler flag to turn off builtin functions.
33045 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
33047 # Additional compiler flags for building library objects.
33048 pic_flag=$lt_lt_prog_compiler_pic_GCJ
33050 # How to pass a linker flag through the compiler.
33051 wl=$lt_lt_prog_compiler_wl_GCJ
33053 # Compiler flag to prevent dynamic linking.
33054 link_static_flag=$lt_lt_prog_compiler_static_GCJ
33056 # Does compiler simultaneously support -c and -o options?
33057 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
33059 # Whether or not to add -lc for building shared libraries.
33060 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
33062 # Whether or not to disallow shared libs when runtime libs are static.
33063 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
33065 # Compiler flag to allow reflexive dlopens.
33066 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
33068 # Compiler flag to generate shared objects directly from archives.
33069 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
33071 # Whether the compiler copes with passing no objects directly.
33072 compiler_needs_object=$lt_compiler_needs_object_GCJ
33074 # Create an old-style archive from a shared archive.
33075 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
33077 # Create a temporary old-style archive to link instead of a shared archive.
33078 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
33080 # Commands used to build a shared archive.
33081 archive_cmds=$lt_archive_cmds_GCJ
33082 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
33084 # Commands used to build a loadable module if different from building
33085 # a shared archive.
33086 module_cmds=$lt_module_cmds_GCJ
33087 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
33089 # Whether we are building with GNU ld or not.
33090 with_gnu_ld=$lt_with_gnu_ld_GCJ
33092 # Flag that allows shared libraries with undefined symbols to be built.
33093 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
33095 # Flag that enforces no undefined symbols.
33096 no_undefined_flag=$lt_no_undefined_flag_GCJ
33098 # Flag to hardcode \$libdir into a binary during linking.
33099 # This must work even if \$libdir does not exist
33100 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
33102 # Whether we need a single "-rpath" flag with a separated argument.
33103 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
33105 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
33106 # DIR into the resulting binary.
33107 hardcode_direct=$hardcode_direct_GCJ
33109 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
33110 # DIR into the resulting binary and the resulting library dependency is
33111 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
33112 # library is relocated.
33113 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
33115 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33116 # into the resulting binary.
33117 hardcode_minus_L=$hardcode_minus_L_GCJ
33119 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33120 # into the resulting binary.
33121 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
33123 # Set to "yes" if building a shared library automatically hardcodes DIR
33124 # into the library and all subsequent libraries and executables linked
33126 hardcode_automatic=$hardcode_automatic_GCJ
33128 # Set to yes if linker adds runtime paths of dependent libraries
33129 # to runtime path list.
33130 inherit_rpath=$inherit_rpath_GCJ
33132 # Whether libtool must link a program against all its dependency libraries.
33133 link_all_deplibs=$link_all_deplibs_GCJ
33135 # Set to "yes" if exported symbols are required.
33136 always_export_symbols=$always_export_symbols_GCJ
33138 # The commands to list exported symbols.
33139 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
33141 # Symbols that should not be listed in the preloaded symbols.
33142 exclude_expsyms=$lt_exclude_expsyms_GCJ
33144 # Symbols that must always be exported.
33145 include_expsyms=$lt_include_expsyms_GCJ
33147 # Commands necessary for linking programs (against libraries) with templates.
33148 prelink_cmds=$lt_prelink_cmds_GCJ
33150 # Commands necessary for finishing linking programs.
33151 postlink_cmds=$lt_postlink_cmds_GCJ
33153 # Specify filename containing input files.
33154 file_list_spec=$lt_file_list_spec_GCJ
33156 # How to hardcode a shared library path into an executable.
33157 hardcode_action=$hardcode_action_GCJ
33159 # The directories searched by this compiler when creating a shared library.
33160 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
33162 # Dependencies to place before and after the objects being linked to
33163 # create a shared library.
33164 predep_objects=$lt_predep_objects_GCJ
33165 postdep_objects=$lt_postdep_objects_GCJ
33166 predeps=$lt_predeps_GCJ
33167 postdeps=$lt_postdeps_GCJ
33169 # The library search path used internally by the compiler when linking
33170 # a shared library.
33171 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
33173 # ### END LIBTOOL TAG CONFIG: GCJ
33177 cat <<_LT_EOF >> "$ofile"
33179 # ### BEGIN LIBTOOL TAG CONFIG: RC
33181 # The linker used to build libraries.
33184 # How to create reloadable object files.
33185 reload_flag=$lt_reload_flag_RC
33186 reload_cmds=$lt_reload_cmds_RC
33188 # Commands used to build an old-style archive.
33189 old_archive_cmds=$lt_old_archive_cmds_RC
33191 # A language specific compiler.
33194 # Is the compiler the GNU compiler?
33197 # Compiler flag to turn off builtin functions.
33198 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
33200 # Additional compiler flags for building library objects.
33201 pic_flag=$lt_lt_prog_compiler_pic_RC
33203 # How to pass a linker flag through the compiler.
33204 wl=$lt_lt_prog_compiler_wl_RC
33206 # Compiler flag to prevent dynamic linking.
33207 link_static_flag=$lt_lt_prog_compiler_static_RC
33209 # Does compiler simultaneously support -c and -o options?
33210 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
33212 # Whether or not to add -lc for building shared libraries.
33213 build_libtool_need_lc=$archive_cmds_need_lc_RC
33215 # Whether or not to disallow shared libs when runtime libs are static.
33216 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
33218 # Compiler flag to allow reflexive dlopens.
33219 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
33221 # Compiler flag to generate shared objects directly from archives.
33222 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
33224 # Whether the compiler copes with passing no objects directly.
33225 compiler_needs_object=$lt_compiler_needs_object_RC
33227 # Create an old-style archive from a shared archive.
33228 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
33230 # Create a temporary old-style archive to link instead of a shared archive.
33231 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
33233 # Commands used to build a shared archive.
33234 archive_cmds=$lt_archive_cmds_RC
33235 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
33237 # Commands used to build a loadable module if different from building
33238 # a shared archive.
33239 module_cmds=$lt_module_cmds_RC
33240 module_expsym_cmds=$lt_module_expsym_cmds_RC
33242 # Whether we are building with GNU ld or not.
33243 with_gnu_ld=$lt_with_gnu_ld_RC
33245 # Flag that allows shared libraries with undefined symbols to be built.
33246 allow_undefined_flag=$lt_allow_undefined_flag_RC
33248 # Flag that enforces no undefined symbols.
33249 no_undefined_flag=$lt_no_undefined_flag_RC
33251 # Flag to hardcode \$libdir into a binary during linking.
33252 # This must work even if \$libdir does not exist
33253 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
33255 # Whether we need a single "-rpath" flag with a separated argument.
33256 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
33258 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
33259 # DIR into the resulting binary.
33260 hardcode_direct=$hardcode_direct_RC
33262 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
33263 # DIR into the resulting binary and the resulting library dependency is
33264 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
33265 # library is relocated.
33266 hardcode_direct_absolute=$hardcode_direct_absolute_RC
33268 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33269 # into the resulting binary.
33270 hardcode_minus_L=$hardcode_minus_L_RC
33272 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33273 # into the resulting binary.
33274 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
33276 # Set to "yes" if building a shared library automatically hardcodes DIR
33277 # into the library and all subsequent libraries and executables linked
33279 hardcode_automatic=$hardcode_automatic_RC
33281 # Set to yes if linker adds runtime paths of dependent libraries
33282 # to runtime path list.
33283 inherit_rpath=$inherit_rpath_RC
33285 # Whether libtool must link a program against all its dependency libraries.
33286 link_all_deplibs=$link_all_deplibs_RC
33288 # Set to "yes" if exported symbols are required.
33289 always_export_symbols=$always_export_symbols_RC
33291 # The commands to list exported symbols.
33292 export_symbols_cmds=$lt_export_symbols_cmds_RC
33294 # Symbols that should not be listed in the preloaded symbols.
33295 exclude_expsyms=$lt_exclude_expsyms_RC
33297 # Symbols that must always be exported.
33298 include_expsyms=$lt_include_expsyms_RC
33300 # Commands necessary for linking programs (against libraries) with templates.
33301 prelink_cmds=$lt_prelink_cmds_RC
33303 # Commands necessary for finishing linking programs.
33304 postlink_cmds=$lt_postlink_cmds_RC
33306 # Specify filename containing input files.
33307 file_list_spec=$lt_file_list_spec_RC
33309 # How to hardcode a shared library path into an executable.
33310 hardcode_action=$hardcode_action_RC
33312 # The directories searched by this compiler when creating a shared library.
33313 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
33315 # Dependencies to place before and after the objects being linked to
33316 # create a shared library.
33317 predep_objects=$lt_predep_objects_RC
33318 postdep_objects=$lt_postdep_objects_RC
33319 predeps=$lt_predeps_RC
33320 postdeps=$lt_postdeps_RC
33322 # The library search path used internally by the compiler when linking
33323 # a shared library.
33324 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
33326 # ### END LIBTOOL TAG CONFIG: RC
33337 ac_clean_files=$ac_clean_files_save
33339 test $ac_write_fail = 0 ||
33340 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
33343 # configure is writing to config.log, and then calls config.status.
33344 # config.status does its own redirection, appending to config.log.
33345 # Unfortunately, on DOS this fails, as config.log is still kept open
33346 # by configure, so config.status won't be able to write to it; its
33347 # output is simply discarded. So we exec the FD to /dev/null,
33348 # effectively closing config.log, so it can be properly (re)opened and
33349 # appended to by config.status. When coming back to configure, we
33350 # need to make the FD available again.
33351 if test "$no_create" != yes; then
33353 ac_config_status_args=
33354 test "$silent" = yes &&
33355 ac_config_status_args="$ac_config_status_args --quiet"
33357 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
33359 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
33360 # would make configure fail if this is the last instruction.
33361 $ac_cs_success || as_fn_exit 1
33363 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
33364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
33365 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}