2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GNU Libtool 2.4.2.
5 # Report bugs to <bug-libtool@gnu.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: bug-libtool@gnu.org about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 lt_ltdl_dir='libltdl'
549 SHELL=${CONFIG_SHELL-/bin/sh}
551 lt_dlopen_dir="$lt_ltdl_dir"; lt_libobj_prefix="$lt_ltdl_dir/"
554 test -n "$DJDIR" || exec 7<&0 </dev/null
558 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
574 # Identity of this package.
575 PACKAGE_NAME='GNU Libtool'
576 PACKAGE_TARNAME='libtool'
577 PACKAGE_VERSION='2.4.2'
578 PACKAGE_STRING='GNU Libtool 2.4.2'
579 PACKAGE_BUGREPORT='bug-libtool@gnu.org'
580 PACKAGE_URL='http://www.gnu.org/software/libtool/'
582 ac_unique_file="libtoolize.in"
583 ac_config_libobj_dir=libltdl
584 # Factoring default headers for most tests.
585 ac_includes_default="\
587 #ifdef HAVE_SYS_TYPES_H
588 # include <sys/types.h>
590 #ifdef HAVE_SYS_STAT_H
591 # include <sys/stat.h>
597 # ifdef HAVE_STDLIB_H
602 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 #ifdef HAVE_STRINGS_H
608 # include <strings.h>
610 #ifdef HAVE_INTTYPES_H
611 # include <inttypes.h>
620 ac_subst_vars='am__EXEEXT_FALSE
656 CONVENIENCE_LTDL_FALSE
657 CONVENIENCE_LTDL_TRUE
662 sys_symbol_underscore
712 CONFIG_STATUS_DEPENDENCIES
730 INSTALL_STRIP_PROGRAM
777 program_transform_name
790 enable_option_checking
792 enable_dependency_tracking
801 ac_precious_vars='build_alias
820 # Initialize some variables set by options.
822 ac_init_version=false
823 ac_unrecognized_opts=
825 # The variables have the same names as the options, with
826 # dashes changed to underlines.
834 program_transform_name=s,x,x,
842 # Installation directory options.
843 # These are left unexpanded so users can "make install exec_prefix=/foo"
844 # and all the variables that are supposed to be based on exec_prefix
845 # by default will actually change.
846 # Use braces instead of parens because sh, perl, etc. also accept them.
847 # (The list follows the same order as the GNU Coding Standards.)
848 bindir='${exec_prefix}/bin'
849 sbindir='${exec_prefix}/sbin'
850 libexecdir='${exec_prefix}/libexec'
851 datarootdir='${prefix}/share'
852 datadir='${datarootdir}'
853 sysconfdir='${prefix}/etc'
854 sharedstatedir='${prefix}/com'
855 localstatedir='${prefix}/var'
856 includedir='${prefix}/include'
857 oldincludedir='/usr/include'
858 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
859 infodir='${datarootdir}/info'
864 libdir='${exec_prefix}/lib'
865 localedir='${datarootdir}/locale'
866 mandir='${datarootdir}/man'
872 # If the previous option needs an argument, assign it.
873 if test -n "$ac_prev"; then
874 eval $ac_prev=\$ac_option
880 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
885 # Accept the important Cygnus configure options, so we can diagnose typos.
887 case $ac_dashdash$ac_option in
891 -bindir | --bindir | --bindi | --bind | --bin | --bi)
893 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
896 -build | --build | --buil | --bui | --bu)
897 ac_prev=build_alias ;;
898 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
899 build_alias=$ac_optarg ;;
901 -cache-file | --cache-file | --cache-fil | --cache-fi \
902 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
903 ac_prev=cache_file ;;
904 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
905 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
906 cache_file=$ac_optarg ;;
909 cache_file=config.cache ;;
911 -datadir | --datadir | --datadi | --datad)
913 -datadir=* | --datadir=* | --datadi=* | --datad=*)
914 datadir=$ac_optarg ;;
916 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
917 | --dataroo | --dataro | --datar)
918 ac_prev=datarootdir ;;
919 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
920 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
921 datarootdir=$ac_optarg ;;
923 -disable-* | --disable-*)
924 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927 as_fn_error $? "invalid feature name: $ac_useropt"
928 ac_useropt_orig=$ac_useropt
929 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930 case $ac_user_opts in
934 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
935 ac_unrecognized_sep=', ';;
937 eval enable_$ac_useropt=no ;;
939 -docdir | --docdir | --docdi | --doc | --do)
941 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
944 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
946 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
949 -enable-* | --enable-*)
950 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953 as_fn_error $? "invalid feature name: $ac_useropt"
954 ac_useropt_orig=$ac_useropt
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
961 ac_unrecognized_sep=', ';;
963 eval enable_$ac_useropt=\$ac_optarg ;;
965 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
966 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
967 | --exec | --exe | --ex)
968 ac_prev=exec_prefix ;;
969 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
970 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
971 | --exec=* | --exe=* | --ex=*)
972 exec_prefix=$ac_optarg ;;
974 -gas | --gas | --ga | --g)
975 # Obsolete; use --with-gas.
978 -help | --help | --hel | --he | -h)
980 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
981 ac_init_help=recursive ;;
982 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
983 ac_init_help=short ;;
985 -host | --host | --hos | --ho)
986 ac_prev=host_alias ;;
987 -host=* | --host=* | --hos=* | --ho=*)
988 host_alias=$ac_optarg ;;
990 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
992 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
994 htmldir=$ac_optarg ;;
996 -includedir | --includedir | --includedi | --included | --include \
997 | --includ | --inclu | --incl | --inc)
998 ac_prev=includedir ;;
999 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1000 | --includ=* | --inclu=* | --incl=* | --inc=*)
1001 includedir=$ac_optarg ;;
1003 -infodir | --infodir | --infodi | --infod | --info | --inf)
1005 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1006 infodir=$ac_optarg ;;
1008 -libdir | --libdir | --libdi | --libd)
1010 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1011 libdir=$ac_optarg ;;
1013 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1014 | --libexe | --libex | --libe)
1015 ac_prev=libexecdir ;;
1016 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1017 | --libexe=* | --libex=* | --libe=*)
1018 libexecdir=$ac_optarg ;;
1020 -localedir | --localedir | --localedi | --localed | --locale)
1021 ac_prev=localedir ;;
1022 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1023 localedir=$ac_optarg ;;
1025 -localstatedir | --localstatedir | --localstatedi | --localstated \
1026 | --localstate | --localstat | --localsta | --localst | --locals)
1027 ac_prev=localstatedir ;;
1028 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1029 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1030 localstatedir=$ac_optarg ;;
1032 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1034 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1035 mandir=$ac_optarg ;;
1037 -nfp | --nfp | --nf)
1038 # Obsolete; use --without-fp.
1041 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1042 | --no-cr | --no-c | -n)
1045 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1046 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1049 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1050 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1051 | --oldin | --oldi | --old | --ol | --o)
1052 ac_prev=oldincludedir ;;
1053 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1054 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1055 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1056 oldincludedir=$ac_optarg ;;
1058 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1060 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1061 prefix=$ac_optarg ;;
1063 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1064 | --program-pre | --program-pr | --program-p)
1065 ac_prev=program_prefix ;;
1066 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1067 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1068 program_prefix=$ac_optarg ;;
1070 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1071 | --program-suf | --program-su | --program-s)
1072 ac_prev=program_suffix ;;
1073 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1074 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1075 program_suffix=$ac_optarg ;;
1077 -program-transform-name | --program-transform-name \
1078 | --program-transform-nam | --program-transform-na \
1079 | --program-transform-n | --program-transform- \
1080 | --program-transform | --program-transfor \
1081 | --program-transfo | --program-transf \
1082 | --program-trans | --program-tran \
1083 | --progr-tra | --program-tr | --program-t)
1084 ac_prev=program_transform_name ;;
1085 -program-transform-name=* | --program-transform-name=* \
1086 | --program-transform-nam=* | --program-transform-na=* \
1087 | --program-transform-n=* | --program-transform-=* \
1088 | --program-transform=* | --program-transfor=* \
1089 | --program-transfo=* | --program-transf=* \
1090 | --program-trans=* | --program-tran=* \
1091 | --progr-tra=* | --program-tr=* | --program-t=*)
1092 program_transform_name=$ac_optarg ;;
1094 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1096 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1097 pdfdir=$ac_optarg ;;
1099 -psdir | --psdir | --psdi | --psd | --ps)
1101 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1105 | -silent | --silent | --silen | --sile | --sil)
1108 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1110 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1112 sbindir=$ac_optarg ;;
1114 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1115 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1116 | --sharedst | --shareds | --shared | --share | --shar \
1118 ac_prev=sharedstatedir ;;
1119 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1120 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1121 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1123 sharedstatedir=$ac_optarg ;;
1125 -site | --site | --sit)
1127 -site=* | --site=* | --sit=*)
1130 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1132 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1133 srcdir=$ac_optarg ;;
1135 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1136 | --syscon | --sysco | --sysc | --sys | --sy)
1137 ac_prev=sysconfdir ;;
1138 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1139 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1140 sysconfdir=$ac_optarg ;;
1142 -target | --target | --targe | --targ | --tar | --ta | --t)
1143 ac_prev=target_alias ;;
1144 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1145 target_alias=$ac_optarg ;;
1147 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1150 -version | --version | --versio | --versi | --vers | -V)
1151 ac_init_version=: ;;
1154 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157 as_fn_error $? "invalid package name: $ac_useropt"
1158 ac_useropt_orig=$ac_useropt
1159 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160 case $ac_user_opts in
1164 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1165 ac_unrecognized_sep=', ';;
1167 eval with_$ac_useropt=\$ac_optarg ;;
1169 -without-* | --without-*)
1170 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1173 as_fn_error $? "invalid package name: $ac_useropt"
1174 ac_useropt_orig=$ac_useropt
1175 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1181 ac_unrecognized_sep=', ';;
1183 eval with_$ac_useropt=no ;;
1186 # Obsolete; use --with-x.
1189 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1190 | --x-incl | --x-inc | --x-in | --x-i)
1191 ac_prev=x_includes ;;
1192 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1193 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1194 x_includes=$ac_optarg ;;
1196 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1197 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1198 ac_prev=x_libraries ;;
1199 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1200 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1201 x_libraries=$ac_optarg ;;
1203 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1204 Try \`$0 --help' for more information"
1208 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1209 # Reject names that are not valid shell variable names.
1210 case $ac_envvar in #(
1211 '' | [0-9]* | *[!_$as_cr_alnum]* )
1212 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1214 eval $ac_envvar=\$ac_optarg
1215 export $ac_envvar ;;
1218 # FIXME: should be removed in autoconf 3.0.
1219 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1220 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1221 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1222 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1228 if test -n "$ac_prev"; then
1229 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1230 as_fn_error $? "missing argument to $ac_option"
1233 if test -n "$ac_unrecognized_opts"; then
1234 case $enable_option_checking in
1236 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1237 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1241 # Check all directory arguments for consistency.
1242 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1243 datadir sysconfdir sharedstatedir localstatedir includedir \
1244 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1245 libdir localedir mandir
1247 eval ac_val=\$$ac_var
1248 # Remove trailing slashes.
1251 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1252 eval $ac_var=\$ac_val;;
1254 # Be sure to have absolute directory names.
1256 [\\/$]* | ?:[\\/]* ) continue;;
1257 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1259 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1262 # There might be people who depend on the old broken behavior: `$host'
1263 # used to hold the argument of --host etc.
1264 # FIXME: To remove some day.
1267 target=$target_alias
1269 # FIXME: To remove some day.
1270 if test "x$host_alias" != x; then
1271 if test "x$build_alias" = x; then
1272 cross_compiling=maybe
1273 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1274 If a cross compiler is detected then cross compile mode will be used" >&2
1275 elif test "x$build_alias" != "x$host_alias"; then
1281 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1283 test "$silent" = yes && exec 6>/dev/null
1286 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1287 ac_ls_di=`ls -di .` &&
1288 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1289 as_fn_error $? "working directory cannot be determined"
1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291 as_fn_error $? "pwd does not report name of working directory"
1294 # Find the source files, if location was not specified.
1295 if test -z "$srcdir"; then
1296 ac_srcdir_defaulted=yes
1297 # Try the directory containing this script, then the parent directory.
1298 ac_confdir=`$as_dirname -- "$as_myself" ||
1299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1300 X"$as_myself" : 'X\(//\)[^/]' \| \
1301 X"$as_myself" : 'X\(//\)$' \| \
1302 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1303 $as_echo X"$as_myself" |
1304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1326 ac_srcdir_defaulted=no
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1329 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1330 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1332 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1334 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1336 # When building in place, set srcdir=.
1337 if test "$ac_abs_confdir" = "$ac_pwd"; then
1340 # Remove unnecessary trailing slashes from srcdir.
1341 # Double slashes in file names in object file debugging info
1342 # mess up M-x gdb in Emacs.
1344 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1346 for ac_var in $ac_precious_vars; do
1347 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1348 eval ac_env_${ac_var}_value=\$${ac_var}
1349 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1350 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1354 # Report the --help message.
1356 if test "$ac_init_help" = "long"; then
1357 # Omit some internal or obsolete options to make the list less imposing.
1358 # This message is too long to be a string in the A/UX 3.1 sh.
1360 \`configure' configures GNU Libtool 2.4.2 to adapt to many kinds of systems.
1362 Usage: $0 [OPTION]... [VAR=VALUE]...
1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365 VAR=VALUE. See below for descriptions of some of the useful variables.
1367 Defaults for the options are specified in brackets.
1370 -h, --help display this help and exit
1371 --help=short display options specific to this package
1372 --help=recursive display the short help of all the included packages
1373 -V, --version display version information and exit
1374 -q, --quiet, --silent do not print \`checking ...' messages
1375 --cache-file=FILE cache test results in FILE [disabled]
1376 -C, --config-cache alias for \`--cache-file=config.cache'
1377 -n, --no-create do not create output files
1378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1380 Installation directories:
1381 --prefix=PREFIX install architecture-independent files in PREFIX
1382 [$ac_default_prefix]
1383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1386 By default, \`make install' will install all the files in
1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389 for instance \`--prefix=\$HOME'.
1391 For better control, use the options below.
1393 Fine tuning of the installation directories:
1394 --bindir=DIR user executables [EPREFIX/bin]
1395 --sbindir=DIR system admin executables [EPREFIX/sbin]
1396 --libexecdir=DIR program executables [EPREFIX/libexec]
1397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1399 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1400 --libdir=DIR object code libraries [EPREFIX/lib]
1401 --includedir=DIR C header files [PREFIX/include]
1402 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1405 --infodir=DIR info documentation [DATAROOTDIR/info]
1406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1407 --mandir=DIR man documentation [DATAROOTDIR/man]
1408 --docdir=DIR documentation root [DATAROOTDIR/doc/libtool]
1409 --htmldir=DIR html documentation [DOCDIR]
1410 --dvidir=DIR dvi documentation [DOCDIR]
1411 --pdfdir=DIR pdf documentation [DOCDIR]
1412 --psdir=DIR ps documentation [DOCDIR]
1418 --program-prefix=PREFIX prepend PREFIX to installed program names
1419 --program-suffix=SUFFIX append SUFFIX to installed program names
1420 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1423 --build=BUILD configure for building on BUILD [guessed]
1424 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1428 if test -n "$ac_init_help"; then
1429 case $ac_init_help in
1430 short | recursive ) echo "Configuration of GNU Libtool 2.4.2:";;
1435 --disable-option-checking ignore unrecognized --enable/--with options
1436 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1437 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1438 --disable-ltdl-install do not install libltdl
1439 --disable-dependency-tracking speeds up one-time build
1440 --enable-dependency-tracking do not reject slow dependency extractors
1441 --enable-shared[=PKGS] build shared libraries [default=yes]
1442 --enable-static[=PKGS] build static libraries [default=yes]
1443 --enable-fast-install[=PKGS]
1444 optimize for fast installation [default=yes]
1445 --disable-libtool-lock avoid locking (might break parallel builds)
1446 --enable-ltdl-install install libltdl
1449 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1450 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1451 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1453 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1454 --with-sysroot=DIR Search for dependent libraries within DIR
1455 (or the compiler's sysroot if not specified).
1457 Some influential environment variables:
1458 CC C compiler command
1459 CFLAGS C compiler flags
1460 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1461 nonstandard directory <lib dir>
1462 LIBS libraries to pass to the linker, e.g. -l<library>
1463 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1464 you have headers in a nonstandard directory <include dir>
1466 CXX C++ compiler command
1467 CXXFLAGS C++ compiler flags
1468 CXXCPP C++ preprocessor
1469 F77 Fortran 77 compiler command
1470 FFLAGS Fortran 77 compiler flags
1471 FC Fortran compiler command
1472 FCFLAGS Fortran compiler flags
1474 Use these variables to override the choices made by `configure' or to help
1475 it to find libraries and programs with nonstandard names/locations.
1477 Report bugs to <bug-libtool@gnu.org>.
1478 GNU Libtool home page: <http://www.gnu.org/software/libtool/>.
1479 General help using GNU software: <http://www.gnu.org/gethelp/>.
1484 if test "$ac_init_help" = "recursive"; then
1485 # If there are subdirs, report their specific --help.
1486 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1487 test -d "$ac_dir" ||
1488 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1496 # A ".." for each directory in $ac_dir_suffix.
1497 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1498 case $ac_top_builddir_sub in
1499 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1503 ac_abs_top_builddir=$ac_pwd
1504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1505 # for backward compatibility:
1506 ac_top_builddir=$ac_top_build_prefix
1509 .) # We are building in place.
1511 ac_top_srcdir=$ac_top_builddir_sub
1512 ac_abs_top_srcdir=$ac_pwd ;;
1513 [\\/]* | ?:[\\/]* ) # Absolute name.
1514 ac_srcdir=$srcdir$ac_dir_suffix;
1515 ac_top_srcdir=$srcdir
1516 ac_abs_top_srcdir=$srcdir ;;
1518 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1519 ac_top_srcdir=$ac_top_build_prefix$srcdir
1520 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1524 cd "$ac_dir" || { ac_status=$?; continue; }
1525 # Check for guested configure.
1526 if test -f "$ac_srcdir/configure.gnu"; then
1528 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1529 elif test -f "$ac_srcdir/configure"; then
1531 $SHELL "$ac_srcdir/configure" --help=recursive
1533 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1535 cd "$ac_pwd" || { ac_status=$?; break; }
1539 test -n "$ac_init_help" && exit $ac_status
1540 if $ac_init_version; then
1542 GNU Libtool configure 2.4.2
1543 generated by GNU Autoconf 2.68
1545 Copyright (C) 2010 Free Software Foundation, Inc.
1546 This configure script is free software; the Free Software Foundation
1547 gives unlimited permission to copy, distribute and modify it.
1552 ## ------------------------ ##
1553 ## Autoconf initialization. ##
1554 ## ------------------------ ##
1556 # ac_fn_c_try_compile LINENO
1557 # --------------------------
1558 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1559 ac_fn_c_try_compile ()
1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1562 rm -f conftest.$ac_objext
1563 if { { ac_try="$ac_compile"
1565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566 *) ac_try_echo=$ac_try;;
1568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_compile") 2>conftest.err
1572 if test -s conftest.err; then
1573 grep -v '^ *+' conftest.err >conftest.er1
1574 cat conftest.er1 >&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } && {
1579 test -z "$ac_c_werror_flag" ||
1580 test ! -s conftest.err
1581 } && test -s conftest.$ac_objext; then :
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.$ac_ext >&5
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status $ac_retval
1592 } # ac_fn_c_try_compile
1594 # ac_fn_c_try_cpp LINENO
1595 # ----------------------
1596 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 if { { ac_try="$ac_cpp conftest.$ac_ext"
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1609 if test -s conftest.err; then
1610 grep -v '^ *+' conftest.err >conftest.er1
1611 cat conftest.er1 >&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } > conftest.i && {
1616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.$ac_ext >&5
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status $ac_retval
1631 # ac_fn_c_try_link LINENO
1632 # -----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded.
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 rm -f conftest.$ac_objext conftest$ac_exeext
1638 if { { ac_try="$ac_link"
1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>conftest.err
1647 if test -s conftest.err; then
1648 grep -v '^ *+' conftest.err >conftest.er1
1649 cat conftest.er1 >&5
1650 mv -f conftest.er1 conftest.err
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 test $ac_status = 0; } && {
1654 test -z "$ac_c_werror_flag" ||
1655 test ! -s conftest.err
1656 } && test -s conftest$ac_exeext && {
1657 test "$cross_compiling" = yes ||
1658 $as_test_x conftest$ac_exeext
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.$ac_ext >&5
1667 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1668 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1669 # interfere with the next link command; also delete a directory that is
1670 # left behind by Apple's compiler. We do this before executing the actions.
1671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_status $ac_retval
1675 } # ac_fn_c_try_link
1677 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1678 # -------------------------------------------------------
1679 # Tests whether HEADER exists and can be compiled using the include files in
1680 # INCLUDES, setting the cache variable VAR accordingly.
1681 ac_fn_c_check_header_compile ()
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685 $as_echo_n "checking for $2... " >&6; }
1686 if eval \${$3+:} false; then :
1687 $as_echo_n "(cached) " >&6
1689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1694 if ac_fn_c_try_compile "$LINENO"; then :
1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1703 $as_echo "$ac_res" >&6; }
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 } # ac_fn_c_check_header_compile
1708 # ac_fn_c_try_run LINENO
1709 # ----------------------
1710 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1711 # that executables *can* be run.
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 if { { ac_try="$ac_link"
1717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718 *) ac_try_echo=$ac_try;;
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_link") 2>&5
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1726 { { case "(($ac_try" in
1727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728 *) ac_try_echo=$ac_try;;
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_try") 2>&5
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; }; }; then :
1738 $as_echo "$as_me: program exited with status $ac_status" >&5
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1742 ac_retval=$ac_status
1744 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746 as_fn_set_status $ac_retval
1750 # ac_fn_c_check_func LINENO FUNC VAR
1751 # ----------------------------------
1752 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1753 ac_fn_c_check_func ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757 $as_echo_n "checking for $2... " >&6; }
1758 if eval \${$3+:} false; then :
1759 $as_echo_n "(cached) " >&6
1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1762 /* end confdefs.h. */
1763 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1765 #define $2 innocuous_$2
1767 /* System header to define __stub macros and hopefully few prototypes,
1768 which can conflict with char $2 (); below.
1769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1770 <limits.h> exists even on freestanding compilers. */
1773 # include <limits.h>
1775 # include <assert.h>
1780 /* Override any GCC internal prototype to avoid an error.
1781 Use char because int might match the return type of a GCC
1782 builtin and then its argument prototype would still apply. */
1787 /* The GNU C library defines this for functions which it implements
1788 to always fail with ENOSYS. Some functions are actually named
1789 something starting with __ and the normal name is an alias. */
1790 #if defined __stub_$2 || defined __stub___$2
1802 if ac_fn_c_try_link "$LINENO"; then :
1807 rm -f core conftest.err conftest.$ac_objext \
1808 conftest$ac_exeext conftest.$ac_ext
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812 $as_echo "$ac_res" >&6; }
1813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 } # ac_fn_c_check_func
1817 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1818 # ---------------------------------------------
1819 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1821 ac_fn_c_check_decl ()
1823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824 as_decl_name=`echo $2|sed 's/ *(.*//'`
1825 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1827 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1828 if eval \${$3+:} false; then :
1829 $as_echo_n "(cached) " >&6
1831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1837 #ifndef $as_decl_name
1839 (void) $as_decl_use;
1841 (void) $as_decl_name;
1849 if ac_fn_c_try_compile "$LINENO"; then :
1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861 } # ac_fn_c_check_decl
1863 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1864 # -------------------------------------------
1865 # Tests whether TYPE exists after having included INCLUDES, setting cache
1866 # variable VAR accordingly.
1867 ac_fn_c_check_type ()
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if eval \${$3+:} false; then :
1873 $as_echo_n "(cached) " >&6
1876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1888 if ac_fn_c_try_compile "$LINENO"; then :
1889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h. */
1901 if ac_fn_c_try_compile "$LINENO"; then :
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1912 $as_echo "$ac_res" >&6; }
1913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1915 } # ac_fn_c_check_type
1917 # ac_fn_cxx_try_compile LINENO
1918 # ----------------------------
1919 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1920 ac_fn_cxx_try_compile ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 rm -f conftest.$ac_objext
1924 if { { ac_try="$ac_compile"
1926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1927 *) ac_try_echo=$ac_try;;
1929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930 $as_echo "$ac_try_echo"; } >&5
1931 (eval "$ac_compile") 2>conftest.err
1933 if test -s conftest.err; then
1934 grep -v '^ *+' conftest.err >conftest.er1
1935 cat conftest.er1 >&5
1936 mv -f conftest.er1 conftest.err
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; } && {
1940 test -z "$ac_cxx_werror_flag" ||
1941 test ! -s conftest.err
1942 } && test -s conftest.$ac_objext; then :
1945 $as_echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.$ac_ext >&5
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 as_fn_set_status $ac_retval
1953 } # ac_fn_cxx_try_compile
1955 # ac_fn_cxx_try_cpp LINENO
1956 # ------------------------
1957 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1958 ac_fn_cxx_try_cpp ()
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 if { { ac_try="$ac_cpp conftest.$ac_ext"
1963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1964 *) ac_try_echo=$ac_try;;
1966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1967 $as_echo "$ac_try_echo"; } >&5
1968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1970 if test -s conftest.err; then
1971 grep -v '^ *+' conftest.err >conftest.er1
1972 cat conftest.er1 >&5
1973 mv -f conftest.er1 conftest.err
1975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1976 test $ac_status = 0; } > conftest.i && {
1977 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1978 test ! -s conftest.err
1982 $as_echo "$as_me: failed program was:" >&5
1983 sed 's/^/| /' conftest.$ac_ext >&5
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988 as_fn_set_status $ac_retval
1990 } # ac_fn_cxx_try_cpp
1992 # ac_fn_cxx_try_link LINENO
1993 # -------------------------
1994 # Try to link conftest.$ac_ext, and return whether this succeeded.
1995 ac_fn_cxx_try_link ()
1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998 rm -f conftest.$ac_objext conftest$ac_exeext
1999 if { { ac_try="$ac_link"
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_link") 2>conftest.err
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } && {
2015 test -z "$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 } && test -s conftest$ac_exeext && {
2018 test "$cross_compiling" = yes ||
2019 $as_test_x conftest$ac_exeext
2023 $as_echo "$as_me: failed program was:" >&5
2024 sed 's/^/| /' conftest.$ac_ext >&5
2028 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2029 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2030 # interfere with the next link command; also delete a directory that is
2031 # left behind by Apple's compiler. We do this before executing the actions.
2032 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2034 as_fn_set_status $ac_retval
2036 } # ac_fn_cxx_try_link
2038 # ac_fn_f77_try_compile LINENO
2039 # ----------------------------
2040 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2041 ac_fn_f77_try_compile ()
2043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044 rm -f conftest.$ac_objext
2045 if { { ac_try="$ac_compile"
2047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2048 *) ac_try_echo=$ac_try;;
2050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2051 $as_echo "$ac_try_echo"; } >&5
2052 (eval "$ac_compile") 2>conftest.err
2054 if test -s conftest.err; then
2055 grep -v '^ *+' conftest.err >conftest.er1
2056 cat conftest.er1 >&5
2057 mv -f conftest.er1 conftest.err
2059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2060 test $ac_status = 0; } && {
2061 test -z "$ac_f77_werror_flag" ||
2062 test ! -s conftest.err
2063 } && test -s conftest.$ac_objext; then :
2066 $as_echo "$as_me: failed program was:" >&5
2067 sed 's/^/| /' conftest.$ac_ext >&5
2071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2072 as_fn_set_status $ac_retval
2074 } # ac_fn_f77_try_compile
2076 # ac_fn_f77_try_link LINENO
2077 # -------------------------
2078 # Try to link conftest.$ac_ext, and return whether this succeeded.
2079 ac_fn_f77_try_link ()
2081 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2082 rm -f conftest.$ac_objext conftest$ac_exeext
2083 if { { ac_try="$ac_link"
2085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2086 *) ac_try_echo=$ac_try;;
2088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2089 $as_echo "$ac_try_echo"; } >&5
2090 (eval "$ac_link") 2>conftest.err
2092 if test -s conftest.err; then
2093 grep -v '^ *+' conftest.err >conftest.er1
2094 cat conftest.er1 >&5
2095 mv -f conftest.er1 conftest.err
2097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2098 test $ac_status = 0; } && {
2099 test -z "$ac_f77_werror_flag" ||
2100 test ! -s conftest.err
2101 } && test -s conftest$ac_exeext && {
2102 test "$cross_compiling" = yes ||
2103 $as_test_x conftest$ac_exeext
2107 $as_echo "$as_me: failed program was:" >&5
2108 sed 's/^/| /' conftest.$ac_ext >&5
2112 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2113 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2114 # interfere with the next link command; also delete a directory that is
2115 # left behind by Apple's compiler. We do this before executing the actions.
2116 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2118 as_fn_set_status $ac_retval
2120 } # ac_fn_f77_try_link
2122 # ac_fn_fc_try_compile LINENO
2123 # ---------------------------
2124 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2125 ac_fn_fc_try_compile ()
2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128 rm -f conftest.$ac_objext
2129 if { { ac_try="$ac_compile"
2131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2132 *) ac_try_echo=$ac_try;;
2134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2135 $as_echo "$ac_try_echo"; } >&5
2136 (eval "$ac_compile") 2>conftest.err
2138 if test -s conftest.err; then
2139 grep -v '^ *+' conftest.err >conftest.er1
2140 cat conftest.er1 >&5
2141 mv -f conftest.er1 conftest.err
2143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2144 test $ac_status = 0; } && {
2145 test -z "$ac_fc_werror_flag" ||
2146 test ! -s conftest.err
2147 } && test -s conftest.$ac_objext; then :
2150 $as_echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.$ac_ext >&5
2155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2156 as_fn_set_status $ac_retval
2158 } # ac_fn_fc_try_compile
2160 # ac_fn_fc_try_link LINENO
2161 # ------------------------
2162 # Try to link conftest.$ac_ext, and return whether this succeeded.
2163 ac_fn_fc_try_link ()
2165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166 rm -f conftest.$ac_objext conftest$ac_exeext
2167 if { { ac_try="$ac_link"
2169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170 *) ac_try_echo=$ac_try;;
2172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2173 $as_echo "$ac_try_echo"; } >&5
2174 (eval "$ac_link") 2>conftest.err
2176 if test -s conftest.err; then
2177 grep -v '^ *+' conftest.err >conftest.er1
2178 cat conftest.er1 >&5
2179 mv -f conftest.er1 conftest.err
2181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2182 test $ac_status = 0; } && {
2183 test -z "$ac_fc_werror_flag" ||
2184 test ! -s conftest.err
2185 } && test -s conftest$ac_exeext && {
2186 test "$cross_compiling" = yes ||
2187 $as_test_x conftest$ac_exeext
2191 $as_echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.$ac_ext >&5
2196 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2197 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2198 # interfere with the next link command; also delete a directory that is
2199 # left behind by Apple's compiler. We do this before executing the actions.
2200 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2202 as_fn_set_status $ac_retval
2204 } # ac_fn_fc_try_link
2205 cat >config.log <<_ACEOF
2206 This file contains any messages produced by compilers while
2207 running configure, to aid debugging if configure makes a mistake.
2209 It was created by GNU Libtool $as_me 2.4.2, which was
2210 generated by GNU Autoconf 2.68. Invocation command line was
2222 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2223 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2224 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2225 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2226 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2228 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2229 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2231 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2232 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2233 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2234 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2235 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2236 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2237 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2245 test -z "$as_dir" && as_dir=.
2246 $as_echo "PATH: $as_dir"
2262 # Keep a trace of the command line.
2263 # Strip out --no-create and --no-recursion so they do not pile up.
2264 # Strip out --silent because we don't want to record it for future runs.
2265 # Also quote any args containing shell meta-characters.
2266 # Make two passes to allow for proper duplicate-argument suppression.
2270 ac_must_keep_next=false
2276 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2277 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2278 | -silent | --silent | --silen | --sile | --sil)
2281 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2284 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2286 as_fn_append ac_configure_args1 " '$ac_arg'"
2287 if test $ac_must_keep_next = true; then
2288 ac_must_keep_next=false # Got value, back to normal.
2291 *=* | --config-cache | -C | -disable-* | --disable-* \
2292 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2293 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2294 | -with-* | --with-* | -without-* | --without-* | --x)
2295 case "$ac_configure_args0 " in
2296 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2299 -* ) ac_must_keep_next=true ;;
2302 as_fn_append ac_configure_args " '$ac_arg'"
2307 { ac_configure_args0=; unset ac_configure_args0;}
2308 { ac_configure_args1=; unset ac_configure_args1;}
2310 # When interrupted or exit'd, cleanup temporary files, and complete
2311 # config.log. We remove comments because anyway the quotes in there
2312 # would cause problems or look ugly.
2313 # WARNING: Use '\'' to represent an apostrophe within the trap.
2314 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2315 trap 'exit_status=$?
2316 # Save into config.log some information that might help in debugging.
2320 $as_echo "## ---------------- ##
2321 ## Cache variables. ##
2322 ## ---------------- ##"
2324 # The following way of writing the cache mishandles newlines in values,
2326 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2327 eval ac_val=\$$ac_var
2331 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2332 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2335 _ | IFS | as_nl) ;; #(
2336 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2337 *) { eval $ac_var=; unset $ac_var;} ;;
2342 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2343 *${as_nl}ac_space=\ *)
2345 "s/'\''/'\''\\\\'\'''\''/g;
2346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2349 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2356 $as_echo "## ----------------- ##
2357 ## Output variables. ##
2358 ## ----------------- ##"
2360 for ac_var in $ac_subst_vars
2362 eval ac_val=\$$ac_var
2364 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2366 $as_echo "$ac_var='\''$ac_val'\''"
2370 if test -n "$ac_subst_files"; then
2371 $as_echo "## ------------------- ##
2372 ## File substitutions. ##
2373 ## ------------------- ##"
2375 for ac_var in $ac_subst_files
2377 eval ac_val=\$$ac_var
2379 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2381 $as_echo "$ac_var='\''$ac_val'\''"
2386 if test -s confdefs.h; then
2387 $as_echo "## ----------- ##
2394 test "$ac_signal" != 0 &&
2395 $as_echo "$as_me: caught signal $ac_signal"
2396 $as_echo "$as_me: exit $exit_status"
2398 rm -f core *.core core.conftest.* &&
2399 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2402 for ac_signal in 1 2 13 15; do
2403 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2407 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2408 rm -f -r conftest* confdefs.h
2410 $as_echo "/* confdefs.h */" > confdefs.h
2412 # Predefined preprocessor variables.
2414 cat >>confdefs.h <<_ACEOF
2415 #define PACKAGE_NAME "$PACKAGE_NAME"
2418 cat >>confdefs.h <<_ACEOF
2419 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2422 cat >>confdefs.h <<_ACEOF
2423 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2426 cat >>confdefs.h <<_ACEOF
2427 #define PACKAGE_STRING "$PACKAGE_STRING"
2430 cat >>confdefs.h <<_ACEOF
2431 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2434 cat >>confdefs.h <<_ACEOF
2435 #define PACKAGE_URL "$PACKAGE_URL"
2439 # Let the site file select an alternate cache file if it wants to.
2440 # Prefer an explicitly selected file to automatically selected ones.
2443 if test -n "$CONFIG_SITE"; then
2444 # We do not want a PATH search for config.site.
2445 case $CONFIG_SITE in #((
2446 -*) ac_site_file1=./$CONFIG_SITE;;
2447 */*) ac_site_file1=$CONFIG_SITE;;
2448 *) ac_site_file1=./$CONFIG_SITE;;
2450 elif test "x$prefix" != xNONE; then
2451 ac_site_file1=$prefix/share/config.site
2452 ac_site_file2=$prefix/etc/config.site
2454 ac_site_file1=$ac_default_prefix/share/config.site
2455 ac_site_file2=$ac_default_prefix/etc/config.site
2457 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2459 test "x$ac_site_file" = xNONE && continue
2460 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2462 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2463 sed 's/^/| /' "$ac_site_file" >&5
2465 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2467 as_fn_error $? "failed to load site script $ac_site_file
2468 See \`config.log' for more details" "$LINENO" 5; }
2472 if test -r "$cache_file"; then
2473 # Some versions of bash will fail to source /dev/null (special files
2474 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2475 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2477 $as_echo "$as_me: loading cache $cache_file" >&6;}
2479 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2480 *) . "./$cache_file";;
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2485 $as_echo "$as_me: creating cache $cache_file" >&6;}
2489 # Check that the precious variables saved in the cache have kept the same
2491 ac_cache_corrupted=false
2492 for ac_var in $ac_precious_vars; do
2493 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2494 eval ac_new_set=\$ac_env_${ac_var}_set
2495 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2496 eval ac_new_val=\$ac_env_${ac_var}_value
2497 case $ac_old_set,$ac_new_set in
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2500 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2501 ac_cache_corrupted=: ;;
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2504 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2505 ac_cache_corrupted=: ;;
2508 if test "x$ac_old_val" != "x$ac_new_val"; then
2509 # differences in whitespace do not lead to failure.
2510 ac_old_val_w=`echo x $ac_old_val`
2511 ac_new_val_w=`echo x $ac_new_val`
2512 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2514 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2515 ac_cache_corrupted=:
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2518 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2519 eval $ac_var=\$ac_old_val
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2522 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2524 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2527 # Pass precious variables to config.status.
2528 if test "$ac_new_set" = set; then
2530 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2531 *) ac_arg=$ac_var=$ac_new_val ;;
2533 case " $ac_configure_args " in
2534 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2535 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2539 if $ac_cache_corrupted; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2543 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2544 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2546 ## -------------------- ##
2547 ## Main body of script. ##
2548 ## -------------------- ##
2551 ac_cpp='$CPP $CPPFLAGS'
2552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2558 ac_config_headers="$ac_config_headers config.h:config-h.in"
2569 for ac_dir in libltdl/config "$srcdir"/libltdl/config; do
2570 if test -f "$ac_dir/install-sh"; then
2572 ac_install_sh="$ac_aux_dir/install-sh -c"
2574 elif test -f "$ac_dir/install.sh"; then
2576 ac_install_sh="$ac_aux_dir/install.sh -c"
2578 elif test -f "$ac_dir/shtool"; then
2580 ac_install_sh="$ac_aux_dir/shtool install -c"
2584 if test -z "$ac_aux_dir"; then
2585 as_fn_error $? "cannot find install-sh, install.sh, or shtool in libltdl/config \"$srcdir\"/libltdl/config" "$LINENO" 5
2588 # These three variables are undocumented and unsupported,
2589 # and are intended to be withdrawn in a future Autoconf release.
2590 # They can cause serious problems if a builder's source tree is in a directory
2591 # whose full name contains unusual characters.
2592 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2593 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2594 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2601 ## ------------------------ ##
2602 ## Autotest initialisation. ##
2603 ## ------------------------ ##
2605 ac_config_commands="$ac_config_commands tests/atconfig"
2607 AUTOM4TE=${AUTOM4TE=autom4te}
2609 AUTOTEST='$(AUTOM4TE) --language=autotest'
2613 ## ---------------------------------------- ##
2614 ## Display a configure time version banner. ##
2615 ## ---------------------------------------- ##
2617 # Calculating the previous version is somewhat involved, so do it once
2618 # here, and SUBST the result for the maintainer release rules. The
2619 # versioning scheme we use is described here:
2620 # http://www.gnu.org/software/libtool/contribute.html
2622 # First we break the version number up into its constituent parts.
2623 lt_major=`echo "2.4.2" | sed 's,\..*$,,g'`
2624 lt_minor=`echo "2.4.2" | sed 's,^[0-9]*\.\([0-9]*\).*$,\1,'`
2625 lt_micro=`echo "2.4.2" | sed 's,^[0-9]*\.[0-9]*\(\.[0-9]*\).*$,\1,'`
2626 lt_alpha=`echo "2.4.2" | sed 's,^[0-9.]*,,'`
2628 test "$lt_minor" = "2.4.2" && lt_minor=0
2629 test "$lt_micro" = "2.4.2" && lt_micro=""
2631 # Then we try to work out what the release before this one would have been
2632 # numbered. The only time we come unstuck is when this is the first release
2633 # from a stable branch (lt_micro=lt_alpha=""), so LASTRELEASE is the last
2634 # release from the old stable branch, and we don't know what version that
2635 # was, so leave it unset so that the Makefile can complain.
2640 LASTRELEASE="$lt_major.$lt_minor" ;;
2642 LASTRELEASE="$lt_major.$lt_minor$lt_micro" ;;
2646 LASTRELEASE=`echo "2.4.2" | tr 'c-y' 'b-w'` ;;
2648 LASTRELEASE=`echo "2.4.2" | tr 'd-z' 'b-x'` ;;
2649 *) # No lt_alpha component
2654 LASTRELEASE="$lt_major.$lt_minor" ;;
2656 lt_micro_value=`echo $lt_micro | sed 's,^\.,,'`
2657 LASTRELEASE="$lt_major.$lt_minor.`expr $lt_micro_value - 1`" ;;
2665 # This is a sanity check so we can see which version is used in bug reports.
2666 # It is assumed that we only want to see the date extension for cvs libtool
2667 # versions (i.e. "odd" letters) and not actual alpha releases.
2668 TIMESTAMP=`${CONFIG_SHELL} ${ac_aux_dir}/mkstamp ${srcdir}`
2669 package_revision=`( set $TIMESTAMP; echo $1; )`
2675 timestamp_string="${TIMESTAMP:+ (Build:$TIMESTAMP)}"
2676 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2677 ## Configuring libtool$timestamp_string 2.4.2 ##
2684 ## ------------------------ ##
2685 ## Automake Initialisation. ##
2686 ## ------------------------ ##
2688 am__api_version='1.11'
2690 # Find a good install program. We prefer a C program (faster),
2691 # so one script is as good as another. But avoid the broken or
2692 # incompatible versions:
2693 # SysV /etc/install, /usr/sbin/install
2694 # SunOS /usr/etc/install
2695 # IRIX /sbin/install
2697 # AmigaOS /C/install, which installs bootblocks on floppy discs
2698 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2699 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2700 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2701 # OS/2's system install, which has a completely different semantic
2702 # ./install, which can be erroneously created by make from ./install.sh.
2703 # Reject install programs that cannot install multiple files.
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2705 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2706 if test -z "$INSTALL"; then
2707 if ${ac_cv_path_install+:} false; then :
2708 $as_echo_n "(cached) " >&6
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir=.
2715 # Account for people who put trailing slashes in PATH elements.
2716 case $as_dir/ in #((
2717 ./ | .// | /[cC]/* | \
2718 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2719 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2722 # OSF1 and SCO ODT 3.0 have their own names for install.
2723 # Don't use installbsd from OSF since it installs stuff as root
2725 for ac_prog in ginstall scoinst install; do
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2728 if test $ac_prog = install &&
2729 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2730 # AIX install. It has an incompatible calling convention.
2732 elif test $ac_prog = install &&
2733 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2734 # program-specific install script used by HP pwplus--don't use.
2737 rm -rf conftest.one conftest.two conftest.dir
2738 echo one > conftest.one
2739 echo two > conftest.two
2741 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2742 test -s conftest.one && test -s conftest.two &&
2743 test -s conftest.dir/conftest.one &&
2744 test -s conftest.dir/conftest.two
2746 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2759 rm -rf conftest.one conftest.two conftest.dir
2762 if test "${ac_cv_path_install+set}" = set; then
2763 INSTALL=$ac_cv_path_install
2765 # As a last resort, use the slow shell script. Don't cache a
2766 # value for INSTALL within a source directory, because that will
2767 # break other packages using the cache if that directory is
2768 # removed, or if the value is a relative name.
2769 INSTALL=$ac_install_sh
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2773 $as_echo "$INSTALL" >&6; }
2775 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2776 # It thinks the first close brace ends the variable substitution.
2777 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2779 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2781 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2784 $as_echo_n "checking whether build environment is sane... " >&6; }
2787 echo timestamp > conftest.file
2788 # Reject unsafe characters in $srcdir or the absolute working directory
2789 # name. Accept space and tab only in the latter.
2793 *[\\\"\#\$\&\'\`$am_lf]*)
2794 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2797 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2798 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2801 # Do `set' in a subshell so we don't clobber the current shell's
2802 # arguments. Must try -L first in case configure is actually a
2803 # symlink; some systems play weird games with the mod time of symlinks
2804 # (eg FreeBSD returns the mod time of the symlink's containing
2807 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2808 if test "$*" = "X"; then
2810 set X `ls -t "$srcdir/configure" conftest.file`
2813 if test "$*" != "X $srcdir/configure conftest.file" \
2814 && test "$*" != "X conftest.file $srcdir/configure"; then
2816 # If neither matched, then we have a broken ls. This can happen
2817 # if, for instance, CONFIG_SHELL is bash and it inherits a
2818 # broken ls alias from the environment. This has actually
2819 # happened. Such a system could not be considered "sane".
2820 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2821 alias in your environment" "$LINENO" 5
2824 test "$2" = conftest.file
2830 as_fn_error $? "newly created file is older than distributed files!
2831 Check your system clock" "$LINENO" 5
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2834 $as_echo "yes" >&6; }
2835 test "$program_prefix" != NONE &&
2836 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2837 # Use a double $ so make ignores it.
2838 test "$program_suffix" != NONE &&
2839 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2840 # Double any \ or $.
2841 # By default was `s,x,x', remove it if useless.
2842 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2843 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2845 # expand $ac_aux_dir to an absolute path
2846 am_aux_dir=`cd $ac_aux_dir && pwd`
2848 if test x"${MISSING+set}" != xset; then
2851 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2853 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2856 # Use eval to expand $SHELL
2857 if eval "$MISSING --run true"; then
2858 am_missing_run="$MISSING --run "
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2862 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2865 if test x"${install_sh}" != xset; then
2868 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2870 install_sh="\${SHELL} $am_aux_dir/install-sh"
2874 # Installed binaries are usually stripped using `strip' when the user
2875 # run `make install-strip'. However `strip' might not be the right
2876 # tool to use in cross-compilation environments, therefore Automake
2877 # will honor the `STRIP' environment variable to overrule this program.
2878 if test "$cross_compiling" != no; then
2879 if test -n "$ac_tool_prefix"; then
2880 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2881 set dummy ${ac_tool_prefix}strip; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_STRIP+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$STRIP"; then
2888 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2897 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 STRIP=$ac_cv_prog_STRIP
2908 if test -n "$STRIP"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2910 $as_echo "$STRIP" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2918 if test -z "$ac_cv_prog_STRIP"; then
2920 # Extract the first word of "strip", so it can be a program name with args.
2921 set dummy strip; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$ac_ct_STRIP"; then
2928 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_ac_ct_STRIP="strip"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2948 if test -n "$ac_ct_STRIP"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2950 $as_echo "$ac_ct_STRIP" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2956 if test "x$ac_ct_STRIP" = x; then
2959 case $cross_compiling:$ac_tool_warned in
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2963 ac_tool_warned=yes ;;
2968 STRIP="$ac_cv_prog_STRIP"
2972 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2975 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2976 if test -z "$MKDIR_P"; then
2977 if ${ac_cv_path_mkdir+:} false; then :
2978 $as_echo_n "(cached) " >&6
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2984 test -z "$as_dir" && as_dir=.
2985 for ac_prog in mkdir gmkdir; do
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2988 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2989 'mkdir (GNU coreutils) '* | \
2990 'mkdir (coreutils) '* | \
2991 'mkdir (fileutils) '4.1*)
2992 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3002 test -d ./--version && rmdir ./--version
3003 if test "${ac_cv_path_mkdir+set}" = set; then
3004 MKDIR_P="$ac_cv_path_mkdir -p"
3006 # As a last resort, use the slow shell script. Don't cache a
3007 # value for MKDIR_P within a source directory, because that will
3008 # break other packages using the cache if that directory is
3009 # removed, or if the value is a relative name.
3010 MKDIR_P="$ac_install_sh -d"
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3014 $as_echo "$MKDIR_P" >&6; }
3018 [\\/$]* | ?:[\\/]*) ;;
3019 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3022 for ac_prog in gawk mawk nawk awk
3024 # Extract the first word of "$ac_prog", so it can be a program name with args.
3025 set dummy $ac_prog; ac_word=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if ${ac_cv_prog_AWK+:} false; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$AWK"; then
3032 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir=.
3039 for ac_exec_ext in '' $ac_executable_extensions; do
3040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3041 ac_cv_prog_AWK="$ac_prog"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 if test -n "$AWK"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3054 $as_echo "$AWK" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3061 test -n "$AWK" && break
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3065 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3067 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3068 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3069 $as_echo_n "(cached) " >&6
3071 cat >conftest.make <<\_ACEOF
3074 @echo '@@@%%%=$(MAKE)=@@@%%%'
3076 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3077 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3079 eval ac_cv_prog_make_${ac_make}_set=yes;;
3081 eval ac_cv_prog_make_${ac_make}_set=no;;
3085 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3087 $as_echo "yes" >&6; }
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091 $as_echo "no" >&6; }
3092 SET_MAKE="MAKE=${MAKE-make}"
3095 rm -rf .tst 2>/dev/null
3096 mkdir .tst 2>/dev/null
3097 if test -d .tst; then
3102 rmdir .tst 2>/dev/null
3104 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3105 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3106 # is not polluted with repeated "-I."
3107 am__isrc=' -I$(srcdir)'
3108 # test to see if srcdir already configured
3109 if test -f $srcdir/config.status; then
3110 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3114 # test whether we have cygpath
3115 if test -z "$CYGPATH_W"; then
3116 if (cygpath --version) >/dev/null 2>/dev/null; then
3117 CYGPATH_W='cygpath -w'
3124 # Define the identity of the package.
3129 cat >>confdefs.h <<_ACEOF
3130 #define PACKAGE "$PACKAGE"
3134 cat >>confdefs.h <<_ACEOF
3135 #define VERSION "$VERSION"
3138 # Some tools Automake needs.
3140 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3143 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3146 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3149 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3152 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3154 # We need awk for the "check" target. The system "awk" is bad on
3156 # Always define AMTAR for backward compatibility.
3158 AMTAR=${AMTAR-"${am_missing_run}tar"}
3160 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3168 ## ------------------------- ##
3169 ## Autobuild initialisation. ##
3170 ## ------------------------- ##
3172 # You can set autobuild_mode at configure time to specify a "unique"
3173 # string for this build.
3174 : ${autobuild_mode=default}
3175 AB_VERSION="2.4.2 ($TIMESTAMP)"
3176 # Make sure we can run config.sub.
3177 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3178 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3181 $as_echo_n "checking build system type... " >&6; }
3182 if ${ac_cv_build+:} false; then :
3183 $as_echo_n "(cached) " >&6
3185 ac_build_alias=$build_alias
3186 test "x$ac_build_alias" = x &&
3187 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3188 test "x$ac_build_alias" = x &&
3189 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3190 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3191 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3195 $as_echo "$ac_cv_build" >&6; }
3196 case $ac_cv_build in
3198 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3201 ac_save_IFS=$IFS; IFS='-'
3207 # Remember, the first character of IFS is used to create $*,
3208 # except with old shells:
3211 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3215 $as_echo_n "checking host system type... " >&6; }
3216 if ${ac_cv_host+:} false; then :
3217 $as_echo_n "(cached) " >&6
3219 if test "x$host_alias" = x; then
3220 ac_cv_host=$ac_cv_build
3222 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3223 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3228 $as_echo "$ac_cv_host" >&6; }
3231 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3234 ac_save_IFS=$IFS; IFS='-'
3240 # Remember, the first character of IFS is used to create $*,
3241 # except with old shells:
3244 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3251 if test -z "$AB_PACKAGE"; then
3252 AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5
3255 $as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;}
3257 if test -z "$AB_VERSION"; then
3258 AB_VERSION=${PACKAGE_VERSION:-$VERSION}
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5
3261 $as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;}
3264 if test "$hostname"; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5
3266 $as_echo "$as_me: autobuild hostname... $hostname" >&6;}
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild mode... $autobuild_mode" >&5
3270 $as_echo "$as_me: autobuild mode... $autobuild_mode" >&6;}
3272 date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
3273 if test "$?" != 0; then
3276 if test "$date"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5
3278 $as_echo "$as_me: autobuild timestamp... $date" >&6;}
3283 M4SH='$(AUTOM4TE) --language=m4sh'
3286 CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/ChangeLog'
3290 ## ------------------------------- ##
3291 ## Libtool specific configuration. ##
3292 ## ------------------------------- ##
3294 aclocaldir="\${datadir}/aclocal"
3296 pkgdatadir="\${datadir}/$PACKAGE"
3299 # Check whether --enable-ltdl-install was given.
3300 if test "${enable_ltdl_install+set}" = set; then :
3301 enableval=$enable_ltdl_install;
3304 if test x"${enable_ltdl_install+set}" != xset; then
3305 enable_ltdl_install=yes
3308 # All subdirectories that are configured on demand, but that must be
3309 # included in the distribution.
3310 CONF_SUBDIRS="tests/cdemo tests/demo tests/depdemo tests/f77demo tests/fcdemo \
3311 tests/mdemo tests/mdemo2 tests/pdemo tests/tagdemo"
3315 for dir in $CONF_SUBDIRS; do
3316 DIST_MAKEFILE_LIST="${DIST_MAKEFILE_LIST}$dir/Makefile "
3321 ## ---------------- ##
3322 ## compiler checks. ##
3323 ## ---------------- ##
3325 # Need to be sure that we have a working C compiler, otherwise even with
3326 # a good C compiler: if the following C++ tests fail, the whole libtool
3329 ac_cpp='$CPP $CPPFLAGS'
3330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3333 if test -n "$ac_tool_prefix"; then
3334 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3335 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3337 $as_echo_n "checking for $ac_word... " >&6; }
3338 if ${ac_cv_prog_CC+:} false; then :
3339 $as_echo_n "(cached) " >&6
3341 if test -n "$CC"; then
3342 ac_cv_prog_CC="$CC" # Let the user override the test.
3344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3348 test -z "$as_dir" && as_dir=.
3349 for ac_exec_ext in '' $ac_executable_extensions; do
3350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3351 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 if test -n "$CC"; then
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3364 $as_echo "$CC" >&6; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367 $as_echo "no" >&6; }
3372 if test -z "$ac_cv_prog_CC"; then
3374 # Extract the first word of "gcc", so it can be a program name with args.
3375 set dummy gcc; ac_word=$2
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3377 $as_echo_n "checking for $ac_word... " >&6; }
3378 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3379 $as_echo_n "(cached) " >&6
3381 if test -n "$ac_ct_CC"; then
3382 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388 test -z "$as_dir" && as_dir=.
3389 for ac_exec_ext in '' $ac_executable_extensions; do
3390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3391 ac_cv_prog_ac_ct_CC="gcc"
3392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3401 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3402 if test -n "$ac_ct_CC"; then
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3404 $as_echo "$ac_ct_CC" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3407 $as_echo "no" >&6; }
3410 if test "x$ac_ct_CC" = x; then
3413 case $cross_compiling:$ac_tool_warned in
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3417 ac_tool_warned=yes ;;
3425 if test -z "$CC"; then
3426 if test -n "$ac_tool_prefix"; then
3427 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3428 set dummy ${ac_tool_prefix}cc; ac_word=$2
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3430 $as_echo_n "checking for $ac_word... " >&6; }
3431 if ${ac_cv_prog_CC+:} false; then :
3432 $as_echo_n "(cached) " >&6
3434 if test -n "$CC"; then
3435 ac_cv_prog_CC="$CC" # Let the user override the test.
3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 test -z "$as_dir" && as_dir=.
3442 for ac_exec_ext in '' $ac_executable_extensions; do
3443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3444 ac_cv_prog_CC="${ac_tool_prefix}cc"
3445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3455 if test -n "$CC"; then
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3457 $as_echo "$CC" >&6; }
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3466 if test -z "$CC"; then
3467 # Extract the first word of "cc", so it can be a program name with args.
3468 set dummy cc; ac_word=$2
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3470 $as_echo_n "checking for $ac_word... " >&6; }
3471 if ${ac_cv_prog_CC+:} false; then :
3472 $as_echo_n "(cached) " >&6
3474 if test -n "$CC"; then
3475 ac_cv_prog_CC="$CC" # Let the user override the test.
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3482 test -z "$as_dir" && as_dir=.
3483 for ac_exec_ext in '' $ac_executable_extensions; do
3484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3485 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3486 ac_prog_rejected=yes
3490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3497 if test $ac_prog_rejected = yes; then
3498 # We found a bogon in the path, so make sure we never use it.
3499 set dummy $ac_cv_prog_CC
3501 if test $# != 0; then
3502 # We chose a different compiler from the bogus one.
3503 # However, it has the same basename, so the bogon will be chosen
3504 # first if we set CC to just the basename; use the full file name.
3506 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3512 if test -n "$CC"; then
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3514 $as_echo "$CC" >&6; }
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3517 $as_echo "no" >&6; }
3522 if test -z "$CC"; then
3523 if test -n "$ac_tool_prefix"; then
3524 for ac_prog in cl.exe
3526 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3527 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3529 $as_echo_n "checking for $ac_word... " >&6; }
3530 if ${ac_cv_prog_CC+:} false; then :
3531 $as_echo_n "(cached) " >&6
3533 if test -n "$CC"; then
3534 ac_cv_prog_CC="$CC" # Let the user override the test.
3536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir=.
3541 for ac_exec_ext in '' $ac_executable_extensions; do
3542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3543 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554 if test -n "$CC"; then
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3556 $as_echo "$CC" >&6; }
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3563 test -n "$CC" && break
3566 if test -z "$CC"; then
3568 for ac_prog in cl.exe
3570 # Extract the first word of "$ac_prog", so it can be a program name with args.
3571 set dummy $ac_prog; ac_word=$2
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3575 $as_echo_n "(cached) " >&6
3577 if test -n "$ac_ct_CC"; then
3578 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_ac_ct_CC="$ac_prog"
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3598 if test -n "$ac_ct_CC"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3600 $as_echo "$ac_ct_CC" >&6; }
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3607 test -n "$ac_ct_CC" && break
3610 if test "x$ac_ct_CC" = x; then
3613 case $cross_compiling:$ac_tool_warned in
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3617 ac_tool_warned=yes ;;
3626 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3628 as_fn_error $? "no acceptable C compiler found in \$PATH
3629 See \`config.log' for more details" "$LINENO" 5; }
3631 # Provide some information about the compiler.
3632 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3635 for ac_option in --version -v -V -qversion; do
3636 { { ac_try="$ac_compiler $ac_option >&5"
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3642 $as_echo "$ac_try_echo"; } >&5
3643 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3645 if test -s conftest.err; then
3647 ... rest of stderr output deleted ...
3648 10q' conftest.err >conftest.er1
3649 cat conftest.er1 >&5
3651 rm -f conftest.er1 conftest.err
3652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3653 test $ac_status = 0; }
3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3667 ac_clean_files_save=$ac_clean_files
3668 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3669 # Try to create an executable without -o first, disregard a.out.
3670 # It will help us diagnose broken compilers, and finding out an intuition
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3673 $as_echo_n "checking whether the C compiler works... " >&6; }
3674 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3676 # The possible output files:
3677 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3680 for ac_file in $ac_files
3683 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3684 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3689 if { { ac_try="$ac_link_default"
3691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3692 *) ac_try_echo=$ac_try;;
3694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3695 $as_echo "$ac_try_echo"; } >&5
3696 (eval "$ac_link_default") 2>&5
3698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3699 test $ac_status = 0; }; then :
3700 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3701 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3702 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3703 # so that the user can short-circuit this test for compilers unknown to
3705 for ac_file in $ac_files ''
3707 test -f "$ac_file" || continue
3709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3712 # We found the default executable, but exeext='' is most
3716 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3718 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3720 # We set ac_cv_exeext here because the later test for it is not
3721 # safe: cross compilers may not add the suffix if given an `-o'
3722 # argument, so we may need to know it at that point already.
3723 # Even if this section looks crufty: it has the advantage of
3730 test "$ac_cv_exeext" = no && ac_cv_exeext=
3735 if test -z "$ac_file"; then :
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3738 $as_echo "$as_me: failed program was:" >&5
3739 sed 's/^/| /' conftest.$ac_ext >&5
3741 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3743 as_fn_error 77 "C compiler cannot create executables
3744 See \`config.log' for more details" "$LINENO" 5; }
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3747 $as_echo "yes" >&6; }
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3750 $as_echo_n "checking for C compiler default output file name... " >&6; }
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3752 $as_echo "$ac_file" >&6; }
3753 ac_exeext=$ac_cv_exeext
3755 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3756 ac_clean_files=$ac_clean_files_save
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3758 $as_echo_n "checking for suffix of executables... " >&6; }
3759 if { { ac_try="$ac_link"
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3765 $as_echo "$ac_try_echo"; } >&5
3766 (eval "$ac_link") 2>&5
3768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3769 test $ac_status = 0; }; then :
3770 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3771 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3772 # work properly (i.e., refer to `conftest.exe'), while it won't with
3774 for ac_file in conftest.exe conftest conftest.*; do
3775 test -f "$ac_file" || continue
3777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3778 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3786 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3787 See \`config.log' for more details" "$LINENO" 5; }
3789 rm -f conftest conftest$ac_cv_exeext
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3791 $as_echo "$ac_cv_exeext" >&6; }
3793 rm -f conftest.$ac_ext
3794 EXEEXT=$ac_cv_exeext
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3802 FILE *f = fopen ("conftest.out", "w");
3803 return ferror (f) || fclose (f) != 0;
3809 ac_clean_files="$ac_clean_files conftest.out"
3810 # Check that the compiler produces executables we can run. If not, either
3811 # the compiler is broken, or we cross compile.
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3813 $as_echo_n "checking whether we are cross compiling... " >&6; }
3814 if test "$cross_compiling" != yes; then
3815 { { ac_try="$ac_link"
3817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3818 *) ac_try_echo=$ac_try;;
3820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3821 $as_echo "$ac_try_echo"; } >&5
3822 (eval "$ac_link") 2>&5
3824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3825 test $ac_status = 0; }
3826 if { ac_try='./conftest$ac_cv_exeext'
3827 { { case "(($ac_try" in
3828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3829 *) ac_try_echo=$ac_try;;
3831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3832 $as_echo "$ac_try_echo"; } >&5
3833 (eval "$ac_try") 2>&5
3835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3836 test $ac_status = 0; }; }; then
3839 if test "$cross_compiling" = maybe; then
3842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3844 as_fn_error $? "cannot run C compiled programs.
3845 If you meant to cross compile, use \`--host'.
3846 See \`config.log' for more details" "$LINENO" 5; }
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3851 $as_echo "$cross_compiling" >&6; }
3853 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3854 ac_clean_files=$ac_clean_files_save
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3856 $as_echo_n "checking for suffix of object files... " >&6; }
3857 if ${ac_cv_objext+:} false; then :
3858 $as_echo_n "(cached) " >&6
3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3871 rm -f conftest.o conftest.obj
3872 if { { ac_try="$ac_compile"
3874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3875 *) ac_try_echo=$ac_try;;
3877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3878 $as_echo "$ac_try_echo"; } >&5
3879 (eval "$ac_compile") 2>&5
3881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3882 test $ac_status = 0; }; then :
3883 for ac_file in conftest.o conftest.obj conftest.*; do
3884 test -f "$ac_file" || continue;
3886 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3887 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3892 $as_echo "$as_me: failed program was:" >&5
3893 sed 's/^/| /' conftest.$ac_ext >&5
3895 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3897 as_fn_error $? "cannot compute suffix of object files: cannot compile
3898 See \`config.log' for more details" "$LINENO" 5; }
3900 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3903 $as_echo "$ac_cv_objext" >&6; }
3904 OBJEXT=$ac_cv_objext
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3907 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3908 if ${ac_cv_c_compiler_gnu+:} false; then :
3909 $as_echo_n "(cached) " >&6
3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3925 if ac_fn_c_try_compile "$LINENO"; then :
3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3935 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3936 if test $ac_compiler_gnu = yes; then
3941 ac_test_CFLAGS=${CFLAGS+set}
3942 ac_save_CFLAGS=$CFLAGS
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3944 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3945 if ${ac_cv_prog_cc_g+:} false; then :
3946 $as_echo_n "(cached) " >&6
3948 ac_save_c_werror_flag=$ac_c_werror_flag
3949 ac_c_werror_flag=yes
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3963 if ac_fn_c_try_compile "$LINENO"; then :
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3978 if ac_fn_c_try_compile "$LINENO"; then :
3981 ac_c_werror_flag=$ac_save_c_werror_flag
3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3994 if ac_fn_c_try_compile "$LINENO"; then :
3997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4002 ac_c_werror_flag=$ac_save_c_werror_flag
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4005 $as_echo "$ac_cv_prog_cc_g" >&6; }
4006 if test "$ac_test_CFLAGS" = set; then
4007 CFLAGS=$ac_save_CFLAGS
4008 elif test $ac_cv_prog_cc_g = yes; then
4009 if test "$GCC" = yes; then
4015 if test "$GCC" = yes; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4022 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4023 if ${ac_cv_prog_cc_c89+:} false; then :
4024 $as_echo_n "(cached) " >&6
4026 ac_cv_prog_cc_c89=no
4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4029 /* end confdefs.h. */
4032 #include <sys/types.h>
4033 #include <sys/stat.h>
4034 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4035 struct buf { int x; };
4036 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4037 static char *e (p, i)
4043 static char *f (char * (*g) (char **, int), char **p, ...)
4048 s = g (p, va_arg (v,int));
4053 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4054 function prototypes and stuff, but not '\xHH' hex character constants.
4055 These don't provoke an error unfortunately, instead are silently treated
4056 as 'x'. The following induces an error, until -std is added to get
4057 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4058 array size at least. It's necessary to write '\x00'==0 to get something
4059 that's true only with -std. */
4060 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4062 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4063 inside strings and character constants. */
4065 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4067 int test (int i, double x);
4068 struct s1 {int (*f) (int a);};
4069 struct s2 {int (*f) (double a);};
4070 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4076 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4081 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4082 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4084 CC="$ac_save_CC $ac_arg"
4085 if ac_fn_c_try_compile "$LINENO"; then :
4086 ac_cv_prog_cc_c89=$ac_arg
4088 rm -f core conftest.err conftest.$ac_objext
4089 test "x$ac_cv_prog_cc_c89" != "xno" && break
4091 rm -f conftest.$ac_ext
4096 case "x$ac_cv_prog_cc_c89" in
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4099 $as_echo "none needed" >&6; } ;;
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4102 $as_echo "unsupported" >&6; } ;;
4104 CC="$CC $ac_cv_prog_cc_c89"
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4106 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4108 if test "x$ac_cv_prog_cc_c89" != xno; then :
4113 ac_cpp='$CPP $CPPFLAGS'
4114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4117 DEPDIR="${am__leading_dot}deps"
4119 ac_config_commands="$ac_config_commands depfiles"
4122 am_make=${MAKE-make}
4123 cat > confinc << 'END'
4125 @echo this is the am__doit target
4128 # If we don't find an include directive, just comment out the code.
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4130 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4134 # First try GNU make style include.
4135 echo "include confinc" > confmf
4136 # Ignore all kinds of additional output from `make'.
4137 case `$am_make -s -f confmf 2> /dev/null` in #(
4138 *the\ am__doit\ target*)
4144 # Now try BSD make style include.
4145 if test "$am__include" = "#"; then
4146 echo '.include "confinc"' > confmf
4147 case `$am_make -s -f confmf 2> /dev/null` in #(
4148 *the\ am__doit\ target*)
4149 am__include=.include
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4158 $as_echo "$_am_result" >&6; }
4159 rm -f confinc confmf
4161 # Check whether --enable-dependency-tracking was given.
4162 if test "${enable_dependency_tracking+set}" = set; then :
4163 enableval=$enable_dependency_tracking;
4166 if test "x$enable_dependency_tracking" != xno; then
4167 am_depcomp="$ac_aux_dir/depcomp"
4170 if test "x$enable_dependency_tracking" != xno; then
4180 depcc="$CC" am_compiler_list=
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4183 $as_echo_n "checking dependency style of $depcc... " >&6; }
4184 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4185 $as_echo_n "(cached) " >&6
4187 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4188 # We make a subdir and do the tests there. Otherwise we can end up
4189 # making bogus files that we don't know about and never remove. For
4190 # instance it was reported that on HP-UX the gcc test will end up
4191 # making a dummy file named `D' -- because `-MD' means `put the output
4194 # Copy depcomp to subdir because otherwise we won't find it if we're
4195 # using a relative directory.
4196 cp "$am_depcomp" conftest.dir
4198 # We will build objects and dependencies in a subdirectory because
4199 # it helps to detect inapplicable dependency modes. For instance
4200 # both Tru64's cc and ICC support -MD to output dependencies as a
4201 # side effect of compilation, but ICC will put the dependencies in
4202 # the current directory while Tru64 will put them in the object
4206 am_cv_CC_dependencies_compiler_type=none
4207 if test "$am_compiler_list" = ""; then
4208 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4211 case " $depcc " in #(
4212 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4215 for depmode in $am_compiler_list; do
4216 # Setup a source with many dependencies, because some compilers
4217 # like to wrap large dependency lists on column 80 (with \), and
4218 # we should not choose a depcomp mode which is confused by this.
4220 # We need to recreate these files for each test, as the compiler may
4221 # overwrite some of them when testing with obscure command lines.
4222 # This happens at least with the AIX C compiler.
4224 for i in 1 2 3 4 5 6; do
4225 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4226 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4227 # Solaris 8's {/usr,}/bin/sh.
4228 touch sub/conftst$i.h
4230 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4232 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4233 # mode. It turns out that the SunPro C++ compiler does not properly
4234 # handle `-M -o', and we need to detect this. Also, some Intel
4235 # versions had trouble with output in subdirs
4236 am__obj=sub/conftest.${OBJEXT-o}
4237 am__minus_obj="-o $am__obj"
4240 # This depmode causes a compiler race in universal mode.
4241 test "$am__universal" = false || continue
4244 # after this tag, mechanisms are not by side-effect, so they'll
4245 # only be used when explicitly requested
4246 if test "x$enable_dependency_tracking" = xyes; then
4252 msvisualcpp | msvcmsys)
4253 # This compiler won't grok `-c -o', but also, the minuso test has
4254 # not run yet. These depmodes are late enough in the game, and
4255 # so weak that their functioning should not be impacted.
4256 am__obj=conftest.${OBJEXT-o}
4261 if depmode=$depmode \
4262 source=sub/conftest.c object=$am__obj \
4263 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4264 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4265 >/dev/null 2>conftest.err &&
4266 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4267 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4268 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4269 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4270 # icc doesn't choke on unknown options, it will just issue warnings
4271 # or remarks (even with -Werror). So we grep stderr for any message
4272 # that says an option was ignored or not supported.
4273 # When given -MP, icc 7.0 and 7.1 complain thusly:
4274 # icc: Command line warning: ignoring option '-M'; no argument required
4275 # The diagnosis changed in icc 8.0:
4276 # icc: Command line remark: option '-MP' not supported
4277 if (grep 'ignoring option' conftest.err ||
4278 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4279 am_cv_CC_dependencies_compiler_type=$depmode
4288 am_cv_CC_dependencies_compiler_type=none
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4293 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4294 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4297 test "x$enable_dependency_tracking" != xno \
4298 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4300 am__fastdepCC_FALSE='#'
4302 am__fastdepCC_TRUE='#'
4303 am__fastdepCC_FALSE=
4307 if test "x$CC" != xcc; then
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4309 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4312 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4314 set dummy $CC; ac_cc=`$as_echo "$2" |
4315 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4316 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4317 $as_echo_n "(cached) " >&6
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4330 # Make sure it works both with $CC and with simple cc.
4331 # We do the test twice because some compilers refuse to overwrite an
4332 # existing .o file with -o, though they will create one.
4333 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4335 if { { case "(($ac_try" in
4336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4337 *) ac_try_echo=$ac_try;;
4339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4340 $as_echo "$ac_try_echo"; } >&5
4341 (eval "$ac_try") 2>&5
4343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4344 test $ac_status = 0; } &&
4345 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347 *) ac_try_echo=$ac_try;;
4349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4350 $as_echo "$ac_try_echo"; } >&5
4351 (eval "$ac_try") 2>&5
4353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4354 test $ac_status = 0; };
4356 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4357 if test "x$CC" != xcc; then
4358 # Test first that cc exists at all.
4359 if { ac_try='cc -c conftest.$ac_ext >&5'
4360 { { case "(($ac_try" in
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4365 $as_echo "$ac_try_echo"; } >&5
4366 (eval "$ac_try") 2>&5
4368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4369 test $ac_status = 0; }; }; then
4370 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4372 if { { case "(($ac_try" in
4373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374 *) ac_try_echo=$ac_try;;
4376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4377 $as_echo "$ac_try_echo"; } >&5
4378 (eval "$ac_try") 2>&5
4380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4381 test $ac_status = 0; } &&
4382 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387 $as_echo "$ac_try_echo"; } >&5
4388 (eval "$ac_try") 2>&5
4390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391 test $ac_status = 0; };
4396 # cc exists but doesn't like -o.
4397 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4402 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4404 rm -f core conftest*
4407 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4409 $as_echo "yes" >&6; }
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4412 $as_echo "no" >&6; }
4414 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4418 # FIXME: we rely on the cache variable name because
4419 # there is no other way.
4421 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4422 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4423 if test "$am_t" != yes; then
4424 # Losing compiler, so override with the script.
4425 # FIXME: It is wrong to rewrite CC.
4426 # But if we don't then we get into trouble of one sort or another.
4427 # A longer-term fix would be to have automake use am__CC in this case,
4428 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4429 CC="$am_aux_dir/compile $CC"
4434 ac_cpp='$CPP $CPPFLAGS'
4435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4439 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4440 # On Suns, sometimes $CPP names a directory.
4441 if test -n "$CPP" && test -d "$CPP"; then
4444 if test -z "$CPP"; then
4445 if ${ac_cv_prog_CPP+:} false; then :
4446 $as_echo_n "(cached) " >&6
4448 # Double quotes because CPP needs to be expanded
4449 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4452 for ac_c_preproc_warn_flag in '' yes
4454 # Use a header file that comes with gcc, so configuring glibc
4455 # with a fresh cross-compiler works.
4456 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4457 # <limits.h> exists even on freestanding compilers.
4458 # On the NeXT, cc -E runs the code through the compiler's parser,
4459 # not just through cpp. "Syntax error" is here to catch this case.
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461 /* end confdefs.h. */
4463 # include <limits.h>
4465 # include <assert.h>
4469 if ac_fn_c_try_cpp "$LINENO"; then :
4472 # Broken: fails on valid input.
4475 rm -f conftest.err conftest.i conftest.$ac_ext
4477 # OK, works on sane cases. Now check whether nonexistent headers
4478 # can be detected and how.
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4481 #include <ac_nonexistent.h>
4483 if ac_fn_c_try_cpp "$LINENO"; then :
4484 # Broken: success on invalid input.
4487 # Passes both tests.
4491 rm -f conftest.err conftest.i conftest.$ac_ext
4494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4495 rm -f conftest.i conftest.err conftest.$ac_ext
4496 if $ac_preproc_ok; then :
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4509 $as_echo "$CPP" >&6; }
4511 for ac_c_preproc_warn_flag in '' yes
4513 # Use a header file that comes with gcc, so configuring glibc
4514 # with a fresh cross-compiler works.
4515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4516 # <limits.h> exists even on freestanding compilers.
4517 # On the NeXT, cc -E runs the code through the compiler's parser,
4518 # not just through cpp. "Syntax error" is here to catch this case.
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4522 # include <limits.h>
4524 # include <assert.h>
4528 if ac_fn_c_try_cpp "$LINENO"; then :
4531 # Broken: fails on valid input.
4534 rm -f conftest.err conftest.i conftest.$ac_ext
4536 # OK, works on sane cases. Now check whether nonexistent headers
4537 # can be detected and how.
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4540 #include <ac_nonexistent.h>
4542 if ac_fn_c_try_cpp "$LINENO"; then :
4543 # Broken: success on invalid input.
4546 # Passes both tests.
4550 rm -f conftest.err conftest.i conftest.$ac_ext
4553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4554 rm -f conftest.i conftest.err conftest.$ac_ext
4555 if $ac_preproc_ok; then :
4558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4560 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4561 See \`config.log' for more details" "$LINENO" 5; }
4565 ac_cpp='$CPP $CPPFLAGS'
4566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4571 ## ----------------------- ##
4572 ## Libtool initialisation. ##
4573 ## ----------------------- ##
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4577 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4582 macro_version='2.4.2'
4583 macro_revision='1.3337'
4597 ltmain="$ac_aux_dir/ltmain.sh"
4599 # Backslashify metacharacters that are still active within
4600 # double-quoted strings.
4601 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4603 # Same as above, but do not quote variable references.
4604 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4606 # Sed substitution to delay expansion of an escaped shell variable in a
4607 # double_quote_subst'ed string.
4608 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4610 # Sed substitution to delay expansion of an escaped single quote.
4611 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4613 # Sed substitution to avoid accidental globbing in evaled expressions
4614 no_glob_subst='s/\*/\\\*/g'
4616 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4617 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4618 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4621 $as_echo_n "checking how to print strings... " >&6; }
4622 # Test print first, because it will be a builtin if present.
4623 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4624 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4626 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4629 # Use this function as a fallback that always works.
4630 func_fallback_echo ()
4632 eval 'cat <<_LTECHO_EOF
4636 ECHO='func_fallback_echo'
4639 # func_echo_all arg...
4640 # Invoke $ECHO with all args, space-separated.
4647 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4648 $as_echo "printf" >&6; } ;;
4649 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4650 $as_echo "print -r" >&6; } ;;
4651 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4652 $as_echo "cat" >&6; } ;;
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4669 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4670 if ${ac_cv_path_SED+:} false; then :
4671 $as_echo_n "(cached) " >&6
4673 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4674 for ac_i in 1 2 3 4 5 6 7; do
4675 ac_script="$ac_script$as_nl$ac_script"
4677 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4678 { ac_script=; unset ac_script;}
4679 if test -z "$SED"; then
4680 ac_path_SED_found=false
4681 # Loop through the user's path and test for each of PROGNAME-LIST
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 test -z "$as_dir" && as_dir=.
4687 for ac_prog in sed gsed; do
4688 for ac_exec_ext in '' $ac_executable_extensions; do
4689 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4690 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4691 # Check for GNU ac_path_SED and select it if it is found.
4692 # Check for GNU $ac_path_SED
4693 case `"$ac_path_SED" --version 2>&1` in
4695 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4698 $as_echo_n 0123456789 >"conftest.in"
4701 cat "conftest.in" "conftest.in" >"conftest.tmp"
4702 mv "conftest.tmp" "conftest.in"
4703 cp "conftest.in" "conftest.nl"
4704 $as_echo '' >> "conftest.nl"
4705 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4706 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4707 as_fn_arith $ac_count + 1 && ac_count=$as_val
4708 if test $ac_count -gt ${ac_path_SED_max-0}; then
4709 # Best one so far, save it but keep looking for a better one
4710 ac_cv_path_SED="$ac_path_SED"
4711 ac_path_SED_max=$ac_count
4713 # 10*(2^10) chars as input seems more than enough
4714 test $ac_count -gt 10 && break
4716 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4719 $ac_path_SED_found && break 3
4724 if test -z "$ac_cv_path_SED"; then
4725 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4733 $as_echo "$ac_cv_path_SED" >&6; }
4734 SED="$ac_cv_path_SED"
4737 test -z "$SED" && SED=sed
4738 Xsed="$SED -e 1s/^X//"
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4751 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4752 if ${ac_cv_path_GREP+:} false; then :
4753 $as_echo_n "(cached) " >&6
4755 if test -z "$GREP"; then
4756 ac_path_GREP_found=false
4757 # Loop through the user's path and test for each of PROGNAME-LIST
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4762 test -z "$as_dir" && as_dir=.
4763 for ac_prog in grep ggrep; do
4764 for ac_exec_ext in '' $ac_executable_extensions; do
4765 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4766 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4767 # Check for GNU ac_path_GREP and select it if it is found.
4768 # Check for GNU $ac_path_GREP
4769 case `"$ac_path_GREP" --version 2>&1` in
4771 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4774 $as_echo_n 0123456789 >"conftest.in"
4777 cat "conftest.in" "conftest.in" >"conftest.tmp"
4778 mv "conftest.tmp" "conftest.in"
4779 cp "conftest.in" "conftest.nl"
4780 $as_echo 'GREP' >> "conftest.nl"
4781 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4782 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4783 as_fn_arith $ac_count + 1 && ac_count=$as_val
4784 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4785 # Best one so far, save it but keep looking for a better one
4786 ac_cv_path_GREP="$ac_path_GREP"
4787 ac_path_GREP_max=$ac_count
4789 # 10*(2^10) chars as input seems more than enough
4790 test $ac_count -gt 10 && break
4792 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 $ac_path_GREP_found && break 3
4800 if test -z "$ac_cv_path_GREP"; then
4801 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4804 ac_cv_path_GREP=$GREP
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4809 $as_echo "$ac_cv_path_GREP" >&6; }
4810 GREP="$ac_cv_path_GREP"
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4814 $as_echo_n "checking for egrep... " >&6; }
4815 if ${ac_cv_path_EGREP+:} false; then :
4816 $as_echo_n "(cached) " >&6
4818 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4819 then ac_cv_path_EGREP="$GREP -E"
4821 if test -z "$EGREP"; then
4822 ac_path_EGREP_found=false
4823 # Loop through the user's path and test for each of PROGNAME-LIST
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4828 test -z "$as_dir" && as_dir=.
4829 for ac_prog in egrep; do
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4832 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4833 # Check for GNU ac_path_EGREP and select it if it is found.
4834 # Check for GNU $ac_path_EGREP
4835 case `"$ac_path_EGREP" --version 2>&1` in
4837 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4840 $as_echo_n 0123456789 >"conftest.in"
4843 cat "conftest.in" "conftest.in" >"conftest.tmp"
4844 mv "conftest.tmp" "conftest.in"
4845 cp "conftest.in" "conftest.nl"
4846 $as_echo 'EGREP' >> "conftest.nl"
4847 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4848 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4849 as_fn_arith $ac_count + 1 && ac_count=$as_val
4850 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4851 # Best one so far, save it but keep looking for a better one
4852 ac_cv_path_EGREP="$ac_path_EGREP"
4853 ac_path_EGREP_max=$ac_count
4855 # 10*(2^10) chars as input seems more than enough
4856 test $ac_count -gt 10 && break
4858 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4861 $ac_path_EGREP_found && break 3
4866 if test -z "$ac_cv_path_EGREP"; then
4867 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4870 ac_cv_path_EGREP=$EGREP
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4876 $as_echo "$ac_cv_path_EGREP" >&6; }
4877 EGREP="$ac_cv_path_EGREP"
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4881 $as_echo_n "checking for fgrep... " >&6; }
4882 if ${ac_cv_path_FGREP+:} false; then :
4883 $as_echo_n "(cached) " >&6
4885 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4886 then ac_cv_path_FGREP="$GREP -F"
4888 if test -z "$FGREP"; then
4889 ac_path_FGREP_found=false
4890 # Loop through the user's path and test for each of PROGNAME-LIST
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4895 test -z "$as_dir" && as_dir=.
4896 for ac_prog in fgrep; do
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4899 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4900 # Check for GNU ac_path_FGREP and select it if it is found.
4901 # Check for GNU $ac_path_FGREP
4902 case `"$ac_path_FGREP" --version 2>&1` in
4904 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4907 $as_echo_n 0123456789 >"conftest.in"
4910 cat "conftest.in" "conftest.in" >"conftest.tmp"
4911 mv "conftest.tmp" "conftest.in"
4912 cp "conftest.in" "conftest.nl"
4913 $as_echo 'FGREP' >> "conftest.nl"
4914 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4915 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4916 as_fn_arith $ac_count + 1 && ac_count=$as_val
4917 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4918 # Best one so far, save it but keep looking for a better one
4919 ac_cv_path_FGREP="$ac_path_FGREP"
4920 ac_path_FGREP_max=$ac_count
4922 # 10*(2^10) chars as input seems more than enough
4923 test $ac_count -gt 10 && break
4925 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4928 $ac_path_FGREP_found && break 3
4933 if test -z "$ac_cv_path_FGREP"; then
4934 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4937 ac_cv_path_FGREP=$FGREP
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4943 $as_echo "$ac_cv_path_FGREP" >&6; }
4944 FGREP="$ac_cv_path_FGREP"
4947 test -z "$GREP" && GREP=grep
4967 # Check whether --with-gnu-ld was given.
4968 if test "${with_gnu_ld+set}" = set; then :
4969 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4975 if test "$GCC" = yes; then
4976 # Check if gcc -print-prog-name=ld gives a path.
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4978 $as_echo_n "checking for ld used by $CC... " >&6; }
4981 # gcc leaves a trailing carriage return which upsets mingw
4982 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4984 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4987 # Accept absolute paths.
4989 re_direlt='/[^/][^/]*/\.\./'
4990 # Canonicalize the pathname of ld
4991 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4992 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4993 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4995 test -z "$LD" && LD="$ac_prog"
4998 # If it fails, then pretend we aren't using GCC.
5002 # If it is relative, then search for the first ld in PATH.
5006 elif test "$with_gnu_ld" = yes; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5008 $as_echo_n "checking for GNU ld... " >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5011 $as_echo_n "checking for non-GNU ld... " >&6; }
5013 if ${lt_cv_path_LD+:} false; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -z "$LD"; then
5017 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5018 for ac_dir in $PATH; do
5020 test -z "$ac_dir" && ac_dir=.
5021 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5022 lt_cv_path_LD="$ac_dir/$ac_prog"
5023 # Check to see if the program is GNU ld. I'd rather use --version,
5024 # but apparently some variants of GNU ld only accept -v.
5025 # Break only if it was the GNU/non-GNU ld that we prefer.
5026 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5027 *GNU* | *'with BFD'*)
5028 test "$with_gnu_ld" != no && break
5031 test "$with_gnu_ld" != yes && break
5038 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5043 if test -n "$LD"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5045 $as_echo "$LD" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5050 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5052 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5053 if ${lt_cv_prog_gnu_ld+:} false; then :
5054 $as_echo_n "(cached) " >&6
5056 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5057 case `$LD -v 2>&1 </dev/null` in
5058 *GNU* | *'with BFD'*)
5059 lt_cv_prog_gnu_ld=yes
5062 lt_cv_prog_gnu_ld=no
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5067 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5068 with_gnu_ld=$lt_cv_prog_gnu_ld
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5079 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5080 if ${lt_cv_path_NM+:} false; then :
5081 $as_echo_n "(cached) " >&6
5083 if test -n "$NM"; then
5084 # Let the user override the test.
5087 lt_nm_to_check="${ac_tool_prefix}nm"
5088 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5089 lt_nm_to_check="$lt_nm_to_check nm"
5091 for lt_tmp_nm in $lt_nm_to_check; do
5092 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5093 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5095 test -z "$ac_dir" && ac_dir=.
5096 tmp_nm="$ac_dir/$lt_tmp_nm"
5097 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5098 # Check to see if the nm accepts a BSD-compat flag.
5099 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5100 # nm: unknown option "B" ignored
5101 # Tru64's nm complains that /dev/null is an invalid object file
5102 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5103 */dev/null* | *'Invalid file or object type'*)
5104 lt_cv_path_NM="$tmp_nm -B"
5108 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5110 lt_cv_path_NM="$tmp_nm -p"
5114 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5115 continue # so that we can try to find one that supports BSD flags
5124 : ${lt_cv_path_NM=no}
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5128 $as_echo "$lt_cv_path_NM" >&6; }
5129 if test "$lt_cv_path_NM" != "no"; then
5132 # Didn't find any BSD compatible name lister, look for dumpbin.
5133 if test -n "$DUMPBIN"; then :
5134 # Let the user override the test.
5136 if test -n "$ac_tool_prefix"; then
5137 for ac_prog in dumpbin "link -dump"
5139 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5140 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; }
5143 if ${ac_cv_prog_DUMPBIN+:} false; then :
5144 $as_echo_n "(cached) " >&6
5146 if test -n "$DUMPBIN"; then
5147 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5156 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 DUMPBIN=$ac_cv_prog_DUMPBIN
5167 if test -n "$DUMPBIN"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5169 $as_echo "$DUMPBIN" >&6; }
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5176 test -n "$DUMPBIN" && break
5179 if test -z "$DUMPBIN"; then
5180 ac_ct_DUMPBIN=$DUMPBIN
5181 for ac_prog in dumpbin "link -dump"
5183 # Extract the first word of "$ac_prog", so it can be a program name with args.
5184 set dummy $ac_prog; ac_word=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$ac_ct_DUMPBIN"; then
5191 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir=.
5198 for ac_exec_ext in '' $ac_executable_extensions; do
5199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5200 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5211 if test -n "$ac_ct_DUMPBIN"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5213 $as_echo "$ac_ct_DUMPBIN" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5220 test -n "$ac_ct_DUMPBIN" && break
5223 if test "x$ac_ct_DUMPBIN" = x; then
5226 case $cross_compiling:$ac_tool_warned in
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5230 ac_tool_warned=yes ;;
5232 DUMPBIN=$ac_ct_DUMPBIN
5236 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5238 DUMPBIN="$DUMPBIN -symbols"
5246 if test "$DUMPBIN" != ":"; then
5250 test -z "$NM" && NM=nm
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5258 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5259 if ${lt_cv_nm_interface+:} false; then :
5260 $as_echo_n "(cached) " >&6
5262 lt_cv_nm_interface="BSD nm"
5263 echo "int some_variable = 0;" > conftest.$ac_ext
5264 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5265 (eval "$ac_compile" 2>conftest.err)
5266 cat conftest.err >&5
5267 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5268 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5269 cat conftest.err >&5
5270 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5271 cat conftest.out >&5
5272 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5273 lt_cv_nm_interface="MS dumpbin"
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5278 $as_echo "$lt_cv_nm_interface" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5281 $as_echo_n "checking whether ln -s works... " >&6; }
5283 if test "$LN_S" = "ln -s"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5285 $as_echo "yes" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5288 $as_echo "no, using $LN_S" >&6; }
5291 # find the maximum length of command line arguments
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5293 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5294 if ${lt_cv_sys_max_cmd_len+:} false; then :
5295 $as_echo_n "(cached) " >&6
5302 # On DJGPP, this test can blow up pretty badly due to problems in libc
5303 # (any single argument exceeding 2000 bytes causes a buffer overrun
5304 # during glob expansion). Even if it were fixed, the result of this
5305 # check would be larger than it should be.
5306 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5310 # Under GNU Hurd, this test is not required because there is
5311 # no limit to the length of command line arguments.
5312 # Libtool will interpret -1 as no limit whatsoever
5313 lt_cv_sys_max_cmd_len=-1;
5316 cygwin* | mingw* | cegcc*)
5317 # On Win9x/ME, this test blows up -- it succeeds, but takes
5318 # about 5 minutes as the teststring grows exponentially.
5319 # Worse, since 9x/ME are not pre-emptively multitasking,
5320 # you end up with a "frozen" computer, even though with patience
5321 # the test eventually succeeds (with a max line length of 256k).
5322 # Instead, let's just punt: use the minimum linelength reported by
5323 # all of the supported platforms: 8192 (on NT/2K/XP).
5324 lt_cv_sys_max_cmd_len=8192;
5328 # On MiNT this can take a long time and run out of memory.
5329 lt_cv_sys_max_cmd_len=8192;
5333 # On AmigaOS with pdksh, this test takes hours, literally.
5334 # So we just punt and use a minimum line length of 8192.
5335 lt_cv_sys_max_cmd_len=8192;
5338 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5339 # This has been around since 386BSD, at least. Likely further.
5340 if test -x /sbin/sysctl; then
5341 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5342 elif test -x /usr/sbin/sysctl; then
5343 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5345 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5347 # And add a safety zone
5348 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5349 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5353 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5354 lt_cv_sys_max_cmd_len=196608
5358 # The test takes a long time on OS/2.
5359 lt_cv_sys_max_cmd_len=8192
5363 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5364 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5365 # nice to cause kernel panics so lets avoid the loop below.
5366 # First set a reasonable default.
5367 lt_cv_sys_max_cmd_len=16384
5369 if test -x /sbin/sysconfig; then
5370 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5371 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5376 lt_cv_sys_max_cmd_len=102400
5378 sysv5* | sco5v6* | sysv4.2uw2*)
5379 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5380 if test -n "$kargmax"; then
5381 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5383 lt_cv_sys_max_cmd_len=32768
5387 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5388 if test -n "$lt_cv_sys_max_cmd_len"; then
5389 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5390 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5392 # Make teststring a little bigger before we do anything with it.
5393 # a 1K string should be a reasonable start.
5394 for i in 1 2 3 4 5 6 7 8 ; do
5395 teststring=$teststring$teststring
5397 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5398 # If test is not a shell built-in, we'll probably end up computing a
5399 # maximum length that is only half of the actual maximum length, but
5401 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5402 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5403 test $i != 17 # 1/2 MB should be enough
5406 teststring=$teststring$teststring
5408 # Only check the string length outside the loop.
5409 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5411 # Add a significant safety factor because C++ compilers can tack on
5412 # massive amounts of additional arguments before passing them to the
5413 # linker. It appears as though 1/2 is a usable value.
5414 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5421 if test -n $lt_cv_sys_max_cmd_len ; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5423 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5426 $as_echo "none" >&6; }
5428 max_cmd_len=$lt_cv_sys_max_cmd_len
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5440 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5441 # Try some XSI features
5444 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5446 && eval 'test $(( 1 + 1 )) -eq 2 \
5447 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5450 $as_echo "$xsi_shell" >&6; }
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5454 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5456 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5458 && lt_shell_append=yes
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5460 $as_echo "$lt_shell_append" >&6; }
5463 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5473 # test EBCDIC or ASCII
5474 case `echo X|tr X '\101'` in
5475 A) # ASCII based system
5476 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5477 lt_SP2NL='tr \040 \012'
5478 lt_NL2SP='tr \015\012 \040\040'
5480 *) # EBCDIC based system
5481 lt_SP2NL='tr \100 \n'
5482 lt_NL2SP='tr \r\n \100\100'
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5495 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5496 if ${lt_cv_to_host_file_cmd+:} false; then :
5497 $as_echo_n "(cached) " >&6
5502 *-*-mingw* ) # actually msys
5503 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5506 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5508 * ) # otherwise, assume *nix
5509 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5515 *-*-mingw* ) # actually msys
5516 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5519 lt_cv_to_host_file_cmd=func_convert_file_noop
5521 * ) # otherwise, assume *nix
5522 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5526 * ) # unhandled hosts (and "normal" native builds)
5527 lt_cv_to_host_file_cmd=func_convert_file_noop
5533 to_host_file_cmd=$lt_cv_to_host_file_cmd
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5535 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5542 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5543 if ${lt_cv_to_tool_file_cmd+:} false; then :
5544 $as_echo_n "(cached) " >&6
5546 #assume ordinary cross tools, or native build.
5547 lt_cv_to_tool_file_cmd=func_convert_file_noop
5551 *-*-mingw* ) # actually msys
5552 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5560 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5562 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5569 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5570 if ${lt_cv_ld_reload_flag+:} false; then :
5571 $as_echo_n "(cached) " >&6
5573 lt_cv_ld_reload_flag='-r'
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5576 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5577 reload_flag=$lt_cv_ld_reload_flag
5578 case $reload_flag in
5580 *) reload_flag=" $reload_flag" ;;
5582 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5584 cygwin* | mingw* | pw32* | cegcc*)
5585 if test "$GCC" != yes; then
5590 if test "$GCC" = yes; then
5591 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5593 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5606 if test -n "$ac_tool_prefix"; then
5607 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5608 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if ${ac_cv_prog_OBJDUMP+:} false; then :
5612 $as_echo_n "(cached) " >&6
5614 if test -n "$OBJDUMP"; then
5615 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 OBJDUMP=$ac_cv_prog_OBJDUMP
5635 if test -n "$OBJDUMP"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5637 $as_echo "$OBJDUMP" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5645 if test -z "$ac_cv_prog_OBJDUMP"; then
5646 ac_ct_OBJDUMP=$OBJDUMP
5647 # Extract the first word of "objdump", so it can be a program name with args.
5648 set dummy objdump; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5652 $as_echo_n "(cached) " >&6
5654 if test -n "$ac_ct_OBJDUMP"; then
5655 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5675 if test -n "$ac_ct_OBJDUMP"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5677 $as_echo "$ac_ct_OBJDUMP" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5683 if test "x$ac_ct_OBJDUMP" = x; then
5686 case $cross_compiling:$ac_tool_warned in
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5690 ac_tool_warned=yes ;;
5692 OBJDUMP=$ac_ct_OBJDUMP
5695 OBJDUMP="$ac_cv_prog_OBJDUMP"
5698 test -z "$OBJDUMP" && OBJDUMP=objdump
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5706 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5707 if ${lt_cv_deplibs_check_method+:} false; then :
5708 $as_echo_n "(cached) " >&6
5710 lt_cv_file_magic_cmd='$MAGIC_CMD'
5711 lt_cv_file_magic_test_file=
5712 lt_cv_deplibs_check_method='unknown'
5713 # Need to set the preceding variable on all platforms that support
5714 # interlibrary dependencies.
5715 # 'none' -- dependencies not supported.
5716 # `unknown' -- same as none, but documents that we really don't know.
5717 # 'pass_all' -- all dependencies passed with no checks.
5718 # 'test_compile' -- check by making test program.
5719 # 'file_magic [[regex]]' -- check by looking for files in library path
5720 # which responds to the $file_magic_cmd with a given extended regex.
5721 # If you have `file' or equivalent on your system and you're not sure
5722 # whether `pass_all' will *always* work, you probably want this one.
5726 lt_cv_deplibs_check_method=pass_all
5730 lt_cv_deplibs_check_method=pass_all
5734 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5735 lt_cv_file_magic_cmd='/usr/bin/file -L'
5736 lt_cv_file_magic_test_file=/shlib/libc.so
5740 # func_win32_libid is a shell function defined in ltmain.sh
5741 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5742 lt_cv_file_magic_cmd='func_win32_libid'
5746 # Base MSYS/MinGW do not provide the 'file' command needed by
5747 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5748 # unless we find 'file', for example because we are cross-compiling.
5749 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5750 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5751 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5752 lt_cv_file_magic_cmd='func_win32_libid'
5754 # Keep this pattern in sync with the one in func_win32_libid.
5755 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5756 lt_cv_file_magic_cmd='$OBJDUMP -f'
5761 # use the weaker test based on 'objdump'. See mingw*.
5762 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5763 lt_cv_file_magic_cmd='$OBJDUMP -f'
5766 darwin* | rhapsody*)
5767 lt_cv_deplibs_check_method=pass_all
5770 freebsd* | dragonfly*)
5771 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5774 # Not sure whether the presence of OpenBSD here was a mistake.
5775 # Let's accept both of them until this is cleared up.
5776 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5777 lt_cv_file_magic_cmd=/usr/bin/file
5778 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5782 lt_cv_deplibs_check_method=pass_all
5787 lt_cv_deplibs_check_method=pass_all
5791 lt_cv_deplibs_check_method=pass_all
5794 hpux10.20* | hpux11*)
5795 lt_cv_file_magic_cmd=/usr/bin/file
5798 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5799 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5802 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]'
5803 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5806 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5807 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5813 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5814 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5817 irix5* | irix6* | nonstopux*)
5819 *-32|*"-32 ") libmagic=32-bit;;
5820 *-n32|*"-n32 ") libmagic=N32;;
5821 *-64|*"-64 ") libmagic=64-bit;;
5822 *) libmagic=never-match;;
5824 lt_cv_deplibs_check_method=pass_all
5827 # This must be glibc/ELF.
5828 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5829 lt_cv_deplibs_check_method=pass_all
5833 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5834 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5836 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5841 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5842 lt_cv_file_magic_cmd=/usr/bin/file
5843 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5847 lt_cv_deplibs_check_method=pass_all
5851 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5852 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5854 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5858 osf3* | osf4* | osf5*)
5859 lt_cv_deplibs_check_method=pass_all
5863 lt_cv_deplibs_check_method=pass_all
5867 lt_cv_deplibs_check_method=pass_all
5870 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5871 lt_cv_deplibs_check_method=pass_all
5875 case $host_vendor in
5877 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]'
5878 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5881 lt_cv_deplibs_check_method=pass_all
5884 lt_cv_file_magic_cmd='/bin/file'
5885 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5888 lt_cv_file_magic_cmd='/bin/file'
5889 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5890 lt_cv_file_magic_test_file=/lib/libc.so
5893 lt_cv_deplibs_check_method=pass_all
5896 lt_cv_deplibs_check_method=pass_all
5902 lt_cv_deplibs_check_method=pass_all
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5908 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5912 if test "$build" = "$host"; then
5915 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5918 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5924 file_magic_cmd=$lt_cv_file_magic_cmd
5925 deplibs_check_method=$lt_cv_deplibs_check_method
5926 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5949 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5951 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_DLLTOOL+:} false; then :
5955 $as_echo_n "(cached) " >&6
5957 if test -n "$DLLTOOL"; then
5958 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 DLLTOOL=$ac_cv_prog_DLLTOOL
5978 if test -n "$DLLTOOL"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5980 $as_echo "$DLLTOOL" >&6; }
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5988 if test -z "$ac_cv_prog_DLLTOOL"; then
5989 ac_ct_DLLTOOL=$DLLTOOL
5990 # Extract the first word of "dlltool", so it can be a program name with args.
5991 set dummy dlltool; ac_word=$2
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5993 $as_echo_n "checking for $ac_word... " >&6; }
5994 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5995 $as_echo_n "(cached) " >&6
5997 if test -n "$ac_ct_DLLTOOL"; then
5998 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 test -z "$as_dir" && as_dir=.
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6018 if test -n "$ac_ct_DLLTOOL"; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6020 $as_echo "$ac_ct_DLLTOOL" >&6; }
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023 $as_echo "no" >&6; }
6026 if test "x$ac_ct_DLLTOOL" = x; then
6029 case $cross_compiling:$ac_tool_warned in
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6033 ac_tool_warned=yes ;;
6035 DLLTOOL=$ac_ct_DLLTOOL
6038 DLLTOOL="$ac_cv_prog_DLLTOOL"
6041 test -z "$DLLTOOL" && DLLTOOL=dlltool
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6050 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6051 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6052 $as_echo_n "(cached) " >&6
6054 lt_cv_sharedlib_from_linklib_cmd='unknown'
6057 cygwin* | mingw* | pw32* | cegcc*)
6058 # two different shell functions defined in ltmain.sh
6059 # decide which to use based on capabilities of $DLLTOOL
6060 case `$DLLTOOL --help 2>&1` in
6061 *--identify-strict*)
6062 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6065 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6070 # fallback: assume linklib IS sharedlib
6071 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6077 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6078 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6079 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6088 if test -n "$ac_tool_prefix"; then
6091 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6092 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_AR+:} false; then :
6096 $as_echo_n "(cached) " >&6
6098 if test -n "$AR"; then
6099 ac_cv_prog_AR="$AR" # Let the user override the test.
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6108 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 if test -n "$AR"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6121 $as_echo "$AR" >&6; }
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6128 test -n "$AR" && break
6131 if test -z "$AR"; then
6135 # Extract the first word of "$ac_prog", so it can be a program name with args.
6136 set dummy $ac_prog; ac_word=$2
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6138 $as_echo_n "checking for $ac_word... " >&6; }
6139 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6140 $as_echo_n "(cached) " >&6
6142 if test -n "$ac_ct_AR"; then
6143 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6149 test -z "$as_dir" && as_dir=.
6150 for ac_exec_ext in '' $ac_executable_extensions; do
6151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6152 ac_cv_prog_ac_ct_AR="$ac_prog"
6153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6163 if test -n "$ac_ct_AR"; then
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6165 $as_echo "$ac_ct_AR" >&6; }
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6168 $as_echo "no" >&6; }
6172 test -n "$ac_ct_AR" && break
6175 if test "x$ac_ct_AR" = x; then
6178 case $cross_compiling:$ac_tool_warned in
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6182 ac_tool_warned=yes ;;
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6202 $as_echo_n "checking for archiver @FILE support... " >&6; }
6203 if ${lt_cv_ar_at_file+:} false; then :
6204 $as_echo_n "(cached) " >&6
6207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6218 if ac_fn_c_try_compile "$LINENO"; then :
6219 echo conftest.$ac_objext > conftest.lst
6220 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6221 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6222 (eval $lt_ar_try) 2>&5
6224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6225 test $ac_status = 0; }
6226 if test "$ac_status" -eq 0; then
6227 # Ensure the archiver fails upon bogus file names.
6228 rm -f conftest.$ac_objext libconftest.a
6229 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6230 (eval $lt_ar_try) 2>&5
6232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6233 test $ac_status = 0; }
6234 if test "$ac_status" -ne 0; then
6238 rm -f conftest.* libconftest.a
6241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6245 $as_echo "$lt_cv_ar_at_file" >&6; }
6247 if test "x$lt_cv_ar_at_file" = xno; then
6250 archiver_list_spec=$lt_cv_ar_at_file
6259 if test -n "$ac_tool_prefix"; then
6260 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6261 set dummy ${ac_tool_prefix}strip; ac_word=$2
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6263 $as_echo_n "checking for $ac_word... " >&6; }
6264 if ${ac_cv_prog_STRIP+:} false; then :
6265 $as_echo_n "(cached) " >&6
6267 if test -n "$STRIP"; then
6268 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274 test -z "$as_dir" && as_dir=.
6275 for ac_exec_ext in '' $ac_executable_extensions; do
6276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6277 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287 STRIP=$ac_cv_prog_STRIP
6288 if test -n "$STRIP"; then
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6290 $as_echo "$STRIP" >&6; }
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293 $as_echo "no" >&6; }
6298 if test -z "$ac_cv_prog_STRIP"; then
6300 # Extract the first word of "strip", so it can be a program name with args.
6301 set dummy strip; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303 $as_echo_n "checking for $ac_word... " >&6; }
6304 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6305 $as_echo_n "(cached) " >&6
6307 if test -n "$ac_ct_STRIP"; then
6308 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6317 ac_cv_prog_ac_ct_STRIP="strip"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6327 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6328 if test -n "$ac_ct_STRIP"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6330 $as_echo "$ac_ct_STRIP" >&6; }
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333 $as_echo "no" >&6; }
6336 if test "x$ac_ct_STRIP" = x; then
6339 case $cross_compiling:$ac_tool_warned in
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6343 ac_tool_warned=yes ;;
6348 STRIP="$ac_cv_prog_STRIP"
6351 test -z "$STRIP" && STRIP=:
6358 if test -n "$ac_tool_prefix"; then
6359 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6360 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6362 $as_echo_n "checking for $ac_word... " >&6; }
6363 if ${ac_cv_prog_RANLIB+:} false; then :
6364 $as_echo_n "(cached) " >&6
6366 if test -n "$RANLIB"; then
6367 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 test -z "$as_dir" && as_dir=.
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 RANLIB=$ac_cv_prog_RANLIB
6387 if test -n "$RANLIB"; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6389 $as_echo "$RANLIB" >&6; }
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392 $as_echo "no" >&6; }
6397 if test -z "$ac_cv_prog_RANLIB"; then
6398 ac_ct_RANLIB=$RANLIB
6399 # Extract the first word of "ranlib", so it can be a program name with args.
6400 set dummy ranlib; ac_word=$2
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6402 $as_echo_n "checking for $ac_word... " >&6; }
6403 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6404 $as_echo_n "(cached) " >&6
6406 if test -n "$ac_ct_RANLIB"; then
6407 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 test -z "$as_dir" && as_dir=.
6414 for ac_exec_ext in '' $ac_executable_extensions; do
6415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6416 ac_cv_prog_ac_ct_RANLIB="ranlib"
6417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6426 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6427 if test -n "$ac_ct_RANLIB"; then
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6429 $as_echo "$ac_ct_RANLIB" >&6; }
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6432 $as_echo "no" >&6; }
6435 if test "x$ac_ct_RANLIB" = x; then
6438 case $cross_compiling:$ac_tool_warned in
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6442 ac_tool_warned=yes ;;
6444 RANLIB=$ac_ct_RANLIB
6447 RANLIB="$ac_cv_prog_RANLIB"
6450 test -z "$RANLIB" && RANLIB=:
6457 # Determine commands to create old-style static archives.
6458 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6459 old_postinstall_cmds='chmod 644 $oldlib'
6460 old_postuninstall_cmds=
6462 if test -n "$RANLIB"; then
6465 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6468 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6471 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6476 lock_old_archive_extraction=yes ;;
6478 lock_old_archive_extraction=no ;;
6519 # If no C compiler was specified, use CC.
6522 # If no C compiler flags were specified, use CFLAGS.
6523 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6525 # Allow CC to be a program name with arguments.
6529 # Check for command to grab the raw symbol name followed by C symbol from nm.
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6531 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6532 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6533 $as_echo_n "(cached) " >&6
6536 # These are sane defaults that work on at least a few old systems.
6537 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6539 # Character class describing NM global symbol codes.
6540 symcode='[BCDEGRST]'
6542 # Regexp to match symbols that can be accessed directly from C.
6543 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6545 # Define system-specific variables.
6550 cygwin* | mingw* | pw32* | cegcc*)
6551 symcode='[ABCDGISTW]'
6554 if test "$host_cpu" = ia64; then
6555 symcode='[ABCDEGRST]'
6559 symcode='[BCDEGRST]'
6562 symcode='[BCDEGQRST]'
6573 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6581 # If we're using GNU nm, then use its standard symbol codes.
6582 case `$NM -V 2>&1` in
6583 *GNU* | *'with BFD'*)
6584 symcode='[ABCDGIRSTW]' ;;
6587 # Transform an extracted symbol line into a proper C declaration.
6588 # Some systems (esp. on ia64) link data and code symbols differently,
6589 # so use this general approach.
6590 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6592 # Transform an extracted symbol line into symbol name and symbol address
6593 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6594 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6596 # Handle CRLF in mingw tool chain
6600 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6604 # Try without a prefix underscore, then with it.
6605 for ac_symprfx in "" "_"; do
6607 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6608 symxfrm="\\1 $ac_symprfx\\2 \\2"
6610 # Write the raw and C identifiers.
6611 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6612 # Fake it for dumpbin and say T for any non-static function
6613 # and D for any global variable.
6614 # Also find C++ and __fastcall symbols from MSVC++,
6615 # which start with @ or ?.
6616 lt_cv_sys_global_symbol_pipe="$AWK '"\
6617 " {last_section=section; section=\$ 3};"\
6618 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6619 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6620 " \$ 0!~/External *\|/{next};"\
6621 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6622 " {if(hide[section]) next};"\
6623 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6624 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6625 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6626 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6627 " ' prfx=^$ac_symprfx"
6629 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6631 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6633 # Check to see that the pipe works correctly.
6637 cat > conftest.$ac_ext <<_LT_EOF
6642 void nm_test_func(void);
6643 void nm_test_func(void){}
6647 int main(){nm_test_var='a';nm_test_func();return(0);}
6650 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6651 (eval $ac_compile) 2>&5
6653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6654 test $ac_status = 0; }; then
6655 # Now try to grab the symbols.
6657 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6658 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6661 test $ac_status = 0; } && test -s "$nlist"; then
6662 # Try sorting and uniquifying the output.
6663 if sort "$nlist" | uniq > "$nlist"T; then
6664 mv -f "$nlist"T "$nlist"
6669 # Make sure that we snagged all the symbols we need.
6670 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6671 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6672 cat <<_LT_EOF > conftest.$ac_ext
6673 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6674 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6675 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6676 relocations are performed -- see ld's documentation on pseudo-relocs. */
6677 # define LT_DLSYM_CONST
6678 #elif defined(__osf__)
6679 /* This system does not cope well with relocations in const data. */
6680 # define LT_DLSYM_CONST
6682 # define LT_DLSYM_CONST const
6690 # Now generate the symbol file.
6691 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6693 cat <<_LT_EOF >> conftest.$ac_ext
6695 /* The mapping between symbol names and symbols. */
6696 LT_DLSYM_CONST struct {
6700 lt__PROGRAM__LTX_preloaded_symbols[] =
6702 { "@PROGRAM@", (void *) 0 },
6704 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6705 cat <<\_LT_EOF >> conftest.$ac_ext
6709 /* This works around a problem in FreeBSD linker */
6710 #ifdef FREEBSD_WORKAROUND
6711 static const void *lt_preloaded_setup() {
6712 return lt__PROGRAM__LTX_preloaded_symbols;
6720 # Now try linking the two files.
6721 mv conftest.$ac_objext conftstm.$ac_objext
6722 lt_globsym_save_LIBS=$LIBS
6723 lt_globsym_save_CFLAGS=$CFLAGS
6724 LIBS="conftstm.$ac_objext"
6725 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6726 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6727 (eval $ac_link) 2>&5
6729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6730 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6733 LIBS=$lt_globsym_save_LIBS
6734 CFLAGS=$lt_globsym_save_CFLAGS
6736 echo "cannot find nm_test_func in $nlist" >&5
6739 echo "cannot find nm_test_var in $nlist" >&5
6742 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6745 echo "$progname: failed program was:" >&5
6746 cat conftest.$ac_ext >&5
6748 rm -rf conftest* conftst*
6750 # Do not use the global_symbol_pipe unless it works.
6751 if test "$pipe_works" = yes; then
6754 lt_cv_sys_global_symbol_pipe=
6760 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6761 lt_cv_sys_global_symbol_to_cdecl=
6763 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6765 $as_echo "failed" >&6; }
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6768 $as_echo "ok" >&6; }
6771 # Response file support.
6772 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6773 nm_file_list_spec='@'
6774 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6775 nm_file_list_spec='@'
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6805 $as_echo_n "checking for sysroot... " >&6; }
6807 # Check whether --with-sysroot was given.
6808 if test "${with_sysroot+set}" = set; then :
6809 withval=$with_sysroot;
6816 case ${with_sysroot} in #(
6818 if test "$GCC" = yes; then
6819 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6823 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6829 $as_echo "${with_sysroot}" >&6; }
6830 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6835 $as_echo "${lt_sysroot:-no}" >&6; }
6841 # Check whether --enable-libtool-lock was given.
6842 if test "${enable_libtool_lock+set}" = set; then :
6843 enableval=$enable_libtool_lock;
6846 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6848 # Some flags need to be propagated to the compiler or linker for good
6852 # Find out which ABI we are using.
6853 echo 'int i;' > conftest.$ac_ext
6854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6855 (eval $ac_compile) 2>&5
6857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6858 test $ac_status = 0; }; then
6859 case `/usr/bin/file conftest.$ac_objext` in
6871 # Find out which ABI we are using.
6872 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6874 (eval $ac_compile) 2>&5
6876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6877 test $ac_status = 0; }; then
6878 if test "$lt_cv_prog_gnu_ld" = yes; then
6879 case `/usr/bin/file conftest.$ac_objext` in
6881 LD="${LD-ld} -melf32bsmip"
6884 LD="${LD-ld} -melf32bmipn32"
6887 LD="${LD-ld} -melf64bmip"
6891 case `/usr/bin/file conftest.$ac_objext` in
6907 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6908 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6909 # Find out which ABI we are using.
6910 echo 'int i;' > conftest.$ac_ext
6911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6912 (eval $ac_compile) 2>&5
6914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6915 test $ac_status = 0; }; then
6916 case `/usr/bin/file conftest.o` in
6919 x86_64-*kfreebsd*-gnu)
6920 LD="${LD-ld} -m elf_i386_fbsd"
6923 LD="${LD-ld} -m elf_i386"
6925 ppc64-*linux*|powerpc64-*linux*)
6926 LD="${LD-ld} -m elf32ppclinux"
6929 LD="${LD-ld} -m elf_s390"
6932 LD="${LD-ld} -m elf32_sparc"
6938 x86_64-*kfreebsd*-gnu)
6939 LD="${LD-ld} -m elf_x86_64_fbsd"
6942 LD="${LD-ld} -m elf_x86_64"
6944 ppc*-*linux*|powerpc*-*linux*)
6945 LD="${LD-ld} -m elf64ppc"
6947 s390*-*linux*|s390*-*tpf*)
6948 LD="${LD-ld} -m elf64_s390"
6951 LD="${LD-ld} -m elf64_sparc"
6961 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6962 SAVE_CFLAGS="$CFLAGS"
6963 CFLAGS="$CFLAGS -belf"
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6965 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6966 if ${lt_cv_cc_needs_belf+:} false; then :
6967 $as_echo_n "(cached) " >&6
6970 ac_cpp='$CPP $CPPFLAGS'
6971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6976 /* end confdefs.h. */
6986 if ac_fn_c_try_link "$LINENO"; then :
6987 lt_cv_cc_needs_belf=yes
6989 lt_cv_cc_needs_belf=no
6991 rm -f core conftest.err conftest.$ac_objext \
6992 conftest$ac_exeext conftest.$ac_ext
6994 ac_cpp='$CPP $CPPFLAGS'
6995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7001 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7002 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7003 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7004 CFLAGS="$SAVE_CFLAGS"
7008 # Find out which ABI we are using.
7009 echo 'int i;' > conftest.$ac_ext
7010 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7011 (eval $ac_compile) 2>&5
7013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7014 test $ac_status = 0; }; then
7015 case `/usr/bin/file conftest.o` in
7017 case $lt_cv_prog_gnu_ld in
7021 LD="${LD-ld} -m elf_x86_64"
7024 LD="${LD-ld} -m elf64_sparc"
7027 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7028 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7033 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7045 need_locks="$enable_libtool_lock"
7047 if test -n "$ac_tool_prefix"; then
7048 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7049 set dummy ${ac_tool_prefix}mt; ac_word=$2
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7051 $as_echo_n "checking for $ac_word... " >&6; }
7052 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7053 $as_echo_n "(cached) " >&6
7055 if test -n "$MANIFEST_TOOL"; then
7056 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062 test -z "$as_dir" && as_dir=.
7063 for ac_exec_ext in '' $ac_executable_extensions; do
7064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7065 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7076 if test -n "$MANIFEST_TOOL"; then
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7078 $as_echo "$MANIFEST_TOOL" >&6; }
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7081 $as_echo "no" >&6; }
7086 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7087 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7088 # Extract the first word of "mt", so it can be a program name with args.
7089 set dummy mt; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 $as_echo_n "checking for $ac_word... " >&6; }
7092 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7093 $as_echo_n "(cached) " >&6
7095 if test -n "$ac_ct_MANIFEST_TOOL"; then
7096 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 test -z "$as_dir" && as_dir=.
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7115 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7116 if test -n "$ac_ct_MANIFEST_TOOL"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7118 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7124 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7127 case $cross_compiling:$ac_tool_warned in
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7131 ac_tool_warned=yes ;;
7133 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7136 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7139 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7141 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7142 if ${lt_cv_path_mainfest_tool+:} false; then :
7143 $as_echo_n "(cached) " >&6
7145 lt_cv_path_mainfest_tool=no
7146 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7147 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7148 cat conftest.err >&5
7149 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7150 lt_cv_path_mainfest_tool=yes
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7155 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7156 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7166 rhapsody* | darwin*)
7167 if test -n "$ac_tool_prefix"; then
7168 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7169 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 $as_echo_n "checking for $ac_word... " >&6; }
7172 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7173 $as_echo_n "(cached) " >&6
7175 if test -n "$DSYMUTIL"; then
7176 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 test -z "$as_dir" && as_dir=.
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7185 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7196 if test -n "$DSYMUTIL"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7198 $as_echo "$DSYMUTIL" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7206 if test -z "$ac_cv_prog_DSYMUTIL"; then
7207 ac_ct_DSYMUTIL=$DSYMUTIL
7208 # Extract the first word of "dsymutil", so it can be a program name with args.
7209 set dummy dsymutil; ac_word=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211 $as_echo_n "checking for $ac_word... " >&6; }
7212 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7213 $as_echo_n "(cached) " >&6
7215 if test -n "$ac_ct_DSYMUTIL"; then
7216 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 test -z "$as_dir" && as_dir=.
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7225 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7236 if test -n "$ac_ct_DSYMUTIL"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7238 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 $as_echo "no" >&6; }
7244 if test "x$ac_ct_DSYMUTIL" = x; then
7247 case $cross_compiling:$ac_tool_warned in
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7251 ac_tool_warned=yes ;;
7253 DSYMUTIL=$ac_ct_DSYMUTIL
7256 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7259 if test -n "$ac_tool_prefix"; then
7260 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7261 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_NMEDIT+:} false; then :
7265 $as_echo_n "(cached) " >&6
7267 if test -n "$NMEDIT"; then
7268 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7277 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 NMEDIT=$ac_cv_prog_NMEDIT
7288 if test -n "$NMEDIT"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7290 $as_echo "$NMEDIT" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7298 if test -z "$ac_cv_prog_NMEDIT"; then
7299 ac_ct_NMEDIT=$NMEDIT
7300 # Extract the first word of "nmedit", so it can be a program name with args.
7301 set dummy nmedit; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7303 $as_echo_n "checking for $ac_word... " >&6; }
7304 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7305 $as_echo_n "(cached) " >&6
7307 if test -n "$ac_ct_NMEDIT"; then
7308 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 test -z "$as_dir" && as_dir=.
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7317 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7328 if test -n "$ac_ct_NMEDIT"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7330 $as_echo "$ac_ct_NMEDIT" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7333 $as_echo "no" >&6; }
7336 if test "x$ac_ct_NMEDIT" = x; then
7339 case $cross_compiling:$ac_tool_warned in
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7343 ac_tool_warned=yes ;;
7345 NMEDIT=$ac_ct_NMEDIT
7348 NMEDIT="$ac_cv_prog_NMEDIT"
7351 if test -n "$ac_tool_prefix"; then
7352 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7353 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 $as_echo_n "checking for $ac_word... " >&6; }
7356 if ${ac_cv_prog_LIPO+:} false; then :
7357 $as_echo_n "(cached) " >&6
7359 if test -n "$LIPO"; then
7360 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir=.
7367 for ac_exec_ext in '' $ac_executable_extensions; do
7368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7369 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 LIPO=$ac_cv_prog_LIPO
7380 if test -n "$LIPO"; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7382 $as_echo "$LIPO" >&6; }
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385 $as_echo "no" >&6; }
7390 if test -z "$ac_cv_prog_LIPO"; then
7392 # Extract the first word of "lipo", so it can be a program name with args.
7393 set dummy lipo; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7395 $as_echo_n "checking for $ac_word... " >&6; }
7396 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7397 $as_echo_n "(cached) " >&6
7399 if test -n "$ac_ct_LIPO"; then
7400 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 test -z "$as_dir" && as_dir=.
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7409 ac_cv_prog_ac_ct_LIPO="lipo"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7420 if test -n "$ac_ct_LIPO"; then
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7422 $as_echo "$ac_ct_LIPO" >&6; }
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 $as_echo "no" >&6; }
7428 if test "x$ac_ct_LIPO" = x; then
7431 case $cross_compiling:$ac_tool_warned in
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7435 ac_tool_warned=yes ;;
7440 LIPO="$ac_cv_prog_LIPO"
7443 if test -n "$ac_tool_prefix"; then
7444 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7445 set dummy ${ac_tool_prefix}otool; ac_word=$2
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7447 $as_echo_n "checking for $ac_word... " >&6; }
7448 if ${ac_cv_prog_OTOOL+:} false; then :
7449 $as_echo_n "(cached) " >&6
7451 if test -n "$OTOOL"; then
7452 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458 test -z "$as_dir" && as_dir=.
7459 for ac_exec_ext in '' $ac_executable_extensions; do
7460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7461 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 OTOOL=$ac_cv_prog_OTOOL
7472 if test -n "$OTOOL"; then
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7474 $as_echo "$OTOOL" >&6; }
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7477 $as_echo "no" >&6; }
7482 if test -z "$ac_cv_prog_OTOOL"; then
7484 # Extract the first word of "otool", so it can be a program name with args.
7485 set dummy otool; ac_word=$2
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7487 $as_echo_n "checking for $ac_word... " >&6; }
7488 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7489 $as_echo_n "(cached) " >&6
7491 if test -n "$ac_ct_OTOOL"; then
7492 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 test -z "$as_dir" && as_dir=.
7499 for ac_exec_ext in '' $ac_executable_extensions; do
7500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7501 ac_cv_prog_ac_ct_OTOOL="otool"
7502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7512 if test -n "$ac_ct_OTOOL"; then
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7514 $as_echo "$ac_ct_OTOOL" >&6; }
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517 $as_echo "no" >&6; }
7520 if test "x$ac_ct_OTOOL" = x; then
7523 case $cross_compiling:$ac_tool_warned in
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7527 ac_tool_warned=yes ;;
7532 OTOOL="$ac_cv_prog_OTOOL"
7535 if test -n "$ac_tool_prefix"; then
7536 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7537 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7539 $as_echo_n "checking for $ac_word... " >&6; }
7540 if ${ac_cv_prog_OTOOL64+:} false; then :
7541 $as_echo_n "(cached) " >&6
7543 if test -n "$OTOOL64"; then
7544 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7550 test -z "$as_dir" && as_dir=.
7551 for ac_exec_ext in '' $ac_executable_extensions; do
7552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7553 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 OTOOL64=$ac_cv_prog_OTOOL64
7564 if test -n "$OTOOL64"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7566 $as_echo "$OTOOL64" >&6; }
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569 $as_echo "no" >&6; }
7574 if test -z "$ac_cv_prog_OTOOL64"; then
7575 ac_ct_OTOOL64=$OTOOL64
7576 # Extract the first word of "otool64", so it can be a program name with args.
7577 set dummy otool64; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7579 $as_echo_n "checking for $ac_word... " >&6; }
7580 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7581 $as_echo_n "(cached) " >&6
7583 if test -n "$ac_ct_OTOOL64"; then
7584 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7593 ac_cv_prog_ac_ct_OTOOL64="otool64"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7604 if test -n "$ac_ct_OTOOL64"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7606 $as_echo "$ac_ct_OTOOL64" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7609 $as_echo "no" >&6; }
7612 if test "x$ac_ct_OTOOL64" = x; then
7615 case $cross_compiling:$ac_tool_warned in
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7619 ac_tool_warned=yes ;;
7621 OTOOL64=$ac_ct_OTOOL64
7624 OTOOL64="$ac_cv_prog_OTOOL64"
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7654 $as_echo_n "checking for -single_module linker flag... " >&6; }
7655 if ${lt_cv_apple_cc_single_mod+:} false; then :
7656 $as_echo_n "(cached) " >&6
7658 lt_cv_apple_cc_single_mod=no
7659 if test -z "${LT_MULTI_MODULE}"; then
7660 # By default we will add the -single_module flag. You can override
7661 # by either setting the environment variable LT_MULTI_MODULE
7662 # non-empty at configure time, or by adding -multi_module to the
7664 rm -rf libconftest.dylib*
7665 echo "int foo(void){return 1;}" > conftest.c
7666 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7667 -dynamiclib -Wl,-single_module conftest.c" >&5
7668 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7669 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7671 # If there is a non-empty error log, and "single_module"
7672 # appears in it, assume the flag caused a linker warning
7673 if test -s conftest.err && $GREP single_module conftest.err; then
7674 cat conftest.err >&5
7675 # Otherwise, if the output was created with a 0 exit code from
7676 # the compiler, it worked.
7677 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7678 lt_cv_apple_cc_single_mod=yes
7680 cat conftest.err >&5
7682 rm -rf libconftest.dylib*
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7687 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7690 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7691 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7692 $as_echo_n "(cached) " >&6
7694 lt_cv_ld_exported_symbols_list=no
7695 save_LDFLAGS=$LDFLAGS
7696 echo "_main" > conftest.sym
7697 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7699 /* end confdefs.h. */
7709 if ac_fn_c_try_link "$LINENO"; then :
7710 lt_cv_ld_exported_symbols_list=yes
7712 lt_cv_ld_exported_symbols_list=no
7714 rm -f core conftest.err conftest.$ac_objext \
7715 conftest$ac_exeext conftest.$ac_ext
7716 LDFLAGS="$save_LDFLAGS"
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7720 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7723 $as_echo_n "checking for -force_load linker flag... " >&6; }
7724 if ${lt_cv_ld_force_load+:} false; then :
7725 $as_echo_n "(cached) " >&6
7727 lt_cv_ld_force_load=no
7728 cat > conftest.c << _LT_EOF
7729 int forced_loaded() { return 2;}
7731 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7732 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7733 echo "$AR cru libconftest.a conftest.o" >&5
7734 $AR cru libconftest.a conftest.o 2>&5
7735 echo "$RANLIB libconftest.a" >&5
7736 $RANLIB libconftest.a 2>&5
7737 cat > conftest.c << _LT_EOF
7738 int main() { return 0;}
7740 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7741 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7743 if test -s conftest.err && $GREP force_load conftest.err; then
7744 cat conftest.err >&5
7745 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7746 lt_cv_ld_force_load=yes
7748 cat conftest.err >&5
7750 rm -f conftest.err libconftest.a conftest conftest.c
7751 rm -rf conftest.dSYM
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7755 $as_echo "$lt_cv_ld_force_load" >&6; }
7757 rhapsody* | darwin1.[012])
7758 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7760 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7761 darwin*) # darwin 5.x on
7762 # if running on 10.5 or later, the deployment target defaults
7763 # to the OS version, if on x86, and 10.4, the deployment
7764 # target defaults to 10.4. Don't you love it?
7765 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7766 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7767 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7769 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7771 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7775 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7776 _lt_dar_single_mod='$single_module'
7778 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7779 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7781 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7783 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7784 _lt_dsymutil='~$DSYMUTIL $lib || :'
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7793 $as_echo_n "checking for ANSI C header files... " >&6; }
7794 if ${ac_cv_header_stdc+:} false; then :
7795 $as_echo_n "(cached) " >&6
7797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7798 /* end confdefs.h. */
7812 if ac_fn_c_try_compile "$LINENO"; then :
7813 ac_cv_header_stdc=yes
7815 ac_cv_header_stdc=no
7817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7819 if test $ac_cv_header_stdc = yes; then
7820 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7822 /* end confdefs.h. */
7826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7827 $EGREP "memchr" >/dev/null 2>&1; then :
7830 ac_cv_header_stdc=no
7836 if test $ac_cv_header_stdc = yes; then
7837 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7839 /* end confdefs.h. */
7843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7844 $EGREP "free" >/dev/null 2>&1; then :
7847 ac_cv_header_stdc=no
7853 if test $ac_cv_header_stdc = yes; then
7854 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7855 if test "$cross_compiling" = yes; then :
7858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7859 /* end confdefs.h. */
7862 #if ((' ' & 0x0FF) == 0x020)
7863 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7864 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7866 # define ISLOWER(c) \
7867 (('a' <= (c) && (c) <= 'i') \
7868 || ('j' <= (c) && (c) <= 'r') \
7869 || ('s' <= (c) && (c) <= 'z'))
7870 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7873 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7878 for (i = 0; i < 256; i++)
7879 if (XOR (islower (i), ISLOWER (i))
7880 || toupper (i) != TOUPPER (i))
7885 if ac_fn_c_try_run "$LINENO"; then :
7888 ac_cv_header_stdc=no
7890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7891 conftest.$ac_objext conftest.beam conftest.$ac_ext
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7897 $as_echo "$ac_cv_header_stdc" >&6; }
7898 if test $ac_cv_header_stdc = yes; then
7900 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7904 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7905 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7906 inttypes.h stdint.h unistd.h
7908 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7909 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7911 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7912 cat >>confdefs.h <<_ACEOF
7913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7921 for ac_header in dlfcn.h
7923 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7925 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7926 cat >>confdefs.h <<_ACEOF
7927 #define HAVE_DLFCN_H 1
7940 enable_win32_dll=yes
7943 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7944 if test -n "$ac_tool_prefix"; then
7945 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7946 set dummy ${ac_tool_prefix}as; ac_word=$2
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7948 $as_echo_n "checking for $ac_word... " >&6; }
7949 if ${ac_cv_prog_AS+:} false; then :
7950 $as_echo_n "(cached) " >&6
7952 if test -n "$AS"; then
7953 ac_cv_prog_AS="$AS" # Let the user override the test.
7955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7959 test -z "$as_dir" && as_dir=.
7960 for ac_exec_ext in '' $ac_executable_extensions; do
7961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7962 ac_cv_prog_AS="${ac_tool_prefix}as"
7963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7973 if test -n "$AS"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7975 $as_echo "$AS" >&6; }
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7978 $as_echo "no" >&6; }
7983 if test -z "$ac_cv_prog_AS"; then
7985 # Extract the first word of "as", so it can be a program name with args.
7986 set dummy as; ac_word=$2
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7988 $as_echo_n "checking for $ac_word... " >&6; }
7989 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7990 $as_echo_n "(cached) " >&6
7992 if test -n "$ac_ct_AS"; then
7993 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7999 test -z "$as_dir" && as_dir=.
8000 for ac_exec_ext in '' $ac_executable_extensions; do
8001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8002 ac_cv_prog_ac_ct_AS="as"
8003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8012 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8013 if test -n "$ac_ct_AS"; then
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8015 $as_echo "$ac_ct_AS" >&6; }
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8018 $as_echo "no" >&6; }
8021 if test "x$ac_ct_AS" = x; then
8024 case $cross_compiling:$ac_tool_warned in
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8028 ac_tool_warned=yes ;;
8036 if test -n "$ac_tool_prefix"; then
8037 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8038 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8040 $as_echo_n "checking for $ac_word... " >&6; }
8041 if ${ac_cv_prog_DLLTOOL+:} false; then :
8042 $as_echo_n "(cached) " >&6
8044 if test -n "$DLLTOOL"; then
8045 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8051 test -z "$as_dir" && as_dir=.
8052 for ac_exec_ext in '' $ac_executable_extensions; do
8053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8054 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8064 DLLTOOL=$ac_cv_prog_DLLTOOL
8065 if test -n "$DLLTOOL"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8067 $as_echo "$DLLTOOL" >&6; }
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070 $as_echo "no" >&6; }
8075 if test -z "$ac_cv_prog_DLLTOOL"; then
8076 ac_ct_DLLTOOL=$DLLTOOL
8077 # Extract the first word of "dlltool", so it can be a program name with args.
8078 set dummy dlltool; ac_word=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8080 $as_echo_n "checking for $ac_word... " >&6; }
8081 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8082 $as_echo_n "(cached) " >&6
8084 if test -n "$ac_ct_DLLTOOL"; then
8085 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8091 test -z "$as_dir" && as_dir=.
8092 for ac_exec_ext in '' $ac_executable_extensions; do
8093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8094 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8104 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8105 if test -n "$ac_ct_DLLTOOL"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8107 $as_echo "$ac_ct_DLLTOOL" >&6; }
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8113 if test "x$ac_ct_DLLTOOL" = x; then
8116 case $cross_compiling:$ac_tool_warned in
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8120 ac_tool_warned=yes ;;
8122 DLLTOOL=$ac_ct_DLLTOOL
8125 DLLTOOL="$ac_cv_prog_DLLTOOL"
8128 if test -n "$ac_tool_prefix"; then
8129 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8130 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8132 $as_echo_n "checking for $ac_word... " >&6; }
8133 if ${ac_cv_prog_OBJDUMP+:} false; then :
8134 $as_echo_n "(cached) " >&6
8136 if test -n "$OBJDUMP"; then
8137 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8143 test -z "$as_dir" && as_dir=.
8144 for ac_exec_ext in '' $ac_executable_extensions; do
8145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8146 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8156 OBJDUMP=$ac_cv_prog_OBJDUMP
8157 if test -n "$OBJDUMP"; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8159 $as_echo "$OBJDUMP" >&6; }
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8162 $as_echo "no" >&6; }
8167 if test -z "$ac_cv_prog_OBJDUMP"; then
8168 ac_ct_OBJDUMP=$OBJDUMP
8169 # Extract the first word of "objdump", so it can be a program name with args.
8170 set dummy objdump; ac_word=$2
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8172 $as_echo_n "checking for $ac_word... " >&6; }
8173 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8174 $as_echo_n "(cached) " >&6
8176 if test -n "$ac_ct_OBJDUMP"; then
8177 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8183 test -z "$as_dir" && as_dir=.
8184 for ac_exec_ext in '' $ac_executable_extensions; do
8185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8186 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8196 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8197 if test -n "$ac_ct_OBJDUMP"; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8199 $as_echo "$ac_ct_OBJDUMP" >&6; }
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8202 $as_echo "no" >&6; }
8205 if test "x$ac_ct_OBJDUMP" = x; then
8208 case $cross_compiling:$ac_tool_warned in
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8212 ac_tool_warned=yes ;;
8214 OBJDUMP=$ac_ct_OBJDUMP
8217 OBJDUMP="$ac_cv_prog_OBJDUMP"
8223 test -z "$AS" && AS=as
8229 test -z "$DLLTOOL" && DLLTOOL=dlltool
8235 test -z "$OBJDUMP" && OBJDUMP=objdump
8245 # Check whether --enable-shared was given.
8246 if test "${enable_shared+set}" = set; then :
8247 enableval=$enable_shared; p=${PACKAGE-default}
8249 yes) enable_shared=yes ;;
8250 no) enable_shared=no ;;
8253 # Look at the argument we got. We use all the common list separators.
8254 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8255 for pkg in $enableval; do
8257 if test "X$pkg" = "X$p"; then
8276 # Check whether --enable-static was given.
8277 if test "${enable_static+set}" = set; then :
8278 enableval=$enable_static; p=${PACKAGE-default}
8280 yes) enable_static=yes ;;
8281 no) enable_static=no ;;
8284 # Look at the argument we got. We use all the common list separators.
8285 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8286 for pkg in $enableval; do
8288 if test "X$pkg" = "X$p"; then
8308 # Check whether --with-pic was given.
8309 if test "${with_pic+set}" = set; then :
8310 withval=$with_pic; lt_p=${PACKAGE-default}
8312 yes|no) pic_mode=$withval ;;
8315 # Look at the argument we got. We use all the common list separators.
8316 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8317 for lt_pkg in $withval; do
8319 if test "X$lt_pkg" = "X$lt_p"; then
8331 test -z "$pic_mode" && pic_mode=default
8339 # Check whether --enable-fast-install was given.
8340 if test "${enable_fast_install+set}" = set; then :
8341 enableval=$enable_fast_install; p=${PACKAGE-default}
8343 yes) enable_fast_install=yes ;;
8344 no) enable_fast_install=no ;;
8346 enable_fast_install=no
8347 # Look at the argument we got. We use all the common list separators.
8348 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8349 for pkg in $enableval; do
8351 if test "X$pkg" = "X$p"; then
8352 enable_fast_install=yes
8359 enable_fast_install=yes
8372 # This can be used to rebuild libtool when needed
8373 LIBTOOL_DEPS="$ltmain"
8375 # Always use our own libtool.
8376 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8407 test -z "$LN_S" && LN_S="ln -s"
8422 if test -n "${ZSH_VERSION+set}" ; then
8423 setopt NO_GLOB_SUBST
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8427 $as_echo_n "checking for objdir... " >&6; }
8428 if ${lt_cv_objdir+:} false; then :
8429 $as_echo_n "(cached) " >&6
8431 rm -f .libs 2>/dev/null
8432 mkdir .libs 2>/dev/null
8433 if test -d .libs; then
8436 # MS-DOS does not allow filenames that begin with a dot.
8439 rmdir .libs 2>/dev/null
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8442 $as_echo "$lt_cv_objdir" >&6; }
8443 objdir=$lt_cv_objdir
8449 cat >>confdefs.h <<_ACEOF
8450 #define LT_OBJDIR "$lt_cv_objdir/"
8458 # AIX sometimes has problems with the GCC collect2 program. For some
8459 # reason, if we set the COLLECT_NAMES environment variable, the problems
8460 # vanish in a puff of smoke.
8461 if test "X${COLLECT_NAMES+set}" != Xset; then
8463 export COLLECT_NAMES
8470 can_build_shared=yes
8472 # All known linkers require a `.a' archive for static linking (except MSVC,
8473 # which needs '.lib').
8476 with_gnu_ld="$lt_cv_prog_gnu_ld"
8479 old_CFLAGS="$CFLAGS"
8481 # Set sane defaults for various variables
8482 test -z "$CC" && CC=cc
8483 test -z "$LTCC" && LTCC=$CC
8484 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8485 test -z "$LD" && LD=ld
8486 test -z "$ac_objext" && ac_objext=o
8488 for cc_temp in $compiler""; do
8490 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8491 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8496 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8499 # Only perform the check for file, if the check method requires it
8500 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8501 case $deplibs_check_method in
8503 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8505 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8506 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8507 $as_echo_n "(cached) " >&6
8511 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8514 lt_save_MAGIC_CMD="$MAGIC_CMD"
8515 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8516 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8517 for ac_dir in $ac_dummy; do
8519 test -z "$ac_dir" && ac_dir=.
8520 if test -f $ac_dir/${ac_tool_prefix}file; then
8521 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8522 if test -n "$file_magic_test_file"; then
8523 case $deplibs_check_method in
8525 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8526 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8527 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8528 $EGREP "$file_magic_regex" > /dev/null; then
8533 *** Warning: the command libtool uses to detect shared libraries,
8534 *** $file_magic_cmd, produces output that libtool cannot recognize.
8535 *** The result is that libtool may fail to recognize shared libraries
8536 *** as such. This will affect the creation of libtool libraries that
8537 *** depend on shared libraries, but programs linked with such libtool
8538 *** libraries will work regardless of this problem. Nevertheless, you
8539 *** may want to report the problem to your system manager and/or to
8540 *** bug-libtool@gnu.org
8550 MAGIC_CMD="$lt_save_MAGIC_CMD"
8555 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8556 if test -n "$MAGIC_CMD"; then
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8558 $as_echo "$MAGIC_CMD" >&6; }
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8561 $as_echo "no" >&6; }
8568 if test -z "$lt_cv_path_MAGIC_CMD"; then
8569 if test -n "$ac_tool_prefix"; then
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8571 $as_echo_n "checking for file... " >&6; }
8572 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8573 $as_echo_n "(cached) " >&6
8577 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8580 lt_save_MAGIC_CMD="$MAGIC_CMD"
8581 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8582 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8583 for ac_dir in $ac_dummy; do
8585 test -z "$ac_dir" && ac_dir=.
8586 if test -f $ac_dir/file; then
8587 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8588 if test -n "$file_magic_test_file"; then
8589 case $deplibs_check_method in
8591 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8592 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8593 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8594 $EGREP "$file_magic_regex" > /dev/null; then
8599 *** Warning: the command libtool uses to detect shared libraries,
8600 *** $file_magic_cmd, produces output that libtool cannot recognize.
8601 *** The result is that libtool may fail to recognize shared libraries
8602 *** as such. This will affect the creation of libtool libraries that
8603 *** depend on shared libraries, but programs linked with such libtool
8604 *** libraries will work regardless of this problem. Nevertheless, you
8605 *** may want to report the problem to your system manager and/or to
8606 *** bug-libtool@gnu.org
8616 MAGIC_CMD="$lt_save_MAGIC_CMD"
8621 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8622 if test -n "$MAGIC_CMD"; then
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8624 $as_echo "$MAGIC_CMD" >&6; }
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8627 $as_echo "no" >&6; }
8640 # Use C for the default configuration in the libtool script
8644 ac_cpp='$CPP $CPPFLAGS'
8645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8650 # Source file extension for C test sources.
8653 # Object file extension for compiled C test sources.
8657 # Code to be used in simple compile tests
8658 lt_simple_compile_test_code="int some_variable = 0;"
8660 # Code to be used in simple link tests
8661 lt_simple_link_test_code='int main(){return(0);}'
8669 # If no C compiler was specified, use CC.
8672 # If no C compiler flags were specified, use CFLAGS.
8673 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8675 # Allow CC to be a program name with arguments.
8678 # Save the default compiler, since it gets overwritten when the other
8679 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8680 compiler_DEFAULT=$CC
8682 # save warnings/boilerplate of simple test code
8683 ac_outfile=conftest.$ac_objext
8684 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8685 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8686 _lt_compiler_boilerplate=`cat conftest.err`
8689 ac_outfile=conftest.$ac_objext
8690 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8691 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8692 _lt_linker_boilerplate=`cat conftest.err`
8697 ## There is no encapsulation within the following macros, do not change
8698 ## the running order or otherwise move them around unless you know exactly
8699 ## what you are doing...
8700 if test -n "$compiler"; then
8702 lt_prog_compiler_no_builtin_flag=
8704 if test "$GCC" = yes; then
8705 case $cc_basename in
8707 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8709 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8713 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8714 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8715 $as_echo_n "(cached) " >&6
8717 lt_cv_prog_compiler_rtti_exceptions=no
8718 ac_outfile=conftest.$ac_objext
8719 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8720 lt_compiler_flag="-fno-rtti -fno-exceptions"
8721 # Insert the option either (1) after the last *FLAGS variable, or
8722 # (2) before a word containing "conftest.", or (3) at the end.
8723 # Note that $ac_compile itself does not contain backslashes and begins
8724 # with a dollar sign (not a hyphen), so the echo should work correctly.
8725 # The option is referenced via a variable to avoid confusing sed.
8726 lt_compile=`echo "$ac_compile" | $SED \
8727 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8728 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8729 -e 's:$: $lt_compiler_flag:'`
8730 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8731 (eval "$lt_compile" 2>conftest.err)
8733 cat conftest.err >&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 if (exit $ac_status) && test -s "$ac_outfile"; then
8736 # The compiler can only warn and ignore the option if not recognized
8737 # So say no if there are warnings other than the usual output.
8738 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8739 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8740 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8741 lt_cv_prog_compiler_rtti_exceptions=yes
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8748 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8750 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8751 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8763 lt_prog_compiler_wl=
8764 lt_prog_compiler_pic=
8765 lt_prog_compiler_static=
8768 if test "$GCC" = yes; then
8769 lt_prog_compiler_wl='-Wl,'
8770 lt_prog_compiler_static='-static'
8774 # All AIX code is PIC.
8775 if test "$host_cpu" = ia64; then
8776 # AIX 5 now supports IA64 processor
8777 lt_prog_compiler_static='-Bstatic'
8784 # see comment about AmigaOS4 .so support
8785 lt_prog_compiler_pic='-fPIC'
8788 # FIXME: we need at least 68020 code to build shared libraries, but
8789 # adding the `-m68020' flag to GCC prevents building anything better,
8791 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8796 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8797 # PIC is the default for these OSes.
8800 mingw* | cygwin* | pw32* | os2* | cegcc*)
8801 # This hack is so that the source file can tell whether it is being
8802 # built for inclusion in a dll (and should export symbols for example).
8803 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8804 # (--disable-auto-import) libraries
8805 lt_prog_compiler_pic='-DDLL_EXPORT'
8808 darwin* | rhapsody*)
8809 # PIC is the default on this platform
8810 # Common symbols not allowed in MH_DYLIB files
8811 lt_prog_compiler_pic='-fno-common'
8815 # PIC is the default for Haiku.
8816 # The "-static" flag exists, but is broken.
8817 lt_prog_compiler_static=
8821 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8822 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8823 # sets the default TLS model and affects inlining.
8829 lt_prog_compiler_pic='-fPIC'
8835 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8836 # Instead, we relocate shared libraries at runtime.
8840 # Just because we use GCC doesn't mean we suddenly get shared libraries
8841 # on systems that don't support them.
8842 lt_prog_compiler_can_build_shared=no
8847 # QNX uses GNU C++, but need to define -shared option too, otherwise
8849 lt_prog_compiler_pic='-fPIC -shared'
8853 if test -d /usr/nec; then
8854 lt_prog_compiler_pic=-Kconform_pic
8859 lt_prog_compiler_pic='-fPIC'
8863 case $cc_basename in
8864 nvcc*) # Cuda Compiler Driver 2.2
8865 lt_prog_compiler_wl='-Xlinker '
8866 if test -n "$lt_prog_compiler_pic"; then
8867 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8872 # PORTME Check for flag to pass linker flags through the system compiler.
8875 lt_prog_compiler_wl='-Wl,'
8876 if test "$host_cpu" = ia64; then
8877 # AIX 5 now supports IA64 processor
8878 lt_prog_compiler_static='-Bstatic'
8880 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8884 mingw* | cygwin* | pw32* | os2* | cegcc*)
8885 # This hack is so that the source file can tell whether it is being
8886 # built for inclusion in a dll (and should export symbols for example).
8887 lt_prog_compiler_pic='-DDLL_EXPORT'
8890 hpux9* | hpux10* | hpux11*)
8891 lt_prog_compiler_wl='-Wl,'
8892 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8899 lt_prog_compiler_pic='+Z'
8902 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8903 lt_prog_compiler_static='${wl}-a ${wl}archive'
8906 irix5* | irix6* | nonstopux*)
8907 lt_prog_compiler_wl='-Wl,'
8908 # PIC (with -KPIC) is the default.
8909 lt_prog_compiler_static='-non_shared'
8912 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8913 case $cc_basename in
8914 # old Intel for x86_64 which still supported -KPIC.
8916 lt_prog_compiler_wl='-Wl,'
8917 lt_prog_compiler_pic='-KPIC'
8918 lt_prog_compiler_static='-static'
8920 # icc used to be incompatible with GCC.
8921 # ICC 10 doesn't accept -KPIC any more.
8923 lt_prog_compiler_wl='-Wl,'
8924 lt_prog_compiler_pic='-fPIC'
8925 lt_prog_compiler_static='-static'
8927 # Lahey Fortran 8.1.
8929 lt_prog_compiler_wl='-Wl,'
8930 lt_prog_compiler_pic='--shared'
8931 lt_prog_compiler_static='--static'
8934 # NAG Fortran compiler
8935 lt_prog_compiler_wl='-Wl,-Wl,,'
8936 lt_prog_compiler_pic='-PIC'
8937 lt_prog_compiler_static='-Bstatic'
8939 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8940 # Portland Group compilers (*not* the Pentium gcc compiler,
8941 # which looks to be a dead project)
8942 lt_prog_compiler_wl='-Wl,'
8943 lt_prog_compiler_pic='-fpic'
8944 lt_prog_compiler_static='-Bstatic'
8947 lt_prog_compiler_wl='-Wl,'
8948 # All Alpha code is PIC.
8949 lt_prog_compiler_static='-non_shared'
8951 xl* | bgxl* | bgf* | mpixl*)
8952 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8953 lt_prog_compiler_wl='-Wl,'
8954 lt_prog_compiler_pic='-qpic'
8955 lt_prog_compiler_static='-qstaticlink'
8958 case `$CC -V 2>&1 | sed 5q` in
8959 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8960 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8961 lt_prog_compiler_pic='-KPIC'
8962 lt_prog_compiler_static='-Bstatic'
8963 lt_prog_compiler_wl=''
8965 *Sun\ F* | *Sun*Fortran*)
8966 lt_prog_compiler_pic='-KPIC'
8967 lt_prog_compiler_static='-Bstatic'
8968 lt_prog_compiler_wl='-Qoption ld '
8972 lt_prog_compiler_pic='-KPIC'
8973 lt_prog_compiler_static='-Bstatic'
8974 lt_prog_compiler_wl='-Wl,'
8976 *Intel*\ [CF]*Compiler*)
8977 lt_prog_compiler_wl='-Wl,'
8978 lt_prog_compiler_pic='-fPIC'
8979 lt_prog_compiler_static='-static'
8982 lt_prog_compiler_wl='-Wl,'
8983 lt_prog_compiler_pic='-fpic'
8984 lt_prog_compiler_static='-Bstatic'
8992 lt_prog_compiler_pic='-KPIC'
8993 lt_prog_compiler_static='-Bstatic'
8997 # QNX uses GNU C++, but need to define -shared option too, otherwise
8999 lt_prog_compiler_pic='-fPIC -shared'
9002 osf3* | osf4* | osf5*)
9003 lt_prog_compiler_wl='-Wl,'
9004 # All OSF/1 code is PIC.
9005 lt_prog_compiler_static='-non_shared'
9009 lt_prog_compiler_static='-non_shared'
9013 lt_prog_compiler_pic='-KPIC'
9014 lt_prog_compiler_static='-Bstatic'
9015 case $cc_basename in
9016 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9017 lt_prog_compiler_wl='-Qoption ld ';;
9019 lt_prog_compiler_wl='-Wl,';;
9024 lt_prog_compiler_wl='-Qoption ld '
9025 lt_prog_compiler_pic='-PIC'
9026 lt_prog_compiler_static='-Bstatic'
9029 sysv4 | sysv4.2uw2* | sysv4.3*)
9030 lt_prog_compiler_wl='-Wl,'
9031 lt_prog_compiler_pic='-KPIC'
9032 lt_prog_compiler_static='-Bstatic'
9036 if test -d /usr/nec ;then
9037 lt_prog_compiler_pic='-Kconform_pic'
9038 lt_prog_compiler_static='-Bstatic'
9042 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9043 lt_prog_compiler_wl='-Wl,'
9044 lt_prog_compiler_pic='-KPIC'
9045 lt_prog_compiler_static='-Bstatic'
9049 lt_prog_compiler_wl='-Wl,'
9050 lt_prog_compiler_can_build_shared=no
9054 lt_prog_compiler_pic='-pic'
9055 lt_prog_compiler_static='-Bstatic'
9059 lt_prog_compiler_can_build_shared=no
9065 # For platforms which do not support PIC, -DPIC is meaningless:
9067 lt_prog_compiler_pic=
9070 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9075 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9076 if ${lt_cv_prog_compiler_pic+:} false; then :
9077 $as_echo_n "(cached) " >&6
9079 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9082 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9083 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9086 # Check to make sure the PIC flag actually works.
9088 if test -n "$lt_prog_compiler_pic"; then
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9090 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9091 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9092 $as_echo_n "(cached) " >&6
9094 lt_cv_prog_compiler_pic_works=no
9095 ac_outfile=conftest.$ac_objext
9096 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9097 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9098 # Insert the option either (1) after the last *FLAGS variable, or
9099 # (2) before a word containing "conftest.", or (3) at the end.
9100 # Note that $ac_compile itself does not contain backslashes and begins
9101 # with a dollar sign (not a hyphen), so the echo should work correctly.
9102 # The option is referenced via a variable to avoid confusing sed.
9103 lt_compile=`echo "$ac_compile" | $SED \
9104 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9105 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9106 -e 's:$: $lt_compiler_flag:'`
9107 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9108 (eval "$lt_compile" 2>conftest.err)
9110 cat conftest.err >&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 if (exit $ac_status) && test -s "$ac_outfile"; then
9113 # The compiler can only warn and ignore the option if not recognized
9114 # So say no if there are warnings other than the usual output.
9115 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9116 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9117 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9118 lt_cv_prog_compiler_pic_works=yes
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9125 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9127 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9128 case $lt_prog_compiler_pic in
9130 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9133 lt_prog_compiler_pic=
9134 lt_prog_compiler_can_build_shared=no
9150 # Check to make sure the static flag actually works.
9152 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9154 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9155 if ${lt_cv_prog_compiler_static_works+:} false; then :
9156 $as_echo_n "(cached) " >&6
9158 lt_cv_prog_compiler_static_works=no
9159 save_LDFLAGS="$LDFLAGS"
9160 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9161 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9162 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9163 # The linker can only warn and ignore the option if not recognized
9164 # So say no if there are warnings
9165 if test -s conftest.err; then
9166 # Append any errors to the config.log.
9167 cat conftest.err 1>&5
9168 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9169 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9170 if diff conftest.exp conftest.er2 >/dev/null; then
9171 lt_cv_prog_compiler_static_works=yes
9174 lt_cv_prog_compiler_static_works=yes
9178 LDFLAGS="$save_LDFLAGS"
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9182 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9184 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9187 lt_prog_compiler_static=
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9197 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9198 if ${lt_cv_prog_compiler_c_o+:} false; then :
9199 $as_echo_n "(cached) " >&6
9201 lt_cv_prog_compiler_c_o=no
9202 $RM -r conftest 2>/dev/null
9206 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9208 lt_compiler_flag="-o out/conftest2.$ac_objext"
9209 # Insert the option either (1) after the last *FLAGS variable, or
9210 # (2) before a word containing "conftest.", or (3) at the end.
9211 # Note that $ac_compile itself does not contain backslashes and begins
9212 # with a dollar sign (not a hyphen), so the echo should work correctly.
9213 lt_compile=`echo "$ac_compile" | $SED \
9214 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9215 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9216 -e 's:$: $lt_compiler_flag:'`
9217 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9218 (eval "$lt_compile" 2>out/conftest.err)
9220 cat out/conftest.err >&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9224 # The compiler can only warn and ignore the option if not recognized
9225 # So say no if there are warnings
9226 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9227 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9228 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9229 lt_cv_prog_compiler_c_o=yes
9234 # SGI C++ compiler will create directory out/ii_files/ for
9235 # template instantiation
9236 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9237 $RM out/* && rmdir out
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9244 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9252 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9253 if ${lt_cv_prog_compiler_c_o+:} false; then :
9254 $as_echo_n "(cached) " >&6
9256 lt_cv_prog_compiler_c_o=no
9257 $RM -r conftest 2>/dev/null
9261 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9263 lt_compiler_flag="-o out/conftest2.$ac_objext"
9264 # Insert the option either (1) after the last *FLAGS variable, or
9265 # (2) before a word containing "conftest.", or (3) at the end.
9266 # Note that $ac_compile itself does not contain backslashes and begins
9267 # with a dollar sign (not a hyphen), so the echo should work correctly.
9268 lt_compile=`echo "$ac_compile" | $SED \
9269 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9271 -e 's:$: $lt_compiler_flag:'`
9272 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9273 (eval "$lt_compile" 2>out/conftest.err)
9275 cat out/conftest.err >&5
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9279 # The compiler can only warn and ignore the option if not recognized
9280 # So say no if there are warnings
9281 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9282 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9283 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9284 lt_cv_prog_compiler_c_o=yes
9289 # SGI C++ compiler will create directory out/ii_files/ for
9290 # template instantiation
9291 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9292 $RM out/* && rmdir out
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9299 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9304 hard_links="nottested"
9305 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9306 # do not overwrite the value of need_locks provided by the user
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9308 $as_echo_n "checking if we can lock with hard links... " >&6; }
9311 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9313 ln conftest.a conftest.b 2>&5 || hard_links=no
9314 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9316 $as_echo "$hard_links" >&6; }
9317 if test "$hard_links" = no; then
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9319 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9332 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9335 allow_undefined_flag=
9336 always_export_symbols=no
9338 archive_expsym_cmds=
9339 compiler_needs_object=no
9340 enable_shared_with_static_runtimes=no
9341 export_dynamic_flag_spec=
9342 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9343 hardcode_automatic=no
9345 hardcode_direct_absolute=no
9346 hardcode_libdir_flag_spec=
9347 hardcode_libdir_separator=
9349 hardcode_shlibpath_var=unsupported
9351 link_all_deplibs=unknown
9354 old_archive_from_new_cmds=
9355 old_archive_from_expsyms_cmds=
9356 thread_safe_flag_spec=
9357 whole_archive_flag_spec=
9358 # include_expsyms should be a list of space-separated symbols to be *always*
9359 # included in the symbol list
9361 # exclude_expsyms can be an extended regexp of symbols to exclude
9362 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9363 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9364 # as well as any symbol that contains `d'.
9365 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9366 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9367 # platforms (ab)use it in PIC code, but their linkers get confused if
9368 # the symbol is explicitly referenced. Since portable code cannot
9369 # rely on this symbol name, it's probably fine to never include it in
9370 # preloaded symbol tables.
9371 # Exclude shared library initialization/finalization symbols.
9372 extract_expsyms_cmds=
9375 cygwin* | mingw* | pw32* | cegcc*)
9376 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9377 # When not using gcc, we currently assume that we are using
9378 # Microsoft Visual C++.
9379 if test "$GCC" != yes; then
9384 # we just hope/assume this is gcc and not c89 (= MSVC++)
9394 # On some targets, GNU ld is compatible enough with the native linker
9395 # that we're better off using the native interface for both.
9396 lt_use_gnu_ld_interface=no
9397 if test "$with_gnu_ld" = yes; then
9400 # The AIX port of GNU ld has always aspired to compatibility
9401 # with the native linker. However, as the warning in the GNU ld
9402 # block says, versions before 2.19.5* couldn't really create working
9403 # shared libraries, regardless of the interface used.
9404 case `$LD -v 2>&1` in
9405 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9406 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9407 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9409 lt_use_gnu_ld_interface=yes
9414 lt_use_gnu_ld_interface=yes
9419 if test "$lt_use_gnu_ld_interface" = yes; then
9420 # If archive_cmds runs LD, not CC, wlarc should be empty
9423 # Set some defaults for GNU ld with shared library support. These
9424 # are reset later if shared libraries are not supported. Putting them
9425 # here allows them to be overridden if necessary.
9426 runpath_var=LD_RUN_PATH
9427 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9428 export_dynamic_flag_spec='${wl}--export-dynamic'
9429 # ancient GNU ld didn't support --whole-archive et. al.
9430 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9431 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9433 whole_archive_flag_spec=
9435 supports_anon_versioning=no
9436 case `$LD -v 2>&1` in
9437 *GNU\ gold*) supports_anon_versioning=yes ;;
9438 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9439 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9440 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9441 *\ 2.11.*) ;; # other 2.11 versions
9442 *) supports_anon_versioning=yes ;;
9445 # See if GNU ld supports shared libraries.
9448 # On AIX/PPC, the GNU linker is very broken
9449 if test "$host_cpu" != ia64; then
9453 *** Warning: the GNU linker, at least up to release 2.19, is reported
9454 *** to be unable to reliably create shared libraries on AIX.
9455 *** Therefore, libtool is disabling shared libraries support. If you
9456 *** really care for shared libraries, you may want to install binutils
9457 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9458 *** You will then need to restart the configuration process.
9467 # see comment about AmigaOS4 .so support
9468 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9469 archive_expsym_cmds=''
9472 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)'
9473 hardcode_libdir_flag_spec='-L$libdir'
9474 hardcode_minus_L=yes
9480 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9481 allow_undefined_flag=unsupported
9482 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9483 # support --undefined. This deserves some investigation. FIXME
9484 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9490 cygwin* | mingw* | pw32* | cegcc*)
9491 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9492 # as there is no search path for DLLs.
9493 hardcode_libdir_flag_spec='-L$libdir'
9494 export_dynamic_flag_spec='${wl}--export-all-symbols'
9495 allow_undefined_flag=unsupported
9496 always_export_symbols=no
9497 enable_shared_with_static_runtimes=yes
9498 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'
9499 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9501 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9502 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9503 # If the export-symbols file already is a .def file (1st line
9504 # is EXPORTS), use it as is; otherwise, prepend...
9505 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9506 cp $export_symbols $output_objdir/$soname.def;
9508 echo EXPORTS > $output_objdir/$soname.def;
9509 cat $export_symbols >> $output_objdir/$soname.def;
9511 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9518 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9519 link_all_deplibs=yes
9524 hardcode_shlibpath_var=no
9525 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9526 export_dynamic_flag_spec='${wl}-E'
9527 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9528 # Instead, shared libraries are loaded at an image base (0x10000000 by
9529 # default) and relocated if they conflict, which is a slow very memory
9530 # consuming and fragmenting process. To avoid this, we pick a random,
9531 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9532 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9533 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9534 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'
9537 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9539 if test "$host_os" = linux-dietlibc; then
9540 case $cc_basename in
9541 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9544 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9545 && test "$tmp_diet" = no
9547 tmp_addflag=' $pic_flag'
9548 tmp_sharedflag='-shared'
9549 case $cc_basename,$host_cpu in
9550 pgcc*) # Portland Group C compiler
9551 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'
9552 tmp_addflag=' $pic_flag'
9554 pgf77* | pgf90* | pgf95* | pgfortran*)
9555 # Portland Group f77 and f90 compilers
9556 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'
9557 tmp_addflag=' $pic_flag -Mnomain' ;;
9558 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9559 tmp_addflag=' -i_dynamic' ;;
9560 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9561 tmp_addflag=' -i_dynamic -nofor_main' ;;
9562 ifc* | ifort*) # Intel Fortran compiler
9563 tmp_addflag=' -nofor_main' ;;
9564 lf95*) # Lahey Fortran 8.1
9565 whole_archive_flag_spec=
9566 tmp_sharedflag='--shared' ;;
9567 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9568 tmp_sharedflag='-qmkshrobj'
9570 nvcc*) # Cuda Compiler Driver 2.2
9571 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'
9572 compiler_needs_object=yes
9575 case `$CC -V 2>&1 | sed 5q` in
9576 *Sun\ C*) # Sun C 5.9
9577 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'
9578 compiler_needs_object=yes
9579 tmp_sharedflag='-G' ;;
9580 *Sun\ F*) # Sun Fortran 8.3
9581 tmp_sharedflag='-G' ;;
9583 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9585 if test "x$supports_anon_versioning" = xyes; then
9586 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9587 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9588 echo "local: *; };" >> $output_objdir/$libname.ver~
9589 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9592 case $cc_basename in
9593 xlf* | bgf* | bgxlf* | mpixlf*)
9594 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9595 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9596 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9597 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9598 if test "x$supports_anon_versioning" = xyes; then
9599 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9600 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9601 echo "local: *; };" >> $output_objdir/$libname.ver~
9602 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9612 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9613 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9616 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9617 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9622 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9626 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9627 *** create shared libraries on Solaris systems. Therefore, libtool
9628 *** is disabling shared libraries support. We urge you to upgrade GNU
9629 *** binutils to release 2.9.1 or newer. Another option is to modify
9630 *** your PATH or compiler configuration so that the native linker is
9631 *** used, and then restart.
9634 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9635 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9636 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9642 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9643 case `$LD -v 2>&1` in
9644 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9648 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9649 *** reliably create shared libraries on SCO systems. Therefore, libtool
9650 *** is disabling shared libraries support. We urge you to upgrade GNU
9651 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9652 *** your PATH or compiler configuration so that the native linker is
9653 *** used, and then restart.
9658 # For security reasons, it is highly recommended that you always
9659 # use absolute paths for naming shared libraries, and exclude the
9660 # DT_RUNPATH tag from executables and libraries. But doing so
9661 # requires that you compile everything twice, which is a pain.
9662 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9663 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9664 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9665 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9674 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9677 hardcode_shlibpath_var=no
9681 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9682 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9683 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9690 if test "$ld_shlibs" = no; then
9692 hardcode_libdir_flag_spec=
9693 export_dynamic_flag_spec=
9694 whole_archive_flag_spec=
9697 # PORTME fill in a description of your system's linker (not GNU ld)
9700 allow_undefined_flag=unsupported
9701 always_export_symbols=yes
9702 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'
9703 # Note: this linker hardcodes the directories in LIBPATH if there
9704 # are no directories specified by -L.
9705 hardcode_minus_L=yes
9706 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9707 # Neither direct hardcoding nor static linking is supported with a
9709 hardcode_direct=unsupported
9714 if test "$host_cpu" = ia64; then
9715 # On IA64, the linker does run time linking by default, so we don't
9716 # have to do anything special.
9717 aix_use_runtimelinking=no
9718 exp_sym_flag='-Bexport'
9721 # If we're using GNU nm, then we don't want the "-C" option.
9722 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9723 # Also, AIX nm treats weak defined symbols like other global
9724 # defined symbols, whereas GNU nm marks them as "W".
9725 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9726 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9728 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9730 aix_use_runtimelinking=no
9732 # Test if we are trying to use run time linking or normal
9733 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9734 # need to do runtime linking.
9735 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9736 for ld_flag in $LDFLAGS; do
9737 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9738 aix_use_runtimelinking=yes
9745 exp_sym_flag='-bexport'
9746 no_entry_flag='-bnoentry'
9749 # When large executables or shared objects are built, AIX ld can
9750 # have problems creating the table of contents. If linking a library
9751 # or program results in "error TOC overflow" add -mminimal-toc to
9752 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9753 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9757 hardcode_direct_absolute=yes
9758 hardcode_libdir_separator=':'
9759 link_all_deplibs=yes
9760 file_list_spec='${wl}-f,'
9762 if test "$GCC" = yes; then
9763 case $host_os in aix4.[012]|aix4.[012].*)
9764 # We only want to do this on AIX 4.2 and lower, the check
9765 # below for broken collect2 doesn't work under 4.3+
9766 collect2name=`${CC} -print-prog-name=collect2`
9767 if test -f "$collect2name" &&
9768 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9770 # We have reworked collect2
9773 # We have old collect2
9774 hardcode_direct=unsupported
9775 # It fails to find uninstalled libraries when the uninstalled
9776 # path is not listed in the libpath. Setting hardcode_minus_L
9777 # to unsupported forces relinking
9778 hardcode_minus_L=yes
9779 hardcode_libdir_flag_spec='-L$libdir'
9780 hardcode_libdir_separator=
9784 shared_flag='-shared'
9785 if test "$aix_use_runtimelinking" = yes; then
9786 shared_flag="$shared_flag "'${wl}-G'
9790 if test "$host_cpu" = ia64; then
9791 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9792 # chokes on -Wl,-G. The following line is correct:
9795 if test "$aix_use_runtimelinking" = yes; then
9796 shared_flag='${wl}-G'
9798 shared_flag='${wl}-bM:SRE'
9803 export_dynamic_flag_spec='${wl}-bexpall'
9804 # It seems that -bexpall does not export symbols beginning with
9805 # underscore (_), so it is better to generate a list of symbols to export.
9806 always_export_symbols=yes
9807 if test "$aix_use_runtimelinking" = yes; then
9808 # Warning - without using the other runtime loading flags (-brtl),
9809 # -berok will link without error, but may produce a broken library.
9810 allow_undefined_flag='-berok'
9811 # Determine the default libpath from the value encoded in an
9813 if test "${lt_cv_aix_libpath+set}" = set; then
9814 aix_libpath=$lt_cv_aix_libpath
9816 if ${lt_cv_aix_libpath_+:} false; then :
9817 $as_echo_n "(cached) " >&6
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9830 if ac_fn_c_try_link "$LINENO"; then :
9832 lt_aix_libpath_sed='
9833 /Import File Strings/,/^$/ {
9835 s/^0 *\([^ ]*\) *$/\1/
9839 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9840 # Check for a 64-bit object if we didn't find anything.
9841 if test -z "$lt_cv_aix_libpath_"; then
9842 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9845 rm -f core conftest.err conftest.$ac_objext \
9846 conftest$ac_exeext conftest.$ac_ext
9847 if test -z "$lt_cv_aix_libpath_"; then
9848 lt_cv_aix_libpath_="/usr/lib:/lib"
9853 aix_libpath=$lt_cv_aix_libpath_
9856 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9857 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9859 if test "$host_cpu" = ia64; then
9860 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9861 allow_undefined_flag="-z nodefs"
9862 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"
9864 # Determine the default libpath from the value encoded in an
9866 if test "${lt_cv_aix_libpath+set}" = set; then
9867 aix_libpath=$lt_cv_aix_libpath
9869 if ${lt_cv_aix_libpath_+:} false; then :
9870 $as_echo_n "(cached) " >&6
9872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9883 if ac_fn_c_try_link "$LINENO"; then :
9885 lt_aix_libpath_sed='
9886 /Import File Strings/,/^$/ {
9888 s/^0 *\([^ ]*\) *$/\1/
9892 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9893 # Check for a 64-bit object if we didn't find anything.
9894 if test -z "$lt_cv_aix_libpath_"; then
9895 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9898 rm -f core conftest.err conftest.$ac_objext \
9899 conftest$ac_exeext conftest.$ac_ext
9900 if test -z "$lt_cv_aix_libpath_"; then
9901 lt_cv_aix_libpath_="/usr/lib:/lib"
9906 aix_libpath=$lt_cv_aix_libpath_
9909 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9910 # Warning - without using the other run time loading flags,
9911 # -berok will link without error, but may produce a broken library.
9912 no_undefined_flag=' ${wl}-bernotok'
9913 allow_undefined_flag=' ${wl}-berok'
9914 if test "$with_gnu_ld" = yes; then
9915 # We only use this code for GNU lds that support --whole-archive.
9916 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9918 # Exported symbols can be pulled into shared objects from archives
9919 whole_archive_flag_spec='$convenience'
9921 archive_cmds_need_lc=yes
9922 # This is similar to how AIX traditionally builds its shared libraries.
9923 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9931 # see comment about AmigaOS4 .so support
9932 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9933 archive_expsym_cmds=''
9936 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)'
9937 hardcode_libdir_flag_spec='-L$libdir'
9938 hardcode_minus_L=yes
9944 export_dynamic_flag_spec=-rdynamic
9947 cygwin* | mingw* | pw32* | cegcc*)
9948 # When not using gcc, we currently assume that we are using
9949 # Microsoft Visual C++.
9950 # hardcode_libdir_flag_spec is actually meaningless, as there is
9951 # no search path for DLLs.
9952 case $cc_basename in
9955 hardcode_libdir_flag_spec=' '
9956 allow_undefined_flag=unsupported
9957 always_export_symbols=yes
9959 # Tell ltmain to make .lib files, not .a files.
9961 # Tell ltmain to make .dll files, not .so files.
9963 # FIXME: Setting linknames here is a bad hack.
9964 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9965 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9966 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9968 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9970 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9972 # The linker will not automatically build a static lib if we build a DLL.
9973 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9974 enable_shared_with_static_runtimes=yes
9975 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9976 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9978 old_postinstall_cmds='chmod 644 $oldlib'
9979 postlink_cmds='lt_outputfile="@OUTPUT@"~
9980 lt_tool_outputfile="@TOOL_OUTPUT@"~
9981 case $lt_outputfile in
9984 lt_outputfile="$lt_outputfile.exe"
9985 lt_tool_outputfile="$lt_tool_outputfile.exe"
9988 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9989 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9990 $RM "$lt_outputfile.manifest";
9994 # Assume MSVC wrapper
9995 hardcode_libdir_flag_spec=' '
9996 allow_undefined_flag=unsupported
9997 # Tell ltmain to make .lib files, not .a files.
9999 # Tell ltmain to make .dll files, not .so files.
10001 # FIXME: Setting linknames here is a bad hack.
10002 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10003 # The linker will automatically build a .lib file if we build a DLL.
10004 old_archive_from_new_cmds='true'
10005 # FIXME: Should let the user specify the lib program.
10006 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10007 enable_shared_with_static_runtimes=yes
10012 darwin* | rhapsody*)
10015 archive_cmds_need_lc=no
10017 hardcode_automatic=yes
10018 hardcode_shlibpath_var=unsupported
10019 if test "$lt_cv_ld_force_load" = "yes"; then
10020 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\"`'
10023 whole_archive_flag_spec=''
10025 link_all_deplibs=yes
10026 allow_undefined_flag="$_lt_dar_allow_undefined"
10027 case $cc_basename in
10028 ifort*) _lt_dar_can_shared=yes ;;
10029 *) _lt_dar_can_shared=$GCC ;;
10031 if test "$_lt_dar_can_shared" = "yes"; then
10032 output_verbose_link_cmd=func_echo_all
10033 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10034 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10035 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}"
10036 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}"
10045 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10046 hardcode_libdir_flag_spec='-L$libdir'
10047 hardcode_shlibpath_var=no
10050 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10051 # support. Future versions do this automatically, but an explicit c++rt0.o
10052 # does not break anything, and helps significantly (at the cost of a little
10055 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10056 hardcode_libdir_flag_spec='-R$libdir'
10057 hardcode_direct=yes
10058 hardcode_shlibpath_var=no
10061 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10063 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10064 hardcode_direct=yes
10065 hardcode_minus_L=yes
10066 hardcode_shlibpath_var=no
10069 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10070 freebsd* | dragonfly*)
10071 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10072 hardcode_libdir_flag_spec='-R$libdir'
10073 hardcode_direct=yes
10074 hardcode_shlibpath_var=no
10078 if test "$GCC" = yes; then
10079 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10081 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10083 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10084 hardcode_libdir_separator=:
10085 hardcode_direct=yes
10087 # hardcode_minus_L: Not really in the search PATH,
10088 # but as the default location of the library.
10089 hardcode_minus_L=yes
10090 export_dynamic_flag_spec='${wl}-E'
10094 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10095 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10099 if test "$with_gnu_ld" = no; then
10100 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10101 hardcode_libdir_separator=:
10102 hardcode_direct=yes
10103 hardcode_direct_absolute=yes
10104 export_dynamic_flag_spec='${wl}-E'
10105 # hardcode_minus_L: Not really in the search PATH,
10106 # but as the default location of the library.
10107 hardcode_minus_L=yes
10112 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10115 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10118 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10121 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10127 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10134 # Older versions of the 11.00 compiler do not understand -b yet
10135 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10137 $as_echo_n "checking if $CC understands -b... " >&6; }
10138 if ${lt_cv_prog_compiler__b+:} false; then :
10139 $as_echo_n "(cached) " >&6
10141 lt_cv_prog_compiler__b=no
10142 save_LDFLAGS="$LDFLAGS"
10143 LDFLAGS="$LDFLAGS -b"
10144 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10145 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10146 # The linker can only warn and ignore the option if not recognized
10147 # So say no if there are warnings
10148 if test -s conftest.err; then
10149 # Append any errors to the config.log.
10150 cat conftest.err 1>&5
10151 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10152 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10153 if diff conftest.exp conftest.er2 >/dev/null; then
10154 lt_cv_prog_compiler__b=yes
10157 lt_cv_prog_compiler__b=yes
10161 LDFLAGS="$save_LDFLAGS"
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10165 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10167 if test x"$lt_cv_prog_compiler__b" = xyes; then
10168 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10170 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10176 if test "$with_gnu_ld" = no; then
10177 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10178 hardcode_libdir_separator=:
10183 hardcode_shlibpath_var=no
10186 hardcode_direct=yes
10187 hardcode_direct_absolute=yes
10188 export_dynamic_flag_spec='${wl}-E'
10190 # hardcode_minus_L: Not really in the search PATH,
10191 # but as the default location of the library.
10192 hardcode_minus_L=yes
10198 irix5* | irix6* | nonstopux*)
10199 if test "$GCC" = yes; then
10200 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'
10201 # Try to use the -exported_symbol ld option, if it does not
10202 # work, assume that -exports_file does not work either and
10203 # implicitly export all symbols.
10204 # This should be the same for all languages, so no per-tag cache variable.
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10206 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10207 if ${lt_cv_irix_exported_symbol+:} false; then :
10208 $as_echo_n "(cached) " >&6
10210 save_LDFLAGS="$LDFLAGS"
10211 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int foo (void) { return 0; }
10216 if ac_fn_c_try_link "$LINENO"; then :
10217 lt_cv_irix_exported_symbol=yes
10219 lt_cv_irix_exported_symbol=no
10221 rm -f core conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 LDFLAGS="$save_LDFLAGS"
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10226 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10227 if test "$lt_cv_irix_exported_symbol" = yes; then
10228 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'
10231 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'
10232 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'
10234 archive_cmds_need_lc='no'
10235 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10236 hardcode_libdir_separator=:
10238 link_all_deplibs=yes
10242 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10243 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10245 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10247 hardcode_libdir_flag_spec='-R$libdir'
10248 hardcode_direct=yes
10249 hardcode_shlibpath_var=no
10253 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10254 hardcode_direct=yes
10255 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10256 hardcode_libdir_separator=:
10257 hardcode_shlibpath_var=no
10264 if test -f /usr/libexec/ld.so; then
10265 hardcode_direct=yes
10266 hardcode_shlibpath_var=no
10267 hardcode_direct_absolute=yes
10268 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10269 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10270 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10271 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10272 export_dynamic_flag_spec='${wl}-E'
10275 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10276 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10277 hardcode_libdir_flag_spec='-R$libdir'
10280 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10281 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10291 hardcode_libdir_flag_spec='-L$libdir'
10292 hardcode_minus_L=yes
10293 allow_undefined_flag=unsupported
10294 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10295 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10299 if test "$GCC" = yes; then
10300 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10301 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'
10303 allow_undefined_flag=' -expect_unresolved \*'
10304 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'
10306 archive_cmds_need_lc='no'
10307 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10308 hardcode_libdir_separator=:
10311 osf4* | osf5*) # as osf3* with the addition of -msym flag
10312 if test "$GCC" = yes; then
10313 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10314 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'
10315 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10317 allow_undefined_flag=' -expect_unresolved \*'
10318 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'
10319 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~
10320 $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'
10322 # Both c and cxx compiler support -rpath directly
10323 hardcode_libdir_flag_spec='-rpath $libdir'
10325 archive_cmds_need_lc='no'
10326 hardcode_libdir_separator=:
10330 no_undefined_flag=' -z defs'
10331 if test "$GCC" = yes; then
10333 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10334 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10335 $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'
10337 case `$CC -V 2>&1` in
10340 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10341 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10342 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10346 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10347 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10348 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10352 hardcode_libdir_flag_spec='-R$libdir'
10353 hardcode_shlibpath_var=no
10355 solaris2.[0-5] | solaris2.[0-5].*) ;;
10357 # The compiler driver will combine and reorder linker options,
10358 # but understands `-z linker_flag'. GCC discards it without `$wl',
10359 # but is careful enough not to reorder.
10360 # Supported since Solaris 2.6 (maybe 2.5.1?)
10361 if test "$GCC" = yes; then
10362 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10364 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10368 link_all_deplibs=yes
10372 if test "x$host_vendor" = xsequent; then
10373 # Use $CC to link under sequent, because it throws in some extra .o
10374 # files that make .init and .fini sections work.
10375 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10377 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10379 hardcode_libdir_flag_spec='-L$libdir'
10380 hardcode_direct=yes
10381 hardcode_minus_L=yes
10382 hardcode_shlibpath_var=no
10386 case $host_vendor in
10388 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10389 hardcode_direct=yes # is this really true???
10392 ## LD is ld it makes a PLAMLIB
10393 ## CC just makes a GrossModule.
10394 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10395 reload_cmds='$CC -r -o $output$reload_objs'
10399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10400 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10403 runpath_var='LD_RUN_PATH'
10404 hardcode_shlibpath_var=no
10408 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10409 hardcode_shlibpath_var=no
10410 export_dynamic_flag_spec='-Bexport'
10414 if test -d /usr/nec; then
10415 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10416 hardcode_shlibpath_var=no
10417 runpath_var=LD_RUN_PATH
10418 hardcode_runpath_var=yes
10423 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10424 no_undefined_flag='${wl}-z,text'
10425 archive_cmds_need_lc=no
10426 hardcode_shlibpath_var=no
10427 runpath_var='LD_RUN_PATH'
10429 if test "$GCC" = yes; then
10430 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10431 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10433 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10434 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10438 sysv5* | sco3.2v5* | sco5v6*)
10439 # Note: We can NOT use -z defs as we might desire, because we do not
10440 # link with -lc, and that would cause any symbols used from libc to
10441 # always be unresolved, which means just about no library would
10442 # ever link correctly. If we're not using GNU ld we use -z text
10443 # though, which does catch some bad symbols but isn't as heavy-handed
10445 no_undefined_flag='${wl}-z,text'
10446 allow_undefined_flag='${wl}-z,nodefs'
10447 archive_cmds_need_lc=no
10448 hardcode_shlibpath_var=no
10449 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10450 hardcode_libdir_separator=':'
10451 link_all_deplibs=yes
10452 export_dynamic_flag_spec='${wl}-Bexport'
10453 runpath_var='LD_RUN_PATH'
10455 if test "$GCC" = yes; then
10456 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10457 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10459 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10460 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10465 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10466 hardcode_libdir_flag_spec='-L$libdir'
10467 hardcode_shlibpath_var=no
10475 if test x$host_vendor = xsni; then
10477 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10478 export_dynamic_flag_spec='${wl}-Blargedynsym'
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10485 $as_echo "$ld_shlibs" >&6; }
10486 test "$ld_shlibs" = no && can_build_shared=no
10488 with_gnu_ld=$with_gnu_ld
10505 # Do we need to explicitly link libc?
10507 case "x$archive_cmds_need_lc" in
10509 # Assume -lc should be added
10510 archive_cmds_need_lc=yes
10512 if test "$enable_shared" = yes && test "$GCC" = yes; then
10513 case $archive_cmds in
10515 # FIXME: we may have to deal with multi-command sequences.
10518 # Test whether the compiler implicitly links with -lc since on some
10519 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10520 # to ld, don't add -lc before -lgcc.
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10522 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10523 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10524 $as_echo_n "(cached) " >&6
10527 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10530 (eval $ac_compile) 2>&5
10532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10533 test $ac_status = 0; } 2>conftest.err; then
10536 libobjs=conftest.$ac_objext
10538 wl=$lt_prog_compiler_wl
10539 pic_flag=$lt_prog_compiler_pic
10545 lt_save_allow_undefined_flag=$allow_undefined_flag
10546 allow_undefined_flag=
10547 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10548 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10551 test $ac_status = 0; }
10553 lt_cv_archive_cmds_need_lc=no
10555 lt_cv_archive_cmds_need_lc=yes
10557 allow_undefined_flag=$lt_save_allow_undefined_flag
10559 cat conftest.err 1>&5
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10565 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10566 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10725 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10727 if test "$GCC" = yes; then
10729 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10730 *) lt_awk_arg="/^libraries:/" ;;
10733 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10734 *) lt_sed_strip_eq="s,=/,/,g" ;;
10736 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10737 case $lt_search_path_spec in
10739 # if the path contains ";" then we assume it to be the separator
10740 # otherwise default to the standard path separator (i.e. ":") - it is
10741 # assumed that no part of a normal pathname contains ";" but that should
10742 # okay in the real world where ";" in dirpaths is itself problematic.
10743 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10746 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10749 # Ok, now we have the path, separated by spaces, we can step through it
10750 # and add multilib dir if necessary.
10751 lt_tmp_lt_search_path_spec=
10752 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10753 for lt_sys_path in $lt_search_path_spec; do
10754 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10755 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10757 test -d "$lt_sys_path" && \
10758 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10761 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10762 BEGIN {RS=" "; FS="/|\n";} {
10765 for (lt_i = NF; lt_i > 0; lt_i--) {
10766 if ($lt_i != "" && $lt_i != ".") {
10767 if ($lt_i == "..") {
10770 if (lt_count == 0) {
10771 lt_foo="/" $lt_i lt_foo;
10778 if (lt_foo != "") { lt_freq[lt_foo]++; }
10779 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10781 # AWK program above erroneously prepends '/' to C:/dos/paths
10784 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10785 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10787 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10789 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10791 library_names_spec=
10792 libname_spec='lib$name'
10796 postuninstall_cmds=
10800 shlibpath_overrides_runpath=unknown
10802 dynamic_linker="$host_os ld.so"
10803 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10804 need_lib_prefix=unknown
10805 hardcode_into_libs=no
10807 # when you set need_version to no, make sure it does not cause -set_version
10808 # flags to be left without arguments
10809 need_version=unknown
10813 version_type=linux # correct to gnu/linux during the next big refactor
10814 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10815 shlibpath_var=LIBPATH
10817 # AIX 3 has no versioning support, so we append a major version to the name.
10818 soname_spec='${libname}${release}${shared_ext}$major'
10822 version_type=linux # correct to gnu/linux during the next big refactor
10825 hardcode_into_libs=yes
10826 if test "$host_cpu" = ia64; then
10827 # AIX 5 supports IA64
10828 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10829 shlibpath_var=LD_LIBRARY_PATH
10831 # With GCC up to 2.95.x, collect2 would create an import file
10832 # for dependence libraries. The import file would start with
10833 # the line `#! .'. This would cause the generated library to
10834 # depend on `.', always an invalid library. This was fixed in
10835 # development snapshots of GCC prior to 3.0.
10837 aix4 | aix4.[01] | aix4.[01].*)
10838 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10840 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10843 can_build_shared=no
10847 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10848 # soname into executable. Probably we can add versioning support to
10849 # collect2, so additional links can be useful in future.
10850 if test "$aix_use_runtimelinking" = yes; then
10851 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10852 # instead of lib<name>.a to let people know that these are not
10853 # typical AIX shared libraries.
10854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10856 # We preserve .a as extension for shared libraries through AIX4.2
10857 # and later when we are not doing run time linking.
10858 library_names_spec='${libname}${release}.a $libname.a'
10859 soname_spec='${libname}${release}${shared_ext}$major'
10861 shlibpath_var=LIBPATH
10868 # Since July 2007 AmigaOS4 officially supports .so libraries.
10869 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 library_names_spec='$libname.ixlibrary $libname.a'
10874 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10875 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10881 library_names_spec='${libname}${shared_ext}'
10882 dynamic_linker="$host_os ld.so"
10883 shlibpath_var=LIBRARY_PATH
10887 version_type=linux # correct to gnu/linux during the next big refactor
10889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10890 soname_spec='${libname}${release}${shared_ext}$major'
10891 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10892 shlibpath_var=LD_LIBRARY_PATH
10893 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10894 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10895 # the default ld.so.conf also contains /usr/contrib/lib and
10896 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10897 # libtool to hard-code these into programs
10900 cygwin* | mingw* | pw32* | cegcc*)
10901 version_type=windows
10906 case $GCC,$cc_basename in
10909 library_names_spec='$libname.dll.a'
10910 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10911 postinstall_cmds='base_file=`basename \${file}`~
10912 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10913 dldir=$destdir/`dirname \$dlpath`~
10914 test -d \$dldir || mkdir -p \$dldir~
10915 $install_prog $dir/$dlname \$dldir/$dlname~
10916 chmod a+x \$dldir/$dlname~
10917 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10918 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10920 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10921 dlpath=$dir/\$dldll~
10923 shlibpath_overrides_runpath=yes
10927 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10928 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10930 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10933 # MinGW DLLs use traditional 'lib' prefix
10934 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10937 # pw32 DLLs use 'pw' prefix rather than 'lib'
10938 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10941 dynamic_linker='Win32 ld.exe'
10946 libname_spec='$name'
10947 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10948 library_names_spec='${libname}.dll.lib'
10952 sys_lib_search_path_spec=
10955 for lt_path in $LIB
10958 # Let DOS variable expansion print the short 8.3 style file name.
10959 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10960 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10963 # Convert to MSYS style.
10964 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10967 # Convert to unix form, then to dos form, then back to unix form
10968 # but this time dos style (no spaces!) so that the unix form looks
10969 # like /cygdrive/c/PROGRA~1:/cygdr...
10970 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10971 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10972 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10975 sys_lib_search_path_spec="$LIB"
10976 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10977 # It is most probably a Windows format PATH.
10978 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10980 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10982 # FIXME: find the short name or the path components, as spaces are
10983 # common. (e.g. "Program Files" -> "PROGRA~1")
10987 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10988 postinstall_cmds='base_file=`basename \${file}`~
10989 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10990 dldir=$destdir/`dirname \$dlpath`~
10991 test -d \$dldir || mkdir -p \$dldir~
10992 $install_prog $dir/$dlname \$dldir/$dlname'
10993 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10994 dlpath=$dir/\$dldll~
10996 shlibpath_overrides_runpath=yes
10997 dynamic_linker='Win32 link.exe'
11001 # Assume MSVC wrapper
11002 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11003 dynamic_linker='Win32 ld.exe'
11006 # FIXME: first we should search . and the directory the executable is in
11010 darwin* | rhapsody*)
11011 dynamic_linker="$host_os dyld"
11012 version_type=darwin
11015 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11016 soname_spec='${libname}${release}${major}$shared_ext'
11017 shlibpath_overrides_runpath=yes
11018 shlibpath_var=DYLD_LIBRARY_PATH
11019 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11021 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11022 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11026 version_type=linux # correct to gnu/linux during the next big refactor
11029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11030 soname_spec='${libname}${release}${shared_ext}$major'
11031 shlibpath_var=LD_LIBRARY_PATH
11034 freebsd* | dragonfly*)
11035 # DragonFly does not have aout. When/if they implement a new
11036 # versioning mechanism, adjust this.
11037 if test -x /usr/bin/objformat; then
11038 objformat=`/usr/bin/objformat`
11041 freebsd[23].*) objformat=aout ;;
11042 *) objformat=elf ;;
11045 version_type=freebsd-$objformat
11046 case $version_type in
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11053 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11057 shlibpath_var=LD_LIBRARY_PATH
11060 shlibpath_overrides_runpath=yes
11062 freebsd3.[01]* | freebsdelf3.[01]*)
11063 shlibpath_overrides_runpath=yes
11064 hardcode_into_libs=yes
11066 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11067 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11068 shlibpath_overrides_runpath=no
11069 hardcode_into_libs=yes
11071 *) # from 4.6 on, and DragonFly
11072 shlibpath_overrides_runpath=yes
11073 hardcode_into_libs=yes
11079 version_type=linux # correct to gnu/linux during the next big refactor
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11083 soname_spec='${libname}${release}${shared_ext}$major'
11084 shlibpath_var=LD_LIBRARY_PATH
11085 shlibpath_overrides_runpath=no
11086 hardcode_into_libs=yes
11090 version_type=linux # correct to gnu/linux during the next big refactor
11093 dynamic_linker="$host_os runtime_loader"
11094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11095 soname_spec='${libname}${release}${shared_ext}$major'
11096 shlibpath_var=LIBRARY_PATH
11097 shlibpath_overrides_runpath=yes
11098 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11099 hardcode_into_libs=yes
11102 hpux9* | hpux10* | hpux11*)
11103 # Give a soname corresponding to the major version so that dld.sl refuses to
11104 # link against other versions.
11111 hardcode_into_libs=yes
11112 dynamic_linker="$host_os dld.so"
11113 shlibpath_var=LD_LIBRARY_PATH
11114 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11116 soname_spec='${libname}${release}${shared_ext}$major'
11117 if test "X$HPUX_IA64_MODE" = X32; then
11118 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11120 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11122 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11126 hardcode_into_libs=yes
11127 dynamic_linker="$host_os dld.sl"
11128 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11129 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11131 soname_spec='${libname}${release}${shared_ext}$major'
11132 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11133 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11137 dynamic_linker="$host_os dld.sl"
11138 shlibpath_var=SHLIB_PATH
11139 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141 soname_spec='${libname}${release}${shared_ext}$major'
11144 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11145 postinstall_cmds='chmod 555 $lib'
11146 # or fails outright, so override atomically:
11147 install_override_mode=555
11151 version_type=linux # correct to gnu/linux during the next big refactor
11154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11155 soname_spec='${libname}${release}${shared_ext}$major'
11156 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11157 shlibpath_var=LD_LIBRARY_PATH
11158 shlibpath_overrides_runpath=no
11159 hardcode_into_libs=yes
11162 irix5* | irix6* | nonstopux*)
11164 nonstopux*) version_type=nonstopux ;;
11166 if test "$lt_cv_prog_gnu_ld" = yes; then
11167 version_type=linux # correct to gnu/linux during the next big refactor
11174 soname_spec='${libname}${release}${shared_ext}$major'
11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11177 irix5* | nonstopux*)
11178 libsuff= shlibsuff=
11181 case $LD in # libtool.m4 will add one of these switches to LD
11182 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11183 libsuff= shlibsuff= libmagic=32-bit;;
11184 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11185 libsuff=32 shlibsuff=N32 libmagic=N32;;
11186 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11187 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11188 *) libsuff= shlibsuff= libmagic=never-match;;
11192 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11193 shlibpath_overrides_runpath=no
11194 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11195 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11196 hardcode_into_libs=yes
11199 # No shared lib support for Linux oldld, aout, or coff.
11200 linux*oldld* | linux*aout* | linux*coff*)
11204 # This must be glibc/ELF.
11205 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11206 version_type=linux # correct to gnu/linux during the next big refactor
11209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11210 soname_spec='${libname}${release}${shared_ext}$major'
11211 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11212 shlibpath_var=LD_LIBRARY_PATH
11213 shlibpath_overrides_runpath=no
11215 # Some binutils ld are patched to set DT_RUNPATH
11216 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11217 $as_echo_n "(cached) " >&6
11219 lt_cv_shlibpath_overrides_runpath=no
11220 save_LDFLAGS=$LDFLAGS
11221 save_libdir=$libdir
11222 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11223 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11235 if ac_fn_c_try_link "$LINENO"; then :
11236 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11237 lt_cv_shlibpath_overrides_runpath=yes
11240 rm -f core conftest.err conftest.$ac_objext \
11241 conftest$ac_exeext conftest.$ac_ext
11242 LDFLAGS=$save_LDFLAGS
11243 libdir=$save_libdir
11247 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11249 # This implies no fast_install, which is unacceptable.
11250 # Some rework will be needed to allow for fast_install
11251 # before this can be enabled.
11252 hardcode_into_libs=yes
11254 # Append ld.so.conf contents to the search path
11255 if test -f /etc/ld.so.conf; then
11256 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' ' '`
11257 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11260 # We used to test for /lib/ld.so.1 and disable shared libraries on
11261 # powerpc, because MkLinux only supported shared libraries with the
11262 # GNU dynamic linker. Since this was broken with cross compilers,
11263 # most powerpc-linux boxes support dynamic linking these days and
11264 # people can always --disable-shared, the test was removed, and we
11265 # assume the GNU/Linux dynamic linker is in use.
11266 dynamic_linker='GNU/Linux ld.so'
11273 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11275 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11276 dynamic_linker='NetBSD (a.out) ld.so'
11278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11279 soname_spec='${libname}${release}${shared_ext}$major'
11280 dynamic_linker='NetBSD ld.elf_so'
11282 shlibpath_var=LD_LIBRARY_PATH
11283 shlibpath_overrides_runpath=yes
11284 hardcode_into_libs=yes
11288 version_type=linux # correct to gnu/linux during the next big refactor
11289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11290 shlibpath_var=LD_LIBRARY_PATH
11291 shlibpath_overrides_runpath=yes
11298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11299 soname_spec='${libname}${release}${shared_ext}$major'
11300 shlibpath_var=LD_LIBRARY_PATH
11301 shlibpath_overrides_runpath=no
11302 hardcode_into_libs=yes
11303 dynamic_linker='ldqnx.so'
11308 sys_lib_dlsearch_path_spec="/usr/lib"
11310 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11312 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11313 *) need_version=no ;;
11315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11316 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11317 shlibpath_var=LD_LIBRARY_PATH
11318 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11320 openbsd2.[89] | openbsd2.[89].*)
11321 shlibpath_overrides_runpath=no
11324 shlibpath_overrides_runpath=yes
11328 shlibpath_overrides_runpath=yes
11333 libname_spec='$name'
11336 library_names_spec='$libname${shared_ext} $libname.a'
11337 dynamic_linker='OS/2 ld.exe'
11338 shlibpath_var=LIBPATH
11341 osf3* | osf4* | osf5*)
11345 soname_spec='${libname}${release}${shared_ext}$major'
11346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 shlibpath_var=LD_LIBRARY_PATH
11348 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11349 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11357 version_type=linux # correct to gnu/linux during the next big refactor
11360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361 soname_spec='${libname}${release}${shared_ext}$major'
11362 shlibpath_var=LD_LIBRARY_PATH
11363 shlibpath_overrides_runpath=yes
11364 hardcode_into_libs=yes
11365 # ldd complains unless libraries are executable
11366 postinstall_cmds='chmod +x $lib'
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11372 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11373 shlibpath_var=LD_LIBRARY_PATH
11374 shlibpath_overrides_runpath=yes
11375 if test "$with_gnu_ld" = yes; then
11382 version_type=linux # correct to gnu/linux during the next big refactor
11383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11384 soname_spec='${libname}${release}${shared_ext}$major'
11385 shlibpath_var=LD_LIBRARY_PATH
11386 case $host_vendor in
11388 shlibpath_overrides_runpath=no
11390 runpath_var=LD_RUN_PATH
11398 shlibpath_overrides_runpath=no
11399 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11405 if test -d /usr/nec ;then
11406 version_type=linux # correct to gnu/linux during the next big refactor
11407 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11408 soname_spec='$libname${shared_ext}.$major'
11409 shlibpath_var=LD_LIBRARY_PATH
11413 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11414 version_type=freebsd-elf
11417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11418 soname_spec='${libname}${release}${shared_ext}$major'
11419 shlibpath_var=LD_LIBRARY_PATH
11420 shlibpath_overrides_runpath=yes
11421 hardcode_into_libs=yes
11422 if test "$with_gnu_ld" = yes; then
11423 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11425 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11428 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11432 sys_lib_dlsearch_path_spec='/usr/lib'
11436 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11437 version_type=linux # correct to gnu/linux during the next big refactor
11440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11441 shlibpath_var=LD_LIBRARY_PATH
11442 shlibpath_overrides_runpath=no
11443 hardcode_into_libs=yes
11447 version_type=linux # correct to gnu/linux during the next big refactor
11448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11449 soname_spec='${libname}${release}${shared_ext}$major'
11450 shlibpath_var=LD_LIBRARY_PATH
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11458 $as_echo "$dynamic_linker" >&6; }
11459 test "$dynamic_linker" = no && can_build_shared=no
11461 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11462 if test "$GCC" = yes; then
11463 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11466 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11467 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11469 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11470 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11565 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11567 if test -n "$hardcode_libdir_flag_spec" ||
11568 test -n "$runpath_var" ||
11569 test "X$hardcode_automatic" = "Xyes" ; then
11571 # We can hardcode non-existent directories.
11572 if test "$hardcode_direct" != no &&
11573 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11574 # have to relink, otherwise we might link with an installed library
11575 # when we should be linking with a yet-to-be-installed one
11576 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11577 test "$hardcode_minus_L" != no; then
11578 # Linking always hardcodes the temporary library directory.
11579 hardcode_action=relink
11581 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11582 hardcode_action=immediate
11585 # We cannot hardcode anything, or else we can only hardcode existing
11587 hardcode_action=unsupported
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11590 $as_echo "$hardcode_action" >&6; }
11592 if test "$hardcode_action" = relink ||
11593 test "$inherit_rpath" = yes; then
11594 # Fast installation is not supported
11595 enable_fast_install=no
11596 elif test "$shlibpath_overrides_runpath" = yes ||
11597 test "$enable_shared" = no; then
11598 # Fast installation is not necessary
11599 enable_fast_install=needless
11607 if test "x$enable_dlopen" != xyes; then
11608 enable_dlopen=unknown
11609 enable_dlopen_self=unknown
11610 enable_dlopen_self_static=unknown
11617 lt_cv_dlopen="load_add_on"
11619 lt_cv_dlopen_self=yes
11622 mingw* | pw32* | cegcc*)
11623 lt_cv_dlopen="LoadLibrary"
11628 lt_cv_dlopen="dlopen"
11633 # if libdl is installed we need to link against it
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11635 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11636 if ${ac_cv_lib_dl_dlopen+:} false; then :
11637 $as_echo_n "(cached) " >&6
11639 ac_check_lib_save_LIBS=$LIBS
11641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h. */
11644 /* Override any GCC internal prototype to avoid an error.
11645 Use char because int might match the return type of a GCC
11646 builtin and then its argument prototype would still apply. */
11659 if ac_fn_c_try_link "$LINENO"; then :
11660 ac_cv_lib_dl_dlopen=yes
11662 ac_cv_lib_dl_dlopen=no
11664 rm -f core conftest.err conftest.$ac_objext \
11665 conftest$ac_exeext conftest.$ac_ext
11666 LIBS=$ac_check_lib_save_LIBS
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11669 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11670 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11671 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11674 lt_cv_dlopen="dyld"
11676 lt_cv_dlopen_self=yes
11683 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11684 if test "x$ac_cv_func_shl_load" = xyes; then :
11685 lt_cv_dlopen="shl_load"
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11688 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11689 if ${ac_cv_lib_dld_shl_load+:} false; then :
11690 $as_echo_n "(cached) " >&6
11692 ac_check_lib_save_LIBS=$LIBS
11694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h. */
11697 /* Override any GCC internal prototype to avoid an error.
11698 Use char because int might match the return type of a GCC
11699 builtin and then its argument prototype would still apply. */
11707 return shl_load ();
11712 if ac_fn_c_try_link "$LINENO"; then :
11713 ac_cv_lib_dld_shl_load=yes
11715 ac_cv_lib_dld_shl_load=no
11717 rm -f core conftest.err conftest.$ac_objext \
11718 conftest$ac_exeext conftest.$ac_ext
11719 LIBS=$ac_check_lib_save_LIBS
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11722 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11723 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11724 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11726 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11727 if test "x$ac_cv_func_dlopen" = xyes; then :
11728 lt_cv_dlopen="dlopen"
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11731 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11732 if ${ac_cv_lib_dl_dlopen+:} false; then :
11733 $as_echo_n "(cached) " >&6
11735 ac_check_lib_save_LIBS=$LIBS
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11755 if ac_fn_c_try_link "$LINENO"; then :
11756 ac_cv_lib_dl_dlopen=yes
11758 ac_cv_lib_dl_dlopen=no
11760 rm -f core conftest.err conftest.$ac_objext \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_lib_save_LIBS
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11765 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11766 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11767 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11770 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11771 if ${ac_cv_lib_svld_dlopen+:} false; then :
11772 $as_echo_n "(cached) " >&6
11774 ac_check_lib_save_LIBS=$LIBS
11775 LIBS="-lsvld $LIBS"
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11779 /* Override any GCC internal prototype to avoid an error.
11780 Use char because int might match the return type of a GCC
11781 builtin and then its argument prototype would still apply. */
11794 if ac_fn_c_try_link "$LINENO"; then :
11795 ac_cv_lib_svld_dlopen=yes
11797 ac_cv_lib_svld_dlopen=no
11799 rm -f core conftest.err conftest.$ac_objext \
11800 conftest$ac_exeext conftest.$ac_ext
11801 LIBS=$ac_check_lib_save_LIBS
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11804 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11805 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11806 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11809 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11810 if ${ac_cv_lib_dld_dld_link+:} false; then :
11811 $as_echo_n "(cached) " >&6
11813 ac_check_lib_save_LIBS=$LIBS
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11828 return dld_link ();
11833 if ac_fn_c_try_link "$LINENO"; then :
11834 ac_cv_lib_dld_dld_link=yes
11836 ac_cv_lib_dld_dld_link=no
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_lib_save_LIBS
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11843 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11844 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11845 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11866 if test "x$lt_cv_dlopen" != xno; then
11872 case $lt_cv_dlopen in
11874 save_CPPFLAGS="$CPPFLAGS"
11875 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11877 save_LDFLAGS="$LDFLAGS"
11878 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11881 LIBS="$lt_cv_dlopen_libs $LIBS"
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11884 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11885 if ${lt_cv_dlopen_self+:} false; then :
11886 $as_echo_n "(cached) " >&6
11888 if test "$cross_compiling" = yes; then :
11889 lt_cv_dlopen_self=cross
11891 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11892 lt_status=$lt_dlunknown
11893 cat > conftest.$ac_ext <<_LT_EOF
11894 #line $LINENO "configure"
11895 #include "confdefs.h"
11904 # define LT_DLGLOBAL RTLD_GLOBAL
11907 # define LT_DLGLOBAL DL_GLOBAL
11909 # define LT_DLGLOBAL 0
11913 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11914 find out it does not work in some platform. */
11915 #ifndef LT_DLLAZY_OR_NOW
11917 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11920 # define LT_DLLAZY_OR_NOW DL_LAZY
11923 # define LT_DLLAZY_OR_NOW RTLD_NOW
11926 # define LT_DLLAZY_OR_NOW DL_NOW
11928 # define LT_DLLAZY_OR_NOW 0
11935 /* When -fvisbility=hidden is used, assume the code has been annotated
11936 correspondingly for the symbols needed. */
11937 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11938 int fnord () __attribute__((visibility("default")));
11941 int fnord () { return 42; }
11944 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11945 int status = $lt_dlunknown;
11949 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11952 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11953 else puts (dlerror ());
11955 /* dlclose (self); */
11963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11964 (eval $ac_link) 2>&5
11966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11967 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11968 (./conftest; exit; ) >&5 2>/dev/null
11970 case x$lt_status in
11971 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11972 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11973 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11976 # compilation failed
11977 lt_cv_dlopen_self=no
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11985 $as_echo "$lt_cv_dlopen_self" >&6; }
11987 if test "x$lt_cv_dlopen_self" = xyes; then
11988 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11990 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11991 if ${lt_cv_dlopen_self_static+:} false; then :
11992 $as_echo_n "(cached) " >&6
11994 if test "$cross_compiling" = yes; then :
11995 lt_cv_dlopen_self_static=cross
11997 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11998 lt_status=$lt_dlunknown
11999 cat > conftest.$ac_ext <<_LT_EOF
12000 #line $LINENO "configure"
12001 #include "confdefs.h"
12010 # define LT_DLGLOBAL RTLD_GLOBAL
12013 # define LT_DLGLOBAL DL_GLOBAL
12015 # define LT_DLGLOBAL 0
12019 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12020 find out it does not work in some platform. */
12021 #ifndef LT_DLLAZY_OR_NOW
12023 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12026 # define LT_DLLAZY_OR_NOW DL_LAZY
12029 # define LT_DLLAZY_OR_NOW RTLD_NOW
12032 # define LT_DLLAZY_OR_NOW DL_NOW
12034 # define LT_DLLAZY_OR_NOW 0
12041 /* When -fvisbility=hidden is used, assume the code has been annotated
12042 correspondingly for the symbols needed. */
12043 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12044 int fnord () __attribute__((visibility("default")));
12047 int fnord () { return 42; }
12050 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12051 int status = $lt_dlunknown;
12055 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12058 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12059 else puts (dlerror ());
12061 /* dlclose (self); */
12069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12070 (eval $ac_link) 2>&5
12072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12073 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12074 (./conftest; exit; ) >&5 2>/dev/null
12076 case x$lt_status in
12077 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12078 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12079 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12082 # compilation failed
12083 lt_cv_dlopen_self_static=no
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12091 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12094 CPPFLAGS="$save_CPPFLAGS"
12095 LDFLAGS="$save_LDFLAGS"
12100 case $lt_cv_dlopen_self in
12101 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12102 *) enable_dlopen_self=unknown ;;
12105 case $lt_cv_dlopen_self_static in
12106 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12107 *) enable_dlopen_self_static=unknown ;;
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12130 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12131 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12132 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12133 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12135 $as_echo "yes" >&6; }
12137 # FIXME - insert some real tests, host_os isn't really good enough
12140 if test -n "$STRIP" ; then
12141 striplib="$STRIP -x"
12142 old_striplib="$STRIP -S"
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12144 $as_echo "yes" >&6; }
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12147 $as_echo "no" >&6; }
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12152 $as_echo "no" >&6; }
12168 # Report which library types will actually be built
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12170 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12172 $as_echo "$can_build_shared" >&6; }
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12175 $as_echo_n "checking whether to build shared libraries... " >&6; }
12176 test "$can_build_shared" = "no" && enable_shared=no
12178 # On AIX, shared libraries and static libraries use the same namespace, and
12179 # are all built from PIC.
12182 test "$enable_shared" = yes && enable_static=no
12183 if test -n "$RANLIB"; then
12184 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12185 postinstall_cmds='$RANLIB $lib'
12190 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12191 test "$enable_shared" = yes && enable_static=no
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12196 $as_echo "$enable_shared" >&6; }
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12199 $as_echo_n "checking whether to build static libraries... " >&6; }
12200 # Make sure either enable_shared or enable_static is yes.
12201 test "$enable_shared" = yes || enable_static=yes
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12203 $as_echo "$enable_static" >&6; }
12210 ac_cpp='$CPP $CPPFLAGS'
12211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12231 ac_config_commands="$ac_config_commands libtool"
12236 # Only expand once:
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
12241 $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
12242 if ${libltdl_cv_shlibext+:} false; then :
12243 $as_echo_n "(cached) " >&6
12247 eval libltdl_cv_shlibext=$shrext_cmds
12249 eval libltdl_cv_shrext=$shrext_cmds
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
12253 $as_echo "$libltdl_cv_shlibext" >&6; }
12254 if test -n "$libltdl_cv_shlibext"; then
12256 cat >>confdefs.h <<_ACEOF
12257 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
12261 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12263 cat >>confdefs.h <<_ACEOF
12264 #define LT_SHARED_EXT "$libltdl_cv_shrext"
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
12270 $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
12271 if ${lt_cv_module_path_var+:} false; then :
12272 $as_echo_n "(cached) " >&6
12274 lt_cv_module_path_var="$shlibpath_var"
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12277 $as_echo "$lt_cv_module_path_var" >&6; }
12278 if test -n "$lt_cv_module_path_var"; then
12280 cat >>confdefs.h <<_ACEOF
12281 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12287 $as_echo_n "checking for the default library search path... " >&6; }
12288 if ${lt_cv_sys_dlsearch_path+:} false; then :
12289 $as_echo_n "(cached) " >&6
12291 lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12294 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
12295 if test -n "$lt_cv_sys_dlsearch_path"; then
12297 for dir in $lt_cv_sys_dlsearch_path; do
12298 if test -z "$sys_dlsearch_path"; then
12299 sys_dlsearch_path="$dir"
12301 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
12305 cat >>confdefs.h <<_ACEOF
12306 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
12316 ac_cpp='$CPP $CPPFLAGS'
12317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12324 $as_echo_n "checking for library containing dlopen... " >&6; }
12325 if ${ac_cv_search_dlopen+:} false; then :
12326 $as_echo_n "(cached) " >&6
12328 ac_func_search_save_LIBS=$LIBS
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12347 for ac_lib in '' dl; do
12348 if test -z "$ac_lib"; then
12349 ac_res="none required"
12352 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12354 if ac_fn_c_try_link "$LINENO"; then :
12355 ac_cv_search_dlopen=$ac_res
12357 rm -f core conftest.err conftest.$ac_objext \
12359 if ${ac_cv_search_dlopen+:} false; then :
12363 if ${ac_cv_search_dlopen+:} false; then :
12366 ac_cv_search_dlopen=no
12368 rm conftest.$ac_ext
12369 LIBS=$ac_func_search_save_LIBS
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12372 $as_echo "$ac_cv_search_dlopen" >&6; }
12373 ac_res=$ac_cv_search_dlopen
12374 if test "$ac_res" != no; then :
12375 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12377 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12379 if test "$ac_cv_search_dlopen" != "none required" ; then
12380 LIBADD_DLOPEN="-ldl"
12382 libltdl_cv_lib_dl_dlopen="yes"
12383 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 # include <dlfcn.h>
12399 if ac_fn_c_try_link "$LINENO"; then :
12401 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12403 libltdl_cv_func_dlopen="yes"
12404 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12407 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12408 if ${ac_cv_lib_svld_dlopen+:} false; then :
12409 $as_echo_n "(cached) " >&6
12411 ac_check_lib_save_LIBS=$LIBS
12412 LIBS="-lsvld $LIBS"
12413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12416 /* Override any GCC internal prototype to avoid an error.
12417 Use char because int might match the return type of a GCC
12418 builtin and then its argument prototype would still apply. */
12431 if ac_fn_c_try_link "$LINENO"; then :
12432 ac_cv_lib_svld_dlopen=yes
12434 ac_cv_lib_svld_dlopen=no
12436 rm -f core conftest.err conftest.$ac_objext \
12437 conftest$ac_exeext conftest.$ac_ext
12438 LIBS=$ac_check_lib_save_LIBS
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12441 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12442 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12444 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12446 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
12447 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12451 rm -f core conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12455 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
12457 lt_save_LIBS="$LIBS"
12458 LIBS="$LIBS $LIBADD_DLOPEN"
12459 for ac_func in dlerror
12461 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12462 if test "x$ac_cv_func_dlerror" = xyes; then :
12463 cat >>confdefs.h <<_ACEOF
12464 #define HAVE_DLERROR 1
12470 LIBS="$lt_save_LIBS"
12475 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12476 if test "x$ac_cv_func_shl_load" = xyes; then :
12478 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12480 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12483 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12484 if ${ac_cv_lib_dld_shl_load+:} false; then :
12485 $as_echo_n "(cached) " >&6
12487 ac_check_lib_save_LIBS=$LIBS
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12492 /* Override any GCC internal prototype to avoid an error.
12493 Use char because int might match the return type of a GCC
12494 builtin and then its argument prototype would still apply. */
12502 return shl_load ();
12507 if ac_fn_c_try_link "$LINENO"; then :
12508 ac_cv_lib_dld_shl_load=yes
12510 ac_cv_lib_dld_shl_load=no
12512 rm -f core conftest.err conftest.$ac_objext \
12513 conftest$ac_exeext conftest.$ac_ext
12514 LIBS=$ac_check_lib_save_LIBS
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12517 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12518 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12520 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12522 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12523 LIBADD_SHL_LOAD="-ldld"
12532 # We only want this for pre-Mac OS X 10.4.
12533 ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12534 if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12536 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12538 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12543 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12545 cygwin* | mingw* | os2* | pw32*)
12546 ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12548 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12554 cat >>confdefs.h <<_ACEOF
12555 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
12558 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12563 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12564 if ${ac_cv_lib_dld_dld_link+:} false; then :
12565 $as_echo_n "(cached) " >&6
12567 ac_check_lib_save_LIBS=$LIBS
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 /* Override any GCC internal prototype to avoid an error.
12573 Use char because int might match the return type of a GCC
12574 builtin and then its argument prototype would still apply. */
12582 return dld_link ();
12587 if ac_fn_c_try_link "$LINENO"; then :
12588 ac_cv_lib_dld_dld_link=yes
12590 ac_cv_lib_dld_dld_link=no
12592 rm -f core conftest.err conftest.$ac_objext \
12593 conftest$ac_exeext conftest.$ac_ext
12594 LIBS=$ac_check_lib_save_LIBS
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12597 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12598 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12600 $as_echo "#define HAVE_DLD 1" >>confdefs.h
12602 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12609 if test -n "$LT_DLLOADERS"
12611 for lt_loader in $LT_DLLOADERS; do
12612 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
12615 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
12620 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12624 ac_cpp='$CPP $CPPFLAGS'
12625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12631 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12632 if ${lt_cv_sys_symbol_underscore+:} false; then :
12633 $as_echo_n "(cached) " >&6
12635 lt_cv_sys_symbol_underscore=no
12636 cat > conftest.$ac_ext <<_LT_EOF
12637 void nm_test_func(){}
12638 int main(){nm_test_func;return 0;}
12640 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12641 (eval $ac_compile) 2>&5
12643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12644 test $ac_status = 0; }; then
12645 # Now try to grab the symbols.
12646 ac_nlist=conftest.nm
12647 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
12648 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
12650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12651 test $ac_status = 0; } && test -s "$ac_nlist"; then
12652 # See whether the symbols have a leading underscore.
12653 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
12654 lt_cv_sys_symbol_underscore=yes
12656 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
12659 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12663 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12666 echo "configure: failed program was:" >&5
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
12673 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12674 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12677 if test x"$lt_cv_sys_symbol_underscore" = xyes; then
12678 if test x"$libltdl_cv_func_dlopen" = xyes ||
12679 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12681 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12682 if ${libltdl_cv_need_uscore+:} false; then :
12683 $as_echo_n "(cached) " >&6
12685 libltdl_cv_need_uscore=unknown
12687 LIBS="$LIBS $LIBADD_DLOPEN"
12688 if test "$cross_compiling" = yes; then :
12689 libltdl_cv_need_uscore=cross
12691 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12692 lt_status=$lt_dlunknown
12693 cat > conftest.$ac_ext <<_LT_EOF
12694 #line $LINENO "configure"
12695 #include "confdefs.h"
12704 # define LT_DLGLOBAL RTLD_GLOBAL
12707 # define LT_DLGLOBAL DL_GLOBAL
12709 # define LT_DLGLOBAL 0
12713 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12714 find out it does not work in some platform. */
12715 #ifndef LT_DLLAZY_OR_NOW
12717 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12720 # define LT_DLLAZY_OR_NOW DL_LAZY
12723 # define LT_DLLAZY_OR_NOW RTLD_NOW
12726 # define LT_DLLAZY_OR_NOW DL_NOW
12728 # define LT_DLLAZY_OR_NOW 0
12735 /* When -fvisbility=hidden is used, assume the code has been annotated
12736 correspondingly for the symbols needed. */
12737 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12738 int fnord () __attribute__((visibility("default")));
12741 int fnord () { return 42; }
12744 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12745 int status = $lt_dlunknown;
12749 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12752 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12753 else puts (dlerror ());
12755 /* dlclose (self); */
12763 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12764 (eval $ac_link) 2>&5
12766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12767 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12768 (./conftest; exit; ) >&5 2>/dev/null
12770 case x$lt_status in
12771 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
12772 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
12773 x$lt_dlunknown|x*) ;;
12776 # compilation failed
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
12786 $as_echo "$libltdl_cv_need_uscore" >&6; }
12790 if test x"$libltdl_cv_need_uscore" = xyes; then
12792 $as_echo "#define NEED_USCORE 1" >>confdefs.h
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12797 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12798 if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12799 $as_echo_n "(cached) " >&6
12801 # PORTME does your system automatically load deplibs for dlopen?
12802 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12803 # For now, we just catch OSes we know something about -- in the
12804 # future, we'll try test this programmatically.
12805 lt_cv_sys_dlopen_deplibs=unknown
12807 aix3*|aix4.1.*|aix4.2.*)
12808 # Unknown whether this is true for these versions of AIX, but
12809 # we want this `case' here to explicitly catch those versions.
12810 lt_cv_sys_dlopen_deplibs=unknown
12813 lt_cv_sys_dlopen_deplibs=yes
12818 lt_cv_sys_dlopen_deplibs=no
12823 # Assuming the user has installed a libdl from somewhere, this is true
12824 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12825 lt_cv_sys_dlopen_deplibs=yes
12827 freebsd* | dragonfly*)
12828 lt_cv_sys_dlopen_deplibs=yes
12830 gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12831 # GNU and its variants, using gnu ld.so (Glibc)
12832 lt_cv_sys_dlopen_deplibs=yes
12835 lt_cv_sys_dlopen_deplibs=yes
12838 lt_cv_sys_dlopen_deplibs=yes
12840 irix[12345]*|irix6.[01]*)
12841 # Catch all versions of IRIX before 6.2, and indicate that we don't
12842 # know how it worked for any of those versions.
12843 lt_cv_sys_dlopen_deplibs=unknown
12846 # The case above catches anything before 6.2, and it's known that
12847 # at 6.2 and later dlopen does load deplibs.
12848 lt_cv_sys_dlopen_deplibs=yes
12851 lt_cv_sys_dlopen_deplibs=yes
12854 lt_cv_sys_dlopen_deplibs=yes
12857 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12858 # it did *not* use an RPATH in a shared library to find objects the
12859 # library depends on, so we explicitly say `no'.
12860 lt_cv_sys_dlopen_deplibs=no
12862 osf5.0|osf5.0a|osf5.1)
12863 # dlopen *does* load deplibs and with the right loader patch applied
12864 # it even uses RPATH in a shared library to search for shared objects
12865 # that the library depends on, but there's no easy way to know if that
12866 # patch is installed. Since this is the case, all we can really
12867 # say is unknown -- it depends on the patch being installed. If
12868 # it is, this changes to `yes'. Without it, it would be `no'.
12869 lt_cv_sys_dlopen_deplibs=unknown
12872 # the two cases above should catch all versions of osf <= 5.1. Read
12873 # the comments above for what we know about them.
12874 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12875 # is used to find them so we can finally say `yes'.
12876 lt_cv_sys_dlopen_deplibs=yes
12879 lt_cv_sys_dlopen_deplibs=yes
12882 lt_cv_sys_dlopen_deplibs=yes
12884 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12885 libltdl_cv_sys_dlopen_deplibs=yes
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
12891 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12892 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12894 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
12900 for ac_header in argz.h
12902 ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12904 if test "x$ac_cv_header_argz_h" = xyes; then :
12905 cat >>confdefs.h <<_ACEOF
12906 #define HAVE_ARGZ_H 1
12914 ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
12918 if test "x$ac_cv_type_error_t" = xyes; then :
12920 cat >>confdefs.h <<_ACEOF
12921 #define HAVE_ERROR_T 1
12927 $as_echo "#define error_t int" >>confdefs.h
12930 $as_echo "#define __error_t_defined 1" >>confdefs.h
12936 for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
12937 argz_next argz_stringify
12939 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12940 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12941 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12942 cat >>confdefs.h <<_ACEOF
12943 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12947 ARGZ_H=argz.h; case " $LIBOBJS " in
12948 *" argz.$ac_objext "* ) ;;
12949 *) LIBOBJS="$LIBOBJS argz.$ac_objext"
12957 if test -z "$ARGZ_H"; then :
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12959 $as_echo_n "checking if argz actually works... " >&6; }
12960 if ${lt_cv_sys_argz_works+:} false; then :
12961 $as_echo_n "(cached) " >&6
12963 case $host_os in #(
12965 lt_cv_sys_argz_works=no
12966 if test "$cross_compiling" != no; then
12967 lt_cv_sys_argz_works="guessing no"
12969 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
12972 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
12977 if test "$lt_os_major" -gt 1 \
12978 || { test "$lt_os_major" -eq 1 \
12979 && { test "$lt_os_minor" -gt 5 \
12980 || { test "$lt_os_minor" -eq 5 \
12981 && test "$lt_os_micro" -gt 24; }; }; }; then
12982 lt_cv_sys_argz_works=yes
12986 *) lt_cv_sys_argz_works=yes ;;
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12990 $as_echo "$lt_cv_sys_argz_works" >&6; }
12991 if test "$lt_cv_sys_argz_works" = yes; then :
12993 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12997 case " $LIBOBJS " in
12998 *" argz.$ac_objext "* ) ;;
12999 *) LIBOBJS="$LIBOBJS argz.$ac_objext"
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
13009 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
13010 if ${libltdl_cv_preloaded_symbols+:} false; then :
13011 $as_echo_n "(cached) " >&6
13013 if test -n "$lt_cv_sys_global_symbol_pipe"; then
13014 libltdl_cv_preloaded_symbols=yes
13016 libltdl_cv_preloaded_symbols=no
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
13021 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
13022 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
13024 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
13030 # Check whether --enable-ltdl-install was given.
13031 if test "${enable_ltdl_install+set}" = set; then :
13032 enableval=$enable_ltdl_install;
13036 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13038 *) enable_ltdl_convenience=yes ;;
13041 if test x"${enable_ltdl_install-no}" != xno; then
13043 INSTALL_LTDL_FALSE='#'
13045 INSTALL_LTDL_TRUE='#'
13046 INSTALL_LTDL_FALSE=
13049 if test x"${enable_ltdl_convenience-no}" != xno; then
13050 CONVENIENCE_LTDL_TRUE=
13051 CONVENIENCE_LTDL_FALSE='#'
13053 CONVENIENCE_LTDL_TRUE='#'
13054 CONVENIENCE_LTDL_FALSE=
13062 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
13063 # the user used. This is so that ltdl.h can pick up the parent projects
13064 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
13065 # definitions required by ltdl.c.
13066 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
13070 for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
13072 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13073 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13075 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13076 cat >>confdefs.h <<_ACEOF
13077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13085 for ac_func in closedir opendir readdir
13087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13089 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13090 cat >>confdefs.h <<_ACEOF
13091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13095 case " $LIBOBJS " in
13096 *" lt__dirent.$ac_objext "* ) ;;
13097 *) LIBOBJS="$LIBOBJS lt__dirent.$ac_objext"
13104 for ac_func in strlcat strlcpy
13106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13109 cat >>confdefs.h <<_ACEOF
13110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13114 case " $LIBOBJS " in
13115 *" lt__strl.$ac_objext "* ) ;;
13116 *) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
13125 cat >>confdefs.h <<_ACEOF
13126 #define LT_LIBEXT "$libext"
13131 eval "lt_libprefix=\"$libname_spec\""
13133 cat >>confdefs.h <<_ACEOF
13134 #define LT_LIBPREFIX "$lt_libprefix"
13139 eval "LTDLOPEN=\"$libname_spec\""
13143 # Enable all the language support we can
13145 ac_cpp='$CXXCPP $CPPFLAGS'
13146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13149 if test -z "$CXX"; then
13150 if test -n "$CCC"; then
13153 if test -n "$ac_tool_prefix"; then
13154 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13159 $as_echo_n "checking for $ac_word... " >&6; }
13160 if ${ac_cv_prog_CXX+:} false; then :
13161 $as_echo_n "(cached) " >&6
13163 if test -n "$CXX"; then
13164 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13167 for as_dir in $PATH
13170 test -z "$as_dir" && as_dir=.
13171 for ac_exec_ext in '' $ac_executable_extensions; do
13172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13173 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13183 CXX=$ac_cv_prog_CXX
13184 if test -n "$CXX"; then
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13186 $as_echo "$CXX" >&6; }
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13189 $as_echo "no" >&6; }
13193 test -n "$CXX" && break
13196 if test -z "$CXX"; then
13198 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13200 # Extract the first word of "$ac_prog", so it can be a program name with args.
13201 set dummy $ac_prog; ac_word=$2
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13203 $as_echo_n "checking for $ac_word... " >&6; }
13204 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13205 $as_echo_n "(cached) " >&6
13207 if test -n "$ac_ct_CXX"; then
13208 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13211 for as_dir in $PATH
13214 test -z "$as_dir" && as_dir=.
13215 for ac_exec_ext in '' $ac_executable_extensions; do
13216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13217 ac_cv_prog_ac_ct_CXX="$ac_prog"
13218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13227 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13228 if test -n "$ac_ct_CXX"; then
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13230 $as_echo "$ac_ct_CXX" >&6; }
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13233 $as_echo "no" >&6; }
13237 test -n "$ac_ct_CXX" && break
13240 if test "x$ac_ct_CXX" = x; then
13243 case $cross_compiling:$ac_tool_warned in
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13247 ac_tool_warned=yes ;;
13255 # Provide some information about the compiler.
13256 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13259 for ac_option in --version -v -V -qversion; do
13260 { { ac_try="$ac_compiler $ac_option >&5"
13261 case "(($ac_try" in
13262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13263 *) ac_try_echo=$ac_try;;
13265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13266 $as_echo "$ac_try_echo"; } >&5
13267 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13269 if test -s conftest.err; then
13271 ... rest of stderr output deleted ...
13272 10q' conftest.err >conftest.er1
13273 cat conftest.er1 >&5
13275 rm -f conftest.er1 conftest.err
13276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13277 test $ac_status = 0; }
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13281 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13282 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13283 $as_echo_n "(cached) " >&6
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13299 if ac_fn_cxx_try_compile "$LINENO"; then :
13300 ac_compiler_gnu=yes
13304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13305 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13309 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13310 if test $ac_compiler_gnu = yes; then
13315 ac_test_CXXFLAGS=${CXXFLAGS+set}
13316 ac_save_CXXFLAGS=$CXXFLAGS
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13318 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13319 if ${ac_cv_prog_cxx_g+:} false; then :
13320 $as_echo_n "(cached) " >&6
13322 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13323 ac_cxx_werror_flag=yes
13324 ac_cv_prog_cxx_g=no
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13337 if ac_fn_cxx_try_compile "$LINENO"; then :
13338 ac_cv_prog_cxx_g=yes
13341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342 /* end confdefs.h. */
13352 if ac_fn_cxx_try_compile "$LINENO"; then :
13355 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13368 if ac_fn_cxx_try_compile "$LINENO"; then :
13369 ac_cv_prog_cxx_g=yes
13371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13376 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13379 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13380 if test "$ac_test_CXXFLAGS" = set; then
13381 CXXFLAGS=$ac_save_CXXFLAGS
13382 elif test $ac_cv_prog_cxx_g = yes; then
13383 if test "$GXX" = yes; then
13389 if test "$GXX" = yes; then
13396 ac_cpp='$CPP $CPPFLAGS'
13397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13401 depcc="$CXX" am_compiler_list=
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13404 $as_echo_n "checking dependency style of $depcc... " >&6; }
13405 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13406 $as_echo_n "(cached) " >&6
13408 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13409 # We make a subdir and do the tests there. Otherwise we can end up
13410 # making bogus files that we don't know about and never remove. For
13411 # instance it was reported that on HP-UX the gcc test will end up
13412 # making a dummy file named `D' -- because `-MD' means `put the output
13415 # Copy depcomp to subdir because otherwise we won't find it if we're
13416 # using a relative directory.
13417 cp "$am_depcomp" conftest.dir
13419 # We will build objects and dependencies in a subdirectory because
13420 # it helps to detect inapplicable dependency modes. For instance
13421 # both Tru64's cc and ICC support -MD to output dependencies as a
13422 # side effect of compilation, but ICC will put the dependencies in
13423 # the current directory while Tru64 will put them in the object
13427 am_cv_CXX_dependencies_compiler_type=none
13428 if test "$am_compiler_list" = ""; then
13429 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13431 am__universal=false
13432 case " $depcc " in #(
13433 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13436 for depmode in $am_compiler_list; do
13437 # Setup a source with many dependencies, because some compilers
13438 # like to wrap large dependency lists on column 80 (with \), and
13439 # we should not choose a depcomp mode which is confused by this.
13441 # We need to recreate these files for each test, as the compiler may
13442 # overwrite some of them when testing with obscure command lines.
13443 # This happens at least with the AIX C compiler.
13445 for i in 1 2 3 4 5 6; do
13446 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13447 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13448 # Solaris 8's {/usr,}/bin/sh.
13449 touch sub/conftst$i.h
13451 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13453 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13454 # mode. It turns out that the SunPro C++ compiler does not properly
13455 # handle `-M -o', and we need to detect this. Also, some Intel
13456 # versions had trouble with output in subdirs
13457 am__obj=sub/conftest.${OBJEXT-o}
13458 am__minus_obj="-o $am__obj"
13461 # This depmode causes a compiler race in universal mode.
13462 test "$am__universal" = false || continue
13465 # after this tag, mechanisms are not by side-effect, so they'll
13466 # only be used when explicitly requested
13467 if test "x$enable_dependency_tracking" = xyes; then
13473 msvisualcpp | msvcmsys)
13474 # This compiler won't grok `-c -o', but also, the minuso test has
13475 # not run yet. These depmodes are late enough in the game, and
13476 # so weak that their functioning should not be impacted.
13477 am__obj=conftest.${OBJEXT-o}
13482 if depmode=$depmode \
13483 source=sub/conftest.c object=$am__obj \
13484 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13485 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13486 >/dev/null 2>conftest.err &&
13487 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13488 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13489 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13490 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13491 # icc doesn't choke on unknown options, it will just issue warnings
13492 # or remarks (even with -Werror). So we grep stderr for any message
13493 # that says an option was ignored or not supported.
13494 # When given -MP, icc 7.0 and 7.1 complain thusly:
13495 # icc: Command line warning: ignoring option '-M'; no argument required
13496 # The diagnosis changed in icc 8.0:
13497 # icc: Command line remark: option '-MP' not supported
13498 if (grep 'ignoring option' conftest.err ||
13499 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13500 am_cv_CXX_dependencies_compiler_type=$depmode
13507 rm -rf conftest.dir
13509 am_cv_CXX_dependencies_compiler_type=none
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13514 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13515 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13518 test "x$enable_dependency_tracking" != xno \
13519 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13520 am__fastdepCXX_TRUE=
13521 am__fastdepCXX_FALSE='#'
13523 am__fastdepCXX_TRUE='#'
13524 am__fastdepCXX_FALSE=
13531 func_stripname_cnf ()
13534 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13535 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13537 } # func_stripname_cnf
13539 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13540 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13541 (test "X$CXX" != "Xg++"))) ; then
13543 ac_cpp='$CXXCPP $CPPFLAGS'
13544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13548 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13549 if test -z "$CXXCPP"; then
13550 if ${ac_cv_prog_CXXCPP+:} false; then :
13551 $as_echo_n "(cached) " >&6
13553 # Double quotes because CXXCPP needs to be expanded
13554 for CXXCPP in "$CXX -E" "/lib/cpp"
13556 ac_preproc_ok=false
13557 for ac_cxx_preproc_warn_flag in '' yes
13559 # Use a header file that comes with gcc, so configuring glibc
13560 # with a fresh cross-compiler works.
13561 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13562 # <limits.h> exists even on freestanding compilers.
13563 # On the NeXT, cc -E runs the code through the compiler's parser,
13564 # not just through cpp. "Syntax error" is here to catch this case.
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13568 # include <limits.h>
13570 # include <assert.h>
13574 if ac_fn_cxx_try_cpp "$LINENO"; then :
13577 # Broken: fails on valid input.
13580 rm -f conftest.err conftest.i conftest.$ac_ext
13582 # OK, works on sane cases. Now check whether nonexistent headers
13583 # can be detected and how.
13584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13585 /* end confdefs.h. */
13586 #include <ac_nonexistent.h>
13588 if ac_fn_cxx_try_cpp "$LINENO"; then :
13589 # Broken: success on invalid input.
13592 # Passes both tests.
13596 rm -f conftest.err conftest.i conftest.$ac_ext
13599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13600 rm -f conftest.i conftest.err conftest.$ac_ext
13601 if $ac_preproc_ok; then :
13606 ac_cv_prog_CXXCPP=$CXXCPP
13609 CXXCPP=$ac_cv_prog_CXXCPP
13611 ac_cv_prog_CXXCPP=$CXXCPP
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13614 $as_echo "$CXXCPP" >&6; }
13615 ac_preproc_ok=false
13616 for ac_cxx_preproc_warn_flag in '' yes
13618 # Use a header file that comes with gcc, so configuring glibc
13619 # with a fresh cross-compiler works.
13620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13621 # <limits.h> exists even on freestanding compilers.
13622 # On the NeXT, cc -E runs the code through the compiler's parser,
13623 # not just through cpp. "Syntax error" is here to catch this case.
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13627 # include <limits.h>
13629 # include <assert.h>
13633 if ac_fn_cxx_try_cpp "$LINENO"; then :
13636 # Broken: fails on valid input.
13639 rm -f conftest.err conftest.i conftest.$ac_ext
13641 # OK, works on sane cases. Now check whether nonexistent headers
13642 # can be detected and how.
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13645 #include <ac_nonexistent.h>
13647 if ac_fn_cxx_try_cpp "$LINENO"; then :
13648 # Broken: success on invalid input.
13651 # Passes both tests.
13655 rm -f conftest.err conftest.i conftest.$ac_ext
13658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13659 rm -f conftest.i conftest.err conftest.$ac_ext
13660 if $ac_preproc_ok; then :
13663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13665 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13666 See \`config.log' for more details" "$LINENO" 5; }
13670 ac_cpp='$CPP $CPPFLAGS'
13671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13676 _lt_caught_CXX_error=yes
13680 ac_cpp='$CXXCPP $CPPFLAGS'
13681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13685 archive_cmds_need_lc_CXX=no
13686 allow_undefined_flag_CXX=
13687 always_export_symbols_CXX=no
13688 archive_expsym_cmds_CXX=
13689 compiler_needs_object_CXX=no
13690 export_dynamic_flag_spec_CXX=
13691 hardcode_direct_CXX=no
13692 hardcode_direct_absolute_CXX=no
13693 hardcode_libdir_flag_spec_CXX=
13694 hardcode_libdir_separator_CXX=
13695 hardcode_minus_L_CXX=no
13696 hardcode_shlibpath_var_CXX=unsupported
13697 hardcode_automatic_CXX=no
13698 inherit_rpath_CXX=no
13700 module_expsym_cmds_CXX=
13701 link_all_deplibs_CXX=unknown
13702 old_archive_cmds_CXX=$old_archive_cmds
13703 reload_flag_CXX=$reload_flag
13704 reload_cmds_CXX=$reload_cmds
13705 no_undefined_flag_CXX=
13706 whole_archive_flag_spec_CXX=
13707 enable_shared_with_static_runtimes_CXX=no
13709 # Source file extension for C++ test sources.
13712 # Object file extension for compiled C++ test sources.
13716 # No sense in running all these tests if we already determined that
13717 # the CXX compiler isn't working. Some variables (like enable_shared)
13718 # are currently assumed to apply to all compilers on this platform,
13719 # and will be corrupted by setting them based on a non-working compiler.
13720 if test "$_lt_caught_CXX_error" != yes; then
13721 # Code to be used in simple compile tests
13722 lt_simple_compile_test_code="int some_variable = 0;"
13724 # Code to be used in simple link tests
13725 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13727 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13734 # If no C compiler was specified, use CC.
13737 # If no C compiler flags were specified, use CFLAGS.
13738 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13740 # Allow CC to be a program name with arguments.
13744 # save warnings/boilerplate of simple test code
13745 ac_outfile=conftest.$ac_objext
13746 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13747 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13748 _lt_compiler_boilerplate=`cat conftest.err`
13751 ac_outfile=conftest.$ac_objext
13752 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13753 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13754 _lt_linker_boilerplate=`cat conftest.err`
13758 # Allow CC to be a program name with arguments.
13760 lt_save_CFLAGS=$CFLAGS
13764 lt_save_with_gnu_ld=$with_gnu_ld
13765 lt_save_path_LD=$lt_cv_path_LD
13766 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13767 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13769 $as_unset lt_cv_prog_gnu_ld
13771 if test -n "${lt_cv_path_LDCXX+set}"; then
13772 lt_cv_path_LD=$lt_cv_path_LDCXX
13774 $as_unset lt_cv_path_LD
13776 test -z "${LDCXX+set}" || LD=$LDCXX
13781 for cc_temp in $compiler""; do
13783 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13784 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13789 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13792 if test -n "$compiler"; then
13793 # We don't want -fno-exception when compiling C++ code, so set the
13794 # no_builtin_flag separately
13795 if test "$GXX" = yes; then
13796 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13798 lt_prog_compiler_no_builtin_flag_CXX=
13801 if test "$GXX" = yes; then
13802 # Set up default GNU C++ configuration
13806 # Check whether --with-gnu-ld was given.
13807 if test "${with_gnu_ld+set}" = set; then :
13808 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13814 if test "$GCC" = yes; then
13815 # Check if gcc -print-prog-name=ld gives a path.
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13817 $as_echo_n "checking for ld used by $CC... " >&6; }
13820 # gcc leaves a trailing carriage return which upsets mingw
13821 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13823 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13826 # Accept absolute paths.
13828 re_direlt='/[^/][^/]*/\.\./'
13829 # Canonicalize the pathname of ld
13830 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13831 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13832 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13834 test -z "$LD" && LD="$ac_prog"
13837 # If it fails, then pretend we aren't using GCC.
13841 # If it is relative, then search for the first ld in PATH.
13842 with_gnu_ld=unknown
13845 elif test "$with_gnu_ld" = yes; then
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13847 $as_echo_n "checking for GNU ld... " >&6; }
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13850 $as_echo_n "checking for non-GNU ld... " >&6; }
13852 if ${lt_cv_path_LD+:} false; then :
13853 $as_echo_n "(cached) " >&6
13855 if test -z "$LD"; then
13856 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13857 for ac_dir in $PATH; do
13859 test -z "$ac_dir" && ac_dir=.
13860 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13861 lt_cv_path_LD="$ac_dir/$ac_prog"
13862 # Check to see if the program is GNU ld. I'd rather use --version,
13863 # but apparently some variants of GNU ld only accept -v.
13864 # Break only if it was the GNU/non-GNU ld that we prefer.
13865 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13866 *GNU* | *'with BFD'*)
13867 test "$with_gnu_ld" != no && break
13870 test "$with_gnu_ld" != yes && break
13877 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13881 LD="$lt_cv_path_LD"
13882 if test -n "$LD"; then
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13884 $as_echo "$LD" >&6; }
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13887 $as_echo "no" >&6; }
13889 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13891 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13892 if ${lt_cv_prog_gnu_ld+:} false; then :
13893 $as_echo_n "(cached) " >&6
13895 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13896 case `$LD -v 2>&1 </dev/null` in
13897 *GNU* | *'with BFD'*)
13898 lt_cv_prog_gnu_ld=yes
13901 lt_cv_prog_gnu_ld=no
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13906 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13907 with_gnu_ld=$lt_cv_prog_gnu_ld
13915 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13916 # archiving commands below assume that GNU ld is being used.
13917 if test "$with_gnu_ld" = yes; then
13918 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13919 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'
13921 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13922 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13924 # If archive_cmds runs LD, not CC, wlarc should be empty
13925 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13926 # investigate it a little bit more. (MM)
13929 # ancient GNU ld didn't support --whole-archive et. al.
13930 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13931 $GREP 'no-whole-archive' > /dev/null; then
13932 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13934 whole_archive_flag_spec_CXX=
13940 # A generic and very simple default shared library creation
13941 # command for GNU C++ for the case where it uses the native
13942 # linker, instead of GNU ld. If possible, this setting should
13943 # overridden to take advantage of the native linker features on
13944 # the platform it is being used on.
13945 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13948 # Commands to make compiler produce verbose output that lists
13949 # what "hidden" libraries, object files and flags are used when
13950 # linking a shared library.
13951 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13959 # PORTME: fill in a description of your system's C++ link characteristics
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13961 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13965 # FIXME: insert proper C++ library support
13969 if test "$host_cpu" = ia64; then
13970 # On IA64, the linker does run time linking by default, so we don't
13971 # have to do anything special.
13972 aix_use_runtimelinking=no
13973 exp_sym_flag='-Bexport'
13976 aix_use_runtimelinking=no
13978 # Test if we are trying to use run time linking or normal
13979 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13980 # need to do runtime linking.
13981 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13982 for ld_flag in $LDFLAGS; do
13985 aix_use_runtimelinking=yes
13993 exp_sym_flag='-bexport'
13994 no_entry_flag='-bnoentry'
13997 # When large executables or shared objects are built, AIX ld can
13998 # have problems creating the table of contents. If linking a library
13999 # or program results in "error TOC overflow" add -mminimal-toc to
14000 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14001 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14003 archive_cmds_CXX=''
14004 hardcode_direct_CXX=yes
14005 hardcode_direct_absolute_CXX=yes
14006 hardcode_libdir_separator_CXX=':'
14007 link_all_deplibs_CXX=yes
14008 file_list_spec_CXX='${wl}-f,'
14010 if test "$GXX" = yes; then
14011 case $host_os in aix4.[012]|aix4.[012].*)
14012 # We only want to do this on AIX 4.2 and lower, the check
14013 # below for broken collect2 doesn't work under 4.3+
14014 collect2name=`${CC} -print-prog-name=collect2`
14015 if test -f "$collect2name" &&
14016 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14018 # We have reworked collect2
14021 # We have old collect2
14022 hardcode_direct_CXX=unsupported
14023 # It fails to find uninstalled libraries when the uninstalled
14024 # path is not listed in the libpath. Setting hardcode_minus_L
14025 # to unsupported forces relinking
14026 hardcode_minus_L_CXX=yes
14027 hardcode_libdir_flag_spec_CXX='-L$libdir'
14028 hardcode_libdir_separator_CXX=
14031 shared_flag='-shared'
14032 if test "$aix_use_runtimelinking" = yes; then
14033 shared_flag="$shared_flag "'${wl}-G'
14037 if test "$host_cpu" = ia64; then
14038 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14039 # chokes on -Wl,-G. The following line is correct:
14042 if test "$aix_use_runtimelinking" = yes; then
14043 shared_flag='${wl}-G'
14045 shared_flag='${wl}-bM:SRE'
14050 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14051 # It seems that -bexpall does not export symbols beginning with
14052 # underscore (_), so it is better to generate a list of symbols to
14054 always_export_symbols_CXX=yes
14055 if test "$aix_use_runtimelinking" = yes; then
14056 # Warning - without using the other runtime loading flags (-brtl),
14057 # -berok will link without error, but may produce a broken library.
14058 allow_undefined_flag_CXX='-berok'
14059 # Determine the default libpath from the value encoded in an empty
14061 if test "${lt_cv_aix_libpath+set}" = set; then
14062 aix_libpath=$lt_cv_aix_libpath
14064 if ${lt_cv_aix_libpath__CXX+:} false; then :
14065 $as_echo_n "(cached) " >&6
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14078 if ac_fn_cxx_try_link "$LINENO"; then :
14080 lt_aix_libpath_sed='
14081 /Import File Strings/,/^$/ {
14083 s/^0 *\([^ ]*\) *$/\1/
14087 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14088 # Check for a 64-bit object if we didn't find anything.
14089 if test -z "$lt_cv_aix_libpath__CXX"; then
14090 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14093 rm -f core conftest.err conftest.$ac_objext \
14094 conftest$ac_exeext conftest.$ac_ext
14095 if test -z "$lt_cv_aix_libpath__CXX"; then
14096 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14101 aix_libpath=$lt_cv_aix_libpath__CXX
14104 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14106 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14108 if test "$host_cpu" = ia64; then
14109 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14110 allow_undefined_flag_CXX="-z nodefs"
14111 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"
14113 # Determine the default libpath from the value encoded in an
14114 # empty executable.
14115 if test "${lt_cv_aix_libpath+set}" = set; then
14116 aix_libpath=$lt_cv_aix_libpath
14118 if ${lt_cv_aix_libpath__CXX+:} false; then :
14119 $as_echo_n "(cached) " >&6
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14132 if ac_fn_cxx_try_link "$LINENO"; then :
14134 lt_aix_libpath_sed='
14135 /Import File Strings/,/^$/ {
14137 s/^0 *\([^ ]*\) *$/\1/
14141 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14142 # Check for a 64-bit object if we didn't find anything.
14143 if test -z "$lt_cv_aix_libpath__CXX"; then
14144 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14147 rm -f core conftest.err conftest.$ac_objext \
14148 conftest$ac_exeext conftest.$ac_ext
14149 if test -z "$lt_cv_aix_libpath__CXX"; then
14150 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14155 aix_libpath=$lt_cv_aix_libpath__CXX
14158 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14159 # Warning - without using the other run time loading flags,
14160 # -berok will link without error, but may produce a broken library.
14161 no_undefined_flag_CXX=' ${wl}-bernotok'
14162 allow_undefined_flag_CXX=' ${wl}-berok'
14163 if test "$with_gnu_ld" = yes; then
14164 # We only use this code for GNU lds that support --whole-archive.
14165 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14167 # Exported symbols can be pulled into shared objects from archives
14168 whole_archive_flag_spec_CXX='$convenience'
14170 archive_cmds_need_lc_CXX=yes
14171 # This is similar to how AIX traditionally builds its shared
14173 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14179 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14180 allow_undefined_flag_CXX=unsupported
14181 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14182 # support --undefined. This deserves some investigation. FIXME
14183 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14190 case $cc_basename in
14192 # FIXME: insert proper C++ library support
14198 cygwin* | mingw* | pw32* | cegcc*)
14199 case $GXX,$cc_basename in
14202 # hardcode_libdir_flag_spec is actually meaningless, as there is
14203 # no search path for DLLs.
14204 hardcode_libdir_flag_spec_CXX=' '
14205 allow_undefined_flag_CXX=unsupported
14206 always_export_symbols_CXX=yes
14207 file_list_spec_CXX='@'
14208 # Tell ltmain to make .lib files, not .a files.
14210 # Tell ltmain to make .dll files, not .so files.
14212 # FIXME: Setting linknames here is a bad hack.
14213 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14214 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14215 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14217 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14219 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14221 # The linker will not automatically build a static lib if we build a DLL.
14222 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14223 enable_shared_with_static_runtimes_CXX=yes
14225 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14226 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14227 lt_tool_outputfile="@TOOL_OUTPUT@"~
14228 case $lt_outputfile in
14231 lt_outputfile="$lt_outputfile.exe"
14232 lt_tool_outputfile="$lt_tool_outputfile.exe"
14235 func_to_tool_file "$lt_outputfile"~
14236 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14237 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14238 $RM "$lt_outputfile.manifest";
14243 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14244 # as there is no search path for DLLs.
14245 hardcode_libdir_flag_spec_CXX='-L$libdir'
14246 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14247 allow_undefined_flag_CXX=unsupported
14248 always_export_symbols_CXX=no
14249 enable_shared_with_static_runtimes_CXX=yes
14251 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14252 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'
14253 # If the export-symbols file already is a .def file (1st line
14254 # is EXPORTS), use it as is; otherwise, prepend...
14255 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14256 cp $export_symbols $output_objdir/$soname.def;
14258 echo EXPORTS > $output_objdir/$soname.def;
14259 cat $export_symbols >> $output_objdir/$soname.def;
14261 $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'
14268 darwin* | rhapsody*)
14271 archive_cmds_need_lc_CXX=no
14272 hardcode_direct_CXX=no
14273 hardcode_automatic_CXX=yes
14274 hardcode_shlibpath_var_CXX=unsupported
14275 if test "$lt_cv_ld_force_load" = "yes"; then
14276 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\"`'
14279 whole_archive_flag_spec_CXX=''
14281 link_all_deplibs_CXX=yes
14282 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14283 case $cc_basename in
14284 ifort*) _lt_dar_can_shared=yes ;;
14285 *) _lt_dar_can_shared=$GCC ;;
14287 if test "$_lt_dar_can_shared" = "yes"; then
14288 output_verbose_link_cmd=func_echo_all
14289 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}"
14290 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14291 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}"
14292 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}"
14293 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14294 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}"
14295 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}"
14305 case $cc_basename in
14307 # FIXME: insert proper C++ library support
14311 # Green Hills C++ Compiler
14312 # FIXME: insert proper C++ library support
14316 # FIXME: insert proper C++ library support
14323 # C++ shared libraries reported to be fairly broken before
14329 archive_cmds_need_lc_CXX=no
14332 freebsd* | dragonfly*)
14333 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14342 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14343 link_all_deplibs_CXX=yes
14347 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14348 hardcode_libdir_separator_CXX=:
14349 export_dynamic_flag_spec_CXX='${wl}-E'
14350 hardcode_direct_CXX=yes
14351 hardcode_minus_L_CXX=yes # Not in the search PATH,
14352 # but as the default
14353 # location of the library.
14355 case $cc_basename in
14357 # FIXME: insert proper C++ library support
14361 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14362 # Commands to make compiler produce verbose output that lists
14363 # what "hidden" libraries, object files and flags are used when
14364 # linking a shared library.
14366 # There doesn't appear to be a way to prevent this compiler from
14367 # explicitly linking system object files so we need to strip them
14368 # from the output so that they don't get included in the library
14370 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"'
14373 if test "$GXX" = yes; then
14374 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14376 # FIXME: insert proper C++ library support
14384 if test $with_gnu_ld = no; then
14385 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14386 hardcode_libdir_separator_CXX=:
14392 export_dynamic_flag_spec_CXX='${wl}-E'
14398 hardcode_direct_CXX=no
14399 hardcode_shlibpath_var_CXX=no
14402 hardcode_direct_CXX=yes
14403 hardcode_direct_absolute_CXX=yes
14404 hardcode_minus_L_CXX=yes # Not in the search PATH,
14405 # but as the default
14406 # location of the library.
14410 case $cc_basename in
14412 # FIXME: insert proper C++ library support
14418 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14421 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14424 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14427 # Commands to make compiler produce verbose output that lists
14428 # what "hidden" libraries, object files and flags are used when
14429 # linking a shared library.
14431 # There doesn't appear to be a way to prevent this compiler from
14432 # explicitly linking system object files so we need to strip them
14433 # from the output so that they don't get included in the library
14435 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"'
14438 if test "$GXX" = yes; then
14439 if test $with_gnu_ld = no; then
14442 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14445 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14448 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'
14453 # FIXME: insert proper C++ library support
14461 hardcode_direct_CXX=no
14462 hardcode_shlibpath_var_CXX=no
14463 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14464 export_dynamic_flag_spec_CXX='${wl}-E'
14465 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14466 # Instead, shared libraries are loaded at an image base (0x10000000 by
14467 # default) and relocated if they conflict, which is a slow very memory
14468 # consuming and fragmenting process. To avoid this, we pick a random,
14469 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14470 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14471 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'
14472 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'
14475 case $cc_basename in
14478 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'
14480 # Archives containing C++ object files must be created using
14481 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14482 # necessary to make sure instantiated templates are included
14484 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14487 if test "$GXX" = yes; then
14488 if test "$with_gnu_ld" = no; then
14489 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'
14491 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'
14494 link_all_deplibs_CXX=yes
14497 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14498 hardcode_libdir_separator_CXX=:
14499 inherit_rpath_CXX=yes
14502 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14503 case $cc_basename in
14505 # Kuck and Associates, Inc. (KAI) C++ Compiler
14507 # KCC will only create a shared library if the output file
14508 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14509 # to its proper name (with version) after linking.
14510 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'
14511 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'
14512 # Commands to make compiler produce verbose output that lists
14513 # what "hidden" libraries, object files and flags are used when
14514 # linking a shared library.
14516 # There doesn't appear to be a way to prevent this compiler from
14517 # explicitly linking system object files so we need to strip them
14518 # from the output so that they don't get included in the library
14520 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"'
14522 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14523 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14525 # Archives containing C++ object files must be created using
14526 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14527 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14532 # version 8.0 and above of icpc choke on multiply defined symbols
14533 # if we add $predep_objects and $postdep_objects, however 7.1 and
14534 # earlier do not add the objects themselves.
14535 case `$CC -V 2>&1` in
14537 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14538 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'
14540 *) # Version 8.0 or newer
14543 ia64*) tmp_idyn=' -i_dynamic';;
14545 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14546 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'
14549 archive_cmds_need_lc_CXX=no
14550 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14551 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14552 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14555 # Portland Group C++ compiler
14557 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14558 prelink_cmds_CXX='tpldir=Template.dir~
14560 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14561 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14562 old_archive_cmds_CXX='tpldir=Template.dir~
14564 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14565 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14567 archive_cmds_CXX='tpldir=Template.dir~
14569 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14570 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14571 archive_expsym_cmds_CXX='tpldir=Template.dir~
14573 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14574 $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'
14576 *) # Version 6 and above use weak symbols
14577 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14578 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'
14582 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14583 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14584 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'
14588 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14589 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'
14591 runpath_var=LD_RUN_PATH
14592 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14593 hardcode_libdir_separator_CXX=:
14595 # Commands to make compiler produce verbose output that lists
14596 # what "hidden" libraries, object files and flags are used when
14597 # linking a shared library.
14599 # There doesn't appear to be a way to prevent this compiler from
14600 # explicitly linking system object files so we need to strip them
14601 # from the output so that they don't get included in the library
14603 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'
14605 xl* | mpixl* | bgxl*)
14606 # IBM XL 8.0 on PPC, with GNU ld
14607 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14608 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14609 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14610 if test "x$supports_anon_versioning" = xyes; then
14611 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14612 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14613 echo "local: *; };" >> $output_objdir/$libname.ver~
14614 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14618 case `$CC -V 2>&1 | sed 5q` in
14621 no_undefined_flag_CXX=' -zdefs'
14622 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14623 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'
14624 hardcode_libdir_flag_spec_CXX='-R$libdir'
14625 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'
14626 compiler_needs_object_CXX=yes
14628 # Not sure whether something based on
14629 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14631 output_verbose_link_cmd='func_echo_all'
14633 # Archives containing C++ object files must be created using
14634 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14635 # necessary to make sure instantiated templates are included
14637 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14645 # FIXME: insert proper C++ library support
14650 # FIXME: insert proper C++ library support
14655 case $cc_basename in
14657 # FIXME: insert proper C++ library support
14661 # FIXME: insert proper C++ library support
14668 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14669 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14671 hardcode_libdir_flag_spec_CXX='-R$libdir'
14672 hardcode_direct_CXX=yes
14673 hardcode_shlibpath_var_CXX=no
14675 # Workaround some broken pre-1.5 toolchains
14676 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14684 # C++ shared libraries are fairly broken
14689 if test -f /usr/libexec/ld.so; then
14690 hardcode_direct_CXX=yes
14691 hardcode_shlibpath_var_CXX=no
14692 hardcode_direct_absolute_CXX=yes
14693 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14694 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14695 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14696 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14697 export_dynamic_flag_spec_CXX='${wl}-E'
14698 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14700 output_verbose_link_cmd=func_echo_all
14706 osf3* | osf4* | osf5*)
14707 case $cc_basename in
14709 # Kuck and Associates, Inc. (KAI) C++ Compiler
14711 # KCC will only create a shared library if the output file
14712 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14713 # to its proper name (with version) after linking.
14714 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'
14716 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14717 hardcode_libdir_separator_CXX=:
14719 # Archives containing C++ object files must be created using
14720 # the KAI C++ compiler.
14722 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14723 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14727 # Rational C++ 2.4.1
14728 # FIXME: insert proper C++ library support
14734 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14735 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'
14736 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14739 allow_undefined_flag_CXX=' -expect_unresolved \*'
14740 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'
14741 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14742 echo "-hidden">> $lib.exp~
14743 $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~
14745 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14749 hardcode_libdir_separator_CXX=:
14751 # Commands to make compiler produce verbose output that lists
14752 # what "hidden" libraries, object files and flags are used when
14753 # linking a shared library.
14755 # There doesn't appear to be a way to prevent this compiler from
14756 # explicitly linking system object files so we need to strip them
14757 # from the output so that they don't get included in the library
14759 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"'
14762 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14763 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14766 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'
14769 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'
14773 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14774 hardcode_libdir_separator_CXX=:
14776 # Commands to make compiler produce verbose output that lists
14777 # what "hidden" libraries, object files and flags are used when
14778 # linking a shared library.
14779 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14782 # FIXME: insert proper C++ library support
14790 # FIXME: insert proper C++ library support
14795 case $cc_basename in
14798 # FIXME: insert proper C++ library support
14803 # FIXME: insert proper C++ library support
14807 # FIXME: insert proper C++ library support
14814 case $cc_basename in
14816 # Sun C++ 4.2, 5.x and Centerline C++
14817 archive_cmds_need_lc_CXX=yes
14818 no_undefined_flag_CXX=' -zdefs'
14819 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14820 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14821 $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'
14823 hardcode_libdir_flag_spec_CXX='-R$libdir'
14824 hardcode_shlibpath_var_CXX=no
14826 solaris2.[0-5] | solaris2.[0-5].*) ;;
14828 # The compiler driver will combine and reorder linker options,
14829 # but understands `-z linker_flag'.
14830 # Supported since Solaris 2.6 (maybe 2.5.1?)
14831 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14834 link_all_deplibs_CXX=yes
14836 output_verbose_link_cmd='func_echo_all'
14838 # Archives containing C++ object files must be created using
14839 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14840 # necessary to make sure instantiated templates are included
14842 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14845 # Green Hills C++ Compiler
14846 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14848 # The C++ compiler must be used to create the archive.
14849 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14852 # GNU C++ compiler with Solaris linker
14853 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14854 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14855 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14856 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14857 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14858 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14860 # Commands to make compiler produce verbose output that lists
14861 # what "hidden" libraries, object files and flags are used when
14862 # linking a shared library.
14863 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14865 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14867 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14868 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14869 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14871 # Commands to make compiler produce verbose output that lists
14872 # what "hidden" libraries, object files and flags are used when
14873 # linking a shared library.
14874 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14877 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14879 solaris2.[0-5] | solaris2.[0-5].*) ;;
14881 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14889 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14890 no_undefined_flag_CXX='${wl}-z,text'
14891 archive_cmds_need_lc_CXX=no
14892 hardcode_shlibpath_var_CXX=no
14893 runpath_var='LD_RUN_PATH'
14895 case $cc_basename in
14897 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14898 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14901 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14902 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14907 sysv5* | sco3.2v5* | sco5v6*)
14908 # Note: We can NOT use -z defs as we might desire, because we do not
14909 # link with -lc, and that would cause any symbols used from libc to
14910 # always be unresolved, which means just about no library would
14911 # ever link correctly. If we're not using GNU ld we use -z text
14912 # though, which does catch some bad symbols but isn't as heavy-handed
14914 no_undefined_flag_CXX='${wl}-z,text'
14915 allow_undefined_flag_CXX='${wl}-z,nodefs'
14916 archive_cmds_need_lc_CXX=no
14917 hardcode_shlibpath_var_CXX=no
14918 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14919 hardcode_libdir_separator_CXX=':'
14920 link_all_deplibs_CXX=yes
14921 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14922 runpath_var='LD_RUN_PATH'
14924 case $cc_basename in
14926 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14927 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14928 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14929 '"$old_archive_cmds_CXX"
14930 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14931 '"$reload_cmds_CXX"
14934 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14935 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14941 case $cc_basename in
14943 # NonStop-UX NCC 3.20
14944 # FIXME: insert proper C++ library support
14948 # FIXME: insert proper C++ library support
14955 # FIXME: insert proper C++ library support
14960 # FIXME: insert proper C++ library support
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14966 $as_echo "$ld_shlibs_CXX" >&6; }
14967 test "$ld_shlibs_CXX" = no && can_build_shared=no
14973 ## There is no encapsulation within the following macros, do not change
14974 ## the running order or otherwise move them around unless you know exactly
14975 ## what you are doing...
14976 # Dependencies to place before and after the object being linked:
14977 predep_objects_CXX=
14978 postdep_objects_CXX=
14981 compiler_lib_search_path_CXX=
14983 cat > conftest.$ac_ext <<_LT_EOF
14987 Foo (void) { a = 0; }
14994 _lt_libdeps_save_CFLAGS=$CFLAGS
14995 case "$CC $CFLAGS " in #(
14996 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14997 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14998 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15001 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15002 (eval $ac_compile) 2>&5
15004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15005 test $ac_status = 0; }; then
15006 # Parse the compiler output and extract the necessary
15007 # objects, libraries and library flags.
15009 # Sentinel used to keep track of whether or not we are before
15010 # the conftest object file.
15011 pre_test_object_deps_done=no
15013 for p in `eval "$output_verbose_link_cmd"`; do
15014 case ${prev}${p} in
15017 # Some compilers place space between "-{L,R}" and the path.
15018 # Remove the space.
15019 if test $p = "-L" ||
15020 test $p = "-R"; then
15025 # Expand the sysroot to ease extracting the directories later.
15026 if test -z "$prev"; then
15028 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15029 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15030 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15034 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15036 if test "$pre_test_object_deps_done" = no; then
15039 # Internal compiler library paths should come after those
15040 # provided the user. The postdeps already come after the
15041 # user supplied libs so there is no need to process them.
15042 if test -z "$compiler_lib_search_path_CXX"; then
15043 compiler_lib_search_path_CXX="${prev}${p}"
15045 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15048 # The "-l" case would never come before the object being
15049 # linked, so don't bother handling this case.
15052 if test -z "$postdeps_CXX"; then
15053 postdeps_CXX="${prev}${p}"
15055 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15061 *.lto.$objext) ;; # Ignore GCC LTO objects
15063 # This assumes that the test object file only shows up
15064 # once in the compiler output.
15065 if test "$p" = "conftest.$objext"; then
15066 pre_test_object_deps_done=yes
15070 if test "$pre_test_object_deps_done" = no; then
15071 if test -z "$predep_objects_CXX"; then
15072 predep_objects_CXX="$p"
15074 predep_objects_CXX="$predep_objects_CXX $p"
15077 if test -z "$postdep_objects_CXX"; then
15078 postdep_objects_CXX="$p"
15080 postdep_objects_CXX="$postdep_objects_CXX $p"
15085 *) ;; # Ignore the rest.
15093 echo "libtool.m4: error: problem compiling CXX test program"
15096 $RM -f confest.$objext
15097 CFLAGS=$_lt_libdeps_save_CFLAGS
15099 # PORTME: override above test on systems where it is broken
15102 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15103 # hack all around it, let's just trust "g++" to DTRT.
15104 predep_objects_CXX=
15105 postdep_objects_CXX=
15110 case `$CC -V 2>&1 | sed 5q` in
15114 # The more standards-conforming stlport4 library is
15115 # incompatible with the Cstd library. Avoid specifying
15116 # it if it's in CXXFLAGS. Ignore libCrun as
15117 # -library=stlport4 depends on it.
15118 case " $CXX $CXXFLAGS " in
15119 *" -library=stlport4 "*)
15120 solaris_use_stlport4=yes
15124 if test "$solaris_use_stlport4" != yes; then
15125 postdeps_CXX='-library=Cstd -library=Crun'
15132 case $cc_basename in
15134 # The more standards-conforming stlport4 library is
15135 # incompatible with the Cstd library. Avoid specifying
15136 # it if it's in CXXFLAGS. Ignore libCrun as
15137 # -library=stlport4 depends on it.
15138 case " $CXX $CXXFLAGS " in
15139 *" -library=stlport4 "*)
15140 solaris_use_stlport4=yes
15144 # Adding this requires a known-good setup of shared libraries for
15145 # Sun compiler versions before 5.6, else PIC objects from an old
15146 # archive will be linked into the output, leading to subtle bugs.
15147 if test "$solaris_use_stlport4" != yes; then
15148 postdeps_CXX='-library=Cstd -library=Crun'
15156 case " $postdeps_CXX " in
15157 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15159 compiler_lib_search_dirs_CXX=
15160 if test -n "${compiler_lib_search_path_CXX}"; then
15161 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15194 lt_prog_compiler_wl_CXX=
15195 lt_prog_compiler_pic_CXX=
15196 lt_prog_compiler_static_CXX=
15199 # C++ specific cases for pic, static, wl, etc.
15200 if test "$GXX" = yes; then
15201 lt_prog_compiler_wl_CXX='-Wl,'
15202 lt_prog_compiler_static_CXX='-static'
15206 # All AIX code is PIC.
15207 if test "$host_cpu" = ia64; then
15208 # AIX 5 now supports IA64 processor
15209 lt_prog_compiler_static_CXX='-Bstatic'
15216 # see comment about AmigaOS4 .so support
15217 lt_prog_compiler_pic_CXX='-fPIC'
15220 # FIXME: we need at least 68020 code to build shared libraries, but
15221 # adding the `-m68020' flag to GCC prevents building anything better,
15223 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15228 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15229 # PIC is the default for these OSes.
15231 mingw* | cygwin* | os2* | pw32* | cegcc*)
15232 # This hack is so that the source file can tell whether it is being
15233 # built for inclusion in a dll (and should export symbols for example).
15234 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15235 # (--disable-auto-import) libraries
15236 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15238 darwin* | rhapsody*)
15239 # PIC is the default on this platform
15240 # Common symbols not allowed in MH_DYLIB files
15241 lt_prog_compiler_pic_CXX='-fno-common'
15244 # DJGPP does not support shared libraries at all
15245 lt_prog_compiler_pic_CXX=
15248 # PIC is the default for Haiku.
15249 # The "-static" flag exists, but is broken.
15250 lt_prog_compiler_static_CXX=
15253 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15254 # Instead, we relocate shared libraries at runtime.
15257 if test -d /usr/nec; then
15258 lt_prog_compiler_pic_CXX=-Kconform_pic
15262 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15263 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15264 # sets the default TLS model and affects inlining.
15269 lt_prog_compiler_pic_CXX='-fPIC'
15274 # QNX uses GNU C++, but need to define -shared option too, otherwise
15275 # it will coredump.
15276 lt_prog_compiler_pic_CXX='-fPIC -shared'
15279 lt_prog_compiler_pic_CXX='-fPIC'
15285 # All AIX code is PIC.
15286 if test "$host_cpu" = ia64; then
15287 # AIX 5 now supports IA64 processor
15288 lt_prog_compiler_static_CXX='-Bstatic'
15290 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15294 case $cc_basename in
15296 # Green Hills C++ Compiler
15297 # _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"
15301 mingw* | cygwin* | os2* | pw32* | cegcc*)
15302 # This hack is so that the source file can tell whether it is being
15303 # built for inclusion in a dll (and should export symbols for example).
15304 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15307 case $cc_basename in
15309 lt_prog_compiler_pic_CXX='-KPIC'
15312 # Green Hills C++ Compiler
15313 lt_prog_compiler_pic_CXX='-pic'
15319 freebsd* | dragonfly*)
15320 # FreeBSD uses GNU C++
15322 hpux9* | hpux10* | hpux11*)
15323 case $cc_basename in
15325 lt_prog_compiler_wl_CXX='-Wl,'
15326 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15327 if test "$host_cpu" != ia64; then
15328 lt_prog_compiler_pic_CXX='+Z'
15332 lt_prog_compiler_wl_CXX='-Wl,'
15333 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15339 lt_prog_compiler_pic_CXX='+Z'
15348 # This is c89, which is MS Visual C++ (no shared libs)
15349 # Anyone wants to do a port?
15351 irix5* | irix6* | nonstopux*)
15352 case $cc_basename in
15354 lt_prog_compiler_wl_CXX='-Wl,'
15355 lt_prog_compiler_static_CXX='-non_shared'
15356 # CC pic flag -KPIC is the default.
15362 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15363 case $cc_basename in
15366 lt_prog_compiler_wl_CXX='--backend -Wl,'
15367 lt_prog_compiler_pic_CXX='-fPIC'
15370 # old Intel C++ for x86_64 which still supported -KPIC.
15371 lt_prog_compiler_wl_CXX='-Wl,'
15372 lt_prog_compiler_pic_CXX='-KPIC'
15373 lt_prog_compiler_static_CXX='-static'
15376 # Intel C++, used to be incompatible with GCC.
15377 # ICC 10 doesn't accept -KPIC any more.
15378 lt_prog_compiler_wl_CXX='-Wl,'
15379 lt_prog_compiler_pic_CXX='-fPIC'
15380 lt_prog_compiler_static_CXX='-static'
15383 # Portland Group C++ compiler
15384 lt_prog_compiler_wl_CXX='-Wl,'
15385 lt_prog_compiler_pic_CXX='-fpic'
15386 lt_prog_compiler_static_CXX='-Bstatic'
15390 # Make sure the PIC flag is empty. It appears that all Alpha
15391 # Linux and Compaq Tru64 Unix objects are PIC.
15392 lt_prog_compiler_pic_CXX=
15393 lt_prog_compiler_static_CXX='-non_shared'
15395 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15396 # IBM XL 8.0, 9.0 on PPC and BlueGene
15397 lt_prog_compiler_wl_CXX='-Wl,'
15398 lt_prog_compiler_pic_CXX='-qpic'
15399 lt_prog_compiler_static_CXX='-qstaticlink'
15402 case `$CC -V 2>&1 | sed 5q` in
15405 lt_prog_compiler_pic_CXX='-KPIC'
15406 lt_prog_compiler_static_CXX='-Bstatic'
15407 lt_prog_compiler_wl_CXX='-Qoption ld '
15418 case $cc_basename in
15420 lt_prog_compiler_pic_CXX='-W c,exportall'
15429 # QNX uses GNU C++, but need to define -shared option too, otherwise
15430 # it will coredump.
15431 lt_prog_compiler_pic_CXX='-fPIC -shared'
15433 osf3* | osf4* | osf5*)
15434 case $cc_basename in
15436 lt_prog_compiler_wl_CXX='--backend -Wl,'
15439 # Rational C++ 2.4.1
15440 lt_prog_compiler_pic_CXX='-pic'
15443 # Digital/Compaq C++
15444 lt_prog_compiler_wl_CXX='-Wl,'
15445 # Make sure the PIC flag is empty. It appears that all Alpha
15446 # Linux and Compaq Tru64 Unix objects are PIC.
15447 lt_prog_compiler_pic_CXX=
15448 lt_prog_compiler_static_CXX='-non_shared'
15457 case $cc_basename in
15459 # Sun C++ 4.2, 5.x and Centerline C++
15460 lt_prog_compiler_pic_CXX='-KPIC'
15461 lt_prog_compiler_static_CXX='-Bstatic'
15462 lt_prog_compiler_wl_CXX='-Qoption ld '
15465 # Green Hills C++ Compiler
15466 lt_prog_compiler_pic_CXX='-PIC'
15473 case $cc_basename in
15476 lt_prog_compiler_pic_CXX='-pic'
15477 lt_prog_compiler_static_CXX='-Bstatic'
15481 lt_prog_compiler_pic_CXX='-pic'
15487 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15488 case $cc_basename in
15490 lt_prog_compiler_wl_CXX='-Wl,'
15491 lt_prog_compiler_pic_CXX='-KPIC'
15492 lt_prog_compiler_static_CXX='-Bstatic'
15497 case $cc_basename in
15499 # NonStop-UX NCC 3.20
15500 lt_prog_compiler_pic_CXX='-KPIC'
15509 lt_prog_compiler_can_build_shared_CXX=no
15515 # For platforms which do not support PIC, -DPIC is meaningless:
15517 lt_prog_compiler_pic_CXX=
15520 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15525 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15526 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15527 $as_echo_n "(cached) " >&6
15529 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15532 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15533 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15536 # Check to make sure the PIC flag actually works.
15538 if test -n "$lt_prog_compiler_pic_CXX"; then
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15540 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15541 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15542 $as_echo_n "(cached) " >&6
15544 lt_cv_prog_compiler_pic_works_CXX=no
15545 ac_outfile=conftest.$ac_objext
15546 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15547 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15548 # Insert the option either (1) after the last *FLAGS variable, or
15549 # (2) before a word containing "conftest.", or (3) at the end.
15550 # Note that $ac_compile itself does not contain backslashes and begins
15551 # with a dollar sign (not a hyphen), so the echo should work correctly.
15552 # The option is referenced via a variable to avoid confusing sed.
15553 lt_compile=`echo "$ac_compile" | $SED \
15554 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15556 -e 's:$: $lt_compiler_flag:'`
15557 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15558 (eval "$lt_compile" 2>conftest.err)
15560 cat conftest.err >&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 if (exit $ac_status) && test -s "$ac_outfile"; then
15563 # The compiler can only warn and ignore the option if not recognized
15564 # So say no if there are warnings other than the usual output.
15565 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15566 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15567 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15568 lt_cv_prog_compiler_pic_works_CXX=yes
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15575 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15577 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15578 case $lt_prog_compiler_pic_CXX in
15580 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15583 lt_prog_compiler_pic_CXX=
15584 lt_prog_compiler_can_build_shared_CXX=no
15594 # Check to make sure the static flag actually works.
15596 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15598 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15599 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15600 $as_echo_n "(cached) " >&6
15602 lt_cv_prog_compiler_static_works_CXX=no
15603 save_LDFLAGS="$LDFLAGS"
15604 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15605 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15606 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15607 # The linker can only warn and ignore the option if not recognized
15608 # So say no if there are warnings
15609 if test -s conftest.err; then
15610 # Append any errors to the config.log.
15611 cat conftest.err 1>&5
15612 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15613 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15614 if diff conftest.exp conftest.er2 >/dev/null; then
15615 lt_cv_prog_compiler_static_works_CXX=yes
15618 lt_cv_prog_compiler_static_works_CXX=yes
15622 LDFLAGS="$save_LDFLAGS"
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15626 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15628 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15631 lt_prog_compiler_static_CXX=
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15638 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15639 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15640 $as_echo_n "(cached) " >&6
15642 lt_cv_prog_compiler_c_o_CXX=no
15643 $RM -r conftest 2>/dev/null
15647 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15649 lt_compiler_flag="-o out/conftest2.$ac_objext"
15650 # Insert the option either (1) after the last *FLAGS variable, or
15651 # (2) before a word containing "conftest.", or (3) at the end.
15652 # Note that $ac_compile itself does not contain backslashes and begins
15653 # with a dollar sign (not a hyphen), so the echo should work correctly.
15654 lt_compile=`echo "$ac_compile" | $SED \
15655 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15656 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15657 -e 's:$: $lt_compiler_flag:'`
15658 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15659 (eval "$lt_compile" 2>out/conftest.err)
15661 cat out/conftest.err >&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15665 # The compiler can only warn and ignore the option if not recognized
15666 # So say no if there are warnings
15667 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15668 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15669 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15670 lt_cv_prog_compiler_c_o_CXX=yes
15675 # SGI C++ compiler will create directory out/ii_files/ for
15676 # template instantiation
15677 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15678 $RM out/* && rmdir out
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15685 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15690 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15691 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15692 $as_echo_n "(cached) " >&6
15694 lt_cv_prog_compiler_c_o_CXX=no
15695 $RM -r conftest 2>/dev/null
15699 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15701 lt_compiler_flag="-o out/conftest2.$ac_objext"
15702 # Insert the option either (1) after the last *FLAGS variable, or
15703 # (2) before a word containing "conftest.", or (3) at the end.
15704 # Note that $ac_compile itself does not contain backslashes and begins
15705 # with a dollar sign (not a hyphen), so the echo should work correctly.
15706 lt_compile=`echo "$ac_compile" | $SED \
15707 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15709 -e 's:$: $lt_compiler_flag:'`
15710 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15711 (eval "$lt_compile" 2>out/conftest.err)
15713 cat out/conftest.err >&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15717 # The compiler can only warn and ignore the option if not recognized
15718 # So say no if there are warnings
15719 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15720 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15721 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15722 lt_cv_prog_compiler_c_o_CXX=yes
15727 # SGI C++ compiler will create directory out/ii_files/ for
15728 # template instantiation
15729 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15730 $RM out/* && rmdir out
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15737 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15742 hard_links="nottested"
15743 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15744 # do not overwrite the value of need_locks provided by the user
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15746 $as_echo_n "checking if we can lock with hard links... " >&6; }
15749 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15751 ln conftest.a conftest.b 2>&5 || hard_links=no
15752 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15754 $as_echo "$hard_links" >&6; }
15755 if test "$hard_links" = no; then
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15757 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15767 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15769 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15770 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15773 # If we're using GNU nm, then we don't want the "-C" option.
15774 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15775 # Also, AIX nm treats weak defined symbols like other global defined
15776 # symbols, whereas GNU nm marks them as "W".
15777 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15778 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15780 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15784 export_symbols_cmds_CXX="$ltdll_cmds"
15786 cygwin* | mingw* | cegcc*)
15787 case $cc_basename in
15789 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15792 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'
15793 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15798 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15803 $as_echo "$ld_shlibs_CXX" >&6; }
15804 test "$ld_shlibs_CXX" = no && can_build_shared=no
15806 with_gnu_ld_CXX=$with_gnu_ld
15814 # Do we need to explicitly link libc?
15816 case "x$archive_cmds_need_lc_CXX" in
15818 # Assume -lc should be added
15819 archive_cmds_need_lc_CXX=yes
15821 if test "$enable_shared" = yes && test "$GCC" = yes; then
15822 case $archive_cmds_CXX in
15824 # FIXME: we may have to deal with multi-command sequences.
15827 # Test whether the compiler implicitly links with -lc since on some
15828 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15829 # to ld, don't add -lc before -lgcc.
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15831 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15832 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15833 $as_echo_n "(cached) " >&6
15836 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15839 (eval $ac_compile) 2>&5
15841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15842 test $ac_status = 0; } 2>conftest.err; then
15845 libobjs=conftest.$ac_objext
15847 wl=$lt_prog_compiler_wl_CXX
15848 pic_flag=$lt_prog_compiler_pic_CXX
15854 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15855 allow_undefined_flag_CXX=
15856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15857 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15860 test $ac_status = 0; }
15862 lt_cv_archive_cmds_need_lc_CXX=no
15864 lt_cv_archive_cmds_need_lc_CXX=yes
15866 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15868 cat conftest.err 1>&5
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15874 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15875 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15944 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15946 library_names_spec=
15947 libname_spec='lib$name'
15951 postuninstall_cmds=
15955 shlibpath_overrides_runpath=unknown
15957 dynamic_linker="$host_os ld.so"
15958 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15959 need_lib_prefix=unknown
15960 hardcode_into_libs=no
15962 # when you set need_version to no, make sure it does not cause -set_version
15963 # flags to be left without arguments
15964 need_version=unknown
15968 version_type=linux # correct to gnu/linux during the next big refactor
15969 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15970 shlibpath_var=LIBPATH
15972 # AIX 3 has no versioning support, so we append a major version to the name.
15973 soname_spec='${libname}${release}${shared_ext}$major'
15977 version_type=linux # correct to gnu/linux during the next big refactor
15980 hardcode_into_libs=yes
15981 if test "$host_cpu" = ia64; then
15982 # AIX 5 supports IA64
15983 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15984 shlibpath_var=LD_LIBRARY_PATH
15986 # With GCC up to 2.95.x, collect2 would create an import file
15987 # for dependence libraries. The import file would start with
15988 # the line `#! .'. This would cause the generated library to
15989 # depend on `.', always an invalid library. This was fixed in
15990 # development snapshots of GCC prior to 3.0.
15992 aix4 | aix4.[01] | aix4.[01].*)
15993 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15995 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15998 can_build_shared=no
16002 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16003 # soname into executable. Probably we can add versioning support to
16004 # collect2, so additional links can be useful in future.
16005 if test "$aix_use_runtimelinking" = yes; then
16006 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16007 # instead of lib<name>.a to let people know that these are not
16008 # typical AIX shared libraries.
16009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16011 # We preserve .a as extension for shared libraries through AIX4.2
16012 # and later when we are not doing run time linking.
16013 library_names_spec='${libname}${release}.a $libname.a'
16014 soname_spec='${libname}${release}${shared_ext}$major'
16016 shlibpath_var=LIBPATH
16023 # Since July 2007 AmigaOS4 officially supports .so libraries.
16024 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16028 library_names_spec='$libname.ixlibrary $libname.a'
16029 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16030 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16036 library_names_spec='${libname}${shared_ext}'
16037 dynamic_linker="$host_os ld.so"
16038 shlibpath_var=LIBRARY_PATH
16042 version_type=linux # correct to gnu/linux during the next big refactor
16044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16045 soname_spec='${libname}${release}${shared_ext}$major'
16046 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16047 shlibpath_var=LD_LIBRARY_PATH
16048 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16049 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16050 # the default ld.so.conf also contains /usr/contrib/lib and
16051 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16052 # libtool to hard-code these into programs
16055 cygwin* | mingw* | pw32* | cegcc*)
16056 version_type=windows
16061 case $GCC,$cc_basename in
16064 library_names_spec='$libname.dll.a'
16065 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16066 postinstall_cmds='base_file=`basename \${file}`~
16067 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16068 dldir=$destdir/`dirname \$dlpath`~
16069 test -d \$dldir || mkdir -p \$dldir~
16070 $install_prog $dir/$dlname \$dldir/$dlname~
16071 chmod a+x \$dldir/$dlname~
16072 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16073 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16075 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16076 dlpath=$dir/\$dldll~
16078 shlibpath_overrides_runpath=yes
16082 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16083 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16087 # MinGW DLLs use traditional 'lib' prefix
16088 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16091 # pw32 DLLs use 'pw' prefix rather than 'lib'
16092 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16095 dynamic_linker='Win32 ld.exe'
16100 libname_spec='$name'
16101 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16102 library_names_spec='${libname}.dll.lib'
16106 sys_lib_search_path_spec=
16109 for lt_path in $LIB
16112 # Let DOS variable expansion print the short 8.3 style file name.
16113 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16114 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16117 # Convert to MSYS style.
16118 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16121 # Convert to unix form, then to dos form, then back to unix form
16122 # but this time dos style (no spaces!) so that the unix form looks
16123 # like /cygdrive/c/PROGRA~1:/cygdr...
16124 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16125 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16126 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16129 sys_lib_search_path_spec="$LIB"
16130 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16131 # It is most probably a Windows format PATH.
16132 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16134 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16136 # FIXME: find the short name or the path components, as spaces are
16137 # common. (e.g. "Program Files" -> "PROGRA~1")
16141 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16142 postinstall_cmds='base_file=`basename \${file}`~
16143 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16144 dldir=$destdir/`dirname \$dlpath`~
16145 test -d \$dldir || mkdir -p \$dldir~
16146 $install_prog $dir/$dlname \$dldir/$dlname'
16147 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16148 dlpath=$dir/\$dldll~
16150 shlibpath_overrides_runpath=yes
16151 dynamic_linker='Win32 link.exe'
16155 # Assume MSVC wrapper
16156 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16157 dynamic_linker='Win32 ld.exe'
16160 # FIXME: first we should search . and the directory the executable is in
16164 darwin* | rhapsody*)
16165 dynamic_linker="$host_os dyld"
16166 version_type=darwin
16169 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16170 soname_spec='${libname}${release}${major}$shared_ext'
16171 shlibpath_overrides_runpath=yes
16172 shlibpath_var=DYLD_LIBRARY_PATH
16173 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16175 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16179 version_type=linux # correct to gnu/linux during the next big refactor
16182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16183 soname_spec='${libname}${release}${shared_ext}$major'
16184 shlibpath_var=LD_LIBRARY_PATH
16187 freebsd* | dragonfly*)
16188 # DragonFly does not have aout. When/if they implement a new
16189 # versioning mechanism, adjust this.
16190 if test -x /usr/bin/objformat; then
16191 objformat=`/usr/bin/objformat`
16194 freebsd[23].*) objformat=aout ;;
16195 *) objformat=elf ;;
16198 version_type=freebsd-$objformat
16199 case $version_type in
16201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16206 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16210 shlibpath_var=LD_LIBRARY_PATH
16213 shlibpath_overrides_runpath=yes
16215 freebsd3.[01]* | freebsdelf3.[01]*)
16216 shlibpath_overrides_runpath=yes
16217 hardcode_into_libs=yes
16219 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16220 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16221 shlibpath_overrides_runpath=no
16222 hardcode_into_libs=yes
16224 *) # from 4.6 on, and DragonFly
16225 shlibpath_overrides_runpath=yes
16226 hardcode_into_libs=yes
16232 version_type=linux # correct to gnu/linux during the next big refactor
16235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16236 soname_spec='${libname}${release}${shared_ext}$major'
16237 shlibpath_var=LD_LIBRARY_PATH
16238 shlibpath_overrides_runpath=no
16239 hardcode_into_libs=yes
16243 version_type=linux # correct to gnu/linux during the next big refactor
16246 dynamic_linker="$host_os runtime_loader"
16247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16248 soname_spec='${libname}${release}${shared_ext}$major'
16249 shlibpath_var=LIBRARY_PATH
16250 shlibpath_overrides_runpath=yes
16251 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16252 hardcode_into_libs=yes
16255 hpux9* | hpux10* | hpux11*)
16256 # Give a soname corresponding to the major version so that dld.sl refuses to
16257 # link against other versions.
16264 hardcode_into_libs=yes
16265 dynamic_linker="$host_os dld.so"
16266 shlibpath_var=LD_LIBRARY_PATH
16267 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16269 soname_spec='${libname}${release}${shared_ext}$major'
16270 if test "X$HPUX_IA64_MODE" = X32; then
16271 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16273 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16275 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16279 hardcode_into_libs=yes
16280 dynamic_linker="$host_os dld.sl"
16281 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16282 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16284 soname_spec='${libname}${release}${shared_ext}$major'
16285 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16286 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16290 dynamic_linker="$host_os dld.sl"
16291 shlibpath_var=SHLIB_PATH
16292 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16294 soname_spec='${libname}${release}${shared_ext}$major'
16297 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16298 postinstall_cmds='chmod 555 $lib'
16299 # or fails outright, so override atomically:
16300 install_override_mode=555
16304 version_type=linux # correct to gnu/linux during the next big refactor
16307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16308 soname_spec='${libname}${release}${shared_ext}$major'
16309 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16310 shlibpath_var=LD_LIBRARY_PATH
16311 shlibpath_overrides_runpath=no
16312 hardcode_into_libs=yes
16315 irix5* | irix6* | nonstopux*)
16317 nonstopux*) version_type=nonstopux ;;
16319 if test "$lt_cv_prog_gnu_ld" = yes; then
16320 version_type=linux # correct to gnu/linux during the next big refactor
16327 soname_spec='${libname}${release}${shared_ext}$major'
16328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16330 irix5* | nonstopux*)
16331 libsuff= shlibsuff=
16334 case $LD in # libtool.m4 will add one of these switches to LD
16335 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16336 libsuff= shlibsuff= libmagic=32-bit;;
16337 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16338 libsuff=32 shlibsuff=N32 libmagic=N32;;
16339 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16340 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16341 *) libsuff= shlibsuff= libmagic=never-match;;
16345 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16346 shlibpath_overrides_runpath=no
16347 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16348 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16349 hardcode_into_libs=yes
16352 # No shared lib support for Linux oldld, aout, or coff.
16353 linux*oldld* | linux*aout* | linux*coff*)
16357 # This must be glibc/ELF.
16358 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16359 version_type=linux # correct to gnu/linux during the next big refactor
16362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16363 soname_spec='${libname}${release}${shared_ext}$major'
16364 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16365 shlibpath_var=LD_LIBRARY_PATH
16366 shlibpath_overrides_runpath=no
16368 # Some binutils ld are patched to set DT_RUNPATH
16369 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16370 $as_echo_n "(cached) " >&6
16372 lt_cv_shlibpath_overrides_runpath=no
16373 save_LDFLAGS=$LDFLAGS
16374 save_libdir=$libdir
16375 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16376 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16388 if ac_fn_cxx_try_link "$LINENO"; then :
16389 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16390 lt_cv_shlibpath_overrides_runpath=yes
16393 rm -f core conftest.err conftest.$ac_objext \
16394 conftest$ac_exeext conftest.$ac_ext
16395 LDFLAGS=$save_LDFLAGS
16396 libdir=$save_libdir
16400 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16402 # This implies no fast_install, which is unacceptable.
16403 # Some rework will be needed to allow for fast_install
16404 # before this can be enabled.
16405 hardcode_into_libs=yes
16407 # Append ld.so.conf contents to the search path
16408 if test -f /etc/ld.so.conf; then
16409 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' ' '`
16410 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16413 # We used to test for /lib/ld.so.1 and disable shared libraries on
16414 # powerpc, because MkLinux only supported shared libraries with the
16415 # GNU dynamic linker. Since this was broken with cross compilers,
16416 # most powerpc-linux boxes support dynamic linking these days and
16417 # people can always --disable-shared, the test was removed, and we
16418 # assume the GNU/Linux dynamic linker is in use.
16419 dynamic_linker='GNU/Linux ld.so'
16426 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16428 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16429 dynamic_linker='NetBSD (a.out) ld.so'
16431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16432 soname_spec='${libname}${release}${shared_ext}$major'
16433 dynamic_linker='NetBSD ld.elf_so'
16435 shlibpath_var=LD_LIBRARY_PATH
16436 shlibpath_overrides_runpath=yes
16437 hardcode_into_libs=yes
16441 version_type=linux # correct to gnu/linux during the next big refactor
16442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16443 shlibpath_var=LD_LIBRARY_PATH
16444 shlibpath_overrides_runpath=yes
16451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16452 soname_spec='${libname}${release}${shared_ext}$major'
16453 shlibpath_var=LD_LIBRARY_PATH
16454 shlibpath_overrides_runpath=no
16455 hardcode_into_libs=yes
16456 dynamic_linker='ldqnx.so'
16461 sys_lib_dlsearch_path_spec="/usr/lib"
16463 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16465 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16466 *) need_version=no ;;
16468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16469 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16470 shlibpath_var=LD_LIBRARY_PATH
16471 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16473 openbsd2.[89] | openbsd2.[89].*)
16474 shlibpath_overrides_runpath=no
16477 shlibpath_overrides_runpath=yes
16481 shlibpath_overrides_runpath=yes
16486 libname_spec='$name'
16489 library_names_spec='$libname${shared_ext} $libname.a'
16490 dynamic_linker='OS/2 ld.exe'
16491 shlibpath_var=LIBPATH
16494 osf3* | osf4* | osf5*)
16498 soname_spec='${libname}${release}${shared_ext}$major'
16499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16500 shlibpath_var=LD_LIBRARY_PATH
16501 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16502 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16510 version_type=linux # correct to gnu/linux during the next big refactor
16513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16514 soname_spec='${libname}${release}${shared_ext}$major'
16515 shlibpath_var=LD_LIBRARY_PATH
16516 shlibpath_overrides_runpath=yes
16517 hardcode_into_libs=yes
16518 # ldd complains unless libraries are executable
16519 postinstall_cmds='chmod +x $lib'
16524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16525 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16526 shlibpath_var=LD_LIBRARY_PATH
16527 shlibpath_overrides_runpath=yes
16528 if test "$with_gnu_ld" = yes; then
16535 version_type=linux # correct to gnu/linux during the next big refactor
16536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16537 soname_spec='${libname}${release}${shared_ext}$major'
16538 shlibpath_var=LD_LIBRARY_PATH
16539 case $host_vendor in
16541 shlibpath_overrides_runpath=no
16543 runpath_var=LD_RUN_PATH
16551 shlibpath_overrides_runpath=no
16552 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16558 if test -d /usr/nec ;then
16559 version_type=linux # correct to gnu/linux during the next big refactor
16560 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16561 soname_spec='$libname${shared_ext}.$major'
16562 shlibpath_var=LD_LIBRARY_PATH
16566 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16567 version_type=freebsd-elf
16570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16571 soname_spec='${libname}${release}${shared_ext}$major'
16572 shlibpath_var=LD_LIBRARY_PATH
16573 shlibpath_overrides_runpath=yes
16574 hardcode_into_libs=yes
16575 if test "$with_gnu_ld" = yes; then
16576 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16578 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16581 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16585 sys_lib_dlsearch_path_spec='/usr/lib'
16589 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16590 version_type=linux # correct to gnu/linux during the next big refactor
16593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16594 shlibpath_var=LD_LIBRARY_PATH
16595 shlibpath_overrides_runpath=no
16596 hardcode_into_libs=yes
16600 version_type=linux # correct to gnu/linux during the next big refactor
16601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16602 soname_spec='${libname}${release}${shared_ext}$major'
16603 shlibpath_var=LD_LIBRARY_PATH
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16611 $as_echo "$dynamic_linker" >&6; }
16612 test "$dynamic_linker" = no && can_build_shared=no
16614 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16615 if test "$GCC" = yes; then
16616 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16619 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16620 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16622 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16623 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16664 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16665 hardcode_action_CXX=
16666 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16667 test -n "$runpath_var_CXX" ||
16668 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16670 # We can hardcode non-existent directories.
16671 if test "$hardcode_direct_CXX" != no &&
16672 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16673 # have to relink, otherwise we might link with an installed library
16674 # when we should be linking with a yet-to-be-installed one
16675 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16676 test "$hardcode_minus_L_CXX" != no; then
16677 # Linking always hardcodes the temporary library directory.
16678 hardcode_action_CXX=relink
16680 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16681 hardcode_action_CXX=immediate
16684 # We cannot hardcode anything, or else we can only hardcode existing
16686 hardcode_action_CXX=unsupported
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16689 $as_echo "$hardcode_action_CXX" >&6; }
16691 if test "$hardcode_action_CXX" = relink ||
16692 test "$inherit_rpath_CXX" = yes; then
16693 # Fast installation is not supported
16694 enable_fast_install=no
16695 elif test "$shlibpath_overrides_runpath" = yes ||
16696 test "$enable_shared" = no; then
16697 # Fast installation is not necessary
16698 enable_fast_install=needless
16707 fi # test -n "$compiler"
16710 CFLAGS=$lt_save_CFLAGS
16714 with_gnu_ld=$lt_save_with_gnu_ld
16715 lt_cv_path_LDCXX=$lt_cv_path_LD
16716 lt_cv_path_LD=$lt_save_path_LD
16717 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16718 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16719 fi # test "$_lt_caught_CXX_error" != yes
16722 ac_cpp='$CPP $CPPFLAGS'
16723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16729 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16730 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16731 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16732 if test -n "$ac_tool_prefix"; then
16733 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
16735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16738 $as_echo_n "checking for $ac_word... " >&6; }
16739 if ${ac_cv_prog_F77+:} false; then :
16740 $as_echo_n "(cached) " >&6
16742 if test -n "$F77"; then
16743 ac_cv_prog_F77="$F77" # Let the user override the test.
16745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16746 for as_dir in $PATH
16749 test -z "$as_dir" && as_dir=.
16750 for ac_exec_ext in '' $ac_executable_extensions; do
16751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16752 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
16753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16762 F77=$ac_cv_prog_F77
16763 if test -n "$F77"; then
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
16765 $as_echo "$F77" >&6; }
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16768 $as_echo "no" >&6; }
16772 test -n "$F77" && break
16775 if test -z "$F77"; then
16777 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
16779 # Extract the first word of "$ac_prog", so it can be a program name with args.
16780 set dummy $ac_prog; ac_word=$2
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16782 $as_echo_n "checking for $ac_word... " >&6; }
16783 if ${ac_cv_prog_ac_ct_F77+:} false; then :
16784 $as_echo_n "(cached) " >&6
16786 if test -n "$ac_ct_F77"; then
16787 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
16789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16790 for as_dir in $PATH
16793 test -z "$as_dir" && as_dir=.
16794 for ac_exec_ext in '' $ac_executable_extensions; do
16795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16796 ac_cv_prog_ac_ct_F77="$ac_prog"
16797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16806 ac_ct_F77=$ac_cv_prog_ac_ct_F77
16807 if test -n "$ac_ct_F77"; then
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
16809 $as_echo "$ac_ct_F77" >&6; }
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16812 $as_echo "no" >&6; }
16816 test -n "$ac_ct_F77" && break
16819 if test "x$ac_ct_F77" = x; then
16822 case $cross_compiling:$ac_tool_warned in
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16826 ac_tool_warned=yes ;;
16833 # Provide some information about the compiler.
16834 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
16837 for ac_option in --version -v -V -qversion; do
16838 { { ac_try="$ac_compiler $ac_option >&5"
16839 case "(($ac_try" in
16840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16841 *) ac_try_echo=$ac_try;;
16843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16844 $as_echo "$ac_try_echo"; } >&5
16845 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16847 if test -s conftest.err; then
16849 ... rest of stderr output deleted ...
16850 10q' conftest.err >conftest.er1
16851 cat conftest.er1 >&5
16853 rm -f conftest.er1 conftest.err
16854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16855 test $ac_status = 0; }
16859 # If we don't use `.F' as extension, the preprocessor is not run on the
16860 # input file. (Note that this only needs to work for GNU compilers.)
16861 ac_save_ext=$ac_ext
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
16864 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
16865 if ${ac_cv_f77_compiler_gnu+:} false; then :
16866 $as_echo_n "(cached) " >&6
16868 cat > conftest.$ac_ext <<_ACEOF
16876 if ac_fn_f77_try_compile "$LINENO"; then :
16877 ac_compiler_gnu=yes
16881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16882 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
16886 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
16887 ac_ext=$ac_save_ext
16888 ac_test_FFLAGS=${FFLAGS+set}
16889 ac_save_FFLAGS=$FFLAGS
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
16892 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
16893 if ${ac_cv_prog_f77_g+:} false; then :
16894 $as_echo_n "(cached) " >&6
16897 cat > conftest.$ac_ext <<_ACEOF
16902 if ac_fn_f77_try_compile "$LINENO"; then :
16903 ac_cv_prog_f77_g=yes
16905 ac_cv_prog_f77_g=no
16907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
16911 $as_echo "$ac_cv_prog_f77_g" >&6; }
16912 if test "$ac_test_FFLAGS" = set; then
16913 FFLAGS=$ac_save_FFLAGS
16914 elif test $ac_cv_prog_f77_g = yes; then
16915 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16921 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16928 if test $ac_compiler_gnu = yes; then
16934 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16935 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16936 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16940 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16941 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16942 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16944 if test -z "$F77" || test "X$F77" = "Xno"; then
16945 _lt_disable_F77=yes
16948 archive_cmds_need_lc_F77=no
16949 allow_undefined_flag_F77=
16950 always_export_symbols_F77=no
16951 archive_expsym_cmds_F77=
16952 export_dynamic_flag_spec_F77=
16953 hardcode_direct_F77=no
16954 hardcode_direct_absolute_F77=no
16955 hardcode_libdir_flag_spec_F77=
16956 hardcode_libdir_separator_F77=
16957 hardcode_minus_L_F77=no
16958 hardcode_automatic_F77=no
16959 inherit_rpath_F77=no
16961 module_expsym_cmds_F77=
16962 link_all_deplibs_F77=unknown
16963 old_archive_cmds_F77=$old_archive_cmds
16964 reload_flag_F77=$reload_flag
16965 reload_cmds_F77=$reload_cmds
16966 no_undefined_flag_F77=
16967 whole_archive_flag_spec_F77=
16968 enable_shared_with_static_runtimes_F77=no
16970 # Source file extension for f77 test sources.
16973 # Object file extension for compiled f77 test sources.
16977 # No sense in running all these tests if we already determined that
16978 # the F77 compiler isn't working. Some variables (like enable_shared)
16979 # are currently assumed to apply to all compilers on this platform,
16980 # and will be corrupted by setting them based on a non-working compiler.
16981 if test "$_lt_disable_F77" != yes; then
16982 # Code to be used in simple compile tests
16983 lt_simple_compile_test_code="\
16989 # Code to be used in simple link tests
16990 lt_simple_link_test_code="\
16995 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17002 # If no C compiler was specified, use CC.
17005 # If no C compiler flags were specified, use CFLAGS.
17006 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17008 # Allow CC to be a program name with arguments.
17012 # save warnings/boilerplate of simple test code
17013 ac_outfile=conftest.$ac_objext
17014 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17015 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17016 _lt_compiler_boilerplate=`cat conftest.err`
17019 ac_outfile=conftest.$ac_objext
17020 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17021 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17022 _lt_linker_boilerplate=`cat conftest.err`
17026 # Allow CC to be a program name with arguments.
17029 lt_save_CFLAGS=$CFLAGS
17034 for cc_temp in $compiler""; do
17036 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17037 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17042 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17045 if test -n "$compiler"; then
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
17047 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
17049 $as_echo "$can_build_shared" >&6; }
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
17052 $as_echo_n "checking whether to build shared libraries... " >&6; }
17053 test "$can_build_shared" = "no" && enable_shared=no
17055 # On AIX, shared libraries and static libraries use the same namespace, and
17056 # are all built from PIC.
17059 test "$enable_shared" = yes && enable_static=no
17060 if test -n "$RANLIB"; then
17061 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17062 postinstall_cmds='$RANLIB $lib'
17066 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17067 test "$enable_shared" = yes && enable_static=no
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
17072 $as_echo "$enable_shared" >&6; }
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
17075 $as_echo_n "checking whether to build static libraries... " >&6; }
17076 # Make sure either enable_shared or enable_static is yes.
17077 test "$enable_shared" = yes || enable_static=yes
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
17079 $as_echo "$enable_static" >&6; }
17085 ## There is no encapsulation within the following macros, do not change
17086 ## the running order or otherwise move them around unless you know exactly
17087 ## what you are doing...
17088 lt_prog_compiler_wl_F77=
17089 lt_prog_compiler_pic_F77=
17090 lt_prog_compiler_static_F77=
17093 if test "$GCC" = yes; then
17094 lt_prog_compiler_wl_F77='-Wl,'
17095 lt_prog_compiler_static_F77='-static'
17099 # All AIX code is PIC.
17100 if test "$host_cpu" = ia64; then
17101 # AIX 5 now supports IA64 processor
17102 lt_prog_compiler_static_F77='-Bstatic'
17109 # see comment about AmigaOS4 .so support
17110 lt_prog_compiler_pic_F77='-fPIC'
17113 # FIXME: we need at least 68020 code to build shared libraries, but
17114 # adding the `-m68020' flag to GCC prevents building anything better,
17116 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
17121 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17122 # PIC is the default for these OSes.
17125 mingw* | cygwin* | pw32* | os2* | cegcc*)
17126 # This hack is so that the source file can tell whether it is being
17127 # built for inclusion in a dll (and should export symbols for example).
17128 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17129 # (--disable-auto-import) libraries
17130 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
17133 darwin* | rhapsody*)
17134 # PIC is the default on this platform
17135 # Common symbols not allowed in MH_DYLIB files
17136 lt_prog_compiler_pic_F77='-fno-common'
17140 # PIC is the default for Haiku.
17141 # The "-static" flag exists, but is broken.
17142 lt_prog_compiler_static_F77=
17146 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17147 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17148 # sets the default TLS model and affects inlining.
17154 lt_prog_compiler_pic_F77='-fPIC'
17160 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17161 # Instead, we relocate shared libraries at runtime.
17165 # Just because we use GCC doesn't mean we suddenly get shared libraries
17166 # on systems that don't support them.
17167 lt_prog_compiler_can_build_shared_F77=no
17172 # QNX uses GNU C++, but need to define -shared option too, otherwise
17173 # it will coredump.
17174 lt_prog_compiler_pic_F77='-fPIC -shared'
17178 if test -d /usr/nec; then
17179 lt_prog_compiler_pic_F77=-Kconform_pic
17184 lt_prog_compiler_pic_F77='-fPIC'
17188 case $cc_basename in
17189 nvcc*) # Cuda Compiler Driver 2.2
17190 lt_prog_compiler_wl_F77='-Xlinker '
17191 if test -n "$lt_prog_compiler_pic_F77"; then
17192 lt_prog_compiler_pic_F77="-Xcompiler $lt_prog_compiler_pic_F77"
17197 # PORTME Check for flag to pass linker flags through the system compiler.
17200 lt_prog_compiler_wl_F77='-Wl,'
17201 if test "$host_cpu" = ia64; then
17202 # AIX 5 now supports IA64 processor
17203 lt_prog_compiler_static_F77='-Bstatic'
17205 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
17209 mingw* | cygwin* | pw32* | os2* | cegcc*)
17210 # This hack is so that the source file can tell whether it is being
17211 # built for inclusion in a dll (and should export symbols for example).
17212 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
17215 hpux9* | hpux10* | hpux11*)
17216 lt_prog_compiler_wl_F77='-Wl,'
17217 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17218 # not for PA HP-UX.
17224 lt_prog_compiler_pic_F77='+Z'
17227 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17228 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
17231 irix5* | irix6* | nonstopux*)
17232 lt_prog_compiler_wl_F77='-Wl,'
17233 # PIC (with -KPIC) is the default.
17234 lt_prog_compiler_static_F77='-non_shared'
17237 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17238 case $cc_basename in
17239 # old Intel for x86_64 which still supported -KPIC.
17241 lt_prog_compiler_wl_F77='-Wl,'
17242 lt_prog_compiler_pic_F77='-KPIC'
17243 lt_prog_compiler_static_F77='-static'
17245 # icc used to be incompatible with GCC.
17246 # ICC 10 doesn't accept -KPIC any more.
17248 lt_prog_compiler_wl_F77='-Wl,'
17249 lt_prog_compiler_pic_F77='-fPIC'
17250 lt_prog_compiler_static_F77='-static'
17252 # Lahey Fortran 8.1.
17254 lt_prog_compiler_wl_F77='-Wl,'
17255 lt_prog_compiler_pic_F77='--shared'
17256 lt_prog_compiler_static_F77='--static'
17259 # NAG Fortran compiler
17260 lt_prog_compiler_wl_F77='-Wl,-Wl,,'
17261 lt_prog_compiler_pic_F77='-PIC'
17262 lt_prog_compiler_static_F77='-Bstatic'
17264 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
17265 # Portland Group compilers (*not* the Pentium gcc compiler,
17266 # which looks to be a dead project)
17267 lt_prog_compiler_wl_F77='-Wl,'
17268 lt_prog_compiler_pic_F77='-fpic'
17269 lt_prog_compiler_static_F77='-Bstatic'
17272 lt_prog_compiler_wl_F77='-Wl,'
17273 # All Alpha code is PIC.
17274 lt_prog_compiler_static_F77='-non_shared'
17276 xl* | bgxl* | bgf* | mpixl*)
17277 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
17278 lt_prog_compiler_wl_F77='-Wl,'
17279 lt_prog_compiler_pic_F77='-qpic'
17280 lt_prog_compiler_static_F77='-qstaticlink'
17283 case `$CC -V 2>&1 | sed 5q` in
17284 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
17285 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17286 lt_prog_compiler_pic_F77='-KPIC'
17287 lt_prog_compiler_static_F77='-Bstatic'
17288 lt_prog_compiler_wl_F77=''
17290 *Sun\ F* | *Sun*Fortran*)
17291 lt_prog_compiler_pic_F77='-KPIC'
17292 lt_prog_compiler_static_F77='-Bstatic'
17293 lt_prog_compiler_wl_F77='-Qoption ld '
17297 lt_prog_compiler_pic_F77='-KPIC'
17298 lt_prog_compiler_static_F77='-Bstatic'
17299 lt_prog_compiler_wl_F77='-Wl,'
17301 *Intel*\ [CF]*Compiler*)
17302 lt_prog_compiler_wl_F77='-Wl,'
17303 lt_prog_compiler_pic_F77='-fPIC'
17304 lt_prog_compiler_static_F77='-static'
17307 lt_prog_compiler_wl_F77='-Wl,'
17308 lt_prog_compiler_pic_F77='-fpic'
17309 lt_prog_compiler_static_F77='-Bstatic'
17317 lt_prog_compiler_pic_F77='-KPIC'
17318 lt_prog_compiler_static_F77='-Bstatic'
17322 # QNX uses GNU C++, but need to define -shared option too, otherwise
17323 # it will coredump.
17324 lt_prog_compiler_pic_F77='-fPIC -shared'
17327 osf3* | osf4* | osf5*)
17328 lt_prog_compiler_wl_F77='-Wl,'
17329 # All OSF/1 code is PIC.
17330 lt_prog_compiler_static_F77='-non_shared'
17334 lt_prog_compiler_static_F77='-non_shared'
17338 lt_prog_compiler_pic_F77='-KPIC'
17339 lt_prog_compiler_static_F77='-Bstatic'
17340 case $cc_basename in
17341 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
17342 lt_prog_compiler_wl_F77='-Qoption ld ';;
17344 lt_prog_compiler_wl_F77='-Wl,';;
17349 lt_prog_compiler_wl_F77='-Qoption ld '
17350 lt_prog_compiler_pic_F77='-PIC'
17351 lt_prog_compiler_static_F77='-Bstatic'
17354 sysv4 | sysv4.2uw2* | sysv4.3*)
17355 lt_prog_compiler_wl_F77='-Wl,'
17356 lt_prog_compiler_pic_F77='-KPIC'
17357 lt_prog_compiler_static_F77='-Bstatic'
17361 if test -d /usr/nec ;then
17362 lt_prog_compiler_pic_F77='-Kconform_pic'
17363 lt_prog_compiler_static_F77='-Bstatic'
17367 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17368 lt_prog_compiler_wl_F77='-Wl,'
17369 lt_prog_compiler_pic_F77='-KPIC'
17370 lt_prog_compiler_static_F77='-Bstatic'
17374 lt_prog_compiler_wl_F77='-Wl,'
17375 lt_prog_compiler_can_build_shared_F77=no
17379 lt_prog_compiler_pic_F77='-pic'
17380 lt_prog_compiler_static_F77='-Bstatic'
17384 lt_prog_compiler_can_build_shared_F77=no
17390 # For platforms which do not support PIC, -DPIC is meaningless:
17392 lt_prog_compiler_pic_F77=
17395 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17400 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17401 if ${lt_cv_prog_compiler_pic_F77+:} false; then :
17402 $as_echo_n "(cached) " >&6
17404 lt_cv_prog_compiler_pic_F77=$lt_prog_compiler_pic_F77
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_F77" >&5
17407 $as_echo "$lt_cv_prog_compiler_pic_F77" >&6; }
17408 lt_prog_compiler_pic_F77=$lt_cv_prog_compiler_pic_F77
17411 # Check to make sure the PIC flag actually works.
17413 if test -n "$lt_prog_compiler_pic_F77"; then
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17415 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
17416 if ${lt_cv_prog_compiler_pic_works_F77+:} false; then :
17417 $as_echo_n "(cached) " >&6
17419 lt_cv_prog_compiler_pic_works_F77=no
17420 ac_outfile=conftest.$ac_objext
17421 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17422 lt_compiler_flag="$lt_prog_compiler_pic_F77"
17423 # Insert the option either (1) after the last *FLAGS variable, or
17424 # (2) before a word containing "conftest.", or (3) at the end.
17425 # Note that $ac_compile itself does not contain backslashes and begins
17426 # with a dollar sign (not a hyphen), so the echo should work correctly.
17427 # The option is referenced via a variable to avoid confusing sed.
17428 lt_compile=`echo "$ac_compile" | $SED \
17429 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17430 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17431 -e 's:$: $lt_compiler_flag:'`
17432 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17433 (eval "$lt_compile" 2>conftest.err)
17435 cat conftest.err >&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 if (exit $ac_status) && test -s "$ac_outfile"; then
17438 # The compiler can only warn and ignore the option if not recognized
17439 # So say no if there are warnings other than the usual output.
17440 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
17441 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17442 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17443 lt_cv_prog_compiler_pic_works_F77=yes
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5
17450 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
17452 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
17453 case $lt_prog_compiler_pic_F77 in
17455 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
17458 lt_prog_compiler_pic_F77=
17459 lt_prog_compiler_can_build_shared_F77=no
17469 # Check to make sure the static flag actually works.
17471 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17473 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17474 if ${lt_cv_prog_compiler_static_works_F77+:} false; then :
17475 $as_echo_n "(cached) " >&6
17477 lt_cv_prog_compiler_static_works_F77=no
17478 save_LDFLAGS="$LDFLAGS"
17479 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17480 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17481 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17482 # The linker can only warn and ignore the option if not recognized
17483 # So say no if there are warnings
17484 if test -s conftest.err; then
17485 # Append any errors to the config.log.
17486 cat conftest.err 1>&5
17487 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
17488 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17489 if diff conftest.exp conftest.er2 >/dev/null; then
17490 lt_cv_prog_compiler_static_works_F77=yes
17493 lt_cv_prog_compiler_static_works_F77=yes
17497 LDFLAGS="$save_LDFLAGS"
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5
17501 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
17503 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
17506 lt_prog_compiler_static_F77=
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17513 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17514 if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
17515 $as_echo_n "(cached) " >&6
17517 lt_cv_prog_compiler_c_o_F77=no
17518 $RM -r conftest 2>/dev/null
17522 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17524 lt_compiler_flag="-o out/conftest2.$ac_objext"
17525 # Insert the option either (1) after the last *FLAGS variable, or
17526 # (2) before a word containing "conftest.", or (3) at the end.
17527 # Note that $ac_compile itself does not contain backslashes and begins
17528 # with a dollar sign (not a hyphen), so the echo should work correctly.
17529 lt_compile=`echo "$ac_compile" | $SED \
17530 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17531 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17532 -e 's:$: $lt_compiler_flag:'`
17533 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17534 (eval "$lt_compile" 2>out/conftest.err)
17536 cat out/conftest.err >&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17540 # The compiler can only warn and ignore the option if not recognized
17541 # So say no if there are warnings
17542 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17543 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17544 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17545 lt_cv_prog_compiler_c_o_F77=yes
17550 # SGI C++ compiler will create directory out/ii_files/ for
17551 # template instantiation
17552 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17553 $RM out/* && rmdir out
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
17560 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17565 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17566 if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
17567 $as_echo_n "(cached) " >&6
17569 lt_cv_prog_compiler_c_o_F77=no
17570 $RM -r conftest 2>/dev/null
17574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17576 lt_compiler_flag="-o out/conftest2.$ac_objext"
17577 # Insert the option either (1) after the last *FLAGS variable, or
17578 # (2) before a word containing "conftest.", or (3) at the end.
17579 # Note that $ac_compile itself does not contain backslashes and begins
17580 # with a dollar sign (not a hyphen), so the echo should work correctly.
17581 lt_compile=`echo "$ac_compile" | $SED \
17582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17584 -e 's:$: $lt_compiler_flag:'`
17585 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17586 (eval "$lt_compile" 2>out/conftest.err)
17588 cat out/conftest.err >&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17592 # The compiler can only warn and ignore the option if not recognized
17593 # So say no if there are warnings
17594 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17595 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17596 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17597 lt_cv_prog_compiler_c_o_F77=yes
17602 # SGI C++ compiler will create directory out/ii_files/ for
17603 # template instantiation
17604 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17605 $RM out/* && rmdir out
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
17612 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
17617 hard_links="nottested"
17618 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
17619 # do not overwrite the value of need_locks provided by the user
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17621 $as_echo_n "checking if we can lock with hard links... " >&6; }
17624 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17626 ln conftest.a conftest.b 2>&5 || hard_links=no
17627 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17629 $as_echo "$hard_links" >&6; }
17630 if test "$hard_links" = no; then
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17632 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17642 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17645 allow_undefined_flag_F77=
17646 always_export_symbols_F77=no
17648 archive_expsym_cmds_F77=
17649 compiler_needs_object_F77=no
17650 enable_shared_with_static_runtimes_F77=no
17651 export_dynamic_flag_spec_F77=
17652 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17653 hardcode_automatic_F77=no
17654 hardcode_direct_F77=no
17655 hardcode_direct_absolute_F77=no
17656 hardcode_libdir_flag_spec_F77=
17657 hardcode_libdir_separator_F77=
17658 hardcode_minus_L_F77=no
17659 hardcode_shlibpath_var_F77=unsupported
17660 inherit_rpath_F77=no
17661 link_all_deplibs_F77=unknown
17663 module_expsym_cmds_F77=
17664 old_archive_from_new_cmds_F77=
17665 old_archive_from_expsyms_cmds_F77=
17666 thread_safe_flag_spec_F77=
17667 whole_archive_flag_spec_F77=
17668 # include_expsyms should be a list of space-separated symbols to be *always*
17669 # included in the symbol list
17670 include_expsyms_F77=
17671 # exclude_expsyms can be an extended regexp of symbols to exclude
17672 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17673 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17674 # as well as any symbol that contains `d'.
17675 exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17676 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17677 # platforms (ab)use it in PIC code, but their linkers get confused if
17678 # the symbol is explicitly referenced. Since portable code cannot
17679 # rely on this symbol name, it's probably fine to never include it in
17680 # preloaded symbol tables.
17681 # Exclude shared library initialization/finalization symbols.
17682 extract_expsyms_cmds=
17685 cygwin* | mingw* | pw32* | cegcc*)
17686 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17687 # When not using gcc, we currently assume that we are using
17688 # Microsoft Visual C++.
17689 if test "$GCC" != yes; then
17694 # we just hope/assume this is gcc and not c89 (= MSVC++)
17704 # On some targets, GNU ld is compatible enough with the native linker
17705 # that we're better off using the native interface for both.
17706 lt_use_gnu_ld_interface=no
17707 if test "$with_gnu_ld" = yes; then
17710 # The AIX port of GNU ld has always aspired to compatibility
17711 # with the native linker. However, as the warning in the GNU ld
17712 # block says, versions before 2.19.5* couldn't really create working
17713 # shared libraries, regardless of the interface used.
17714 case `$LD -v 2>&1` in
17715 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
17716 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
17717 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
17719 lt_use_gnu_ld_interface=yes
17724 lt_use_gnu_ld_interface=yes
17729 if test "$lt_use_gnu_ld_interface" = yes; then
17730 # If archive_cmds runs LD, not CC, wlarc should be empty
17733 # Set some defaults for GNU ld with shared library support. These
17734 # are reset later if shared libraries are not supported. Putting them
17735 # here allows them to be overridden if necessary.
17736 runpath_var=LD_RUN_PATH
17737 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17738 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17739 # ancient GNU ld didn't support --whole-archive et. al.
17740 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
17741 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17743 whole_archive_flag_spec_F77=
17745 supports_anon_versioning=no
17746 case `$LD -v 2>&1` in
17747 *GNU\ gold*) supports_anon_versioning=yes ;;
17748 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17749 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17750 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17751 *\ 2.11.*) ;; # other 2.11 versions
17752 *) supports_anon_versioning=yes ;;
17755 # See if GNU ld supports shared libraries.
17758 # On AIX/PPC, the GNU linker is very broken
17759 if test "$host_cpu" != ia64; then
17763 *** Warning: the GNU linker, at least up to release 2.19, is reported
17764 *** to be unable to reliably create shared libraries on AIX.
17765 *** Therefore, libtool is disabling shared libraries support. If you
17766 *** really care for shared libraries, you may want to install binutils
17767 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
17768 *** You will then need to restart the configuration process.
17777 # see comment about AmigaOS4 .so support
17778 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17779 archive_expsym_cmds_F77=''
17782 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)'
17783 hardcode_libdir_flag_spec_F77='-L$libdir'
17784 hardcode_minus_L_F77=yes
17790 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17791 allow_undefined_flag_F77=unsupported
17792 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17793 # support --undefined. This deserves some investigation. FIXME
17794 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17800 cygwin* | mingw* | pw32* | cegcc*)
17801 # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17802 # as there is no search path for DLLs.
17803 hardcode_libdir_flag_spec_F77='-L$libdir'
17804 export_dynamic_flag_spec_F77='${wl}--export-all-symbols'
17805 allow_undefined_flag_F77=unsupported
17806 always_export_symbols_F77=no
17807 enable_shared_with_static_runtimes_F77=yes
17808 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'
17809 exclude_expsyms_F77='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17811 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17812 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17813 # If the export-symbols file already is a .def file (1st line
17814 # is EXPORTS), use it as is; otherwise, prepend...
17815 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17816 cp $export_symbols $output_objdir/$soname.def;
17818 echo EXPORTS > $output_objdir/$soname.def;
17819 cat $export_symbols >> $output_objdir/$soname.def;
17821 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17828 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17829 link_all_deplibs_F77=yes
17833 hardcode_direct_F77=no
17834 hardcode_shlibpath_var_F77=no
17835 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17836 export_dynamic_flag_spec_F77='${wl}-E'
17837 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17838 # Instead, shared libraries are loaded at an image base (0x10000000 by
17839 # default) and relocated if they conflict, which is a slow very memory
17840 # consuming and fragmenting process. To avoid this, we pick a random,
17841 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17842 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17843 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'
17844 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'
17847 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
17849 if test "$host_os" = linux-dietlibc; then
17850 case $cc_basename in
17851 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
17854 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
17855 && test "$tmp_diet" = no
17857 tmp_addflag=' $pic_flag'
17858 tmp_sharedflag='-shared'
17859 case $cc_basename,$host_cpu in
17860 pgcc*) # Portland Group C compiler
17861 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'
17862 tmp_addflag=' $pic_flag'
17864 pgf77* | pgf90* | pgf95* | pgfortran*)
17865 # Portland Group f77 and f90 compilers
17866 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'
17867 tmp_addflag=' $pic_flag -Mnomain' ;;
17868 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17869 tmp_addflag=' -i_dynamic' ;;
17870 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17871 tmp_addflag=' -i_dynamic -nofor_main' ;;
17872 ifc* | ifort*) # Intel Fortran compiler
17873 tmp_addflag=' -nofor_main' ;;
17874 lf95*) # Lahey Fortran 8.1
17875 whole_archive_flag_spec_F77=
17876 tmp_sharedflag='--shared' ;;
17877 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
17878 tmp_sharedflag='-qmkshrobj'
17880 nvcc*) # Cuda Compiler Driver 2.2
17881 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'
17882 compiler_needs_object_F77=yes
17885 case `$CC -V 2>&1 | sed 5q` in
17886 *Sun\ C*) # Sun C 5.9
17887 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'
17888 compiler_needs_object_F77=yes
17889 tmp_sharedflag='-G' ;;
17890 *Sun\ F*) # Sun Fortran 8.3
17891 tmp_sharedflag='-G' ;;
17893 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17895 if test "x$supports_anon_versioning" = xyes; then
17896 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
17897 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17898 echo "local: *; };" >> $output_objdir/$libname.ver~
17899 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17902 case $cc_basename in
17903 xlf* | bgf* | bgxlf* | mpixlf*)
17904 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
17905 whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
17906 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17907 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
17908 if test "x$supports_anon_versioning" = xyes; then
17909 archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
17910 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17911 echo "local: *; };" >> $output_objdir/$libname.ver~
17912 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
17922 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17923 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17926 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17927 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'
17932 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
17936 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17937 *** create shared libraries on Solaris systems. Therefore, libtool
17938 *** is disabling shared libraries support. We urge you to upgrade GNU
17939 *** binutils to release 2.9.1 or newer. Another option is to modify
17940 *** your PATH or compiler configuration so that the native linker is
17941 *** used, and then restart.
17944 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17945 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17946 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'
17952 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17953 case `$LD -v 2>&1` in
17954 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17958 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17959 *** reliably create shared libraries on SCO systems. Therefore, libtool
17960 *** is disabling shared libraries support. We urge you to upgrade GNU
17961 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17962 *** your PATH or compiler configuration so that the native linker is
17963 *** used, and then restart.
17968 # For security reasons, it is highly recommended that you always
17969 # use absolute paths for naming shared libraries, and exclude the
17970 # DT_RUNPATH tag from executables and libraries. But doing so
17971 # requires that you compile everything twice, which is a pain.
17972 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17973 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17974 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17975 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17984 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17986 hardcode_direct_F77=yes
17987 hardcode_shlibpath_var_F77=no
17991 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17992 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17993 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'
18000 if test "$ld_shlibs_F77" = no; then
18002 hardcode_libdir_flag_spec_F77=
18003 export_dynamic_flag_spec_F77=
18004 whole_archive_flag_spec_F77=
18007 # PORTME fill in a description of your system's linker (not GNU ld)
18010 allow_undefined_flag_F77=unsupported
18011 always_export_symbols_F77=yes
18012 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'
18013 # Note: this linker hardcodes the directories in LIBPATH if there
18014 # are no directories specified by -L.
18015 hardcode_minus_L_F77=yes
18016 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18017 # Neither direct hardcoding nor static linking is supported with a
18019 hardcode_direct_F77=unsupported
18024 if test "$host_cpu" = ia64; then
18025 # On IA64, the linker does run time linking by default, so we don't
18026 # have to do anything special.
18027 aix_use_runtimelinking=no
18028 exp_sym_flag='-Bexport'
18031 # If we're using GNU nm, then we don't want the "-C" option.
18032 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18033 # Also, AIX nm treats weak defined symbols like other global
18034 # defined symbols, whereas GNU nm marks them as "W".
18035 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
18036 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
18038 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
18040 aix_use_runtimelinking=no
18042 # Test if we are trying to use run time linking or normal
18043 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18044 # need to do runtime linking.
18045 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18046 for ld_flag in $LDFLAGS; do
18047 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18048 aix_use_runtimelinking=yes
18055 exp_sym_flag='-bexport'
18056 no_entry_flag='-bnoentry'
18059 # When large executables or shared objects are built, AIX ld can
18060 # have problems creating the table of contents. If linking a library
18061 # or program results in "error TOC overflow" add -mminimal-toc to
18062 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18063 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18065 archive_cmds_F77=''
18066 hardcode_direct_F77=yes
18067 hardcode_direct_absolute_F77=yes
18068 hardcode_libdir_separator_F77=':'
18069 link_all_deplibs_F77=yes
18070 file_list_spec_F77='${wl}-f,'
18072 if test "$GCC" = yes; then
18073 case $host_os in aix4.[012]|aix4.[012].*)
18074 # We only want to do this on AIX 4.2 and lower, the check
18075 # below for broken collect2 doesn't work under 4.3+
18076 collect2name=`${CC} -print-prog-name=collect2`
18077 if test -f "$collect2name" &&
18078 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18080 # We have reworked collect2
18083 # We have old collect2
18084 hardcode_direct_F77=unsupported
18085 # It fails to find uninstalled libraries when the uninstalled
18086 # path is not listed in the libpath. Setting hardcode_minus_L
18087 # to unsupported forces relinking
18088 hardcode_minus_L_F77=yes
18089 hardcode_libdir_flag_spec_F77='-L$libdir'
18090 hardcode_libdir_separator_F77=
18094 shared_flag='-shared'
18095 if test "$aix_use_runtimelinking" = yes; then
18096 shared_flag="$shared_flag "'${wl}-G'
18100 if test "$host_cpu" = ia64; then
18101 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18102 # chokes on -Wl,-G. The following line is correct:
18105 if test "$aix_use_runtimelinking" = yes; then
18106 shared_flag='${wl}-G'
18108 shared_flag='${wl}-bM:SRE'
18113 export_dynamic_flag_spec_F77='${wl}-bexpall'
18114 # It seems that -bexpall does not export symbols beginning with
18115 # underscore (_), so it is better to generate a list of symbols to export.
18116 always_export_symbols_F77=yes
18117 if test "$aix_use_runtimelinking" = yes; then
18118 # Warning - without using the other runtime loading flags (-brtl),
18119 # -berok will link without error, but may produce a broken library.
18120 allow_undefined_flag_F77='-berok'
18121 # Determine the default libpath from the value encoded in an
18122 # empty executable.
18123 if test "${lt_cv_aix_libpath+set}" = set; then
18124 aix_libpath=$lt_cv_aix_libpath
18126 if ${lt_cv_aix_libpath__F77+:} false; then :
18127 $as_echo_n "(cached) " >&6
18129 cat > conftest.$ac_ext <<_ACEOF
18134 if ac_fn_f77_try_link "$LINENO"; then :
18136 lt_aix_libpath_sed='
18137 /Import File Strings/,/^$/ {
18139 s/^0 *\([^ ]*\) *$/\1/
18143 lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18144 # Check for a 64-bit object if we didn't find anything.
18145 if test -z "$lt_cv_aix_libpath__F77"; then
18146 lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18149 rm -f core conftest.err conftest.$ac_objext \
18150 conftest$ac_exeext conftest.$ac_ext
18151 if test -z "$lt_cv_aix_libpath__F77"; then
18152 lt_cv_aix_libpath__F77="/usr/lib:/lib"
18157 aix_libpath=$lt_cv_aix_libpath__F77
18160 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
18161 archive_expsym_cmds_F77='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18163 if test "$host_cpu" = ia64; then
18164 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
18165 allow_undefined_flag_F77="-z nodefs"
18166 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"
18168 # Determine the default libpath from the value encoded in an
18169 # empty executable.
18170 if test "${lt_cv_aix_libpath+set}" = set; then
18171 aix_libpath=$lt_cv_aix_libpath
18173 if ${lt_cv_aix_libpath__F77+:} false; then :
18174 $as_echo_n "(cached) " >&6
18176 cat > conftest.$ac_ext <<_ACEOF
18181 if ac_fn_f77_try_link "$LINENO"; then :
18183 lt_aix_libpath_sed='
18184 /Import File Strings/,/^$/ {
18186 s/^0 *\([^ ]*\) *$/\1/
18190 lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18191 # Check for a 64-bit object if we didn't find anything.
18192 if test -z "$lt_cv_aix_libpath__F77"; then
18193 lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18196 rm -f core conftest.err conftest.$ac_objext \
18197 conftest$ac_exeext conftest.$ac_ext
18198 if test -z "$lt_cv_aix_libpath__F77"; then
18199 lt_cv_aix_libpath__F77="/usr/lib:/lib"
18204 aix_libpath=$lt_cv_aix_libpath__F77
18207 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
18208 # Warning - without using the other run time loading flags,
18209 # -berok will link without error, but may produce a broken library.
18210 no_undefined_flag_F77=' ${wl}-bernotok'
18211 allow_undefined_flag_F77=' ${wl}-berok'
18212 if test "$with_gnu_ld" = yes; then
18213 # We only use this code for GNU lds that support --whole-archive.
18214 whole_archive_flag_spec_F77='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18216 # Exported symbols can be pulled into shared objects from archives
18217 whole_archive_flag_spec_F77='$convenience'
18219 archive_cmds_need_lc_F77=yes
18220 # This is similar to how AIX traditionally builds its shared libraries.
18221 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18229 # see comment about AmigaOS4 .so support
18230 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18231 archive_expsym_cmds_F77=''
18234 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)'
18235 hardcode_libdir_flag_spec_F77='-L$libdir'
18236 hardcode_minus_L_F77=yes
18242 export_dynamic_flag_spec_F77=-rdynamic
18245 cygwin* | mingw* | pw32* | cegcc*)
18246 # When not using gcc, we currently assume that we are using
18247 # Microsoft Visual C++.
18248 # hardcode_libdir_flag_spec is actually meaningless, as there is
18249 # no search path for DLLs.
18250 case $cc_basename in
18253 hardcode_libdir_flag_spec_F77=' '
18254 allow_undefined_flag_F77=unsupported
18255 always_export_symbols_F77=yes
18256 file_list_spec_F77='@'
18257 # Tell ltmain to make .lib files, not .a files.
18259 # Tell ltmain to make .dll files, not .so files.
18261 # FIXME: Setting linknames here is a bad hack.
18262 archive_cmds_F77='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
18263 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18264 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
18266 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
18268 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
18270 # The linker will not automatically build a static lib if we build a DLL.
18271 # _LT_TAGVAR(old_archive_from_new_cmds, F77)='true'
18272 enable_shared_with_static_runtimes_F77=yes
18273 exclude_expsyms_F77='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
18274 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18276 old_postinstall_cmds_F77='chmod 644 $oldlib'
18277 postlink_cmds_F77='lt_outputfile="@OUTPUT@"~
18278 lt_tool_outputfile="@TOOL_OUTPUT@"~
18279 case $lt_outputfile in
18282 lt_outputfile="$lt_outputfile.exe"
18283 lt_tool_outputfile="$lt_tool_outputfile.exe"
18286 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
18287 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
18288 $RM "$lt_outputfile.manifest";
18292 # Assume MSVC wrapper
18293 hardcode_libdir_flag_spec_F77=' '
18294 allow_undefined_flag_F77=unsupported
18295 # Tell ltmain to make .lib files, not .a files.
18297 # Tell ltmain to make .dll files, not .so files.
18299 # FIXME: Setting linknames here is a bad hack.
18300 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
18301 # The linker will automatically build a .lib file if we build a DLL.
18302 old_archive_from_new_cmds_F77='true'
18303 # FIXME: Should let the user specify the lib program.
18304 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
18305 enable_shared_with_static_runtimes_F77=yes
18310 darwin* | rhapsody*)
18313 archive_cmds_need_lc_F77=no
18314 hardcode_direct_F77=no
18315 hardcode_automatic_F77=yes
18316 hardcode_shlibpath_var_F77=unsupported
18317 if test "$lt_cv_ld_force_load" = "yes"; then
18318 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\"`'
18319 compiler_needs_object_F77=yes
18321 whole_archive_flag_spec_F77=''
18323 link_all_deplibs_F77=yes
18324 allow_undefined_flag_F77="$_lt_dar_allow_undefined"
18325 case $cc_basename in
18326 ifort*) _lt_dar_can_shared=yes ;;
18327 *) _lt_dar_can_shared=$GCC ;;
18329 if test "$_lt_dar_can_shared" = "yes"; then
18330 output_verbose_link_cmd=func_echo_all
18331 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}"
18332 module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18333 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}"
18334 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}"
18343 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18344 hardcode_libdir_flag_spec_F77='-L$libdir'
18345 hardcode_shlibpath_var_F77=no
18348 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18349 # support. Future versions do this automatically, but an explicit c++rt0.o
18350 # does not break anything, and helps significantly (at the cost of a little
18353 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18354 hardcode_libdir_flag_spec_F77='-R$libdir'
18355 hardcode_direct_F77=yes
18356 hardcode_shlibpath_var_F77=no
18359 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18361 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18362 hardcode_direct_F77=yes
18363 hardcode_minus_L_F77=yes
18364 hardcode_shlibpath_var_F77=no
18367 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18368 freebsd* | dragonfly*)
18369 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18370 hardcode_libdir_flag_spec_F77='-R$libdir'
18371 hardcode_direct_F77=yes
18372 hardcode_shlibpath_var_F77=no
18376 if test "$GCC" = yes; then
18377 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18379 archive_cmds_F77='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18381 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
18382 hardcode_libdir_separator_F77=:
18383 hardcode_direct_F77=yes
18385 # hardcode_minus_L: Not really in the search PATH,
18386 # but as the default location of the library.
18387 hardcode_minus_L_F77=yes
18388 export_dynamic_flag_spec_F77='${wl}-E'
18392 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
18393 archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18395 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18397 if test "$with_gnu_ld" = no; then
18398 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
18399 hardcode_libdir_separator_F77=:
18400 hardcode_direct_F77=yes
18401 hardcode_direct_absolute_F77=yes
18402 export_dynamic_flag_spec_F77='${wl}-E'
18403 # hardcode_minus_L: Not really in the search PATH,
18404 # but as the default location of the library.
18405 hardcode_minus_L_F77=yes
18410 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
18413 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18416 archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18419 archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18425 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18428 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18431 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18435 if test "$with_gnu_ld" = no; then
18436 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
18437 hardcode_libdir_separator_F77=:
18441 hardcode_direct_F77=no
18442 hardcode_shlibpath_var_F77=no
18445 hardcode_direct_F77=yes
18446 hardcode_direct_absolute_F77=yes
18447 export_dynamic_flag_spec_F77='${wl}-E'
18449 # hardcode_minus_L: Not really in the search PATH,
18450 # but as the default location of the library.
18451 hardcode_minus_L_F77=yes
18457 irix5* | irix6* | nonstopux*)
18458 if test "$GCC" = yes; then
18459 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'
18460 # Try to use the -exported_symbol ld option, if it does not
18461 # work, assume that -exports_file does not work either and
18462 # implicitly export all symbols.
18463 # This should be the same for all languages, so no per-tag cache variable.
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
18465 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
18466 if ${lt_cv_irix_exported_symbol+:} false; then :
18467 $as_echo_n "(cached) " >&6
18469 save_LDFLAGS="$LDFLAGS"
18470 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18471 cat > conftest.$ac_ext <<_ACEOF
18476 if ac_fn_f77_try_link "$LINENO"; then :
18477 lt_cv_irix_exported_symbol=yes
18479 lt_cv_irix_exported_symbol=no
18481 rm -f core conftest.err conftest.$ac_objext \
18482 conftest$ac_exeext conftest.$ac_ext
18483 LDFLAGS="$save_LDFLAGS"
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
18486 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
18487 if test "$lt_cv_irix_exported_symbol" = yes; then
18488 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'
18491 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'
18492 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'
18494 archive_cmds_need_lc_F77='no'
18495 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18496 hardcode_libdir_separator_F77=:
18497 inherit_rpath_F77=yes
18498 link_all_deplibs_F77=yes
18502 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18503 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18505 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18507 hardcode_libdir_flag_spec_F77='-R$libdir'
18508 hardcode_direct_F77=yes
18509 hardcode_shlibpath_var_F77=no
18513 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18514 hardcode_direct_F77=yes
18515 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18516 hardcode_libdir_separator_F77=:
18517 hardcode_shlibpath_var_F77=no
18524 if test -f /usr/libexec/ld.so; then
18525 hardcode_direct_F77=yes
18526 hardcode_shlibpath_var_F77=no
18527 hardcode_direct_absolute_F77=yes
18528 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18529 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18530 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18531 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
18532 export_dynamic_flag_spec_F77='${wl}-E'
18535 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18536 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18537 hardcode_libdir_flag_spec_F77='-R$libdir'
18540 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18541 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
18551 hardcode_libdir_flag_spec_F77='-L$libdir'
18552 hardcode_minus_L_F77=yes
18553 allow_undefined_flag_F77=unsupported
18554 archive_cmds_F77='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18555 old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18559 if test "$GCC" = yes; then
18560 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
18561 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'
18563 allow_undefined_flag_F77=' -expect_unresolved \*'
18564 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'
18566 archive_cmds_need_lc_F77='no'
18567 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18568 hardcode_libdir_separator_F77=:
18571 osf4* | osf5*) # as osf3* with the addition of -msym flag
18572 if test "$GCC" = yes; then
18573 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
18574 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'
18575 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
18577 allow_undefined_flag_F77=' -expect_unresolved \*'
18578 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'
18579 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~
18580 $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'
18582 # Both c and cxx compiler support -rpath directly
18583 hardcode_libdir_flag_spec_F77='-rpath $libdir'
18585 archive_cmds_need_lc_F77='no'
18586 hardcode_libdir_separator_F77=:
18590 no_undefined_flag_F77=' -z defs'
18591 if test "$GCC" = yes; then
18593 archive_cmds_F77='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18594 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18595 $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'
18597 case `$CC -V 2>&1` in
18600 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18601 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18602 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18606 archive_cmds_F77='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
18607 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18608 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18612 hardcode_libdir_flag_spec_F77='-R$libdir'
18613 hardcode_shlibpath_var_F77=no
18615 solaris2.[0-5] | solaris2.[0-5].*) ;;
18617 # The compiler driver will combine and reorder linker options,
18618 # but understands `-z linker_flag'. GCC discards it without `$wl',
18619 # but is careful enough not to reorder.
18620 # Supported since Solaris 2.6 (maybe 2.5.1?)
18621 if test "$GCC" = yes; then
18622 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18624 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
18628 link_all_deplibs_F77=yes
18632 if test "x$host_vendor" = xsequent; then
18633 # Use $CC to link under sequent, because it throws in some extra .o
18634 # files that make .init and .fini sections work.
18635 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18637 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18639 hardcode_libdir_flag_spec_F77='-L$libdir'
18640 hardcode_direct_F77=yes
18641 hardcode_minus_L_F77=yes
18642 hardcode_shlibpath_var_F77=no
18646 case $host_vendor in
18648 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18649 hardcode_direct_F77=yes # is this really true???
18652 ## LD is ld it makes a PLAMLIB
18653 ## CC just makes a GrossModule.
18654 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18655 reload_cmds_F77='$CC -r -o $output$reload_objs'
18656 hardcode_direct_F77=no
18659 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18660 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
18663 runpath_var='LD_RUN_PATH'
18664 hardcode_shlibpath_var_F77=no
18668 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18669 hardcode_shlibpath_var_F77=no
18670 export_dynamic_flag_spec_F77='-Bexport'
18674 if test -d /usr/nec; then
18675 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18676 hardcode_shlibpath_var_F77=no
18677 runpath_var=LD_RUN_PATH
18678 hardcode_runpath_var=yes
18683 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18684 no_undefined_flag_F77='${wl}-z,text'
18685 archive_cmds_need_lc_F77=no
18686 hardcode_shlibpath_var_F77=no
18687 runpath_var='LD_RUN_PATH'
18689 if test "$GCC" = yes; then
18690 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18691 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18693 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18694 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18698 sysv5* | sco3.2v5* | sco5v6*)
18699 # Note: We can NOT use -z defs as we might desire, because we do not
18700 # link with -lc, and that would cause any symbols used from libc to
18701 # always be unresolved, which means just about no library would
18702 # ever link correctly. If we're not using GNU ld we use -z text
18703 # though, which does catch some bad symbols but isn't as heavy-handed
18705 no_undefined_flag_F77='${wl}-z,text'
18706 allow_undefined_flag_F77='${wl}-z,nodefs'
18707 archive_cmds_need_lc_F77=no
18708 hardcode_shlibpath_var_F77=no
18709 hardcode_libdir_flag_spec_F77='${wl}-R,$libdir'
18710 hardcode_libdir_separator_F77=':'
18711 link_all_deplibs_F77=yes
18712 export_dynamic_flag_spec_F77='${wl}-Bexport'
18713 runpath_var='LD_RUN_PATH'
18715 if test "$GCC" = yes; then
18716 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18717 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18719 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18720 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18725 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18726 hardcode_libdir_flag_spec_F77='-L$libdir'
18727 hardcode_shlibpath_var_F77=no
18735 if test x$host_vendor = xsni; then
18737 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18738 export_dynamic_flag_spec_F77='${wl}-Blargedynsym'
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
18745 $as_echo "$ld_shlibs_F77" >&6; }
18746 test "$ld_shlibs_F77" = no && can_build_shared=no
18748 with_gnu_ld_F77=$with_gnu_ld
18756 # Do we need to explicitly link libc?
18758 case "x$archive_cmds_need_lc_F77" in
18760 # Assume -lc should be added
18761 archive_cmds_need_lc_F77=yes
18763 if test "$enable_shared" = yes && test "$GCC" = yes; then
18764 case $archive_cmds_F77 in
18766 # FIXME: we may have to deal with multi-command sequences.
18769 # Test whether the compiler implicitly links with -lc since on some
18770 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18771 # to ld, don't add -lc before -lgcc.
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18773 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18774 if ${lt_cv_archive_cmds_need_lc_F77+:} false; then :
18775 $as_echo_n "(cached) " >&6
18778 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18781 (eval $ac_compile) 2>&5
18783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18784 test $ac_status = 0; } 2>conftest.err; then
18787 libobjs=conftest.$ac_objext
18789 wl=$lt_prog_compiler_wl_F77
18790 pic_flag=$lt_prog_compiler_pic_F77
18796 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
18797 allow_undefined_flag_F77=
18798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18799 (eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
18801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18802 test $ac_status = 0; }
18804 lt_cv_archive_cmds_need_lc_F77=no
18806 lt_cv_archive_cmds_need_lc_F77=yes
18808 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
18810 cat conftest.err 1>&5
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_F77" >&5
18816 $as_echo "$lt_cv_archive_cmds_need_lc_F77" >&6; }
18817 archive_cmds_need_lc_F77=$lt_cv_archive_cmds_need_lc_F77
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18886 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18888 library_names_spec=
18889 libname_spec='lib$name'
18893 postuninstall_cmds=
18897 shlibpath_overrides_runpath=unknown
18899 dynamic_linker="$host_os ld.so"
18900 sys_lib_dlsearch_path_spec="/lib /usr/lib"
18901 need_lib_prefix=unknown
18902 hardcode_into_libs=no
18904 # when you set need_version to no, make sure it does not cause -set_version
18905 # flags to be left without arguments
18906 need_version=unknown
18910 version_type=linux # correct to gnu/linux during the next big refactor
18911 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18912 shlibpath_var=LIBPATH
18914 # AIX 3 has no versioning support, so we append a major version to the name.
18915 soname_spec='${libname}${release}${shared_ext}$major'
18919 version_type=linux # correct to gnu/linux during the next big refactor
18922 hardcode_into_libs=yes
18923 if test "$host_cpu" = ia64; then
18924 # AIX 5 supports IA64
18925 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18926 shlibpath_var=LD_LIBRARY_PATH
18928 # With GCC up to 2.95.x, collect2 would create an import file
18929 # for dependence libraries. The import file would start with
18930 # the line `#! .'. This would cause the generated library to
18931 # depend on `.', always an invalid library. This was fixed in
18932 # development snapshots of GCC prior to 3.0.
18934 aix4 | aix4.[01] | aix4.[01].*)
18935 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18937 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
18940 can_build_shared=no
18944 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18945 # soname into executable. Probably we can add versioning support to
18946 # collect2, so additional links can be useful in future.
18947 if test "$aix_use_runtimelinking" = yes; then
18948 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18949 # instead of lib<name>.a to let people know that these are not
18950 # typical AIX shared libraries.
18951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18953 # We preserve .a as extension for shared libraries through AIX4.2
18954 # and later when we are not doing run time linking.
18955 library_names_spec='${libname}${release}.a $libname.a'
18956 soname_spec='${libname}${release}${shared_ext}$major'
18958 shlibpath_var=LIBPATH
18965 # Since July 2007 AmigaOS4 officially supports .so libraries.
18966 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18970 library_names_spec='$libname.ixlibrary $libname.a'
18971 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18972 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18978 library_names_spec='${libname}${shared_ext}'
18979 dynamic_linker="$host_os ld.so"
18980 shlibpath_var=LIBRARY_PATH
18984 version_type=linux # correct to gnu/linux during the next big refactor
18986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18987 soname_spec='${libname}${release}${shared_ext}$major'
18988 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18989 shlibpath_var=LD_LIBRARY_PATH
18990 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18991 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18992 # the default ld.so.conf also contains /usr/contrib/lib and
18993 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18994 # libtool to hard-code these into programs
18997 cygwin* | mingw* | pw32* | cegcc*)
18998 version_type=windows
19003 case $GCC,$cc_basename in
19006 library_names_spec='$libname.dll.a'
19007 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19008 postinstall_cmds='base_file=`basename \${file}`~
19009 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19010 dldir=$destdir/`dirname \$dlpath`~
19011 test -d \$dldir || mkdir -p \$dldir~
19012 $install_prog $dir/$dlname \$dldir/$dlname~
19013 chmod a+x \$dldir/$dlname~
19014 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19015 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19017 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19018 dlpath=$dir/\$dldll~
19020 shlibpath_overrides_runpath=yes
19024 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19025 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19029 # MinGW DLLs use traditional 'lib' prefix
19030 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19033 # pw32 DLLs use 'pw' prefix rather than 'lib'
19034 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19037 dynamic_linker='Win32 ld.exe'
19042 libname_spec='$name'
19043 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19044 library_names_spec='${libname}.dll.lib'
19048 sys_lib_search_path_spec=
19051 for lt_path in $LIB
19054 # Let DOS variable expansion print the short 8.3 style file name.
19055 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
19056 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
19059 # Convert to MSYS style.
19060 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
19063 # Convert to unix form, then to dos form, then back to unix form
19064 # but this time dos style (no spaces!) so that the unix form looks
19065 # like /cygdrive/c/PROGRA~1:/cygdr...
19066 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
19067 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
19068 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19071 sys_lib_search_path_spec="$LIB"
19072 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19073 # It is most probably a Windows format PATH.
19074 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19076 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19078 # FIXME: find the short name or the path components, as spaces are
19079 # common. (e.g. "Program Files" -> "PROGRA~1")
19083 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19084 postinstall_cmds='base_file=`basename \${file}`~
19085 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19086 dldir=$destdir/`dirname \$dlpath`~
19087 test -d \$dldir || mkdir -p \$dldir~
19088 $install_prog $dir/$dlname \$dldir/$dlname'
19089 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19090 dlpath=$dir/\$dldll~
19092 shlibpath_overrides_runpath=yes
19093 dynamic_linker='Win32 link.exe'
19097 # Assume MSVC wrapper
19098 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19099 dynamic_linker='Win32 ld.exe'
19102 # FIXME: first we should search . and the directory the executable is in
19106 darwin* | rhapsody*)
19107 dynamic_linker="$host_os dyld"
19108 version_type=darwin
19111 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19112 soname_spec='${libname}${release}${major}$shared_ext'
19113 shlibpath_overrides_runpath=yes
19114 shlibpath_var=DYLD_LIBRARY_PATH
19115 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19117 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19121 version_type=linux # correct to gnu/linux during the next big refactor
19124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19125 soname_spec='${libname}${release}${shared_ext}$major'
19126 shlibpath_var=LD_LIBRARY_PATH
19129 freebsd* | dragonfly*)
19130 # DragonFly does not have aout. When/if they implement a new
19131 # versioning mechanism, adjust this.
19132 if test -x /usr/bin/objformat; then
19133 objformat=`/usr/bin/objformat`
19136 freebsd[23].*) objformat=aout ;;
19137 *) objformat=elf ;;
19140 version_type=freebsd-$objformat
19141 case $version_type in
19143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19148 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19152 shlibpath_var=LD_LIBRARY_PATH
19155 shlibpath_overrides_runpath=yes
19157 freebsd3.[01]* | freebsdelf3.[01]*)
19158 shlibpath_overrides_runpath=yes
19159 hardcode_into_libs=yes
19161 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19162 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19163 shlibpath_overrides_runpath=no
19164 hardcode_into_libs=yes
19166 *) # from 4.6 on, and DragonFly
19167 shlibpath_overrides_runpath=yes
19168 hardcode_into_libs=yes
19174 version_type=linux # correct to gnu/linux during the next big refactor
19177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19178 soname_spec='${libname}${release}${shared_ext}$major'
19179 shlibpath_var=LD_LIBRARY_PATH
19180 shlibpath_overrides_runpath=no
19181 hardcode_into_libs=yes
19185 version_type=linux # correct to gnu/linux during the next big refactor
19188 dynamic_linker="$host_os runtime_loader"
19189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19190 soname_spec='${libname}${release}${shared_ext}$major'
19191 shlibpath_var=LIBRARY_PATH
19192 shlibpath_overrides_runpath=yes
19193 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
19194 hardcode_into_libs=yes
19197 hpux9* | hpux10* | hpux11*)
19198 # Give a soname corresponding to the major version so that dld.sl refuses to
19199 # link against other versions.
19206 hardcode_into_libs=yes
19207 dynamic_linker="$host_os dld.so"
19208 shlibpath_var=LD_LIBRARY_PATH
19209 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19211 soname_spec='${libname}${release}${shared_ext}$major'
19212 if test "X$HPUX_IA64_MODE" = X32; then
19213 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19215 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19217 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19221 hardcode_into_libs=yes
19222 dynamic_linker="$host_os dld.sl"
19223 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19224 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19226 soname_spec='${libname}${release}${shared_ext}$major'
19227 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19228 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19232 dynamic_linker="$host_os dld.sl"
19233 shlibpath_var=SHLIB_PATH
19234 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19236 soname_spec='${libname}${release}${shared_ext}$major'
19239 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
19240 postinstall_cmds='chmod 555 $lib'
19241 # or fails outright, so override atomically:
19242 install_override_mode=555
19246 version_type=linux # correct to gnu/linux during the next big refactor
19249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19250 soname_spec='${libname}${release}${shared_ext}$major'
19251 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19252 shlibpath_var=LD_LIBRARY_PATH
19253 shlibpath_overrides_runpath=no
19254 hardcode_into_libs=yes
19257 irix5* | irix6* | nonstopux*)
19259 nonstopux*) version_type=nonstopux ;;
19261 if test "$lt_cv_prog_gnu_ld" = yes; then
19262 version_type=linux # correct to gnu/linux during the next big refactor
19269 soname_spec='${libname}${release}${shared_ext}$major'
19270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19272 irix5* | nonstopux*)
19273 libsuff= shlibsuff=
19276 case $LD in # libtool.m4 will add one of these switches to LD
19277 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19278 libsuff= shlibsuff= libmagic=32-bit;;
19279 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19280 libsuff=32 shlibsuff=N32 libmagic=N32;;
19281 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19282 libsuff=64 shlibsuff=64 libmagic=64-bit;;
19283 *) libsuff= shlibsuff= libmagic=never-match;;
19287 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19288 shlibpath_overrides_runpath=no
19289 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19290 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19291 hardcode_into_libs=yes
19294 # No shared lib support for Linux oldld, aout, or coff.
19295 linux*oldld* | linux*aout* | linux*coff*)
19299 # This must be glibc/ELF.
19300 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19301 version_type=linux # correct to gnu/linux during the next big refactor
19304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19305 soname_spec='${libname}${release}${shared_ext}$major'
19306 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19307 shlibpath_var=LD_LIBRARY_PATH
19308 shlibpath_overrides_runpath=no
19310 # Some binutils ld are patched to set DT_RUNPATH
19311 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
19312 $as_echo_n "(cached) " >&6
19314 lt_cv_shlibpath_overrides_runpath=no
19315 save_LDFLAGS=$LDFLAGS
19316 save_libdir=$libdir
19317 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
19318 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
19319 cat > conftest.$ac_ext <<_ACEOF
19324 if ac_fn_f77_try_link "$LINENO"; then :
19325 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
19326 lt_cv_shlibpath_overrides_runpath=yes
19329 rm -f core conftest.err conftest.$ac_objext \
19330 conftest$ac_exeext conftest.$ac_ext
19331 LDFLAGS=$save_LDFLAGS
19332 libdir=$save_libdir
19336 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
19338 # This implies no fast_install, which is unacceptable.
19339 # Some rework will be needed to allow for fast_install
19340 # before this can be enabled.
19341 hardcode_into_libs=yes
19343 # Append ld.so.conf contents to the search path
19344 if test -f /etc/ld.so.conf; then
19345 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' ' '`
19346 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19349 # We used to test for /lib/ld.so.1 and disable shared libraries on
19350 # powerpc, because MkLinux only supported shared libraries with the
19351 # GNU dynamic linker. Since this was broken with cross compilers,
19352 # most powerpc-linux boxes support dynamic linking these days and
19353 # people can always --disable-shared, the test was removed, and we
19354 # assume the GNU/Linux dynamic linker is in use.
19355 dynamic_linker='GNU/Linux ld.so'
19362 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19364 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19365 dynamic_linker='NetBSD (a.out) ld.so'
19367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19368 soname_spec='${libname}${release}${shared_ext}$major'
19369 dynamic_linker='NetBSD ld.elf_so'
19371 shlibpath_var=LD_LIBRARY_PATH
19372 shlibpath_overrides_runpath=yes
19373 hardcode_into_libs=yes
19377 version_type=linux # correct to gnu/linux during the next big refactor
19378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19379 shlibpath_var=LD_LIBRARY_PATH
19380 shlibpath_overrides_runpath=yes
19387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19388 soname_spec='${libname}${release}${shared_ext}$major'
19389 shlibpath_var=LD_LIBRARY_PATH
19390 shlibpath_overrides_runpath=no
19391 hardcode_into_libs=yes
19392 dynamic_linker='ldqnx.so'
19397 sys_lib_dlsearch_path_spec="/usr/lib"
19399 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19401 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19402 *) need_version=no ;;
19404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19405 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19406 shlibpath_var=LD_LIBRARY_PATH
19407 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19409 openbsd2.[89] | openbsd2.[89].*)
19410 shlibpath_overrides_runpath=no
19413 shlibpath_overrides_runpath=yes
19417 shlibpath_overrides_runpath=yes
19422 libname_spec='$name'
19425 library_names_spec='$libname${shared_ext} $libname.a'
19426 dynamic_linker='OS/2 ld.exe'
19427 shlibpath_var=LIBPATH
19430 osf3* | osf4* | osf5*)
19434 soname_spec='${libname}${release}${shared_ext}$major'
19435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19436 shlibpath_var=LD_LIBRARY_PATH
19437 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19438 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19446 version_type=linux # correct to gnu/linux during the next big refactor
19449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19450 soname_spec='${libname}${release}${shared_ext}$major'
19451 shlibpath_var=LD_LIBRARY_PATH
19452 shlibpath_overrides_runpath=yes
19453 hardcode_into_libs=yes
19454 # ldd complains unless libraries are executable
19455 postinstall_cmds='chmod +x $lib'
19460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19461 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19462 shlibpath_var=LD_LIBRARY_PATH
19463 shlibpath_overrides_runpath=yes
19464 if test "$with_gnu_ld" = yes; then
19471 version_type=linux # correct to gnu/linux during the next big refactor
19472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19473 soname_spec='${libname}${release}${shared_ext}$major'
19474 shlibpath_var=LD_LIBRARY_PATH
19475 case $host_vendor in
19477 shlibpath_overrides_runpath=no
19479 runpath_var=LD_RUN_PATH
19487 shlibpath_overrides_runpath=no
19488 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19494 if test -d /usr/nec ;then
19495 version_type=linux # correct to gnu/linux during the next big refactor
19496 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19497 soname_spec='$libname${shared_ext}.$major'
19498 shlibpath_var=LD_LIBRARY_PATH
19502 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19503 version_type=freebsd-elf
19506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19507 soname_spec='${libname}${release}${shared_ext}$major'
19508 shlibpath_var=LD_LIBRARY_PATH
19509 shlibpath_overrides_runpath=yes
19510 hardcode_into_libs=yes
19511 if test "$with_gnu_ld" = yes; then
19512 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19514 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19517 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19521 sys_lib_dlsearch_path_spec='/usr/lib'
19525 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
19526 version_type=linux # correct to gnu/linux during the next big refactor
19529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19530 shlibpath_var=LD_LIBRARY_PATH
19531 shlibpath_overrides_runpath=no
19532 hardcode_into_libs=yes
19536 version_type=linux # correct to gnu/linux during the next big refactor
19537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19538 soname_spec='${libname}${release}${shared_ext}$major'
19539 shlibpath_var=LD_LIBRARY_PATH
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19547 $as_echo "$dynamic_linker" >&6; }
19548 test "$dynamic_linker" = no && can_build_shared=no
19550 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19551 if test "$GCC" = yes; then
19552 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19555 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19556 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19558 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19559 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19600 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19601 hardcode_action_F77=
19602 if test -n "$hardcode_libdir_flag_spec_F77" ||
19603 test -n "$runpath_var_F77" ||
19604 test "X$hardcode_automatic_F77" = "Xyes" ; then
19606 # We can hardcode non-existent directories.
19607 if test "$hardcode_direct_F77" != no &&
19608 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19609 # have to relink, otherwise we might link with an installed library
19610 # when we should be linking with a yet-to-be-installed one
19611 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
19612 test "$hardcode_minus_L_F77" != no; then
19613 # Linking always hardcodes the temporary library directory.
19614 hardcode_action_F77=relink
19616 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19617 hardcode_action_F77=immediate
19620 # We cannot hardcode anything, or else we can only hardcode existing
19622 hardcode_action_F77=unsupported
19624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
19625 $as_echo "$hardcode_action_F77" >&6; }
19627 if test "$hardcode_action_F77" = relink ||
19628 test "$inherit_rpath_F77" = yes; then
19629 # Fast installation is not supported
19630 enable_fast_install=no
19631 elif test "$shlibpath_overrides_runpath" = yes ||
19632 test "$enable_shared" = no; then
19633 # Fast installation is not necessary
19634 enable_fast_install=needless
19643 fi # test -n "$compiler"
19647 CFLAGS="$lt_save_CFLAGS"
19648 fi # test "$_lt_disable_F77" != yes
19651 ac_cpp='$CPP $CPPFLAGS'
19652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19657 ac_ext=${ac_fc_srcext-f}
19658 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
19659 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
19660 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
19661 if test -n "$ac_tool_prefix"; then
19662 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
19664 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19665 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19667 $as_echo_n "checking for $ac_word... " >&6; }
19668 if ${ac_cv_prog_FC+:} false; then :
19669 $as_echo_n "(cached) " >&6
19671 if test -n "$FC"; then
19672 ac_cv_prog_FC="$FC" # Let the user override the test.
19674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19675 for as_dir in $PATH
19678 test -z "$as_dir" && as_dir=.
19679 for ac_exec_ext in '' $ac_executable_extensions; do
19680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19681 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
19682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19692 if test -n "$FC"; then
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
19694 $as_echo "$FC" >&6; }
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19697 $as_echo "no" >&6; }
19701 test -n "$FC" && break
19704 if test -z "$FC"; then
19706 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
19708 # Extract the first word of "$ac_prog", so it can be a program name with args.
19709 set dummy $ac_prog; ac_word=$2
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19711 $as_echo_n "checking for $ac_word... " >&6; }
19712 if ${ac_cv_prog_ac_ct_FC+:} false; then :
19713 $as_echo_n "(cached) " >&6
19715 if test -n "$ac_ct_FC"; then
19716 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
19718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19719 for as_dir in $PATH
19722 test -z "$as_dir" && as_dir=.
19723 for ac_exec_ext in '' $ac_executable_extensions; do
19724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19725 ac_cv_prog_ac_ct_FC="$ac_prog"
19726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19735 ac_ct_FC=$ac_cv_prog_ac_ct_FC
19736 if test -n "$ac_ct_FC"; then
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
19738 $as_echo "$ac_ct_FC" >&6; }
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19741 $as_echo "no" >&6; }
19745 test -n "$ac_ct_FC" && break
19748 if test "x$ac_ct_FC" = x; then
19751 case $cross_compiling:$ac_tool_warned in
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19755 ac_tool_warned=yes ;;
19762 # Provide some information about the compiler.
19763 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
19766 for ac_option in --version -v -V -qversion; do
19767 { { ac_try="$ac_compiler $ac_option >&5"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19773 $as_echo "$ac_try_echo"; } >&5
19774 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
19776 if test -s conftest.err; then
19778 ... rest of stderr output deleted ...
19779 10q' conftest.err >conftest.er1
19780 cat conftest.er1 >&5
19782 rm -f conftest.er1 conftest.err
19783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19784 test $ac_status = 0; }
19788 # If we don't use `.F' as extension, the preprocessor is not run on the
19789 # input file. (Note that this only needs to work for GNU compilers.)
19790 ac_save_ext=$ac_ext
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
19793 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
19794 if ${ac_cv_fc_compiler_gnu+:} false; then :
19795 $as_echo_n "(cached) " >&6
19797 cat > conftest.$ac_ext <<_ACEOF
19805 if ac_fn_fc_try_compile "$LINENO"; then :
19806 ac_compiler_gnu=yes
19810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19811 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
19815 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
19816 ac_ext=$ac_save_ext
19817 ac_test_FCFLAGS=${FCFLAGS+set}
19818 ac_save_FCFLAGS=$FCFLAGS
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
19821 $as_echo_n "checking whether $FC accepts -g... " >&6; }
19822 if ${ac_cv_prog_fc_g+:} false; then :
19823 $as_echo_n "(cached) " >&6
19826 cat > conftest.$ac_ext <<_ACEOF
19831 if ac_fn_fc_try_compile "$LINENO"; then :
19832 ac_cv_prog_fc_g=yes
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
19840 $as_echo "$ac_cv_prog_fc_g" >&6; }
19841 if test "$ac_test_FCFLAGS" = set; then
19842 FCFLAGS=$ac_save_FCFLAGS
19843 elif test $ac_cv_prog_fc_g = yes; then
19844 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
19850 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
19857 ac_ext=${ac_fc_srcext-f}
19858 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
19859 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
19860 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
19863 ac_ext=${ac_fc_srcext-f}
19864 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
19865 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
19866 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
19869 if test -z "$FC" || test "X$FC" = "Xno"; then
19873 archive_cmds_need_lc_FC=no
19874 allow_undefined_flag_FC=
19875 always_export_symbols_FC=no
19876 archive_expsym_cmds_FC=
19877 export_dynamic_flag_spec_FC=
19878 hardcode_direct_FC=no
19879 hardcode_direct_absolute_FC=no
19880 hardcode_libdir_flag_spec_FC=
19881 hardcode_libdir_separator_FC=
19882 hardcode_minus_L_FC=no
19883 hardcode_automatic_FC=no
19884 inherit_rpath_FC=no
19886 module_expsym_cmds_FC=
19887 link_all_deplibs_FC=unknown
19888 old_archive_cmds_FC=$old_archive_cmds
19889 reload_flag_FC=$reload_flag
19890 reload_cmds_FC=$reload_cmds
19891 no_undefined_flag_FC=
19892 whole_archive_flag_spec_FC=
19893 enable_shared_with_static_runtimes_FC=no
19895 # Source file extension for fc test sources.
19896 ac_ext=${ac_fc_srcext-f}
19898 # Object file extension for compiled fc test sources.
19902 # No sense in running all these tests if we already determined that
19903 # the FC compiler isn't working. Some variables (like enable_shared)
19904 # are currently assumed to apply to all compilers on this platform,
19905 # and will be corrupted by setting them based on a non-working compiler.
19906 if test "$_lt_disable_FC" != yes; then
19907 # Code to be used in simple compile tests
19908 lt_simple_compile_test_code="\
19914 # Code to be used in simple link tests
19915 lt_simple_link_test_code="\
19920 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19927 # If no C compiler was specified, use CC.
19930 # If no C compiler flags were specified, use CFLAGS.
19931 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19933 # Allow CC to be a program name with arguments.
19937 # save warnings/boilerplate of simple test code
19938 ac_outfile=conftest.$ac_objext
19939 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19940 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19941 _lt_compiler_boilerplate=`cat conftest.err`
19944 ac_outfile=conftest.$ac_objext
19945 echo "$lt_simple_link_test_code" >conftest.$ac_ext
19946 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19947 _lt_linker_boilerplate=`cat conftest.err`
19951 # Allow CC to be a program name with arguments.
19954 lt_save_CFLAGS=$CFLAGS
19958 GCC=$ac_cv_fc_compiler_gnu
19961 for cc_temp in $compiler""; do
19963 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19964 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19969 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19972 if test -n "$compiler"; then
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
19974 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
19976 $as_echo "$can_build_shared" >&6; }
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
19979 $as_echo_n "checking whether to build shared libraries... " >&6; }
19980 test "$can_build_shared" = "no" && enable_shared=no
19982 # On AIX, shared libraries and static libraries use the same namespace, and
19983 # are all built from PIC.
19986 test "$enable_shared" = yes && enable_static=no
19987 if test -n "$RANLIB"; then
19988 archive_cmds="$archive_cmds~\$RANLIB \$lib"
19989 postinstall_cmds='$RANLIB $lib'
19993 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
19994 test "$enable_shared" = yes && enable_static=no
19998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
19999 $as_echo "$enable_shared" >&6; }
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
20002 $as_echo_n "checking whether to build static libraries... " >&6; }
20003 # Make sure either enable_shared or enable_static is yes.
20004 test "$enable_shared" = yes || enable_static=yes
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
20006 $as_echo "$enable_static" >&6; }
20008 GCC_FC="$ac_cv_fc_compiler_gnu"
20012 ## There is no encapsulation within the following macros, do not change
20013 ## the running order or otherwise move them around unless you know exactly
20014 ## what you are doing...
20015 # Dependencies to place before and after the object being linked:
20017 postdep_objects_FC=
20020 compiler_lib_search_path_FC=
20022 cat > conftest.$ac_ext <<_LT_EOF
20032 _lt_libdeps_save_CFLAGS=$CFLAGS
20033 case "$CC $CFLAGS " in #(
20034 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
20035 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
20036 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
20039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20040 (eval $ac_compile) 2>&5
20042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20043 test $ac_status = 0; }; then
20044 # Parse the compiler output and extract the necessary
20045 # objects, libraries and library flags.
20047 # Sentinel used to keep track of whether or not we are before
20048 # the conftest object file.
20049 pre_test_object_deps_done=no
20051 for p in `eval "$output_verbose_link_cmd"`; do
20052 case ${prev}${p} in
20055 # Some compilers place space between "-{L,R}" and the path.
20056 # Remove the space.
20057 if test $p = "-L" ||
20058 test $p = "-R"; then
20063 # Expand the sysroot to ease extracting the directories later.
20064 if test -z "$prev"; then
20066 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
20067 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
20068 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
20072 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
20074 if test "$pre_test_object_deps_done" = no; then
20077 # Internal compiler library paths should come after those
20078 # provided the user. The postdeps already come after the
20079 # user supplied libs so there is no need to process them.
20080 if test -z "$compiler_lib_search_path_FC"; then
20081 compiler_lib_search_path_FC="${prev}${p}"
20083 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
20086 # The "-l" case would never come before the object being
20087 # linked, so don't bother handling this case.
20090 if test -z "$postdeps_FC"; then
20091 postdeps_FC="${prev}${p}"
20093 postdeps_FC="${postdeps_FC} ${prev}${p}"
20099 *.lto.$objext) ;; # Ignore GCC LTO objects
20101 # This assumes that the test object file only shows up
20102 # once in the compiler output.
20103 if test "$p" = "conftest.$objext"; then
20104 pre_test_object_deps_done=yes
20108 if test "$pre_test_object_deps_done" = no; then
20109 if test -z "$predep_objects_FC"; then
20110 predep_objects_FC="$p"
20112 predep_objects_FC="$predep_objects_FC $p"
20115 if test -z "$postdep_objects_FC"; then
20116 postdep_objects_FC="$p"
20118 postdep_objects_FC="$postdep_objects_FC $p"
20123 *) ;; # Ignore the rest.
20131 echo "libtool.m4: error: problem compiling FC test program"
20134 $RM -f confest.$objext
20135 CFLAGS=$_lt_libdeps_save_CFLAGS
20137 # PORTME: override above test on systems where it is broken
20140 case " $postdeps_FC " in
20141 *" -lc "*) archive_cmds_need_lc_FC=no ;;
20143 compiler_lib_search_dirs_FC=
20144 if test -n "${compiler_lib_search_path_FC}"; then
20145 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
20160 lt_prog_compiler_wl_FC=
20161 lt_prog_compiler_pic_FC=
20162 lt_prog_compiler_static_FC=
20165 if test "$GCC" = yes; then
20166 lt_prog_compiler_wl_FC='-Wl,'
20167 lt_prog_compiler_static_FC='-static'
20171 # All AIX code is PIC.
20172 if test "$host_cpu" = ia64; then
20173 # AIX 5 now supports IA64 processor
20174 lt_prog_compiler_static_FC='-Bstatic'
20181 # see comment about AmigaOS4 .so support
20182 lt_prog_compiler_pic_FC='-fPIC'
20185 # FIXME: we need at least 68020 code to build shared libraries, but
20186 # adding the `-m68020' flag to GCC prevents building anything better,
20188 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
20193 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20194 # PIC is the default for these OSes.
20197 mingw* | cygwin* | pw32* | os2* | cegcc*)
20198 # This hack is so that the source file can tell whether it is being
20199 # built for inclusion in a dll (and should export symbols for example).
20200 # Although the cygwin gcc ignores -fPIC, still need this for old-style
20201 # (--disable-auto-import) libraries
20202 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
20205 darwin* | rhapsody*)
20206 # PIC is the default on this platform
20207 # Common symbols not allowed in MH_DYLIB files
20208 lt_prog_compiler_pic_FC='-fno-common'
20212 # PIC is the default for Haiku.
20213 # The "-static" flag exists, but is broken.
20214 lt_prog_compiler_static_FC=
20218 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
20219 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
20220 # sets the default TLS model and affects inlining.
20226 lt_prog_compiler_pic_FC='-fPIC'
20232 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20233 # Instead, we relocate shared libraries at runtime.
20237 # Just because we use GCC doesn't mean we suddenly get shared libraries
20238 # on systems that don't support them.
20239 lt_prog_compiler_can_build_shared_FC=no
20244 # QNX uses GNU C++, but need to define -shared option too, otherwise
20245 # it will coredump.
20246 lt_prog_compiler_pic_FC='-fPIC -shared'
20250 if test -d /usr/nec; then
20251 lt_prog_compiler_pic_FC=-Kconform_pic
20256 lt_prog_compiler_pic_FC='-fPIC'
20260 case $cc_basename in
20261 nvcc*) # Cuda Compiler Driver 2.2
20262 lt_prog_compiler_wl_FC='-Xlinker '
20263 if test -n "$lt_prog_compiler_pic_FC"; then
20264 lt_prog_compiler_pic_FC="-Xcompiler $lt_prog_compiler_pic_FC"
20269 # PORTME Check for flag to pass linker flags through the system compiler.
20272 lt_prog_compiler_wl_FC='-Wl,'
20273 if test "$host_cpu" = ia64; then
20274 # AIX 5 now supports IA64 processor
20275 lt_prog_compiler_static_FC='-Bstatic'
20277 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
20281 mingw* | cygwin* | pw32* | os2* | cegcc*)
20282 # This hack is so that the source file can tell whether it is being
20283 # built for inclusion in a dll (and should export symbols for example).
20284 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
20287 hpux9* | hpux10* | hpux11*)
20288 lt_prog_compiler_wl_FC='-Wl,'
20289 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20290 # not for PA HP-UX.
20296 lt_prog_compiler_pic_FC='+Z'
20299 # Is there a better lt_prog_compiler_static that works with the bundled CC?
20300 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
20303 irix5* | irix6* | nonstopux*)
20304 lt_prog_compiler_wl_FC='-Wl,'
20305 # PIC (with -KPIC) is the default.
20306 lt_prog_compiler_static_FC='-non_shared'
20309 linux* | k*bsd*-gnu | kopensolaris*-gnu)
20310 case $cc_basename in
20311 # old Intel for x86_64 which still supported -KPIC.
20313 lt_prog_compiler_wl_FC='-Wl,'
20314 lt_prog_compiler_pic_FC='-KPIC'
20315 lt_prog_compiler_static_FC='-static'
20317 # icc used to be incompatible with GCC.
20318 # ICC 10 doesn't accept -KPIC any more.
20320 lt_prog_compiler_wl_FC='-Wl,'
20321 lt_prog_compiler_pic_FC='-fPIC'
20322 lt_prog_compiler_static_FC='-static'
20324 # Lahey Fortran 8.1.
20326 lt_prog_compiler_wl_FC='-Wl,'
20327 lt_prog_compiler_pic_FC='--shared'
20328 lt_prog_compiler_static_FC='--static'
20331 # NAG Fortran compiler
20332 lt_prog_compiler_wl_FC='-Wl,-Wl,,'
20333 lt_prog_compiler_pic_FC='-PIC'
20334 lt_prog_compiler_static_FC='-Bstatic'
20336 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
20337 # Portland Group compilers (*not* the Pentium gcc compiler,
20338 # which looks to be a dead project)
20339 lt_prog_compiler_wl_FC='-Wl,'
20340 lt_prog_compiler_pic_FC='-fpic'
20341 lt_prog_compiler_static_FC='-Bstatic'
20344 lt_prog_compiler_wl_FC='-Wl,'
20345 # All Alpha code is PIC.
20346 lt_prog_compiler_static_FC='-non_shared'
20348 xl* | bgxl* | bgf* | mpixl*)
20349 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
20350 lt_prog_compiler_wl_FC='-Wl,'
20351 lt_prog_compiler_pic_FC='-qpic'
20352 lt_prog_compiler_static_FC='-qstaticlink'
20355 case `$CC -V 2>&1 | sed 5q` in
20356 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
20357 # Sun Fortran 8.3 passes all unrecognized flags to the linker
20358 lt_prog_compiler_pic_FC='-KPIC'
20359 lt_prog_compiler_static_FC='-Bstatic'
20360 lt_prog_compiler_wl_FC=''
20362 *Sun\ F* | *Sun*Fortran*)
20363 lt_prog_compiler_pic_FC='-KPIC'
20364 lt_prog_compiler_static_FC='-Bstatic'
20365 lt_prog_compiler_wl_FC='-Qoption ld '
20369 lt_prog_compiler_pic_FC='-KPIC'
20370 lt_prog_compiler_static_FC='-Bstatic'
20371 lt_prog_compiler_wl_FC='-Wl,'
20373 *Intel*\ [CF]*Compiler*)
20374 lt_prog_compiler_wl_FC='-Wl,'
20375 lt_prog_compiler_pic_FC='-fPIC'
20376 lt_prog_compiler_static_FC='-static'
20379 lt_prog_compiler_wl_FC='-Wl,'
20380 lt_prog_compiler_pic_FC='-fpic'
20381 lt_prog_compiler_static_FC='-Bstatic'
20389 lt_prog_compiler_pic_FC='-KPIC'
20390 lt_prog_compiler_static_FC='-Bstatic'
20394 # QNX uses GNU C++, but need to define -shared option too, otherwise
20395 # it will coredump.
20396 lt_prog_compiler_pic_FC='-fPIC -shared'
20399 osf3* | osf4* | osf5*)
20400 lt_prog_compiler_wl_FC='-Wl,'
20401 # All OSF/1 code is PIC.
20402 lt_prog_compiler_static_FC='-non_shared'
20406 lt_prog_compiler_static_FC='-non_shared'
20410 lt_prog_compiler_pic_FC='-KPIC'
20411 lt_prog_compiler_static_FC='-Bstatic'
20412 case $cc_basename in
20413 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
20414 lt_prog_compiler_wl_FC='-Qoption ld ';;
20416 lt_prog_compiler_wl_FC='-Wl,';;
20421 lt_prog_compiler_wl_FC='-Qoption ld '
20422 lt_prog_compiler_pic_FC='-PIC'
20423 lt_prog_compiler_static_FC='-Bstatic'
20426 sysv4 | sysv4.2uw2* | sysv4.3*)
20427 lt_prog_compiler_wl_FC='-Wl,'
20428 lt_prog_compiler_pic_FC='-KPIC'
20429 lt_prog_compiler_static_FC='-Bstatic'
20433 if test -d /usr/nec ;then
20434 lt_prog_compiler_pic_FC='-Kconform_pic'
20435 lt_prog_compiler_static_FC='-Bstatic'
20439 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
20440 lt_prog_compiler_wl_FC='-Wl,'
20441 lt_prog_compiler_pic_FC='-KPIC'
20442 lt_prog_compiler_static_FC='-Bstatic'
20446 lt_prog_compiler_wl_FC='-Wl,'
20447 lt_prog_compiler_can_build_shared_FC=no
20451 lt_prog_compiler_pic_FC='-pic'
20452 lt_prog_compiler_static_FC='-Bstatic'
20456 lt_prog_compiler_can_build_shared_FC=no
20462 # For platforms which do not support PIC, -DPIC is meaningless:
20464 lt_prog_compiler_pic_FC=
20467 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
20472 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
20473 if ${lt_cv_prog_compiler_pic_FC+:} false; then :
20474 $as_echo_n "(cached) " >&6
20476 lt_cv_prog_compiler_pic_FC=$lt_prog_compiler_pic_FC
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_FC" >&5
20479 $as_echo "$lt_cv_prog_compiler_pic_FC" >&6; }
20480 lt_prog_compiler_pic_FC=$lt_cv_prog_compiler_pic_FC
20483 # Check to make sure the PIC flag actually works.
20485 if test -n "$lt_prog_compiler_pic_FC"; then
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
20487 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
20488 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
20489 $as_echo_n "(cached) " >&6
20491 lt_cv_prog_compiler_pic_works_FC=no
20492 ac_outfile=conftest.$ac_objext
20493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20494 lt_compiler_flag="$lt_prog_compiler_pic_FC"
20495 # Insert the option either (1) after the last *FLAGS variable, or
20496 # (2) before a word containing "conftest.", or (3) at the end.
20497 # Note that $ac_compile itself does not contain backslashes and begins
20498 # with a dollar sign (not a hyphen), so the echo should work correctly.
20499 # The option is referenced via a variable to avoid confusing sed.
20500 lt_compile=`echo "$ac_compile" | $SED \
20501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20503 -e 's:$: $lt_compiler_flag:'`
20504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20505 (eval "$lt_compile" 2>conftest.err)
20507 cat conftest.err >&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 if (exit $ac_status) && test -s "$ac_outfile"; then
20510 # The compiler can only warn and ignore the option if not recognized
20511 # So say no if there are warnings other than the usual output.
20512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
20513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20515 lt_cv_prog_compiler_pic_works_FC=yes
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
20522 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
20524 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
20525 case $lt_prog_compiler_pic_FC in
20527 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
20530 lt_prog_compiler_pic_FC=
20531 lt_prog_compiler_can_build_shared_FC=no
20541 # Check to make sure the static flag actually works.
20543 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20545 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
20546 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
20547 $as_echo_n "(cached) " >&6
20549 lt_cv_prog_compiler_static_works_FC=no
20550 save_LDFLAGS="$LDFLAGS"
20551 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20552 echo "$lt_simple_link_test_code" > conftest.$ac_ext
20553 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20554 # The linker can only warn and ignore the option if not recognized
20555 # So say no if there are warnings
20556 if test -s conftest.err; then
20557 # Append any errors to the config.log.
20558 cat conftest.err 1>&5
20559 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
20560 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20561 if diff conftest.exp conftest.er2 >/dev/null; then
20562 lt_cv_prog_compiler_static_works_FC=yes
20565 lt_cv_prog_compiler_static_works_FC=yes
20569 LDFLAGS="$save_LDFLAGS"
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
20573 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
20575 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
20578 lt_prog_compiler_static_FC=
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20585 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20586 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
20587 $as_echo_n "(cached) " >&6
20589 lt_cv_prog_compiler_c_o_FC=no
20590 $RM -r conftest 2>/dev/null
20594 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20596 lt_compiler_flag="-o out/conftest2.$ac_objext"
20597 # Insert the option either (1) after the last *FLAGS variable, or
20598 # (2) before a word containing "conftest.", or (3) at the end.
20599 # Note that $ac_compile itself does not contain backslashes and begins
20600 # with a dollar sign (not a hyphen), so the echo should work correctly.
20601 lt_compile=`echo "$ac_compile" | $SED \
20602 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20603 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20604 -e 's:$: $lt_compiler_flag:'`
20605 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20606 (eval "$lt_compile" 2>out/conftest.err)
20608 cat out/conftest.err >&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20612 # The compiler can only warn and ignore the option if not recognized
20613 # So say no if there are warnings
20614 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20615 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20616 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20617 lt_cv_prog_compiler_c_o_FC=yes
20622 # SGI C++ compiler will create directory out/ii_files/ for
20623 # template instantiation
20624 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20625 $RM out/* && rmdir out
20631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
20632 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
20636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20637 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20638 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
20639 $as_echo_n "(cached) " >&6
20641 lt_cv_prog_compiler_c_o_FC=no
20642 $RM -r conftest 2>/dev/null
20646 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20648 lt_compiler_flag="-o out/conftest2.$ac_objext"
20649 # Insert the option either (1) after the last *FLAGS variable, or
20650 # (2) before a word containing "conftest.", or (3) at the end.
20651 # Note that $ac_compile itself does not contain backslashes and begins
20652 # with a dollar sign (not a hyphen), so the echo should work correctly.
20653 lt_compile=`echo "$ac_compile" | $SED \
20654 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20655 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20656 -e 's:$: $lt_compiler_flag:'`
20657 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20658 (eval "$lt_compile" 2>out/conftest.err)
20660 cat out/conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20664 # The compiler can only warn and ignore the option if not recognized
20665 # So say no if there are warnings
20666 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20667 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20668 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20669 lt_cv_prog_compiler_c_o_FC=yes
20674 # SGI C++ compiler will create directory out/ii_files/ for
20675 # template instantiation
20676 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20677 $RM out/* && rmdir out
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
20684 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
20689 hard_links="nottested"
20690 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
20691 # do not overwrite the value of need_locks provided by the user
20692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
20693 $as_echo_n "checking if we can lock with hard links... " >&6; }
20696 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20698 ln conftest.a conftest.b 2>&5 || hard_links=no
20699 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
20701 $as_echo "$hard_links" >&6; }
20702 if test "$hard_links" = no; then
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20704 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20714 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20717 allow_undefined_flag_FC=
20718 always_export_symbols_FC=no
20720 archive_expsym_cmds_FC=
20721 compiler_needs_object_FC=no
20722 enable_shared_with_static_runtimes_FC=no
20723 export_dynamic_flag_spec_FC=
20724 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20725 hardcode_automatic_FC=no
20726 hardcode_direct_FC=no
20727 hardcode_direct_absolute_FC=no
20728 hardcode_libdir_flag_spec_FC=
20729 hardcode_libdir_separator_FC=
20730 hardcode_minus_L_FC=no
20731 hardcode_shlibpath_var_FC=unsupported
20732 inherit_rpath_FC=no
20733 link_all_deplibs_FC=unknown
20735 module_expsym_cmds_FC=
20736 old_archive_from_new_cmds_FC=
20737 old_archive_from_expsyms_cmds_FC=
20738 thread_safe_flag_spec_FC=
20739 whole_archive_flag_spec_FC=
20740 # include_expsyms should be a list of space-separated symbols to be *always*
20741 # included in the symbol list
20742 include_expsyms_FC=
20743 # exclude_expsyms can be an extended regexp of symbols to exclude
20744 # it will be wrapped by ` (' and `)$', so one must not match beginning or
20745 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
20746 # as well as any symbol that contains `d'.
20747 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20748 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
20749 # platforms (ab)use it in PIC code, but their linkers get confused if
20750 # the symbol is explicitly referenced. Since portable code cannot
20751 # rely on this symbol name, it's probably fine to never include it in
20752 # preloaded symbol tables.
20753 # Exclude shared library initialization/finalization symbols.
20754 extract_expsyms_cmds=
20757 cygwin* | mingw* | pw32* | cegcc*)
20758 # FIXME: the MSVC++ port hasn't been tested in a loooong time
20759 # When not using gcc, we currently assume that we are using
20760 # Microsoft Visual C++.
20761 if test "$GCC" != yes; then
20766 # we just hope/assume this is gcc and not c89 (= MSVC++)
20776 # On some targets, GNU ld is compatible enough with the native linker
20777 # that we're better off using the native interface for both.
20778 lt_use_gnu_ld_interface=no
20779 if test "$with_gnu_ld" = yes; then
20782 # The AIX port of GNU ld has always aspired to compatibility
20783 # with the native linker. However, as the warning in the GNU ld
20784 # block says, versions before 2.19.5* couldn't really create working
20785 # shared libraries, regardless of the interface used.
20786 case `$LD -v 2>&1` in
20787 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
20788 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
20789 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
20791 lt_use_gnu_ld_interface=yes
20796 lt_use_gnu_ld_interface=yes
20801 if test "$lt_use_gnu_ld_interface" = yes; then
20802 # If archive_cmds runs LD, not CC, wlarc should be empty
20805 # Set some defaults for GNU ld with shared library support. These
20806 # are reset later if shared libraries are not supported. Putting them
20807 # here allows them to be overridden if necessary.
20808 runpath_var=LD_RUN_PATH
20809 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
20810 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
20811 # ancient GNU ld didn't support --whole-archive et. al.
20812 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
20813 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
20815 whole_archive_flag_spec_FC=
20817 supports_anon_versioning=no
20818 case `$LD -v 2>&1` in
20819 *GNU\ gold*) supports_anon_versioning=yes ;;
20820 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
20821 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
20822 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
20823 *\ 2.11.*) ;; # other 2.11 versions
20824 *) supports_anon_versioning=yes ;;
20827 # See if GNU ld supports shared libraries.
20830 # On AIX/PPC, the GNU linker is very broken
20831 if test "$host_cpu" != ia64; then
20835 *** Warning: the GNU linker, at least up to release 2.19, is reported
20836 *** to be unable to reliably create shared libraries on AIX.
20837 *** Therefore, libtool is disabling shared libraries support. If you
20838 *** really care for shared libraries, you may want to install binutils
20839 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
20840 *** You will then need to restart the configuration process.
20849 # see comment about AmigaOS4 .so support
20850 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20851 archive_expsym_cmds_FC=''
20854 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)'
20855 hardcode_libdir_flag_spec_FC='-L$libdir'
20856 hardcode_minus_L_FC=yes
20862 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
20863 allow_undefined_flag_FC=unsupported
20864 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
20865 # support --undefined. This deserves some investigation. FIXME
20866 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20872 cygwin* | mingw* | pw32* | cegcc*)
20873 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
20874 # as there is no search path for DLLs.
20875 hardcode_libdir_flag_spec_FC='-L$libdir'
20876 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
20877 allow_undefined_flag_FC=unsupported
20878 always_export_symbols_FC=no
20879 enable_shared_with_static_runtimes_FC=yes
20880 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'
20881 exclude_expsyms_FC='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
20883 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
20884 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20885 # If the export-symbols file already is a .def file (1st line
20886 # is EXPORTS), use it as is; otherwise, prepend...
20887 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
20888 cp $export_symbols $output_objdir/$soname.def;
20890 echo EXPORTS > $output_objdir/$soname.def;
20891 cat $export_symbols >> $output_objdir/$soname.def;
20893 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
20900 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20901 link_all_deplibs_FC=yes
20905 hardcode_direct_FC=no
20906 hardcode_shlibpath_var_FC=no
20907 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
20908 export_dynamic_flag_spec_FC='${wl}-E'
20909 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
20910 # Instead, shared libraries are loaded at an image base (0x10000000 by
20911 # default) and relocated if they conflict, which is a slow very memory
20912 # consuming and fragmenting process. To avoid this, we pick a random,
20913 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
20914 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
20915 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'
20916 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'
20919 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
20921 if test "$host_os" = linux-dietlibc; then
20922 case $cc_basename in
20923 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
20926 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
20927 && test "$tmp_diet" = no
20929 tmp_addflag=' $pic_flag'
20930 tmp_sharedflag='-shared'
20931 case $cc_basename,$host_cpu in
20932 pgcc*) # Portland Group C compiler
20933 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'
20934 tmp_addflag=' $pic_flag'
20936 pgf77* | pgf90* | pgf95* | pgfortran*)
20937 # Portland Group f77 and f90 compilers
20938 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'
20939 tmp_addflag=' $pic_flag -Mnomain' ;;
20940 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
20941 tmp_addflag=' -i_dynamic' ;;
20942 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
20943 tmp_addflag=' -i_dynamic -nofor_main' ;;
20944 ifc* | ifort*) # Intel Fortran compiler
20945 tmp_addflag=' -nofor_main' ;;
20946 lf95*) # Lahey Fortran 8.1
20947 whole_archive_flag_spec_FC=
20948 tmp_sharedflag='--shared' ;;
20949 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
20950 tmp_sharedflag='-qmkshrobj'
20952 nvcc*) # Cuda Compiler Driver 2.2
20953 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'
20954 compiler_needs_object_FC=yes
20957 case `$CC -V 2>&1 | sed 5q` in
20958 *Sun\ C*) # Sun C 5.9
20959 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'
20960 compiler_needs_object_FC=yes
20961 tmp_sharedflag='-G' ;;
20962 *Sun\ F*) # Sun Fortran 8.3
20963 tmp_sharedflag='-G' ;;
20965 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20967 if test "x$supports_anon_versioning" = xyes; then
20968 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
20969 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20970 echo "local: *; };" >> $output_objdir/$libname.ver~
20971 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
20974 case $cc_basename in
20975 xlf* | bgf* | bgxlf* | mpixlf*)
20976 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
20977 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
20978 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
20979 archive_cmds_FC='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
20980 if test "x$supports_anon_versioning" = xyes; then
20981 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
20982 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
20983 echo "local: *; };" >> $output_objdir/$libname.ver~
20984 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
20994 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20995 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
20998 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
20999 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'
21004 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
21008 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
21009 *** create shared libraries on Solaris systems. Therefore, libtool
21010 *** is disabling shared libraries support. We urge you to upgrade GNU
21011 *** binutils to release 2.9.1 or newer. Another option is to modify
21012 *** your PATH or compiler configuration so that the native linker is
21013 *** used, and then restart.
21016 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
21017 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21018 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'
21024 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
21025 case `$LD -v 2>&1` in
21026 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
21030 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21031 *** reliably create shared libraries on SCO systems. Therefore, libtool
21032 *** is disabling shared libraries support. We urge you to upgrade GNU
21033 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
21034 *** your PATH or compiler configuration so that the native linker is
21035 *** used, and then restart.
21040 # For security reasons, it is highly recommended that you always
21041 # use absolute paths for naming shared libraries, and exclude the
21042 # DT_RUNPATH tag from executables and libraries. But doing so
21043 # requires that you compile everything twice, which is a pain.
21044 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
21045 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
21046 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21047 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21056 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21058 hardcode_direct_FC=yes
21059 hardcode_shlibpath_var_FC=no
21063 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
21064 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21065 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'
21072 if test "$ld_shlibs_FC" = no; then
21074 hardcode_libdir_flag_spec_FC=
21075 export_dynamic_flag_spec_FC=
21076 whole_archive_flag_spec_FC=
21079 # PORTME fill in a description of your system's linker (not GNU ld)
21082 allow_undefined_flag_FC=unsupported
21083 always_export_symbols_FC=yes
21084 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'
21085 # Note: this linker hardcodes the directories in LIBPATH if there
21086 # are no directories specified by -L.
21087 hardcode_minus_L_FC=yes
21088 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21089 # Neither direct hardcoding nor static linking is supported with a
21091 hardcode_direct_FC=unsupported
21096 if test "$host_cpu" = ia64; then
21097 # On IA64, the linker does run time linking by default, so we don't
21098 # have to do anything special.
21099 aix_use_runtimelinking=no
21100 exp_sym_flag='-Bexport'
21103 # If we're using GNU nm, then we don't want the "-C" option.
21104 # -C means demangle to AIX nm, but means don't demangle with GNU nm
21105 # Also, AIX nm treats weak defined symbols like other global
21106 # defined symbols, whereas GNU nm marks them as "W".
21107 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
21108 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
21110 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
21112 aix_use_runtimelinking=no
21114 # Test if we are trying to use run time linking or normal
21115 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21116 # need to do runtime linking.
21117 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
21118 for ld_flag in $LDFLAGS; do
21119 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
21120 aix_use_runtimelinking=yes
21127 exp_sym_flag='-bexport'
21128 no_entry_flag='-bnoentry'
21131 # When large executables or shared objects are built, AIX ld can
21132 # have problems creating the table of contents. If linking a library
21133 # or program results in "error TOC overflow" add -mminimal-toc to
21134 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
21135 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21138 hardcode_direct_FC=yes
21139 hardcode_direct_absolute_FC=yes
21140 hardcode_libdir_separator_FC=':'
21141 link_all_deplibs_FC=yes
21142 file_list_spec_FC='${wl}-f,'
21144 if test "$GCC" = yes; then
21145 case $host_os in aix4.[012]|aix4.[012].*)
21146 # We only want to do this on AIX 4.2 and lower, the check
21147 # below for broken collect2 doesn't work under 4.3+
21148 collect2name=`${CC} -print-prog-name=collect2`
21149 if test -f "$collect2name" &&
21150 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
21152 # We have reworked collect2
21155 # We have old collect2
21156 hardcode_direct_FC=unsupported
21157 # It fails to find uninstalled libraries when the uninstalled
21158 # path is not listed in the libpath. Setting hardcode_minus_L
21159 # to unsupported forces relinking
21160 hardcode_minus_L_FC=yes
21161 hardcode_libdir_flag_spec_FC='-L$libdir'
21162 hardcode_libdir_separator_FC=
21166 shared_flag='-shared'
21167 if test "$aix_use_runtimelinking" = yes; then
21168 shared_flag="$shared_flag "'${wl}-G'
21172 if test "$host_cpu" = ia64; then
21173 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21174 # chokes on -Wl,-G. The following line is correct:
21177 if test "$aix_use_runtimelinking" = yes; then
21178 shared_flag='${wl}-G'
21180 shared_flag='${wl}-bM:SRE'
21185 export_dynamic_flag_spec_FC='${wl}-bexpall'
21186 # It seems that -bexpall does not export symbols beginning with
21187 # underscore (_), so it is better to generate a list of symbols to export.
21188 always_export_symbols_FC=yes
21189 if test "$aix_use_runtimelinking" = yes; then
21190 # Warning - without using the other runtime loading flags (-brtl),
21191 # -berok will link without error, but may produce a broken library.
21192 allow_undefined_flag_FC='-berok'
21193 # Determine the default libpath from the value encoded in an
21194 # empty executable.
21195 if test "${lt_cv_aix_libpath+set}" = set; then
21196 aix_libpath=$lt_cv_aix_libpath
21198 if ${lt_cv_aix_libpath__FC+:} false; then :
21199 $as_echo_n "(cached) " >&6
21201 cat > conftest.$ac_ext <<_ACEOF
21206 if ac_fn_fc_try_link "$LINENO"; then :
21208 lt_aix_libpath_sed='
21209 /Import File Strings/,/^$/ {
21211 s/^0 *\([^ ]*\) *$/\1/
21215 lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21216 # Check for a 64-bit object if we didn't find anything.
21217 if test -z "$lt_cv_aix_libpath__FC"; then
21218 lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21221 rm -f core conftest.err conftest.$ac_objext \
21222 conftest$ac_exeext conftest.$ac_ext
21223 if test -z "$lt_cv_aix_libpath__FC"; then
21224 lt_cv_aix_libpath__FC="/usr/lib:/lib"
21229 aix_libpath=$lt_cv_aix_libpath__FC
21232 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
21233 archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
21235 if test "$host_cpu" = ia64; then
21236 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
21237 allow_undefined_flag_FC="-z nodefs"
21238 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"
21240 # Determine the default libpath from the value encoded in an
21241 # empty executable.
21242 if test "${lt_cv_aix_libpath+set}" = set; then
21243 aix_libpath=$lt_cv_aix_libpath
21245 if ${lt_cv_aix_libpath__FC+:} false; then :
21246 $as_echo_n "(cached) " >&6
21248 cat > conftest.$ac_ext <<_ACEOF
21253 if ac_fn_fc_try_link "$LINENO"; then :
21255 lt_aix_libpath_sed='
21256 /Import File Strings/,/^$/ {
21258 s/^0 *\([^ ]*\) *$/\1/
21262 lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21263 # Check for a 64-bit object if we didn't find anything.
21264 if test -z "$lt_cv_aix_libpath__FC"; then
21265 lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21268 rm -f core conftest.err conftest.$ac_objext \
21269 conftest$ac_exeext conftest.$ac_ext
21270 if test -z "$lt_cv_aix_libpath__FC"; then
21271 lt_cv_aix_libpath__FC="/usr/lib:/lib"
21276 aix_libpath=$lt_cv_aix_libpath__FC
21279 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
21280 # Warning - without using the other run time loading flags,
21281 # -berok will link without error, but may produce a broken library.
21282 no_undefined_flag_FC=' ${wl}-bernotok'
21283 allow_undefined_flag_FC=' ${wl}-berok'
21284 if test "$with_gnu_ld" = yes; then
21285 # We only use this code for GNU lds that support --whole-archive.
21286 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
21288 # Exported symbols can be pulled into shared objects from archives
21289 whole_archive_flag_spec_FC='$convenience'
21291 archive_cmds_need_lc_FC=yes
21292 # This is similar to how AIX traditionally builds its shared libraries.
21293 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
21301 # see comment about AmigaOS4 .so support
21302 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21303 archive_expsym_cmds_FC=''
21306 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)'
21307 hardcode_libdir_flag_spec_FC='-L$libdir'
21308 hardcode_minus_L_FC=yes
21314 export_dynamic_flag_spec_FC=-rdynamic
21317 cygwin* | mingw* | pw32* | cegcc*)
21318 # When not using gcc, we currently assume that we are using
21319 # Microsoft Visual C++.
21320 # hardcode_libdir_flag_spec is actually meaningless, as there is
21321 # no search path for DLLs.
21322 case $cc_basename in
21325 hardcode_libdir_flag_spec_FC=' '
21326 allow_undefined_flag_FC=unsupported
21327 always_export_symbols_FC=yes
21328 file_list_spec_FC='@'
21329 # Tell ltmain to make .lib files, not .a files.
21331 # Tell ltmain to make .dll files, not .so files.
21333 # FIXME: Setting linknames here is a bad hack.
21334 archive_cmds_FC='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
21335 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21336 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
21338 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
21340 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
21342 # The linker will not automatically build a static lib if we build a DLL.
21343 # _LT_TAGVAR(old_archive_from_new_cmds, FC)='true'
21344 enable_shared_with_static_runtimes_FC=yes
21345 exclude_expsyms_FC='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
21346 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
21348 old_postinstall_cmds_FC='chmod 644 $oldlib'
21349 postlink_cmds_FC='lt_outputfile="@OUTPUT@"~
21350 lt_tool_outputfile="@TOOL_OUTPUT@"~
21351 case $lt_outputfile in
21354 lt_outputfile="$lt_outputfile.exe"
21355 lt_tool_outputfile="$lt_tool_outputfile.exe"
21358 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
21359 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
21360 $RM "$lt_outputfile.manifest";
21364 # Assume MSVC wrapper
21365 hardcode_libdir_flag_spec_FC=' '
21366 allow_undefined_flag_FC=unsupported
21367 # Tell ltmain to make .lib files, not .a files.
21369 # Tell ltmain to make .dll files, not .so files.
21371 # FIXME: Setting linknames here is a bad hack.
21372 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
21373 # The linker will automatically build a .lib file if we build a DLL.
21374 old_archive_from_new_cmds_FC='true'
21375 # FIXME: Should let the user specify the lib program.
21376 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
21377 enable_shared_with_static_runtimes_FC=yes
21382 darwin* | rhapsody*)
21385 archive_cmds_need_lc_FC=no
21386 hardcode_direct_FC=no
21387 hardcode_automatic_FC=yes
21388 hardcode_shlibpath_var_FC=unsupported
21389 if test "$lt_cv_ld_force_load" = "yes"; then
21390 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\"`'
21391 compiler_needs_object_FC=yes
21393 whole_archive_flag_spec_FC=''
21395 link_all_deplibs_FC=yes
21396 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
21397 case $cc_basename in
21398 ifort*) _lt_dar_can_shared=yes ;;
21399 *) _lt_dar_can_shared=$GCC ;;
21401 if test "$_lt_dar_can_shared" = "yes"; then
21402 output_verbose_link_cmd=func_echo_all
21403 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}"
21404 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
21405 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}"
21406 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}"
21415 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21416 hardcode_libdir_flag_spec_FC='-L$libdir'
21417 hardcode_shlibpath_var_FC=no
21420 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21421 # support. Future versions do this automatically, but an explicit c++rt0.o
21422 # does not break anything, and helps significantly (at the cost of a little
21425 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21426 hardcode_libdir_flag_spec_FC='-R$libdir'
21427 hardcode_direct_FC=yes
21428 hardcode_shlibpath_var_FC=no
21431 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21433 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21434 hardcode_direct_FC=yes
21435 hardcode_minus_L_FC=yes
21436 hardcode_shlibpath_var_FC=no
21439 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21440 freebsd* | dragonfly*)
21441 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21442 hardcode_libdir_flag_spec_FC='-R$libdir'
21443 hardcode_direct_FC=yes
21444 hardcode_shlibpath_var_FC=no
21448 if test "$GCC" = yes; then
21449 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
21451 archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
21453 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
21454 hardcode_libdir_separator_FC=:
21455 hardcode_direct_FC=yes
21457 # hardcode_minus_L: Not really in the search PATH,
21458 # but as the default location of the library.
21459 hardcode_minus_L_FC=yes
21460 export_dynamic_flag_spec_FC='${wl}-E'
21464 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
21465 archive_cmds_FC='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21467 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21469 if test "$with_gnu_ld" = no; then
21470 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
21471 hardcode_libdir_separator_FC=:
21472 hardcode_direct_FC=yes
21473 hardcode_direct_absolute_FC=yes
21474 export_dynamic_flag_spec_FC='${wl}-E'
21475 # hardcode_minus_L: Not really in the search PATH,
21476 # but as the default location of the library.
21477 hardcode_minus_L_FC=yes
21482 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
21485 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21488 archive_cmds_FC='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21491 archive_cmds_FC='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21497 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21500 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21503 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21507 if test "$with_gnu_ld" = no; then
21508 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
21509 hardcode_libdir_separator_FC=:
21513 hardcode_direct_FC=no
21514 hardcode_shlibpath_var_FC=no
21517 hardcode_direct_FC=yes
21518 hardcode_direct_absolute_FC=yes
21519 export_dynamic_flag_spec_FC='${wl}-E'
21521 # hardcode_minus_L: Not really in the search PATH,
21522 # but as the default location of the library.
21523 hardcode_minus_L_FC=yes
21529 irix5* | irix6* | nonstopux*)
21530 if test "$GCC" = yes; then
21531 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'
21532 # Try to use the -exported_symbol ld option, if it does not
21533 # work, assume that -exports_file does not work either and
21534 # implicitly export all symbols.
21535 # This should be the same for all languages, so no per-tag cache variable.
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
21537 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
21538 if ${lt_cv_irix_exported_symbol+:} false; then :
21539 $as_echo_n "(cached) " >&6
21541 save_LDFLAGS="$LDFLAGS"
21542 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
21543 cat > conftest.$ac_ext <<_ACEOF
21548 if ac_fn_fc_try_link "$LINENO"; then :
21549 lt_cv_irix_exported_symbol=yes
21551 lt_cv_irix_exported_symbol=no
21553 rm -f core conftest.err conftest.$ac_objext \
21554 conftest$ac_exeext conftest.$ac_ext
21555 LDFLAGS="$save_LDFLAGS"
21557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
21558 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
21559 if test "$lt_cv_irix_exported_symbol" = yes; then
21560 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'
21563 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'
21564 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'
21566 archive_cmds_need_lc_FC='no'
21567 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
21568 hardcode_libdir_separator_FC=:
21569 inherit_rpath_FC=yes
21570 link_all_deplibs_FC=yes
21574 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
21575 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
21577 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
21579 hardcode_libdir_flag_spec_FC='-R$libdir'
21580 hardcode_direct_FC=yes
21581 hardcode_shlibpath_var_FC=no
21585 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21586 hardcode_direct_FC=yes
21587 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
21588 hardcode_libdir_separator_FC=:
21589 hardcode_shlibpath_var_FC=no
21596 if test -f /usr/libexec/ld.so; then
21597 hardcode_direct_FC=yes
21598 hardcode_shlibpath_var_FC=no
21599 hardcode_direct_absolute_FC=yes
21600 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21601 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21602 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
21603 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
21604 export_dynamic_flag_spec_FC='${wl}-E'
21607 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
21608 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21609 hardcode_libdir_flag_spec_FC='-R$libdir'
21612 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
21613 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
21623 hardcode_libdir_flag_spec_FC='-L$libdir'
21624 hardcode_minus_L_FC=yes
21625 allow_undefined_flag_FC=unsupported
21626 archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
21627 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
21631 if test "$GCC" = yes; then
21632 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
21633 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'
21635 allow_undefined_flag_FC=' -expect_unresolved \*'
21636 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'
21638 archive_cmds_need_lc_FC='no'
21639 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
21640 hardcode_libdir_separator_FC=:
21643 osf4* | osf5*) # as osf3* with the addition of -msym flag
21644 if test "$GCC" = yes; then
21645 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
21646 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'
21647 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
21649 allow_undefined_flag_FC=' -expect_unresolved \*'
21650 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'
21651 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~
21652 $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'
21654 # Both c and cxx compiler support -rpath directly
21655 hardcode_libdir_flag_spec_FC='-rpath $libdir'
21657 archive_cmds_need_lc_FC='no'
21658 hardcode_libdir_separator_FC=:
21662 no_undefined_flag_FC=' -z defs'
21663 if test "$GCC" = yes; then
21665 archive_cmds_FC='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21666 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
21667 $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'
21669 case `$CC -V 2>&1` in
21672 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
21673 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
21674 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
21678 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
21679 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
21680 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
21684 hardcode_libdir_flag_spec_FC='-R$libdir'
21685 hardcode_shlibpath_var_FC=no
21687 solaris2.[0-5] | solaris2.[0-5].*) ;;
21689 # The compiler driver will combine and reorder linker options,
21690 # but understands `-z linker_flag'. GCC discards it without `$wl',
21691 # but is careful enough not to reorder.
21692 # Supported since Solaris 2.6 (maybe 2.5.1?)
21693 if test "$GCC" = yes; then
21694 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
21696 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
21700 link_all_deplibs_FC=yes
21704 if test "x$host_vendor" = xsequent; then
21705 # Use $CC to link under sequent, because it throws in some extra .o
21706 # files that make .init and .fini sections work.
21707 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
21709 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
21711 hardcode_libdir_flag_spec_FC='-L$libdir'
21712 hardcode_direct_FC=yes
21713 hardcode_minus_L_FC=yes
21714 hardcode_shlibpath_var_FC=no
21718 case $host_vendor in
21720 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21721 hardcode_direct_FC=yes # is this really true???
21724 ## LD is ld it makes a PLAMLIB
21725 ## CC just makes a GrossModule.
21726 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
21727 reload_cmds_FC='$CC -r -o $output$reload_objs'
21728 hardcode_direct_FC=no
21731 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21732 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
21735 runpath_var='LD_RUN_PATH'
21736 hardcode_shlibpath_var_FC=no
21740 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21741 hardcode_shlibpath_var_FC=no
21742 export_dynamic_flag_spec_FC='-Bexport'
21746 if test -d /usr/nec; then
21747 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21748 hardcode_shlibpath_var_FC=no
21749 runpath_var=LD_RUN_PATH
21750 hardcode_runpath_var=yes
21755 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
21756 no_undefined_flag_FC='${wl}-z,text'
21757 archive_cmds_need_lc_FC=no
21758 hardcode_shlibpath_var_FC=no
21759 runpath_var='LD_RUN_PATH'
21761 if test "$GCC" = yes; then
21762 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21763 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21765 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21766 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21770 sysv5* | sco3.2v5* | sco5v6*)
21771 # Note: We can NOT use -z defs as we might desire, because we do not
21772 # link with -lc, and that would cause any symbols used from libc to
21773 # always be unresolved, which means just about no library would
21774 # ever link correctly. If we're not using GNU ld we use -z text
21775 # though, which does catch some bad symbols but isn't as heavy-handed
21777 no_undefined_flag_FC='${wl}-z,text'
21778 allow_undefined_flag_FC='${wl}-z,nodefs'
21779 archive_cmds_need_lc_FC=no
21780 hardcode_shlibpath_var_FC=no
21781 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
21782 hardcode_libdir_separator_FC=':'
21783 link_all_deplibs_FC=yes
21784 export_dynamic_flag_spec_FC='${wl}-Bexport'
21785 runpath_var='LD_RUN_PATH'
21787 if test "$GCC" = yes; then
21788 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21789 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21791 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21792 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
21797 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21798 hardcode_libdir_flag_spec_FC='-L$libdir'
21799 hardcode_shlibpath_var_FC=no
21807 if test x$host_vendor = xsni; then
21809 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
21810 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
21816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
21817 $as_echo "$ld_shlibs_FC" >&6; }
21818 test "$ld_shlibs_FC" = no && can_build_shared=no
21820 with_gnu_ld_FC=$with_gnu_ld
21828 # Do we need to explicitly link libc?
21830 case "x$archive_cmds_need_lc_FC" in
21832 # Assume -lc should be added
21833 archive_cmds_need_lc_FC=yes
21835 if test "$enable_shared" = yes && test "$GCC" = yes; then
21836 case $archive_cmds_FC in
21838 # FIXME: we may have to deal with multi-command sequences.
21841 # Test whether the compiler implicitly links with -lc since on some
21842 # systems, -lgcc has to come before -lc. If gcc already passes -lc
21843 # to ld, don't add -lc before -lgcc.
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
21845 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
21846 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
21847 $as_echo_n "(cached) " >&6
21850 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21852 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
21853 (eval $ac_compile) 2>&5
21855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21856 test $ac_status = 0; } 2>conftest.err; then
21859 libobjs=conftest.$ac_objext
21861 wl=$lt_prog_compiler_wl_FC
21862 pic_flag=$lt_prog_compiler_pic_FC
21868 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
21869 allow_undefined_flag_FC=
21870 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
21871 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
21873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21874 test $ac_status = 0; }
21876 lt_cv_archive_cmds_need_lc_FC=no
21878 lt_cv_archive_cmds_need_lc_FC=yes
21880 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
21882 cat conftest.err 1>&5
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
21888 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
21889 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
21958 $as_echo_n "checking dynamic linker characteristics... " >&6; }
21960 library_names_spec=
21961 libname_spec='lib$name'
21965 postuninstall_cmds=
21969 shlibpath_overrides_runpath=unknown
21971 dynamic_linker="$host_os ld.so"
21972 sys_lib_dlsearch_path_spec="/lib /usr/lib"
21973 need_lib_prefix=unknown
21974 hardcode_into_libs=no
21976 # when you set need_version to no, make sure it does not cause -set_version
21977 # flags to be left without arguments
21978 need_version=unknown
21982 version_type=linux # correct to gnu/linux during the next big refactor
21983 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
21984 shlibpath_var=LIBPATH
21986 # AIX 3 has no versioning support, so we append a major version to the name.
21987 soname_spec='${libname}${release}${shared_ext}$major'
21991 version_type=linux # correct to gnu/linux during the next big refactor
21994 hardcode_into_libs=yes
21995 if test "$host_cpu" = ia64; then
21996 # AIX 5 supports IA64
21997 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
21998 shlibpath_var=LD_LIBRARY_PATH
22000 # With GCC up to 2.95.x, collect2 would create an import file
22001 # for dependence libraries. The import file would start with
22002 # the line `#! .'. This would cause the generated library to
22003 # depend on `.', always an invalid library. This was fixed in
22004 # development snapshots of GCC prior to 3.0.
22006 aix4 | aix4.[01] | aix4.[01].*)
22007 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22009 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
22012 can_build_shared=no
22016 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22017 # soname into executable. Probably we can add versioning support to
22018 # collect2, so additional links can be useful in future.
22019 if test "$aix_use_runtimelinking" = yes; then
22020 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22021 # instead of lib<name>.a to let people know that these are not
22022 # typical AIX shared libraries.
22023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22025 # We preserve .a as extension for shared libraries through AIX4.2
22026 # and later when we are not doing run time linking.
22027 library_names_spec='${libname}${release}.a $libname.a'
22028 soname_spec='${libname}${release}${shared_ext}$major'
22030 shlibpath_var=LIBPATH
22037 # Since July 2007 AmigaOS4 officially supports .so libraries.
22038 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
22039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22042 library_names_spec='$libname.ixlibrary $libname.a'
22043 # Create ${libname}_ixlibrary.a entries in /sys/libs.
22044 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
22050 library_names_spec='${libname}${shared_ext}'
22051 dynamic_linker="$host_os ld.so"
22052 shlibpath_var=LIBRARY_PATH
22056 version_type=linux # correct to gnu/linux during the next big refactor
22058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22059 soname_spec='${libname}${release}${shared_ext}$major'
22060 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22061 shlibpath_var=LD_LIBRARY_PATH
22062 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22063 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22064 # the default ld.so.conf also contains /usr/contrib/lib and
22065 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22066 # libtool to hard-code these into programs
22069 cygwin* | mingw* | pw32* | cegcc*)
22070 version_type=windows
22075 case $GCC,$cc_basename in
22078 library_names_spec='$libname.dll.a'
22079 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22080 postinstall_cmds='base_file=`basename \${file}`~
22081 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
22082 dldir=$destdir/`dirname \$dlpath`~
22083 test -d \$dldir || mkdir -p \$dldir~
22084 $install_prog $dir/$dlname \$dldir/$dlname~
22085 chmod a+x \$dldir/$dlname~
22086 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
22087 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
22089 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22090 dlpath=$dir/\$dldll~
22092 shlibpath_overrides_runpath=yes
22096 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22097 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22101 # MinGW DLLs use traditional 'lib' prefix
22102 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22105 # pw32 DLLs use 'pw' prefix rather than 'lib'
22106 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22109 dynamic_linker='Win32 ld.exe'
22114 libname_spec='$name'
22115 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22116 library_names_spec='${libname}.dll.lib'
22120 sys_lib_search_path_spec=
22123 for lt_path in $LIB
22126 # Let DOS variable expansion print the short 8.3 style file name.
22127 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
22128 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
22131 # Convert to MSYS style.
22132 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
22135 # Convert to unix form, then to dos form, then back to unix form
22136 # but this time dos style (no spaces!) so that the unix form looks
22137 # like /cygdrive/c/PROGRA~1:/cygdr...
22138 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
22139 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
22140 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22143 sys_lib_search_path_spec="$LIB"
22144 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
22145 # It is most probably a Windows format PATH.
22146 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22148 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
22150 # FIXME: find the short name or the path components, as spaces are
22151 # common. (e.g. "Program Files" -> "PROGRA~1")
22155 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22156 postinstall_cmds='base_file=`basename \${file}`~
22157 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
22158 dldir=$destdir/`dirname \$dlpath`~
22159 test -d \$dldir || mkdir -p \$dldir~
22160 $install_prog $dir/$dlname \$dldir/$dlname'
22161 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22162 dlpath=$dir/\$dldll~
22164 shlibpath_overrides_runpath=yes
22165 dynamic_linker='Win32 link.exe'
22169 # Assume MSVC wrapper
22170 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22171 dynamic_linker='Win32 ld.exe'
22174 # FIXME: first we should search . and the directory the executable is in
22178 darwin* | rhapsody*)
22179 dynamic_linker="$host_os dyld"
22180 version_type=darwin
22183 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22184 soname_spec='${libname}${release}${major}$shared_ext'
22185 shlibpath_overrides_runpath=yes
22186 shlibpath_var=DYLD_LIBRARY_PATH
22187 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22189 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22193 version_type=linux # correct to gnu/linux during the next big refactor
22196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22197 soname_spec='${libname}${release}${shared_ext}$major'
22198 shlibpath_var=LD_LIBRARY_PATH
22201 freebsd* | dragonfly*)
22202 # DragonFly does not have aout. When/if they implement a new
22203 # versioning mechanism, adjust this.
22204 if test -x /usr/bin/objformat; then
22205 objformat=`/usr/bin/objformat`
22208 freebsd[23].*) objformat=aout ;;
22209 *) objformat=elf ;;
22212 version_type=freebsd-$objformat
22213 case $version_type in
22215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22220 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22224 shlibpath_var=LD_LIBRARY_PATH
22227 shlibpath_overrides_runpath=yes
22229 freebsd3.[01]* | freebsdelf3.[01]*)
22230 shlibpath_overrides_runpath=yes
22231 hardcode_into_libs=yes
22233 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22234 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22235 shlibpath_overrides_runpath=no
22236 hardcode_into_libs=yes
22238 *) # from 4.6 on, and DragonFly
22239 shlibpath_overrides_runpath=yes
22240 hardcode_into_libs=yes
22246 version_type=linux # correct to gnu/linux during the next big refactor
22249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22250 soname_spec='${libname}${release}${shared_ext}$major'
22251 shlibpath_var=LD_LIBRARY_PATH
22252 shlibpath_overrides_runpath=no
22253 hardcode_into_libs=yes
22257 version_type=linux # correct to gnu/linux during the next big refactor
22260 dynamic_linker="$host_os runtime_loader"
22261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22262 soname_spec='${libname}${release}${shared_ext}$major'
22263 shlibpath_var=LIBRARY_PATH
22264 shlibpath_overrides_runpath=yes
22265 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
22266 hardcode_into_libs=yes
22269 hpux9* | hpux10* | hpux11*)
22270 # Give a soname corresponding to the major version so that dld.sl refuses to
22271 # link against other versions.
22278 hardcode_into_libs=yes
22279 dynamic_linker="$host_os dld.so"
22280 shlibpath_var=LD_LIBRARY_PATH
22281 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22283 soname_spec='${libname}${release}${shared_ext}$major'
22284 if test "X$HPUX_IA64_MODE" = X32; then
22285 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22287 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22289 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22293 hardcode_into_libs=yes
22294 dynamic_linker="$host_os dld.sl"
22295 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22296 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22298 soname_spec='${libname}${release}${shared_ext}$major'
22299 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22300 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22304 dynamic_linker="$host_os dld.sl"
22305 shlibpath_var=SHLIB_PATH
22306 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22308 soname_spec='${libname}${release}${shared_ext}$major'
22311 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
22312 postinstall_cmds='chmod 555 $lib'
22313 # or fails outright, so override atomically:
22314 install_override_mode=555
22318 version_type=linux # correct to gnu/linux during the next big refactor
22321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22322 soname_spec='${libname}${release}${shared_ext}$major'
22323 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22324 shlibpath_var=LD_LIBRARY_PATH
22325 shlibpath_overrides_runpath=no
22326 hardcode_into_libs=yes
22329 irix5* | irix6* | nonstopux*)
22331 nonstopux*) version_type=nonstopux ;;
22333 if test "$lt_cv_prog_gnu_ld" = yes; then
22334 version_type=linux # correct to gnu/linux during the next big refactor
22341 soname_spec='${libname}${release}${shared_ext}$major'
22342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22344 irix5* | nonstopux*)
22345 libsuff= shlibsuff=
22348 case $LD in # libtool.m4 will add one of these switches to LD
22349 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22350 libsuff= shlibsuff= libmagic=32-bit;;
22351 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22352 libsuff=32 shlibsuff=N32 libmagic=N32;;
22353 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22354 libsuff=64 shlibsuff=64 libmagic=64-bit;;
22355 *) libsuff= shlibsuff= libmagic=never-match;;
22359 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22360 shlibpath_overrides_runpath=no
22361 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22362 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22363 hardcode_into_libs=yes
22366 # No shared lib support for Linux oldld, aout, or coff.
22367 linux*oldld* | linux*aout* | linux*coff*)
22371 # This must be glibc/ELF.
22372 linux* | k*bsd*-gnu | kopensolaris*-gnu)
22373 version_type=linux # correct to gnu/linux during the next big refactor
22376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22377 soname_spec='${libname}${release}${shared_ext}$major'
22378 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22379 shlibpath_var=LD_LIBRARY_PATH
22380 shlibpath_overrides_runpath=no
22382 # Some binutils ld are patched to set DT_RUNPATH
22383 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
22384 $as_echo_n "(cached) " >&6
22386 lt_cv_shlibpath_overrides_runpath=no
22387 save_LDFLAGS=$LDFLAGS
22388 save_libdir=$libdir
22389 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
22390 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
22391 cat > conftest.$ac_ext <<_ACEOF
22396 if ac_fn_fc_try_link "$LINENO"; then :
22397 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
22398 lt_cv_shlibpath_overrides_runpath=yes
22401 rm -f core conftest.err conftest.$ac_objext \
22402 conftest$ac_exeext conftest.$ac_ext
22403 LDFLAGS=$save_LDFLAGS
22404 libdir=$save_libdir
22408 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
22410 # This implies no fast_install, which is unacceptable.
22411 # Some rework will be needed to allow for fast_install
22412 # before this can be enabled.
22413 hardcode_into_libs=yes
22415 # Append ld.so.conf contents to the search path
22416 if test -f /etc/ld.so.conf; then
22417 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' ' '`
22418 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
22421 # We used to test for /lib/ld.so.1 and disable shared libraries on
22422 # powerpc, because MkLinux only supported shared libraries with the
22423 # GNU dynamic linker. Since this was broken with cross compilers,
22424 # most powerpc-linux boxes support dynamic linking these days and
22425 # people can always --disable-shared, the test was removed, and we
22426 # assume the GNU/Linux dynamic linker is in use.
22427 dynamic_linker='GNU/Linux ld.so'
22434 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
22435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22436 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22437 dynamic_linker='NetBSD (a.out) ld.so'
22439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22440 soname_spec='${libname}${release}${shared_ext}$major'
22441 dynamic_linker='NetBSD ld.elf_so'
22443 shlibpath_var=LD_LIBRARY_PATH
22444 shlibpath_overrides_runpath=yes
22445 hardcode_into_libs=yes
22449 version_type=linux # correct to gnu/linux during the next big refactor
22450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22451 shlibpath_var=LD_LIBRARY_PATH
22452 shlibpath_overrides_runpath=yes
22459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22460 soname_spec='${libname}${release}${shared_ext}$major'
22461 shlibpath_var=LD_LIBRARY_PATH
22462 shlibpath_overrides_runpath=no
22463 hardcode_into_libs=yes
22464 dynamic_linker='ldqnx.so'
22469 sys_lib_dlsearch_path_spec="/usr/lib"
22471 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22473 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
22474 *) need_version=no ;;
22476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22477 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22478 shlibpath_var=LD_LIBRARY_PATH
22479 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22481 openbsd2.[89] | openbsd2.[89].*)
22482 shlibpath_overrides_runpath=no
22485 shlibpath_overrides_runpath=yes
22489 shlibpath_overrides_runpath=yes
22494 libname_spec='$name'
22497 library_names_spec='$libname${shared_ext} $libname.a'
22498 dynamic_linker='OS/2 ld.exe'
22499 shlibpath_var=LIBPATH
22502 osf3* | osf4* | osf5*)
22506 soname_spec='${libname}${release}${shared_ext}$major'
22507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22508 shlibpath_var=LD_LIBRARY_PATH
22509 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22510 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22518 version_type=linux # correct to gnu/linux during the next big refactor
22521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22522 soname_spec='${libname}${release}${shared_ext}$major'
22523 shlibpath_var=LD_LIBRARY_PATH
22524 shlibpath_overrides_runpath=yes
22525 hardcode_into_libs=yes
22526 # ldd complains unless libraries are executable
22527 postinstall_cmds='chmod +x $lib'
22532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22533 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22534 shlibpath_var=LD_LIBRARY_PATH
22535 shlibpath_overrides_runpath=yes
22536 if test "$with_gnu_ld" = yes; then
22543 version_type=linux # correct to gnu/linux during the next big refactor
22544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22545 soname_spec='${libname}${release}${shared_ext}$major'
22546 shlibpath_var=LD_LIBRARY_PATH
22547 case $host_vendor in
22549 shlibpath_overrides_runpath=no
22551 runpath_var=LD_RUN_PATH
22559 shlibpath_overrides_runpath=no
22560 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
22566 if test -d /usr/nec ;then
22567 version_type=linux # correct to gnu/linux during the next big refactor
22568 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22569 soname_spec='$libname${shared_ext}.$major'
22570 shlibpath_var=LD_LIBRARY_PATH
22574 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22575 version_type=freebsd-elf
22578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22579 soname_spec='${libname}${release}${shared_ext}$major'
22580 shlibpath_var=LD_LIBRARY_PATH
22581 shlibpath_overrides_runpath=yes
22582 hardcode_into_libs=yes
22583 if test "$with_gnu_ld" = yes; then
22584 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22586 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22589 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22593 sys_lib_dlsearch_path_spec='/usr/lib'
22597 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
22598 version_type=linux # correct to gnu/linux during the next big refactor
22601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22602 shlibpath_var=LD_LIBRARY_PATH
22603 shlibpath_overrides_runpath=no
22604 hardcode_into_libs=yes
22608 version_type=linux # correct to gnu/linux during the next big refactor
22609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22610 soname_spec='${libname}${release}${shared_ext}$major'
22611 shlibpath_var=LD_LIBRARY_PATH
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
22619 $as_echo "$dynamic_linker" >&6; }
22620 test "$dynamic_linker" = no && can_build_shared=no
22622 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22623 if test "$GCC" = yes; then
22624 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22627 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
22628 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
22630 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
22631 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
22672 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
22673 hardcode_action_FC=
22674 if test -n "$hardcode_libdir_flag_spec_FC" ||
22675 test -n "$runpath_var_FC" ||
22676 test "X$hardcode_automatic_FC" = "Xyes" ; then
22678 # We can hardcode non-existent directories.
22679 if test "$hardcode_direct_FC" != no &&
22680 # If the only mechanism to avoid hardcoding is shlibpath_var, we
22681 # have to relink, otherwise we might link with an installed library
22682 # when we should be linking with a yet-to-be-installed one
22683 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
22684 test "$hardcode_minus_L_FC" != no; then
22685 # Linking always hardcodes the temporary library directory.
22686 hardcode_action_FC=relink
22688 # We can link without hardcoding, and we can hardcode nonexisting dirs.
22689 hardcode_action_FC=immediate
22692 # We cannot hardcode anything, or else we can only hardcode existing
22694 hardcode_action_FC=unsupported
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
22697 $as_echo "$hardcode_action_FC" >&6; }
22699 if test "$hardcode_action_FC" = relink ||
22700 test "$inherit_rpath_FC" = yes; then
22701 # Fast installation is not supported
22702 enable_fast_install=no
22703 elif test "$shlibpath_overrides_runpath" = yes ||
22704 test "$enable_shared" = no; then
22705 # Fast installation is not necessary
22706 enable_fast_install=needless
22715 fi # test -n "$compiler"
22719 CFLAGS=$lt_save_CFLAGS
22720 fi # test "$_lt_disable_FC" != yes
22723 ac_cpp='$CPP $CPPFLAGS'
22724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22729 if test -n "$ac_tool_prefix"; then
22730 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
22731 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
22732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22733 $as_echo_n "checking for $ac_word... " >&6; }
22734 if ${ac_cv_prog_GOC+:} false; then :
22735 $as_echo_n "(cached) " >&6
22737 if test -n "$GOC"; then
22738 ac_cv_prog_GOC="$GOC" # Let the user override the test.
22740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22741 for as_dir in $PATH
22744 test -z "$as_dir" && as_dir=.
22745 for ac_exec_ext in '' $ac_executable_extensions; do
22746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22747 ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
22748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22757 GOC=$ac_cv_prog_GOC
22758 if test -n "$GOC"; then
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
22760 $as_echo "$GOC" >&6; }
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22763 $as_echo "no" >&6; }
22768 if test -z "$ac_cv_prog_GOC"; then
22770 # Extract the first word of "gccgo", so it can be a program name with args.
22771 set dummy gccgo; ac_word=$2
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22773 $as_echo_n "checking for $ac_word... " >&6; }
22774 if ${ac_cv_prog_ac_ct_GOC+:} false; then :
22775 $as_echo_n "(cached) " >&6
22777 if test -n "$ac_ct_GOC"; then
22778 ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
22780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22781 for as_dir in $PATH
22784 test -z "$as_dir" && as_dir=.
22785 for ac_exec_ext in '' $ac_executable_extensions; do
22786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22787 ac_cv_prog_ac_ct_GOC="gccgo"
22788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22797 ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
22798 if test -n "$ac_ct_GOC"; then
22799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
22800 $as_echo "$ac_ct_GOC" >&6; }
22802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22803 $as_echo "no" >&6; }
22806 if test "x$ac_ct_GOC" = x; then
22809 case $cross_compiling:$ac_tool_warned in
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22813 ac_tool_warned=yes ;;
22818 GOC="$ac_cv_prog_GOC"
22824 # Source file extension for Go test sources.
22827 # Object file extension for compiled Go test sources.
22831 # Code to be used in simple compile tests
22832 lt_simple_compile_test_code="package main; func main() { }"
22834 # Code to be used in simple link tests
22835 lt_simple_link_test_code='package main; func main() { }'
22837 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
22844 # If no C compiler was specified, use CC.
22847 # If no C compiler flags were specified, use CFLAGS.
22848 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
22850 # Allow CC to be a program name with arguments.
22854 # save warnings/boilerplate of simple test code
22855 ac_outfile=conftest.$ac_objext
22856 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
22857 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
22858 _lt_compiler_boilerplate=`cat conftest.err`
22861 ac_outfile=conftest.$ac_objext
22862 echo "$lt_simple_link_test_code" >conftest.$ac_ext
22863 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
22864 _lt_linker_boilerplate=`cat conftest.err`
22868 # Allow CC to be a program name with arguments.
22870 lt_save_CFLAGS=$CFLAGS
22878 for cc_temp in $compiler""; do
22880 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22881 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22886 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
22889 # Go did not exist at the time GCC didn't implicitly link libc in.
22890 archive_cmds_need_lc_GO=no
22892 old_archive_cmds_GO=$old_archive_cmds
22893 reload_flag_GO=$reload_flag
22894 reload_cmds_GO=$reload_cmds
22897 ## There is no encapsulation within the following macros, do not change
22898 ## the running order or otherwise move them around unless you know exactly
22899 ## what you are doing...
22900 if test -n "$compiler"; then
22902 lt_prog_compiler_no_builtin_flag_GO=
22904 if test "$GCC" = yes; then
22905 case $cc_basename in
22907 lt_prog_compiler_no_builtin_flag_GO=' -Xcompiler -fno-builtin' ;;
22909 lt_prog_compiler_no_builtin_flag_GO=' -fno-builtin' ;;
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
22913 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
22914 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
22915 $as_echo_n "(cached) " >&6
22917 lt_cv_prog_compiler_rtti_exceptions=no
22918 ac_outfile=conftest.$ac_objext
22919 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22920 lt_compiler_flag="-fno-rtti -fno-exceptions"
22921 # Insert the option either (1) after the last *FLAGS variable, or
22922 # (2) before a word containing "conftest.", or (3) at the end.
22923 # Note that $ac_compile itself does not contain backslashes and begins
22924 # with a dollar sign (not a hyphen), so the echo should work correctly.
22925 # The option is referenced via a variable to avoid confusing sed.
22926 lt_compile=`echo "$ac_compile" | $SED \
22927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22929 -e 's:$: $lt_compiler_flag:'`
22930 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
22931 (eval "$lt_compile" 2>conftest.err)
22933 cat conftest.err >&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 if (exit $ac_status) && test -s "$ac_outfile"; then
22936 # The compiler can only warn and ignore the option if not recognized
22937 # So say no if there are warnings other than the usual output.
22938 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
22939 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22940 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
22941 lt_cv_prog_compiler_rtti_exceptions=yes
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
22948 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
22950 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
22951 lt_prog_compiler_no_builtin_flag_GO="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
22960 lt_prog_compiler_wl_GO=
22961 lt_prog_compiler_pic_GO=
22962 lt_prog_compiler_static_GO=
22965 if test "$GCC" = yes; then
22966 lt_prog_compiler_wl_GO='-Wl,'
22967 lt_prog_compiler_static_GO='-static'
22971 # All AIX code is PIC.
22972 if test "$host_cpu" = ia64; then
22973 # AIX 5 now supports IA64 processor
22974 lt_prog_compiler_static_GO='-Bstatic'
22981 # see comment about AmigaOS4 .so support
22982 lt_prog_compiler_pic_GO='-fPIC'
22985 # FIXME: we need at least 68020 code to build shared libraries, but
22986 # adding the `-m68020' flag to GCC prevents building anything better,
22988 lt_prog_compiler_pic_GO='-m68020 -resident32 -malways-restore-a4'
22993 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
22994 # PIC is the default for these OSes.
22997 mingw* | cygwin* | pw32* | os2* | cegcc*)
22998 # This hack is so that the source file can tell whether it is being
22999 # built for inclusion in a dll (and should export symbols for example).
23000 # Although the cygwin gcc ignores -fPIC, still need this for old-style
23001 # (--disable-auto-import) libraries
23002 lt_prog_compiler_pic_GO='-DDLL_EXPORT'
23005 darwin* | rhapsody*)
23006 # PIC is the default on this platform
23007 # Common symbols not allowed in MH_DYLIB files
23008 lt_prog_compiler_pic_GO='-fno-common'
23012 # PIC is the default for Haiku.
23013 # The "-static" flag exists, but is broken.
23014 lt_prog_compiler_static_GO=
23018 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
23019 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
23020 # sets the default TLS model and affects inlining.
23026 lt_prog_compiler_pic_GO='-fPIC'
23032 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
23033 # Instead, we relocate shared libraries at runtime.
23037 # Just because we use GCC doesn't mean we suddenly get shared libraries
23038 # on systems that don't support them.
23039 lt_prog_compiler_can_build_shared_GO=no
23044 # QNX uses GNU C++, but need to define -shared option too, otherwise
23045 # it will coredump.
23046 lt_prog_compiler_pic_GO='-fPIC -shared'
23050 if test -d /usr/nec; then
23051 lt_prog_compiler_pic_GO=-Kconform_pic
23056 lt_prog_compiler_pic_GO='-fPIC'
23060 case $cc_basename in
23061 nvcc*) # Cuda Compiler Driver 2.2
23062 lt_prog_compiler_wl_GO='-Xlinker '
23063 if test -n "$lt_prog_compiler_pic_GO"; then
23064 lt_prog_compiler_pic_GO="-Xcompiler $lt_prog_compiler_pic_GO"
23069 # PORTME Check for flag to pass linker flags through the system compiler.
23072 lt_prog_compiler_wl_GO='-Wl,'
23073 if test "$host_cpu" = ia64; then
23074 # AIX 5 now supports IA64 processor
23075 lt_prog_compiler_static_GO='-Bstatic'
23077 lt_prog_compiler_static_GO='-bnso -bI:/lib/syscalls.exp'
23081 mingw* | cygwin* | pw32* | os2* | cegcc*)
23082 # This hack is so that the source file can tell whether it is being
23083 # built for inclusion in a dll (and should export symbols for example).
23084 lt_prog_compiler_pic_GO='-DDLL_EXPORT'
23087 hpux9* | hpux10* | hpux11*)
23088 lt_prog_compiler_wl_GO='-Wl,'
23089 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
23090 # not for PA HP-UX.
23096 lt_prog_compiler_pic_GO='+Z'
23099 # Is there a better lt_prog_compiler_static that works with the bundled CC?
23100 lt_prog_compiler_static_GO='${wl}-a ${wl}archive'
23103 irix5* | irix6* | nonstopux*)
23104 lt_prog_compiler_wl_GO='-Wl,'
23105 # PIC (with -KPIC) is the default.
23106 lt_prog_compiler_static_GO='-non_shared'
23109 linux* | k*bsd*-gnu | kopensolaris*-gnu)
23110 case $cc_basename in
23111 # old Intel for x86_64 which still supported -KPIC.
23113 lt_prog_compiler_wl_GO='-Wl,'
23114 lt_prog_compiler_pic_GO='-KPIC'
23115 lt_prog_compiler_static_GO='-static'
23117 # icc used to be incompatible with GCC.
23118 # ICC 10 doesn't accept -KPIC any more.
23120 lt_prog_compiler_wl_GO='-Wl,'
23121 lt_prog_compiler_pic_GO='-fPIC'
23122 lt_prog_compiler_static_GO='-static'
23124 # Lahey Fortran 8.1.
23126 lt_prog_compiler_wl_GO='-Wl,'
23127 lt_prog_compiler_pic_GO='--shared'
23128 lt_prog_compiler_static_GO='--static'
23131 # NAG Fortran compiler
23132 lt_prog_compiler_wl_GO='-Wl,-Wl,,'
23133 lt_prog_compiler_pic_GO='-PIC'
23134 lt_prog_compiler_static_GO='-Bstatic'
23136 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
23137 # Portland Group compilers (*not* the Pentium gcc compiler,
23138 # which looks to be a dead project)
23139 lt_prog_compiler_wl_GO='-Wl,'
23140 lt_prog_compiler_pic_GO='-fpic'
23141 lt_prog_compiler_static_GO='-Bstatic'
23144 lt_prog_compiler_wl_GO='-Wl,'
23145 # All Alpha code is PIC.
23146 lt_prog_compiler_static_GO='-non_shared'
23148 xl* | bgxl* | bgf* | mpixl*)
23149 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
23150 lt_prog_compiler_wl_GO='-Wl,'
23151 lt_prog_compiler_pic_GO='-qpic'
23152 lt_prog_compiler_static_GO='-qstaticlink'
23155 case `$CC -V 2>&1 | sed 5q` in
23156 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
23157 # Sun Fortran 8.3 passes all unrecognized flags to the linker
23158 lt_prog_compiler_pic_GO='-KPIC'
23159 lt_prog_compiler_static_GO='-Bstatic'
23160 lt_prog_compiler_wl_GO=''
23162 *Sun\ F* | *Sun*Fortran*)
23163 lt_prog_compiler_pic_GO='-KPIC'
23164 lt_prog_compiler_static_GO='-Bstatic'
23165 lt_prog_compiler_wl_GO='-Qoption ld '
23169 lt_prog_compiler_pic_GO='-KPIC'
23170 lt_prog_compiler_static_GO='-Bstatic'
23171 lt_prog_compiler_wl_GO='-Wl,'
23173 *Intel*\ [CF]*Compiler*)
23174 lt_prog_compiler_wl_GO='-Wl,'
23175 lt_prog_compiler_pic_GO='-fPIC'
23176 lt_prog_compiler_static_GO='-static'
23179 lt_prog_compiler_wl_GO='-Wl,'
23180 lt_prog_compiler_pic_GO='-fpic'
23181 lt_prog_compiler_static_GO='-Bstatic'
23189 lt_prog_compiler_pic_GO='-KPIC'
23190 lt_prog_compiler_static_GO='-Bstatic'
23194 # QNX uses GNU C++, but need to define -shared option too, otherwise
23195 # it will coredump.
23196 lt_prog_compiler_pic_GO='-fPIC -shared'
23199 osf3* | osf4* | osf5*)
23200 lt_prog_compiler_wl_GO='-Wl,'
23201 # All OSF/1 code is PIC.
23202 lt_prog_compiler_static_GO='-non_shared'
23206 lt_prog_compiler_static_GO='-non_shared'
23210 lt_prog_compiler_pic_GO='-KPIC'
23211 lt_prog_compiler_static_GO='-Bstatic'
23212 case $cc_basename in
23213 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
23214 lt_prog_compiler_wl_GO='-Qoption ld ';;
23216 lt_prog_compiler_wl_GO='-Wl,';;
23221 lt_prog_compiler_wl_GO='-Qoption ld '
23222 lt_prog_compiler_pic_GO='-PIC'
23223 lt_prog_compiler_static_GO='-Bstatic'
23226 sysv4 | sysv4.2uw2* | sysv4.3*)
23227 lt_prog_compiler_wl_GO='-Wl,'
23228 lt_prog_compiler_pic_GO='-KPIC'
23229 lt_prog_compiler_static_GO='-Bstatic'
23233 if test -d /usr/nec ;then
23234 lt_prog_compiler_pic_GO='-Kconform_pic'
23235 lt_prog_compiler_static_GO='-Bstatic'
23239 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
23240 lt_prog_compiler_wl_GO='-Wl,'
23241 lt_prog_compiler_pic_GO='-KPIC'
23242 lt_prog_compiler_static_GO='-Bstatic'
23246 lt_prog_compiler_wl_GO='-Wl,'
23247 lt_prog_compiler_can_build_shared_GO=no
23251 lt_prog_compiler_pic_GO='-pic'
23252 lt_prog_compiler_static_GO='-Bstatic'
23256 lt_prog_compiler_can_build_shared_GO=no
23262 # For platforms which do not support PIC, -DPIC is meaningless:
23264 lt_prog_compiler_pic_GO=
23267 lt_prog_compiler_pic_GO="$lt_prog_compiler_pic_GO"
23271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
23272 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
23273 if ${lt_cv_prog_compiler_pic_GO+:} false; then :
23274 $as_echo_n "(cached) " >&6
23276 lt_cv_prog_compiler_pic_GO=$lt_prog_compiler_pic_GO
23278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_GO" >&5
23279 $as_echo "$lt_cv_prog_compiler_pic_GO" >&6; }
23280 lt_prog_compiler_pic_GO=$lt_cv_prog_compiler_pic_GO
23283 # Check to make sure the PIC flag actually works.
23285 if test -n "$lt_prog_compiler_pic_GO"; then
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
23287 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
23288 if ${lt_cv_prog_compiler_pic_works_GO+:} false; then :
23289 $as_echo_n "(cached) " >&6
23291 lt_cv_prog_compiler_pic_works_GO=no
23292 ac_outfile=conftest.$ac_objext
23293 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23294 lt_compiler_flag="$lt_prog_compiler_pic_GO"
23295 # Insert the option either (1) after the last *FLAGS variable, or
23296 # (2) before a word containing "conftest.", or (3) at the end.
23297 # Note that $ac_compile itself does not contain backslashes and begins
23298 # with a dollar sign (not a hyphen), so the echo should work correctly.
23299 # The option is referenced via a variable to avoid confusing sed.
23300 lt_compile=`echo "$ac_compile" | $SED \
23301 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23302 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23303 -e 's:$: $lt_compiler_flag:'`
23304 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
23305 (eval "$lt_compile" 2>conftest.err)
23307 cat conftest.err >&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 if (exit $ac_status) && test -s "$ac_outfile"; then
23310 # The compiler can only warn and ignore the option if not recognized
23311 # So say no if there are warnings other than the usual output.
23312 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
23313 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23314 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
23315 lt_cv_prog_compiler_pic_works_GO=yes
23321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
23322 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
23324 if test x"$lt_cv_prog_compiler_pic_works_GO" = xyes; then
23325 case $lt_prog_compiler_pic_GO in
23327 *) lt_prog_compiler_pic_GO=" $lt_prog_compiler_pic_GO" ;;
23330 lt_prog_compiler_pic_GO=
23331 lt_prog_compiler_can_build_shared_GO=no
23341 # Check to make sure the static flag actually works.
23343 wl=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GO\"
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
23345 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
23346 if ${lt_cv_prog_compiler_static_works_GO+:} false; then :
23347 $as_echo_n "(cached) " >&6
23349 lt_cv_prog_compiler_static_works_GO=no
23350 save_LDFLAGS="$LDFLAGS"
23351 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
23352 echo "$lt_simple_link_test_code" > conftest.$ac_ext
23353 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
23354 # The linker can only warn and ignore the option if not recognized
23355 # So say no if there are warnings
23356 if test -s conftest.err; then
23357 # Append any errors to the config.log.
23358 cat conftest.err 1>&5
23359 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
23360 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
23361 if diff conftest.exp conftest.er2 >/dev/null; then
23362 lt_cv_prog_compiler_static_works_GO=yes
23365 lt_cv_prog_compiler_static_works_GO=yes
23369 LDFLAGS="$save_LDFLAGS"
23372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
23373 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
23375 if test x"$lt_cv_prog_compiler_static_works_GO" = xyes; then
23378 lt_prog_compiler_static_GO=
23384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
23385 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
23386 if ${lt_cv_prog_compiler_c_o_GO+:} false; then :
23387 $as_echo_n "(cached) " >&6
23389 lt_cv_prog_compiler_c_o_GO=no
23390 $RM -r conftest 2>/dev/null
23394 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23396 lt_compiler_flag="-o out/conftest2.$ac_objext"
23397 # Insert the option either (1) after the last *FLAGS variable, or
23398 # (2) before a word containing "conftest.", or (3) at the end.
23399 # Note that $ac_compile itself does not contain backslashes and begins
23400 # with a dollar sign (not a hyphen), so the echo should work correctly.
23401 lt_compile=`echo "$ac_compile" | $SED \
23402 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23403 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23404 -e 's:$: $lt_compiler_flag:'`
23405 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
23406 (eval "$lt_compile" 2>out/conftest.err)
23408 cat out/conftest.err >&5
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 if (exit $ac_status) && test -s out/conftest2.$ac_objext
23412 # The compiler can only warn and ignore the option if not recognized
23413 # So say no if there are warnings
23414 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
23415 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
23416 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
23417 lt_cv_prog_compiler_c_o_GO=yes
23422 # SGI C++ compiler will create directory out/ii_files/ for
23423 # template instantiation
23424 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
23425 $RM out/* && rmdir out
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
23432 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
23437 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
23438 if ${lt_cv_prog_compiler_c_o_GO+:} false; then :
23439 $as_echo_n "(cached) " >&6
23441 lt_cv_prog_compiler_c_o_GO=no
23442 $RM -r conftest 2>/dev/null
23446 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23448 lt_compiler_flag="-o out/conftest2.$ac_objext"
23449 # Insert the option either (1) after the last *FLAGS variable, or
23450 # (2) before a word containing "conftest.", or (3) at the end.
23451 # Note that $ac_compile itself does not contain backslashes and begins
23452 # with a dollar sign (not a hyphen), so the echo should work correctly.
23453 lt_compile=`echo "$ac_compile" | $SED \
23454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
23455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
23456 -e 's:$: $lt_compiler_flag:'`
23457 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
23458 (eval "$lt_compile" 2>out/conftest.err)
23460 cat out/conftest.err >&5
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 if (exit $ac_status) && test -s out/conftest2.$ac_objext
23464 # The compiler can only warn and ignore the option if not recognized
23465 # So say no if there are warnings
23466 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
23467 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
23468 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
23469 lt_cv_prog_compiler_c_o_GO=yes
23474 # SGI C++ compiler will create directory out/ii_files/ for
23475 # template instantiation
23476 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
23477 $RM out/* && rmdir out
23483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
23484 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
23489 hard_links="nottested"
23490 if test "$lt_cv_prog_compiler_c_o_GO" = no && test "$need_locks" != no; then
23491 # do not overwrite the value of need_locks provided by the user
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
23493 $as_echo_n "checking if we can lock with hard links... " >&6; }
23496 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23498 ln conftest.a conftest.b 2>&5 || hard_links=no
23499 ln conftest.a conftest.b 2>/dev/null && hard_links=no
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
23501 $as_echo "$hard_links" >&6; }
23502 if test "$hard_links" = no; then
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23504 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
23514 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
23517 allow_undefined_flag_GO=
23518 always_export_symbols_GO=no
23520 archive_expsym_cmds_GO=
23521 compiler_needs_object_GO=no
23522 enable_shared_with_static_runtimes_GO=no
23523 export_dynamic_flag_spec_GO=
23524 export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
23525 hardcode_automatic_GO=no
23526 hardcode_direct_GO=no
23527 hardcode_direct_absolute_GO=no
23528 hardcode_libdir_flag_spec_GO=
23529 hardcode_libdir_separator_GO=
23530 hardcode_minus_L_GO=no
23531 hardcode_shlibpath_var_GO=unsupported
23532 inherit_rpath_GO=no
23533 link_all_deplibs_GO=unknown
23535 module_expsym_cmds_GO=
23536 old_archive_from_new_cmds_GO=
23537 old_archive_from_expsyms_cmds_GO=
23538 thread_safe_flag_spec_GO=
23539 whole_archive_flag_spec_GO=
23540 # include_expsyms should be a list of space-separated symbols to be *always*
23541 # included in the symbol list
23542 include_expsyms_GO=
23543 # exclude_expsyms can be an extended regexp of symbols to exclude
23544 # it will be wrapped by ` (' and `)$', so one must not match beginning or
23545 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
23546 # as well as any symbol that contains `d'.
23547 exclude_expsyms_GO='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
23548 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
23549 # platforms (ab)use it in PIC code, but their linkers get confused if
23550 # the symbol is explicitly referenced. Since portable code cannot
23551 # rely on this symbol name, it's probably fine to never include it in
23552 # preloaded symbol tables.
23553 # Exclude shared library initialization/finalization symbols.
23554 extract_expsyms_cmds=
23557 cygwin* | mingw* | pw32* | cegcc*)
23558 # FIXME: the MSVC++ port hasn't been tested in a loooong time
23559 # When not using gcc, we currently assume that we are using
23560 # Microsoft Visual C++.
23561 if test "$GCC" != yes; then
23566 # we just hope/assume this is gcc and not c89 (= MSVC++)
23576 # On some targets, GNU ld is compatible enough with the native linker
23577 # that we're better off using the native interface for both.
23578 lt_use_gnu_ld_interface=no
23579 if test "$with_gnu_ld" = yes; then
23582 # The AIX port of GNU ld has always aspired to compatibility
23583 # with the native linker. However, as the warning in the GNU ld
23584 # block says, versions before 2.19.5* couldn't really create working
23585 # shared libraries, regardless of the interface used.
23586 case `$LD -v 2>&1` in
23587 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
23588 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
23589 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
23591 lt_use_gnu_ld_interface=yes
23596 lt_use_gnu_ld_interface=yes
23601 if test "$lt_use_gnu_ld_interface" = yes; then
23602 # If archive_cmds runs LD, not CC, wlarc should be empty
23605 # Set some defaults for GNU ld with shared library support. These
23606 # are reset later if shared libraries are not supported. Putting them
23607 # here allows them to be overridden if necessary.
23608 runpath_var=LD_RUN_PATH
23609 hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
23610 export_dynamic_flag_spec_GO='${wl}--export-dynamic'
23611 # ancient GNU ld didn't support --whole-archive et. al.
23612 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
23613 whole_archive_flag_spec_GO="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23615 whole_archive_flag_spec_GO=
23617 supports_anon_versioning=no
23618 case `$LD -v 2>&1` in
23619 *GNU\ gold*) supports_anon_versioning=yes ;;
23620 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
23621 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
23622 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
23623 *\ 2.11.*) ;; # other 2.11 versions
23624 *) supports_anon_versioning=yes ;;
23627 # See if GNU ld supports shared libraries.
23630 # On AIX/PPC, the GNU linker is very broken
23631 if test "$host_cpu" != ia64; then
23635 *** Warning: the GNU linker, at least up to release 2.19, is reported
23636 *** to be unable to reliably create shared libraries on AIX.
23637 *** Therefore, libtool is disabling shared libraries support. If you
23638 *** really care for shared libraries, you may want to install binutils
23639 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
23640 *** You will then need to restart the configuration process.
23649 # see comment about AmigaOS4 .so support
23650 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23651 archive_expsym_cmds_GO=''
23654 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)'
23655 hardcode_libdir_flag_spec_GO='-L$libdir'
23656 hardcode_minus_L_GO=yes
23662 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
23663 allow_undefined_flag_GO=unsupported
23664 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
23665 # support --undefined. This deserves some investigation. FIXME
23666 archive_cmds_GO='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23672 cygwin* | mingw* | pw32* | cegcc*)
23673 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
23674 # as there is no search path for DLLs.
23675 hardcode_libdir_flag_spec_GO='-L$libdir'
23676 export_dynamic_flag_spec_GO='${wl}--export-all-symbols'
23677 allow_undefined_flag_GO=unsupported
23678 always_export_symbols_GO=no
23679 enable_shared_with_static_runtimes_GO=yes
23680 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'
23681 exclude_expsyms_GO='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
23683 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
23684 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
23685 # If the export-symbols file already is a .def file (1st line
23686 # is EXPORTS), use it as is; otherwise, prepend...
23687 archive_expsym_cmds_GO='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
23688 cp $export_symbols $output_objdir/$soname.def;
23690 echo EXPORTS > $output_objdir/$soname.def;
23691 cat $export_symbols >> $output_objdir/$soname.def;
23693 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
23700 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23701 link_all_deplibs_GO=yes
23705 hardcode_direct_GO=no
23706 hardcode_shlibpath_var_GO=no
23707 hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
23708 export_dynamic_flag_spec_GO='${wl}-E'
23709 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
23710 # Instead, shared libraries are loaded at an image base (0x10000000 by
23711 # default) and relocated if they conflict, which is a slow very memory
23712 # consuming and fragmenting process. To avoid this, we pick a random,
23713 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
23714 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
23715 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'
23716 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'
23719 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
23721 if test "$host_os" = linux-dietlibc; then
23722 case $cc_basename in
23723 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
23726 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
23727 && test "$tmp_diet" = no
23729 tmp_addflag=' $pic_flag'
23730 tmp_sharedflag='-shared'
23731 case $cc_basename,$host_cpu in
23732 pgcc*) # Portland Group C compiler
23733 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'
23734 tmp_addflag=' $pic_flag'
23736 pgf77* | pgf90* | pgf95* | pgfortran*)
23737 # Portland Group f77 and f90 compilers
23738 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'
23739 tmp_addflag=' $pic_flag -Mnomain' ;;
23740 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
23741 tmp_addflag=' -i_dynamic' ;;
23742 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
23743 tmp_addflag=' -i_dynamic -nofor_main' ;;
23744 ifc* | ifort*) # Intel Fortran compiler
23745 tmp_addflag=' -nofor_main' ;;
23746 lf95*) # Lahey Fortran 8.1
23747 whole_archive_flag_spec_GO=
23748 tmp_sharedflag='--shared' ;;
23749 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
23750 tmp_sharedflag='-qmkshrobj'
23752 nvcc*) # Cuda Compiler Driver 2.2
23753 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'
23754 compiler_needs_object_GO=yes
23757 case `$CC -V 2>&1 | sed 5q` in
23758 *Sun\ C*) # Sun C 5.9
23759 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'
23760 compiler_needs_object_GO=yes
23761 tmp_sharedflag='-G' ;;
23762 *Sun\ F*) # Sun Fortran 8.3
23763 tmp_sharedflag='-G' ;;
23765 archive_cmds_GO='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23767 if test "x$supports_anon_versioning" = xyes; then
23768 archive_expsym_cmds_GO='echo "{ global:" > $output_objdir/$libname.ver~
23769 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
23770 echo "local: *; };" >> $output_objdir/$libname.ver~
23771 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
23774 case $cc_basename in
23775 xlf* | bgf* | bgxlf* | mpixlf*)
23776 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
23777 whole_archive_flag_spec_GO='--whole-archive$convenience --no-whole-archive'
23778 hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
23779 archive_cmds_GO='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
23780 if test "x$supports_anon_versioning" = xyes; then
23781 archive_expsym_cmds_GO='echo "{ global:" > $output_objdir/$libname.ver~
23782 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
23783 echo "local: *; };" >> $output_objdir/$libname.ver~
23784 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
23794 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
23795 archive_cmds_GO='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
23798 archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23799 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'
23804 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
23808 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
23809 *** create shared libraries on Solaris systems. Therefore, libtool
23810 *** is disabling shared libraries support. We urge you to upgrade GNU
23811 *** binutils to release 2.9.1 or newer. Another option is to modify
23812 *** your PATH or compiler configuration so that the native linker is
23813 *** used, and then restart.
23816 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
23817 archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23818 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'
23824 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
23825 case `$LD -v 2>&1` in
23826 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
23830 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
23831 *** reliably create shared libraries on SCO systems. Therefore, libtool
23832 *** is disabling shared libraries support. We urge you to upgrade GNU
23833 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
23834 *** your PATH or compiler configuration so that the native linker is
23835 *** used, and then restart.
23840 # For security reasons, it is highly recommended that you always
23841 # use absolute paths for naming shared libraries, and exclude the
23842 # DT_RUNPATH tag from executables and libraries. But doing so
23843 # requires that you compile everything twice, which is a pain.
23844 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
23845 hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
23846 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23847 archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23856 archive_cmds_GO='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23858 hardcode_direct_GO=yes
23859 hardcode_shlibpath_var_GO=no
23863 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
23864 archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23865 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'
23872 if test "$ld_shlibs_GO" = no; then
23874 hardcode_libdir_flag_spec_GO=
23875 export_dynamic_flag_spec_GO=
23876 whole_archive_flag_spec_GO=
23879 # PORTME fill in a description of your system's linker (not GNU ld)
23882 allow_undefined_flag_GO=unsupported
23883 always_export_symbols_GO=yes
23884 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'
23885 # Note: this linker hardcodes the directories in LIBPATH if there
23886 # are no directories specified by -L.
23887 hardcode_minus_L_GO=yes
23888 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
23889 # Neither direct hardcoding nor static linking is supported with a
23891 hardcode_direct_GO=unsupported
23896 if test "$host_cpu" = ia64; then
23897 # On IA64, the linker does run time linking by default, so we don't
23898 # have to do anything special.
23899 aix_use_runtimelinking=no
23900 exp_sym_flag='-Bexport'
23903 # If we're using GNU nm, then we don't want the "-C" option.
23904 # -C means demangle to AIX nm, but means don't demangle with GNU nm
23905 # Also, AIX nm treats weak defined symbols like other global
23906 # defined symbols, whereas GNU nm marks them as "W".
23907 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
23908 export_symbols_cmds_GO='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
23910 export_symbols_cmds_GO='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
23912 aix_use_runtimelinking=no
23914 # Test if we are trying to use run time linking or normal
23915 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
23916 # need to do runtime linking.
23917 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
23918 for ld_flag in $LDFLAGS; do
23919 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
23920 aix_use_runtimelinking=yes
23927 exp_sym_flag='-bexport'
23928 no_entry_flag='-bnoentry'
23931 # When large executables or shared objects are built, AIX ld can
23932 # have problems creating the table of contents. If linking a library
23933 # or program results in "error TOC overflow" add -mminimal-toc to
23934 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
23935 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
23938 hardcode_direct_GO=yes
23939 hardcode_direct_absolute_GO=yes
23940 hardcode_libdir_separator_GO=':'
23941 link_all_deplibs_GO=yes
23942 file_list_spec_GO='${wl}-f,'
23944 if test "$GCC" = yes; then
23945 case $host_os in aix4.[012]|aix4.[012].*)
23946 # We only want to do this on AIX 4.2 and lower, the check
23947 # below for broken collect2 doesn't work under 4.3+
23948 collect2name=`${CC} -print-prog-name=collect2`
23949 if test -f "$collect2name" &&
23950 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
23952 # We have reworked collect2
23955 # We have old collect2
23956 hardcode_direct_GO=unsupported
23957 # It fails to find uninstalled libraries when the uninstalled
23958 # path is not listed in the libpath. Setting hardcode_minus_L
23959 # to unsupported forces relinking
23960 hardcode_minus_L_GO=yes
23961 hardcode_libdir_flag_spec_GO='-L$libdir'
23962 hardcode_libdir_separator_GO=
23966 shared_flag='-shared'
23967 if test "$aix_use_runtimelinking" = yes; then
23968 shared_flag="$shared_flag "'${wl}-G'
23972 if test "$host_cpu" = ia64; then
23973 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
23974 # chokes on -Wl,-G. The following line is correct:
23977 if test "$aix_use_runtimelinking" = yes; then
23978 shared_flag='${wl}-G'
23980 shared_flag='${wl}-bM:SRE'
23985 export_dynamic_flag_spec_GO='${wl}-bexpall'
23986 # It seems that -bexpall does not export symbols beginning with
23987 # underscore (_), so it is better to generate a list of symbols to export.
23988 always_export_symbols_GO=yes
23989 if test "$aix_use_runtimelinking" = yes; then
23990 # Warning - without using the other runtime loading flags (-brtl),
23991 # -berok will link without error, but may produce a broken library.
23992 allow_undefined_flag_GO='-berok'
23993 # Determine the default libpath from the value encoded in an
23994 # empty executable.
23995 if test "${lt_cv_aix_libpath+set}" = set; then
23996 aix_libpath=$lt_cv_aix_libpath
23998 if ${lt_cv_aix_libpath__GO+:} false; then :
23999 $as_echo_n "(cached) " >&6
24001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24002 /* end confdefs.h. */
24012 if ac_fn_c_try_link "$LINENO"; then :
24014 lt_aix_libpath_sed='
24015 /Import File Strings/,/^$/ {
24017 s/^0 *\([^ ]*\) *$/\1/
24021 lt_cv_aix_libpath__GO=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24022 # Check for a 64-bit object if we didn't find anything.
24023 if test -z "$lt_cv_aix_libpath__GO"; then
24024 lt_cv_aix_libpath__GO=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24027 rm -f core conftest.err conftest.$ac_objext \
24028 conftest$ac_exeext conftest.$ac_ext
24029 if test -z "$lt_cv_aix_libpath__GO"; then
24030 lt_cv_aix_libpath__GO="/usr/lib:/lib"
24035 aix_libpath=$lt_cv_aix_libpath__GO
24038 hardcode_libdir_flag_spec_GO='${wl}-blibpath:$libdir:'"$aix_libpath"
24039 archive_expsym_cmds_GO='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
24041 if test "$host_cpu" = ia64; then
24042 hardcode_libdir_flag_spec_GO='${wl}-R $libdir:/usr/lib:/lib'
24043 allow_undefined_flag_GO="-z nodefs"
24044 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"
24046 # Determine the default libpath from the value encoded in an
24047 # empty executable.
24048 if test "${lt_cv_aix_libpath+set}" = set; then
24049 aix_libpath=$lt_cv_aix_libpath
24051 if ${lt_cv_aix_libpath__GO+:} false; then :
24052 $as_echo_n "(cached) " >&6
24054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24055 /* end confdefs.h. */
24065 if ac_fn_c_try_link "$LINENO"; then :
24067 lt_aix_libpath_sed='
24068 /Import File Strings/,/^$/ {
24070 s/^0 *\([^ ]*\) *$/\1/
24074 lt_cv_aix_libpath__GO=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24075 # Check for a 64-bit object if we didn't find anything.
24076 if test -z "$lt_cv_aix_libpath__GO"; then
24077 lt_cv_aix_libpath__GO=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24080 rm -f core conftest.err conftest.$ac_objext \
24081 conftest$ac_exeext conftest.$ac_ext
24082 if test -z "$lt_cv_aix_libpath__GO"; then
24083 lt_cv_aix_libpath__GO="/usr/lib:/lib"
24088 aix_libpath=$lt_cv_aix_libpath__GO
24091 hardcode_libdir_flag_spec_GO='${wl}-blibpath:$libdir:'"$aix_libpath"
24092 # Warning - without using the other run time loading flags,
24093 # -berok will link without error, but may produce a broken library.
24094 no_undefined_flag_GO=' ${wl}-bernotok'
24095 allow_undefined_flag_GO=' ${wl}-berok'
24096 if test "$with_gnu_ld" = yes; then
24097 # We only use this code for GNU lds that support --whole-archive.
24098 whole_archive_flag_spec_GO='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
24100 # Exported symbols can be pulled into shared objects from archives
24101 whole_archive_flag_spec_GO='$convenience'
24103 archive_cmds_need_lc_GO=yes
24104 # This is similar to how AIX traditionally builds its shared libraries.
24105 archive_expsym_cmds_GO="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
24113 # see comment about AmigaOS4 .so support
24114 archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24115 archive_expsym_cmds_GO=''
24118 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)'
24119 hardcode_libdir_flag_spec_GO='-L$libdir'
24120 hardcode_minus_L_GO=yes
24126 export_dynamic_flag_spec_GO=-rdynamic
24129 cygwin* | mingw* | pw32* | cegcc*)
24130 # When not using gcc, we currently assume that we are using
24131 # Microsoft Visual C++.
24132 # hardcode_libdir_flag_spec is actually meaningless, as there is
24133 # no search path for DLLs.
24134 case $cc_basename in
24137 hardcode_libdir_flag_spec_GO=' '
24138 allow_undefined_flag_GO=unsupported
24139 always_export_symbols_GO=yes
24140 file_list_spec_GO='@'
24141 # Tell ltmain to make .lib files, not .a files.
24143 # Tell ltmain to make .dll files, not .so files.
24145 # FIXME: Setting linknames here is a bad hack.
24146 archive_cmds_GO='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
24147 archive_expsym_cmds_GO='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24148 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
24150 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
24152 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
24154 # The linker will not automatically build a static lib if we build a DLL.
24155 # _LT_TAGVAR(old_archive_from_new_cmds, GO)='true'
24156 enable_shared_with_static_runtimes_GO=yes
24157 exclude_expsyms_GO='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
24158 export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
24160 old_postinstall_cmds_GO='chmod 644 $oldlib'
24161 postlink_cmds_GO='lt_outputfile="@OUTPUT@"~
24162 lt_tool_outputfile="@TOOL_OUTPUT@"~
24163 case $lt_outputfile in
24166 lt_outputfile="$lt_outputfile.exe"
24167 lt_tool_outputfile="$lt_tool_outputfile.exe"
24170 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
24171 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
24172 $RM "$lt_outputfile.manifest";
24176 # Assume MSVC wrapper
24177 hardcode_libdir_flag_spec_GO=' '
24178 allow_undefined_flag_GO=unsupported
24179 # Tell ltmain to make .lib files, not .a files.
24181 # Tell ltmain to make .dll files, not .so files.
24183 # FIXME: Setting linknames here is a bad hack.
24184 archive_cmds_GO='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
24185 # The linker will automatically build a .lib file if we build a DLL.
24186 old_archive_from_new_cmds_GO='true'
24187 # FIXME: Should let the user specify the lib program.
24188 old_archive_cmds_GO='lib -OUT:$oldlib$oldobjs$old_deplibs'
24189 enable_shared_with_static_runtimes_GO=yes
24194 darwin* | rhapsody*)
24197 archive_cmds_need_lc_GO=no
24198 hardcode_direct_GO=no
24199 hardcode_automatic_GO=yes
24200 hardcode_shlibpath_var_GO=unsupported
24201 if test "$lt_cv_ld_force_load" = "yes"; then
24202 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\"`'
24205 whole_archive_flag_spec_GO=''
24207 link_all_deplibs_GO=yes
24208 allow_undefined_flag_GO="$_lt_dar_allow_undefined"
24209 case $cc_basename in
24210 ifort*) _lt_dar_can_shared=yes ;;
24211 *) _lt_dar_can_shared=$GCC ;;
24213 if test "$_lt_dar_can_shared" = "yes"; then
24214 output_verbose_link_cmd=func_echo_all
24215 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}"
24216 module_cmds_GO="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
24217 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}"
24218 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}"
24227 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24228 hardcode_libdir_flag_spec_GO='-L$libdir'
24229 hardcode_shlibpath_var_GO=no
24232 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
24233 # support. Future versions do this automatically, but an explicit c++rt0.o
24234 # does not break anything, and helps significantly (at the cost of a little
24237 archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
24238 hardcode_libdir_flag_spec_GO='-R$libdir'
24239 hardcode_direct_GO=yes
24240 hardcode_shlibpath_var_GO=no
24243 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
24245 archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24246 hardcode_direct_GO=yes
24247 hardcode_minus_L_GO=yes
24248 hardcode_shlibpath_var_GO=no
24251 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
24252 freebsd* | dragonfly*)
24253 archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24254 hardcode_libdir_flag_spec_GO='-R$libdir'
24255 hardcode_direct_GO=yes
24256 hardcode_shlibpath_var_GO=no
24260 if test "$GCC" = yes; then
24261 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
24263 archive_cmds_GO='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
24265 hardcode_libdir_flag_spec_GO='${wl}+b ${wl}$libdir'
24266 hardcode_libdir_separator_GO=:
24267 hardcode_direct_GO=yes
24269 # hardcode_minus_L: Not really in the search PATH,
24270 # but as the default location of the library.
24271 hardcode_minus_L_GO=yes
24272 export_dynamic_flag_spec_GO='${wl}-E'
24276 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
24277 archive_cmds_GO='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24279 archive_cmds_GO='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
24281 if test "$with_gnu_ld" = no; then
24282 hardcode_libdir_flag_spec_GO='${wl}+b ${wl}$libdir'
24283 hardcode_libdir_separator_GO=:
24284 hardcode_direct_GO=yes
24285 hardcode_direct_absolute_GO=yes
24286 export_dynamic_flag_spec_GO='${wl}-E'
24287 # hardcode_minus_L: Not really in the search PATH,
24288 # but as the default location of the library.
24289 hardcode_minus_L_GO=yes
24294 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
24297 archive_cmds_GO='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24300 archive_cmds_GO='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24303 archive_cmds_GO='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24309 archive_cmds_GO='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24312 archive_cmds_GO='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
24315 archive_cmds_GO='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
24319 if test "$with_gnu_ld" = no; then
24320 hardcode_libdir_flag_spec_GO='${wl}+b ${wl}$libdir'
24321 hardcode_libdir_separator_GO=:
24325 hardcode_direct_GO=no
24326 hardcode_shlibpath_var_GO=no
24329 hardcode_direct_GO=yes
24330 hardcode_direct_absolute_GO=yes
24331 export_dynamic_flag_spec_GO='${wl}-E'
24333 # hardcode_minus_L: Not really in the search PATH,
24334 # but as the default location of the library.
24335 hardcode_minus_L_GO=yes
24341 irix5* | irix6* | nonstopux*)
24342 if test "$GCC" = yes; then
24343 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'
24344 # Try to use the -exported_symbol ld option, if it does not
24345 # work, assume that -exports_file does not work either and
24346 # implicitly export all symbols.
24347 # This should be the same for all languages, so no per-tag cache variable.
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
24349 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
24350 if ${lt_cv_irix_exported_symbol+:} false; then :
24351 $as_echo_n "(cached) " >&6
24353 save_LDFLAGS="$LDFLAGS"
24354 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
24355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24356 /* end confdefs.h. */
24357 int foo (void) { return 0; }
24359 if ac_fn_c_try_link "$LINENO"; then :
24360 lt_cv_irix_exported_symbol=yes
24362 lt_cv_irix_exported_symbol=no
24364 rm -f core conftest.err conftest.$ac_objext \
24365 conftest$ac_exeext conftest.$ac_ext
24366 LDFLAGS="$save_LDFLAGS"
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
24369 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
24370 if test "$lt_cv_irix_exported_symbol" = yes; then
24371 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'
24374 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'
24375 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'
24377 archive_cmds_need_lc_GO='no'
24378 hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
24379 hardcode_libdir_separator_GO=:
24380 inherit_rpath_GO=yes
24381 link_all_deplibs_GO=yes
24385 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
24386 archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
24388 archive_cmds_GO='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
24390 hardcode_libdir_flag_spec_GO='-R$libdir'
24391 hardcode_direct_GO=yes
24392 hardcode_shlibpath_var_GO=no
24396 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24397 hardcode_direct_GO=yes
24398 hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
24399 hardcode_libdir_separator_GO=:
24400 hardcode_shlibpath_var_GO=no
24407 if test -f /usr/libexec/ld.so; then
24408 hardcode_direct_GO=yes
24409 hardcode_shlibpath_var_GO=no
24410 hardcode_direct_absolute_GO=yes
24411 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24412 archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24413 archive_expsym_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
24414 hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
24415 export_dynamic_flag_spec_GO='${wl}-E'
24418 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
24419 archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24420 hardcode_libdir_flag_spec_GO='-R$libdir'
24423 archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
24424 hardcode_libdir_flag_spec_GO='${wl}-rpath,$libdir'
24434 hardcode_libdir_flag_spec_GO='-L$libdir'
24435 hardcode_minus_L_GO=yes
24436 allow_undefined_flag_GO=unsupported
24437 archive_cmds_GO='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
24438 old_archive_from_new_cmds_GO='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
24442 if test "$GCC" = yes; then
24443 allow_undefined_flag_GO=' ${wl}-expect_unresolved ${wl}\*'
24444 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'
24446 allow_undefined_flag_GO=' -expect_unresolved \*'
24447 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'
24449 archive_cmds_need_lc_GO='no'
24450 hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
24451 hardcode_libdir_separator_GO=:
24454 osf4* | osf5*) # as osf3* with the addition of -msym flag
24455 if test "$GCC" = yes; then
24456 allow_undefined_flag_GO=' ${wl}-expect_unresolved ${wl}\*'
24457 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'
24458 hardcode_libdir_flag_spec_GO='${wl}-rpath ${wl}$libdir'
24460 allow_undefined_flag_GO=' -expect_unresolved \*'
24461 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'
24462 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~
24463 $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'
24465 # Both c and cxx compiler support -rpath directly
24466 hardcode_libdir_flag_spec_GO='-rpath $libdir'
24468 archive_cmds_need_lc_GO='no'
24469 hardcode_libdir_separator_GO=:
24473 no_undefined_flag_GO=' -z defs'
24474 if test "$GCC" = yes; then
24476 archive_cmds_GO='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24477 archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
24478 $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'
24480 case `$CC -V 2>&1` in
24483 archive_cmds_GO='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24484 archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
24485 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
24489 archive_cmds_GO='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
24490 archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
24491 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
24495 hardcode_libdir_flag_spec_GO='-R$libdir'
24496 hardcode_shlibpath_var_GO=no
24498 solaris2.[0-5] | solaris2.[0-5].*) ;;
24500 # The compiler driver will combine and reorder linker options,
24501 # but understands `-z linker_flag'. GCC discards it without `$wl',
24502 # but is careful enough not to reorder.
24503 # Supported since Solaris 2.6 (maybe 2.5.1?)
24504 if test "$GCC" = yes; then
24505 whole_archive_flag_spec_GO='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
24507 whole_archive_flag_spec_GO='-z allextract$convenience -z defaultextract'
24511 link_all_deplibs_GO=yes
24515 if test "x$host_vendor" = xsequent; then
24516 # Use $CC to link under sequent, because it throws in some extra .o
24517 # files that make .init and .fini sections work.
24518 archive_cmds_GO='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
24520 archive_cmds_GO='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
24522 hardcode_libdir_flag_spec_GO='-L$libdir'
24523 hardcode_direct_GO=yes
24524 hardcode_minus_L_GO=yes
24525 hardcode_shlibpath_var_GO=no
24529 case $host_vendor in
24531 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24532 hardcode_direct_GO=yes # is this really true???
24535 ## LD is ld it makes a PLAMLIB
24536 ## CC just makes a GrossModule.
24537 archive_cmds_GO='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24538 reload_cmds_GO='$CC -r -o $output$reload_objs'
24539 hardcode_direct_GO=no
24542 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24543 hardcode_direct_GO=no #Motorola manual says yes, but my tests say they lie
24546 runpath_var='LD_RUN_PATH'
24547 hardcode_shlibpath_var_GO=no
24551 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24552 hardcode_shlibpath_var_GO=no
24553 export_dynamic_flag_spec_GO='-Bexport'
24557 if test -d /usr/nec; then
24558 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24559 hardcode_shlibpath_var_GO=no
24560 runpath_var=LD_RUN_PATH
24561 hardcode_runpath_var=yes
24566 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
24567 no_undefined_flag_GO='${wl}-z,text'
24568 archive_cmds_need_lc_GO=no
24569 hardcode_shlibpath_var_GO=no
24570 runpath_var='LD_RUN_PATH'
24572 if test "$GCC" = yes; then
24573 archive_cmds_GO='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24574 archive_expsym_cmds_GO='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24576 archive_cmds_GO='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24577 archive_expsym_cmds_GO='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24581 sysv5* | sco3.2v5* | sco5v6*)
24582 # Note: We can NOT use -z defs as we might desire, because we do not
24583 # link with -lc, and that would cause any symbols used from libc to
24584 # always be unresolved, which means just about no library would
24585 # ever link correctly. If we're not using GNU ld we use -z text
24586 # though, which does catch some bad symbols but isn't as heavy-handed
24588 no_undefined_flag_GO='${wl}-z,text'
24589 allow_undefined_flag_GO='${wl}-z,nodefs'
24590 archive_cmds_need_lc_GO=no
24591 hardcode_shlibpath_var_GO=no
24592 hardcode_libdir_flag_spec_GO='${wl}-R,$libdir'
24593 hardcode_libdir_separator_GO=':'
24594 link_all_deplibs_GO=yes
24595 export_dynamic_flag_spec_GO='${wl}-Bexport'
24596 runpath_var='LD_RUN_PATH'
24598 if test "$GCC" = yes; then
24599 archive_cmds_GO='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24600 archive_expsym_cmds_GO='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24602 archive_cmds_GO='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24603 archive_expsym_cmds_GO='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
24608 archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24609 hardcode_libdir_flag_spec_GO='-L$libdir'
24610 hardcode_shlibpath_var_GO=no
24618 if test x$host_vendor = xsni; then
24620 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
24621 export_dynamic_flag_spec_GO='${wl}-Blargedynsym'
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
24628 $as_echo "$ld_shlibs_GO" >&6; }
24629 test "$ld_shlibs_GO" = no && can_build_shared=no
24631 with_gnu_ld_GO=$with_gnu_ld
24639 # Do we need to explicitly link libc?
24641 case "x$archive_cmds_need_lc_GO" in
24643 # Assume -lc should be added
24644 archive_cmds_need_lc_GO=yes
24646 if test "$enable_shared" = yes && test "$GCC" = yes; then
24647 case $archive_cmds_GO in
24649 # FIXME: we may have to deal with multi-command sequences.
24652 # Test whether the compiler implicitly links with -lc since on some
24653 # systems, -lgcc has to come before -lc. If gcc already passes -lc
24654 # to ld, don't add -lc before -lgcc.
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
24656 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
24657 if ${lt_cv_archive_cmds_need_lc_GO+:} false; then :
24658 $as_echo_n "(cached) " >&6
24661 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24663 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
24664 (eval $ac_compile) 2>&5
24666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24667 test $ac_status = 0; } 2>conftest.err; then
24670 libobjs=conftest.$ac_objext
24672 wl=$lt_prog_compiler_wl_GO
24673 pic_flag=$lt_prog_compiler_pic_GO
24679 lt_save_allow_undefined_flag=$allow_undefined_flag_GO
24680 allow_undefined_flag_GO=
24681 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
24682 (eval $archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
24684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24685 test $ac_status = 0; }
24687 lt_cv_archive_cmds_need_lc_GO=no
24689 lt_cv_archive_cmds_need_lc_GO=yes
24691 allow_undefined_flag_GO=$lt_save_allow_undefined_flag
24693 cat conftest.err 1>&5
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
24699 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
24700 archive_cmds_need_lc_GO=$lt_cv_archive_cmds_need_lc_GO
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
24769 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
24770 hardcode_action_GO=
24771 if test -n "$hardcode_libdir_flag_spec_GO" ||
24772 test -n "$runpath_var_GO" ||
24773 test "X$hardcode_automatic_GO" = "Xyes" ; then
24775 # We can hardcode non-existent directories.
24776 if test "$hardcode_direct_GO" != no &&
24777 # If the only mechanism to avoid hardcoding is shlibpath_var, we
24778 # have to relink, otherwise we might link with an installed library
24779 # when we should be linking with a yet-to-be-installed one
24780 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
24781 test "$hardcode_minus_L_GO" != no; then
24782 # Linking always hardcodes the temporary library directory.
24783 hardcode_action_GO=relink
24785 # We can link without hardcoding, and we can hardcode nonexisting dirs.
24786 hardcode_action_GO=immediate
24789 # We cannot hardcode anything, or else we can only hardcode existing
24791 hardcode_action_GO=unsupported
24793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
24794 $as_echo "$hardcode_action_GO" >&6; }
24796 if test "$hardcode_action_GO" = relink ||
24797 test "$inherit_rpath_GO" = yes; then
24798 # Fast installation is not supported
24799 enable_fast_install=no
24800 elif test "$shlibpath_overrides_runpath" = yes ||
24801 test "$enable_shared" = no; then
24802 # Fast installation is not necessary
24803 enable_fast_install=needless
24815 ac_cpp='$CPP $CPPFLAGS'
24816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24823 CFLAGS=$lt_save_CFLAGS
24825 if test -n "$ac_tool_prefix"; then
24826 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
24827 set dummy ${ac_tool_prefix}gcj; ac_word=$2
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24829 $as_echo_n "checking for $ac_word... " >&6; }
24830 if ${ac_cv_prog_GCJ+:} false; then :
24831 $as_echo_n "(cached) " >&6
24833 if test -n "$GCJ"; then
24834 ac_cv_prog_GCJ="$GCJ" # Let the user override the test.
24836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24837 for as_dir in $PATH
24840 test -z "$as_dir" && as_dir=.
24841 for ac_exec_ext in '' $ac_executable_extensions; do
24842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24843 ac_cv_prog_GCJ="${ac_tool_prefix}gcj"
24844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24853 GCJ=$ac_cv_prog_GCJ
24854 if test -n "$GCJ"; then
24855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
24856 $as_echo "$GCJ" >&6; }
24858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24859 $as_echo "no" >&6; }
24864 if test -z "$ac_cv_prog_GCJ"; then
24866 # Extract the first word of "gcj", so it can be a program name with args.
24867 set dummy gcj; ac_word=$2
24868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24869 $as_echo_n "checking for $ac_word... " >&6; }
24870 if ${ac_cv_prog_ac_ct_GCJ+:} false; then :
24871 $as_echo_n "(cached) " >&6
24873 if test -n "$ac_ct_GCJ"; then
24874 ac_cv_prog_ac_ct_GCJ="$ac_ct_GCJ" # Let the user override the test.
24876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24877 for as_dir in $PATH
24880 test -z "$as_dir" && as_dir=.
24881 for ac_exec_ext in '' $ac_executable_extensions; do
24882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24883 ac_cv_prog_ac_ct_GCJ="gcj"
24884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24893 ac_ct_GCJ=$ac_cv_prog_ac_ct_GCJ
24894 if test -n "$ac_ct_GCJ"; then
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
24896 $as_echo "$ac_ct_GCJ" >&6; }
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24899 $as_echo "no" >&6; }
24902 if test "x$ac_ct_GCJ" = x; then
24905 case $cross_compiling:$ac_tool_warned in
24907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24909 ac_tool_warned=yes ;;
24914 GCJ="$ac_cv_prog_GCJ"
24917 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
24921 # Source file extension for Java test sources.
24924 # Object file extension for compiled Java test sources.
24928 # Code to be used in simple compile tests
24929 lt_simple_compile_test_code="class foo {}"
24931 # Code to be used in simple link tests
24932 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
24934 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
24941 # If no C compiler was specified, use CC.
24944 # If no C compiler flags were specified, use CFLAGS.
24945 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
24947 # Allow CC to be a program name with arguments.
24951 # save warnings/boilerplate of simple test code
24952 ac_outfile=conftest.$ac_objext
24953 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
24954 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24955 _lt_compiler_boilerplate=`cat conftest.err`
24958 ac_outfile=conftest.$ac_objext
24959 echo "$lt_simple_link_test_code" >conftest.$ac_ext
24960 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24961 _lt_linker_boilerplate=`cat conftest.err`
24965 # Allow CC to be a program name with arguments.
24967 lt_save_CFLAGS=$CFLAGS
24975 for cc_temp in $compiler""; do
24977 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24978 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24983 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
24986 # GCJ did not exist at the time GCC didn't implicitly link libc in.
24987 archive_cmds_need_lc_GCJ=no
24989 old_archive_cmds_GCJ=$old_archive_cmds
24990 reload_flag_GCJ=$reload_flag
24991 reload_cmds_GCJ=$reload_cmds
24994 ## There is no encapsulation within the following macros, do not change
24995 ## the running order or otherwise move them around unless you know exactly
24996 ## what you are doing...
24997 if test -n "$compiler"; then
24999 lt_prog_compiler_no_builtin_flag_GCJ=
25001 if test "$GCC" = yes; then
25002 case $cc_basename in
25004 lt_prog_compiler_no_builtin_flag_GCJ=' -Xcompiler -fno-builtin' ;;
25006 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' ;;
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
25010 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
25011 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
25012 $as_echo_n "(cached) " >&6
25014 lt_cv_prog_compiler_rtti_exceptions=no
25015 ac_outfile=conftest.$ac_objext
25016 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25017 lt_compiler_flag="-fno-rtti -fno-exceptions"
25018 # Insert the option either (1) after the last *FLAGS variable, or
25019 # (2) before a word containing "conftest.", or (3) at the end.
25020 # Note that $ac_compile itself does not contain backslashes and begins
25021 # with a dollar sign (not a hyphen), so the echo should work correctly.
25022 # The option is referenced via a variable to avoid confusing sed.
25023 lt_compile=`echo "$ac_compile" | $SED \
25024 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25025 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25026 -e 's:$: $lt_compiler_flag:'`
25027 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25028 (eval "$lt_compile" 2>conftest.err)
25030 cat conftest.err >&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 if (exit $ac_status) && test -s "$ac_outfile"; then
25033 # The compiler can only warn and ignore the option if not recognized
25034 # So say no if there are warnings other than the usual output.
25035 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
25036 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25037 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
25038 lt_cv_prog_compiler_rtti_exceptions=yes
25044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
25045 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
25047 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
25048 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
25057 lt_prog_compiler_wl_GCJ=
25058 lt_prog_compiler_pic_GCJ=
25059 lt_prog_compiler_static_GCJ=
25062 if test "$GCC" = yes; then
25063 lt_prog_compiler_wl_GCJ='-Wl,'
25064 lt_prog_compiler_static_GCJ='-static'
25068 # All AIX code is PIC.
25069 if test "$host_cpu" = ia64; then
25070 # AIX 5 now supports IA64 processor
25071 lt_prog_compiler_static_GCJ='-Bstatic'
25078 # see comment about AmigaOS4 .so support
25079 lt_prog_compiler_pic_GCJ='-fPIC'
25082 # FIXME: we need at least 68020 code to build shared libraries, but
25083 # adding the `-m68020' flag to GCC prevents building anything better,
25085 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
25090 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
25091 # PIC is the default for these OSes.
25094 mingw* | cygwin* | pw32* | os2* | cegcc*)
25095 # This hack is so that the source file can tell whether it is being
25096 # built for inclusion in a dll (and should export symbols for example).
25097 # Although the cygwin gcc ignores -fPIC, still need this for old-style
25098 # (--disable-auto-import) libraries
25102 darwin* | rhapsody*)
25103 # PIC is the default on this platform
25104 # Common symbols not allowed in MH_DYLIB files
25105 lt_prog_compiler_pic_GCJ='-fno-common'
25109 # PIC is the default for Haiku.
25110 # The "-static" flag exists, but is broken.
25111 lt_prog_compiler_static_GCJ=
25115 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
25116 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
25117 # sets the default TLS model and affects inlining.
25123 lt_prog_compiler_pic_GCJ='-fPIC'
25129 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
25130 # Instead, we relocate shared libraries at runtime.
25134 # Just because we use GCC doesn't mean we suddenly get shared libraries
25135 # on systems that don't support them.
25136 lt_prog_compiler_can_build_shared_GCJ=no
25141 # QNX uses GNU C++, but need to define -shared option too, otherwise
25142 # it will coredump.
25143 lt_prog_compiler_pic_GCJ='-fPIC -shared'
25147 if test -d /usr/nec; then
25148 lt_prog_compiler_pic_GCJ=-Kconform_pic
25153 lt_prog_compiler_pic_GCJ='-fPIC'
25157 case $cc_basename in
25158 nvcc*) # Cuda Compiler Driver 2.2
25159 lt_prog_compiler_wl_GCJ='-Xlinker '
25160 if test -n "$lt_prog_compiler_pic_GCJ"; then
25161 lt_prog_compiler_pic_GCJ="-Xcompiler $lt_prog_compiler_pic_GCJ"
25166 # PORTME Check for flag to pass linker flags through the system compiler.
25169 lt_prog_compiler_wl_GCJ='-Wl,'
25170 if test "$host_cpu" = ia64; then
25171 # AIX 5 now supports IA64 processor
25172 lt_prog_compiler_static_GCJ='-Bstatic'
25174 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
25178 mingw* | cygwin* | pw32* | os2* | cegcc*)
25179 # This hack is so that the source file can tell whether it is being
25180 # built for inclusion in a dll (and should export symbols for example).
25184 hpux9* | hpux10* | hpux11*)
25185 lt_prog_compiler_wl_GCJ='-Wl,'
25186 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
25187 # not for PA HP-UX.
25193 lt_prog_compiler_pic_GCJ='+Z'
25196 # Is there a better lt_prog_compiler_static that works with the bundled CC?
25197 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
25200 irix5* | irix6* | nonstopux*)
25201 lt_prog_compiler_wl_GCJ='-Wl,'
25202 # PIC (with -KPIC) is the default.
25203 lt_prog_compiler_static_GCJ='-non_shared'
25206 linux* | k*bsd*-gnu | kopensolaris*-gnu)
25207 case $cc_basename in
25208 # old Intel for x86_64 which still supported -KPIC.
25210 lt_prog_compiler_wl_GCJ='-Wl,'
25211 lt_prog_compiler_pic_GCJ='-KPIC'
25212 lt_prog_compiler_static_GCJ='-static'
25214 # icc used to be incompatible with GCC.
25215 # ICC 10 doesn't accept -KPIC any more.
25217 lt_prog_compiler_wl_GCJ='-Wl,'
25218 lt_prog_compiler_pic_GCJ='-fPIC'
25219 lt_prog_compiler_static_GCJ='-static'
25221 # Lahey Fortran 8.1.
25223 lt_prog_compiler_wl_GCJ='-Wl,'
25224 lt_prog_compiler_pic_GCJ='--shared'
25225 lt_prog_compiler_static_GCJ='--static'
25228 # NAG Fortran compiler
25229 lt_prog_compiler_wl_GCJ='-Wl,-Wl,,'
25230 lt_prog_compiler_pic_GCJ='-PIC'
25231 lt_prog_compiler_static_GCJ='-Bstatic'
25233 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
25234 # Portland Group compilers (*not* the Pentium gcc compiler,
25235 # which looks to be a dead project)
25236 lt_prog_compiler_wl_GCJ='-Wl,'
25237 lt_prog_compiler_pic_GCJ='-fpic'
25238 lt_prog_compiler_static_GCJ='-Bstatic'
25241 lt_prog_compiler_wl_GCJ='-Wl,'
25242 # All Alpha code is PIC.
25243 lt_prog_compiler_static_GCJ='-non_shared'
25245 xl* | bgxl* | bgf* | mpixl*)
25246 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
25247 lt_prog_compiler_wl_GCJ='-Wl,'
25248 lt_prog_compiler_pic_GCJ='-qpic'
25249 lt_prog_compiler_static_GCJ='-qstaticlink'
25252 case `$CC -V 2>&1 | sed 5q` in
25253 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
25254 # Sun Fortran 8.3 passes all unrecognized flags to the linker
25255 lt_prog_compiler_pic_GCJ='-KPIC'
25256 lt_prog_compiler_static_GCJ='-Bstatic'
25257 lt_prog_compiler_wl_GCJ=''
25259 *Sun\ F* | *Sun*Fortran*)
25260 lt_prog_compiler_pic_GCJ='-KPIC'
25261 lt_prog_compiler_static_GCJ='-Bstatic'
25262 lt_prog_compiler_wl_GCJ='-Qoption ld '
25266 lt_prog_compiler_pic_GCJ='-KPIC'
25267 lt_prog_compiler_static_GCJ='-Bstatic'
25268 lt_prog_compiler_wl_GCJ='-Wl,'
25270 *Intel*\ [CF]*Compiler*)
25271 lt_prog_compiler_wl_GCJ='-Wl,'
25272 lt_prog_compiler_pic_GCJ='-fPIC'
25273 lt_prog_compiler_static_GCJ='-static'
25276 lt_prog_compiler_wl_GCJ='-Wl,'
25277 lt_prog_compiler_pic_GCJ='-fpic'
25278 lt_prog_compiler_static_GCJ='-Bstatic'
25286 lt_prog_compiler_pic_GCJ='-KPIC'
25287 lt_prog_compiler_static_GCJ='-Bstatic'
25291 # QNX uses GNU C++, but need to define -shared option too, otherwise
25292 # it will coredump.
25293 lt_prog_compiler_pic_GCJ='-fPIC -shared'
25296 osf3* | osf4* | osf5*)
25297 lt_prog_compiler_wl_GCJ='-Wl,'
25298 # All OSF/1 code is PIC.
25299 lt_prog_compiler_static_GCJ='-non_shared'
25303 lt_prog_compiler_static_GCJ='-non_shared'
25307 lt_prog_compiler_pic_GCJ='-KPIC'
25308 lt_prog_compiler_static_GCJ='-Bstatic'
25309 case $cc_basename in
25310 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
25311 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
25313 lt_prog_compiler_wl_GCJ='-Wl,';;
25318 lt_prog_compiler_wl_GCJ='-Qoption ld '
25319 lt_prog_compiler_pic_GCJ='-PIC'
25320 lt_prog_compiler_static_GCJ='-Bstatic'
25323 sysv4 | sysv4.2uw2* | sysv4.3*)
25324 lt_prog_compiler_wl_GCJ='-Wl,'
25325 lt_prog_compiler_pic_GCJ='-KPIC'
25326 lt_prog_compiler_static_GCJ='-Bstatic'
25330 if test -d /usr/nec ;then
25331 lt_prog_compiler_pic_GCJ='-Kconform_pic'
25332 lt_prog_compiler_static_GCJ='-Bstatic'
25336 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
25337 lt_prog_compiler_wl_GCJ='-Wl,'
25338 lt_prog_compiler_pic_GCJ='-KPIC'
25339 lt_prog_compiler_static_GCJ='-Bstatic'
25343 lt_prog_compiler_wl_GCJ='-Wl,'
25344 lt_prog_compiler_can_build_shared_GCJ=no
25348 lt_prog_compiler_pic_GCJ='-pic'
25349 lt_prog_compiler_static_GCJ='-Bstatic'
25353 lt_prog_compiler_can_build_shared_GCJ=no
25359 # For platforms which do not support PIC, -DPIC is meaningless:
25361 lt_prog_compiler_pic_GCJ=
25364 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
25369 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
25370 if ${lt_cv_prog_compiler_pic_GCJ+:} false; then :
25371 $as_echo_n "(cached) " >&6
25373 lt_cv_prog_compiler_pic_GCJ=$lt_prog_compiler_pic_GCJ
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_GCJ" >&5
25376 $as_echo "$lt_cv_prog_compiler_pic_GCJ" >&6; }
25377 lt_prog_compiler_pic_GCJ=$lt_cv_prog_compiler_pic_GCJ
25380 # Check to make sure the PIC flag actually works.
25382 if test -n "$lt_prog_compiler_pic_GCJ"; then
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
25384 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
25385 if ${lt_cv_prog_compiler_pic_works_GCJ+:} false; then :
25386 $as_echo_n "(cached) " >&6
25388 lt_cv_prog_compiler_pic_works_GCJ=no
25389 ac_outfile=conftest.$ac_objext
25390 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25391 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
25392 # Insert the option either (1) after the last *FLAGS variable, or
25393 # (2) before a word containing "conftest.", or (3) at the end.
25394 # Note that $ac_compile itself does not contain backslashes and begins
25395 # with a dollar sign (not a hyphen), so the echo should work correctly.
25396 # The option is referenced via a variable to avoid confusing sed.
25397 lt_compile=`echo "$ac_compile" | $SED \
25398 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25399 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25400 -e 's:$: $lt_compiler_flag:'`
25401 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25402 (eval "$lt_compile" 2>conftest.err)
25404 cat conftest.err >&5
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 if (exit $ac_status) && test -s "$ac_outfile"; then
25407 # The compiler can only warn and ignore the option if not recognized
25408 # So say no if there are warnings other than the usual output.
25409 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
25410 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25411 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
25412 lt_cv_prog_compiler_pic_works_GCJ=yes
25418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
25419 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
25421 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
25422 case $lt_prog_compiler_pic_GCJ in
25424 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
25427 lt_prog_compiler_pic_GCJ=
25428 lt_prog_compiler_can_build_shared_GCJ=no
25438 # Check to make sure the static flag actually works.
25440 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
25442 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
25443 if ${lt_cv_prog_compiler_static_works_GCJ+:} false; then :
25444 $as_echo_n "(cached) " >&6
25446 lt_cv_prog_compiler_static_works_GCJ=no
25447 save_LDFLAGS="$LDFLAGS"
25448 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
25449 echo "$lt_simple_link_test_code" > conftest.$ac_ext
25450 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
25451 # The linker can only warn and ignore the option if not recognized
25452 # So say no if there are warnings
25453 if test -s conftest.err; then
25454 # Append any errors to the config.log.
25455 cat conftest.err 1>&5
25456 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
25457 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25458 if diff conftest.exp conftest.er2 >/dev/null; then
25459 lt_cv_prog_compiler_static_works_GCJ=yes
25462 lt_cv_prog_compiler_static_works_GCJ=yes
25466 LDFLAGS="$save_LDFLAGS"
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
25470 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
25472 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
25475 lt_prog_compiler_static_GCJ=
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
25482 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25483 if ${lt_cv_prog_compiler_c_o_GCJ+:} false; then :
25484 $as_echo_n "(cached) " >&6
25486 lt_cv_prog_compiler_c_o_GCJ=no
25487 $RM -r conftest 2>/dev/null
25491 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25493 lt_compiler_flag="-o out/conftest2.$ac_objext"
25494 # Insert the option either (1) after the last *FLAGS variable, or
25495 # (2) before a word containing "conftest.", or (3) at the end.
25496 # Note that $ac_compile itself does not contain backslashes and begins
25497 # with a dollar sign (not a hyphen), so the echo should work correctly.
25498 lt_compile=`echo "$ac_compile" | $SED \
25499 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25500 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25501 -e 's:$: $lt_compiler_flag:'`
25502 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25503 (eval "$lt_compile" 2>out/conftest.err)
25505 cat out/conftest.err >&5
25506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25507 if (exit $ac_status) && test -s out/conftest2.$ac_objext
25509 # The compiler can only warn and ignore the option if not recognized
25510 # So say no if there are warnings
25511 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
25512 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25513 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25514 lt_cv_prog_compiler_c_o_GCJ=yes
25519 # SGI C++ compiler will create directory out/ii_files/ for
25520 # template instantiation
25521 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
25522 $RM out/* && rmdir out
25528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
25529 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
25534 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25535 if ${lt_cv_prog_compiler_c_o_GCJ+:} false; then :
25536 $as_echo_n "(cached) " >&6
25538 lt_cv_prog_compiler_c_o_GCJ=no
25539 $RM -r conftest 2>/dev/null
25543 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25545 lt_compiler_flag="-o out/conftest2.$ac_objext"
25546 # Insert the option either (1) after the last *FLAGS variable, or
25547 # (2) before a word containing "conftest.", or (3) at the end.
25548 # Note that $ac_compile itself does not contain backslashes and begins
25549 # with a dollar sign (not a hyphen), so the echo should work correctly.
25550 lt_compile=`echo "$ac_compile" | $SED \
25551 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25552 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25553 -e 's:$: $lt_compiler_flag:'`
25554 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25555 (eval "$lt_compile" 2>out/conftest.err)
25557 cat out/conftest.err >&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 if (exit $ac_status) && test -s out/conftest2.$ac_objext
25561 # The compiler can only warn and ignore the option if not recognized
25562 # So say no if there are warnings
25563 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
25564 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25565 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25566 lt_cv_prog_compiler_c_o_GCJ=yes
25571 # SGI C++ compiler will create directory out/ii_files/ for
25572 # template instantiation
25573 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
25574 $RM out/* && rmdir out
25580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
25581 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
25586 hard_links="nottested"
25587 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
25588 # do not overwrite the value of need_locks provided by the user
25589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
25590 $as_echo_n "checking if we can lock with hard links... " >&6; }
25593 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25595 ln conftest.a conftest.b 2>&5 || hard_links=no
25596 ln conftest.a conftest.b 2>/dev/null && hard_links=no
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
25598 $as_echo "$hard_links" >&6; }
25599 if test "$hard_links" = no; then
25600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
25601 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
25610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25611 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
25614 allow_undefined_flag_GCJ=
25615 always_export_symbols_GCJ=no
25617 archive_expsym_cmds_GCJ=
25618 compiler_needs_object_GCJ=no
25619 enable_shared_with_static_runtimes_GCJ=no
25620 export_dynamic_flag_spec_GCJ=
25621 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
25622 hardcode_automatic_GCJ=no
25623 hardcode_direct_GCJ=no
25624 hardcode_direct_absolute_GCJ=no
25625 hardcode_libdir_flag_spec_GCJ=
25626 hardcode_libdir_separator_GCJ=
25627 hardcode_minus_L_GCJ=no
25628 hardcode_shlibpath_var_GCJ=unsupported
25629 inherit_rpath_GCJ=no
25630 link_all_deplibs_GCJ=unknown
25632 module_expsym_cmds_GCJ=
25633 old_archive_from_new_cmds_GCJ=
25634 old_archive_from_expsyms_cmds_GCJ=
25635 thread_safe_flag_spec_GCJ=
25636 whole_archive_flag_spec_GCJ=
25637 # include_expsyms should be a list of space-separated symbols to be *always*
25638 # included in the symbol list
25639 include_expsyms_GCJ=
25640 # exclude_expsyms can be an extended regexp of symbols to exclude
25641 # it will be wrapped by ` (' and `)$', so one must not match beginning or
25642 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
25643 # as well as any symbol that contains `d'.
25644 exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
25645 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
25646 # platforms (ab)use it in PIC code, but their linkers get confused if
25647 # the symbol is explicitly referenced. Since portable code cannot
25648 # rely on this symbol name, it's probably fine to never include it in
25649 # preloaded symbol tables.
25650 # Exclude shared library initialization/finalization symbols.
25651 extract_expsyms_cmds=
25654 cygwin* | mingw* | pw32* | cegcc*)
25655 # FIXME: the MSVC++ port hasn't been tested in a loooong time
25656 # When not using gcc, we currently assume that we are using
25657 # Microsoft Visual C++.
25658 if test "$GCC" != yes; then
25663 # we just hope/assume this is gcc and not c89 (= MSVC++)
25673 # On some targets, GNU ld is compatible enough with the native linker
25674 # that we're better off using the native interface for both.
25675 lt_use_gnu_ld_interface=no
25676 if test "$with_gnu_ld" = yes; then
25679 # The AIX port of GNU ld has always aspired to compatibility
25680 # with the native linker. However, as the warning in the GNU ld
25681 # block says, versions before 2.19.5* couldn't really create working
25682 # shared libraries, regardless of the interface used.
25683 case `$LD -v 2>&1` in
25684 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
25685 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
25686 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
25688 lt_use_gnu_ld_interface=yes
25693 lt_use_gnu_ld_interface=yes
25698 if test "$lt_use_gnu_ld_interface" = yes; then
25699 # If archive_cmds runs LD, not CC, wlarc should be empty
25702 # Set some defaults for GNU ld with shared library support. These
25703 # are reset later if shared libraries are not supported. Putting them
25704 # here allows them to be overridden if necessary.
25705 runpath_var=LD_RUN_PATH
25706 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25707 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
25708 # ancient GNU ld didn't support --whole-archive et. al.
25709 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
25710 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
25712 whole_archive_flag_spec_GCJ=
25714 supports_anon_versioning=no
25715 case `$LD -v 2>&1` in
25716 *GNU\ gold*) supports_anon_versioning=yes ;;
25717 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
25718 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
25719 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
25720 *\ 2.11.*) ;; # other 2.11 versions
25721 *) supports_anon_versioning=yes ;;
25724 # See if GNU ld supports shared libraries.
25727 # On AIX/PPC, the GNU linker is very broken
25728 if test "$host_cpu" != ia64; then
25732 *** Warning: the GNU linker, at least up to release 2.19, is reported
25733 *** to be unable to reliably create shared libraries on AIX.
25734 *** Therefore, libtool is disabling shared libraries support. If you
25735 *** really care for shared libraries, you may want to install binutils
25736 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
25737 *** You will then need to restart the configuration process.
25746 # see comment about AmigaOS4 .so support
25747 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25748 archive_expsym_cmds_GCJ=''
25751 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)'
25752 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25753 hardcode_minus_L_GCJ=yes
25759 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25760 allow_undefined_flag_GCJ=unsupported
25761 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
25762 # support --undefined. This deserves some investigation. FIXME
25763 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25769 cygwin* | mingw* | pw32* | cegcc*)
25770 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
25771 # as there is no search path for DLLs.
25772 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25773 export_dynamic_flag_spec_GCJ='${wl}--export-all-symbols'
25774 allow_undefined_flag_GCJ=unsupported
25775 always_export_symbols_GCJ=no
25776 enable_shared_with_static_runtimes_GCJ=yes
25777 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'
25778 exclude_expsyms_GCJ='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
25780 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
25781 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25782 # If the export-symbols file already is a .def file (1st line
25783 # is EXPORTS), use it as is; otherwise, prepend...
25784 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
25785 cp $export_symbols $output_objdir/$soname.def;
25787 echo EXPORTS > $output_objdir/$soname.def;
25788 cat $export_symbols >> $output_objdir/$soname.def;
25790 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25797 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25798 link_all_deplibs_GCJ=yes
25802 hardcode_direct_GCJ=no
25803 hardcode_shlibpath_var_GCJ=no
25804 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25805 export_dynamic_flag_spec_GCJ='${wl}-E'
25806 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
25807 # Instead, shared libraries are loaded at an image base (0x10000000 by
25808 # default) and relocated if they conflict, which is a slow very memory
25809 # consuming and fragmenting process. To avoid this, we pick a random,
25810 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
25811 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
25812 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'
25813 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'
25816 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
25818 if test "$host_os" = linux-dietlibc; then
25819 case $cc_basename in
25820 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
25823 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
25824 && test "$tmp_diet" = no
25826 tmp_addflag=' $pic_flag'
25827 tmp_sharedflag='-shared'
25828 case $cc_basename,$host_cpu in
25829 pgcc*) # Portland Group C compiler
25830 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'
25831 tmp_addflag=' $pic_flag'
25833 pgf77* | pgf90* | pgf95* | pgfortran*)
25834 # Portland Group f77 and f90 compilers
25835 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'
25836 tmp_addflag=' $pic_flag -Mnomain' ;;
25837 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
25838 tmp_addflag=' -i_dynamic' ;;
25839 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
25840 tmp_addflag=' -i_dynamic -nofor_main' ;;
25841 ifc* | ifort*) # Intel Fortran compiler
25842 tmp_addflag=' -nofor_main' ;;
25843 lf95*) # Lahey Fortran 8.1
25844 whole_archive_flag_spec_GCJ=
25845 tmp_sharedflag='--shared' ;;
25846 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
25847 tmp_sharedflag='-qmkshrobj'
25849 nvcc*) # Cuda Compiler Driver 2.2
25850 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'
25851 compiler_needs_object_GCJ=yes
25854 case `$CC -V 2>&1 | sed 5q` in
25855 *Sun\ C*) # Sun C 5.9
25856 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'
25857 compiler_needs_object_GCJ=yes
25858 tmp_sharedflag='-G' ;;
25859 *Sun\ F*) # Sun Fortran 8.3
25860 tmp_sharedflag='-G' ;;
25862 archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25864 if test "x$supports_anon_versioning" = xyes; then
25865 archive_expsym_cmds_GCJ='echo "{ global:" > $output_objdir/$libname.ver~
25866 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25867 echo "local: *; };" >> $output_objdir/$libname.ver~
25868 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
25871 case $cc_basename in
25872 xlf* | bgf* | bgxlf* | mpixlf*)
25873 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
25874 whole_archive_flag_spec_GCJ='--whole-archive$convenience --no-whole-archive'
25875 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25876 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
25877 if test "x$supports_anon_versioning" = xyes; then
25878 archive_expsym_cmds_GCJ='echo "{ global:" > $output_objdir/$libname.ver~
25879 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25880 echo "local: *; };" >> $output_objdir/$libname.ver~
25881 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
25891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
25892 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
25895 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25896 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'
25901 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
25905 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
25906 *** create shared libraries on Solaris systems. Therefore, libtool
25907 *** is disabling shared libraries support. We urge you to upgrade GNU
25908 *** binutils to release 2.9.1 or newer. Another option is to modify
25909 *** your PATH or compiler configuration so that the native linker is
25910 *** used, and then restart.
25913 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25914 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25915 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'
25921 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
25922 case `$LD -v 2>&1` in
25923 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
25927 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
25928 *** reliably create shared libraries on SCO systems. Therefore, libtool
25929 *** is disabling shared libraries support. We urge you to upgrade GNU
25930 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
25931 *** your PATH or compiler configuration so that the native linker is
25932 *** used, and then restart.
25937 # For security reasons, it is highly recommended that you always
25938 # use absolute paths for naming shared libraries, and exclude the
25939 # DT_RUNPATH tag from executables and libraries. But doing so
25940 # requires that you compile everything twice, which is a pain.
25941 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25942 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25943 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25944 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
25953 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25955 hardcode_direct_GCJ=yes
25956 hardcode_shlibpath_var_GCJ=no
25960 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25961 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25962 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'
25969 if test "$ld_shlibs_GCJ" = no; then
25971 hardcode_libdir_flag_spec_GCJ=
25972 export_dynamic_flag_spec_GCJ=
25973 whole_archive_flag_spec_GCJ=
25976 # PORTME fill in a description of your system's linker (not GNU ld)
25979 allow_undefined_flag_GCJ=unsupported
25980 always_export_symbols_GCJ=yes
25981 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'
25982 # Note: this linker hardcodes the directories in LIBPATH if there
25983 # are no directories specified by -L.
25984 hardcode_minus_L_GCJ=yes
25985 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
25986 # Neither direct hardcoding nor static linking is supported with a
25988 hardcode_direct_GCJ=unsupported
25993 if test "$host_cpu" = ia64; then
25994 # On IA64, the linker does run time linking by default, so we don't
25995 # have to do anything special.
25996 aix_use_runtimelinking=no
25997 exp_sym_flag='-Bexport'
26000 # If we're using GNU nm, then we don't want the "-C" option.
26001 # -C means demangle to AIX nm, but means don't demangle with GNU nm
26002 # Also, AIX nm treats weak defined symbols like other global
26003 # defined symbols, whereas GNU nm marks them as "W".
26004 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
26005 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
26007 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
26009 aix_use_runtimelinking=no
26011 # Test if we are trying to use run time linking or normal
26012 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
26013 # need to do runtime linking.
26014 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
26015 for ld_flag in $LDFLAGS; do
26016 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
26017 aix_use_runtimelinking=yes
26024 exp_sym_flag='-bexport'
26025 no_entry_flag='-bnoentry'
26028 # When large executables or shared objects are built, AIX ld can
26029 # have problems creating the table of contents. If linking a library
26030 # or program results in "error TOC overflow" add -mminimal-toc to
26031 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
26032 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
26034 archive_cmds_GCJ=''
26035 hardcode_direct_GCJ=yes
26036 hardcode_direct_absolute_GCJ=yes
26037 hardcode_libdir_separator_GCJ=':'
26038 link_all_deplibs_GCJ=yes
26039 file_list_spec_GCJ='${wl}-f,'
26041 if test "$GCC" = yes; then
26042 case $host_os in aix4.[012]|aix4.[012].*)
26043 # We only want to do this on AIX 4.2 and lower, the check
26044 # below for broken collect2 doesn't work under 4.3+
26045 collect2name=`${CC} -print-prog-name=collect2`
26046 if test -f "$collect2name" &&
26047 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
26049 # We have reworked collect2
26052 # We have old collect2
26053 hardcode_direct_GCJ=unsupported
26054 # It fails to find uninstalled libraries when the uninstalled
26055 # path is not listed in the libpath. Setting hardcode_minus_L
26056 # to unsupported forces relinking
26057 hardcode_minus_L_GCJ=yes
26058 hardcode_libdir_flag_spec_GCJ='-L$libdir'
26059 hardcode_libdir_separator_GCJ=
26063 shared_flag='-shared'
26064 if test "$aix_use_runtimelinking" = yes; then
26065 shared_flag="$shared_flag "'${wl}-G'
26069 if test "$host_cpu" = ia64; then
26070 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
26071 # chokes on -Wl,-G. The following line is correct:
26074 if test "$aix_use_runtimelinking" = yes; then
26075 shared_flag='${wl}-G'
26077 shared_flag='${wl}-bM:SRE'
26082 export_dynamic_flag_spec_GCJ='${wl}-bexpall'
26083 # It seems that -bexpall does not export symbols beginning with
26084 # underscore (_), so it is better to generate a list of symbols to export.
26085 always_export_symbols_GCJ=yes
26086 if test "$aix_use_runtimelinking" = yes; then
26087 # Warning - without using the other runtime loading flags (-brtl),
26088 # -berok will link without error, but may produce a broken library.
26089 allow_undefined_flag_GCJ='-berok'
26090 # Determine the default libpath from the value encoded in an
26091 # empty executable.
26092 if test "${lt_cv_aix_libpath+set}" = set; then
26093 aix_libpath=$lt_cv_aix_libpath
26095 if ${lt_cv_aix_libpath__GCJ+:} false; then :
26096 $as_echo_n "(cached) " >&6
26098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26099 /* end confdefs.h. */
26109 if ac_fn_c_try_link "$LINENO"; then :
26111 lt_aix_libpath_sed='
26112 /Import File Strings/,/^$/ {
26114 s/^0 *\([^ ]*\) *$/\1/
26118 lt_cv_aix_libpath__GCJ=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26119 # Check for a 64-bit object if we didn't find anything.
26120 if test -z "$lt_cv_aix_libpath__GCJ"; then
26121 lt_cv_aix_libpath__GCJ=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26124 rm -f core conftest.err conftest.$ac_objext \
26125 conftest$ac_exeext conftest.$ac_ext
26126 if test -z "$lt_cv_aix_libpath__GCJ"; then
26127 lt_cv_aix_libpath__GCJ="/usr/lib:/lib"
26132 aix_libpath=$lt_cv_aix_libpath__GCJ
26135 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
26136 archive_expsym_cmds_GCJ='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
26138 if test "$host_cpu" = ia64; then
26139 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
26140 allow_undefined_flag_GCJ="-z nodefs"
26141 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"
26143 # Determine the default libpath from the value encoded in an
26144 # empty executable.
26145 if test "${lt_cv_aix_libpath+set}" = set; then
26146 aix_libpath=$lt_cv_aix_libpath
26148 if ${lt_cv_aix_libpath__GCJ+:} false; then :
26149 $as_echo_n "(cached) " >&6
26151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26152 /* end confdefs.h. */
26162 if ac_fn_c_try_link "$LINENO"; then :
26164 lt_aix_libpath_sed='
26165 /Import File Strings/,/^$/ {
26167 s/^0 *\([^ ]*\) *$/\1/
26171 lt_cv_aix_libpath__GCJ=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26172 # Check for a 64-bit object if we didn't find anything.
26173 if test -z "$lt_cv_aix_libpath__GCJ"; then
26174 lt_cv_aix_libpath__GCJ=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
26177 rm -f core conftest.err conftest.$ac_objext \
26178 conftest$ac_exeext conftest.$ac_ext
26179 if test -z "$lt_cv_aix_libpath__GCJ"; then
26180 lt_cv_aix_libpath__GCJ="/usr/lib:/lib"
26185 aix_libpath=$lt_cv_aix_libpath__GCJ
26188 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
26189 # Warning - without using the other run time loading flags,
26190 # -berok will link without error, but may produce a broken library.
26191 no_undefined_flag_GCJ=' ${wl}-bernotok'
26192 allow_undefined_flag_GCJ=' ${wl}-berok'
26193 if test "$with_gnu_ld" = yes; then
26194 # We only use this code for GNU lds that support --whole-archive.
26195 whole_archive_flag_spec_GCJ='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
26197 # Exported symbols can be pulled into shared objects from archives
26198 whole_archive_flag_spec_GCJ='$convenience'
26200 archive_cmds_need_lc_GCJ=yes
26201 # This is similar to how AIX traditionally builds its shared libraries.
26202 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
26210 # see comment about AmigaOS4 .so support
26211 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
26212 archive_expsym_cmds_GCJ=''
26215 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)'
26216 hardcode_libdir_flag_spec_GCJ='-L$libdir'
26217 hardcode_minus_L_GCJ=yes
26223 export_dynamic_flag_spec_GCJ=-rdynamic
26226 cygwin* | mingw* | pw32* | cegcc*)
26227 # When not using gcc, we currently assume that we are using
26228 # Microsoft Visual C++.
26229 # hardcode_libdir_flag_spec is actually meaningless, as there is
26230 # no search path for DLLs.
26231 case $cc_basename in
26234 hardcode_libdir_flag_spec_GCJ=' '
26235 allow_undefined_flag_GCJ=unsupported
26236 always_export_symbols_GCJ=yes
26237 file_list_spec_GCJ='@'
26238 # Tell ltmain to make .lib files, not .a files.
26240 # Tell ltmain to make .dll files, not .so files.
26242 # FIXME: Setting linknames here is a bad hack.
26243 archive_cmds_GCJ='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
26244 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
26245 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
26247 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
26249 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
26251 # The linker will not automatically build a static lib if we build a DLL.
26252 # _LT_TAGVAR(old_archive_from_new_cmds, GCJ)='true'
26253 enable_shared_with_static_runtimes_GCJ=yes
26254 exclude_expsyms_GCJ='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
26255 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
26257 old_postinstall_cmds_GCJ='chmod 644 $oldlib'
26258 postlink_cmds_GCJ='lt_outputfile="@OUTPUT@"~
26259 lt_tool_outputfile="@TOOL_OUTPUT@"~
26260 case $lt_outputfile in
26263 lt_outputfile="$lt_outputfile.exe"
26264 lt_tool_outputfile="$lt_tool_outputfile.exe"
26267 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
26268 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
26269 $RM "$lt_outputfile.manifest";
26273 # Assume MSVC wrapper
26274 hardcode_libdir_flag_spec_GCJ=' '
26275 allow_undefined_flag_GCJ=unsupported
26276 # Tell ltmain to make .lib files, not .a files.
26278 # Tell ltmain to make .dll files, not .so files.
26280 # FIXME: Setting linknames here is a bad hack.
26281 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
26282 # The linker will automatically build a .lib file if we build a DLL.
26283 old_archive_from_new_cmds_GCJ='true'
26284 # FIXME: Should let the user specify the lib program.
26285 old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
26286 enable_shared_with_static_runtimes_GCJ=yes
26291 darwin* | rhapsody*)
26294 archive_cmds_need_lc_GCJ=no
26295 hardcode_direct_GCJ=no
26296 hardcode_automatic_GCJ=yes
26297 hardcode_shlibpath_var_GCJ=unsupported
26298 if test "$lt_cv_ld_force_load" = "yes"; then
26299 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\"`'
26302 whole_archive_flag_spec_GCJ=''
26304 link_all_deplibs_GCJ=yes
26305 allow_undefined_flag_GCJ="$_lt_dar_allow_undefined"
26306 case $cc_basename in
26307 ifort*) _lt_dar_can_shared=yes ;;
26308 *) _lt_dar_can_shared=$GCC ;;
26310 if test "$_lt_dar_can_shared" = "yes"; then
26311 output_verbose_link_cmd=func_echo_all
26312 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}"
26313 module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
26314 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}"
26315 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}"
26324 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26325 hardcode_libdir_flag_spec_GCJ='-L$libdir'
26326 hardcode_shlibpath_var_GCJ=no
26329 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
26330 # support. Future versions do this automatically, but an explicit c++rt0.o
26331 # does not break anything, and helps significantly (at the cost of a little
26334 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
26335 hardcode_libdir_flag_spec_GCJ='-R$libdir'
26336 hardcode_direct_GCJ=yes
26337 hardcode_shlibpath_var_GCJ=no
26340 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
26342 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
26343 hardcode_direct_GCJ=yes
26344 hardcode_minus_L_GCJ=yes
26345 hardcode_shlibpath_var_GCJ=no
26348 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
26349 freebsd* | dragonfly*)
26350 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26351 hardcode_libdir_flag_spec_GCJ='-R$libdir'
26352 hardcode_direct_GCJ=yes
26353 hardcode_shlibpath_var_GCJ=no
26357 if test "$GCC" = yes; then
26358 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
26360 archive_cmds_GCJ='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
26362 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26363 hardcode_libdir_separator_GCJ=:
26364 hardcode_direct_GCJ=yes
26366 # hardcode_minus_L: Not really in the search PATH,
26367 # but as the default location of the library.
26368 hardcode_minus_L_GCJ=yes
26369 export_dynamic_flag_spec_GCJ='${wl}-E'
26373 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
26374 archive_cmds_GCJ='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26376 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
26378 if test "$with_gnu_ld" = no; then
26379 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26380 hardcode_libdir_separator_GCJ=:
26381 hardcode_direct_GCJ=yes
26382 hardcode_direct_absolute_GCJ=yes
26383 export_dynamic_flag_spec_GCJ='${wl}-E'
26384 # hardcode_minus_L: Not really in the search PATH,
26385 # but as the default location of the library.
26386 hardcode_minus_L_GCJ=yes
26391 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
26394 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26397 archive_cmds_GCJ='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26400 archive_cmds_GCJ='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26406 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26409 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26412 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26416 if test "$with_gnu_ld" = no; then
26417 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
26418 hardcode_libdir_separator_GCJ=:
26422 hardcode_direct_GCJ=no
26423 hardcode_shlibpath_var_GCJ=no
26426 hardcode_direct_GCJ=yes
26427 hardcode_direct_absolute_GCJ=yes
26428 export_dynamic_flag_spec_GCJ='${wl}-E'
26430 # hardcode_minus_L: Not really in the search PATH,
26431 # but as the default location of the library.
26432 hardcode_minus_L_GCJ=yes
26438 irix5* | irix6* | nonstopux*)
26439 if test "$GCC" = yes; then
26440 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'
26441 # Try to use the -exported_symbol ld option, if it does not
26442 # work, assume that -exports_file does not work either and
26443 # implicitly export all symbols.
26444 # This should be the same for all languages, so no per-tag cache variable.
26445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
26446 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
26447 if ${lt_cv_irix_exported_symbol+:} false; then :
26448 $as_echo_n "(cached) " >&6
26450 save_LDFLAGS="$LDFLAGS"
26451 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
26452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26453 /* end confdefs.h. */
26454 int foo (void) { return 0; }
26456 if ac_fn_c_try_link "$LINENO"; then :
26457 lt_cv_irix_exported_symbol=yes
26459 lt_cv_irix_exported_symbol=no
26461 rm -f core conftest.err conftest.$ac_objext \
26462 conftest$ac_exeext conftest.$ac_ext
26463 LDFLAGS="$save_LDFLAGS"
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
26466 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
26467 if test "$lt_cv_irix_exported_symbol" = yes; then
26468 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'
26471 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'
26472 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'
26474 archive_cmds_need_lc_GCJ='no'
26475 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
26476 hardcode_libdir_separator_GCJ=:
26477 inherit_rpath_GCJ=yes
26478 link_all_deplibs_GCJ=yes
26482 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
26483 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
26485 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
26487 hardcode_libdir_flag_spec_GCJ='-R$libdir'
26488 hardcode_direct_GCJ=yes
26489 hardcode_shlibpath_var_GCJ=no
26493 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26494 hardcode_direct_GCJ=yes
26495 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
26496 hardcode_libdir_separator_GCJ=:
26497 hardcode_shlibpath_var_GCJ=no
26504 if test -f /usr/libexec/ld.so; then
26505 hardcode_direct_GCJ=yes
26506 hardcode_shlibpath_var_GCJ=no
26507 hardcode_direct_absolute_GCJ=yes
26508 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26509 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26510 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
26511 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26512 export_dynamic_flag_spec_GCJ='${wl}-E'
26515 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
26516 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
26517 hardcode_libdir_flag_spec_GCJ='-R$libdir'
26520 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26521 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
26531 hardcode_libdir_flag_spec_GCJ='-L$libdir'
26532 hardcode_minus_L_GCJ=yes
26533 allow_undefined_flag_GCJ=unsupported
26534 archive_cmds_GCJ='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
26535 old_archive_from_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
26539 if test "$GCC" = yes; then
26540 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
26541 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'
26543 allow_undefined_flag_GCJ=' -expect_unresolved \*'
26544 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'
26546 archive_cmds_need_lc_GCJ='no'
26547 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
26548 hardcode_libdir_separator_GCJ=:
26551 osf4* | osf5*) # as osf3* with the addition of -msym flag
26552 if test "$GCC" = yes; then
26553 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
26554 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'
26555 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
26557 allow_undefined_flag_GCJ=' -expect_unresolved \*'
26558 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'
26559 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~
26560 $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'
26562 # Both c and cxx compiler support -rpath directly
26563 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
26565 archive_cmds_need_lc_GCJ='no'
26566 hardcode_libdir_separator_GCJ=:
26570 no_undefined_flag_GCJ=' -z defs'
26571 if test "$GCC" = yes; then
26573 archive_cmds_GCJ='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
26574 archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26575 $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'
26577 case `$CC -V 2>&1` in
26580 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
26581 archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26582 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
26586 archive_cmds_GCJ='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
26587 archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26588 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
26592 hardcode_libdir_flag_spec_GCJ='-R$libdir'
26593 hardcode_shlibpath_var_GCJ=no
26595 solaris2.[0-5] | solaris2.[0-5].*) ;;
26597 # The compiler driver will combine and reorder linker options,
26598 # but understands `-z linker_flag'. GCC discards it without `$wl',
26599 # but is careful enough not to reorder.
26600 # Supported since Solaris 2.6 (maybe 2.5.1?)
26601 if test "$GCC" = yes; then
26602 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
26604 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
26608 link_all_deplibs_GCJ=yes
26612 if test "x$host_vendor" = xsequent; then
26613 # Use $CC to link under sequent, because it throws in some extra .o
26614 # files that make .init and .fini sections work.
26615 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
26617 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
26619 hardcode_libdir_flag_spec_GCJ='-L$libdir'
26620 hardcode_direct_GCJ=yes
26621 hardcode_minus_L_GCJ=yes
26622 hardcode_shlibpath_var_GCJ=no
26626 case $host_vendor in
26628 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26629 hardcode_direct_GCJ=yes # is this really true???
26632 ## LD is ld it makes a PLAMLIB
26633 ## CC just makes a GrossModule.
26634 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
26635 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
26636 hardcode_direct_GCJ=no
26639 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26640 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
26643 runpath_var='LD_RUN_PATH'
26644 hardcode_shlibpath_var_GCJ=no
26648 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26649 hardcode_shlibpath_var_GCJ=no
26650 export_dynamic_flag_spec_GCJ='-Bexport'
26654 if test -d /usr/nec; then
26655 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26656 hardcode_shlibpath_var_GCJ=no
26657 runpath_var=LD_RUN_PATH
26658 hardcode_runpath_var=yes
26663 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
26664 no_undefined_flag_GCJ='${wl}-z,text'
26665 archive_cmds_need_lc_GCJ=no
26666 hardcode_shlibpath_var_GCJ=no
26667 runpath_var='LD_RUN_PATH'
26669 if test "$GCC" = yes; then
26670 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26671 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26673 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26674 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26678 sysv5* | sco3.2v5* | sco5v6*)
26679 # Note: We can NOT use -z defs as we might desire, because we do not
26680 # link with -lc, and that would cause any symbols used from libc to
26681 # always be unresolved, which means just about no library would
26682 # ever link correctly. If we're not using GNU ld we use -z text
26683 # though, which does catch some bad symbols but isn't as heavy-handed
26685 no_undefined_flag_GCJ='${wl}-z,text'
26686 allow_undefined_flag_GCJ='${wl}-z,nodefs'
26687 archive_cmds_need_lc_GCJ=no
26688 hardcode_shlibpath_var_GCJ=no
26689 hardcode_libdir_flag_spec_GCJ='${wl}-R,$libdir'
26690 hardcode_libdir_separator_GCJ=':'
26691 link_all_deplibs_GCJ=yes
26692 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
26693 runpath_var='LD_RUN_PATH'
26695 if test "$GCC" = yes; then
26696 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26697 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26699 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26700 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26705 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26706 hardcode_libdir_flag_spec_GCJ='-L$libdir'
26707 hardcode_shlibpath_var_GCJ=no
26715 if test x$host_vendor = xsni; then
26717 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
26718 export_dynamic_flag_spec_GCJ='${wl}-Blargedynsym'
26724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
26725 $as_echo "$ld_shlibs_GCJ" >&6; }
26726 test "$ld_shlibs_GCJ" = no && can_build_shared=no
26728 with_gnu_ld_GCJ=$with_gnu_ld
26736 # Do we need to explicitly link libc?
26738 case "x$archive_cmds_need_lc_GCJ" in
26740 # Assume -lc should be added
26741 archive_cmds_need_lc_GCJ=yes
26743 if test "$enable_shared" = yes && test "$GCC" = yes; then
26744 case $archive_cmds_GCJ in
26746 # FIXME: we may have to deal with multi-command sequences.
26749 # Test whether the compiler implicitly links with -lc since on some
26750 # systems, -lgcc has to come before -lc. If gcc already passes -lc
26751 # to ld, don't add -lc before -lgcc.
26752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
26753 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
26754 if ${lt_cv_archive_cmds_need_lc_GCJ+:} false; then :
26755 $as_echo_n "(cached) " >&6
26758 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26760 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
26761 (eval $ac_compile) 2>&5
26763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26764 test $ac_status = 0; } 2>conftest.err; then
26767 libobjs=conftest.$ac_objext
26769 wl=$lt_prog_compiler_wl_GCJ
26770 pic_flag=$lt_prog_compiler_pic_GCJ
26776 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
26777 allow_undefined_flag_GCJ=
26778 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
26779 (eval $archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
26781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26782 test $ac_status = 0; }
26784 lt_cv_archive_cmds_need_lc_GCJ=no
26786 lt_cv_archive_cmds_need_lc_GCJ=yes
26788 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
26790 cat conftest.err 1>&5
26795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
26796 $as_echo "$lt_cv_archive_cmds_need_lc_GCJ" >&6; }
26797 archive_cmds_need_lc_GCJ=$lt_cv_archive_cmds_need_lc_GCJ
26865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
26866 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
26867 hardcode_action_GCJ=
26868 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
26869 test -n "$runpath_var_GCJ" ||
26870 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26872 # We can hardcode non-existent directories.
26873 if test "$hardcode_direct_GCJ" != no &&
26874 # If the only mechanism to avoid hardcoding is shlibpath_var, we
26875 # have to relink, otherwise we might link with an installed library
26876 # when we should be linking with a yet-to-be-installed one
26877 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
26878 test "$hardcode_minus_L_GCJ" != no; then
26879 # Linking always hardcodes the temporary library directory.
26880 hardcode_action_GCJ=relink
26882 # We can link without hardcoding, and we can hardcode nonexisting dirs.
26883 hardcode_action_GCJ=immediate
26886 # We cannot hardcode anything, or else we can only hardcode existing
26888 hardcode_action_GCJ=unsupported
26890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
26891 $as_echo "$hardcode_action_GCJ" >&6; }
26893 if test "$hardcode_action_GCJ" = relink ||
26894 test "$inherit_rpath_GCJ" = yes; then
26895 # Fast installation is not supported
26896 enable_fast_install=no
26897 elif test "$shlibpath_overrides_runpath" = yes ||
26898 test "$enable_shared" = no; then
26899 # Fast installation is not necessary
26900 enable_fast_install=needless
26912 ac_cpp='$CPP $CPPFLAGS'
26913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26920 CFLAGS=$lt_save_CFLAGS
26922 if test -n "$ac_tool_prefix"; then
26923 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
26924 set dummy ${ac_tool_prefix}windres; ac_word=$2
26925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26926 $as_echo_n "checking for $ac_word... " >&6; }
26927 if ${ac_cv_prog_RC+:} false; then :
26928 $as_echo_n "(cached) " >&6
26930 if test -n "$RC"; then
26931 ac_cv_prog_RC="$RC" # Let the user override the test.
26933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26934 for as_dir in $PATH
26937 test -z "$as_dir" && as_dir=.
26938 for ac_exec_ext in '' $ac_executable_extensions; do
26939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26940 ac_cv_prog_RC="${ac_tool_prefix}windres"
26941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26951 if test -n "$RC"; then
26952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
26953 $as_echo "$RC" >&6; }
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26956 $as_echo "no" >&6; }
26961 if test -z "$ac_cv_prog_RC"; then
26963 # Extract the first word of "windres", so it can be a program name with args.
26964 set dummy windres; ac_word=$2
26965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26966 $as_echo_n "checking for $ac_word... " >&6; }
26967 if ${ac_cv_prog_ac_ct_RC+:} false; then :
26968 $as_echo_n "(cached) " >&6
26970 if test -n "$ac_ct_RC"; then
26971 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
26973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26974 for as_dir in $PATH
26977 test -z "$as_dir" && as_dir=.
26978 for ac_exec_ext in '' $ac_executable_extensions; do
26979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26980 ac_cv_prog_ac_ct_RC="windres"
26981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26990 ac_ct_RC=$ac_cv_prog_ac_ct_RC
26991 if test -n "$ac_ct_RC"; then
26992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
26993 $as_echo "$ac_ct_RC" >&6; }
26995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26996 $as_echo "no" >&6; }
26999 if test "x$ac_ct_RC" = x; then
27002 case $cross_compiling:$ac_tool_warned in
27004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27006 ac_tool_warned=yes ;;
27011 RC="$ac_cv_prog_RC"
27017 # Source file extension for RC test sources.
27020 # Object file extension for compiled RC test sources.
27024 # Code to be used in simple compile tests
27025 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
27027 # Code to be used in simple link tests
27028 lt_simple_link_test_code="$lt_simple_compile_test_code"
27030 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
27037 # If no C compiler was specified, use CC.
27040 # If no C compiler flags were specified, use CFLAGS.
27041 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
27043 # Allow CC to be a program name with arguments.
27047 # save warnings/boilerplate of simple test code
27048 ac_outfile=conftest.$ac_objext
27049 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
27050 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27051 _lt_compiler_boilerplate=`cat conftest.err`
27054 ac_outfile=conftest.$ac_objext
27055 echo "$lt_simple_link_test_code" >conftest.$ac_ext
27056 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27057 _lt_linker_boilerplate=`cat conftest.err`
27061 # Allow CC to be a program name with arguments.
27063 lt_save_CFLAGS=$CFLAGS
27070 for cc_temp in $compiler""; do
27072 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27073 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27078 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
27080 lt_cv_prog_compiler_c_o_RC=yes
27082 if test -n "$compiler"; then
27091 ac_cpp='$CPP $CPPFLAGS'
27092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27097 CFLAGS=$lt_save_CFLAGS
27100 # Ensure the correct file name (and path) conversion function
27101 # is available to the test suite.
27103 ## --------------------------- ##
27104 ## Work out which tests to run ##
27105 ## --------------------------- ##
27106 if test -n "$compiler_CXX"; then
27114 if test -n "$compiler_F77"; then
27122 if test -n "$compiler_FC"; then
27130 if test -n "$compiler_GCJ"; then
27138 if test -n "$compiler_RC"; then
27147 ## Whether `make' supports order-only prerequisites.
27148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports order-only prerequisites" >&5
27149 $as_echo_n "checking whether ${MAKE-make} supports order-only prerequisites... " >&6; }
27150 if ${lt_cv_make_order_only+:} false; then :
27151 $as_echo_n "(cached) " >&6
27157 cat >confmk << 'END'
27163 if ${MAKE-make} -s -q -f confmk >/dev/null 2>&1; then
27164 lt_cv_make_order_only=yes
27166 lt_cv_make_order_only=no
27169 rm -rf conftest.dir
27172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_make_order_only" >&5
27173 $as_echo "$lt_cv_make_order_only" >&6; }
27174 if test $lt_cv_make_order_only = yes; then
27181 ## ------------- ##
27182 ## Documentation ##
27183 ## ------------- ##
27185 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
27191 ac_config_files="$ac_config_files Makefile"
27193 cat >confcache <<\_ACEOF
27194 # This file is a shell script that caches the results of configure
27195 # tests run on this system so they can be shared between configure
27196 # scripts and configure runs, see configure's option --config-cache.
27197 # It is not useful on other systems. If it contains results you don't
27198 # want to keep, you may remove or edit it.
27200 # config.status only pays attention to the cache file if you give it
27201 # the --recheck option to rerun configure.
27203 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27204 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27205 # following values.
27209 # The following way of writing the cache mishandles newlines in values,
27210 # but we know of no workaround that is simple, portable, and efficient.
27211 # So, we kill variables containing newlines.
27212 # Ultrix sh set writes to stderr and can't be redirected directly,
27213 # and sets the high bit in the cache file unless we assign to the vars.
27215 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27216 eval ac_val=\$$ac_var
27220 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
27221 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27224 _ | IFS | as_nl) ;; #(
27225 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
27226 *) { eval $ac_var=; unset $ac_var;} ;;
27232 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27233 *${as_nl}ac_space=\ *)
27234 # `set' does not quote correctly, so add quotes: double-quote
27235 # substitution turns \\\\ into \\, and sed turns \\ into \.
27238 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27241 # `set' quotes correctly as required by POSIX, so do not add quotes.
27242 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27251 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27253 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27255 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27256 if test -w "$cache_file"; then
27257 if test "x$cache_file" != "x/dev/null"; then
27258 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
27259 $as_echo "$as_me: updating cache $cache_file" >&6;}
27260 if test ! -f "$cache_file" || test -h "$cache_file"; then
27261 cat confcache >"$cache_file"
27263 case $cache_file in #(
27265 mv -f confcache "$cache_file"$$ &&
27266 mv -f "$cache_file"$$ "$cache_file" ;; #(
27268 mv -f confcache "$cache_file" ;;
27273 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
27274 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27279 test "x$prefix" = xNONE && prefix=$ac_default_prefix
27280 # Let make expand exec_prefix.
27281 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27283 DEFS=-DHAVE_CONFIG_H
27288 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27289 # 1. Remove the extension, and $U if already installed.
27290 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
27291 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
27292 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
27293 # will be set to the directory where LIBOBJS objects are built.
27294 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
27295 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
27297 LIBOBJS=$ac_libobjs
27299 LTLIBOBJS=$ac_ltlibobjs
27302 if test -n "$EXEEXT"; then
27304 am__EXEEXT_FALSE='#'
27306 am__EXEEXT_TRUE='#'
27310 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27311 as_fn_error $? "conditional \"AMDEP\" was never defined.
27312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27314 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27315 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
27316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27318 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
27319 as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
27320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27322 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
27323 as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
27324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27326 LT_CONFIG_H=config.h
27327 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27328 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
27329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27331 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
27332 as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
27333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27335 if test -z "${HAVE_F77_TRUE}" && test -z "${HAVE_F77_FALSE}"; then
27336 as_fn_error $? "conditional \"HAVE_F77\" was never defined.
27337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27339 if test -z "${HAVE_FC_TRUE}" && test -z "${HAVE_FC_FALSE}"; then
27340 as_fn_error $? "conditional \"HAVE_FC\" was never defined.
27341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27343 if test -z "${HAVE_GCJ_TRUE}" && test -z "${HAVE_GCJ_FALSE}"; then
27344 as_fn_error $? "conditional \"HAVE_GCJ\" was never defined.
27345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27347 if test -z "${HAVE_RC_TRUE}" && test -z "${HAVE_RC_FALSE}"; then
27348 as_fn_error $? "conditional \"HAVE_RC\" was never defined.
27349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27352 : "${CONFIG_STATUS=./config.status}"
27354 ac_clean_files_save=$ac_clean_files
27355 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27356 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27357 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27359 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27361 # Generated by $as_me.
27362 # Run this file to recreate the current configuration.
27363 # Compiler output produced by configure, useful for debugging
27364 # configure, is in config.log if it exists.
27367 ac_cs_recheck=false
27370 SHELL=\${CONFIG_SHELL-$SHELL}
27373 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27374 ## -------------------- ##
27375 ## M4sh Initialization. ##
27376 ## -------------------- ##
27378 # Be more Bourne compatible
27379 DUALCASE=1; export DUALCASE # for MKS sh
27380 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27383 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27384 # is contrary to our usage. Disable this feature.
27385 alias -g '${1+"$@"}'='"$@"'
27386 setopt NO_GLOB_SUBST
27388 case `(set -o) 2>/dev/null` in #(
27400 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27401 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27402 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27403 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27404 # Prefer a ksh shell builtin over an external printf program on Solaris,
27405 # but without wasting forks for bash or zsh.
27406 if test -z "$BASH_VERSION$ZSH_VERSION" \
27407 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27408 as_echo='print -r --'
27409 as_echo_n='print -rn --'
27410 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27411 as_echo='printf %s\n'
27412 as_echo_n='printf %s'
27414 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27415 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27416 as_echo_n='/usr/ucb/echo -n'
27418 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27419 as_echo_n_body='eval
27423 expr "X$arg" : "X\\(.*\\)$as_nl";
27424 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27426 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27428 export as_echo_n_body
27429 as_echo_n='sh -c $as_echo_n_body as_echo'
27431 export as_echo_body
27432 as_echo='sh -c $as_echo_body as_echo'
27435 # The user is always right.
27436 if test "${PATH_SEPARATOR+set}" != set; then
27438 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27439 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27446 # We need space, tab and new line, in precisely that order. Quoting is
27447 # there to prevent editors from complaining about space-tab.
27448 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27449 # splitting by setting IFS to empty value.)
27452 # Find who we are. Look in the path if we contain no directory separator.
27455 *[\\/]* ) as_myself=$0 ;;
27456 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27457 for as_dir in $PATH
27460 test -z "$as_dir" && as_dir=.
27461 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27467 # We did not find ourselves, most probably we were run as `sh COMMAND'
27468 # in which case we are not to be found in the path.
27469 if test "x$as_myself" = x; then
27472 if test ! -f "$as_myself"; then
27473 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27477 # Unset variables that we do not need and which cause bugs (e.g. in
27478 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27479 # suppresses any "Segmentation fault" message there. '((' could
27480 # trigger a bug in pdksh 5.2.14.
27481 for as_var in BASH_ENV ENV MAIL MAILPATH
27482 do eval test x\${$as_var+set} = xset \
27483 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27496 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27499 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27500 # ----------------------------------------
27501 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27502 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27503 # script with STATUS, using 1 if that was 0.
27506 as_status=$1; test $as_status -eq 0 && as_status=1
27508 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27509 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27511 $as_echo "$as_me: error: $2" >&2
27512 as_fn_exit $as_status
27516 # as_fn_set_status STATUS
27517 # -----------------------
27518 # Set $? to STATUS, without forking.
27519 as_fn_set_status ()
27522 } # as_fn_set_status
27524 # as_fn_exit STATUS
27525 # -----------------
27526 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27530 as_fn_set_status $1
27536 # Portably unset VAR.
27539 { eval $1=; unset $1;}
27541 as_unset=as_fn_unset
27542 # as_fn_append VAR VALUE
27543 # ----------------------
27544 # Append the text in VALUE to the end of the definition contained in VAR. Take
27545 # advantage of any shell optimizations that allow amortized linear growth over
27546 # repeated appends, instead of the typical quadratic growth present in naive
27548 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27549 eval 'as_fn_append ()
27560 # as_fn_arith ARG...
27561 # ------------------
27562 # Perform arithmetic evaluation on the ARGs, and store the result in the
27563 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27564 # must be portable across $(()) and expr.
27565 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27566 eval 'as_fn_arith ()
27573 as_val=`expr "$@" || test $? -eq 1`
27578 if expr a : '\(a\)' >/dev/null 2>&1 &&
27579 test "X`expr 00001 : '.*\(...\)'`" = X001; then
27585 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27586 as_basename=basename
27591 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27597 as_me=`$as_basename -- "$0" ||
27598 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27599 X"$0" : 'X\(//\)$' \| \
27600 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27602 sed '/^.*\/\([^/][^/]*\)\/*$/{
27616 # Avoid depending upon Character Ranges.
27617 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27618 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27619 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27620 as_cr_digits='0123456789'
27621 as_cr_alnum=$as_cr_Letters$as_cr_digits
27623 ECHO_C= ECHO_N= ECHO_T=
27624 case `echo -n x` in #(((((
27626 case `echo 'xy\c'` in
27627 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27629 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27636 rm -f conf$$ conf$$.exe conf$$.file
27637 if test -d conf$$.dir; then
27638 rm -f conf$$.dir/conf$$.file
27641 mkdir conf$$.dir 2>/dev/null
27643 if (echo >conf$$.file) 2>/dev/null; then
27644 if ln -s conf$$.file conf$$ 2>/dev/null; then
27646 # ... but there are two gotchas:
27647 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27648 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27649 # In both cases, we have to default to `cp -p'.
27650 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27652 elif ln conf$$.file conf$$ 2>/dev/null; then
27660 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27661 rmdir conf$$.dir 2>/dev/null
27666 # Create "$as_dir" as a directory, including parents if necessary.
27671 -*) as_dir=./$as_dir;;
27673 test -d "$as_dir" || eval $as_mkdir_p || {
27677 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27678 *) as_qdir=$as_dir;;
27680 as_dirs="'$as_qdir' $as_dirs"
27681 as_dir=`$as_dirname -- "$as_dir" ||
27682 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27683 X"$as_dir" : 'X\(//\)[^/]' \| \
27684 X"$as_dir" : 'X\(//\)$' \| \
27685 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27686 $as_echo X"$as_dir" |
27687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27691 /^X\(\/\/\)[^/].*/{
27704 test -d "$as_dir" && break
27706 test -z "$as_dirs" || eval "mkdir $as_dirs"
27707 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
27711 if mkdir -p . 2>/dev/null; then
27712 as_mkdir_p='mkdir -p "$as_dir"'
27714 test -d ./-p && rmdir ./-p
27718 if test -x / >/dev/null 2>&1; then
27719 as_test_x='test -x'
27721 if ls -dL / >/dev/null 2>&1; then
27728 if test -d "$1"; then
27734 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27735 ???[sx]*):;;*)false;;esac;fi
27739 as_executable_p=$as_test_x
27741 # Sed expression to map a string onto a valid CPP name.
27742 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27744 # Sed expression to map a string onto a valid variable name.
27745 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27749 ## ----------------------------------- ##
27750 ## Main body of $CONFIG_STATUS script. ##
27751 ## ----------------------------------- ##
27753 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27756 # Save the log message, to keep $0 and so on meaningful, and to
27757 # report actual input values of CONFIG_FILES etc. instead of their
27758 # values after options handling.
27760 This file was extended by GNU Libtool $as_me 2.4.2, which was
27761 generated by GNU Autoconf 2.68. Invocation command line was
27763 CONFIG_FILES = $CONFIG_FILES
27764 CONFIG_HEADERS = $CONFIG_HEADERS
27765 CONFIG_LINKS = $CONFIG_LINKS
27766 CONFIG_COMMANDS = $CONFIG_COMMANDS
27769 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27774 case $ac_config_files in *"
27775 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27778 case $ac_config_headers in *"
27779 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27784 # Files that config.status was made for.
27785 config_files="$ac_config_files"
27786 config_headers="$ac_config_headers"
27787 config_commands="$ac_config_commands"
27791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27793 \`$as_me' instantiates files and other configuration actions
27794 from templates according to the current configuration. Unless the files
27795 and actions are specified as TAGs, all are instantiated by default.
27797 Usage: $0 [OPTION]... [TAG]...
27799 -h, --help print this help, then exit
27800 -V, --version print version number and configuration settings, then exit
27801 --config print configuration, then exit
27802 -q, --quiet, --silent
27803 do not print progress messages
27804 -d, --debug don't remove temporary files
27805 --recheck update $as_me by reconfiguring in the same conditions
27806 --file=FILE[:TEMPLATE]
27807 instantiate the configuration file FILE
27808 --header=FILE[:TEMPLATE]
27809 instantiate the configuration header FILE
27811 Configuration files:
27814 Configuration headers:
27817 Configuration commands:
27820 Report bugs to <bug-libtool@gnu.org>.
27821 GNU Libtool home page: <http://www.gnu.org/software/libtool/>.
27822 General help using GNU software: <http://www.gnu.org/gethelp/>."
27825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27826 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27828 GNU Libtool config.status 2.4.2
27829 configured by $0, generated by GNU Autoconf 2.68,
27830 with options \\"\$ac_cs_config\\"
27832 Copyright (C) 2010 Free Software Foundation, Inc.
27833 This config.status script is free software; the Free Software Foundation
27834 gives unlimited permission to copy, distribute and modify it."
27841 test -n "\$AWK" || AWK=awk
27844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27845 # The default lists apply if the user does not specify any file.
27851 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27852 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27856 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27868 # Handling of the options.
27869 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27871 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27872 $as_echo "$ac_cs_version"; exit ;;
27873 --config | --confi | --conf | --con | --co | --c )
27874 $as_echo "$ac_cs_config"; exit ;;
27875 --debug | --debu | --deb | --de | --d | -d )
27877 --file | --fil | --fi | --f )
27880 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27881 '') as_fn_error $? "missing file argument" ;;
27883 as_fn_append CONFIG_FILES " '$ac_optarg'"
27884 ac_need_defaults=false;;
27885 --header | --heade | --head | --hea )
27888 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27890 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27891 ac_need_defaults=false;;
27893 # Conflict between --help and --header
27894 as_fn_error $? "ambiguous option: \`$1'
27895 Try \`$0 --help' for more information.";;
27896 --help | --hel | -h )
27897 $as_echo "$ac_cs_usage"; exit ;;
27898 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27899 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27902 # This is an error.
27903 -*) as_fn_error $? "unrecognized option: \`$1'
27904 Try \`$0 --help' for more information." ;;
27906 *) as_fn_append ac_config_targets " $1"
27907 ac_need_defaults=false ;;
27913 ac_configure_extra_args=
27915 if $ac_cs_silent; then
27917 ac_configure_extra_args="$ac_configure_extra_args --silent"
27921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27922 if \$ac_cs_recheck; then
27923 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27925 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27926 CONFIG_SHELL='$SHELL'
27927 export CONFIG_SHELL
27932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27936 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27937 ## Running $as_me. ##
27943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27948 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27951 # The HP-UX ksh and POSIX shell print the target directory to stdout
27952 # if CDPATH is set.
27953 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27955 sed_quote_subst='$sed_quote_subst'
27956 double_quote_subst='$double_quote_subst'
27957 delay_variable_subst='$delay_variable_subst'
27958 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27959 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27960 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
27961 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
27962 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27963 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27964 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27965 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27966 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27967 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27968 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27969 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
27970 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27971 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27972 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27973 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27974 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27975 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27976 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27977 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27978 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27979 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27980 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27981 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27982 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27983 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27984 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27985 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27986 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27987 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27988 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27989 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27990 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
27991 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
27992 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27993 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27994 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27995 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27996 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
27997 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
27998 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
27999 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
28000 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
28001 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
28002 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
28003 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
28004 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28005 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28006 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
28007 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
28008 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
28009 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
28010 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
28011 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
28012 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
28013 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
28014 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
28015 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"`'
28016 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
28017 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
28018 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
28019 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
28020 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
28021 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
28022 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
28023 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
28024 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
28025 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
28026 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
28027 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
28028 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
28029 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
28030 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
28031 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
28032 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
28033 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
28034 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28035 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
28036 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
28037 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
28038 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
28039 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
28040 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
28041 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28042 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
28043 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28044 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
28045 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28046 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
28047 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
28048 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
28049 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
28050 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
28051 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
28052 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
28053 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
28054 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
28055 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
28056 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
28057 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
28058 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
28059 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
28060 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
28061 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
28062 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
28063 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
28064 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
28065 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
28066 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
28067 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
28068 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
28069 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
28070 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
28071 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
28072 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
28073 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
28074 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
28075 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
28076 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28077 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28078 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
28079 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
28080 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
28081 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
28082 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
28083 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
28084 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
28085 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
28086 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
28087 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
28088 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
28089 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
28090 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
28091 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
28092 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
28093 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
28094 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
28095 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
28096 LD_F77='`$ECHO "$LD_F77" | $SED "$delay_single_quote_subst"`'
28097 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
28098 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
28099 LD_GCJ='`$ECHO "$LD_GCJ" | $SED "$delay_single_quote_subst"`'
28100 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
28101 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
28102 reload_flag_F77='`$ECHO "$reload_flag_F77" | $SED "$delay_single_quote_subst"`'
28103 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
28104 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
28105 reload_flag_GCJ='`$ECHO "$reload_flag_GCJ" | $SED "$delay_single_quote_subst"`'
28106 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
28107 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28108 reload_cmds_F77='`$ECHO "$reload_cmds_F77" | $SED "$delay_single_quote_subst"`'
28109 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
28110 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
28111 reload_cmds_GCJ='`$ECHO "$reload_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
28112 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
28113 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28114 old_archive_cmds_F77='`$ECHO "$old_archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
28115 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
28116 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
28117 old_archive_cmds_GCJ='`$ECHO "$old_archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
28118 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
28119 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
28120 compiler_F77='`$ECHO "$compiler_F77" | $SED "$delay_single_quote_subst"`'
28121 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
28122 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
28123 compiler_GCJ='`$ECHO "$compiler_GCJ" | $SED "$delay_single_quote_subst"`'
28124 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
28125 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
28126 GCC_F77='`$ECHO "$GCC_F77" | $SED "$delay_single_quote_subst"`'
28127 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
28128 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
28129 GCC_GCJ='`$ECHO "$GCC_GCJ" | $SED "$delay_single_quote_subst"`'
28130 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
28131 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
28132 lt_prog_compiler_no_builtin_flag_F77='`$ECHO "$lt_prog_compiler_no_builtin_flag_F77" | $SED "$delay_single_quote_subst"`'
28133 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
28134 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
28135 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "$lt_prog_compiler_no_builtin_flag_GCJ" | $SED "$delay_single_quote_subst"`'
28136 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
28137 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
28138 lt_prog_compiler_pic_F77='`$ECHO "$lt_prog_compiler_pic_F77" | $SED "$delay_single_quote_subst"`'
28139 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
28140 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
28141 lt_prog_compiler_pic_GCJ='`$ECHO "$lt_prog_compiler_pic_GCJ" | $SED "$delay_single_quote_subst"`'
28142 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
28143 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
28144 lt_prog_compiler_wl_F77='`$ECHO "$lt_prog_compiler_wl_F77" | $SED "$delay_single_quote_subst"`'
28145 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
28146 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
28147 lt_prog_compiler_wl_GCJ='`$ECHO "$lt_prog_compiler_wl_GCJ" | $SED "$delay_single_quote_subst"`'
28148 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
28149 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
28150 lt_prog_compiler_static_F77='`$ECHO "$lt_prog_compiler_static_F77" | $SED "$delay_single_quote_subst"`'
28151 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
28152 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
28153 lt_prog_compiler_static_GCJ='`$ECHO "$lt_prog_compiler_static_GCJ" | $SED "$delay_single_quote_subst"`'
28154 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
28155 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
28156 lt_cv_prog_compiler_c_o_F77='`$ECHO "$lt_cv_prog_compiler_c_o_F77" | $SED "$delay_single_quote_subst"`'
28157 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
28158 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
28159 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "$lt_cv_prog_compiler_c_o_GCJ" | $SED "$delay_single_quote_subst"`'
28160 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
28161 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
28162 archive_cmds_need_lc_F77='`$ECHO "$archive_cmds_need_lc_F77" | $SED "$delay_single_quote_subst"`'
28163 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
28164 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
28165 archive_cmds_need_lc_GCJ='`$ECHO "$archive_cmds_need_lc_GCJ" | $SED "$delay_single_quote_subst"`'
28166 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
28167 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
28168 enable_shared_with_static_runtimes_F77='`$ECHO "$enable_shared_with_static_runtimes_F77" | $SED "$delay_single_quote_subst"`'
28169 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
28170 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
28171 enable_shared_with_static_runtimes_GCJ='`$ECHO "$enable_shared_with_static_runtimes_GCJ" | $SED "$delay_single_quote_subst"`'
28172 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
28173 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28174 export_dynamic_flag_spec_F77='`$ECHO "$export_dynamic_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
28175 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28176 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
28177 export_dynamic_flag_spec_GCJ='`$ECHO "$export_dynamic_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
28178 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
28179 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28180 whole_archive_flag_spec_F77='`$ECHO "$whole_archive_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
28181 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28182 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
28183 whole_archive_flag_spec_GCJ='`$ECHO "$whole_archive_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
28184 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
28185 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
28186 compiler_needs_object_F77='`$ECHO "$compiler_needs_object_F77" | $SED "$delay_single_quote_subst"`'
28187 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
28188 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
28189 compiler_needs_object_GCJ='`$ECHO "$compiler_needs_object_GCJ" | $SED "$delay_single_quote_subst"`'
28190 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
28191 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28192 old_archive_from_new_cmds_F77='`$ECHO "$old_archive_from_new_cmds_F77" | $SED "$delay_single_quote_subst"`'
28193 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
28194 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
28195 old_archive_from_new_cmds_GCJ='`$ECHO "$old_archive_from_new_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
28196 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
28197 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28198 old_archive_from_expsyms_cmds_F77='`$ECHO "$old_archive_from_expsyms_cmds_F77" | $SED "$delay_single_quote_subst"`'
28199 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
28200 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
28201 old_archive_from_expsyms_cmds_GCJ='`$ECHO "$old_archive_from_expsyms_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
28202 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
28203 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28204 archive_cmds_F77='`$ECHO "$archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
28205 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
28206 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
28207 archive_cmds_GCJ='`$ECHO "$archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
28208 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
28209 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28210 archive_expsym_cmds_F77='`$ECHO "$archive_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
28211 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
28212 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
28213 archive_expsym_cmds_GCJ='`$ECHO "$archive_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
28214 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
28215 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28216 module_cmds_F77='`$ECHO "$module_cmds_F77" | $SED "$delay_single_quote_subst"`'
28217 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
28218 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
28219 module_cmds_GCJ='`$ECHO "$module_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
28220 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
28221 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28222 module_expsym_cmds_F77='`$ECHO "$module_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
28223 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
28224 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
28225 module_expsym_cmds_GCJ='`$ECHO "$module_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
28226 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
28227 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
28228 with_gnu_ld_F77='`$ECHO "$with_gnu_ld_F77" | $SED "$delay_single_quote_subst"`'
28229 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
28230 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
28231 with_gnu_ld_GCJ='`$ECHO "$with_gnu_ld_GCJ" | $SED "$delay_single_quote_subst"`'
28232 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
28233 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
28234 allow_undefined_flag_F77='`$ECHO "$allow_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
28235 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
28236 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
28237 allow_undefined_flag_GCJ='`$ECHO "$allow_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
28238 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
28239 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
28240 no_undefined_flag_F77='`$ECHO "$no_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
28241 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
28242 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
28243 no_undefined_flag_GCJ='`$ECHO "$no_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
28244 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
28245 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
28246 hardcode_libdir_flag_spec_F77='`$ECHO "$hardcode_libdir_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
28247 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28248 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
28249 hardcode_libdir_flag_spec_GCJ='`$ECHO "$hardcode_libdir_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
28250 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
28251 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
28252 hardcode_libdir_separator_F77='`$ECHO "$hardcode_libdir_separator_F77" | $SED "$delay_single_quote_subst"`'
28253 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
28254 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
28255 hardcode_libdir_separator_GCJ='`$ECHO "$hardcode_libdir_separator_GCJ" | $SED "$delay_single_quote_subst"`'
28256 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
28257 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
28258 hardcode_direct_F77='`$ECHO "$hardcode_direct_F77" | $SED "$delay_single_quote_subst"`'
28259 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
28260 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
28261 hardcode_direct_GCJ='`$ECHO "$hardcode_direct_GCJ" | $SED "$delay_single_quote_subst"`'
28262 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
28263 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
28264 hardcode_direct_absolute_F77='`$ECHO "$hardcode_direct_absolute_F77" | $SED "$delay_single_quote_subst"`'
28265 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
28266 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
28267 hardcode_direct_absolute_GCJ='`$ECHO "$hardcode_direct_absolute_GCJ" | $SED "$delay_single_quote_subst"`'
28268 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
28269 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
28270 hardcode_minus_L_F77='`$ECHO "$hardcode_minus_L_F77" | $SED "$delay_single_quote_subst"`'
28271 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
28272 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
28273 hardcode_minus_L_GCJ='`$ECHO "$hardcode_minus_L_GCJ" | $SED "$delay_single_quote_subst"`'
28274 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
28275 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
28276 hardcode_shlibpath_var_F77='`$ECHO "$hardcode_shlibpath_var_F77" | $SED "$delay_single_quote_subst"`'
28277 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
28278 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
28279 hardcode_shlibpath_var_GCJ='`$ECHO "$hardcode_shlibpath_var_GCJ" | $SED "$delay_single_quote_subst"`'
28280 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
28281 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
28282 hardcode_automatic_F77='`$ECHO "$hardcode_automatic_F77" | $SED "$delay_single_quote_subst"`'
28283 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
28284 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
28285 hardcode_automatic_GCJ='`$ECHO "$hardcode_automatic_GCJ" | $SED "$delay_single_quote_subst"`'
28286 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
28287 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
28288 inherit_rpath_F77='`$ECHO "$inherit_rpath_F77" | $SED "$delay_single_quote_subst"`'
28289 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
28290 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
28291 inherit_rpath_GCJ='`$ECHO "$inherit_rpath_GCJ" | $SED "$delay_single_quote_subst"`'
28292 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
28293 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
28294 link_all_deplibs_F77='`$ECHO "$link_all_deplibs_F77" | $SED "$delay_single_quote_subst"`'
28295 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
28296 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
28297 link_all_deplibs_GCJ='`$ECHO "$link_all_deplibs_GCJ" | $SED "$delay_single_quote_subst"`'
28298 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
28299 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
28300 always_export_symbols_F77='`$ECHO "$always_export_symbols_F77" | $SED "$delay_single_quote_subst"`'
28301 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
28302 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
28303 always_export_symbols_GCJ='`$ECHO "$always_export_symbols_GCJ" | $SED "$delay_single_quote_subst"`'
28304 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
28305 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28306 export_symbols_cmds_F77='`$ECHO "$export_symbols_cmds_F77" | $SED "$delay_single_quote_subst"`'
28307 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
28308 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
28309 export_symbols_cmds_GCJ='`$ECHO "$export_symbols_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
28310 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
28311 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
28312 exclude_expsyms_F77='`$ECHO "$exclude_expsyms_F77" | $SED "$delay_single_quote_subst"`'
28313 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
28314 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
28315 exclude_expsyms_GCJ='`$ECHO "$exclude_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
28316 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
28317 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
28318 include_expsyms_F77='`$ECHO "$include_expsyms_F77" | $SED "$delay_single_quote_subst"`'
28319 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
28320 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
28321 include_expsyms_GCJ='`$ECHO "$include_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
28322 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
28323 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28324 prelink_cmds_F77='`$ECHO "$prelink_cmds_F77" | $SED "$delay_single_quote_subst"`'
28325 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
28326 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
28327 prelink_cmds_GCJ='`$ECHO "$prelink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
28328 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
28329 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
28330 postlink_cmds_F77='`$ECHO "$postlink_cmds_F77" | $SED "$delay_single_quote_subst"`'
28331 postlink_cmds_FC='`$ECHO "$postlink_cmds_FC" | $SED "$delay_single_quote_subst"`'
28332 postlink_cmds_GO='`$ECHO "$postlink_cmds_GO" | $SED "$delay_single_quote_subst"`'
28333 postlink_cmds_GCJ='`$ECHO "$postlink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
28334 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
28335 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
28336 file_list_spec_F77='`$ECHO "$file_list_spec_F77" | $SED "$delay_single_quote_subst"`'
28337 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
28338 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
28339 file_list_spec_GCJ='`$ECHO "$file_list_spec_GCJ" | $SED "$delay_single_quote_subst"`'
28340 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
28341 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
28342 hardcode_action_F77='`$ECHO "$hardcode_action_F77" | $SED "$delay_single_quote_subst"`'
28343 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
28344 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
28345 hardcode_action_GCJ='`$ECHO "$hardcode_action_GCJ" | $SED "$delay_single_quote_subst"`'
28346 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
28347 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
28348 compiler_lib_search_dirs_F77='`$ECHO "$compiler_lib_search_dirs_F77" | $SED "$delay_single_quote_subst"`'
28349 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
28350 compiler_lib_search_dirs_GO='`$ECHO "$compiler_lib_search_dirs_GO" | $SED "$delay_single_quote_subst"`'
28351 compiler_lib_search_dirs_GCJ='`$ECHO "$compiler_lib_search_dirs_GCJ" | $SED "$delay_single_quote_subst"`'
28352 compiler_lib_search_dirs_RC='`$ECHO "$compiler_lib_search_dirs_RC" | $SED "$delay_single_quote_subst"`'
28353 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
28354 predep_objects_F77='`$ECHO "$predep_objects_F77" | $SED "$delay_single_quote_subst"`'
28355 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
28356 predep_objects_GO='`$ECHO "$predep_objects_GO" | $SED "$delay_single_quote_subst"`'
28357 predep_objects_GCJ='`$ECHO "$predep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
28358 predep_objects_RC='`$ECHO "$predep_objects_RC" | $SED "$delay_single_quote_subst"`'
28359 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
28360 postdep_objects_F77='`$ECHO "$postdep_objects_F77" | $SED "$delay_single_quote_subst"`'
28361 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
28362 postdep_objects_GO='`$ECHO "$postdep_objects_GO" | $SED "$delay_single_quote_subst"`'
28363 postdep_objects_GCJ='`$ECHO "$postdep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
28364 postdep_objects_RC='`$ECHO "$postdep_objects_RC" | $SED "$delay_single_quote_subst"`'
28365 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
28366 predeps_F77='`$ECHO "$predeps_F77" | $SED "$delay_single_quote_subst"`'
28367 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
28368 predeps_GO='`$ECHO "$predeps_GO" | $SED "$delay_single_quote_subst"`'
28369 predeps_GCJ='`$ECHO "$predeps_GCJ" | $SED "$delay_single_quote_subst"`'
28370 predeps_RC='`$ECHO "$predeps_RC" | $SED "$delay_single_quote_subst"`'
28371 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
28372 postdeps_F77='`$ECHO "$postdeps_F77" | $SED "$delay_single_quote_subst"`'
28373 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
28374 postdeps_GO='`$ECHO "$postdeps_GO" | $SED "$delay_single_quote_subst"`'
28375 postdeps_GCJ='`$ECHO "$postdeps_GCJ" | $SED "$delay_single_quote_subst"`'
28376 postdeps_RC='`$ECHO "$postdeps_RC" | $SED "$delay_single_quote_subst"`'
28377 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
28378 compiler_lib_search_path_F77='`$ECHO "$compiler_lib_search_path_F77" | $SED "$delay_single_quote_subst"`'
28379 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
28380 compiler_lib_search_path_GO='`$ECHO "$compiler_lib_search_path_GO" | $SED "$delay_single_quote_subst"`'
28381 compiler_lib_search_path_GCJ='`$ECHO "$compiler_lib_search_path_GCJ" | $SED "$delay_single_quote_subst"`'
28382 compiler_lib_search_path_RC='`$ECHO "$compiler_lib_search_path_RC" | $SED "$delay_single_quote_subst"`'
28385 LTCFLAGS='$LTCFLAGS'
28386 compiler='$compiler_DEFAULT'
28388 # A function that is used when there is no print builtin or printf.
28389 func_fallback_echo ()
28391 eval 'cat <<_LTECHO_EOF
28396 # Quote evaled strings.
28413 deplibs_check_method \
28417 sharedlib_from_linklib_cmd \
28420 archiver_list_spec \
28426 lt_cv_sys_global_symbol_pipe \
28427 lt_cv_sys_global_symbol_to_cdecl \
28428 lt_cv_sys_global_symbol_to_c_name_address \
28429 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
28430 nm_file_list_spec \
28431 lt_prog_compiler_no_builtin_flag \
28432 lt_prog_compiler_pic \
28433 lt_prog_compiler_wl \
28434 lt_prog_compiler_static \
28435 lt_cv_prog_compiler_c_o \
28444 export_dynamic_flag_spec \
28445 whole_archive_flag_spec \
28446 compiler_needs_object \
28448 allow_undefined_flag \
28449 no_undefined_flag \
28450 hardcode_libdir_flag_spec \
28451 hardcode_libdir_separator \
28455 variables_saved_for_relink \
28457 library_names_spec \
28459 install_override_mode \
28463 compiler_lib_search_dirs \
28468 compiler_lib_search_path \
28487 lt_prog_compiler_no_builtin_flag_CXX \
28488 lt_prog_compiler_no_builtin_flag_F77 \
28489 lt_prog_compiler_no_builtin_flag_FC \
28490 lt_prog_compiler_no_builtin_flag_GO \
28491 lt_prog_compiler_no_builtin_flag_GCJ \
28492 lt_prog_compiler_no_builtin_flag_RC \
28493 lt_prog_compiler_pic_CXX \
28494 lt_prog_compiler_pic_F77 \
28495 lt_prog_compiler_pic_FC \
28496 lt_prog_compiler_pic_GO \
28497 lt_prog_compiler_pic_GCJ \
28498 lt_prog_compiler_pic_RC \
28499 lt_prog_compiler_wl_CXX \
28500 lt_prog_compiler_wl_F77 \
28501 lt_prog_compiler_wl_FC \
28502 lt_prog_compiler_wl_GO \
28503 lt_prog_compiler_wl_GCJ \
28504 lt_prog_compiler_wl_RC \
28505 lt_prog_compiler_static_CXX \
28506 lt_prog_compiler_static_F77 \
28507 lt_prog_compiler_static_FC \
28508 lt_prog_compiler_static_GO \
28509 lt_prog_compiler_static_GCJ \
28510 lt_prog_compiler_static_RC \
28511 lt_cv_prog_compiler_c_o_CXX \
28512 lt_cv_prog_compiler_c_o_F77 \
28513 lt_cv_prog_compiler_c_o_FC \
28514 lt_cv_prog_compiler_c_o_GO \
28515 lt_cv_prog_compiler_c_o_GCJ \
28516 lt_cv_prog_compiler_c_o_RC \
28517 export_dynamic_flag_spec_CXX \
28518 export_dynamic_flag_spec_F77 \
28519 export_dynamic_flag_spec_FC \
28520 export_dynamic_flag_spec_GO \
28521 export_dynamic_flag_spec_GCJ \
28522 export_dynamic_flag_spec_RC \
28523 whole_archive_flag_spec_CXX \
28524 whole_archive_flag_spec_F77 \
28525 whole_archive_flag_spec_FC \
28526 whole_archive_flag_spec_GO \
28527 whole_archive_flag_spec_GCJ \
28528 whole_archive_flag_spec_RC \
28529 compiler_needs_object_CXX \
28530 compiler_needs_object_F77 \
28531 compiler_needs_object_FC \
28532 compiler_needs_object_GO \
28533 compiler_needs_object_GCJ \
28534 compiler_needs_object_RC \
28541 allow_undefined_flag_CXX \
28542 allow_undefined_flag_F77 \
28543 allow_undefined_flag_FC \
28544 allow_undefined_flag_GO \
28545 allow_undefined_flag_GCJ \
28546 allow_undefined_flag_RC \
28547 no_undefined_flag_CXX \
28548 no_undefined_flag_F77 \
28549 no_undefined_flag_FC \
28550 no_undefined_flag_GO \
28551 no_undefined_flag_GCJ \
28552 no_undefined_flag_RC \
28553 hardcode_libdir_flag_spec_CXX \
28554 hardcode_libdir_flag_spec_F77 \
28555 hardcode_libdir_flag_spec_FC \
28556 hardcode_libdir_flag_spec_GO \
28557 hardcode_libdir_flag_spec_GCJ \
28558 hardcode_libdir_flag_spec_RC \
28559 hardcode_libdir_separator_CXX \
28560 hardcode_libdir_separator_F77 \
28561 hardcode_libdir_separator_FC \
28562 hardcode_libdir_separator_GO \
28563 hardcode_libdir_separator_GCJ \
28564 hardcode_libdir_separator_RC \
28565 exclude_expsyms_CXX \
28566 exclude_expsyms_F77 \
28567 exclude_expsyms_FC \
28568 exclude_expsyms_GO \
28569 exclude_expsyms_GCJ \
28570 exclude_expsyms_RC \
28571 include_expsyms_CXX \
28572 include_expsyms_F77 \
28573 include_expsyms_FC \
28574 include_expsyms_GO \
28575 include_expsyms_GCJ \
28576 include_expsyms_RC \
28577 file_list_spec_CXX \
28578 file_list_spec_F77 \
28579 file_list_spec_FC \
28580 file_list_spec_GO \
28581 file_list_spec_GCJ \
28582 file_list_spec_RC \
28583 compiler_lib_search_dirs_CXX \
28584 compiler_lib_search_dirs_F77 \
28585 compiler_lib_search_dirs_FC \
28586 compiler_lib_search_dirs_GO \
28587 compiler_lib_search_dirs_GCJ \
28588 compiler_lib_search_dirs_RC \
28589 predep_objects_CXX \
28590 predep_objects_F77 \
28591 predep_objects_FC \
28592 predep_objects_GO \
28593 predep_objects_GCJ \
28594 predep_objects_RC \
28595 postdep_objects_CXX \
28596 postdep_objects_F77 \
28597 postdep_objects_FC \
28598 postdep_objects_GO \
28599 postdep_objects_GCJ \
28600 postdep_objects_RC \
28613 compiler_lib_search_path_CXX \
28614 compiler_lib_search_path_F77 \
28615 compiler_lib_search_path_FC \
28616 compiler_lib_search_path_GO \
28617 compiler_lib_search_path_GCJ \
28618 compiler_lib_search_path_RC; do
28619 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28620 *[\\\\\\\`\\"\\\$]*)
28621 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
28624 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28629 # Double-quote double-evaled strings.
28630 for var in reload_cmds \
28631 old_postinstall_cmds \
28632 old_postuninstall_cmds \
28634 extract_expsyms_cmds \
28635 old_archive_from_new_cmds \
28636 old_archive_from_expsyms_cmds \
28638 archive_expsym_cmds \
28640 module_expsym_cmds \
28641 export_symbols_cmds \
28645 postuninstall_cmds \
28647 sys_lib_search_path_spec \
28648 sys_lib_dlsearch_path_spec \
28655 old_archive_cmds_CXX \
28656 old_archive_cmds_F77 \
28657 old_archive_cmds_FC \
28658 old_archive_cmds_GO \
28659 old_archive_cmds_GCJ \
28660 old_archive_cmds_RC \
28661 old_archive_from_new_cmds_CXX \
28662 old_archive_from_new_cmds_F77 \
28663 old_archive_from_new_cmds_FC \
28664 old_archive_from_new_cmds_GO \
28665 old_archive_from_new_cmds_GCJ \
28666 old_archive_from_new_cmds_RC \
28667 old_archive_from_expsyms_cmds_CXX \
28668 old_archive_from_expsyms_cmds_F77 \
28669 old_archive_from_expsyms_cmds_FC \
28670 old_archive_from_expsyms_cmds_GO \
28671 old_archive_from_expsyms_cmds_GCJ \
28672 old_archive_from_expsyms_cmds_RC \
28679 archive_expsym_cmds_CXX \
28680 archive_expsym_cmds_F77 \
28681 archive_expsym_cmds_FC \
28682 archive_expsym_cmds_GO \
28683 archive_expsym_cmds_GCJ \
28684 archive_expsym_cmds_RC \
28691 module_expsym_cmds_CXX \
28692 module_expsym_cmds_F77 \
28693 module_expsym_cmds_FC \
28694 module_expsym_cmds_GO \
28695 module_expsym_cmds_GCJ \
28696 module_expsym_cmds_RC \
28697 export_symbols_cmds_CXX \
28698 export_symbols_cmds_F77 \
28699 export_symbols_cmds_FC \
28700 export_symbols_cmds_GO \
28701 export_symbols_cmds_GCJ \
28702 export_symbols_cmds_RC \
28709 postlink_cmds_CXX \
28710 postlink_cmds_F77 \
28713 postlink_cmds_GCJ \
28714 postlink_cmds_RC; do
28715 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28716 *[\\\\\\\`\\"\\\$]*)
28717 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
28720 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28725 ac_aux_dir='$ac_aux_dir'
28726 xsi_shell='$xsi_shell'
28727 lt_shell_append='$lt_shell_append'
28729 # See if we are running on zsh, and set the options which allow our
28730 # commands through without removal of \ escapes INIT.
28731 if test -n "\${ZSH_VERSION+set}" ; then
28732 setopt NO_GLOB_SUBST
28738 TIMESTAMP='$TIMESTAMP'
28759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28761 # Handling of arguments.
28762 for ac_config_target in $ac_config_targets
28764 case $ac_config_target in
28765 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
28766 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
28767 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28768 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28769 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28771 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28776 # If the user did not use the arguments to specify the items to instantiate,
28777 # then the envvar interface is used. Set only those that are not.
28778 # We use the long form for the default assignment because of an extremely
28779 # bizarre bug on SunOS 4.1.3.
28780 if $ac_need_defaults; then
28781 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28782 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28783 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28786 # Have a temporary directory for convenience. Make it in the build tree
28787 # simply because there is no reason against having it here, and in addition,
28788 # creating and moving files from /tmp can sometimes cause problems.
28789 # Hook for its removal unless debugging.
28790 # Note that there is a small window in which the directory will not be cleaned:
28791 # after its creation but before its name has been assigned to `$tmp'.
28795 trap 'exit_status=$?
28796 : "${ac_tmp:=$tmp}"
28797 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28799 trap 'as_fn_exit 1' 1 2 13 15
28801 # Create a (secure) tmp directory for tmp files.
28804 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28808 tmp=./conf$$-$RANDOM
28809 (umask 077 && mkdir "$tmp")
28810 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28813 # Set up the scripts for CONFIG_FILES section.
28814 # No need to generate them if there are no CONFIG_FILES.
28815 # This happens for instance with `./config.status config.h'.
28816 if test -n "$CONFIG_FILES"; then
28819 ac_cr=`echo X | tr X '\015'`
28820 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28821 # But we know of no other shell where ac_cr would be empty at this
28822 # point, so we can use a bashism as a fallback.
28823 if test "x$ac_cr" = x; then
28824 eval ac_cr=\$\'\\r\'
28826 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28827 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28830 ac_cs_awk_cr=$ac_cr
28833 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28838 echo "cat >conf$$subs.awk <<_ACEOF" &&
28839 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28841 } >conf$$subs.sh ||
28842 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28843 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28845 for ac_last_try in false false false false false :; do
28846 . ./conf$$subs.sh ||
28847 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28849 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28850 if test $ac_delim_n = $ac_delim_num; then
28852 elif $ac_last_try; then
28853 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28855 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28858 rm -f conf$$subs.sh
28860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28861 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28865 s/^/S["/; s/!.*/"]=/
28875 s/\(.\{148\}\)..*/\1/
28877 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28882 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28889 s/\(.\{148\}\)..*/\1/
28891 s/["\\]/\\&/g; s/^/"/; s/$/"/
28895 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28900 ' <conf$$subs.awk | sed '
28905 ' >>$CONFIG_STATUS || ac_write_fail=1
28906 rm -f conf$$subs.awk
28907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28909 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28910 for (key in S) S_is_set[key] = 1
28916 nfields = split(line, field, "@")
28918 len = length(field[1])
28919 for (i = 2; i < nfields; i++) {
28921 keylen = length(key)
28922 if (S_is_set[key]) {
28924 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28925 len += length(value) + length(field[++i])
28936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28937 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28938 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28941 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28942 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28945 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28946 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28947 # trailing colons and then remove the whole line if VPATH becomes empty
28948 # (actually we leave an empty line to preserve line numbers).
28949 if test "x$srcdir" = x.; then
28950 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28969 fi # test -n "$CONFIG_FILES"
28971 # Set up the scripts for CONFIG_HEADERS section.
28972 # No need to generate them if there are no CONFIG_HEADERS.
28973 # This happens for instance with `./config.status Makefile'.
28974 if test -n "$CONFIG_HEADERS"; then
28975 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
28979 # Transform confdefs.h into an awk script `defines.awk', embedded as
28980 # here-document in config.status, that substitutes the proper values into
28981 # config.h.in to produce config.h.
28983 # Create a delimiter string that does not exist in confdefs.h, to ease
28984 # handling of long lines.
28986 for ac_last_try in false false :; do
28987 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
28988 if test -z "$ac_tt"; then
28990 elif $ac_last_try; then
28991 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
28993 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28997 # For the awk script, D is an array of macro values keyed by name,
28998 # likewise P contains macro parameters if any. Preserve backslash
28999 # newline sequences.
29001 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29003 s/.\{148\}/&'"$ac_delim"'/g
29006 s/^[ ]*#[ ]*define[ ][ ]*/ /
29013 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
29015 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
29019 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
29020 D["\1"]=" \3\\\\\\n"\\/p
29022 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
29027 s/.\{148\}/&'"$ac_delim"'/g
29032 s/["\\]/\\&/g; s/^/"/; s/$/"/p
29035 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
29037 ' <confdefs.h | sed '
29038 s/'"$ac_delim"'/"\\\
29039 "/g' >>$CONFIG_STATUS || ac_write_fail=1
29041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29042 for (key in D) D_is_set[key] = 1
29045 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
29047 split(line, arg, " ")
29048 if (arg[1] == "#") {
29052 defundef = substr(arg[1], 2)
29055 split(mac1, mac2, "(") #)
29057 prefix = substr(line, 1, index(line, defundef) - 1)
29058 if (D_is_set[macro]) {
29059 # Preserve the white space surrounding the "#".
29060 print prefix "define", macro P[macro] D[macro]
29063 # Replace #undef with comments. This is necessary, for example,
29064 # in the case of _POSIX_SOURCE, which is predefined and required
29065 # on some systems where configure will not decide to define it.
29066 if (defundef == "undef") {
29067 print "/*", prefix defundef, macro, "*/"
29075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29076 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
29077 fi # test -n "$CONFIG_HEADERS"
29080 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
29085 :[FHLC]) ac_mode=$ac_tag; continue;;
29087 case $ac_mode$ac_tag in
29089 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
29090 :[FH]-) ac_tag=-:-;;
29091 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29108 -) ac_f="$ac_tmp/stdin";;
29109 *) # Look for the file first in the build tree, then in the source tree
29110 # (if the path is not absolute). The absolute path cannot be DOS-style,
29111 # because $ac_f cannot contain `:'.
29115 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29117 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
29119 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
29120 as_fn_append ac_file_inputs " '$ac_f'"
29123 # Let's still pretend it is `configure' which instantiates (i.e., don't
29124 # use $as_me), people would be surprised to read:
29125 # /* config.h. Generated by config.status. */
29126 configure_input='Generated from '`
29127 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
29129 if test x"$ac_file" != x-; then
29130 configure_input="$ac_file. $configure_input"
29131 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
29132 $as_echo "$as_me: creating $ac_file" >&6;}
29134 # Neutralize special characters interpreted by sed in replacement strings.
29135 case $configure_input in #(
29136 *\&* | *\|* | *\\* )
29137 ac_sed_conf_input=`$as_echo "$configure_input" |
29138 sed 's/[\\\\&|]/\\\\&/g'`;; #(
29139 *) ac_sed_conf_input=$configure_input;;
29143 *:-:* | *:-) cat >"$ac_tmp/stdin" \
29144 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
29149 ac_dir=`$as_dirname -- "$ac_file" ||
29150 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29151 X"$ac_file" : 'X\(//\)[^/]' \| \
29152 X"$ac_file" : 'X\(//\)$' \| \
29153 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29154 $as_echo X"$ac_file" |
29155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29159 /^X\(\/\/\)[^/].*/{
29172 as_dir="$ac_dir"; as_fn_mkdir_p
29176 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29178 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
29179 # A ".." for each directory in $ac_dir_suffix.
29180 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
29181 case $ac_top_builddir_sub in
29182 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29183 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29186 ac_abs_top_builddir=$ac_pwd
29187 ac_abs_builddir=$ac_pwd$ac_dir_suffix
29188 # for backward compatibility:
29189 ac_top_builddir=$ac_top_build_prefix
29192 .) # We are building in place.
29194 ac_top_srcdir=$ac_top_builddir_sub
29195 ac_abs_top_srcdir=$ac_pwd ;;
29196 [\\/]* | ?:[\\/]* ) # Absolute name.
29197 ac_srcdir=$srcdir$ac_dir_suffix;
29198 ac_top_srcdir=$srcdir
29199 ac_abs_top_srcdir=$srcdir ;;
29200 *) # Relative name.
29201 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29202 ac_top_srcdir=$ac_top_build_prefix$srcdir
29203 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29205 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29215 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29216 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
29218 ac_MKDIR_P=$MKDIR_P
29220 [\\/$]* | ?:[\\/]* ) ;;
29221 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
29225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29226 # If the template does not know about datarootdir, expand it.
29227 # FIXME: This hack should be removed a few years after 2.60.
29228 ac_datarootdir_hack=; ac_datarootdir_seen=
29239 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
29240 *datarootdir*) ac_datarootdir_seen=yes;;
29241 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29243 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29246 ac_datarootdir_hack='
29247 s&@datadir@&$datadir&g
29248 s&@docdir@&$docdir&g
29249 s&@infodir@&$infodir&g
29250 s&@localedir@&$localedir&g
29251 s&@mandir@&$mandir&g
29252 s&\\\${datarootdir}&$datarootdir&g' ;;
29256 # Neutralize VPATH when `$srcdir' = `.'.
29257 # Shell code in configure.ac might set extrasub.
29258 # FIXME: do we really want to maintain this feature?
29259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29260 ac_sed_extra="$ac_vpsub
29263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29265 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29266 s|@configure_input@|$ac_sed_conf_input|;t t
29267 s&@top_builddir@&$ac_top_builddir_sub&;t t
29268 s&@top_build_prefix@&$ac_top_build_prefix&;t t
29269 s&@srcdir@&$ac_srcdir&;t t
29270 s&@abs_srcdir@&$ac_abs_srcdir&;t t
29271 s&@top_srcdir@&$ac_top_srcdir&;t t
29272 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
29273 s&@builddir@&$ac_builddir&;t t
29274 s&@abs_builddir@&$ac_abs_builddir&;t t
29275 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29276 s&@INSTALL@&$ac_INSTALL&;t t
29277 s&@MKDIR_P@&$ac_MKDIR_P&;t t
29278 $ac_datarootdir_hack
29280 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
29281 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29283 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29284 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
29285 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
29286 "$ac_tmp/out"`; test -z "$ac_out"; } &&
29287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29288 which seems to be undefined. Please make sure it is defined" >&5
29289 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29290 which seems to be undefined. Please make sure it is defined" >&2;}
29292 rm -f "$ac_tmp/stdin"
29294 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
29295 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
29297 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29303 if test x"$ac_file" != x-; then
29305 $as_echo "/* $configure_input */" \
29306 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
29307 } >"$ac_tmp/config.h" \
29308 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29309 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
29310 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
29311 $as_echo "$as_me: $ac_file is unchanged" >&6;}
29314 mv "$ac_tmp/config.h" "$ac_file" \
29315 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29318 $as_echo "/* $configure_input */" \
29319 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
29320 || as_fn_error $? "could not create -" "$LINENO" 5
29322 # Compute "$ac_file"'s index in $config_headers.
29325 for _am_header in $config_headers :; do
29326 case $_am_header in
29327 $_am_arg | $_am_arg:* )
29330 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29333 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
29334 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29335 X"$_am_arg" : 'X\(//\)[^/]' \| \
29336 X"$_am_arg" : 'X\(//\)$' \| \
29337 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
29338 $as_echo X"$_am_arg" |
29339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29343 /^X\(\/\/\)[^/].*/{
29355 s/.*/./; q'`/stamp-h$_am_stamp_count
29358 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
29359 $as_echo "$as_me: executing $ac_file commands" >&6;}
29364 case $ac_file$ac_mode in
29365 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
29366 # Configurable variable values for building test suites.
29368 # Copyright (C) 2010 Free Software Foundation, Inc.
29370 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
29372 abs_builddir='$ac_abs_builddir'
29373 at_srcdir='$ac_srcdir'
29374 abs_srcdir='$ac_abs_srcdir'
29375 at_top_srcdir='$ac_top_srcdir'
29376 abs_top_srcdir='$ac_abs_top_srcdir'
29377 at_top_build_prefix='$ac_top_build_prefix'
29378 abs_top_builddir='$ac_abs_top_builddir'
29380 # Backward compatibility with Autotest <= 2.59b:
29381 at_top_builddir=\$at_top_build_prefix
29383 AUTOTEST_PATH='tests'
29385 SHELL=\${CONFIG_SHELL-'$SHELL'}
29388 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
29389 # Autoconf 2.62 quotes --file arguments for eval, but not when files
29390 # are listed without --file. Let's play safe and only enable the eval
29391 # if we detect the quoting.
29392 case $CONFIG_FILES in
29393 *\'*) eval set x "$CONFIG_FILES" ;;
29394 *) set x $CONFIG_FILES ;;
29399 # Strip MF so we end up with the name of the file.
29400 mf=`echo "$mf" | sed -e 's/:.*$//'`
29401 # Check whether this is an Automake generated Makefile or not.
29402 # We used to match only the files named `Makefile.in', but
29403 # some people rename them; so instead we look at the file content.
29404 # Grep'ing the first line is not enough: some people post-process
29405 # each Makefile.in and add a new line on top of each file to say so.
29406 # Grep'ing the whole file is not good either: AIX grep has a line
29407 # limit of 2048, but all sed's we know have understand at least 4000.
29408 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
29409 dirpart=`$as_dirname -- "$mf" ||
29410 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29411 X"$mf" : 'X\(//\)[^/]' \| \
29412 X"$mf" : 'X\(//\)$' \| \
29413 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29419 /^X\(\/\/\)[^/].*/{
29435 # Extract the definition of DEPDIR, am__include, and am__quote
29436 # from the Makefile without running `make'.
29437 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29438 test -z "$DEPDIR" && continue
29439 am__include=`sed -n 's/^am__include = //p' < "$mf"`
29440 test -z "am__include" && continue
29441 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29442 # When using ansi2knr, U may be empty or an underscore; expand it
29443 U=`sed -n 's/^U = //p' < "$mf"`
29444 # Find all dependency output files, they are included files with
29445 # $(DEPDIR) in their names. We invoke sed twice because it is the
29446 # simplest approach to changing $(DEPDIR) to its actual value in the
29448 for file in `sed -n "
29449 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29450 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
29451 # Make sure the directory exists.
29452 test -f "$dirpart/$file" && continue
29453 fdir=`$as_dirname -- "$file" ||
29454 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29455 X"$file" : 'X\(//\)[^/]' \| \
29456 X"$file" : 'X\(//\)$' \| \
29457 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29458 $as_echo X"$file" |
29459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29463 /^X\(\/\/\)[^/].*/{
29476 as_dir=$dirpart/$fdir; as_fn_mkdir_p
29477 # echo "creating $dirpart/$file"
29478 echo '# dummy' > "$dirpart/$file"
29485 # See if we are running on zsh, and set the options which allow our
29486 # commands through without removal of \ escapes.
29487 if test -n "${ZSH_VERSION+set}" ; then
29488 setopt NO_GLOB_SUBST
29491 cfgfile="${ofile}T"
29492 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
29495 cat <<_LT_EOF >> "$cfgfile"
29498 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
29499 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
29500 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
29501 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
29503 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
29504 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
29506 # Written by Gordon Matzigkeit, 1996
29508 # This file is part of GNU Libtool.
29510 # GNU Libtool is free software; you can redistribute it and/or
29511 # modify it under the terms of the GNU General Public License as
29512 # published by the Free Software Foundation; either version 2 of
29513 # the License, or (at your option) any later version.
29515 # As a special exception to the GNU General Public License,
29516 # if you distribute this file as part of a program or library that
29517 # is built using GNU Libtool, you may include this file under the
29518 # same distribution terms that you use for the rest of that program.
29520 # GNU Libtool is distributed in the hope that it will be useful,
29521 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29522 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29523 # GNU General Public License for more details.
29525 # You should have received a copy of the GNU General Public License
29526 # along with GNU Libtool; see the file COPYING. If not, a copy
29527 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
29528 # obtained by writing to the Free Software Foundation, Inc.,
29529 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29532 # The names of the tagged configurations supported by this script.
29533 available_tags="CXX F77 FC GO GCJ RC "
29535 # ### BEGIN LIBTOOL CONFIG
29537 # Which release of libtool.m4 was used?
29538 macro_version=$macro_version
29539 macro_revision=$macro_revision
29541 # Assembler program.
29544 # DLL creation program.
29545 DLLTOOL=$lt_DLLTOOL
29547 # Object dumper program.
29548 OBJDUMP=$lt_OBJDUMP
29550 # Whether or not to build shared libraries.
29551 build_libtool_libs=$enable_shared
29553 # Whether or not to build static libraries.
29554 build_old_libs=$enable_static
29556 # What type of objects to build.
29559 # Whether or not to optimize for fast installation.
29560 fast_install=$enable_fast_install
29562 # Shell to use when invoking shell scripts.
29565 # An echo program that protects backslashes.
29568 # The PATH separator for the build system.
29569 PATH_SEPARATOR=$lt_PATH_SEPARATOR
29572 host_alias=$host_alias
29576 # The build system.
29577 build_alias=$build_alias
29581 # A sed program that does not truncate output.
29584 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
29585 Xsed="\$SED -e 1s/^X//"
29587 # A grep program that handles long lines.
29593 # A literal string matcher.
29596 # A BSD- or MS-compatible name lister.
29599 # Whether we need soft or hard links.
29602 # What is the maximum length of a command?
29603 max_cmd_len=$max_cmd_len
29605 # Object file suffix (normally "o").
29608 # Executable file suffix (normally "").
29611 # whether the shell understands "unset".
29614 # turn spaces into newlines.
29617 # turn newlines into spaces.
29620 # convert \$build file names to \$host format.
29621 to_host_file_cmd=$lt_cv_to_host_file_cmd
29623 # convert \$build files to toolchain format.
29624 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
29626 # Method to check whether dependent libraries are shared objects.
29627 deplibs_check_method=$lt_deplibs_check_method
29629 # Command to use when deplibs_check_method = "file_magic".
29630 file_magic_cmd=$lt_file_magic_cmd
29632 # How to find potential files when deplibs_check_method = "file_magic".
29633 file_magic_glob=$lt_file_magic_glob
29635 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
29636 want_nocaseglob=$lt_want_nocaseglob
29638 # Command to associate shared and link libraries.
29639 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
29644 # Flags to create an archive.
29645 AR_FLAGS=$lt_AR_FLAGS
29647 # How to feed a file listing to the archiver.
29648 archiver_list_spec=$lt_archiver_list_spec
29650 # A symbol stripping program.
29653 # Commands used to install an old-style archive.
29655 old_postinstall_cmds=$lt_old_postinstall_cmds
29656 old_postuninstall_cmds=$lt_old_postuninstall_cmds
29658 # Whether to use a lock for old archive extraction.
29659 lock_old_archive_extraction=$lock_old_archive_extraction
29664 # LTCC compiler flags.
29665 LTCFLAGS=$lt_CFLAGS
29667 # Take the output of nm and produce a listing of raw symbols and C names.
29668 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29670 # Transform the output of nm in a proper C declaration.
29671 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29673 # Transform the output of nm in a C name address pair.
29674 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29676 # Transform the output of nm in a C name address pair when lib prefix is needed.
29677 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
29679 # Specify filename containing input files for \$NM.
29680 nm_file_list_spec=$lt_nm_file_list_spec
29682 # The root where to search for dependent libraries,and in which our libraries should be installed.
29683 lt_sysroot=$lt_sysroot
29685 # The name of the directory that contains temporary libtool files.
29688 # Used to examine libraries when file_magic_cmd begins with "file".
29689 MAGIC_CMD=$MAGIC_CMD
29691 # Must we lock files when doing compilation?
29692 need_locks=$lt_need_locks
29695 MANIFEST_TOOL=$lt_MANIFEST_TOOL
29697 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
29698 DSYMUTIL=$lt_DSYMUTIL
29700 # Tool to change global to local symbols on Mac OS X.
29703 # Tool to manipulate fat objects and archives on Mac OS X.
29706 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
29709 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29710 OTOOL64=$lt_OTOOL64
29712 # Old archive suffix (normally "a").
29715 # Shared library suffix (normally ".so").
29716 shrext_cmds=$lt_shrext_cmds
29718 # The commands to extract the exported symbol list from a shared archive.
29719 extract_expsyms_cmds=$lt_extract_expsyms_cmds
29721 # Variables whose values should be saved in libtool wrapper scripts and
29722 # restored at link time.
29723 variables_saved_for_relink=$lt_variables_saved_for_relink
29725 # Do we need the "lib" prefix for modules?
29726 need_lib_prefix=$need_lib_prefix
29728 # Do we need a version for libraries?
29729 need_version=$need_version
29731 # Library versioning type.
29732 version_type=$version_type
29734 # Shared library runtime path variable.
29735 runpath_var=$runpath_var
29737 # Shared library path variable.
29738 shlibpath_var=$shlibpath_var
29740 # Is shlibpath searched before the hard-coded library search path?
29741 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29743 # Format of library name prefix.
29744 libname_spec=$lt_libname_spec
29746 # List of archive names. First name is the real one, the rest are links.
29747 # The last name is the one that the linker finds with -lNAME
29748 library_names_spec=$lt_library_names_spec
29750 # The coded name of the library, if different from the real name.
29751 soname_spec=$lt_soname_spec
29753 # Permission mode override for installation of shared libraries.
29754 install_override_mode=$lt_install_override_mode
29756 # Command to use after installation of a shared archive.
29757 postinstall_cmds=$lt_postinstall_cmds
29759 # Command to use after uninstallation of a shared archive.
29760 postuninstall_cmds=$lt_postuninstall_cmds
29762 # Commands used to finish a libtool library installation in a directory.
29763 finish_cmds=$lt_finish_cmds
29765 # As "finish_cmds", except a single script fragment to be evaled but
29767 finish_eval=$lt_finish_eval
29769 # Whether we should hardcode library paths into libraries.
29770 hardcode_into_libs=$hardcode_into_libs
29772 # Compile-time system search path for libraries.
29773 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29775 # Run-time system search path for libraries.
29776 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29778 # Whether dlopen is supported.
29779 dlopen_support=$enable_dlopen
29781 # Whether dlopen of programs is supported.
29782 dlopen_self=$enable_dlopen_self
29784 # Whether dlopen of statically linked programs is supported.
29785 dlopen_self_static=$enable_dlopen_self_static
29787 # Commands to strip libraries.
29788 old_striplib=$lt_old_striplib
29789 striplib=$lt_striplib
29792 # The linker used to build libraries.
29795 # How to create reloadable object files.
29796 reload_flag=$lt_reload_flag
29797 reload_cmds=$lt_reload_cmds
29799 # Commands used to build an old-style archive.
29800 old_archive_cmds=$lt_old_archive_cmds
29802 # A language specific compiler.
29805 # Is the compiler the GNU compiler?
29808 # Compiler flag to turn off builtin functions.
29809 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29811 # Additional compiler flags for building library objects.
29812 pic_flag=$lt_lt_prog_compiler_pic
29814 # How to pass a linker flag through the compiler.
29815 wl=$lt_lt_prog_compiler_wl
29817 # Compiler flag to prevent dynamic linking.
29818 link_static_flag=$lt_lt_prog_compiler_static
29820 # Does compiler simultaneously support -c and -o options?
29821 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29823 # Whether or not to add -lc for building shared libraries.
29824 build_libtool_need_lc=$archive_cmds_need_lc
29826 # Whether or not to disallow shared libs when runtime libs are static.
29827 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29829 # Compiler flag to allow reflexive dlopens.
29830 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29832 # Compiler flag to generate shared objects directly from archives.
29833 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29835 # Whether the compiler copes with passing no objects directly.
29836 compiler_needs_object=$lt_compiler_needs_object
29838 # Create an old-style archive from a shared archive.
29839 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29841 # Create a temporary old-style archive to link instead of a shared archive.
29842 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29844 # Commands used to build a shared archive.
29845 archive_cmds=$lt_archive_cmds
29846 archive_expsym_cmds=$lt_archive_expsym_cmds
29848 # Commands used to build a loadable module if different from building
29849 # a shared archive.
29850 module_cmds=$lt_module_cmds
29851 module_expsym_cmds=$lt_module_expsym_cmds
29853 # Whether we are building with GNU ld or not.
29854 with_gnu_ld=$lt_with_gnu_ld
29856 # Flag that allows shared libraries with undefined symbols to be built.
29857 allow_undefined_flag=$lt_allow_undefined_flag
29859 # Flag that enforces no undefined symbols.
29860 no_undefined_flag=$lt_no_undefined_flag
29862 # Flag to hardcode \$libdir into a binary during linking.
29863 # This must work even if \$libdir does not exist
29864 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29866 # Whether we need a single "-rpath" flag with a separated argument.
29867 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29869 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29870 # DIR into the resulting binary.
29871 hardcode_direct=$hardcode_direct
29873 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29874 # DIR into the resulting binary and the resulting library dependency is
29875 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29876 # library is relocated.
29877 hardcode_direct_absolute=$hardcode_direct_absolute
29879 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29880 # into the resulting binary.
29881 hardcode_minus_L=$hardcode_minus_L
29883 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29884 # into the resulting binary.
29885 hardcode_shlibpath_var=$hardcode_shlibpath_var
29887 # Set to "yes" if building a shared library automatically hardcodes DIR
29888 # into the library and all subsequent libraries and executables linked
29890 hardcode_automatic=$hardcode_automatic
29892 # Set to yes if linker adds runtime paths of dependent libraries
29893 # to runtime path list.
29894 inherit_rpath=$inherit_rpath
29896 # Whether libtool must link a program against all its dependency libraries.
29897 link_all_deplibs=$link_all_deplibs
29899 # Set to "yes" if exported symbols are required.
29900 always_export_symbols=$always_export_symbols
29902 # The commands to list exported symbols.
29903 export_symbols_cmds=$lt_export_symbols_cmds
29905 # Symbols that should not be listed in the preloaded symbols.
29906 exclude_expsyms=$lt_exclude_expsyms
29908 # Symbols that must always be exported.
29909 include_expsyms=$lt_include_expsyms
29911 # Commands necessary for linking programs (against libraries) with templates.
29912 prelink_cmds=$lt_prelink_cmds
29914 # Commands necessary for finishing linking programs.
29915 postlink_cmds=$lt_postlink_cmds
29917 # Specify filename containing input files.
29918 file_list_spec=$lt_file_list_spec
29920 # How to hardcode a shared library path into an executable.
29921 hardcode_action=$hardcode_action
29923 # The directories searched by this compiler when creating a shared library.
29924 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29926 # Dependencies to place before and after the objects being linked to
29927 # create a shared library.
29928 predep_objects=$lt_predep_objects
29929 postdep_objects=$lt_postdep_objects
29930 predeps=$lt_predeps
29931 postdeps=$lt_postdeps
29933 # The library search path used internally by the compiler when linking
29934 # a shared library.
29935 compiler_lib_search_path=$lt_compiler_lib_search_path
29937 # ### END LIBTOOL CONFIG
29943 cat <<\_LT_EOF >> "$cfgfile"
29944 # AIX sometimes has problems with the GCC collect2 program. For some
29945 # reason, if we set the COLLECT_NAMES environment variable, the problems
29946 # vanish in a puff of smoke.
29947 if test "X${COLLECT_NAMES+set}" != Xset; then
29949 export COLLECT_NAMES
29956 ltmain="$ac_aux_dir/ltmain.sh"
29959 # We use sed instead of cat because bash on DJGPP gets confused if
29960 # if finds mixed CR/LF and LF-only lines. Since sed operates in
29961 # text mode, it properly converts lines to CR/LF. This bash problem
29962 # is reportedly fixed, but why not run on old versions too?
29963 sed '$q' "$ltmain" >> "$cfgfile" \
29964 || (rm -f "$cfgfile"; exit 1)
29966 if test x"$xsi_shell" = xyes; then
29967 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
29971 \ */*) func_dirname_result="${1%/*}${2}" ;;\
29972 \ * ) func_dirname_result="${3}" ;;\
29974 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
29975 && mv -f "$cfgfile.tmp" "$cfgfile" \
29976 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29977 test 0 -eq $? || _lt_function_replace_fail=:
29980 sed -e '/^func_basename ()$/,/^} # func_basename /c\
29983 \ func_basename_result="${1##*/}"\
29984 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
29985 && mv -f "$cfgfile.tmp" "$cfgfile" \
29986 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29987 test 0 -eq $? || _lt_function_replace_fail=:
29990 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
29991 func_dirname_and_basename ()\
29994 \ */*) func_dirname_result="${1%/*}${2}" ;;\
29995 \ * ) func_dirname_result="${3}" ;;\
29997 \ func_basename_result="${1##*/}"\
29998 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
29999 && mv -f "$cfgfile.tmp" "$cfgfile" \
30000 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30001 test 0 -eq $? || _lt_function_replace_fail=:
30004 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
30007 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
30008 \ # positional parameters, so assign one to ordinary parameter first.\
30009 \ func_stripname_result=${3}\
30010 \ func_stripname_result=${func_stripname_result#"${1}"}\
30011 \ func_stripname_result=${func_stripname_result%"${2}"}\
30012 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
30013 && mv -f "$cfgfile.tmp" "$cfgfile" \
30014 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30015 test 0 -eq $? || _lt_function_replace_fail=:
30018 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
30019 func_split_long_opt ()\
30021 \ func_split_long_opt_name=${1%%=*}\
30022 \ func_split_long_opt_arg=${1#*=}\
30023 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
30024 && mv -f "$cfgfile.tmp" "$cfgfile" \
30025 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30026 test 0 -eq $? || _lt_function_replace_fail=:
30029 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
30030 func_split_short_opt ()\
30032 \ func_split_short_opt_arg=${1#??}\
30033 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
30034 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
30035 && mv -f "$cfgfile.tmp" "$cfgfile" \
30036 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30037 test 0 -eq $? || _lt_function_replace_fail=:
30040 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
30044 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
30045 \ *) func_lo2o_result=${1} ;;\
30047 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
30048 && mv -f "$cfgfile.tmp" "$cfgfile" \
30049 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30050 test 0 -eq $? || _lt_function_replace_fail=:
30053 sed -e '/^func_xform ()$/,/^} # func_xform /c\
30056 func_xform_result=${1%.*}.lo\
30057 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
30058 && mv -f "$cfgfile.tmp" "$cfgfile" \
30059 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30060 test 0 -eq $? || _lt_function_replace_fail=:
30063 sed -e '/^func_arith ()$/,/^} # func_arith /c\
30066 func_arith_result=$(( $* ))\
30067 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
30068 && mv -f "$cfgfile.tmp" "$cfgfile" \
30069 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30070 test 0 -eq $? || _lt_function_replace_fail=:
30073 sed -e '/^func_len ()$/,/^} # func_len /c\
30076 func_len_result=${#1}\
30077 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
30078 && mv -f "$cfgfile.tmp" "$cfgfile" \
30079 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30080 test 0 -eq $? || _lt_function_replace_fail=:
30084 if test x"$lt_shell_append" = xyes; then
30085 sed -e '/^func_append ()$/,/^} # func_append /c\
30088 eval "${1}+=\\${2}"\
30089 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
30090 && mv -f "$cfgfile.tmp" "$cfgfile" \
30091 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30092 test 0 -eq $? || _lt_function_replace_fail=:
30095 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
30096 func_append_quoted ()\
30098 \ func_quote_for_eval "${2}"\
30099 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
30100 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
30101 && mv -f "$cfgfile.tmp" "$cfgfile" \
30102 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30103 test 0 -eq $? || _lt_function_replace_fail=:
30106 # Save a `func_append' function call where possible by direct use of '+='
30107 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
30108 && mv -f "$cfgfile.tmp" "$cfgfile" \
30109 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30110 test 0 -eq $? || _lt_function_replace_fail=:
30112 # Save a `func_append' function call even when '+=' is not available
30113 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
30114 && mv -f "$cfgfile.tmp" "$cfgfile" \
30115 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
30116 test 0 -eq $? || _lt_function_replace_fail=:
30119 if test x"$_lt_function_replace_fail" = x":"; then
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
30121 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
30125 mv -f "$cfgfile" "$ofile" ||
30126 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30130 cat <<_LT_EOF >> "$ofile"
30132 # ### BEGIN LIBTOOL TAG CONFIG: CXX
30134 # The linker used to build libraries.
30137 # How to create reloadable object files.
30138 reload_flag=$lt_reload_flag_CXX
30139 reload_cmds=$lt_reload_cmds_CXX
30141 # Commands used to build an old-style archive.
30142 old_archive_cmds=$lt_old_archive_cmds_CXX
30144 # A language specific compiler.
30145 CC=$lt_compiler_CXX
30147 # Is the compiler the GNU compiler?
30150 # Compiler flag to turn off builtin functions.
30151 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
30153 # Additional compiler flags for building library objects.
30154 pic_flag=$lt_lt_prog_compiler_pic_CXX
30156 # How to pass a linker flag through the compiler.
30157 wl=$lt_lt_prog_compiler_wl_CXX
30159 # Compiler flag to prevent dynamic linking.
30160 link_static_flag=$lt_lt_prog_compiler_static_CXX
30162 # Does compiler simultaneously support -c and -o options?
30163 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
30165 # Whether or not to add -lc for building shared libraries.
30166 build_libtool_need_lc=$archive_cmds_need_lc_CXX
30168 # Whether or not to disallow shared libs when runtime libs are static.
30169 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
30171 # Compiler flag to allow reflexive dlopens.
30172 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
30174 # Compiler flag to generate shared objects directly from archives.
30175 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
30177 # Whether the compiler copes with passing no objects directly.
30178 compiler_needs_object=$lt_compiler_needs_object_CXX
30180 # Create an old-style archive from a shared archive.
30181 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
30183 # Create a temporary old-style archive to link instead of a shared archive.
30184 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
30186 # Commands used to build a shared archive.
30187 archive_cmds=$lt_archive_cmds_CXX
30188 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
30190 # Commands used to build a loadable module if different from building
30191 # a shared archive.
30192 module_cmds=$lt_module_cmds_CXX
30193 module_expsym_cmds=$lt_module_expsym_cmds_CXX
30195 # Whether we are building with GNU ld or not.
30196 with_gnu_ld=$lt_with_gnu_ld_CXX
30198 # Flag that allows shared libraries with undefined symbols to be built.
30199 allow_undefined_flag=$lt_allow_undefined_flag_CXX
30201 # Flag that enforces no undefined symbols.
30202 no_undefined_flag=$lt_no_undefined_flag_CXX
30204 # Flag to hardcode \$libdir into a binary during linking.
30205 # This must work even if \$libdir does not exist
30206 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
30208 # Whether we need a single "-rpath" flag with a separated argument.
30209 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
30211 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30212 # DIR into the resulting binary.
30213 hardcode_direct=$hardcode_direct_CXX
30215 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30216 # DIR into the resulting binary and the resulting library dependency is
30217 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30218 # library is relocated.
30219 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
30221 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30222 # into the resulting binary.
30223 hardcode_minus_L=$hardcode_minus_L_CXX
30225 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30226 # into the resulting binary.
30227 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
30229 # Set to "yes" if building a shared library automatically hardcodes DIR
30230 # into the library and all subsequent libraries and executables linked
30232 hardcode_automatic=$hardcode_automatic_CXX
30234 # Set to yes if linker adds runtime paths of dependent libraries
30235 # to runtime path list.
30236 inherit_rpath=$inherit_rpath_CXX
30238 # Whether libtool must link a program against all its dependency libraries.
30239 link_all_deplibs=$link_all_deplibs_CXX
30241 # Set to "yes" if exported symbols are required.
30242 always_export_symbols=$always_export_symbols_CXX
30244 # The commands to list exported symbols.
30245 export_symbols_cmds=$lt_export_symbols_cmds_CXX
30247 # Symbols that should not be listed in the preloaded symbols.
30248 exclude_expsyms=$lt_exclude_expsyms_CXX
30250 # Symbols that must always be exported.
30251 include_expsyms=$lt_include_expsyms_CXX
30253 # Commands necessary for linking programs (against libraries) with templates.
30254 prelink_cmds=$lt_prelink_cmds_CXX
30256 # Commands necessary for finishing linking programs.
30257 postlink_cmds=$lt_postlink_cmds_CXX
30259 # Specify filename containing input files.
30260 file_list_spec=$lt_file_list_spec_CXX
30262 # How to hardcode a shared library path into an executable.
30263 hardcode_action=$hardcode_action_CXX
30265 # The directories searched by this compiler when creating a shared library.
30266 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
30268 # Dependencies to place before and after the objects being linked to
30269 # create a shared library.
30270 predep_objects=$lt_predep_objects_CXX
30271 postdep_objects=$lt_postdep_objects_CXX
30272 predeps=$lt_predeps_CXX
30273 postdeps=$lt_postdeps_CXX
30275 # The library search path used internally by the compiler when linking
30276 # a shared library.
30277 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
30279 # ### END LIBTOOL TAG CONFIG: CXX
30283 cat <<_LT_EOF >> "$ofile"
30285 # ### BEGIN LIBTOOL TAG CONFIG: F77
30287 # The linker used to build libraries.
30290 # How to create reloadable object files.
30291 reload_flag=$lt_reload_flag_F77
30292 reload_cmds=$lt_reload_cmds_F77
30294 # Commands used to build an old-style archive.
30295 old_archive_cmds=$lt_old_archive_cmds_F77
30297 # A language specific compiler.
30298 CC=$lt_compiler_F77
30300 # Is the compiler the GNU compiler?
30303 # Compiler flag to turn off builtin functions.
30304 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
30306 # Additional compiler flags for building library objects.
30307 pic_flag=$lt_lt_prog_compiler_pic_F77
30309 # How to pass a linker flag through the compiler.
30310 wl=$lt_lt_prog_compiler_wl_F77
30312 # Compiler flag to prevent dynamic linking.
30313 link_static_flag=$lt_lt_prog_compiler_static_F77
30315 # Does compiler simultaneously support -c and -o options?
30316 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
30318 # Whether or not to add -lc for building shared libraries.
30319 build_libtool_need_lc=$archive_cmds_need_lc_F77
30321 # Whether or not to disallow shared libs when runtime libs are static.
30322 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
30324 # Compiler flag to allow reflexive dlopens.
30325 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
30327 # Compiler flag to generate shared objects directly from archives.
30328 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
30330 # Whether the compiler copes with passing no objects directly.
30331 compiler_needs_object=$lt_compiler_needs_object_F77
30333 # Create an old-style archive from a shared archive.
30334 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
30336 # Create a temporary old-style archive to link instead of a shared archive.
30337 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
30339 # Commands used to build a shared archive.
30340 archive_cmds=$lt_archive_cmds_F77
30341 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
30343 # Commands used to build a loadable module if different from building
30344 # a shared archive.
30345 module_cmds=$lt_module_cmds_F77
30346 module_expsym_cmds=$lt_module_expsym_cmds_F77
30348 # Whether we are building with GNU ld or not.
30349 with_gnu_ld=$lt_with_gnu_ld_F77
30351 # Flag that allows shared libraries with undefined symbols to be built.
30352 allow_undefined_flag=$lt_allow_undefined_flag_F77
30354 # Flag that enforces no undefined symbols.
30355 no_undefined_flag=$lt_no_undefined_flag_F77
30357 # Flag to hardcode \$libdir into a binary during linking.
30358 # This must work even if \$libdir does not exist
30359 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
30361 # Whether we need a single "-rpath" flag with a separated argument.
30362 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
30364 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30365 # DIR into the resulting binary.
30366 hardcode_direct=$hardcode_direct_F77
30368 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30369 # DIR into the resulting binary and the resulting library dependency is
30370 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30371 # library is relocated.
30372 hardcode_direct_absolute=$hardcode_direct_absolute_F77
30374 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30375 # into the resulting binary.
30376 hardcode_minus_L=$hardcode_minus_L_F77
30378 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30379 # into the resulting binary.
30380 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
30382 # Set to "yes" if building a shared library automatically hardcodes DIR
30383 # into the library and all subsequent libraries and executables linked
30385 hardcode_automatic=$hardcode_automatic_F77
30387 # Set to yes if linker adds runtime paths of dependent libraries
30388 # to runtime path list.
30389 inherit_rpath=$inherit_rpath_F77
30391 # Whether libtool must link a program against all its dependency libraries.
30392 link_all_deplibs=$link_all_deplibs_F77
30394 # Set to "yes" if exported symbols are required.
30395 always_export_symbols=$always_export_symbols_F77
30397 # The commands to list exported symbols.
30398 export_symbols_cmds=$lt_export_symbols_cmds_F77
30400 # Symbols that should not be listed in the preloaded symbols.
30401 exclude_expsyms=$lt_exclude_expsyms_F77
30403 # Symbols that must always be exported.
30404 include_expsyms=$lt_include_expsyms_F77
30406 # Commands necessary for linking programs (against libraries) with templates.
30407 prelink_cmds=$lt_prelink_cmds_F77
30409 # Commands necessary for finishing linking programs.
30410 postlink_cmds=$lt_postlink_cmds_F77
30412 # Specify filename containing input files.
30413 file_list_spec=$lt_file_list_spec_F77
30415 # How to hardcode a shared library path into an executable.
30416 hardcode_action=$hardcode_action_F77
30418 # The directories searched by this compiler when creating a shared library.
30419 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
30421 # Dependencies to place before and after the objects being linked to
30422 # create a shared library.
30423 predep_objects=$lt_predep_objects_F77
30424 postdep_objects=$lt_postdep_objects_F77
30425 predeps=$lt_predeps_F77
30426 postdeps=$lt_postdeps_F77
30428 # The library search path used internally by the compiler when linking
30429 # a shared library.
30430 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
30432 # ### END LIBTOOL TAG CONFIG: F77
30436 cat <<_LT_EOF >> "$ofile"
30438 # ### BEGIN LIBTOOL TAG CONFIG: FC
30440 # The linker used to build libraries.
30443 # How to create reloadable object files.
30444 reload_flag=$lt_reload_flag_FC
30445 reload_cmds=$lt_reload_cmds_FC
30447 # Commands used to build an old-style archive.
30448 old_archive_cmds=$lt_old_archive_cmds_FC
30450 # A language specific compiler.
30453 # Is the compiler the GNU compiler?
30456 # Compiler flag to turn off builtin functions.
30457 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
30459 # Additional compiler flags for building library objects.
30460 pic_flag=$lt_lt_prog_compiler_pic_FC
30462 # How to pass a linker flag through the compiler.
30463 wl=$lt_lt_prog_compiler_wl_FC
30465 # Compiler flag to prevent dynamic linking.
30466 link_static_flag=$lt_lt_prog_compiler_static_FC
30468 # Does compiler simultaneously support -c and -o options?
30469 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
30471 # Whether or not to add -lc for building shared libraries.
30472 build_libtool_need_lc=$archive_cmds_need_lc_FC
30474 # Whether or not to disallow shared libs when runtime libs are static.
30475 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
30477 # Compiler flag to allow reflexive dlopens.
30478 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
30480 # Compiler flag to generate shared objects directly from archives.
30481 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
30483 # Whether the compiler copes with passing no objects directly.
30484 compiler_needs_object=$lt_compiler_needs_object_FC
30486 # Create an old-style archive from a shared archive.
30487 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
30489 # Create a temporary old-style archive to link instead of a shared archive.
30490 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
30492 # Commands used to build a shared archive.
30493 archive_cmds=$lt_archive_cmds_FC
30494 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
30496 # Commands used to build a loadable module if different from building
30497 # a shared archive.
30498 module_cmds=$lt_module_cmds_FC
30499 module_expsym_cmds=$lt_module_expsym_cmds_FC
30501 # Whether we are building with GNU ld or not.
30502 with_gnu_ld=$lt_with_gnu_ld_FC
30504 # Flag that allows shared libraries with undefined symbols to be built.
30505 allow_undefined_flag=$lt_allow_undefined_flag_FC
30507 # Flag that enforces no undefined symbols.
30508 no_undefined_flag=$lt_no_undefined_flag_FC
30510 # Flag to hardcode \$libdir into a binary during linking.
30511 # This must work even if \$libdir does not exist
30512 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
30514 # Whether we need a single "-rpath" flag with a separated argument.
30515 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
30517 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30518 # DIR into the resulting binary.
30519 hardcode_direct=$hardcode_direct_FC
30521 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30522 # DIR into the resulting binary and the resulting library dependency is
30523 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30524 # library is relocated.
30525 hardcode_direct_absolute=$hardcode_direct_absolute_FC
30527 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30528 # into the resulting binary.
30529 hardcode_minus_L=$hardcode_minus_L_FC
30531 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30532 # into the resulting binary.
30533 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
30535 # Set to "yes" if building a shared library automatically hardcodes DIR
30536 # into the library and all subsequent libraries and executables linked
30538 hardcode_automatic=$hardcode_automatic_FC
30540 # Set to yes if linker adds runtime paths of dependent libraries
30541 # to runtime path list.
30542 inherit_rpath=$inherit_rpath_FC
30544 # Whether libtool must link a program against all its dependency libraries.
30545 link_all_deplibs=$link_all_deplibs_FC
30547 # Set to "yes" if exported symbols are required.
30548 always_export_symbols=$always_export_symbols_FC
30550 # The commands to list exported symbols.
30551 export_symbols_cmds=$lt_export_symbols_cmds_FC
30553 # Symbols that should not be listed in the preloaded symbols.
30554 exclude_expsyms=$lt_exclude_expsyms_FC
30556 # Symbols that must always be exported.
30557 include_expsyms=$lt_include_expsyms_FC
30559 # Commands necessary for linking programs (against libraries) with templates.
30560 prelink_cmds=$lt_prelink_cmds_FC
30562 # Commands necessary for finishing linking programs.
30563 postlink_cmds=$lt_postlink_cmds_FC
30565 # Specify filename containing input files.
30566 file_list_spec=$lt_file_list_spec_FC
30568 # How to hardcode a shared library path into an executable.
30569 hardcode_action=$hardcode_action_FC
30571 # The directories searched by this compiler when creating a shared library.
30572 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
30574 # Dependencies to place before and after the objects being linked to
30575 # create a shared library.
30576 predep_objects=$lt_predep_objects_FC
30577 postdep_objects=$lt_postdep_objects_FC
30578 predeps=$lt_predeps_FC
30579 postdeps=$lt_postdeps_FC
30581 # The library search path used internally by the compiler when linking
30582 # a shared library.
30583 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
30585 # ### END LIBTOOL TAG CONFIG: FC
30589 cat <<_LT_EOF >> "$ofile"
30591 # ### BEGIN LIBTOOL TAG CONFIG: GO
30593 # The linker used to build libraries.
30596 # How to create reloadable object files.
30597 reload_flag=$lt_reload_flag_GO
30598 reload_cmds=$lt_reload_cmds_GO
30600 # Commands used to build an old-style archive.
30601 old_archive_cmds=$lt_old_archive_cmds_GO
30603 # A language specific compiler.
30606 # Is the compiler the GNU compiler?
30609 # Compiler flag to turn off builtin functions.
30610 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
30612 # Additional compiler flags for building library objects.
30613 pic_flag=$lt_lt_prog_compiler_pic_GO
30615 # How to pass a linker flag through the compiler.
30616 wl=$lt_lt_prog_compiler_wl_GO
30618 # Compiler flag to prevent dynamic linking.
30619 link_static_flag=$lt_lt_prog_compiler_static_GO
30621 # Does compiler simultaneously support -c and -o options?
30622 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
30624 # Whether or not to add -lc for building shared libraries.
30625 build_libtool_need_lc=$archive_cmds_need_lc_GO
30627 # Whether or not to disallow shared libs when runtime libs are static.
30628 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
30630 # Compiler flag to allow reflexive dlopens.
30631 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
30633 # Compiler flag to generate shared objects directly from archives.
30634 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
30636 # Whether the compiler copes with passing no objects directly.
30637 compiler_needs_object=$lt_compiler_needs_object_GO
30639 # Create an old-style archive from a shared archive.
30640 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
30642 # Create a temporary old-style archive to link instead of a shared archive.
30643 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
30645 # Commands used to build a shared archive.
30646 archive_cmds=$lt_archive_cmds_GO
30647 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
30649 # Commands used to build a loadable module if different from building
30650 # a shared archive.
30651 module_cmds=$lt_module_cmds_GO
30652 module_expsym_cmds=$lt_module_expsym_cmds_GO
30654 # Whether we are building with GNU ld or not.
30655 with_gnu_ld=$lt_with_gnu_ld_GO
30657 # Flag that allows shared libraries with undefined symbols to be built.
30658 allow_undefined_flag=$lt_allow_undefined_flag_GO
30660 # Flag that enforces no undefined symbols.
30661 no_undefined_flag=$lt_no_undefined_flag_GO
30663 # Flag to hardcode \$libdir into a binary during linking.
30664 # This must work even if \$libdir does not exist
30665 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
30667 # Whether we need a single "-rpath" flag with a separated argument.
30668 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
30670 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30671 # DIR into the resulting binary.
30672 hardcode_direct=$hardcode_direct_GO
30674 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30675 # DIR into the resulting binary and the resulting library dependency is
30676 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30677 # library is relocated.
30678 hardcode_direct_absolute=$hardcode_direct_absolute_GO
30680 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30681 # into the resulting binary.
30682 hardcode_minus_L=$hardcode_minus_L_GO
30684 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30685 # into the resulting binary.
30686 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
30688 # Set to "yes" if building a shared library automatically hardcodes DIR
30689 # into the library and all subsequent libraries and executables linked
30691 hardcode_automatic=$hardcode_automatic_GO
30693 # Set to yes if linker adds runtime paths of dependent libraries
30694 # to runtime path list.
30695 inherit_rpath=$inherit_rpath_GO
30697 # Whether libtool must link a program against all its dependency libraries.
30698 link_all_deplibs=$link_all_deplibs_GO
30700 # Set to "yes" if exported symbols are required.
30701 always_export_symbols=$always_export_symbols_GO
30703 # The commands to list exported symbols.
30704 export_symbols_cmds=$lt_export_symbols_cmds_GO
30706 # Symbols that should not be listed in the preloaded symbols.
30707 exclude_expsyms=$lt_exclude_expsyms_GO
30709 # Symbols that must always be exported.
30710 include_expsyms=$lt_include_expsyms_GO
30712 # Commands necessary for linking programs (against libraries) with templates.
30713 prelink_cmds=$lt_prelink_cmds_GO
30715 # Commands necessary for finishing linking programs.
30716 postlink_cmds=$lt_postlink_cmds_GO
30718 # Specify filename containing input files.
30719 file_list_spec=$lt_file_list_spec_GO
30721 # How to hardcode a shared library path into an executable.
30722 hardcode_action=$hardcode_action_GO
30724 # The directories searched by this compiler when creating a shared library.
30725 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GO
30727 # Dependencies to place before and after the objects being linked to
30728 # create a shared library.
30729 predep_objects=$lt_predep_objects_GO
30730 postdep_objects=$lt_postdep_objects_GO
30731 predeps=$lt_predeps_GO
30732 postdeps=$lt_postdeps_GO
30734 # The library search path used internally by the compiler when linking
30735 # a shared library.
30736 compiler_lib_search_path=$lt_compiler_lib_search_path_GO
30738 # ### END LIBTOOL TAG CONFIG: GO
30742 cat <<_LT_EOF >> "$ofile"
30744 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
30746 # The linker used to build libraries.
30749 # How to create reloadable object files.
30750 reload_flag=$lt_reload_flag_GCJ
30751 reload_cmds=$lt_reload_cmds_GCJ
30753 # Commands used to build an old-style archive.
30754 old_archive_cmds=$lt_old_archive_cmds_GCJ
30756 # A language specific compiler.
30757 CC=$lt_compiler_GCJ
30759 # Is the compiler the GNU compiler?
30762 # Compiler flag to turn off builtin functions.
30763 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
30765 # Additional compiler flags for building library objects.
30766 pic_flag=$lt_lt_prog_compiler_pic_GCJ
30768 # How to pass a linker flag through the compiler.
30769 wl=$lt_lt_prog_compiler_wl_GCJ
30771 # Compiler flag to prevent dynamic linking.
30772 link_static_flag=$lt_lt_prog_compiler_static_GCJ
30774 # Does compiler simultaneously support -c and -o options?
30775 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
30777 # Whether or not to add -lc for building shared libraries.
30778 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
30780 # Whether or not to disallow shared libs when runtime libs are static.
30781 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
30783 # Compiler flag to allow reflexive dlopens.
30784 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
30786 # Compiler flag to generate shared objects directly from archives.
30787 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
30789 # Whether the compiler copes with passing no objects directly.
30790 compiler_needs_object=$lt_compiler_needs_object_GCJ
30792 # Create an old-style archive from a shared archive.
30793 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
30795 # Create a temporary old-style archive to link instead of a shared archive.
30796 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
30798 # Commands used to build a shared archive.
30799 archive_cmds=$lt_archive_cmds_GCJ
30800 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
30802 # Commands used to build a loadable module if different from building
30803 # a shared archive.
30804 module_cmds=$lt_module_cmds_GCJ
30805 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
30807 # Whether we are building with GNU ld or not.
30808 with_gnu_ld=$lt_with_gnu_ld_GCJ
30810 # Flag that allows shared libraries with undefined symbols to be built.
30811 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
30813 # Flag that enforces no undefined symbols.
30814 no_undefined_flag=$lt_no_undefined_flag_GCJ
30816 # Flag to hardcode \$libdir into a binary during linking.
30817 # This must work even if \$libdir does not exist
30818 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
30820 # Whether we need a single "-rpath" flag with a separated argument.
30821 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
30823 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30824 # DIR into the resulting binary.
30825 hardcode_direct=$hardcode_direct_GCJ
30827 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30828 # DIR into the resulting binary and the resulting library dependency is
30829 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30830 # library is relocated.
30831 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
30833 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30834 # into the resulting binary.
30835 hardcode_minus_L=$hardcode_minus_L_GCJ
30837 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30838 # into the resulting binary.
30839 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
30841 # Set to "yes" if building a shared library automatically hardcodes DIR
30842 # into the library and all subsequent libraries and executables linked
30844 hardcode_automatic=$hardcode_automatic_GCJ
30846 # Set to yes if linker adds runtime paths of dependent libraries
30847 # to runtime path list.
30848 inherit_rpath=$inherit_rpath_GCJ
30850 # Whether libtool must link a program against all its dependency libraries.
30851 link_all_deplibs=$link_all_deplibs_GCJ
30853 # Set to "yes" if exported symbols are required.
30854 always_export_symbols=$always_export_symbols_GCJ
30856 # The commands to list exported symbols.
30857 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
30859 # Symbols that should not be listed in the preloaded symbols.
30860 exclude_expsyms=$lt_exclude_expsyms_GCJ
30862 # Symbols that must always be exported.
30863 include_expsyms=$lt_include_expsyms_GCJ
30865 # Commands necessary for linking programs (against libraries) with templates.
30866 prelink_cmds=$lt_prelink_cmds_GCJ
30868 # Commands necessary for finishing linking programs.
30869 postlink_cmds=$lt_postlink_cmds_GCJ
30871 # Specify filename containing input files.
30872 file_list_spec=$lt_file_list_spec_GCJ
30874 # How to hardcode a shared library path into an executable.
30875 hardcode_action=$hardcode_action_GCJ
30877 # The directories searched by this compiler when creating a shared library.
30878 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
30880 # Dependencies to place before and after the objects being linked to
30881 # create a shared library.
30882 predep_objects=$lt_predep_objects_GCJ
30883 postdep_objects=$lt_postdep_objects_GCJ
30884 predeps=$lt_predeps_GCJ
30885 postdeps=$lt_postdeps_GCJ
30887 # The library search path used internally by the compiler when linking
30888 # a shared library.
30889 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
30891 # ### END LIBTOOL TAG CONFIG: GCJ
30895 cat <<_LT_EOF >> "$ofile"
30897 # ### BEGIN LIBTOOL TAG CONFIG: RC
30899 # The linker used to build libraries.
30902 # How to create reloadable object files.
30903 reload_flag=$lt_reload_flag_RC
30904 reload_cmds=$lt_reload_cmds_RC
30906 # Commands used to build an old-style archive.
30907 old_archive_cmds=$lt_old_archive_cmds_RC
30909 # A language specific compiler.
30912 # Is the compiler the GNU compiler?
30915 # Compiler flag to turn off builtin functions.
30916 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
30918 # Additional compiler flags for building library objects.
30919 pic_flag=$lt_lt_prog_compiler_pic_RC
30921 # How to pass a linker flag through the compiler.
30922 wl=$lt_lt_prog_compiler_wl_RC
30924 # Compiler flag to prevent dynamic linking.
30925 link_static_flag=$lt_lt_prog_compiler_static_RC
30927 # Does compiler simultaneously support -c and -o options?
30928 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
30930 # Whether or not to add -lc for building shared libraries.
30931 build_libtool_need_lc=$archive_cmds_need_lc_RC
30933 # Whether or not to disallow shared libs when runtime libs are static.
30934 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
30936 # Compiler flag to allow reflexive dlopens.
30937 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
30939 # Compiler flag to generate shared objects directly from archives.
30940 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
30942 # Whether the compiler copes with passing no objects directly.
30943 compiler_needs_object=$lt_compiler_needs_object_RC
30945 # Create an old-style archive from a shared archive.
30946 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
30948 # Create a temporary old-style archive to link instead of a shared archive.
30949 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
30951 # Commands used to build a shared archive.
30952 archive_cmds=$lt_archive_cmds_RC
30953 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
30955 # Commands used to build a loadable module if different from building
30956 # a shared archive.
30957 module_cmds=$lt_module_cmds_RC
30958 module_expsym_cmds=$lt_module_expsym_cmds_RC
30960 # Whether we are building with GNU ld or not.
30961 with_gnu_ld=$lt_with_gnu_ld_RC
30963 # Flag that allows shared libraries with undefined symbols to be built.
30964 allow_undefined_flag=$lt_allow_undefined_flag_RC
30966 # Flag that enforces no undefined symbols.
30967 no_undefined_flag=$lt_no_undefined_flag_RC
30969 # Flag to hardcode \$libdir into a binary during linking.
30970 # This must work even if \$libdir does not exist
30971 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
30973 # Whether we need a single "-rpath" flag with a separated argument.
30974 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
30976 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30977 # DIR into the resulting binary.
30978 hardcode_direct=$hardcode_direct_RC
30980 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30981 # DIR into the resulting binary and the resulting library dependency is
30982 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30983 # library is relocated.
30984 hardcode_direct_absolute=$hardcode_direct_absolute_RC
30986 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30987 # into the resulting binary.
30988 hardcode_minus_L=$hardcode_minus_L_RC
30990 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30991 # into the resulting binary.
30992 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
30994 # Set to "yes" if building a shared library automatically hardcodes DIR
30995 # into the library and all subsequent libraries and executables linked
30997 hardcode_automatic=$hardcode_automatic_RC
30999 # Set to yes if linker adds runtime paths of dependent libraries
31000 # to runtime path list.
31001 inherit_rpath=$inherit_rpath_RC
31003 # Whether libtool must link a program against all its dependency libraries.
31004 link_all_deplibs=$link_all_deplibs_RC
31006 # Set to "yes" if exported symbols are required.
31007 always_export_symbols=$always_export_symbols_RC
31009 # The commands to list exported symbols.
31010 export_symbols_cmds=$lt_export_symbols_cmds_RC
31012 # Symbols that should not be listed in the preloaded symbols.
31013 exclude_expsyms=$lt_exclude_expsyms_RC
31015 # Symbols that must always be exported.
31016 include_expsyms=$lt_include_expsyms_RC
31018 # Commands necessary for linking programs (against libraries) with templates.
31019 prelink_cmds=$lt_prelink_cmds_RC
31021 # Commands necessary for finishing linking programs.
31022 postlink_cmds=$lt_postlink_cmds_RC
31024 # Specify filename containing input files.
31025 file_list_spec=$lt_file_list_spec_RC
31027 # How to hardcode a shared library path into an executable.
31028 hardcode_action=$hardcode_action_RC
31030 # The directories searched by this compiler when creating a shared library.
31031 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
31033 # Dependencies to place before and after the objects being linked to
31034 # create a shared library.
31035 predep_objects=$lt_predep_objects_RC
31036 postdep_objects=$lt_postdep_objects_RC
31037 predeps=$lt_predeps_RC
31038 postdeps=$lt_postdeps_RC
31040 # The library search path used internally by the compiler when linking
31041 # a shared library.
31042 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
31044 # ### END LIBTOOL TAG CONFIG: RC
31055 ac_clean_files=$ac_clean_files_save
31057 test $ac_write_fail = 0 ||
31058 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
31061 # configure is writing to config.log, and then calls config.status.
31062 # config.status does its own redirection, appending to config.log.
31063 # Unfortunately, on DOS this fails, as config.log is still kept open
31064 # by configure, so config.status won't be able to write to it; its
31065 # output is simply discarded. So we exec the FD to /dev/null,
31066 # effectively closing config.log, so it can be properly (re)opened and
31067 # appended to by config.status. When coming back to configure, we
31068 # need to make the FD available again.
31069 if test "$no_create" != yes; then
31071 ac_config_status_args=
31072 test "$silent" = yes &&
31073 ac_config_status_args="$ac_config_status_args --quiet"
31075 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
31077 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31078 # would make configure fail if this is the last instruction.
31079 $ac_cs_success || as_fn_exit 1
31081 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
31083 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}