2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Report bugs to <libsanitizer>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
176 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 PATH=/empty FPATH=/empty; export PATH FPATH
180 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
181 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
182 test \$(( 1 + 1 )) = 2 || exit 1"
183 if (eval "$as_required") 2>/dev/null; then :
188 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
196 test -z "$as_dir" && as_dir=.
200 for as_base in sh bash ksh sh5; do
201 # Try only shells that exist, to save several forks.
202 as_shell=$as_dir/$as_base
203 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 CONFIG_SHELL=$as_shell as_have_required=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
214 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
216 CONFIG_SHELL=$SHELL as_have_required=yes
221 if test "x$CONFIG_SHELL" != x; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
227 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and libsanitizer about
240 $0: your system, including any error possibly output before
241 $0: this message. Then install a modern shell, or manually
242 $0: run the script under such a shell if you do have one."
248 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir=./$as_dir;;
293 test -d "$as_dir" || eval $as_mkdir_p || {
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
362 as_val=`expr "$@" || test $? -eq 1`
367 # as_fn_error ERROR [LINENO LOG_FD]
368 # ---------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with status $?, using 1 if that was 0.
374 as_status=$?; test $as_status -eq 0 && as_status=1
376 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
379 $as_echo "$as_me: error: $1" >&2
380 as_fn_exit $as_status
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
402 as_me=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C= ECHO_N= ECHO_T=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
478 mkdir conf$$.dir 2>/dev/null
480 if (echo >conf$$.file) 2>/dev/null; then
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
489 elif ln conf$$.file conf$$ 2>/dev/null; then
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
503 test -d ./-p && rmdir ./-p
507 if test -x / >/dev/null 2>&1; then
510 if ls -dL / >/dev/null 2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 SHELL=${CONFIG_SHELL-/bin/sh}
539 exec 7<&0 </dev/null 6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix=/usr/local
551 ac_config_libobj_dir=.
558 # Identity of this package.
559 PACKAGE_NAME='package-unused'
560 PACKAGE_TARNAME='package-unused'
561 PACKAGE_VERSION='version-unused'
562 PACKAGE_STRING='package-unused version-unused'
563 PACKAGE_BUGREPORT='libsanitizer'
566 ac_unique_file="include/sanitizer/common_interface_defs.h"
567 # Factoring default headers for most tests.
568 ac_includes_default="\
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
580 # ifdef HAVE_STDLIB_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
603 ac_subst_vars='am__EXEEXT_FALSE
631 am__fastdepCCAS_FALSE
661 MAINTAINER_MODE_FALSE
672 INSTALL_STRIP_PROGRAM
726 program_transform_name
739 enable_option_checking
740 enable_version_specific_runtime_libs
742 enable_maintainer_mode
743 enable_dependency_tracking
751 ac_precious_vars='build_alias
768 # Initialize some variables set by options.
770 ac_init_version=false
771 ac_unrecognized_opts=
773 # The variables have the same names as the options, with
774 # dashes changed to underlines.
782 program_transform_name=s,x,x,
790 # Installation directory options.
791 # These are left unexpanded so users can "make install exec_prefix=/foo"
792 # and all the variables that are supposed to be based on exec_prefix
793 # by default will actually change.
794 # Use braces instead of parens because sh, perl, etc. also accept them.
795 # (The list follows the same order as the GNU Coding Standards.)
796 bindir='${exec_prefix}/bin'
797 sbindir='${exec_prefix}/sbin'
798 libexecdir='${exec_prefix}/libexec'
799 datarootdir='${prefix}/share'
800 datadir='${datarootdir}'
801 sysconfdir='${prefix}/etc'
802 sharedstatedir='${prefix}/com'
803 localstatedir='${prefix}/var'
804 includedir='${prefix}/include'
805 oldincludedir='/usr/include'
806 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
807 infodir='${datarootdir}/info'
812 libdir='${exec_prefix}/lib'
813 localedir='${datarootdir}/locale'
814 mandir='${datarootdir}/man'
820 # If the previous option needs an argument, assign it.
821 if test -n "$ac_prev"; then
822 eval $ac_prev=\$ac_option
828 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 # Accept the important Cygnus configure options, so we can diagnose typos.
834 case $ac_dashdash$ac_option in
838 -bindir | --bindir | --bindi | --bind | --bin | --bi)
840 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
843 -build | --build | --buil | --bui | --bu)
844 ac_prev=build_alias ;;
845 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
846 build_alias=$ac_optarg ;;
848 -cache-file | --cache-file | --cache-fil | --cache-fi \
849 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
850 ac_prev=cache_file ;;
851 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
852 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
853 cache_file=$ac_optarg ;;
856 cache_file=config.cache ;;
858 -datadir | --datadir | --datadi | --datad)
860 -datadir=* | --datadir=* | --datadi=* | --datad=*)
861 datadir=$ac_optarg ;;
863 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
864 | --dataroo | --dataro | --datar)
865 ac_prev=datarootdir ;;
866 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
867 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
868 datarootdir=$ac_optarg ;;
870 -disable-* | --disable-*)
871 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
874 as_fn_error "invalid feature name: $ac_useropt"
875 ac_useropt_orig=$ac_useropt
876 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
882 ac_unrecognized_sep=', ';;
884 eval enable_$ac_useropt=no ;;
886 -docdir | --docdir | --docdi | --doc | --do)
888 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
891 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
893 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
896 -enable-* | --enable-*)
897 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
900 as_fn_error "invalid feature name: $ac_useropt"
901 ac_useropt_orig=$ac_useropt
902 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903 case $ac_user_opts in
907 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
908 ac_unrecognized_sep=', ';;
910 eval enable_$ac_useropt=\$ac_optarg ;;
912 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
913 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
914 | --exec | --exe | --ex)
915 ac_prev=exec_prefix ;;
916 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
917 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
918 | --exec=* | --exe=* | --ex=*)
919 exec_prefix=$ac_optarg ;;
921 -gas | --gas | --ga | --g)
922 # Obsolete; use --with-gas.
925 -help | --help | --hel | --he | -h)
927 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
928 ac_init_help=recursive ;;
929 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
930 ac_init_help=short ;;
932 -host | --host | --hos | --ho)
933 ac_prev=host_alias ;;
934 -host=* | --host=* | --hos=* | --ho=*)
935 host_alias=$ac_optarg ;;
937 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
939 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
941 htmldir=$ac_optarg ;;
943 -includedir | --includedir | --includedi | --included | --include \
944 | --includ | --inclu | --incl | --inc)
945 ac_prev=includedir ;;
946 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
947 | --includ=* | --inclu=* | --incl=* | --inc=*)
948 includedir=$ac_optarg ;;
950 -infodir | --infodir | --infodi | --infod | --info | --inf)
952 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
953 infodir=$ac_optarg ;;
955 -libdir | --libdir | --libdi | --libd)
957 -libdir=* | --libdir=* | --libdi=* | --libd=*)
960 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
961 | --libexe | --libex | --libe)
962 ac_prev=libexecdir ;;
963 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
964 | --libexe=* | --libex=* | --libe=*)
965 libexecdir=$ac_optarg ;;
967 -localedir | --localedir | --localedi | --localed | --locale)
969 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
970 localedir=$ac_optarg ;;
972 -localstatedir | --localstatedir | --localstatedi | --localstated \
973 | --localstate | --localstat | --localsta | --localst | --locals)
974 ac_prev=localstatedir ;;
975 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
976 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
977 localstatedir=$ac_optarg ;;
979 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
981 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
985 # Obsolete; use --without-fp.
988 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
989 | --no-cr | --no-c | -n)
992 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
993 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
996 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
997 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
998 | --oldin | --oldi | --old | --ol | --o)
999 ac_prev=oldincludedir ;;
1000 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1001 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1002 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1003 oldincludedir=$ac_optarg ;;
1005 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1007 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1008 prefix=$ac_optarg ;;
1010 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1011 | --program-pre | --program-pr | --program-p)
1012 ac_prev=program_prefix ;;
1013 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1014 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1015 program_prefix=$ac_optarg ;;
1017 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1018 | --program-suf | --program-su | --program-s)
1019 ac_prev=program_suffix ;;
1020 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1021 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1022 program_suffix=$ac_optarg ;;
1024 -program-transform-name | --program-transform-name \
1025 | --program-transform-nam | --program-transform-na \
1026 | --program-transform-n | --program-transform- \
1027 | --program-transform | --program-transfor \
1028 | --program-transfo | --program-transf \
1029 | --program-trans | --program-tran \
1030 | --progr-tra | --program-tr | --program-t)
1031 ac_prev=program_transform_name ;;
1032 -program-transform-name=* | --program-transform-name=* \
1033 | --program-transform-nam=* | --program-transform-na=* \
1034 | --program-transform-n=* | --program-transform-=* \
1035 | --program-transform=* | --program-transfor=* \
1036 | --program-transfo=* | --program-transf=* \
1037 | --program-trans=* | --program-tran=* \
1038 | --progr-tra=* | --program-tr=* | --program-t=*)
1039 program_transform_name=$ac_optarg ;;
1041 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1043 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1044 pdfdir=$ac_optarg ;;
1046 -psdir | --psdir | --psdi | --psd | --ps)
1048 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052 | -silent | --silent | --silen | --sile | --sil)
1055 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1057 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1059 sbindir=$ac_optarg ;;
1061 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1062 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1063 | --sharedst | --shareds | --shared | --share | --shar \
1065 ac_prev=sharedstatedir ;;
1066 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1067 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1068 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1070 sharedstatedir=$ac_optarg ;;
1072 -site | --site | --sit)
1074 -site=* | --site=* | --sit=*)
1077 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1079 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1080 srcdir=$ac_optarg ;;
1082 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1083 | --syscon | --sysco | --sysc | --sys | --sy)
1084 ac_prev=sysconfdir ;;
1085 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1086 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1087 sysconfdir=$ac_optarg ;;
1089 -target | --target | --targe | --targ | --tar | --ta | --t)
1090 ac_prev=target_alias ;;
1091 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1092 target_alias=$ac_optarg ;;
1094 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1097 -version | --version | --versio | --versi | --vers | -V)
1098 ac_init_version=: ;;
1101 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104 as_fn_error "invalid package name: $ac_useropt"
1105 ac_useropt_orig=$ac_useropt
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1112 ac_unrecognized_sep=', ';;
1114 eval with_$ac_useropt=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120 as_fn_error "invalid package name: $ac_useropt"
1121 ac_useropt_orig=$ac_useropt
1122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1128 ac_unrecognized_sep=', ';;
1130 eval with_$ac_useropt=no ;;
1133 # Obsolete; use --with-x.
1136 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1137 | --x-incl | --x-inc | --x-in | --x-i)
1138 ac_prev=x_includes ;;
1139 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1140 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1141 x_includes=$ac_optarg ;;
1143 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1144 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1145 ac_prev=x_libraries ;;
1146 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1147 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1148 x_libraries=$ac_optarg ;;
1150 -*) as_fn_error "unrecognized option: \`$ac_option'
1151 Try \`$0 --help' for more information."
1155 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1156 # Reject names that are not valid shell variable names.
1157 case $ac_envvar in #(
1158 '' | [0-9]* | *[!_$as_cr_alnum]* )
1159 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1161 eval $ac_envvar=\$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1175 if test -n "$ac_prev"; then
1176 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1177 as_fn_error "missing argument to $ac_option"
1180 if test -n "$ac_unrecognized_opts"; then
1181 case $enable_option_checking in
1183 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1184 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1188 # Check all directory arguments for consistency.
1189 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1190 datadir sysconfdir sharedstatedir localstatedir includedir \
1191 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1192 libdir localedir mandir
1194 eval ac_val=\$$ac_var
1195 # Remove trailing slashes.
1198 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1199 eval $ac_var=\$ac_val;;
1201 # Be sure to have absolute directory names.
1203 [\\/$]* | ?:[\\/]* ) continue;;
1204 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1206 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1209 # There might be people who depend on the old broken behavior: `$host'
1210 # used to hold the argument of --host etc.
1211 # FIXME: To remove some day.
1214 target=$target_alias
1216 # FIXME: To remove some day.
1217 if test "x$host_alias" != x; then
1218 if test "x$build_alias" = x; then
1219 cross_compiling=maybe
1220 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1221 If a cross compiler is detected then cross compile mode will be used." >&2
1222 elif test "x$build_alias" != "x$host_alias"; then
1228 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1230 test "$silent" = yes && exec 6>/dev/null
1233 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1234 ac_ls_di=`ls -di .` &&
1235 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1236 as_fn_error "working directory cannot be determined"
1237 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1238 as_fn_error "pwd does not report name of working directory"
1241 # Find the source files, if location was not specified.
1242 if test -z "$srcdir"; then
1243 ac_srcdir_defaulted=yes
1244 # Try the directory containing this script, then the parent directory.
1245 ac_confdir=`$as_dirname -- "$as_myself" ||
1246 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1247 X"$as_myself" : 'X\(//\)[^/]' \| \
1248 X"$as_myself" : 'X\(//\)$' \| \
1249 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1250 $as_echo X"$as_myself" |
1251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1273 ac_srcdir_defaulted=no
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1276 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1277 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1279 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1281 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1283 # When building in place, set srcdir=.
1284 if test "$ac_abs_confdir" = "$ac_pwd"; then
1287 # Remove unnecessary trailing slashes from srcdir.
1288 # Double slashes in file names in object file debugging info
1289 # mess up M-x gdb in Emacs.
1291 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1293 for ac_var in $ac_precious_vars; do
1294 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1295 eval ac_env_${ac_var}_value=\$${ac_var}
1296 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1297 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1301 # Report the --help message.
1303 if test "$ac_init_help" = "long"; then
1304 # Omit some internal or obsolete options to make the list less imposing.
1305 # This message is too long to be a string in the A/UX 3.1 sh.
1307 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1309 Usage: $0 [OPTION]... [VAR=VALUE]...
1311 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1312 VAR=VALUE. See below for descriptions of some of the useful variables.
1314 Defaults for the options are specified in brackets.
1317 -h, --help display this help and exit
1318 --help=short display options specific to this package
1319 --help=recursive display the short help of all the included packages
1320 -V, --version display version information and exit
1321 -q, --quiet, --silent do not print \`checking...' messages
1322 --cache-file=FILE cache test results in FILE [disabled]
1323 -C, --config-cache alias for \`--cache-file=config.cache'
1324 -n, --no-create do not create output files
1325 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1327 Installation directories:
1328 --prefix=PREFIX install architecture-independent files in PREFIX
1329 [$ac_default_prefix]
1330 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1333 By default, \`make install' will install all the files in
1334 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1335 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1336 for instance \`--prefix=\$HOME'.
1338 For better control, use the options below.
1340 Fine tuning of the installation directories:
1341 --bindir=DIR user executables [EPREFIX/bin]
1342 --sbindir=DIR system admin executables [EPREFIX/sbin]
1343 --libexecdir=DIR program executables [EPREFIX/libexec]
1344 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1345 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1346 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1347 --libdir=DIR object code libraries [EPREFIX/lib]
1348 --includedir=DIR C header files [PREFIX/include]
1349 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1350 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1351 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1352 --infodir=DIR info documentation [DATAROOTDIR/info]
1353 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1354 --mandir=DIR man documentation [DATAROOTDIR/man]
1355 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1356 --htmldir=DIR html documentation [DOCDIR]
1357 --dvidir=DIR dvi documentation [DOCDIR]
1358 --pdfdir=DIR pdf documentation [DOCDIR]
1359 --psdir=DIR ps documentation [DOCDIR]
1365 --program-prefix=PREFIX prepend PREFIX to installed program names
1366 --program-suffix=SUFFIX append SUFFIX to installed program names
1367 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1370 --build=BUILD configure for building on BUILD [guessed]
1371 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1372 --target=TARGET configure for building compilers for TARGET [HOST]
1376 if test -n "$ac_init_help"; then
1377 case $ac_init_help in
1378 short | recursive ) echo "Configuration of package-unused version-unused:";;
1383 --disable-option-checking ignore unrecognized --enable/--with options
1384 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1385 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1386 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1387 --enable-multilib build many library versions (default)
1388 --enable-maintainer-mode enable make rules and dependencies not useful
1389 (and sometimes confusing) to the casual installer
1390 --disable-dependency-tracking speeds up one-time build
1391 --enable-dependency-tracking do not reject slow dependency extractors
1392 --enable-shared[=PKGS] build shared libraries [default=yes]
1393 --enable-static[=PKGS] build static libraries [default=yes]
1394 --enable-fast-install[=PKGS]
1395 optimize for fast installation [default=yes]
1396 --disable-libtool-lock avoid locking (might break parallel builds)
1399 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1400 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1401 --with-pic try to use only PIC/non-PIC objects [default=use
1403 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1405 Some influential environment variables:
1406 CC C compiler command
1407 CFLAGS C compiler flags
1408 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1409 nonstandard directory <lib dir>
1410 LIBS libraries to pass to the linker, e.g. -l<library>
1411 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1412 you have headers in a nonstandard directory <include dir>
1413 CXX C++ compiler command
1414 CXXFLAGS C++ compiler flags
1415 CCAS assembler compiler command (defaults to CC)
1416 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1418 CXXCPP C++ preprocessor
1420 Use these variables to override the choices made by `configure' or to help
1421 it to find libraries and programs with nonstandard names/locations.
1423 Report bugs to <libsanitizer>.
1428 if test "$ac_init_help" = "recursive"; then
1429 # If there are subdirs, report their specific --help.
1430 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1431 test -d "$ac_dir" ||
1432 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1440 # A ".." for each directory in $ac_dir_suffix.
1441 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1442 case $ac_top_builddir_sub in
1443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1447 ac_abs_top_builddir=$ac_pwd
1448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1449 # for backward compatibility:
1450 ac_top_builddir=$ac_top_build_prefix
1453 .) # We are building in place.
1455 ac_top_srcdir=$ac_top_builddir_sub
1456 ac_abs_top_srcdir=$ac_pwd ;;
1457 [\\/]* | ?:[\\/]* ) # Absolute name.
1458 ac_srcdir=$srcdir$ac_dir_suffix;
1459 ac_top_srcdir=$srcdir
1460 ac_abs_top_srcdir=$srcdir ;;
1462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463 ac_top_srcdir=$ac_top_build_prefix$srcdir
1464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1468 cd "$ac_dir" || { ac_status=$?; continue; }
1469 # Check for guested configure.
1470 if test -f "$ac_srcdir/configure.gnu"; then
1472 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473 elif test -f "$ac_srcdir/configure"; then
1475 $SHELL "$ac_srcdir/configure" --help=recursive
1477 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479 cd "$ac_pwd" || { ac_status=$?; break; }
1483 test -n "$ac_init_help" && exit $ac_status
1484 if $ac_init_version; then
1486 package-unused configure version-unused
1487 generated by GNU Autoconf 2.64
1489 Copyright (C) 2009 Free Software Foundation, Inc.
1490 This configure script is free software; the Free Software Foundation
1491 gives unlimited permission to copy, distribute and modify it.
1496 ## ------------------------ ##
1497 ## Autoconf initialization. ##
1498 ## ------------------------ ##
1500 # ac_fn_c_try_compile LINENO
1501 # --------------------------
1502 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1503 ac_fn_c_try_compile ()
1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506 rm -f conftest.$ac_objext
1507 if { { ac_try="$ac_compile"
1509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1510 *) ac_try_echo=$ac_try;;
1512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513 $as_echo "$ac_try_echo"; } >&5
1514 (eval "$ac_compile") 2>conftest.err
1516 if test -s conftest.err; then
1517 grep -v '^ *+' conftest.err >conftest.er1
1518 cat conftest.er1 >&5
1519 mv -f conftest.er1 conftest.err
1521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522 test $ac_status = 0; } && {
1523 test -z "$ac_c_werror_flag" ||
1524 test ! -s conftest.err
1525 } && test -s conftest.$ac_objext; then :
1528 $as_echo "$as_me: failed program was:" >&5
1529 sed 's/^/| /' conftest.$ac_ext >&5
1533 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1536 } # ac_fn_c_try_compile
1538 # ac_fn_cxx_try_compile LINENO
1539 # ----------------------------
1540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1541 ac_fn_cxx_try_compile ()
1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544 rm -f conftest.$ac_objext
1545 if { { ac_try="$ac_compile"
1547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1548 *) ac_try_echo=$ac_try;;
1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551 $as_echo "$ac_try_echo"; } >&5
1552 (eval "$ac_compile") 2>conftest.err
1554 if test -s conftest.err; then
1555 grep -v '^ *+' conftest.err >conftest.er1
1556 cat conftest.er1 >&5
1557 mv -f conftest.er1 conftest.err
1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test $ac_status = 0; } && {
1561 test -z "$ac_cxx_werror_flag" ||
1562 test ! -s conftest.err
1563 } && test -s conftest.$ac_objext; then :
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1571 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1574 } # ac_fn_cxx_try_compile
1576 # ac_fn_c_try_link LINENO
1577 # -----------------------
1578 # Try to link conftest.$ac_ext, and return whether this succeeded.
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 rm -f conftest.$ac_objext conftest$ac_exeext
1583 if { { ac_try="$ac_link"
1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_link") 2>conftest.err
1592 if test -s conftest.err; then
1593 grep -v '^ *+' conftest.err >conftest.er1
1594 cat conftest.er1 >&5
1595 mv -f conftest.er1 conftest.err
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } && {
1599 test -z "$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1601 } && test -s conftest$ac_exeext && {
1602 test "$cross_compiling" = yes ||
1603 $as_test_x conftest$ac_exeext
1607 $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1612 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1613 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1614 # interfere with the next link command; also delete a directory that is
1615 # left behind by Apple's compiler. We do this before executing the actions.
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1620 } # ac_fn_c_try_link
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1632 $as_echo_n "(cached) " >&6
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile "$LINENO"; then :
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1651 } # ac_fn_c_check_header_compile
1653 # ac_fn_c_try_cpp LINENO
1654 # ----------------------
1655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 if { { ac_try="$ac_cpp conftest.$ac_ext"
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } >/dev/null && {
1675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1690 # ac_fn_c_try_run LINENO
1691 # ----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1693 # that executables *can* be run.
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>&5
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1708 { { case "(($ac_try" in
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_try") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; }; }; then :
1720 $as_echo "$as_me: program exited with status $ac_status" >&5
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724 ac_retval=$ac_status
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 # ac_fn_c_check_func LINENO FUNC VAR
1733 # ----------------------------------
1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1735 ac_fn_c_check_func ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1747 #define $2 innocuous_$2
1749 /* System header to define __stub macros and hopefully few prototypes,
1750 which can conflict with char $2 (); below.
1751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1752 <limits.h> exists even on freestanding compilers. */
1755 # include <limits.h>
1757 # include <assert.h>
1762 /* Override any GCC internal prototype to avoid an error.
1763 Use char because int might match the return type of a GCC
1764 builtin and then its argument prototype would still apply. */
1769 /* The GNU C library defines this for functions which it implements
1770 to always fail with ENOSYS. Some functions are actually named
1771 something starting with __ and the normal name is an alias. */
1772 #if defined __stub_$2 || defined __stub___$2
1784 if ac_fn_c_try_link "$LINENO"; then :
1789 rm -f core conftest.err conftest.$ac_objext \
1790 conftest$ac_exeext conftest.$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 } # ac_fn_c_check_func
1799 # ac_fn_cxx_try_cpp LINENO
1800 # ------------------------
1801 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1802 ac_fn_cxx_try_cpp ()
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 if { { ac_try="$ac_cpp conftest.$ac_ext"
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } >/dev/null && {
1821 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1822 test ! -s conftest.err
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 } # ac_fn_cxx_try_cpp
1836 # ac_fn_cxx_try_link LINENO
1837 # -------------------------
1838 # Try to link conftest.$ac_ext, and return whether this succeeded.
1839 ac_fn_cxx_try_link ()
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 rm -f conftest.$ac_objext conftest$ac_exeext
1843 if { { ac_try="$ac_link"
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_link") 2>conftest.err
1852 if test -s conftest.err; then
1853 grep -v '^ *+' conftest.err >conftest.er1
1854 cat conftest.er1 >&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && {
1859 test -z "$ac_cxx_werror_flag" ||
1860 test ! -s conftest.err
1861 } && test -s conftest$ac_exeext && {
1862 test "$cross_compiling" = yes ||
1863 $as_test_x conftest$ac_exeext
1867 $as_echo "$as_me: failed program was:" >&5
1868 sed 's/^/| /' conftest.$ac_ext >&5
1872 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1873 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1874 # interfere with the next link command; also delete a directory that is
1875 # left behind by Apple's compiler. We do this before executing the actions.
1876 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880 } # ac_fn_cxx_try_link
1881 cat >config.log <<_ACEOF
1882 This file contains any messages produced by compilers while
1883 running configure, to aid debugging if configure makes a mistake.
1885 It was created by package-unused $as_me version-unused, which was
1886 generated by GNU Autoconf 2.64. Invocation command line was
1898 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1899 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1900 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1901 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1902 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1904 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1905 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1907 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1908 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1909 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1910 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1911 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1912 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1913 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1921 test -z "$as_dir" && as_dir=.
1922 $as_echo "PATH: $as_dir"
1938 # Keep a trace of the command line.
1939 # Strip out --no-create and --no-recursion so they do not pile up.
1940 # Strip out --silent because we don't want to record it for future runs.
1941 # Also quote any args containing shell meta-characters.
1942 # Make two passes to allow for proper duplicate-argument suppression.
1946 ac_must_keep_next=false
1952 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1953 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1954 | -silent | --silent | --silen | --sile | --sil)
1957 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1960 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1962 as_fn_append ac_configure_args1 " '$ac_arg'"
1963 if test $ac_must_keep_next = true; then
1964 ac_must_keep_next=false # Got value, back to normal.
1967 *=* | --config-cache | -C | -disable-* | --disable-* \
1968 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1969 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1970 | -with-* | --with-* | -without-* | --without-* | --x)
1971 case "$ac_configure_args0 " in
1972 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1975 -* ) ac_must_keep_next=true ;;
1978 as_fn_append ac_configure_args " '$ac_arg'"
1983 { ac_configure_args0=; unset ac_configure_args0;}
1984 { ac_configure_args1=; unset ac_configure_args1;}
1986 # When interrupted or exit'd, cleanup temporary files, and complete
1987 # config.log. We remove comments because anyway the quotes in there
1988 # would cause problems or look ugly.
1989 # WARNING: Use '\'' to represent an apostrophe within the trap.
1990 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1991 trap 'exit_status=$?
1992 # Save into config.log some information that might help in debugging.
1997 ## ---------------- ##
1998 ## Cache variables. ##
1999 ## ---------------- ##
2002 # The following way of writing the cache mishandles newlines in values,
2004 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2005 eval ac_val=\$$ac_var
2009 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2010 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2013 _ | IFS | as_nl) ;; #(
2014 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2015 *) { eval $ac_var=; unset $ac_var;} ;;
2020 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2021 *${as_nl}ac_space=\ *)
2023 "s/'\''/'\''\\\\'\'''\''/g;
2024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2027 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2035 ## ----------------- ##
2036 ## Output variables. ##
2037 ## ----------------- ##
2040 for ac_var in $ac_subst_vars
2042 eval ac_val=\$$ac_var
2044 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2046 $as_echo "$ac_var='\''$ac_val'\''"
2050 if test -n "$ac_subst_files"; then
2052 ## ------------------- ##
2053 ## File substitutions. ##
2054 ## ------------------- ##
2057 for ac_var in $ac_subst_files
2059 eval ac_val=\$$ac_var
2061 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2063 $as_echo "$ac_var='\''$ac_val'\''"
2068 if test -s confdefs.h; then
2078 test "$ac_signal" != 0 &&
2079 $as_echo "$as_me: caught signal $ac_signal"
2080 $as_echo "$as_me: exit $exit_status"
2082 rm -f core *.core core.conftest.* &&
2083 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2086 for ac_signal in 1 2 13 15; do
2087 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2091 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2092 rm -f -r conftest* confdefs.h
2094 $as_echo "/* confdefs.h */" > confdefs.h
2096 # Predefined preprocessor variables.
2098 cat >>confdefs.h <<_ACEOF
2099 #define PACKAGE_NAME "$PACKAGE_NAME"
2102 cat >>confdefs.h <<_ACEOF
2103 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_STRING "$PACKAGE_STRING"
2114 cat >>confdefs.h <<_ACEOF
2115 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2118 cat >>confdefs.h <<_ACEOF
2119 #define PACKAGE_URL "$PACKAGE_URL"
2123 # Let the site file select an alternate cache file if it wants to.
2124 # Prefer an explicitly selected file to automatically selected ones.
2127 if test -n "$CONFIG_SITE"; then
2128 ac_site_file1=$CONFIG_SITE
2129 elif test "x$prefix" != xNONE; then
2130 ac_site_file1=$prefix/share/config.site
2131 ac_site_file2=$prefix/etc/config.site
2133 ac_site_file1=$ac_default_prefix/share/config.site
2134 ac_site_file2=$ac_default_prefix/etc/config.site
2136 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2138 test "x$ac_site_file" = xNONE && continue
2139 if test -r "$ac_site_file"; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2141 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2142 sed 's/^/| /' "$ac_site_file" >&5
2147 if test -r "$cache_file"; then
2148 # Some versions of bash will fail to source /dev/null (special
2149 # files actually), so we avoid doing that.
2150 if test -f "$cache_file"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2152 $as_echo "$as_me: loading cache $cache_file" >&6;}
2154 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2155 *) . "./$cache_file";;
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2160 $as_echo "$as_me: creating cache $cache_file" >&6;}
2164 # Check that the precious variables saved in the cache have kept the same
2166 ac_cache_corrupted=false
2167 for ac_var in $ac_precious_vars; do
2168 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2169 eval ac_new_set=\$ac_env_${ac_var}_set
2170 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2171 eval ac_new_val=\$ac_env_${ac_var}_value
2172 case $ac_old_set,$ac_new_set in
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2175 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2176 ac_cache_corrupted=: ;;
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2179 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2180 ac_cache_corrupted=: ;;
2183 if test "x$ac_old_val" != "x$ac_new_val"; then
2184 # differences in whitespace do not lead to failure.
2185 ac_old_val_w=`echo x $ac_old_val`
2186 ac_new_val_w=`echo x $ac_new_val`
2187 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2189 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2190 ac_cache_corrupted=:
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2193 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2194 eval $ac_var=\$ac_old_val
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2197 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2199 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2202 # Pass precious variables to config.status.
2203 if test "$ac_new_set" = set; then
2205 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2206 *) ac_arg=$ac_var=$ac_new_val ;;
2208 case " $ac_configure_args " in
2209 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2210 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2214 if $ac_cache_corrupted; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2218 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2219 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2221 ## -------------------- ##
2222 ## Main body of script. ##
2223 ## -------------------- ##
2226 ac_cpp='$CPP $CPPFLAGS'
2227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2238 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2239 # Check whether --enable-version-specific-runtime-libs was given.
2240 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2241 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2242 yes) version_specific_libs=yes ;;
2243 no) version_specific_libs=no ;;
2244 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2247 version_specific_libs=no
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2251 $as_echo "$version_specific_libs" >&6; }
2253 # Do not delete or change the following two lines. For why, see
2254 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2256 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2257 for ac_t in install-sh install.sh shtool; do
2258 if test -f "$ac_dir/$ac_t"; then
2260 ac_install_sh="$ac_aux_dir/$ac_t -c"
2265 if test -z "$ac_aux_dir"; then
2266 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2269 # These three variables are undocumented and unsupported,
2270 # and are intended to be withdrawn in a future Autoconf release.
2271 # They can cause serious problems if a builder's source tree is in a directory
2272 # whose full name contains unusual characters.
2273 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2274 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2275 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2278 # Make sure we can run config.sub.
2279 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2280 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2283 $as_echo_n "checking build system type... " >&6; }
2284 if test "${ac_cv_build+set}" = set; then :
2285 $as_echo_n "(cached) " >&6
2287 ac_build_alias=$build_alias
2288 test "x$ac_build_alias" = x &&
2289 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2290 test "x$ac_build_alias" = x &&
2291 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2292 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2293 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2297 $as_echo "$ac_cv_build" >&6; }
2298 case $ac_cv_build in
2300 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2303 ac_save_IFS=$IFS; IFS='-'
2309 # Remember, the first character of IFS is used to create $*,
2310 # except with old shells:
2313 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2317 $as_echo_n "checking host system type... " >&6; }
2318 if test "${ac_cv_host+set}" = set; then :
2319 $as_echo_n "(cached) " >&6
2321 if test "x$host_alias" = x; then
2322 ac_cv_host=$ac_cv_build
2324 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2325 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2330 $as_echo "$ac_cv_host" >&6; }
2333 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2336 ac_save_IFS=$IFS; IFS='-'
2342 # Remember, the first character of IFS is used to create $*,
2343 # except with old shells:
2346 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2350 $as_echo_n "checking target system type... " >&6; }
2351 if test "${ac_cv_target+set}" = set; then :
2352 $as_echo_n "(cached) " >&6
2354 if test "x$target_alias" = x; then
2355 ac_cv_target=$ac_cv_host
2357 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2358 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2363 $as_echo "$ac_cv_target" >&6; }
2364 case $ac_cv_target in
2366 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2368 target=$ac_cv_target
2369 ac_save_IFS=$IFS; IFS='-'
2375 # Remember, the first character of IFS is used to create $*,
2376 # except with old shells:
2379 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2382 # The aliases save the names the user supplied, while $host etc.
2383 # will get canonicalized.
2384 test -n "$target_alias" &&
2385 test "$program_prefix$program_suffix$program_transform_name" = \
2387 program_prefix=${target_alias}-
2389 target_alias=${target_alias-$host_alias}
2392 am__api_version='1.11'
2394 # Find a good install program. We prefer a C program (faster),
2395 # so one script is as good as another. But avoid the broken or
2396 # incompatible versions:
2397 # SysV /etc/install, /usr/sbin/install
2398 # SunOS /usr/etc/install
2399 # IRIX /sbin/install
2401 # AmigaOS /C/install, which installs bootblocks on floppy discs
2402 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2403 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2404 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2405 # OS/2's system install, which has a completely different semantic
2406 # ./install, which can be erroneously created by make from ./install.sh.
2407 # Reject install programs that cannot install multiple files.
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2409 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2410 if test -z "$INSTALL"; then
2411 if test "${ac_cv_path_install+set}" = set; then :
2412 $as_echo_n "(cached) " >&6
2414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418 test -z "$as_dir" && as_dir=.
2419 # Account for people who put trailing slashes in PATH elements.
2420 case $as_dir/ in #((
2421 ./ | .// | /[cC]/* | \
2422 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2423 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2426 # OSF1 and SCO ODT 3.0 have their own names for install.
2427 # Don't use installbsd from OSF since it installs stuff as root
2429 for ac_prog in ginstall scoinst install; do
2430 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2432 if test $ac_prog = install &&
2433 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2434 # AIX install. It has an incompatible calling convention.
2436 elif test $ac_prog = install &&
2437 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2438 # program-specific install script used by HP pwplus--don't use.
2441 rm -rf conftest.one conftest.two conftest.dir
2442 echo one > conftest.one
2443 echo two > conftest.two
2445 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2446 test -s conftest.one && test -s conftest.two &&
2447 test -s conftest.dir/conftest.one &&
2448 test -s conftest.dir/conftest.two
2450 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2463 rm -rf conftest.one conftest.two conftest.dir
2466 if test "${ac_cv_path_install+set}" = set; then
2467 INSTALL=$ac_cv_path_install
2469 # As a last resort, use the slow shell script. Don't cache a
2470 # value for INSTALL within a source directory, because that will
2471 # break other packages using the cache if that directory is
2472 # removed, or if the value is a relative name.
2473 INSTALL=$ac_install_sh
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2477 $as_echo "$INSTALL" >&6; }
2479 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2480 # It thinks the first close brace ends the variable substitution.
2481 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2483 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2485 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2488 $as_echo_n "checking whether build environment is sane... " >&6; }
2491 echo timestamp > conftest.file
2492 # Reject unsafe characters in $srcdir or the absolute working directory
2493 # name. Accept space and tab only in the latter.
2497 *[\\\"\#\$\&\'\`$am_lf]*)
2498 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2501 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2502 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2505 # Do `set' in a subshell so we don't clobber the current shell's
2506 # arguments. Must try -L first in case configure is actually a
2507 # symlink; some systems play weird games with the mod time of symlinks
2508 # (eg FreeBSD returns the mod time of the symlink's containing
2511 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2512 if test "$*" = "X"; then
2514 set X `ls -t "$srcdir/configure" conftest.file`
2517 if test "$*" != "X $srcdir/configure conftest.file" \
2518 && test "$*" != "X conftest.file $srcdir/configure"; then
2520 # If neither matched, then we have a broken ls. This can happen
2521 # if, for instance, CONFIG_SHELL is bash and it inherits a
2522 # broken ls alias from the environment. This has actually
2523 # happened. Such a system could not be considered "sane".
2524 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2525 alias in your environment" "$LINENO" 5
2528 test "$2" = conftest.file
2534 as_fn_error "newly created file is older than distributed files!
2535 Check your system clock" "$LINENO" 5
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2538 $as_echo "yes" >&6; }
2539 test "$program_prefix" != NONE &&
2540 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2541 # Use a double $ so make ignores it.
2542 test "$program_suffix" != NONE &&
2543 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2544 # Double any \ or $.
2545 # By default was `s,x,x', remove it if useless.
2546 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2547 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2549 # expand $ac_aux_dir to an absolute path
2550 am_aux_dir=`cd $ac_aux_dir && pwd`
2552 if test x"${MISSING+set}" != xset; then
2555 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2557 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2560 # Use eval to expand $SHELL
2561 if eval "$MISSING --run true"; then
2562 am_missing_run="$MISSING --run "
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2566 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2569 if test x"${install_sh}" != xset; then
2572 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2574 install_sh="\${SHELL} $am_aux_dir/install-sh"
2578 # Installed binaries are usually stripped using `strip' when the user
2579 # run `make install-strip'. However `strip' might not be the right
2580 # tool to use in cross-compilation environments, therefore Automake
2581 # will honor the `STRIP' environment variable to overrule this program.
2582 if test "$cross_compiling" != no; then
2583 if test -n "$ac_tool_prefix"; then
2584 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2585 set dummy ${ac_tool_prefix}strip; ac_word=$2
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2587 $as_echo_n "checking for $ac_word... " >&6; }
2588 if test "${ac_cv_prog_STRIP+set}" = set; then :
2589 $as_echo_n "(cached) " >&6
2591 if test -n "$STRIP"; then
2592 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir=.
2599 for ac_exec_ext in '' $ac_executable_extensions; do
2600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 STRIP=$ac_cv_prog_STRIP
2612 if test -n "$STRIP"; then
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2614 $as_echo "$STRIP" >&6; }
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2617 $as_echo "no" >&6; }
2622 if test -z "$ac_cv_prog_STRIP"; then
2624 # Extract the first word of "strip", so it can be a program name with args.
2625 set dummy strip; ac_word=$2
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2627 $as_echo_n "checking for $ac_word... " >&6; }
2628 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2629 $as_echo_n "(cached) " >&6
2631 if test -n "$ac_ct_STRIP"; then
2632 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 test -z "$as_dir" && as_dir=.
2639 for ac_exec_ext in '' $ac_executable_extensions; do
2640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2641 ac_cv_prog_ac_ct_STRIP="strip"
2642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2651 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2652 if test -n "$ac_ct_STRIP"; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2654 $as_echo "$ac_ct_STRIP" >&6; }
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2657 $as_echo "no" >&6; }
2660 if test "x$ac_ct_STRIP" = x; then
2663 case $cross_compiling:$ac_tool_warned in
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2667 ac_tool_warned=yes ;;
2672 STRIP="$ac_cv_prog_STRIP"
2676 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2679 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2680 if test -z "$MKDIR_P"; then
2681 if test "${ac_cv_path_mkdir+set}" = set; then :
2682 $as_echo_n "(cached) " >&6
2684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2688 test -z "$as_dir" && as_dir=.
2689 for ac_prog in mkdir gmkdir; do
2690 for ac_exec_ext in '' $ac_executable_extensions; do
2691 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2692 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2693 'mkdir (GNU coreutils) '* | \
2694 'mkdir (coreutils) '* | \
2695 'mkdir (fileutils) '4.1*)
2696 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2706 if test "${ac_cv_path_mkdir+set}" = set; then
2707 MKDIR_P="$ac_cv_path_mkdir -p"
2709 # As a last resort, use the slow shell script. Don't cache a
2710 # value for MKDIR_P within a source directory, because that will
2711 # break other packages using the cache if that directory is
2712 # removed, or if the value is a relative name.
2713 test -d ./--version && rmdir ./--version
2714 MKDIR_P="$ac_install_sh -d"
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2718 $as_echo "$MKDIR_P" >&6; }
2722 [\\/$]* | ?:[\\/]*) ;;
2723 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2726 for ac_prog in gawk mawk nawk awk
2728 # Extract the first word of "$ac_prog", so it can be a program name with args.
2729 set dummy $ac_prog; ac_word=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if test "${ac_cv_prog_AWK+set}" = set; then :
2733 $as_echo_n "(cached) " >&6
2735 if test -n "$AWK"; then
2736 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_prog_AWK="$ac_prog"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756 if test -n "$AWK"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2758 $as_echo "$AWK" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2765 test -n "$AWK" && break
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2769 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2771 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2772 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2773 $as_echo_n "(cached) " >&6
2775 cat >conftest.make <<\_ACEOF
2778 @echo '@@@%%%=$(MAKE)=@@@%%%'
2780 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2781 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2783 eval ac_cv_prog_make_${ac_make}_set=yes;;
2785 eval ac_cv_prog_make_${ac_make}_set=no;;
2789 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2791 $as_echo "yes" >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2796 SET_MAKE="MAKE=${MAKE-make}"
2799 rm -rf .tst 2>/dev/null
2800 mkdir .tst 2>/dev/null
2801 if test -d .tst; then
2806 rmdir .tst 2>/dev/null
2808 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2809 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2810 # is not polluted with repeated "-I."
2811 am__isrc=' -I$(srcdir)'
2812 # test to see if srcdir already configured
2813 if test -f $srcdir/config.status; then
2814 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2818 # test whether we have cygpath
2819 if test -z "$CYGPATH_W"; then
2820 if (cygpath --version) >/dev/null 2>/dev/null; then
2821 CYGPATH_W='cygpath -w'
2828 # Define the identity of the package.
2829 PACKAGE='package-unused'
2830 VERSION='version-unused'
2833 cat >>confdefs.h <<_ACEOF
2834 #define PACKAGE "$PACKAGE"
2838 cat >>confdefs.h <<_ACEOF
2839 #define VERSION "$VERSION"
2842 # Some tools Automake needs.
2844 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2847 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2850 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2853 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2856 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2858 # We need awk for the "check" target. The system "awk" is bad on
2860 # Always define AMTAR for backward compatibility.
2862 AMTAR=${AMTAR-"${am_missing_run}tar"}
2864 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2870 # Default to --enable-multilib
2871 # Check whether --enable-multilib was given.
2872 if test "${enable_multilib+set}" = set; then :
2873 enableval=$enable_multilib; case "$enableval" in
2874 yes) multilib=yes ;;
2876 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2883 # We may get other options which we leave undocumented:
2884 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2885 # See config-ml.in if you want the gory details.
2887 if test "$srcdir" = "."; then
2888 if test "$with_target_subdir" != "."; then
2889 multi_basedir="$srcdir/$with_multisrctop../.."
2891 multi_basedir="$srcdir/$with_multisrctop.."
2894 multi_basedir="$srcdir/.."
2898 # Even if the default multilib is not a cross compilation,
2899 # it may be that some of the other multilibs are.
2900 if test $cross_compiling = no && test $multilib = yes \
2901 && test "x${with_multisubdir}" != x ; then
2902 cross_compiling=maybe
2905 ac_config_commands="$ac_config_commands default-1"
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2909 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2910 # Check whether --enable-maintainer-mode was given.
2911 if test "${enable_maintainer_mode+set}" = set; then :
2912 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2914 USE_MAINTAINER_MODE=no
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2918 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2919 if test $USE_MAINTAINER_MODE = yes; then
2920 MAINTAINER_MODE_TRUE=
2921 MAINTAINER_MODE_FALSE='#'
2923 MAINTAINER_MODE_TRUE='#'
2924 MAINTAINER_MODE_FALSE=
2927 MAINT=$MAINTAINER_MODE_TRUE
2931 # Calculate toolexeclibdir
2932 # Also toolexecdir, though it's only used in toolexeclibdir
2933 case ${version_specific_libs} in
2935 # Need the gcc compiler version to know where to install libraries
2936 # and header files if --enable-version-specific-runtime-libs option
2938 toolexecdir='$(libdir)/gcc/$(target_alias)'
2939 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2942 if test -n "$with_cross_host" &&
2943 test x"$with_cross_host" != x"no"; then
2944 # Install a library built with a cross compiler in tooldir, not libdir.
2945 toolexecdir='$(exec_prefix)/$(target_alias)'
2946 toolexeclibdir='$(toolexecdir)/lib'
2948 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2949 toolexeclibdir='$(libdir)'
2951 multi_os_directory=`$CC -print-multi-os-directory`
2952 case $multi_os_directory in
2953 .) ;; # Avoid trailing /.
2954 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2961 # Checks for programs.
2963 ac_cpp='$CPP $CPPFLAGS'
2964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2967 if test -n "$ac_tool_prefix"; then
2968 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2969 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if test "${ac_cv_prog_CC+set}" = set; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$CC"; then
2976 ac_cv_prog_CC="$CC" # Let the user override the test.
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir=.
2983 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2985 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 if test -n "$CC"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2998 $as_echo "$CC" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3006 if test -z "$ac_cv_prog_CC"; then
3008 # Extract the first word of "gcc", so it can be a program name with args.
3009 set dummy gcc; ac_word=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3013 $as_echo_n "(cached) " >&6
3015 if test -n "$ac_ct_CC"; then
3016 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir=.
3023 for ac_exec_ext in '' $ac_executable_extensions; do
3024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3025 ac_cv_prog_ac_ct_CC="gcc"
3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3036 if test -n "$ac_ct_CC"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3038 $as_echo "$ac_ct_CC" >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041 $as_echo "no" >&6; }
3044 if test "x$ac_ct_CC" = x; then
3047 case $cross_compiling:$ac_tool_warned in
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3051 ac_tool_warned=yes ;;
3059 if test -z "$CC"; then
3060 if test -n "$ac_tool_prefix"; then
3061 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3062 set dummy ${ac_tool_prefix}cc; ac_word=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if test "${ac_cv_prog_CC+set}" = set; then :
3066 $as_echo_n "(cached) " >&6
3068 if test -n "$CC"; then
3069 ac_cv_prog_CC="$CC" # Let the user override the test.
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 test -z "$as_dir" && as_dir=.
3076 for ac_exec_ext in '' $ac_executable_extensions; do
3077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3078 ac_cv_prog_CC="${ac_tool_prefix}cc"
3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 if test -n "$CC"; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3091 $as_echo "$CC" >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3100 if test -z "$CC"; then
3101 # Extract the first word of "cc", so it can be a program name with args.
3102 set dummy cc; ac_word=$2
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3104 $as_echo_n "checking for $ac_word... " >&6; }
3105 if test "${ac_cv_prog_CC+set}" = set; then :
3106 $as_echo_n "(cached) " >&6
3108 if test -n "$CC"; then
3109 ac_cv_prog_CC="$CC" # Let the user override the test.
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3119 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3120 ac_prog_rejected=yes
3124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 if test $ac_prog_rejected = yes; then
3132 # We found a bogon in the path, so make sure we never use it.
3133 set dummy $ac_cv_prog_CC
3135 if test $# != 0; then
3136 # We chose a different compiler from the bogus one.
3137 # However, it has the same basename, so the bogon will be chosen
3138 # first if we set CC to just the basename; use the full file name.
3140 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3146 if test -n "$CC"; then
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3148 $as_echo "$CC" >&6; }
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151 $as_echo "no" >&6; }
3156 if test -z "$CC"; then
3157 if test -n "$ac_tool_prefix"; then
3158 for ac_prog in cl.exe
3160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3161 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if test "${ac_cv_prog_CC+set}" = set; then :
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$CC"; then
3168 ac_cv_prog_CC="$CC" # Let the user override the test.
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir=.
3175 for ac_exec_ext in '' $ac_executable_extensions; do
3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 if test -n "$CC"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3190 $as_echo "$CC" >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193 $as_echo "no" >&6; }
3197 test -n "$CC" && break
3200 if test -z "$CC"; then
3202 for ac_prog in cl.exe
3204 # Extract the first word of "$ac_prog", so it can be a program name with args.
3205 set dummy $ac_prog; ac_word=$2
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207 $as_echo_n "checking for $ac_word... " >&6; }
3208 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3209 $as_echo_n "(cached) " >&6
3211 if test -n "$ac_ct_CC"; then
3212 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 test -z "$as_dir" && as_dir=.
3219 for ac_exec_ext in '' $ac_executable_extensions; do
3220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3221 ac_cv_prog_ac_ct_CC="$ac_prog"
3222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3231 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3232 if test -n "$ac_ct_CC"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3234 $as_echo "$ac_ct_CC" >&6; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3241 test -n "$ac_ct_CC" && break
3244 if test "x$ac_ct_CC" = x; then
3247 case $cross_compiling:$ac_tool_warned in
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3251 ac_tool_warned=yes ;;
3260 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 as_fn_error "no acceptable C compiler found in \$PATH
3263 See \`config.log' for more details." "$LINENO" 5; }
3265 # Provide some information about the compiler.
3266 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3269 for ac_option in --version -v -V -qversion; do
3270 { { ac_try="$ac_compiler $ac_option >&5"
3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273 *) ac_try_echo=$ac_try;;
3275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3276 $as_echo "$ac_try_echo"; } >&5
3277 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3279 if test -s conftest.err; then
3281 ... rest of stderr output deleted ...
3282 10q' conftest.err >conftest.er1
3283 cat conftest.er1 >&5
3284 rm -f conftest.er1 conftest.err
3286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3287 test $ac_status = 0; }
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3301 ac_clean_files_save=$ac_clean_files
3302 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3303 # Try to create an executable without -o first, disregard a.out.
3304 # It will help us diagnose broken compilers, and finding out an intuition
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3307 $as_echo_n "checking for C compiler default output file name... " >&6; }
3308 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3310 # The possible output files:
3311 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3314 for ac_file in $ac_files
3317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3318 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3323 if { { ac_try="$ac_link_default"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3329 $as_echo "$ac_try_echo"; } >&5
3330 (eval "$ac_link_default") 2>&5
3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3333 test $ac_status = 0; }; then :
3334 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3335 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3336 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3337 # so that the user can short-circuit this test for compilers unknown to
3339 for ac_file in $ac_files ''
3341 test -f "$ac_file" || continue
3343 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3346 # We found the default executable, but exeext='' is most
3350 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3352 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3354 # We set ac_cv_exeext here because the later test for it is not
3355 # safe: cross compilers may not add the suffix if given an `-o'
3356 # argument, so we may need to know it at that point already.
3357 # Even if this section looks crufty: it has the advantage of
3364 test "$ac_cv_exeext" = no && ac_cv_exeext=
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3370 $as_echo "$ac_file" >&6; }
3371 if test -z "$ac_file"; then :
3372 $as_echo "$as_me: failed program was:" >&5
3373 sed 's/^/| /' conftest.$ac_ext >&5
3375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3377 { as_fn_set_status 77
3378 as_fn_error "C compiler cannot create executables
3379 See \`config.log' for more details." "$LINENO" 5; }; }
3381 ac_exeext=$ac_cv_exeext
3383 # Check that the compiler produces executables we can run. If not, either
3384 # the compiler is broken, or we cross compile.
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3386 $as_echo_n "checking whether the C compiler works... " >&6; }
3387 # If not cross compiling, check that we can run a simple program.
3388 if test "$cross_compiling" != yes; then
3389 if { ac_try='./$ac_file'
3390 { { case "(($ac_try" in
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3395 $as_echo "$ac_try_echo"; } >&5
3396 (eval "$ac_try") 2>&5
3398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3399 test $ac_status = 0; }; }; then
3402 if test "$cross_compiling" = maybe; then
3405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3407 as_fn_error "cannot run C compiled programs.
3408 If you meant to cross compile, use \`--host'.
3409 See \`config.log' for more details." "$LINENO" 5; }
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3414 $as_echo "yes" >&6; }
3416 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3417 ac_clean_files=$ac_clean_files_save
3418 # Check that the compiler produces executables we can run. If not, either
3419 # the compiler is broken, or we cross compile.
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3421 $as_echo_n "checking whether we are cross compiling... " >&6; }
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3423 $as_echo "$cross_compiling" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3426 $as_echo_n "checking for suffix of executables... " >&6; }
3427 if { { ac_try="$ac_link"
3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3430 *) ac_try_echo=$ac_try;;
3432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3433 $as_echo "$ac_try_echo"; } >&5
3434 (eval "$ac_link") 2>&5
3436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3437 test $ac_status = 0; }; then :
3438 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3439 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3440 # work properly (i.e., refer to `conftest.exe'), while it won't with
3442 for ac_file in conftest.exe conftest conftest.*; do
3443 test -f "$ac_file" || continue
3445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3446 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3454 as_fn_error "cannot compute suffix of executables: cannot compile and link
3455 See \`config.log' for more details." "$LINENO" 5; }
3457 rm -f conftest$ac_cv_exeext
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3459 $as_echo "$ac_cv_exeext" >&6; }
3461 rm -f conftest.$ac_ext
3462 EXEEXT=$ac_cv_exeext
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3465 $as_echo_n "checking for suffix of object files... " >&6; }
3466 if test "${ac_cv_objext+set}" = set; then :
3467 $as_echo_n "(cached) " >&6
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3480 rm -f conftest.o conftest.obj
3481 if { { ac_try="$ac_compile"
3483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3484 *) ac_try_echo=$ac_try;;
3486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3487 $as_echo "$ac_try_echo"; } >&5
3488 (eval "$ac_compile") 2>&5
3490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3491 test $ac_status = 0; }; then :
3492 for ac_file in conftest.o conftest.obj conftest.*; do
3493 test -f "$ac_file" || continue;
3495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3496 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3501 $as_echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.$ac_ext >&5
3504 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3506 as_fn_error "cannot compute suffix of object files: cannot compile
3507 See \`config.log' for more details." "$LINENO" 5; }
3509 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3512 $as_echo "$ac_cv_objext" >&6; }
3513 OBJEXT=$ac_cv_objext
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3516 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3517 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3518 $as_echo_n "(cached) " >&6
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3534 if ac_fn_c_try_compile "$LINENO"; then :
3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3544 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3545 if test $ac_compiler_gnu = yes; then
3550 ac_test_CFLAGS=${CFLAGS+set}
3551 ac_save_CFLAGS=$CFLAGS
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3553 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3554 if test "${ac_cv_prog_cc_g+set}" = set; then :
3555 $as_echo_n "(cached) " >&6
3557 ac_save_c_werror_flag=$ac_c_werror_flag
3558 ac_c_werror_flag=yes
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3572 if ac_fn_c_try_compile "$LINENO"; then :
3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h. */
3587 if ac_fn_c_try_compile "$LINENO"; then :
3590 ac_c_werror_flag=$ac_save_c_werror_flag
3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3603 if ac_fn_c_try_compile "$LINENO"; then :
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3611 ac_c_werror_flag=$ac_save_c_werror_flag
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3614 $as_echo "$ac_cv_prog_cc_g" >&6; }
3615 if test "$ac_test_CFLAGS" = set; then
3616 CFLAGS=$ac_save_CFLAGS
3617 elif test $ac_cv_prog_cc_g = yes; then
3618 if test "$GCC" = yes; then
3624 if test "$GCC" = yes; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3631 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3632 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3633 $as_echo_n "(cached) " >&6
3635 ac_cv_prog_cc_c89=no
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3641 #include <sys/types.h>
3642 #include <sys/stat.h>
3643 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3644 struct buf { int x; };
3645 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3646 static char *e (p, i)
3652 static char *f (char * (*g) (char **, int), char **p, ...)
3657 s = g (p, va_arg (v,int));
3662 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3663 function prototypes and stuff, but not '\xHH' hex character constants.
3664 These don't provoke an error unfortunately, instead are silently treated
3665 as 'x'. The following induces an error, until -std is added to get
3666 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3667 array size at least. It's necessary to write '\x00'==0 to get something
3668 that's true only with -std. */
3669 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3671 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3672 inside strings and character constants. */
3674 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3676 int test (int i, double x);
3677 struct s1 {int (*f) (int a);};
3678 struct s2 {int (*f) (double a);};
3679 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3685 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3690 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3691 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3693 CC="$ac_save_CC $ac_arg"
3694 if ac_fn_c_try_compile "$LINENO"; then :
3695 ac_cv_prog_cc_c89=$ac_arg
3697 rm -f core conftest.err conftest.$ac_objext
3698 test "x$ac_cv_prog_cc_c89" != "xno" && break
3700 rm -f conftest.$ac_ext
3705 case "x$ac_cv_prog_cc_c89" in
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3708 $as_echo "none needed" >&6; } ;;
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3711 $as_echo "unsupported" >&6; } ;;
3713 CC="$CC $ac_cv_prog_cc_c89"
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3715 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3717 if test "x$ac_cv_prog_cc_c89" != xno; then :
3722 ac_cpp='$CPP $CPPFLAGS'
3723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3726 DEPDIR="${am__leading_dot}deps"
3728 ac_config_commands="$ac_config_commands depfiles"
3731 am_make=${MAKE-make}
3732 cat > confinc << 'END'
3734 @echo this is the am__doit target
3737 # If we don't find an include directive, just comment out the code.
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3739 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3743 # First try GNU make style include.
3744 echo "include confinc" > confmf
3745 # Ignore all kinds of additional output from `make'.
3746 case `$am_make -s -f confmf 2> /dev/null` in #(
3747 *the\ am__doit\ target*)
3753 # Now try BSD make style include.
3754 if test "$am__include" = "#"; then
3755 echo '.include "confinc"' > confmf
3756 case `$am_make -s -f confmf 2> /dev/null` in #(
3757 *the\ am__doit\ target*)
3758 am__include=.include
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3767 $as_echo "$_am_result" >&6; }
3768 rm -f confinc confmf
3770 # Check whether --enable-dependency-tracking was given.
3771 if test "${enable_dependency_tracking+set}" = set; then :
3772 enableval=$enable_dependency_tracking;
3775 if test "x$enable_dependency_tracking" != xno; then
3776 am_depcomp="$ac_aux_dir/depcomp"
3779 if test "x$enable_dependency_tracking" != xno; then
3789 depcc="$CC" am_compiler_list=
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3792 $as_echo_n "checking dependency style of $depcc... " >&6; }
3793 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3794 $as_echo_n "(cached) " >&6
3796 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3797 # We make a subdir and do the tests there. Otherwise we can end up
3798 # making bogus files that we don't know about and never remove. For
3799 # instance it was reported that on HP-UX the gcc test will end up
3800 # making a dummy file named `D' -- because `-MD' means `put the output
3803 # Copy depcomp to subdir because otherwise we won't find it if we're
3804 # using a relative directory.
3805 cp "$am_depcomp" conftest.dir
3807 # We will build objects and dependencies in a subdirectory because
3808 # it helps to detect inapplicable dependency modes. For instance
3809 # both Tru64's cc and ICC support -MD to output dependencies as a
3810 # side effect of compilation, but ICC will put the dependencies in
3811 # the current directory while Tru64 will put them in the object
3815 am_cv_CC_dependencies_compiler_type=none
3816 if test "$am_compiler_list" = ""; then
3817 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3820 case " $depcc " in #(
3821 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3824 for depmode in $am_compiler_list; do
3825 # Setup a source with many dependencies, because some compilers
3826 # like to wrap large dependency lists on column 80 (with \), and
3827 # we should not choose a depcomp mode which is confused by this.
3829 # We need to recreate these files for each test, as the compiler may
3830 # overwrite some of them when testing with obscure command lines.
3831 # This happens at least with the AIX C compiler.
3833 for i in 1 2 3 4 5 6; do
3834 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3835 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3836 # Solaris 8's {/usr,}/bin/sh.
3837 touch sub/conftst$i.h
3839 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3841 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3842 # mode. It turns out that the SunPro C++ compiler does not properly
3843 # handle `-M -o', and we need to detect this. Also, some Intel
3844 # versions had trouble with output in subdirs
3845 am__obj=sub/conftest.${OBJEXT-o}
3846 am__minus_obj="-o $am__obj"
3849 # This depmode causes a compiler race in universal mode.
3850 test "$am__universal" = false || continue
3853 # after this tag, mechanisms are not by side-effect, so they'll
3854 # only be used when explicitly requested
3855 if test "x$enable_dependency_tracking" = xyes; then
3861 msvisualcpp | msvcmsys)
3862 # This compiler won't grok `-c -o', but also, the minuso test has
3863 # not run yet. These depmodes are late enough in the game, and
3864 # so weak that their functioning should not be impacted.
3865 am__obj=conftest.${OBJEXT-o}
3870 if depmode=$depmode \
3871 source=sub/conftest.c object=$am__obj \
3872 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3873 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3874 >/dev/null 2>conftest.err &&
3875 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3876 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3877 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3878 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3879 # icc doesn't choke on unknown options, it will just issue warnings
3880 # or remarks (even with -Werror). So we grep stderr for any message
3881 # that says an option was ignored or not supported.
3882 # When given -MP, icc 7.0 and 7.1 complain thusly:
3883 # icc: Command line warning: ignoring option '-M'; no argument required
3884 # The diagnosis changed in icc 8.0:
3885 # icc: Command line remark: option '-MP' not supported
3886 if (grep 'ignoring option' conftest.err ||
3887 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3888 am_cv_CC_dependencies_compiler_type=$depmode
3897 am_cv_CC_dependencies_compiler_type=none
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3902 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3903 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3906 test "x$enable_dependency_tracking" != xno \
3907 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3909 am__fastdepCC_FALSE='#'
3911 am__fastdepCC_TRUE='#'
3912 am__fastdepCC_FALSE=
3917 ac_cpp='$CXXCPP $CPPFLAGS'
3918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3921 if test -z "$CXX"; then
3922 if test -n "$CCC"; then
3925 if test -n "$ac_tool_prefix"; then
3926 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if test "${ac_cv_prog_CXX+set}" = set; then :
3933 $as_echo_n "(cached) " >&6
3935 if test -n "$CXX"; then
3936 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3945 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 if test -n "$CXX"; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3958 $as_echo "$CXX" >&6; }
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3965 test -n "$CXX" && break
3968 if test -z "$CXX"; then
3970 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3972 # Extract the first word of "$ac_prog", so it can be a program name with args.
3973 set dummy $ac_prog; ac_word=$2
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3975 $as_echo_n "checking for $ac_word... " >&6; }
3976 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3977 $as_echo_n "(cached) " >&6
3979 if test -n "$ac_ct_CXX"; then
3980 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986 test -z "$as_dir" && as_dir=.
3987 for ac_exec_ext in '' $ac_executable_extensions; do
3988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3989 ac_cv_prog_ac_ct_CXX="$ac_prog"
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4000 if test -n "$ac_ct_CXX"; then
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4002 $as_echo "$ac_ct_CXX" >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4009 test -n "$ac_ct_CXX" && break
4012 if test "x$ac_ct_CXX" = x; then
4015 case $cross_compiling:$ac_tool_warned in
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4019 ac_tool_warned=yes ;;
4027 # Provide some information about the compiler.
4028 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4031 for ac_option in --version -v -V -qversion; do
4032 { { ac_try="$ac_compiler $ac_option >&5"
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4041 if test -s conftest.err; then
4043 ... rest of stderr output deleted ...
4044 10q' conftest.err >conftest.er1
4045 cat conftest.er1 >&5
4046 rm -f conftest.er1 conftest.err
4048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049 test $ac_status = 0; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4053 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4054 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4055 $as_echo_n "(cached) " >&6
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4071 if ac_fn_cxx_try_compile "$LINENO"; then :
4076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4077 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4081 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4082 if test $ac_compiler_gnu = yes; then
4087 ac_test_CXXFLAGS=${CXXFLAGS+set}
4088 ac_save_CXXFLAGS=$CXXFLAGS
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4090 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4091 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4092 $as_echo_n "(cached) " >&6
4094 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4095 ac_cxx_werror_flag=yes
4098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 /* end confdefs.h. */
4109 if ac_fn_cxx_try_compile "$LINENO"; then :
4110 ac_cv_prog_cxx_g=yes
4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4124 if ac_fn_cxx_try_compile "$LINENO"; then :
4127 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4140 if ac_fn_cxx_try_compile "$LINENO"; then :
4141 ac_cv_prog_cxx_g=yes
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4148 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4151 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4152 if test "$ac_test_CXXFLAGS" = set; then
4153 CXXFLAGS=$ac_save_CXXFLAGS
4154 elif test $ac_cv_prog_cxx_g = yes; then
4155 if test "$GXX" = yes; then
4161 if test "$GXX" = yes; then
4168 ac_cpp='$CPP $CPPFLAGS'
4169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4173 depcc="$CXX" am_compiler_list=
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4176 $as_echo_n "checking dependency style of $depcc... " >&6; }
4177 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4178 $as_echo_n "(cached) " >&6
4180 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4181 # We make a subdir and do the tests there. Otherwise we can end up
4182 # making bogus files that we don't know about and never remove. For
4183 # instance it was reported that on HP-UX the gcc test will end up
4184 # making a dummy file named `D' -- because `-MD' means `put the output
4187 # Copy depcomp to subdir because otherwise we won't find it if we're
4188 # using a relative directory.
4189 cp "$am_depcomp" conftest.dir
4191 # We will build objects and dependencies in a subdirectory because
4192 # it helps to detect inapplicable dependency modes. For instance
4193 # both Tru64's cc and ICC support -MD to output dependencies as a
4194 # side effect of compilation, but ICC will put the dependencies in
4195 # the current directory while Tru64 will put them in the object
4199 am_cv_CXX_dependencies_compiler_type=none
4200 if test "$am_compiler_list" = ""; then
4201 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4204 case " $depcc " in #(
4205 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4208 for depmode in $am_compiler_list; do
4209 # Setup a source with many dependencies, because some compilers
4210 # like to wrap large dependency lists on column 80 (with \), and
4211 # we should not choose a depcomp mode which is confused by this.
4213 # We need to recreate these files for each test, as the compiler may
4214 # overwrite some of them when testing with obscure command lines.
4215 # This happens at least with the AIX C compiler.
4217 for i in 1 2 3 4 5 6; do
4218 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4219 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4220 # Solaris 8's {/usr,}/bin/sh.
4221 touch sub/conftst$i.h
4223 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4225 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4226 # mode. It turns out that the SunPro C++ compiler does not properly
4227 # handle `-M -o', and we need to detect this. Also, some Intel
4228 # versions had trouble with output in subdirs
4229 am__obj=sub/conftest.${OBJEXT-o}
4230 am__minus_obj="-o $am__obj"
4233 # This depmode causes a compiler race in universal mode.
4234 test "$am__universal" = false || continue
4237 # after this tag, mechanisms are not by side-effect, so they'll
4238 # only be used when explicitly requested
4239 if test "x$enable_dependency_tracking" = xyes; then
4245 msvisualcpp | msvcmsys)
4246 # This compiler won't grok `-c -o', but also, the minuso test has
4247 # not run yet. These depmodes are late enough in the game, and
4248 # so weak that their functioning should not be impacted.
4249 am__obj=conftest.${OBJEXT-o}
4254 if depmode=$depmode \
4255 source=sub/conftest.c object=$am__obj \
4256 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4257 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4258 >/dev/null 2>conftest.err &&
4259 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4260 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4261 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4262 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4263 # icc doesn't choke on unknown options, it will just issue warnings
4264 # or remarks (even with -Werror). So we grep stderr for any message
4265 # that says an option was ignored or not supported.
4266 # When given -MP, icc 7.0 and 7.1 complain thusly:
4267 # icc: Command line warning: ignoring option '-M'; no argument required
4268 # The diagnosis changed in icc 8.0:
4269 # icc: Command line remark: option '-MP' not supported
4270 if (grep 'ignoring option' conftest.err ||
4271 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4272 am_cv_CXX_dependencies_compiler_type=$depmode
4281 am_cv_CXX_dependencies_compiler_type=none
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4286 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4287 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4290 test "x$enable_dependency_tracking" != xno \
4291 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4292 am__fastdepCXX_TRUE=
4293 am__fastdepCXX_FALSE='#'
4295 am__fastdepCXX_TRUE='#'
4296 am__fastdepCXX_FALSE=
4300 # By default we simply use the C compiler to build assembly code.
4302 test "${CCAS+set}" = set || CCAS=$CC
4303 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4307 depcc="$CCAS" am_compiler_list=
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4310 $as_echo_n "checking dependency style of $depcc... " >&6; }
4311 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4315 # We make a subdir and do the tests there. Otherwise we can end up
4316 # making bogus files that we don't know about and never remove. For
4317 # instance it was reported that on HP-UX the gcc test will end up
4318 # making a dummy file named `D' -- because `-MD' means `put the output
4321 # Copy depcomp to subdir because otherwise we won't find it if we're
4322 # using a relative directory.
4323 cp "$am_depcomp" conftest.dir
4325 # We will build objects and dependencies in a subdirectory because
4326 # it helps to detect inapplicable dependency modes. For instance
4327 # both Tru64's cc and ICC support -MD to output dependencies as a
4328 # side effect of compilation, but ICC will put the dependencies in
4329 # the current directory while Tru64 will put them in the object
4333 am_cv_CCAS_dependencies_compiler_type=none
4334 if test "$am_compiler_list" = ""; then
4335 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4340 for depmode in $am_compiler_list; do
4341 # Setup a source with many dependencies, because some compilers
4342 # like to wrap large dependency lists on column 80 (with \), and
4343 # we should not choose a depcomp mode which is confused by this.
4345 # We need to recreate these files for each test, as the compiler may
4346 # overwrite some of them when testing with obscure command lines.
4347 # This happens at least with the AIX C compiler.
4349 for i in 1 2 3 4 5 6; do
4350 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4351 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4352 # Solaris 8's {/usr,}/bin/sh.
4353 touch sub/conftst$i.h
4355 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4357 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4358 # mode. It turns out that the SunPro C++ compiler does not properly
4359 # handle `-M -o', and we need to detect this. Also, some Intel
4360 # versions had trouble with output in subdirs
4361 am__obj=sub/conftest.${OBJEXT-o}
4362 am__minus_obj="-o $am__obj"
4365 # This depmode causes a compiler race in universal mode.
4366 test "$am__universal" = false || continue
4369 # after this tag, mechanisms are not by side-effect, so they'll
4370 # only be used when explicitly requested
4371 if test "x$enable_dependency_tracking" = xyes; then
4377 msvisualcpp | msvcmsys)
4378 # This compiler won't grok `-c -o', but also, the minuso test has
4379 # not run yet. These depmodes are late enough in the game, and
4380 # so weak that their functioning should not be impacted.
4381 am__obj=conftest.${OBJEXT-o}
4386 if depmode=$depmode \
4387 source=sub/conftest.c object=$am__obj \
4388 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4389 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4390 >/dev/null 2>conftest.err &&
4391 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4392 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4393 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4394 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4395 # icc doesn't choke on unknown options, it will just issue warnings
4396 # or remarks (even with -Werror). So we grep stderr for any message
4397 # that says an option was ignored or not supported.
4398 # When given -MP, icc 7.0 and 7.1 complain thusly:
4399 # icc: Command line warning: ignoring option '-M'; no argument required
4400 # The diagnosis changed in icc 8.0:
4401 # icc: Command line remark: option '-MP' not supported
4402 if (grep 'ignoring option' conftest.err ||
4403 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4404 am_cv_CCAS_dependencies_compiler_type=$depmode
4413 am_cv_CCAS_dependencies_compiler_type=none
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4418 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4419 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4422 test "x$enable_dependency_tracking" != xno \
4423 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4424 am__fastdepCCAS_TRUE=
4425 am__fastdepCCAS_FALSE='#'
4427 am__fastdepCCAS_TRUE='#'
4428 am__fastdepCCAS_FALSE=
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4440 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4445 macro_version='2.2.7a'
4446 macro_revision='1.3134'
4460 ltmain="$ac_aux_dir/ltmain.sh"
4462 # Backslashify metacharacters that are still active within
4463 # double-quoted strings.
4464 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4466 # Same as above, but do not quote variable references.
4467 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4469 # Sed substitution to delay expansion of an escaped shell variable in a
4470 # double_quote_subst'ed string.
4471 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4473 # Sed substitution to delay expansion of an escaped single quote.
4474 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4476 # Sed substitution to avoid accidental globbing in evaled expressions
4477 no_glob_subst='s/\*/\\\*/g'
4479 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4480 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4481 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4484 $as_echo_n "checking how to print strings... " >&6; }
4485 # Test print first, because it will be a builtin if present.
4486 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4487 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4489 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4492 # Use this function as a fallback that always works.
4493 func_fallback_echo ()
4495 eval 'cat <<_LTECHO_EOF
4499 ECHO='func_fallback_echo'
4502 # func_echo_all arg...
4503 # Invoke $ECHO with all args, space-separated.
4510 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4511 $as_echo "printf" >&6; } ;;
4512 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4513 $as_echo "print -r" >&6; } ;;
4514 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4515 $as_echo "cat" >&6; } ;;
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4532 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4533 if test "${ac_cv_path_SED+set}" = set; then :
4534 $as_echo_n "(cached) " >&6
4536 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4537 for ac_i in 1 2 3 4 5 6 7; do
4538 ac_script="$ac_script$as_nl$ac_script"
4540 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4541 { ac_script=; unset ac_script;}
4542 if test -z "$SED"; then
4543 ac_path_SED_found=false
4544 # Loop through the user's path and test for each of PROGNAME-LIST
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir=.
4550 for ac_prog in sed gsed; do
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4553 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4554 # Check for GNU ac_path_SED and select it if it is found.
4555 # Check for GNU $ac_path_SED
4556 case `"$ac_path_SED" --version 2>&1` in
4558 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4561 $as_echo_n 0123456789 >"conftest.in"
4564 cat "conftest.in" "conftest.in" >"conftest.tmp"
4565 mv "conftest.tmp" "conftest.in"
4566 cp "conftest.in" "conftest.nl"
4567 $as_echo '' >> "conftest.nl"
4568 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4569 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4570 as_fn_arith $ac_count + 1 && ac_count=$as_val
4571 if test $ac_count -gt ${ac_path_SED_max-0}; then
4572 # Best one so far, save it but keep looking for a better one
4573 ac_cv_path_SED="$ac_path_SED"
4574 ac_path_SED_max=$ac_count
4576 # 10*(2^10) chars as input seems more than enough
4577 test $ac_count -gt 10 && break
4579 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4582 $ac_path_SED_found && break 3
4587 if test -z "$ac_cv_path_SED"; then
4588 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4596 $as_echo "$ac_cv_path_SED" >&6; }
4597 SED="$ac_cv_path_SED"
4600 test -z "$SED" && SED=sed
4601 Xsed="$SED -e 1s/^X//"
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4614 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4615 if test "${ac_cv_path_GREP+set}" = set; then :
4616 $as_echo_n "(cached) " >&6
4618 if test -z "$GREP"; then
4619 ac_path_GREP_found=false
4620 # Loop through the user's path and test for each of PROGNAME-LIST
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4625 test -z "$as_dir" && as_dir=.
4626 for ac_prog in grep ggrep; do
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4629 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4630 # Check for GNU ac_path_GREP and select it if it is found.
4631 # Check for GNU $ac_path_GREP
4632 case `"$ac_path_GREP" --version 2>&1` in
4634 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4637 $as_echo_n 0123456789 >"conftest.in"
4640 cat "conftest.in" "conftest.in" >"conftest.tmp"
4641 mv "conftest.tmp" "conftest.in"
4642 cp "conftest.in" "conftest.nl"
4643 $as_echo 'GREP' >> "conftest.nl"
4644 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4645 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4646 as_fn_arith $ac_count + 1 && ac_count=$as_val
4647 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4648 # Best one so far, save it but keep looking for a better one
4649 ac_cv_path_GREP="$ac_path_GREP"
4650 ac_path_GREP_max=$ac_count
4652 # 10*(2^10) chars as input seems more than enough
4653 test $ac_count -gt 10 && break
4655 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4658 $ac_path_GREP_found && break 3
4663 if test -z "$ac_cv_path_GREP"; then
4664 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4667 ac_cv_path_GREP=$GREP
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4672 $as_echo "$ac_cv_path_GREP" >&6; }
4673 GREP="$ac_cv_path_GREP"
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4677 $as_echo_n "checking for egrep... " >&6; }
4678 if test "${ac_cv_path_EGREP+set}" = set; then :
4679 $as_echo_n "(cached) " >&6
4681 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4682 then ac_cv_path_EGREP="$GREP -E"
4684 if test -z "$EGREP"; then
4685 ac_path_EGREP_found=false
4686 # Loop through the user's path and test for each of PROGNAME-LIST
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4691 test -z "$as_dir" && as_dir=.
4692 for ac_prog in egrep; do
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4695 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4696 # Check for GNU ac_path_EGREP and select it if it is found.
4697 # Check for GNU $ac_path_EGREP
4698 case `"$ac_path_EGREP" --version 2>&1` in
4700 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4703 $as_echo_n 0123456789 >"conftest.in"
4706 cat "conftest.in" "conftest.in" >"conftest.tmp"
4707 mv "conftest.tmp" "conftest.in"
4708 cp "conftest.in" "conftest.nl"
4709 $as_echo 'EGREP' >> "conftest.nl"
4710 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4711 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4712 as_fn_arith $ac_count + 1 && ac_count=$as_val
4713 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4714 # Best one so far, save it but keep looking for a better one
4715 ac_cv_path_EGREP="$ac_path_EGREP"
4716 ac_path_EGREP_max=$ac_count
4718 # 10*(2^10) chars as input seems more than enough
4719 test $ac_count -gt 10 && break
4721 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4724 $ac_path_EGREP_found && break 3
4729 if test -z "$ac_cv_path_EGREP"; then
4730 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4733 ac_cv_path_EGREP=$EGREP
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4739 $as_echo "$ac_cv_path_EGREP" >&6; }
4740 EGREP="$ac_cv_path_EGREP"
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4744 $as_echo_n "checking for fgrep... " >&6; }
4745 if test "${ac_cv_path_FGREP+set}" = set; then :
4746 $as_echo_n "(cached) " >&6
4748 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4749 then ac_cv_path_FGREP="$GREP -F"
4751 if test -z "$FGREP"; then
4752 ac_path_FGREP_found=false
4753 # Loop through the user's path and test for each of PROGNAME-LIST
4754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4758 test -z "$as_dir" && as_dir=.
4759 for ac_prog in fgrep; do
4760 for ac_exec_ext in '' $ac_executable_extensions; do
4761 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4762 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4763 # Check for GNU ac_path_FGREP and select it if it is found.
4764 # Check for GNU $ac_path_FGREP
4765 case `"$ac_path_FGREP" --version 2>&1` in
4767 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4770 $as_echo_n 0123456789 >"conftest.in"
4773 cat "conftest.in" "conftest.in" >"conftest.tmp"
4774 mv "conftest.tmp" "conftest.in"
4775 cp "conftest.in" "conftest.nl"
4776 $as_echo 'FGREP' >> "conftest.nl"
4777 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4778 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4779 as_fn_arith $ac_count + 1 && ac_count=$as_val
4780 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4781 # Best one so far, save it but keep looking for a better one
4782 ac_cv_path_FGREP="$ac_path_FGREP"
4783 ac_path_FGREP_max=$ac_count
4785 # 10*(2^10) chars as input seems more than enough
4786 test $ac_count -gt 10 && break
4788 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4791 $ac_path_FGREP_found && break 3
4796 if test -z "$ac_cv_path_FGREP"; then
4797 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4800 ac_cv_path_FGREP=$FGREP
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4806 $as_echo "$ac_cv_path_FGREP" >&6; }
4807 FGREP="$ac_cv_path_FGREP"
4810 test -z "$GREP" && GREP=grep
4830 # Check whether --with-gnu-ld was given.
4831 if test "${with_gnu_ld+set}" = set; then :
4832 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4838 if test "$GCC" = yes; then
4839 # Check if gcc -print-prog-name=ld gives a path.
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4841 $as_echo_n "checking for ld used by $CC... " >&6; }
4844 # gcc leaves a trailing carriage return which upsets mingw
4845 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4847 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4850 # Accept absolute paths.
4852 re_direlt='/[^/][^/]*/\.\./'
4853 # Canonicalize the pathname of ld
4854 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4855 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4856 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4858 test -z "$LD" && LD="$ac_prog"
4861 # If it fails, then pretend we aren't using GCC.
4865 # If it is relative, then search for the first ld in PATH.
4869 elif test "$with_gnu_ld" = yes; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4871 $as_echo_n "checking for GNU ld... " >&6; }
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4874 $as_echo_n "checking for non-GNU ld... " >&6; }
4876 if test "${lt_cv_path_LD+set}" = set; then :
4877 $as_echo_n "(cached) " >&6
4879 if test -z "$LD"; then
4880 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4881 for ac_dir in $PATH; do
4883 test -z "$ac_dir" && ac_dir=.
4884 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4885 lt_cv_path_LD="$ac_dir/$ac_prog"
4886 # Check to see if the program is GNU ld. I'd rather use --version,
4887 # but apparently some variants of GNU ld only accept -v.
4888 # Break only if it was the GNU/non-GNU ld that we prefer.
4889 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4890 *GNU* | *'with BFD'*)
4891 test "$with_gnu_ld" != no && break
4894 test "$with_gnu_ld" != yes && break
4901 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4906 if test -n "$LD"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4908 $as_echo "$LD" >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4913 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4915 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4916 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4917 $as_echo_n "(cached) " >&6
4919 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4920 case `$LD -v 2>&1 </dev/null` in
4921 *GNU* | *'with BFD'*)
4922 lt_cv_prog_gnu_ld=yes
4925 lt_cv_prog_gnu_ld=no
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4930 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4931 with_gnu_ld=$lt_cv_prog_gnu_ld
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4942 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4943 if test "${lt_cv_path_NM+set}" = set; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -n "$NM"; then
4947 # Let the user override the test.
4950 lt_nm_to_check="${ac_tool_prefix}nm"
4951 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4952 lt_nm_to_check="$lt_nm_to_check nm"
4954 for lt_tmp_nm in $lt_nm_to_check; do
4955 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4956 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4958 test -z "$ac_dir" && ac_dir=.
4959 tmp_nm="$ac_dir/$lt_tmp_nm"
4960 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4961 # Check to see if the nm accepts a BSD-compat flag.
4962 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4963 # nm: unknown option "B" ignored
4964 # Tru64's nm complains that /dev/null is an invalid object file
4965 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4966 */dev/null* | *'Invalid file or object type'*)
4967 lt_cv_path_NM="$tmp_nm -B"
4971 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4973 lt_cv_path_NM="$tmp_nm -p"
4977 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4978 continue # so that we can try to find one that supports BSD flags
4987 : ${lt_cv_path_NM=no}
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4991 $as_echo "$lt_cv_path_NM" >&6; }
4992 if test "$lt_cv_path_NM" != "no"; then
4995 # Didn't find any BSD compatible name lister, look for dumpbin.
4996 if test -n "$DUMPBIN"; then :
4997 # Let the user override the test.
4999 if test -n "$ac_tool_prefix"; then
5000 for ac_prog in dumpbin "link -dump"
5002 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5003 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$DUMPBIN"; then
5010 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5019 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 DUMPBIN=$ac_cv_prog_DUMPBIN
5030 if test -n "$DUMPBIN"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5032 $as_echo "$DUMPBIN" >&6; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5039 test -n "$DUMPBIN" && break
5042 if test -z "$DUMPBIN"; then
5043 ac_ct_DUMPBIN=$DUMPBIN
5044 for ac_prog in dumpbin "link -dump"
5046 # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy $ac_prog; ac_word=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5051 $as_echo_n "(cached) " >&6
5053 if test -n "$ac_ct_DUMPBIN"; then
5054 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5074 if test -n "$ac_ct_DUMPBIN"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5076 $as_echo "$ac_ct_DUMPBIN" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5083 test -n "$ac_ct_DUMPBIN" && break
5086 if test "x$ac_ct_DUMPBIN" = x; then
5089 case $cross_compiling:$ac_tool_warned in
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093 ac_tool_warned=yes ;;
5095 DUMPBIN=$ac_ct_DUMPBIN
5099 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5101 DUMPBIN="$DUMPBIN -symbols"
5109 if test "$DUMPBIN" != ":"; then
5113 test -z "$NM" && NM=nm
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5121 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5122 if test "${lt_cv_nm_interface+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
5125 lt_cv_nm_interface="BSD nm"
5126 echo "int some_variable = 0;" > conftest.$ac_ext
5127 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5128 (eval "$ac_compile" 2>conftest.err)
5129 cat conftest.err >&5
5130 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5131 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5132 cat conftest.err >&5
5133 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5134 cat conftest.out >&5
5135 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5136 lt_cv_nm_interface="MS dumpbin"
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5141 $as_echo "$lt_cv_nm_interface" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5144 $as_echo_n "checking whether ln -s works... " >&6; }
5146 if test "$LN_S" = "ln -s"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5148 $as_echo "yes" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5151 $as_echo "no, using $LN_S" >&6; }
5154 # find the maximum length of command line arguments
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5156 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5157 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5158 $as_echo_n "(cached) " >&6
5165 # On DJGPP, this test can blow up pretty badly due to problems in libc
5166 # (any single argument exceeding 2000 bytes causes a buffer overrun
5167 # during glob expansion). Even if it were fixed, the result of this
5168 # check would be larger than it should be.
5169 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5173 # Under GNU Hurd, this test is not required because there is
5174 # no limit to the length of command line arguments.
5175 # Libtool will interpret -1 as no limit whatsoever
5176 lt_cv_sys_max_cmd_len=-1;
5179 cygwin* | mingw* | cegcc*)
5180 # On Win9x/ME, this test blows up -- it succeeds, but takes
5181 # about 5 minutes as the teststring grows exponentially.
5182 # Worse, since 9x/ME are not pre-emptively multitasking,
5183 # you end up with a "frozen" computer, even though with patience
5184 # the test eventually succeeds (with a max line length of 256k).
5185 # Instead, let's just punt: use the minimum linelength reported by
5186 # all of the supported platforms: 8192 (on NT/2K/XP).
5187 lt_cv_sys_max_cmd_len=8192;
5191 # On MiNT this can take a long time and run out of memory.
5192 lt_cv_sys_max_cmd_len=8192;
5196 # On AmigaOS with pdksh, this test takes hours, literally.
5197 # So we just punt and use a minimum line length of 8192.
5198 lt_cv_sys_max_cmd_len=8192;
5201 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5202 # This has been around since 386BSD, at least. Likely further.
5203 if test -x /sbin/sysctl; then
5204 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5205 elif test -x /usr/sbin/sysctl; then
5206 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5208 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5210 # And add a safety zone
5211 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5212 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5216 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5217 lt_cv_sys_max_cmd_len=196608
5221 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5222 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5223 # nice to cause kernel panics so lets avoid the loop below.
5224 # First set a reasonable default.
5225 lt_cv_sys_max_cmd_len=16384
5227 if test -x /sbin/sysconfig; then
5228 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5229 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5234 lt_cv_sys_max_cmd_len=102400
5236 sysv5* | sco5v6* | sysv4.2uw2*)
5237 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5238 if test -n "$kargmax"; then
5239 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5241 lt_cv_sys_max_cmd_len=32768
5245 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5246 if test -n "$lt_cv_sys_max_cmd_len"; then
5247 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5248 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5250 # Make teststring a little bigger before we do anything with it.
5251 # a 1K string should be a reasonable start.
5252 for i in 1 2 3 4 5 6 7 8 ; do
5253 teststring=$teststring$teststring
5255 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5256 # If test is not a shell built-in, we'll probably end up computing a
5257 # maximum length that is only half of the actual maximum length, but
5259 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5260 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5261 test $i != 17 # 1/2 MB should be enough
5264 teststring=$teststring$teststring
5266 # Only check the string length outside the loop.
5267 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5269 # Add a significant safety factor because C++ compilers can tack on
5270 # massive amounts of additional arguments before passing them to the
5271 # linker. It appears as though 1/2 is a usable value.
5272 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5279 if test -n $lt_cv_sys_max_cmd_len ; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5281 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5284 $as_echo "none" >&6; }
5286 max_cmd_len=$lt_cv_sys_max_cmd_len
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5298 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5299 # Try some XSI features
5302 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5304 && eval 'test $(( 1 + 1 )) -eq 2 \
5305 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5308 $as_echo "$xsi_shell" >&6; }
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5312 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5314 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5316 && lt_shell_append=yes
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5318 $as_echo "$lt_shell_append" >&6; }
5321 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5331 # test EBCDIC or ASCII
5332 case `echo X|tr X '\101'` in
5333 A) # ASCII based system
5334 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5335 lt_SP2NL='tr \040 \012'
5336 lt_NL2SP='tr \015\012 \040\040'
5338 *) # EBCDIC based system
5339 lt_SP2NL='tr \100 \n'
5340 lt_NL2SP='tr \r\n \100\100'
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5353 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5354 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5355 $as_echo_n "(cached) " >&6
5357 lt_cv_ld_reload_flag='-r'
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5360 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5361 reload_flag=$lt_cv_ld_reload_flag
5362 case $reload_flag in
5364 *) reload_flag=" $reload_flag" ;;
5366 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5369 if test "$GCC" = yes; then
5370 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5372 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5385 if test -n "$ac_tool_prefix"; then
5386 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5387 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5391 $as_echo_n "(cached) " >&6
5393 if test -n "$OBJDUMP"; then
5394 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 test -z "$as_dir" && as_dir=.
5401 for ac_exec_ext in '' $ac_executable_extensions; do
5402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5403 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 OBJDUMP=$ac_cv_prog_OBJDUMP
5414 if test -n "$OBJDUMP"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5416 $as_echo "$OBJDUMP" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5424 if test -z "$ac_cv_prog_OBJDUMP"; then
5425 ac_ct_OBJDUMP=$OBJDUMP
5426 # Extract the first word of "objdump", so it can be a program name with args.
5427 set dummy objdump; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5431 $as_echo_n "(cached) " >&6
5433 if test -n "$ac_ct_OBJDUMP"; then
5434 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5454 if test -n "$ac_ct_OBJDUMP"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5456 $as_echo "$ac_ct_OBJDUMP" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5462 if test "x$ac_ct_OBJDUMP" = x; then
5465 case $cross_compiling:$ac_tool_warned in
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5469 ac_tool_warned=yes ;;
5471 OBJDUMP=$ac_ct_OBJDUMP
5474 OBJDUMP="$ac_cv_prog_OBJDUMP"
5477 test -z "$OBJDUMP" && OBJDUMP=objdump
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5488 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5489 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5490 $as_echo_n "(cached) " >&6
5492 lt_cv_file_magic_cmd='$MAGIC_CMD'
5493 lt_cv_file_magic_test_file=
5494 lt_cv_deplibs_check_method='unknown'
5495 # Need to set the preceding variable on all platforms that support
5496 # interlibrary dependencies.
5497 # 'none' -- dependencies not supported.
5498 # `unknown' -- same as none, but documents that we really don't know.
5499 # 'pass_all' -- all dependencies passed with no checks.
5500 # 'test_compile' -- check by making test program.
5501 # 'file_magic [[regex]]' -- check by looking for files in library path
5502 # which responds to the $file_magic_cmd with a given extended regex.
5503 # If you have `file' or equivalent on your system and you're not sure
5504 # whether `pass_all' will *always* work, you probably want this one.
5508 lt_cv_deplibs_check_method=pass_all
5512 lt_cv_deplibs_check_method=pass_all
5516 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5517 lt_cv_file_magic_cmd='/usr/bin/file -L'
5518 lt_cv_file_magic_test_file=/shlib/libc.so
5522 # func_win32_libid is a shell function defined in ltmain.sh
5523 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5524 lt_cv_file_magic_cmd='func_win32_libid'
5528 # Base MSYS/MinGW do not provide the 'file' command needed by
5529 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5530 # unless we find 'file', for example because we are cross-compiling.
5531 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5532 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5533 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5534 lt_cv_file_magic_cmd='func_win32_libid'
5536 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5537 lt_cv_file_magic_cmd='$OBJDUMP -f'
5542 # use the weaker test based on 'objdump'. See mingw*.
5543 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5544 lt_cv_file_magic_cmd='$OBJDUMP -f'
5547 darwin* | rhapsody*)
5548 lt_cv_deplibs_check_method=pass_all
5551 freebsd* | dragonfly*)
5552 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5555 # Not sure whether the presence of OpenBSD here was a mistake.
5556 # Let's accept both of them until this is cleared up.
5557 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5558 lt_cv_file_magic_cmd=/usr/bin/file
5559 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5563 lt_cv_deplibs_check_method=pass_all
5568 lt_cv_deplibs_check_method=pass_all
5572 lt_cv_deplibs_check_method=pass_all
5575 hpux10.20* | hpux11*)
5576 lt_cv_file_magic_cmd=/usr/bin/file
5579 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5580 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5583 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]'
5584 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5587 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5588 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5594 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5595 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5598 irix5* | irix6* | nonstopux*)
5600 *-32|*"-32 ") libmagic=32-bit;;
5601 *-n32|*"-n32 ") libmagic=N32;;
5602 *-64|*"-64 ") libmagic=64-bit;;
5603 *) libmagic=never-match;;
5605 lt_cv_deplibs_check_method=pass_all
5608 # This must be Linux ELF.
5609 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5610 lt_cv_deplibs_check_method=pass_all
5614 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5615 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5617 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5622 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5623 lt_cv_file_magic_cmd=/usr/bin/file
5624 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5628 lt_cv_deplibs_check_method=pass_all
5632 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5633 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5635 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5639 osf3* | osf4* | osf5*)
5640 lt_cv_deplibs_check_method=pass_all
5644 lt_cv_deplibs_check_method=pass_all
5648 lt_cv_deplibs_check_method=pass_all
5651 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5652 lt_cv_deplibs_check_method=pass_all
5656 case $host_vendor in
5658 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]'
5659 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5662 lt_cv_deplibs_check_method=pass_all
5665 lt_cv_file_magic_cmd='/bin/file'
5666 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5669 lt_cv_file_magic_cmd='/bin/file'
5670 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5671 lt_cv_file_magic_test_file=/lib/libc.so
5674 lt_cv_deplibs_check_method=pass_all
5677 lt_cv_deplibs_check_method=pass_all
5683 lt_cv_deplibs_check_method=pass_all
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5689 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5690 file_magic_cmd=$lt_cv_file_magic_cmd
5691 deplibs_check_method=$lt_cv_deplibs_check_method
5692 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5705 if test -n "$ac_tool_prefix"; then
5706 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5707 set dummy ${ac_tool_prefix}ar; ac_word=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if test "${ac_cv_prog_AR+set}" = set; then :
5711 $as_echo_n "(cached) " >&6
5713 if test -n "$AR"; then
5714 ac_cv_prog_AR="$AR" # Let the user override the test.
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5723 ac_cv_prog_AR="${ac_tool_prefix}ar"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 if test -n "$AR"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5736 $as_echo "$AR" >&6; }
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5744 if test -z "$ac_cv_prog_AR"; then
5746 # Extract the first word of "ar", so it can be a program name with args.
5747 set dummy ar; ac_word=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5751 $as_echo_n "(cached) " >&6
5753 if test -n "$ac_ct_AR"; then
5754 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5763 ac_cv_prog_ac_ct_AR="ar"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5774 if test -n "$ac_ct_AR"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5776 $as_echo "$ac_ct_AR" >&6; }
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5782 if test "x$ac_ct_AR" = x; then
5785 case $cross_compiling:$ac_tool_warned in
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5789 ac_tool_warned=yes ;;
5797 test -z "$AR" && AR=ar
5798 test -z "$AR_FLAGS" && AR_FLAGS=cru
5810 if test -n "$ac_tool_prefix"; then
5811 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5812 set dummy ${ac_tool_prefix}strip; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if test "${ac_cv_prog_STRIP+set}" = set; then :
5816 $as_echo_n "(cached) " >&6
5818 if test -n "$STRIP"; then
5819 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 STRIP=$ac_cv_prog_STRIP
5839 if test -n "$STRIP"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5841 $as_echo "$STRIP" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5849 if test -z "$ac_cv_prog_STRIP"; then
5851 # Extract the first word of "strip", so it can be a program name with args.
5852 set dummy strip; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5858 if test -n "$ac_ct_STRIP"; then
5859 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_STRIP="strip"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5879 if test -n "$ac_ct_STRIP"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5881 $as_echo "$ac_ct_STRIP" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5887 if test "x$ac_ct_STRIP" = x; then
5890 case $cross_compiling:$ac_tool_warned in
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5894 ac_tool_warned=yes ;;
5899 STRIP="$ac_cv_prog_STRIP"
5902 test -z "$STRIP" && STRIP=:
5909 if test -n "$ac_tool_prefix"; then
5910 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5911 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913 $as_echo_n "checking for $ac_word... " >&6; }
5914 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5915 $as_echo_n "(cached) " >&6
5917 if test -n "$RANLIB"; then
5918 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 test -z "$as_dir" && as_dir=.
5925 for ac_exec_ext in '' $ac_executable_extensions; do
5926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5927 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5937 RANLIB=$ac_cv_prog_RANLIB
5938 if test -n "$RANLIB"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5940 $as_echo "$RANLIB" >&6; }
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943 $as_echo "no" >&6; }
5948 if test -z "$ac_cv_prog_RANLIB"; then
5949 ac_ct_RANLIB=$RANLIB
5950 # Extract the first word of "ranlib", so it can be a program name with args.
5951 set dummy ranlib; 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 test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5955 $as_echo_n "(cached) " >&6
5957 if test -n "$ac_ct_RANLIB"; then
5958 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5978 if test -n "$ac_ct_RANLIB"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5980 $as_echo "$ac_ct_RANLIB" >&6; }
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5986 if test "x$ac_ct_RANLIB" = x; then
5989 case $cross_compiling:$ac_tool_warned in
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5993 ac_tool_warned=yes ;;
5995 RANLIB=$ac_ct_RANLIB
5998 RANLIB="$ac_cv_prog_RANLIB"
6001 test -z "$RANLIB" && RANLIB=:
6008 # Determine commands to create old-style static archives.
6009 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6010 old_postinstall_cmds='chmod 644 $oldlib'
6011 old_postuninstall_cmds=
6013 if test -n "$RANLIB"; then
6016 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6019 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6022 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6027 lock_old_archive_extraction=yes ;;
6029 lock_old_archive_extraction=no ;;
6070 # If no C compiler was specified, use CC.
6073 # If no C compiler flags were specified, use CFLAGS.
6074 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6076 # Allow CC to be a program name with arguments.
6080 # Check for command to grab the raw symbol name followed by C symbol from nm.
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6082 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6083 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6084 $as_echo_n "(cached) " >&6
6087 # These are sane defaults that work on at least a few old systems.
6088 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6090 # Character class describing NM global symbol codes.
6091 symcode='[BCDEGRST]'
6093 # Regexp to match symbols that can be accessed directly from C.
6094 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6096 # Define system-specific variables.
6101 cygwin* | mingw* | pw32* | cegcc*)
6102 symcode='[ABCDGISTW]'
6105 if test "$host_cpu" = ia64; then
6106 symcode='[ABCDEGRST]'
6110 symcode='[BCDEGRST]'
6113 symcode='[BCDEGQRST]'
6124 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6132 # If we're using GNU nm, then use its standard symbol codes.
6133 case `$NM -V 2>&1` in
6134 *GNU* | *'with BFD'*)
6135 symcode='[ABCDGIRSTW]' ;;
6138 # Transform an extracted symbol line into a proper C declaration.
6139 # Some systems (esp. on ia64) link data and code symbols differently,
6140 # so use this general approach.
6141 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6143 # Transform an extracted symbol line into symbol name and symbol address
6144 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6145 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'"
6147 # Handle CRLF in mingw tool chain
6151 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6155 # Try without a prefix underscore, then with it.
6156 for ac_symprfx in "" "_"; do
6158 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6159 symxfrm="\\1 $ac_symprfx\\2 \\2"
6161 # Write the raw and C identifiers.
6162 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6163 # Fake it for dumpbin and say T for any non-static function
6164 # and D for any global variable.
6165 # Also find C++ and __fastcall symbols from MSVC++,
6166 # which start with @ or ?.
6167 lt_cv_sys_global_symbol_pipe="$AWK '"\
6168 " {last_section=section; section=\$ 3};"\
6169 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6170 " \$ 0!~/External *\|/{next};"\
6171 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6172 " {if(hide[section]) next};"\
6173 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6174 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6175 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6176 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6177 " ' prfx=^$ac_symprfx"
6179 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6182 # Check to see that the pipe works correctly.
6186 cat > conftest.$ac_ext <<_LT_EOF
6191 void nm_test_func(void);
6192 void nm_test_func(void){}
6196 int main(){nm_test_var='a';nm_test_func();return(0);}
6199 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6200 (eval $ac_compile) 2>&5
6202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6203 test $ac_status = 0; }; then
6204 # Now try to grab the symbols.
6206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6207 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6210 test $ac_status = 0; } && test -s "$nlist"; then
6211 # Try sorting and uniquifying the output.
6212 if sort "$nlist" | uniq > "$nlist"T; then
6213 mv -f "$nlist"T "$nlist"
6218 # Make sure that we snagged all the symbols we need.
6219 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6220 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6221 cat <<_LT_EOF > conftest.$ac_ext
6227 # Now generate the symbol file.
6228 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6230 cat <<_LT_EOF >> conftest.$ac_ext
6232 /* The mapping between symbol names and symbols. */
6237 lt__PROGRAM__LTX_preloaded_symbols[] =
6239 { "@PROGRAM@", (void *) 0 },
6241 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6242 cat <<\_LT_EOF >> conftest.$ac_ext
6246 /* This works around a problem in FreeBSD linker */
6247 #ifdef FREEBSD_WORKAROUND
6248 static const void *lt_preloaded_setup() {
6249 return lt__PROGRAM__LTX_preloaded_symbols;
6257 # Now try linking the two files.
6258 mv conftest.$ac_objext conftstm.$ac_objext
6259 lt_save_LIBS="$LIBS"
6260 lt_save_CFLAGS="$CFLAGS"
6261 LIBS="conftstm.$ac_objext"
6262 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6264 (eval $ac_link) 2>&5
6266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6267 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6270 LIBS="$lt_save_LIBS"
6271 CFLAGS="$lt_save_CFLAGS"
6273 echo "cannot find nm_test_func in $nlist" >&5
6276 echo "cannot find nm_test_var in $nlist" >&5
6279 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6282 echo "$progname: failed program was:" >&5
6283 cat conftest.$ac_ext >&5
6285 rm -rf conftest* conftst*
6287 # Do not use the global_symbol_pipe unless it works.
6288 if test "$pipe_works" = yes; then
6291 lt_cv_sys_global_symbol_pipe=
6297 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6298 lt_cv_sys_global_symbol_to_cdecl=
6300 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6302 $as_echo "failed" >&6; }
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6305 $as_echo "ok" >&6; }
6330 # Check whether --enable-libtool-lock was given.
6331 if test "${enable_libtool_lock+set}" = set; then :
6332 enableval=$enable_libtool_lock;
6335 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6337 # Some flags need to be propagated to the compiler or linker for good
6341 # Find out which ABI we are using.
6342 echo 'int i;' > conftest.$ac_ext
6343 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6344 (eval $ac_compile) 2>&5
6346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6347 test $ac_status = 0; }; then
6348 case `/usr/bin/file conftest.$ac_objext` in
6360 # Find out which ABI we are using.
6361 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6363 (eval $ac_compile) 2>&5
6365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6366 test $ac_status = 0; }; then
6367 if test "$lt_cv_prog_gnu_ld" = yes; then
6368 case `/usr/bin/file conftest.$ac_objext` in
6370 LD="${LD-ld} -melf32bsmip"
6373 LD="${LD-ld} -melf32bmipn32"
6376 LD="${LD-ld} -melf64bmip"
6380 case `/usr/bin/file conftest.$ac_objext` in
6396 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6397 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6398 # Find out which ABI we are using.
6399 echo 'int i;' > conftest.$ac_ext
6400 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6401 (eval $ac_compile) 2>&5
6403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6404 test $ac_status = 0; }; then
6405 case `/usr/bin/file conftest.o` in
6408 x86_64-*kfreebsd*-gnu)
6409 LD="${LD-ld} -m elf_i386_fbsd"
6412 case `/usr/bin/file conftest.o` in
6414 LD="${LD-ld} -m elf32_x86_64"
6417 LD="${LD-ld} -m elf_i386"
6421 ppc64-*linux*|powerpc64-*linux*)
6422 LD="${LD-ld} -m elf32ppclinux"
6425 LD="${LD-ld} -m elf_s390"
6428 LD="${LD-ld} -m elf32_sparc"
6434 x86_64-*kfreebsd*-gnu)
6435 LD="${LD-ld} -m elf_x86_64_fbsd"
6438 LD="${LD-ld} -m elf_x86_64"
6440 ppc*-*linux*|powerpc*-*linux*)
6441 LD="${LD-ld} -m elf64ppc"
6443 s390*-*linux*|s390*-*tpf*)
6444 LD="${LD-ld} -m elf64_s390"
6447 LD="${LD-ld} -m elf64_sparc"
6457 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6458 SAVE_CFLAGS="$CFLAGS"
6459 CFLAGS="$CFLAGS -belf"
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6461 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6462 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6463 $as_echo_n "(cached) " >&6
6466 ac_cpp='$CPP $CPPFLAGS'
6467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6482 if ac_fn_c_try_link "$LINENO"; then :
6483 lt_cv_cc_needs_belf=yes
6485 lt_cv_cc_needs_belf=no
6487 rm -f core conftest.err conftest.$ac_objext \
6488 conftest$ac_exeext conftest.$ac_ext
6490 ac_cpp='$CPP $CPPFLAGS'
6491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6497 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6498 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6499 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6500 CFLAGS="$SAVE_CFLAGS"
6504 # Find out which ABI we are using.
6505 echo 'int i;' > conftest.$ac_ext
6506 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6507 (eval $ac_compile) 2>&5
6509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6510 test $ac_status = 0; }; then
6511 case `/usr/bin/file conftest.o` in
6513 case $lt_cv_prog_gnu_ld in
6514 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6516 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6528 need_locks="$enable_libtool_lock"
6532 rhapsody* | darwin*)
6533 if test -n "$ac_tool_prefix"; then
6534 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6535 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6537 $as_echo_n "checking for $ac_word... " >&6; }
6538 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6539 $as_echo_n "(cached) " >&6
6541 if test -n "$DSYMUTIL"; then
6542 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6551 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6562 if test -n "$DSYMUTIL"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6564 $as_echo "$DSYMUTIL" >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6567 $as_echo "no" >&6; }
6572 if test -z "$ac_cv_prog_DSYMUTIL"; then
6573 ac_ct_DSYMUTIL=$DSYMUTIL
6574 # Extract the first word of "dsymutil", so it can be a program name with args.
6575 set dummy dsymutil; ac_word=$2
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 $as_echo_n "checking for $ac_word... " >&6; }
6578 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6579 $as_echo_n "(cached) " >&6
6581 if test -n "$ac_ct_DSYMUTIL"; then
6582 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 test -z "$as_dir" && as_dir=.
6589 for ac_exec_ext in '' $ac_executable_extensions; do
6590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6591 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6602 if test -n "$ac_ct_DSYMUTIL"; then
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6604 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 $as_echo "no" >&6; }
6610 if test "x$ac_ct_DSYMUTIL" = x; then
6613 case $cross_compiling:$ac_tool_warned in
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6617 ac_tool_warned=yes ;;
6619 DSYMUTIL=$ac_ct_DSYMUTIL
6622 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6625 if test -n "$ac_tool_prefix"; then
6626 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6627 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6629 $as_echo_n "checking for $ac_word... " >&6; }
6630 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6631 $as_echo_n "(cached) " >&6
6633 if test -n "$NMEDIT"; then
6634 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 test -z "$as_dir" && as_dir=.
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6643 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6653 NMEDIT=$ac_cv_prog_NMEDIT
6654 if test -n "$NMEDIT"; then
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6656 $as_echo "$NMEDIT" >&6; }
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 $as_echo "no" >&6; }
6664 if test -z "$ac_cv_prog_NMEDIT"; then
6665 ac_ct_NMEDIT=$NMEDIT
6666 # Extract the first word of "nmedit", so it can be a program name with args.
6667 set dummy nmedit; ac_word=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 $as_echo_n "checking for $ac_word... " >&6; }
6670 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6671 $as_echo_n "(cached) " >&6
6673 if test -n "$ac_ct_NMEDIT"; then
6674 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 test -z "$as_dir" && as_dir=.
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6683 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6693 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6694 if test -n "$ac_ct_NMEDIT"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6696 $as_echo "$ac_ct_NMEDIT" >&6; }
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6702 if test "x$ac_ct_NMEDIT" = x; then
6705 case $cross_compiling:$ac_tool_warned in
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6709 ac_tool_warned=yes ;;
6711 NMEDIT=$ac_ct_NMEDIT
6714 NMEDIT="$ac_cv_prog_NMEDIT"
6717 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6719 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721 $as_echo_n "checking for $ac_word... " >&6; }
6722 if test "${ac_cv_prog_LIPO+set}" = set; then :
6723 $as_echo_n "(cached) " >&6
6725 if test -n "$LIPO"; then
6726 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6745 LIPO=$ac_cv_prog_LIPO
6746 if test -n "$LIPO"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6748 $as_echo "$LIPO" >&6; }
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 $as_echo "no" >&6; }
6756 if test -z "$ac_cv_prog_LIPO"; then
6758 # Extract the first word of "lipo", so it can be a program name with args.
6759 set dummy lipo; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 $as_echo_n "checking for $ac_word... " >&6; }
6762 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6763 $as_echo_n "(cached) " >&6
6765 if test -n "$ac_ct_LIPO"; then
6766 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775 ac_cv_prog_ac_ct_LIPO="lipo"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6785 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6786 if test -n "$ac_ct_LIPO"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6788 $as_echo "$ac_ct_LIPO" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 $as_echo "no" >&6; }
6794 if test "x$ac_ct_LIPO" = x; then
6797 case $cross_compiling:$ac_tool_warned in
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6801 ac_tool_warned=yes ;;
6806 LIPO="$ac_cv_prog_LIPO"
6809 if test -n "$ac_tool_prefix"; then
6810 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6811 set dummy ${ac_tool_prefix}otool; ac_word=$2
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6813 $as_echo_n "checking for $ac_word... " >&6; }
6814 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6815 $as_echo_n "(cached) " >&6
6817 if test -n "$OTOOL"; then
6818 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824 test -z "$as_dir" && as_dir=.
6825 for ac_exec_ext in '' $ac_executable_extensions; do
6826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6827 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6837 OTOOL=$ac_cv_prog_OTOOL
6838 if test -n "$OTOOL"; then
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6840 $as_echo "$OTOOL" >&6; }
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6843 $as_echo "no" >&6; }
6848 if test -z "$ac_cv_prog_OTOOL"; then
6850 # Extract the first word of "otool", so it can be a program name with args.
6851 set dummy otool; ac_word=$2
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6853 $as_echo_n "checking for $ac_word... " >&6; }
6854 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6855 $as_echo_n "(cached) " >&6
6857 if test -n "$ac_ct_OTOOL"; then
6858 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6864 test -z "$as_dir" && as_dir=.
6865 for ac_exec_ext in '' $ac_executable_extensions; do
6866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6867 ac_cv_prog_ac_ct_OTOOL="otool"
6868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6877 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6878 if test -n "$ac_ct_OTOOL"; then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6880 $as_echo "$ac_ct_OTOOL" >&6; }
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6883 $as_echo "no" >&6; }
6886 if test "x$ac_ct_OTOOL" = x; then
6889 case $cross_compiling:$ac_tool_warned in
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6893 ac_tool_warned=yes ;;
6898 OTOOL="$ac_cv_prog_OTOOL"
6901 if test -n "$ac_tool_prefix"; then
6902 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6903 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6905 $as_echo_n "checking for $ac_word... " >&6; }
6906 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6907 $as_echo_n "(cached) " >&6
6909 if test -n "$OTOOL64"; then
6910 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6916 test -z "$as_dir" && as_dir=.
6917 for ac_exec_ext in '' $ac_executable_extensions; do
6918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6919 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6929 OTOOL64=$ac_cv_prog_OTOOL64
6930 if test -n "$OTOOL64"; then
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6932 $as_echo "$OTOOL64" >&6; }
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6935 $as_echo "no" >&6; }
6940 if test -z "$ac_cv_prog_OTOOL64"; then
6941 ac_ct_OTOOL64=$OTOOL64
6942 # Extract the first word of "otool64", so it can be a program name with args.
6943 set dummy otool64; ac_word=$2
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6945 $as_echo_n "checking for $ac_word... " >&6; }
6946 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6947 $as_echo_n "(cached) " >&6
6949 if test -n "$ac_ct_OTOOL64"; then
6950 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 test -z "$as_dir" && as_dir=.
6957 for ac_exec_ext in '' $ac_executable_extensions; do
6958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6959 ac_cv_prog_ac_ct_OTOOL64="otool64"
6960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6969 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6970 if test -n "$ac_ct_OTOOL64"; then
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6972 $as_echo "$ac_ct_OTOOL64" >&6; }
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6975 $as_echo "no" >&6; }
6978 if test "x$ac_ct_OTOOL64" = x; then
6981 case $cross_compiling:$ac_tool_warned in
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6985 ac_tool_warned=yes ;;
6987 OTOOL64=$ac_ct_OTOOL64
6990 OTOOL64="$ac_cv_prog_OTOOL64"
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7020 $as_echo_n "checking for -single_module linker flag... " >&6; }
7021 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7022 $as_echo_n "(cached) " >&6
7024 lt_cv_apple_cc_single_mod=no
7025 if test -z "${LT_MULTI_MODULE}"; then
7026 # By default we will add the -single_module flag. You can override
7027 # by either setting the environment variable LT_MULTI_MODULE
7028 # non-empty at configure time, or by adding -multi_module to the
7030 rm -rf libconftest.dylib*
7031 echo "int foo(void){return 1;}" > conftest.c
7032 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7033 -dynamiclib -Wl,-single_module conftest.c" >&5
7034 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7035 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7037 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7038 lt_cv_apple_cc_single_mod=yes
7040 cat conftest.err >&5
7042 rm -rf libconftest.dylib*
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7047 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7049 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7050 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7051 $as_echo_n "(cached) " >&6
7053 lt_cv_ld_exported_symbols_list=no
7054 save_LDFLAGS=$LDFLAGS
7055 echo "_main" > conftest.sym
7056 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7058 /* end confdefs.h. */
7068 if ac_fn_c_try_link "$LINENO"; then :
7069 lt_cv_ld_exported_symbols_list=yes
7071 lt_cv_ld_exported_symbols_list=no
7073 rm -f core conftest.err conftest.$ac_objext \
7074 conftest$ac_exeext conftest.$ac_ext
7075 LDFLAGS="$save_LDFLAGS"
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7079 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7081 $as_echo_n "checking for -force_load linker flag... " >&6; }
7082 if test "${lt_cv_ld_force_load+set}" = set; then :
7083 $as_echo_n "(cached) " >&6
7085 lt_cv_ld_force_load=no
7086 cat > conftest.c << _LT_EOF
7087 int forced_loaded() { return 2;}
7089 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7090 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7091 echo "$AR cru libconftest.a conftest.o" >&5
7092 $AR cru libconftest.a conftest.o 2>&5
7093 cat > conftest.c << _LT_EOF
7094 int main() { return 0;}
7096 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7097 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7099 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7100 lt_cv_ld_force_load=yes
7102 cat conftest.err >&5
7104 rm -f conftest.err libconftest.a conftest conftest.c
7105 rm -rf conftest.dSYM
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7109 $as_echo "$lt_cv_ld_force_load" >&6; }
7111 rhapsody* | darwin1.[012])
7112 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7114 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7115 darwin*) # darwin 5.x on
7116 # if running on 10.5 or later, the deployment target defaults
7117 # to the OS version, if on x86, and 10.4, the deployment
7118 # target defaults to 10.4. Don't you love it?
7119 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7120 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7121 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7123 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7125 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7129 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7130 _lt_dar_single_mod='$single_module'
7132 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7133 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7135 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7137 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7138 _lt_dsymutil='~$DSYMUTIL $lib || :'
7146 ac_cpp='$CPP $CPPFLAGS'
7147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7151 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7152 # On Suns, sometimes $CPP names a directory.
7153 if test -n "$CPP" && test -d "$CPP"; then
7156 if test -z "$CPP"; then
7157 if test "${ac_cv_prog_CPP+set}" = set; then :
7158 $as_echo_n "(cached) " >&6
7160 # Double quotes because CPP needs to be expanded
7161 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7164 for ac_c_preproc_warn_flag in '' yes
7166 # Use a header file that comes with gcc, so configuring glibc
7167 # with a fresh cross-compiler works.
7168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7169 # <limits.h> exists even on freestanding compilers.
7170 # On the NeXT, cc -E runs the code through the compiler's parser,
7171 # not just through cpp. "Syntax error" is here to catch this case.
7172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h. */
7175 # include <limits.h>
7177 # include <assert.h>
7181 if ac_fn_c_try_cpp "$LINENO"; then :
7184 # Broken: fails on valid input.
7187 rm -f conftest.err conftest.$ac_ext
7189 # OK, works on sane cases. Now check whether nonexistent headers
7190 # can be detected and how.
7191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7193 #include <ac_nonexistent.h>
7195 if ac_fn_c_try_cpp "$LINENO"; then :
7196 # Broken: success on invalid input.
7199 # Passes both tests.
7203 rm -f conftest.err conftest.$ac_ext
7206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7207 rm -f conftest.err conftest.$ac_ext
7208 if $ac_preproc_ok; then :
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7221 $as_echo "$CPP" >&6; }
7223 for ac_c_preproc_warn_flag in '' yes
7225 # Use a header file that comes with gcc, so configuring glibc
7226 # with a fresh cross-compiler works.
7227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7228 # <limits.h> exists even on freestanding compilers.
7229 # On the NeXT, cc -E runs the code through the compiler's parser,
7230 # not just through cpp. "Syntax error" is here to catch this case.
7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7234 # include <limits.h>
7236 # include <assert.h>
7240 if ac_fn_c_try_cpp "$LINENO"; then :
7243 # Broken: fails on valid input.
7246 rm -f conftest.err conftest.$ac_ext
7248 # OK, works on sane cases. Now check whether nonexistent headers
7249 # can be detected and how.
7250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7251 /* end confdefs.h. */
7252 #include <ac_nonexistent.h>
7254 if ac_fn_c_try_cpp "$LINENO"; then :
7255 # Broken: success on invalid input.
7258 # Passes both tests.
7262 rm -f conftest.err conftest.$ac_ext
7265 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7266 rm -f conftest.err conftest.$ac_ext
7267 if $ac_preproc_ok; then :
7270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7272 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7273 See \`config.log' for more details." "$LINENO" 5; }
7277 ac_cpp='$CPP $CPPFLAGS'
7278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7284 $as_echo_n "checking for ANSI C header files... " >&6; }
7285 if test "${ac_cv_header_stdc+set}" = set; then :
7286 $as_echo_n "(cached) " >&6
7288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289 /* end confdefs.h. */
7303 if ac_fn_c_try_compile "$LINENO"; then :
7304 ac_cv_header_stdc=yes
7306 ac_cv_header_stdc=no
7308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7310 if test $ac_cv_header_stdc = yes; then
7311 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7313 /* end confdefs.h. */
7317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7318 $EGREP "memchr" >/dev/null 2>&1; then :
7321 ac_cv_header_stdc=no
7327 if test $ac_cv_header_stdc = yes; then
7328 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7330 /* end confdefs.h. */
7334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7335 $EGREP "free" >/dev/null 2>&1; then :
7338 ac_cv_header_stdc=no
7344 if test $ac_cv_header_stdc = yes; then
7345 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7346 if test "$cross_compiling" = yes; then :
7349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7350 /* end confdefs.h. */
7353 #if ((' ' & 0x0FF) == 0x020)
7354 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7355 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7357 # define ISLOWER(c) \
7358 (('a' <= (c) && (c) <= 'i') \
7359 || ('j' <= (c) && (c) <= 'r') \
7360 || ('s' <= (c) && (c) <= 'z'))
7361 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7364 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7369 for (i = 0; i < 256; i++)
7370 if (XOR (islower (i), ISLOWER (i))
7371 || toupper (i) != TOUPPER (i))
7376 if ac_fn_c_try_run "$LINENO"; then :
7379 ac_cv_header_stdc=no
7381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7382 conftest.$ac_objext conftest.beam conftest.$ac_ext
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7388 $as_echo "$ac_cv_header_stdc" >&6; }
7389 if test $ac_cv_header_stdc = yes; then
7391 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7396 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7397 inttypes.h stdint.h unistd.h
7399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7402 eval as_val=\$$as_ac_Header
7403 if test "x$as_val" = x""yes; then :
7404 cat >>confdefs.h <<_ACEOF
7405 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7413 for ac_header in dlfcn.h
7415 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7417 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7418 cat >>confdefs.h <<_ACEOF
7419 #define HAVE_DLFCN_H 1
7439 # Check whether --enable-shared was given.
7440 if test "${enable_shared+set}" = set; then :
7441 enableval=$enable_shared; p=${PACKAGE-default}
7443 yes) enable_shared=yes ;;
7444 no) enable_shared=no ;;
7447 # Look at the argument we got. We use all the common list separators.
7448 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7449 for pkg in $enableval; do
7451 if test "X$pkg" = "X$p"; then
7470 # Check whether --enable-static was given.
7471 if test "${enable_static+set}" = set; then :
7472 enableval=$enable_static; p=${PACKAGE-default}
7474 yes) enable_static=yes ;;
7475 no) enable_static=no ;;
7478 # Look at the argument we got. We use all the common list separators.
7479 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7480 for pkg in $enableval; do
7482 if test "X$pkg" = "X$p"; then
7502 # Check whether --with-pic was given.
7503 if test "${with_pic+set}" = set; then :
7504 withval=$with_pic; pic_mode="$withval"
7510 test -z "$pic_mode" && pic_mode=default
7518 # Check whether --enable-fast-install was given.
7519 if test "${enable_fast_install+set}" = set; then :
7520 enableval=$enable_fast_install; p=${PACKAGE-default}
7522 yes) enable_fast_install=yes ;;
7523 no) enable_fast_install=no ;;
7525 enable_fast_install=no
7526 # Look at the argument we got. We use all the common list separators.
7527 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7528 for pkg in $enableval; do
7530 if test "X$pkg" = "X$p"; then
7531 enable_fast_install=yes
7538 enable_fast_install=yes
7551 # This can be used to rebuild libtool when needed
7552 LIBTOOL_DEPS="$ltmain"
7554 # Always use our own libtool.
7555 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7582 test -z "$LN_S" && LN_S="ln -s"
7597 if test -n "${ZSH_VERSION+set}" ; then
7598 setopt NO_GLOB_SUBST
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7602 $as_echo_n "checking for objdir... " >&6; }
7603 if test "${lt_cv_objdir+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7606 rm -f .libs 2>/dev/null
7607 mkdir .libs 2>/dev/null
7608 if test -d .libs; then
7611 # MS-DOS does not allow filenames that begin with a dot.
7614 rmdir .libs 2>/dev/null
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7617 $as_echo "$lt_cv_objdir" >&6; }
7618 objdir=$lt_cv_objdir
7624 cat >>confdefs.h <<_ACEOF
7625 #define LT_OBJDIR "$lt_cv_objdir/"
7633 # AIX sometimes has problems with the GCC collect2 program. For some
7634 # reason, if we set the COLLECT_NAMES environment variable, the problems
7635 # vanish in a puff of smoke.
7636 if test "X${COLLECT_NAMES+set}" != Xset; then
7638 export COLLECT_NAMES
7645 can_build_shared=yes
7647 # All known linkers require a `.a' archive for static linking (except MSVC,
7648 # which needs '.lib').
7651 with_gnu_ld="$lt_cv_prog_gnu_ld"
7654 old_CFLAGS="$CFLAGS"
7656 # Set sane defaults for various variables
7657 test -z "$CC" && CC=cc
7658 test -z "$LTCC" && LTCC=$CC
7659 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7660 test -z "$LD" && LD=ld
7661 test -z "$ac_objext" && ac_objext=o
7663 for cc_temp in $compiler""; do
7665 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7666 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7671 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7674 # Only perform the check for file, if the check method requires it
7675 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7676 case $deplibs_check_method in
7678 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7680 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7681 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7682 $as_echo_n "(cached) " >&6
7686 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7689 lt_save_MAGIC_CMD="$MAGIC_CMD"
7690 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7691 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7692 for ac_dir in $ac_dummy; do
7694 test -z "$ac_dir" && ac_dir=.
7695 if test -f $ac_dir/${ac_tool_prefix}file; then
7696 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7697 if test -n "$file_magic_test_file"; then
7698 case $deplibs_check_method in
7700 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7701 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7702 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7703 $EGREP "$file_magic_regex" > /dev/null; then
7708 *** Warning: the command libtool uses to detect shared libraries,
7709 *** $file_magic_cmd, produces output that libtool cannot recognize.
7710 *** The result is that libtool may fail to recognize shared libraries
7711 *** as such. This will affect the creation of libtool libraries that
7712 *** depend on shared libraries, but programs linked with such libtool
7713 *** libraries will work regardless of this problem. Nevertheless, you
7714 *** may want to report the problem to your system manager and/or to
7715 *** bug-libtool@gnu.org
7725 MAGIC_CMD="$lt_save_MAGIC_CMD"
7730 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7731 if test -n "$MAGIC_CMD"; then
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7733 $as_echo "$MAGIC_CMD" >&6; }
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7736 $as_echo "no" >&6; }
7743 if test -z "$lt_cv_path_MAGIC_CMD"; then
7744 if test -n "$ac_tool_prefix"; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7746 $as_echo_n "checking for file... " >&6; }
7747 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7748 $as_echo_n "(cached) " >&6
7752 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7755 lt_save_MAGIC_CMD="$MAGIC_CMD"
7756 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7757 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7758 for ac_dir in $ac_dummy; do
7760 test -z "$ac_dir" && ac_dir=.
7761 if test -f $ac_dir/file; then
7762 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7763 if test -n "$file_magic_test_file"; then
7764 case $deplibs_check_method in
7766 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7767 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7768 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7769 $EGREP "$file_magic_regex" > /dev/null; then
7774 *** Warning: the command libtool uses to detect shared libraries,
7775 *** $file_magic_cmd, produces output that libtool cannot recognize.
7776 *** The result is that libtool may fail to recognize shared libraries
7777 *** as such. This will affect the creation of libtool libraries that
7778 *** depend on shared libraries, but programs linked with such libtool
7779 *** libraries will work regardless of this problem. Nevertheless, you
7780 *** may want to report the problem to your system manager and/or to
7781 *** bug-libtool@gnu.org
7791 MAGIC_CMD="$lt_save_MAGIC_CMD"
7796 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7797 if test -n "$MAGIC_CMD"; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7799 $as_echo "$MAGIC_CMD" >&6; }
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 $as_echo "no" >&6; }
7815 # Use C for the default configuration in the libtool script
7819 ac_cpp='$CPP $CPPFLAGS'
7820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7825 # Source file extension for C test sources.
7828 # Object file extension for compiled C test sources.
7832 # Code to be used in simple compile tests
7833 lt_simple_compile_test_code="int some_variable = 0;"
7835 # Code to be used in simple link tests
7836 lt_simple_link_test_code='int main(){return(0);}'
7844 # If no C compiler was specified, use CC.
7847 # If no C compiler flags were specified, use CFLAGS.
7848 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7850 # Allow CC to be a program name with arguments.
7853 # Save the default compiler, since it gets overwritten when the other
7854 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7855 compiler_DEFAULT=$CC
7857 # save warnings/boilerplate of simple test code
7858 ac_outfile=conftest.$ac_objext
7859 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7860 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7861 _lt_compiler_boilerplate=`cat conftest.err`
7864 ac_outfile=conftest.$ac_objext
7865 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7866 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7867 _lt_linker_boilerplate=`cat conftest.err`
7872 ## There is no encapsulation within the following macros, do not change
7873 ## the running order or otherwise move them around unless you know exactly
7874 ## what you are doing...
7875 if test -n "$compiler"; then
7877 lt_prog_compiler_no_builtin_flag=
7879 if test "$GCC" = yes; then
7880 case $cc_basename in
7882 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7884 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7888 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7889 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7892 lt_cv_prog_compiler_rtti_exceptions=no
7893 ac_outfile=conftest.$ac_objext
7894 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7895 lt_compiler_flag="-fno-rtti -fno-exceptions"
7896 # Insert the option either (1) after the last *FLAGS variable, or
7897 # (2) before a word containing "conftest.", or (3) at the end.
7898 # Note that $ac_compile itself does not contain backslashes and begins
7899 # with a dollar sign (not a hyphen), so the echo should work correctly.
7900 # The option is referenced via a variable to avoid confusing sed.
7901 lt_compile=`echo "$ac_compile" | $SED \
7902 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7903 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7904 -e 's:$: $lt_compiler_flag:'`
7905 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7906 (eval "$lt_compile" 2>conftest.err)
7908 cat conftest.err >&5
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 if (exit $ac_status) && test -s "$ac_outfile"; then
7911 # The compiler can only warn and ignore the option if not recognized
7912 # So say no if there are warnings other than the usual output.
7913 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7915 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7916 lt_cv_prog_compiler_rtti_exceptions=yes
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7923 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7925 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7926 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7938 lt_prog_compiler_wl=
7939 lt_prog_compiler_pic=
7940 lt_prog_compiler_static=
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7943 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7945 if test "$GCC" = yes; then
7946 lt_prog_compiler_wl='-Wl,'
7947 lt_prog_compiler_static='-static'
7951 # All AIX code is PIC.
7952 if test "$host_cpu" = ia64; then
7953 # AIX 5 now supports IA64 processor
7954 lt_prog_compiler_static='-Bstatic'
7956 lt_prog_compiler_pic='-fPIC'
7962 # see comment about AmigaOS4 .so support
7963 lt_prog_compiler_pic='-fPIC'
7966 # FIXME: we need at least 68020 code to build shared libraries, but
7967 # adding the `-m68020' flag to GCC prevents building anything better,
7969 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7974 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7975 # PIC is the default for these OSes.
7978 mingw* | cygwin* | pw32* | os2* | cegcc*)
7979 # This hack is so that the source file can tell whether it is being
7980 # built for inclusion in a dll (and should export symbols for example).
7981 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7982 # (--disable-auto-import) libraries
7983 lt_prog_compiler_pic='-DDLL_EXPORT'
7986 darwin* | rhapsody*)
7987 # PIC is the default on this platform
7988 # Common symbols not allowed in MH_DYLIB files
7989 lt_prog_compiler_pic='-fno-common'
7993 # PIC is the default for Haiku.
7994 # The "-static" flag exists, but is broken.
7995 lt_prog_compiler_static=
7999 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8000 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8001 # sets the default TLS model and affects inlining.
8007 lt_prog_compiler_pic='-fPIC'
8013 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8014 # Instead, we relocate shared libraries at runtime.
8018 # Just because we use GCC doesn't mean we suddenly get shared libraries
8019 # on systems that don't support them.
8020 lt_prog_compiler_can_build_shared=no
8025 # QNX uses GNU C++, but need to define -shared option too, otherwise
8027 lt_prog_compiler_pic='-fPIC -shared'
8031 if test -d /usr/nec; then
8032 lt_prog_compiler_pic=-Kconform_pic
8037 lt_prog_compiler_pic='-fPIC'
8041 case $cc_basename in
8042 nvcc*) # Cuda Compiler Driver 2.2
8043 lt_prog_compiler_wl='-Xlinker '
8044 lt_prog_compiler_pic='-Xcompiler -fPIC'
8048 # PORTME Check for flag to pass linker flags through the system compiler.
8051 lt_prog_compiler_wl='-Wl,'
8052 if test "$host_cpu" = ia64; then
8053 # AIX 5 now supports IA64 processor
8054 lt_prog_compiler_static='-Bstatic'
8056 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8060 mingw* | cygwin* | pw32* | os2* | cegcc*)
8061 # This hack is so that the source file can tell whether it is being
8062 # built for inclusion in a dll (and should export symbols for example).
8063 lt_prog_compiler_pic='-DDLL_EXPORT'
8066 hpux9* | hpux10* | hpux11*)
8067 lt_prog_compiler_wl='-Wl,'
8068 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8075 lt_prog_compiler_pic='+Z'
8078 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8079 lt_prog_compiler_static='${wl}-a ${wl}archive'
8082 irix5* | irix6* | nonstopux*)
8083 lt_prog_compiler_wl='-Wl,'
8084 # PIC (with -KPIC) is the default.
8085 lt_prog_compiler_static='-non_shared'
8088 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8089 case $cc_basename in
8090 # old Intel for x86_64 which still supported -KPIC.
8092 lt_prog_compiler_wl='-Wl,'
8093 lt_prog_compiler_pic='-KPIC'
8094 lt_prog_compiler_static='-static'
8096 # icc used to be incompatible with GCC.
8097 # ICC 10 doesn't accept -KPIC any more.
8099 lt_prog_compiler_wl='-Wl,'
8100 lt_prog_compiler_pic='-fPIC'
8101 lt_prog_compiler_static='-static'
8103 # Lahey Fortran 8.1.
8105 lt_prog_compiler_wl='-Wl,'
8106 lt_prog_compiler_pic='--shared'
8107 lt_prog_compiler_static='--static'
8109 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8110 # Portland Group compilers (*not* the Pentium gcc compiler,
8111 # which looks to be a dead project)
8112 lt_prog_compiler_wl='-Wl,'
8113 lt_prog_compiler_pic='-fpic'
8114 lt_prog_compiler_static='-Bstatic'
8117 lt_prog_compiler_wl='-Wl,'
8118 # All Alpha code is PIC.
8119 lt_prog_compiler_static='-non_shared'
8121 xl* | bgxl* | bgf* | mpixl*)
8122 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8123 lt_prog_compiler_wl='-Wl,'
8124 lt_prog_compiler_pic='-qpic'
8125 lt_prog_compiler_static='-qstaticlink'
8128 case `$CC -V 2>&1 | sed 5q` in
8129 *Sun\ F* | *Sun*Fortran*)
8130 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8131 lt_prog_compiler_pic='-KPIC'
8132 lt_prog_compiler_static='-Bstatic'
8133 lt_prog_compiler_wl=''
8137 lt_prog_compiler_pic='-KPIC'
8138 lt_prog_compiler_static='-Bstatic'
8139 lt_prog_compiler_wl='-Wl,'
8147 lt_prog_compiler_pic='-KPIC'
8148 lt_prog_compiler_static='-Bstatic'
8152 # QNX uses GNU C++, but need to define -shared option too, otherwise
8154 lt_prog_compiler_pic='-fPIC -shared'
8157 osf3* | osf4* | osf5*)
8158 lt_prog_compiler_wl='-Wl,'
8159 # All OSF/1 code is PIC.
8160 lt_prog_compiler_static='-non_shared'
8164 lt_prog_compiler_static='-non_shared'
8168 lt_prog_compiler_pic='-KPIC'
8169 lt_prog_compiler_static='-Bstatic'
8170 case $cc_basename in
8172 lt_prog_compiler_wl='-Qoption ld ';;
8174 lt_prog_compiler_wl='-Wl,';;
8179 lt_prog_compiler_wl='-Qoption ld '
8180 lt_prog_compiler_pic='-PIC'
8181 lt_prog_compiler_static='-Bstatic'
8184 sysv4 | sysv4.2uw2* | sysv4.3*)
8185 lt_prog_compiler_wl='-Wl,'
8186 lt_prog_compiler_pic='-KPIC'
8187 lt_prog_compiler_static='-Bstatic'
8191 if test -d /usr/nec ;then
8192 lt_prog_compiler_pic='-Kconform_pic'
8193 lt_prog_compiler_static='-Bstatic'
8197 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8198 lt_prog_compiler_wl='-Wl,'
8199 lt_prog_compiler_pic='-KPIC'
8200 lt_prog_compiler_static='-Bstatic'
8204 lt_prog_compiler_wl='-Wl,'
8205 lt_prog_compiler_can_build_shared=no
8209 lt_prog_compiler_pic='-pic'
8210 lt_prog_compiler_static='-Bstatic'
8214 lt_prog_compiler_can_build_shared=no
8220 # For platforms which do not support PIC, -DPIC is meaningless:
8222 lt_prog_compiler_pic=
8225 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8229 $as_echo "$lt_prog_compiler_pic" >&6; }
8237 # Check to make sure the PIC flag actually works.
8239 if test -n "$lt_prog_compiler_pic"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8241 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8242 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8243 $as_echo_n "(cached) " >&6
8245 lt_cv_prog_compiler_pic_works=no
8246 ac_outfile=conftest.$ac_objext
8247 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8248 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8249 # Insert the option either (1) after the last *FLAGS variable, or
8250 # (2) before a word containing "conftest.", or (3) at the end.
8251 # Note that $ac_compile itself does not contain backslashes and begins
8252 # with a dollar sign (not a hyphen), so the echo should work correctly.
8253 # The option is referenced via a variable to avoid confusing sed.
8254 lt_compile=`echo "$ac_compile" | $SED \
8255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8257 -e 's:$: $lt_compiler_flag:'`
8258 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8259 (eval "$lt_compile" 2>conftest.err)
8261 cat conftest.err >&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 if (exit $ac_status) && test -s "$ac_outfile"; then
8264 # The compiler can only warn and ignore the option if not recognized
8265 # So say no if there are warnings other than the usual output.
8266 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8267 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8268 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8269 lt_cv_prog_compiler_pic_works=yes
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8276 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8278 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8279 case $lt_prog_compiler_pic in
8281 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8284 lt_prog_compiler_pic=
8285 lt_prog_compiler_can_build_shared=no
8296 # Check to make sure the static flag actually works.
8298 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8300 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8301 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8302 $as_echo_n "(cached) " >&6
8304 lt_cv_prog_compiler_static_works=no
8305 save_LDFLAGS="$LDFLAGS"
8306 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8307 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8308 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8309 # The linker can only warn and ignore the option if not recognized
8310 # So say no if there are warnings
8311 if test -s conftest.err; then
8312 # Append any errors to the config.log.
8313 cat conftest.err 1>&5
8314 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8315 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8316 if diff conftest.exp conftest.er2 >/dev/null; then
8317 lt_cv_prog_compiler_static_works=yes
8320 lt_cv_prog_compiler_static_works=yes
8324 LDFLAGS="$save_LDFLAGS"
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8328 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8330 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8333 lt_prog_compiler_static=
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8343 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8344 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8345 $as_echo_n "(cached) " >&6
8347 lt_cv_prog_compiler_c_o=no
8348 $RM -r conftest 2>/dev/null
8352 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8354 lt_compiler_flag="-o out/conftest2.$ac_objext"
8355 # Insert the option either (1) after the last *FLAGS variable, or
8356 # (2) before a word containing "conftest.", or (3) at the end.
8357 # Note that $ac_compile itself does not contain backslashes and begins
8358 # with a dollar sign (not a hyphen), so the echo should work correctly.
8359 lt_compile=`echo "$ac_compile" | $SED \
8360 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8361 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8362 -e 's:$: $lt_compiler_flag:'`
8363 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8364 (eval "$lt_compile" 2>out/conftest.err)
8366 cat out/conftest.err >&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8370 # The compiler can only warn and ignore the option if not recognized
8371 # So say no if there are warnings
8372 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8373 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8374 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8375 lt_cv_prog_compiler_c_o=yes
8380 # SGI C++ compiler will create directory out/ii_files/ for
8381 # template instantiation
8382 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8383 $RM out/* && rmdir out
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8390 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8398 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8399 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8400 $as_echo_n "(cached) " >&6
8402 lt_cv_prog_compiler_c_o=no
8403 $RM -r conftest 2>/dev/null
8407 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8409 lt_compiler_flag="-o out/conftest2.$ac_objext"
8410 # Insert the option either (1) after the last *FLAGS variable, or
8411 # (2) before a word containing "conftest.", or (3) at the end.
8412 # Note that $ac_compile itself does not contain backslashes and begins
8413 # with a dollar sign (not a hyphen), so the echo should work correctly.
8414 lt_compile=`echo "$ac_compile" | $SED \
8415 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8416 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8417 -e 's:$: $lt_compiler_flag:'`
8418 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8419 (eval "$lt_compile" 2>out/conftest.err)
8421 cat out/conftest.err >&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8425 # The compiler can only warn and ignore the option if not recognized
8426 # So say no if there are warnings
8427 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8428 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8429 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8430 lt_cv_prog_compiler_c_o=yes
8435 # SGI C++ compiler will create directory out/ii_files/ for
8436 # template instantiation
8437 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8438 $RM out/* && rmdir out
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8445 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8450 hard_links="nottested"
8451 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8452 # do not overwrite the value of need_locks provided by the user
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8454 $as_echo_n "checking if we can lock with hard links... " >&6; }
8457 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8459 ln conftest.a conftest.b 2>&5 || hard_links=no
8460 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8462 $as_echo "$hard_links" >&6; }
8463 if test "$hard_links" = no; then
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8465 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8478 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8481 allow_undefined_flag=
8482 always_export_symbols=no
8484 archive_expsym_cmds=
8485 compiler_needs_object=no
8486 enable_shared_with_static_runtimes=no
8487 export_dynamic_flag_spec=
8488 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8489 hardcode_automatic=no
8491 hardcode_direct_absolute=no
8492 hardcode_libdir_flag_spec=
8493 hardcode_libdir_flag_spec_ld=
8494 hardcode_libdir_separator=
8496 hardcode_shlibpath_var=unsupported
8498 link_all_deplibs=unknown
8501 old_archive_from_new_cmds=
8502 old_archive_from_expsyms_cmds=
8503 thread_safe_flag_spec=
8504 whole_archive_flag_spec=
8505 # include_expsyms should be a list of space-separated symbols to be *always*
8506 # included in the symbol list
8508 # exclude_expsyms can be an extended regexp of symbols to exclude
8509 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8510 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8511 # as well as any symbol that contains `d'.
8512 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8513 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8514 # platforms (ab)use it in PIC code, but their linkers get confused if
8515 # the symbol is explicitly referenced. Since portable code cannot
8516 # rely on this symbol name, it's probably fine to never include it in
8517 # preloaded symbol tables.
8518 # Exclude shared library initialization/finalization symbols.
8519 extract_expsyms_cmds=
8522 cygwin* | mingw* | pw32* | cegcc*)
8523 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8524 # When not using gcc, we currently assume that we are using
8525 # Microsoft Visual C++.
8526 if test "$GCC" != yes; then
8531 # we just hope/assume this is gcc and not c89 (= MSVC++)
8541 # On some targets, GNU ld is compatible enough with the native linker
8542 # that we're better off using the native interface for both.
8543 lt_use_gnu_ld_interface=no
8544 if test "$with_gnu_ld" = yes; then
8547 # The AIX port of GNU ld has always aspired to compatibility
8548 # with the native linker. However, as the warning in the GNU ld
8549 # block says, versions before 2.19.5* couldn't really create working
8550 # shared libraries, regardless of the interface used.
8551 case `$LD -v 2>&1` in
8552 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8553 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8554 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8556 lt_use_gnu_ld_interface=yes
8561 lt_use_gnu_ld_interface=yes
8566 if test "$lt_use_gnu_ld_interface" = yes; then
8567 # If archive_cmds runs LD, not CC, wlarc should be empty
8570 # Set some defaults for GNU ld with shared library support. These
8571 # are reset later if shared libraries are not supported. Putting them
8572 # here allows them to be overridden if necessary.
8573 runpath_var=LD_RUN_PATH
8574 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8575 export_dynamic_flag_spec='${wl}--export-dynamic'
8576 # ancient GNU ld didn't support --whole-archive et. al.
8577 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8578 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8580 whole_archive_flag_spec=
8582 supports_anon_versioning=no
8583 case `$LD -v 2>&1` in
8584 *GNU\ gold*) supports_anon_versioning=yes ;;
8585 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8586 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8587 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8588 *\ 2.11.*) ;; # other 2.11 versions
8589 *) supports_anon_versioning=yes ;;
8592 # See if GNU ld supports shared libraries.
8595 # On AIX/PPC, the GNU linker is very broken
8596 if test "$host_cpu" != ia64; then
8600 *** Warning: the GNU linker, at least up to release 2.19, is reported
8601 *** to be unable to reliably create shared libraries on AIX.
8602 *** Therefore, libtool is disabling shared libraries support. If you
8603 *** really care for shared libraries, you may want to install binutils
8604 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8605 *** You will then need to restart the configuration process.
8614 # see comment about AmigaOS4 .so support
8615 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8616 archive_expsym_cmds=''
8619 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)'
8620 hardcode_libdir_flag_spec='-L$libdir'
8621 hardcode_minus_L=yes
8627 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8628 allow_undefined_flag=unsupported
8629 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8630 # support --undefined. This deserves some investigation. FIXME
8631 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8637 cygwin* | mingw* | pw32* | cegcc*)
8638 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8639 # as there is no search path for DLLs.
8640 hardcode_libdir_flag_spec='-L$libdir'
8641 export_dynamic_flag_spec='${wl}--export-all-symbols'
8642 allow_undefined_flag=unsupported
8643 always_export_symbols=no
8644 enable_shared_with_static_runtimes=yes
8645 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8647 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8648 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8649 # If the export-symbols file already is a .def file (1st line
8650 # is EXPORTS), use it as is; otherwise, prepend...
8651 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8652 cp $export_symbols $output_objdir/$soname.def;
8654 echo EXPORTS > $output_objdir/$soname.def;
8655 cat $export_symbols >> $output_objdir/$soname.def;
8657 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8664 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8665 link_all_deplibs=yes
8670 hardcode_shlibpath_var=no
8671 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8672 export_dynamic_flag_spec='${wl}-E'
8673 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8674 # Instead, shared libraries are loaded at an image base (0x10000000 by
8675 # default) and relocated if they conflict, which is a slow very memory
8676 # consuming and fragmenting process. To avoid this, we pick a random,
8677 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8678 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8679 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8680 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'
8683 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8685 if test "$host_os" = linux-dietlibc; then
8686 case $cc_basename in
8687 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8690 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8691 && test "$tmp_diet" = no
8694 tmp_sharedflag='-shared'
8695 case $cc_basename,$host_cpu in
8696 pgcc*) # Portland Group C compiler
8697 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'
8698 tmp_addflag=' $pic_flag'
8700 pgf77* | pgf90* | pgf95* | pgfortran*)
8701 # Portland Group f77 and f90 compilers
8702 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'
8703 tmp_addflag=' $pic_flag -Mnomain' ;;
8704 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8705 tmp_addflag=' -i_dynamic' ;;
8706 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8707 tmp_addflag=' -i_dynamic -nofor_main' ;;
8708 ifc* | ifort*) # Intel Fortran compiler
8709 tmp_addflag=' -nofor_main' ;;
8710 lf95*) # Lahey Fortran 8.1
8711 whole_archive_flag_spec=
8712 tmp_sharedflag='--shared' ;;
8713 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8714 tmp_sharedflag='-qmkshrobj'
8716 nvcc*) # Cuda Compiler Driver 2.2
8717 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'
8718 compiler_needs_object=yes
8721 case `$CC -V 2>&1 | sed 5q` in
8722 *Sun\ C*) # Sun C 5.9
8723 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'
8724 compiler_needs_object=yes
8725 tmp_sharedflag='-G' ;;
8726 *Sun\ F*) # Sun Fortran 8.3
8727 tmp_sharedflag='-G' ;;
8729 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8731 if test "x$supports_anon_versioning" = xyes; then
8732 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8733 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8734 echo "local: *; };" >> $output_objdir/$libname.ver~
8735 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8738 case $cc_basename in
8739 xlf* | bgf* | bgxlf* | mpixlf*)
8740 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8741 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8742 hardcode_libdir_flag_spec=
8743 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8744 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8745 if test "x$supports_anon_versioning" = xyes; then
8746 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8747 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8748 echo "local: *; };" >> $output_objdir/$libname.ver~
8749 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8759 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8760 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8763 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8764 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8769 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8773 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8774 *** create shared libraries on Solaris systems. Therefore, libtool
8775 *** is disabling shared libraries support. We urge you to upgrade GNU
8776 *** binutils to release 2.9.1 or newer. Another option is to modify
8777 *** your PATH or compiler configuration so that the native linker is
8778 *** used, and then restart.
8781 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8782 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8783 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8789 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8790 case `$LD -v 2>&1` in
8791 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8795 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8796 *** reliably create shared libraries on SCO systems. Therefore, libtool
8797 *** is disabling shared libraries support. We urge you to upgrade GNU
8798 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8799 *** your PATH or compiler configuration so that the native linker is
8800 *** used, and then restart.
8805 # For security reasons, it is highly recommended that you always
8806 # use absolute paths for naming shared libraries, and exclude the
8807 # DT_RUNPATH tag from executables and libraries. But doing so
8808 # requires that you compile everything twice, which is a pain.
8809 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8810 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8811 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8812 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8821 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8824 hardcode_shlibpath_var=no
8828 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8829 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8830 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8837 if test "$ld_shlibs" = no; then
8839 hardcode_libdir_flag_spec=
8840 export_dynamic_flag_spec=
8841 whole_archive_flag_spec=
8844 # PORTME fill in a description of your system's linker (not GNU ld)
8847 allow_undefined_flag=unsupported
8848 always_export_symbols=yes
8849 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'
8850 # Note: this linker hardcodes the directories in LIBPATH if there
8851 # are no directories specified by -L.
8852 hardcode_minus_L=yes
8853 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8854 # Neither direct hardcoding nor static linking is supported with a
8856 hardcode_direct=unsupported
8861 if test "$host_cpu" = ia64; then
8862 # On IA64, the linker does run time linking by default, so we don't
8863 # have to do anything special.
8864 aix_use_runtimelinking=no
8865 exp_sym_flag='-Bexport'
8868 # If we're using GNU nm, then we don't want the "-C" option.
8869 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8870 # Also, AIX nm treats weak defined symbols like other global
8871 # defined symbols, whereas GNU nm marks them as "W".
8872 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8873 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'
8875 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'
8877 aix_use_runtimelinking=no
8879 # Test if we are trying to use run time linking or normal
8880 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8881 # need to do runtime linking.
8882 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8883 for ld_flag in $LDFLAGS; do
8884 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8885 aix_use_runtimelinking=yes
8892 exp_sym_flag='-bexport'
8893 no_entry_flag='-bnoentry'
8896 # When large executables or shared objects are built, AIX ld can
8897 # have problems creating the table of contents. If linking a library
8898 # or program results in "error TOC overflow" add -mminimal-toc to
8899 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8900 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8904 hardcode_direct_absolute=yes
8905 hardcode_libdir_separator=':'
8906 link_all_deplibs=yes
8907 file_list_spec='${wl}-f,'
8909 if test "$GCC" = yes; then
8910 case $host_os in aix4.[012]|aix4.[012].*)
8911 # We only want to do this on AIX 4.2 and lower, the check
8912 # below for broken collect2 doesn't work under 4.3+
8913 collect2name=`${CC} -print-prog-name=collect2`
8914 if test -f "$collect2name" &&
8915 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8917 # We have reworked collect2
8920 # We have old collect2
8921 hardcode_direct=unsupported
8922 # It fails to find uninstalled libraries when the uninstalled
8923 # path is not listed in the libpath. Setting hardcode_minus_L
8924 # to unsupported forces relinking
8925 hardcode_minus_L=yes
8926 hardcode_libdir_flag_spec='-L$libdir'
8927 hardcode_libdir_separator=
8931 shared_flag='-shared'
8932 if test "$aix_use_runtimelinking" = yes; then
8933 shared_flag="$shared_flag "'${wl}-G'
8937 if test "$host_cpu" = ia64; then
8938 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8939 # chokes on -Wl,-G. The following line is correct:
8942 if test "$aix_use_runtimelinking" = yes; then
8943 shared_flag='${wl}-G'
8945 shared_flag='${wl}-bM:SRE'
8950 export_dynamic_flag_spec='${wl}-bexpall'
8951 # It seems that -bexpall does not export symbols beginning with
8952 # underscore (_), so it is better to generate a list of symbols to export.
8953 always_export_symbols=yes
8954 if test "$aix_use_runtimelinking" = yes; then
8955 # Warning - without using the other runtime loading flags (-brtl),
8956 # -berok will link without error, but may produce a broken library.
8957 allow_undefined_flag='-berok'
8958 # Determine the default libpath from the value encoded in an
8960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8961 /* end confdefs.h. */
8971 if ac_fn_c_try_link "$LINENO"; then :
8973 lt_aix_libpath_sed='
8974 /Import File Strings/,/^$/ {
8980 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8981 # Check for a 64-bit object if we didn't find anything.
8982 if test -z "$aix_libpath"; then
8983 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8986 rm -f core conftest.err conftest.$ac_objext \
8987 conftest$ac_exeext conftest.$ac_ext
8988 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8990 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8991 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"
8993 if test "$host_cpu" = ia64; then
8994 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8995 allow_undefined_flag="-z nodefs"
8996 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"
8998 # Determine the default libpath from the value encoded in an
9000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9001 /* end confdefs.h. */
9011 if ac_fn_c_try_link "$LINENO"; then :
9013 lt_aix_libpath_sed='
9014 /Import File Strings/,/^$/ {
9020 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9021 # Check for a 64-bit object if we didn't find anything.
9022 if test -z "$aix_libpath"; then
9023 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9028 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9030 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9031 # Warning - without using the other run time loading flags,
9032 # -berok will link without error, but may produce a broken library.
9033 no_undefined_flag=' ${wl}-bernotok'
9034 allow_undefined_flag=' ${wl}-berok'
9035 if test "$with_gnu_ld" = yes; then
9036 # We only use this code for GNU lds that support --whole-archive.
9037 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9039 # Exported symbols can be pulled into shared objects from archives
9040 whole_archive_flag_spec='$convenience'
9042 archive_cmds_need_lc=yes
9043 # This is similar to how AIX traditionally builds its shared libraries.
9044 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'
9052 # see comment about AmigaOS4 .so support
9053 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9054 archive_expsym_cmds=''
9057 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)'
9058 hardcode_libdir_flag_spec='-L$libdir'
9059 hardcode_minus_L=yes
9065 export_dynamic_flag_spec=-rdynamic
9068 cygwin* | mingw* | pw32* | cegcc*)
9069 # When not using gcc, we currently assume that we are using
9070 # Microsoft Visual C++.
9071 # hardcode_libdir_flag_spec is actually meaningless, as there is
9072 # no search path for DLLs.
9073 hardcode_libdir_flag_spec=' '
9074 allow_undefined_flag=unsupported
9075 # Tell ltmain to make .lib files, not .a files.
9077 # Tell ltmain to make .dll files, not .so files.
9079 # FIXME: Setting linknames here is a bad hack.
9080 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9081 # The linker will automatically build a .lib file if we build a DLL.
9082 old_archive_from_new_cmds='true'
9083 # FIXME: Should let the user specify the lib program.
9084 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9085 fix_srcfile_path='`cygpath -w "$srcfile"`'
9086 enable_shared_with_static_runtimes=yes
9089 darwin* | rhapsody*)
9092 archive_cmds_need_lc=no
9094 hardcode_automatic=yes
9095 hardcode_shlibpath_var=unsupported
9096 if test "$lt_cv_ld_force_load" = "yes"; then
9097 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\"`'
9099 whole_archive_flag_spec=''
9101 link_all_deplibs=yes
9102 allow_undefined_flag="$_lt_dar_allow_undefined"
9103 case $cc_basename in
9104 ifort*) _lt_dar_can_shared=yes ;;
9105 *) _lt_dar_can_shared=$GCC ;;
9107 if test "$_lt_dar_can_shared" = "yes"; then
9108 output_verbose_link_cmd=func_echo_all
9109 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9110 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9111 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}"
9112 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}"
9121 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9122 hardcode_libdir_flag_spec='-L$libdir'
9123 hardcode_shlibpath_var=no
9126 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9127 # support. Future versions do this automatically, but an explicit c++rt0.o
9128 # does not break anything, and helps significantly (at the cost of a little
9131 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9132 hardcode_libdir_flag_spec='-R$libdir'
9134 hardcode_shlibpath_var=no
9137 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9139 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9141 hardcode_minus_L=yes
9142 hardcode_shlibpath_var=no
9145 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9146 freebsd* | dragonfly*)
9147 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9148 hardcode_libdir_flag_spec='-R$libdir'
9150 hardcode_shlibpath_var=no
9154 if test "$GCC" = yes; then
9155 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9157 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'
9159 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9160 hardcode_libdir_separator=:
9163 # hardcode_minus_L: Not really in the search PATH,
9164 # but as the default location of the library.
9165 hardcode_minus_L=yes
9166 export_dynamic_flag_spec='${wl}-E'
9170 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9171 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9173 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9175 if test "$with_gnu_ld" = no; then
9176 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9177 hardcode_libdir_flag_spec_ld='+b $libdir'
9178 hardcode_libdir_separator=:
9180 hardcode_direct_absolute=yes
9181 export_dynamic_flag_spec='${wl}-E'
9182 # hardcode_minus_L: Not really in the search PATH,
9183 # but as the default location of the library.
9184 hardcode_minus_L=yes
9189 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9192 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9195 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9198 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9204 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9207 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9211 # Older versions of the 11.00 compiler do not understand -b yet
9212 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9214 $as_echo_n "checking if $CC understands -b... " >&6; }
9215 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9216 $as_echo_n "(cached) " >&6
9218 lt_cv_prog_compiler__b=no
9219 save_LDFLAGS="$LDFLAGS"
9220 LDFLAGS="$LDFLAGS -b"
9221 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9222 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9223 # The linker can only warn and ignore the option if not recognized
9224 # So say no if there are warnings
9225 if test -s conftest.err; then
9226 # Append any errors to the config.log.
9227 cat conftest.err 1>&5
9228 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9229 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9230 if diff conftest.exp conftest.er2 >/dev/null; then
9231 lt_cv_prog_compiler__b=yes
9234 lt_cv_prog_compiler__b=yes
9238 LDFLAGS="$save_LDFLAGS"
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9242 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9244 if test x"$lt_cv_prog_compiler__b" = xyes; then
9245 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9247 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9253 if test "$with_gnu_ld" = no; then
9254 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9255 hardcode_libdir_separator=:
9260 hardcode_shlibpath_var=no
9264 hardcode_direct_absolute=yes
9265 export_dynamic_flag_spec='${wl}-E'
9267 # hardcode_minus_L: Not really in the search PATH,
9268 # but as the default location of the library.
9269 hardcode_minus_L=yes
9275 irix5* | irix6* | nonstopux*)
9276 if test "$GCC" = yes; then
9277 archive_cmds='$CC -shared $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'
9278 # Try to use the -exported_symbol ld option, if it does not
9279 # work, assume that -exports_file does not work either and
9280 # implicitly export all symbols.
9281 save_LDFLAGS="$LDFLAGS"
9282 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9287 if ac_fn_c_try_link "$LINENO"; then :
9288 archive_expsym_cmds='$CC -shared $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'
9291 rm -f core conftest.err conftest.$ac_objext \
9292 conftest$ac_exeext conftest.$ac_ext
9293 LDFLAGS="$save_LDFLAGS"
9295 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'
9296 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'
9298 archive_cmds_need_lc='no'
9299 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9300 hardcode_libdir_separator=:
9302 link_all_deplibs=yes
9306 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9307 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9309 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9311 hardcode_libdir_flag_spec='-R$libdir'
9313 hardcode_shlibpath_var=no
9317 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9319 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9320 hardcode_libdir_separator=:
9321 hardcode_shlibpath_var=no
9328 if test -f /usr/libexec/ld.so; then
9330 hardcode_shlibpath_var=no
9331 hardcode_direct_absolute=yes
9332 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9333 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9334 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9335 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9336 export_dynamic_flag_spec='${wl}-E'
9339 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9340 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9341 hardcode_libdir_flag_spec='-R$libdir'
9344 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9345 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9355 hardcode_libdir_flag_spec='-L$libdir'
9356 hardcode_minus_L=yes
9357 allow_undefined_flag=unsupported
9358 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'
9359 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9363 if test "$GCC" = yes; then
9364 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9365 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'
9367 allow_undefined_flag=' -expect_unresolved \*'
9368 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'
9370 archive_cmds_need_lc='no'
9371 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9372 hardcode_libdir_separator=:
9375 osf4* | osf5*) # as osf3* with the addition of -msym flag
9376 if test "$GCC" = yes; then
9377 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9378 archive_cmds='$CC -shared${allow_undefined_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'
9379 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9381 allow_undefined_flag=' -expect_unresolved \*'
9382 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'
9383 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~
9384 $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'
9386 # Both c and cxx compiler support -rpath directly
9387 hardcode_libdir_flag_spec='-rpath $libdir'
9389 archive_cmds_need_lc='no'
9390 hardcode_libdir_separator=:
9394 no_undefined_flag=' -z defs'
9395 if test "$GCC" = yes; then
9397 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9398 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9399 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9401 case `$CC -V 2>&1` in
9404 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9405 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9406 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9410 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9411 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9412 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9416 hardcode_libdir_flag_spec='-R$libdir'
9417 hardcode_shlibpath_var=no
9419 solaris2.[0-5] | solaris2.[0-5].*) ;;
9421 # The compiler driver will combine and reorder linker options,
9422 # but understands `-z linker_flag'. GCC discards it without `$wl',
9423 # but is careful enough not to reorder.
9424 # Supported since Solaris 2.6 (maybe 2.5.1?)
9425 if test "$GCC" = yes; then
9426 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9428 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9432 link_all_deplibs=yes
9436 if test "x$host_vendor" = xsequent; then
9437 # Use $CC to link under sequent, because it throws in some extra .o
9438 # files that make .init and .fini sections work.
9439 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9441 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9443 hardcode_libdir_flag_spec='-L$libdir'
9445 hardcode_minus_L=yes
9446 hardcode_shlibpath_var=no
9450 case $host_vendor in
9452 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9453 hardcode_direct=yes # is this really true???
9456 ## LD is ld it makes a PLAMLIB
9457 ## CC just makes a GrossModule.
9458 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9459 reload_cmds='$CC -r -o $output$reload_objs'
9463 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9464 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9467 runpath_var='LD_RUN_PATH'
9468 hardcode_shlibpath_var=no
9472 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9473 hardcode_shlibpath_var=no
9474 export_dynamic_flag_spec='-Bexport'
9478 if test -d /usr/nec; then
9479 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9480 hardcode_shlibpath_var=no
9481 runpath_var=LD_RUN_PATH
9482 hardcode_runpath_var=yes
9487 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9488 no_undefined_flag='${wl}-z,text'
9489 archive_cmds_need_lc=no
9490 hardcode_shlibpath_var=no
9491 runpath_var='LD_RUN_PATH'
9493 if test "$GCC" = yes; then
9494 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9495 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9497 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9498 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9502 sysv5* | sco3.2v5* | sco5v6*)
9503 # Note: We can NOT use -z defs as we might desire, because we do not
9504 # link with -lc, and that would cause any symbols used from libc to
9505 # always be unresolved, which means just about no library would
9506 # ever link correctly. If we're not using GNU ld we use -z text
9507 # though, which does catch some bad symbols but isn't as heavy-handed
9509 no_undefined_flag='${wl}-z,text'
9510 allow_undefined_flag='${wl}-z,nodefs'
9511 archive_cmds_need_lc=no
9512 hardcode_shlibpath_var=no
9513 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9514 hardcode_libdir_separator=':'
9515 link_all_deplibs=yes
9516 export_dynamic_flag_spec='${wl}-Bexport'
9517 runpath_var='LD_RUN_PATH'
9519 if test "$GCC" = yes; then
9520 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9521 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9524 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9529 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9530 hardcode_libdir_flag_spec='-L$libdir'
9531 hardcode_shlibpath_var=no
9539 if test x$host_vendor = xsni; then
9541 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9542 export_dynamic_flag_spec='${wl}-Blargedynsym'
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9549 $as_echo "$ld_shlibs" >&6; }
9550 test "$ld_shlibs" = no && can_build_shared=no
9552 with_gnu_ld=$with_gnu_ld
9569 # Do we need to explicitly link libc?
9571 case "x$archive_cmds_need_lc" in
9573 # Assume -lc should be added
9574 archive_cmds_need_lc=yes
9576 if test "$enable_shared" = yes && test "$GCC" = yes; then
9577 case $archive_cmds in
9579 # FIXME: we may have to deal with multi-command sequences.
9582 # Test whether the compiler implicitly links with -lc since on some
9583 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9584 # to ld, don't add -lc before -lgcc.
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9586 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9587 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9588 $as_echo_n "(cached) " >&6
9591 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9594 (eval $ac_compile) 2>&5
9596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9597 test $ac_status = 0; } 2>conftest.err; then
9600 libobjs=conftest.$ac_objext
9602 wl=$lt_prog_compiler_wl
9603 pic_flag=$lt_prog_compiler_pic
9609 lt_save_allow_undefined_flag=$allow_undefined_flag
9610 allow_undefined_flag=
9611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9612 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9615 test $ac_status = 0; }
9617 lt_cv_archive_cmds_need_lc=no
9619 lt_cv_archive_cmds_need_lc=yes
9621 allow_undefined_flag=$lt_save_allow_undefined_flag
9623 cat conftest.err 1>&5
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9629 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9630 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9794 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9796 if test "$GCC" = yes; then
9798 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9799 *) lt_awk_arg="/^libraries:/" ;;
9802 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9803 *) lt_sed_strip_eq="s,=/,/,g" ;;
9805 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9806 case $lt_search_path_spec in
9808 # if the path contains ";" then we assume it to be the separator
9809 # otherwise default to the standard path separator (i.e. ":") - it is
9810 # assumed that no part of a normal pathname contains ";" but that should
9811 # okay in the real world where ";" in dirpaths is itself problematic.
9812 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9815 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9818 # Ok, now we have the path, separated by spaces, we can step through it
9819 # and add multilib dir if necessary.
9820 lt_tmp_lt_search_path_spec=
9821 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9822 for lt_sys_path in $lt_search_path_spec; do
9823 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9824 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9826 test -d "$lt_sys_path" && \
9827 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9830 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9831 BEGIN {RS=" "; FS="/|\n";} {
9834 for (lt_i = NF; lt_i > 0; lt_i--) {
9835 if ($lt_i != "" && $lt_i != ".") {
9836 if ($lt_i == "..") {
9839 if (lt_count == 0) {
9840 lt_foo="/" $lt_i lt_foo;
9847 if (lt_foo != "") { lt_freq[lt_foo]++; }
9848 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9850 # AWK program above erroneously prepends '/' to C:/dos/paths
9853 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9854 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9856 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9858 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9861 libname_spec='lib$name'
9869 shlibpath_overrides_runpath=unknown
9871 dynamic_linker="$host_os ld.so"
9872 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9873 need_lib_prefix=unknown
9874 hardcode_into_libs=no
9876 # when you set need_version to no, make sure it does not cause -set_version
9877 # flags to be left without arguments
9878 need_version=unknown
9883 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9884 shlibpath_var=LIBPATH
9886 # AIX 3 has no versioning support, so we append a major version to the name.
9887 soname_spec='${libname}${release}${shared_ext}$major'
9894 hardcode_into_libs=yes
9895 if test "$host_cpu" = ia64; then
9896 # AIX 5 supports IA64
9897 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9898 shlibpath_var=LD_LIBRARY_PATH
9900 # With GCC up to 2.95.x, collect2 would create an import file
9901 # for dependence libraries. The import file would start with
9902 # the line `#! .'. This would cause the generated library to
9903 # depend on `.', always an invalid library. This was fixed in
9904 # development snapshots of GCC prior to 3.0.
9906 aix4 | aix4.[01] | aix4.[01].*)
9907 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9909 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9916 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9917 # soname into executable. Probably we can add versioning support to
9918 # collect2, so additional links can be useful in future.
9919 if test "$aix_use_runtimelinking" = yes; then
9920 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9921 # instead of lib<name>.a to let people know that these are not
9922 # typical AIX shared libraries.
9923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9925 # We preserve .a as extension for shared libraries through AIX4.2
9926 # and later when we are not doing run time linking.
9927 library_names_spec='${libname}${release}.a $libname.a'
9928 soname_spec='${libname}${release}${shared_ext}$major'
9930 shlibpath_var=LIBPATH
9937 # Since July 2007 AmigaOS4 officially supports .so libraries.
9938 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9942 library_names_spec='$libname.ixlibrary $libname.a'
9943 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9944 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'
9950 library_names_spec='${libname}${shared_ext}'
9951 dynamic_linker="$host_os ld.so"
9952 shlibpath_var=LIBRARY_PATH
9958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9959 soname_spec='${libname}${release}${shared_ext}$major'
9960 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9961 shlibpath_var=LD_LIBRARY_PATH
9962 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9963 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9964 # the default ld.so.conf also contains /usr/contrib/lib and
9965 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9966 # libtool to hard-code these into programs
9969 cygwin* | mingw* | pw32* | cegcc*)
9970 version_type=windows
9975 case $GCC,$host_os in
9976 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9977 library_names_spec='$libname.dll.a'
9978 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9979 postinstall_cmds='base_file=`basename \${file}`~
9980 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9981 dldir=$destdir/`dirname \$dlpath`~
9982 test -d \$dldir || mkdir -p \$dldir~
9983 $install_prog $dir/$dlname \$dldir/$dlname~
9984 chmod a+x \$dldir/$dlname~
9985 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9986 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9988 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9989 dlpath=$dir/\$dldll~
9991 shlibpath_overrides_runpath=yes
9995 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9996 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9998 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10001 # MinGW DLLs use traditional 'lib' prefix
10002 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10005 # pw32 DLLs use 'pw' prefix rather than 'lib'
10006 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10012 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10015 dynamic_linker='Win32 ld.exe'
10016 # FIXME: first we should search . and the directory the executable is in
10020 darwin* | rhapsody*)
10021 dynamic_linker="$host_os dyld"
10022 version_type=darwin
10025 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10026 soname_spec='${libname}${release}${major}$shared_ext'
10027 shlibpath_overrides_runpath=yes
10028 shlibpath_var=DYLD_LIBRARY_PATH
10029 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10031 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10032 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10040 soname_spec='${libname}${release}${shared_ext}$major'
10041 shlibpath_var=LD_LIBRARY_PATH
10044 freebsd* | dragonfly*)
10045 # DragonFly does not have aout. When/if they implement a new
10046 # versioning mechanism, adjust this.
10047 if test -x /usr/bin/objformat; then
10048 objformat=`/usr/bin/objformat`
10051 freebsd[23].*) objformat=aout ;;
10052 *) objformat=elf ;;
10055 version_type=freebsd-$objformat
10056 case $version_type in
10058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10063 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10067 shlibpath_var=LD_LIBRARY_PATH
10070 shlibpath_overrides_runpath=yes
10072 freebsd3.[01]* | freebsdelf3.[01]*)
10073 shlibpath_overrides_runpath=yes
10074 hardcode_into_libs=yes
10076 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10077 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10078 shlibpath_overrides_runpath=no
10079 hardcode_into_libs=yes
10081 *) # from 4.6 on, and DragonFly
10082 shlibpath_overrides_runpath=yes
10083 hardcode_into_libs=yes
10092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10093 soname_spec='${libname}${release}${shared_ext}$major'
10094 shlibpath_var=LD_LIBRARY_PATH
10095 hardcode_into_libs=yes
10102 dynamic_linker="$host_os runtime_loader"
10103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10104 soname_spec='${libname}${release}${shared_ext}$major'
10105 shlibpath_var=LIBRARY_PATH
10106 shlibpath_overrides_runpath=yes
10107 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10108 hardcode_into_libs=yes
10111 hpux9* | hpux10* | hpux11*)
10112 # Give a soname corresponding to the major version so that dld.sl refuses to
10113 # link against other versions.
10120 hardcode_into_libs=yes
10121 dynamic_linker="$host_os dld.so"
10122 shlibpath_var=LD_LIBRARY_PATH
10123 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10125 soname_spec='${libname}${release}${shared_ext}$major'
10126 if test "X$HPUX_IA64_MODE" = X32; then
10127 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10129 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10131 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10135 hardcode_into_libs=yes
10136 dynamic_linker="$host_os dld.sl"
10137 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10138 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10140 soname_spec='${libname}${release}${shared_ext}$major'
10141 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10142 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10146 dynamic_linker="$host_os dld.sl"
10147 shlibpath_var=SHLIB_PATH
10148 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10150 soname_spec='${libname}${release}${shared_ext}$major'
10153 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10154 postinstall_cmds='chmod 555 $lib'
10155 # or fails outright, so override atomically:
10156 install_override_mode=555
10163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10164 soname_spec='${libname}${release}${shared_ext}$major'
10165 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10166 shlibpath_var=LD_LIBRARY_PATH
10167 shlibpath_overrides_runpath=no
10168 hardcode_into_libs=yes
10171 irix5* | irix6* | nonstopux*)
10173 nonstopux*) version_type=nonstopux ;;
10175 if test "$lt_cv_prog_gnu_ld" = yes; then
10183 soname_spec='${libname}${release}${shared_ext}$major'
10184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10186 irix5* | nonstopux*)
10187 libsuff= shlibsuff=
10190 case $LD in # libtool.m4 will add one of these switches to LD
10191 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10192 libsuff= shlibsuff= libmagic=32-bit;;
10193 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10194 libsuff=32 shlibsuff=N32 libmagic=N32;;
10195 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10196 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10197 *) libsuff= shlibsuff= libmagic=never-match;;
10201 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10202 shlibpath_overrides_runpath=no
10203 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10204 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10205 hardcode_into_libs=yes
10208 # No shared lib support for Linux oldld, aout, or coff.
10209 linux*oldld* | linux*aout* | linux*coff*)
10213 # This must be Linux ELF.
10214 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219 soname_spec='${libname}${release}${shared_ext}$major'
10220 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10221 shlibpath_var=LD_LIBRARY_PATH
10222 shlibpath_overrides_runpath=no
10224 # Some binutils ld are patched to set DT_RUNPATH
10225 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10226 $as_echo_n "(cached) " >&6
10228 lt_cv_shlibpath_overrides_runpath=no
10229 save_LDFLAGS=$LDFLAGS
10230 save_libdir=$libdir
10231 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10232 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10244 if ac_fn_c_try_link "$LINENO"; then :
10245 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10246 lt_cv_shlibpath_overrides_runpath=yes
10249 rm -f core conftest.err conftest.$ac_objext \
10250 conftest$ac_exeext conftest.$ac_ext
10251 LDFLAGS=$save_LDFLAGS
10252 libdir=$save_libdir
10256 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10258 # This implies no fast_install, which is unacceptable.
10259 # Some rework will be needed to allow for fast_install
10260 # before this can be enabled.
10261 hardcode_into_libs=yes
10263 # Append ld.so.conf contents to the search path
10264 if test -f /etc/ld.so.conf; then
10265 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' ' '`
10266 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10269 # We used to test for /lib/ld.so.1 and disable shared libraries on
10270 # powerpc, because MkLinux only supported shared libraries with the
10271 # GNU dynamic linker. Since this was broken with cross compilers,
10272 # most powerpc-linux boxes support dynamic linking these days and
10273 # people can always --disable-shared, the test was removed, and we
10274 # assume the GNU/Linux dynamic linker is in use.
10275 dynamic_linker='GNU/Linux ld.so'
10282 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10284 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10285 dynamic_linker='NetBSD (a.out) ld.so'
10287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10288 soname_spec='${libname}${release}${shared_ext}$major'
10289 dynamic_linker='NetBSD ld.elf_so'
10291 shlibpath_var=LD_LIBRARY_PATH
10292 shlibpath_overrides_runpath=yes
10293 hardcode_into_libs=yes
10298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10299 shlibpath_var=LD_LIBRARY_PATH
10300 shlibpath_overrides_runpath=yes
10307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10308 soname_spec='${libname}${release}${shared_ext}$major'
10309 shlibpath_var=LD_LIBRARY_PATH
10310 shlibpath_overrides_runpath=no
10311 hardcode_into_libs=yes
10312 dynamic_linker='ldqnx.so'
10317 sys_lib_dlsearch_path_spec="/usr/lib"
10319 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10321 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10322 *) need_version=no ;;
10324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10325 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10326 shlibpath_var=LD_LIBRARY_PATH
10327 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10329 openbsd2.[89] | openbsd2.[89].*)
10330 shlibpath_overrides_runpath=no
10333 shlibpath_overrides_runpath=yes
10337 shlibpath_overrides_runpath=yes
10342 libname_spec='$name'
10345 library_names_spec='$libname${shared_ext} $libname.a'
10346 dynamic_linker='OS/2 ld.exe'
10347 shlibpath_var=LIBPATH
10350 osf3* | osf4* | osf5*)
10354 soname_spec='${libname}${release}${shared_ext}$major'
10355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10356 shlibpath_var=LD_LIBRARY_PATH
10357 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10358 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370 soname_spec='${libname}${release}${shared_ext}$major'
10371 shlibpath_var=LD_LIBRARY_PATH
10372 shlibpath_overrides_runpath=yes
10373 hardcode_into_libs=yes
10374 # ldd complains unless libraries are executable
10375 postinstall_cmds='chmod +x $lib'
10380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10381 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10382 shlibpath_var=LD_LIBRARY_PATH
10383 shlibpath_overrides_runpath=yes
10384 if test "$with_gnu_ld" = yes; then
10392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10393 soname_spec='${libname}${release}${shared_ext}$major'
10394 shlibpath_var=LD_LIBRARY_PATH
10395 case $host_vendor in
10397 shlibpath_overrides_runpath=no
10399 runpath_var=LD_RUN_PATH
10407 shlibpath_overrides_runpath=no
10408 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10414 if test -d /usr/nec ;then
10416 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10417 soname_spec='$libname${shared_ext}.$major'
10418 shlibpath_var=LD_LIBRARY_PATH
10422 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10423 version_type=freebsd-elf
10426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10427 soname_spec='${libname}${release}${shared_ext}$major'
10428 shlibpath_var=LD_LIBRARY_PATH
10429 shlibpath_overrides_runpath=yes
10430 hardcode_into_libs=yes
10431 if test "$with_gnu_ld" = yes; then
10432 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10434 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10437 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10441 sys_lib_dlsearch_path_spec='/usr/lib'
10445 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450 shlibpath_var=LD_LIBRARY_PATH
10451 shlibpath_overrides_runpath=no
10452 hardcode_into_libs=yes
10457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10458 soname_spec='${libname}${release}${shared_ext}$major'
10459 shlibpath_var=LD_LIBRARY_PATH
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10467 $as_echo "$dynamic_linker" >&6; }
10468 test "$dynamic_linker" = no && can_build_shared=no
10470 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10471 if test "$GCC" = yes; then
10472 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10475 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10476 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10478 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10479 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10574 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10576 if test -n "$hardcode_libdir_flag_spec" ||
10577 test -n "$runpath_var" ||
10578 test "X$hardcode_automatic" = "Xyes" ; then
10580 # We can hardcode non-existent directories.
10581 if test "$hardcode_direct" != no &&
10582 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10583 # have to relink, otherwise we might link with an installed library
10584 # when we should be linking with a yet-to-be-installed one
10585 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10586 test "$hardcode_minus_L" != no; then
10587 # Linking always hardcodes the temporary library directory.
10588 hardcode_action=relink
10590 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10591 hardcode_action=immediate
10594 # We cannot hardcode anything, or else we can only hardcode existing
10596 hardcode_action=unsupported
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10599 $as_echo "$hardcode_action" >&6; }
10601 if test "$hardcode_action" = relink ||
10602 test "$inherit_rpath" = yes; then
10603 # Fast installation is not supported
10604 enable_fast_install=no
10605 elif test "$shlibpath_overrides_runpath" = yes ||
10606 test "$enable_shared" = no; then
10607 # Fast installation is not necessary
10608 enable_fast_install=needless
10616 if test "x$enable_dlopen" != xyes; then
10617 enable_dlopen=unknown
10618 enable_dlopen_self=unknown
10619 enable_dlopen_self_static=unknown
10626 lt_cv_dlopen="load_add_on"
10628 lt_cv_dlopen_self=yes
10631 mingw* | pw32* | cegcc*)
10632 lt_cv_dlopen="LoadLibrary"
10637 lt_cv_dlopen="dlopen"
10642 # if libdl is installed we need to link against it
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10644 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10645 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10646 $as_echo_n "(cached) " >&6
10648 ac_check_lib_save_LIBS=$LIBS
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10653 /* Override any GCC internal prototype to avoid an error.
10654 Use char because int might match the return type of a GCC
10655 builtin and then its argument prototype would still apply. */
10668 if ac_fn_c_try_link "$LINENO"; then :
10669 ac_cv_lib_dl_dlopen=yes
10671 ac_cv_lib_dl_dlopen=no
10673 rm -f core conftest.err conftest.$ac_objext \
10674 conftest$ac_exeext conftest.$ac_ext
10675 LIBS=$ac_check_lib_save_LIBS
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10678 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10679 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10680 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10683 lt_cv_dlopen="dyld"
10685 lt_cv_dlopen_self=yes
10692 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10693 if test "x$ac_cv_func_shl_load" = x""yes; then :
10694 lt_cv_dlopen="shl_load"
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10697 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10698 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10699 $as_echo_n "(cached) " >&6
10701 ac_check_lib_save_LIBS=$LIBS
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10706 /* Override any GCC internal prototype to avoid an error.
10707 Use char because int might match the return type of a GCC
10708 builtin and then its argument prototype would still apply. */
10716 return shl_load ();
10721 if ac_fn_c_try_link "$LINENO"; then :
10722 ac_cv_lib_dld_shl_load=yes
10724 ac_cv_lib_dld_shl_load=no
10726 rm -f core conftest.err conftest.$ac_objext \
10727 conftest$ac_exeext conftest.$ac_ext
10728 LIBS=$ac_check_lib_save_LIBS
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10731 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10732 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10733 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10735 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10736 if test "x$ac_cv_func_dlopen" = x""yes; then :
10737 lt_cv_dlopen="dlopen"
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10740 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10741 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10742 $as_echo_n "(cached) " >&6
10744 ac_check_lib_save_LIBS=$LIBS
10746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10749 /* Override any GCC internal prototype to avoid an error.
10750 Use char because int might match the return type of a GCC
10751 builtin and then its argument prototype would still apply. */
10764 if ac_fn_c_try_link "$LINENO"; then :
10765 ac_cv_lib_dl_dlopen=yes
10767 ac_cv_lib_dl_dlopen=no
10769 rm -f core conftest.err conftest.$ac_objext \
10770 conftest$ac_exeext conftest.$ac_ext
10771 LIBS=$ac_check_lib_save_LIBS
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10774 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10775 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10776 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10779 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10780 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10781 $as_echo_n "(cached) " >&6
10783 ac_check_lib_save_LIBS=$LIBS
10784 LIBS="-lsvld $LIBS"
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10788 /* Override any GCC internal prototype to avoid an error.
10789 Use char because int might match the return type of a GCC
10790 builtin and then its argument prototype would still apply. */
10803 if ac_fn_c_try_link "$LINENO"; then :
10804 ac_cv_lib_svld_dlopen=yes
10806 ac_cv_lib_svld_dlopen=no
10808 rm -f core conftest.err conftest.$ac_objext \
10809 conftest$ac_exeext conftest.$ac_ext
10810 LIBS=$ac_check_lib_save_LIBS
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10813 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10814 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10815 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10818 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10819 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10820 $as_echo_n "(cached) " >&6
10822 ac_check_lib_save_LIBS=$LIBS
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10837 return dld_link ();
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 ac_cv_lib_dld_dld_link=yes
10845 ac_cv_lib_dld_dld_link=no
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LIBS=$ac_check_lib_save_LIBS
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10852 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10853 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10854 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10875 if test "x$lt_cv_dlopen" != xno; then
10881 case $lt_cv_dlopen in
10883 save_CPPFLAGS="$CPPFLAGS"
10884 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10886 save_LDFLAGS="$LDFLAGS"
10887 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10890 LIBS="$lt_cv_dlopen_libs $LIBS"
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10893 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10894 if test "${lt_cv_dlopen_self+set}" = set; then :
10895 $as_echo_n "(cached) " >&6
10897 if test "$cross_compiling" = yes; then :
10898 lt_cv_dlopen_self=cross
10900 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10901 lt_status=$lt_dlunknown
10902 cat > conftest.$ac_ext <<_LT_EOF
10903 #line 10903 "configure"
10904 #include "confdefs.h"
10913 # define LT_DLGLOBAL RTLD_GLOBAL
10916 # define LT_DLGLOBAL DL_GLOBAL
10918 # define LT_DLGLOBAL 0
10922 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10923 find out it does not work in some platform. */
10924 #ifndef LT_DLLAZY_OR_NOW
10926 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10929 # define LT_DLLAZY_OR_NOW DL_LAZY
10932 # define LT_DLLAZY_OR_NOW RTLD_NOW
10935 # define LT_DLLAZY_OR_NOW DL_NOW
10937 # define LT_DLLAZY_OR_NOW 0
10944 /* When -fvisbility=hidden is used, assume the code has been annotated
10945 correspondingly for the symbols needed. */
10946 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10947 void fnord () __attribute__((visibility("default")));
10950 void fnord () { int i=42; }
10953 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10954 int status = $lt_dlunknown;
10958 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10961 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10962 else puts (dlerror ());
10964 /* dlclose (self); */
10972 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10973 (eval $ac_link) 2>&5
10975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10976 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10977 (./conftest; exit; ) >&5 2>/dev/null
10979 case x$lt_status in
10980 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10981 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10982 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10985 # compilation failed
10986 lt_cv_dlopen_self=no
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10994 $as_echo "$lt_cv_dlopen_self" >&6; }
10996 if test "x$lt_cv_dlopen_self" = xyes; then
10997 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10999 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11000 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11001 $as_echo_n "(cached) " >&6
11003 if test "$cross_compiling" = yes; then :
11004 lt_cv_dlopen_self_static=cross
11006 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11007 lt_status=$lt_dlunknown
11008 cat > conftest.$ac_ext <<_LT_EOF
11009 #line 11009 "configure"
11010 #include "confdefs.h"
11019 # define LT_DLGLOBAL RTLD_GLOBAL
11022 # define LT_DLGLOBAL DL_GLOBAL
11024 # define LT_DLGLOBAL 0
11028 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11029 find out it does not work in some platform. */
11030 #ifndef LT_DLLAZY_OR_NOW
11032 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11035 # define LT_DLLAZY_OR_NOW DL_LAZY
11038 # define LT_DLLAZY_OR_NOW RTLD_NOW
11041 # define LT_DLLAZY_OR_NOW DL_NOW
11043 # define LT_DLLAZY_OR_NOW 0
11050 /* When -fvisbility=hidden is used, assume the code has been annotated
11051 correspondingly for the symbols needed. */
11052 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11053 void fnord () __attribute__((visibility("default")));
11056 void fnord () { int i=42; }
11059 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11060 int status = $lt_dlunknown;
11064 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11067 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11068 else puts (dlerror ());
11070 /* dlclose (self); */
11078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11079 (eval $ac_link) 2>&5
11081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11082 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11083 (./conftest; exit; ) >&5 2>/dev/null
11085 case x$lt_status in
11086 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11087 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11088 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11091 # compilation failed
11092 lt_cv_dlopen_self_static=no
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11100 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11103 CPPFLAGS="$save_CPPFLAGS"
11104 LDFLAGS="$save_LDFLAGS"
11109 case $lt_cv_dlopen_self in
11110 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11111 *) enable_dlopen_self=unknown ;;
11114 case $lt_cv_dlopen_self_static in
11115 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11116 *) enable_dlopen_self_static=unknown ;;
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11139 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11140 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11141 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11142 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11144 $as_echo "yes" >&6; }
11146 # FIXME - insert some real tests, host_os isn't really good enough
11149 if test -n "$STRIP" ; then
11150 striplib="$STRIP -x"
11151 old_striplib="$STRIP -S"
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11153 $as_echo "yes" >&6; }
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11156 $as_echo "no" >&6; }
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11161 $as_echo "no" >&6; }
11177 # Report which library types will actually be built
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11179 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11181 $as_echo "$can_build_shared" >&6; }
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11184 $as_echo_n "checking whether to build shared libraries... " >&6; }
11185 test "$can_build_shared" = "no" && enable_shared=no
11187 # On AIX, shared libraries and static libraries use the same namespace, and
11188 # are all built from PIC.
11191 test "$enable_shared" = yes && enable_static=no
11192 if test -n "$RANLIB"; then
11193 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11194 postinstall_cmds='$RANLIB $lib'
11199 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11200 test "$enable_shared" = yes && enable_static=no
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11205 $as_echo "$enable_shared" >&6; }
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11208 $as_echo_n "checking whether to build static libraries... " >&6; }
11209 # Make sure either enable_shared or enable_static is yes.
11210 test "$enable_shared" = yes || enable_static=yes
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11212 $as_echo "$enable_static" >&6; }
11219 ac_cpp='$CPP $CPPFLAGS'
11220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11226 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11227 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11228 (test "X$CXX" != "Xg++"))) ; then
11230 ac_cpp='$CXXCPP $CPPFLAGS'
11231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11235 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11236 if test -z "$CXXCPP"; then
11237 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11238 $as_echo_n "(cached) " >&6
11240 # Double quotes because CXXCPP needs to be expanded
11241 for CXXCPP in "$CXX -E" "/lib/cpp"
11243 ac_preproc_ok=false
11244 for ac_cxx_preproc_warn_flag in '' yes
11246 # Use a header file that comes with gcc, so configuring glibc
11247 # with a fresh cross-compiler works.
11248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11249 # <limits.h> exists even on freestanding compilers.
11250 # On the NeXT, cc -E runs the code through the compiler's parser,
11251 # not just through cpp. "Syntax error" is here to catch this case.
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 # include <limits.h>
11257 # include <assert.h>
11261 if ac_fn_cxx_try_cpp "$LINENO"; then :
11264 # Broken: fails on valid input.
11267 rm -f conftest.err conftest.$ac_ext
11269 # OK, works on sane cases. Now check whether nonexistent headers
11270 # can be detected and how.
11271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11273 #include <ac_nonexistent.h>
11275 if ac_fn_cxx_try_cpp "$LINENO"; then :
11276 # Broken: success on invalid input.
11279 # Passes both tests.
11283 rm -f conftest.err conftest.$ac_ext
11286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11287 rm -f conftest.err conftest.$ac_ext
11288 if $ac_preproc_ok; then :
11293 ac_cv_prog_CXXCPP=$CXXCPP
11296 CXXCPP=$ac_cv_prog_CXXCPP
11298 ac_cv_prog_CXXCPP=$CXXCPP
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11301 $as_echo "$CXXCPP" >&6; }
11302 ac_preproc_ok=false
11303 for ac_cxx_preproc_warn_flag in '' yes
11305 # Use a header file that comes with gcc, so configuring glibc
11306 # with a fresh cross-compiler works.
11307 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11308 # <limits.h> exists even on freestanding compilers.
11309 # On the NeXT, cc -E runs the code through the compiler's parser,
11310 # not just through cpp. "Syntax error" is here to catch this case.
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11314 # include <limits.h>
11316 # include <assert.h>
11320 if ac_fn_cxx_try_cpp "$LINENO"; then :
11323 # Broken: fails on valid input.
11326 rm -f conftest.err conftest.$ac_ext
11328 # OK, works on sane cases. Now check whether nonexistent headers
11329 # can be detected and how.
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11332 #include <ac_nonexistent.h>
11334 if ac_fn_cxx_try_cpp "$LINENO"; then :
11335 # Broken: success on invalid input.
11338 # Passes both tests.
11342 rm -f conftest.err conftest.$ac_ext
11345 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11346 rm -f conftest.err conftest.$ac_ext
11347 if $ac_preproc_ok; then :
11350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11352 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11353 See \`config.log' for more details." "$LINENO" 5; }
11357 ac_cpp='$CPP $CPPFLAGS'
11358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11363 _lt_caught_CXX_error=yes
11367 ac_cpp='$CXXCPP $CPPFLAGS'
11368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11372 archive_cmds_need_lc_CXX=no
11373 allow_undefined_flag_CXX=
11374 always_export_symbols_CXX=no
11375 archive_expsym_cmds_CXX=
11376 compiler_needs_object_CXX=no
11377 export_dynamic_flag_spec_CXX=
11378 hardcode_direct_CXX=no
11379 hardcode_direct_absolute_CXX=no
11380 hardcode_libdir_flag_spec_CXX=
11381 hardcode_libdir_flag_spec_ld_CXX=
11382 hardcode_libdir_separator_CXX=
11383 hardcode_minus_L_CXX=no
11384 hardcode_shlibpath_var_CXX=unsupported
11385 hardcode_automatic_CXX=no
11386 inherit_rpath_CXX=no
11388 module_expsym_cmds_CXX=
11389 link_all_deplibs_CXX=unknown
11390 old_archive_cmds_CXX=$old_archive_cmds
11391 reload_flag_CXX=$reload_flag
11392 reload_cmds_CXX=$reload_cmds
11393 no_undefined_flag_CXX=
11394 whole_archive_flag_spec_CXX=
11395 enable_shared_with_static_runtimes_CXX=no
11397 # Source file extension for C++ test sources.
11400 # Object file extension for compiled C++ test sources.
11404 # No sense in running all these tests if we already determined that
11405 # the CXX compiler isn't working. Some variables (like enable_shared)
11406 # are currently assumed to apply to all compilers on this platform,
11407 # and will be corrupted by setting them based on a non-working compiler.
11408 if test "$_lt_caught_CXX_error" != yes; then
11409 # Code to be used in simple compile tests
11410 lt_simple_compile_test_code="int some_variable = 0;"
11412 # Code to be used in simple link tests
11413 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11415 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11422 # If no C compiler was specified, use CC.
11425 # If no C compiler flags were specified, use CFLAGS.
11426 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11428 # Allow CC to be a program name with arguments.
11432 # save warnings/boilerplate of simple test code
11433 ac_outfile=conftest.$ac_objext
11434 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11435 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11436 _lt_compiler_boilerplate=`cat conftest.err`
11439 ac_outfile=conftest.$ac_objext
11440 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11441 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11442 _lt_linker_boilerplate=`cat conftest.err`
11446 # Allow CC to be a program name with arguments.
11451 lt_save_with_gnu_ld=$with_gnu_ld
11452 lt_save_path_LD=$lt_cv_path_LD
11453 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11454 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11456 $as_unset lt_cv_prog_gnu_ld
11458 if test -n "${lt_cv_path_LDCXX+set}"; then
11459 lt_cv_path_LD=$lt_cv_path_LDCXX
11461 $as_unset lt_cv_path_LD
11463 test -z "${LDCXX+set}" || LD=$LDCXX
11467 for cc_temp in $compiler""; do
11469 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11470 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11475 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11478 if test -n "$compiler"; then
11479 # We don't want -fno-exception when compiling C++ code, so set the
11480 # no_builtin_flag separately
11481 if test "$GXX" = yes; then
11482 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11484 lt_prog_compiler_no_builtin_flag_CXX=
11487 if test "$GXX" = yes; then
11488 # Set up default GNU C++ configuration
11492 # Check whether --with-gnu-ld was given.
11493 if test "${with_gnu_ld+set}" = set; then :
11494 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11500 if test "$GCC" = yes; then
11501 # Check if gcc -print-prog-name=ld gives a path.
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11503 $as_echo_n "checking for ld used by $CC... " >&6; }
11506 # gcc leaves a trailing carriage return which upsets mingw
11507 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11509 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11512 # Accept absolute paths.
11514 re_direlt='/[^/][^/]*/\.\./'
11515 # Canonicalize the pathname of ld
11516 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11517 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11518 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11520 test -z "$LD" && LD="$ac_prog"
11523 # If it fails, then pretend we aren't using GCC.
11527 # If it is relative, then search for the first ld in PATH.
11528 with_gnu_ld=unknown
11531 elif test "$with_gnu_ld" = yes; then
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11533 $as_echo_n "checking for GNU ld... " >&6; }
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11536 $as_echo_n "checking for non-GNU ld... " >&6; }
11538 if test "${lt_cv_path_LD+set}" = set; then :
11539 $as_echo_n "(cached) " >&6
11541 if test -z "$LD"; then
11542 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11543 for ac_dir in $PATH; do
11545 test -z "$ac_dir" && ac_dir=.
11546 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11547 lt_cv_path_LD="$ac_dir/$ac_prog"
11548 # Check to see if the program is GNU ld. I'd rather use --version,
11549 # but apparently some variants of GNU ld only accept -v.
11550 # Break only if it was the GNU/non-GNU ld that we prefer.
11551 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11552 *GNU* | *'with BFD'*)
11553 test "$with_gnu_ld" != no && break
11556 test "$with_gnu_ld" != yes && break
11563 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11567 LD="$lt_cv_path_LD"
11568 if test -n "$LD"; then
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11570 $as_echo "$LD" >&6; }
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573 $as_echo "no" >&6; }
11575 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11577 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11578 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11579 $as_echo_n "(cached) " >&6
11581 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11582 case `$LD -v 2>&1 </dev/null` in
11583 *GNU* | *'with BFD'*)
11584 lt_cv_prog_gnu_ld=yes
11587 lt_cv_prog_gnu_ld=no
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11592 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11593 with_gnu_ld=$lt_cv_prog_gnu_ld
11601 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11602 # archiving commands below assume that GNU ld is being used.
11603 if test "$with_gnu_ld" = yes; then
11604 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11605 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11607 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11608 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11610 # If archive_cmds runs LD, not CC, wlarc should be empty
11611 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11612 # investigate it a little bit more. (MM)
11615 # ancient GNU ld didn't support --whole-archive et. al.
11616 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11617 $GREP 'no-whole-archive' > /dev/null; then
11618 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11620 whole_archive_flag_spec_CXX=
11626 # A generic and very simple default shared library creation
11627 # command for GNU C++ for the case where it uses the native
11628 # linker, instead of GNU ld. If possible, this setting should
11629 # overridden to take advantage of the native linker features on
11630 # the platform it is being used on.
11631 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11634 # Commands to make compiler produce verbose output that lists
11635 # what "hidden" libraries, object files and flags are used when
11636 # linking a shared library.
11637 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11645 # PORTME: fill in a description of your system's C++ link characteristics
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11647 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11651 # FIXME: insert proper C++ library support
11655 if test "$host_cpu" = ia64; then
11656 # On IA64, the linker does run time linking by default, so we don't
11657 # have to do anything special.
11658 aix_use_runtimelinking=no
11659 exp_sym_flag='-Bexport'
11662 aix_use_runtimelinking=no
11664 # Test if we are trying to use run time linking or normal
11665 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11666 # need to do runtime linking.
11667 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11668 for ld_flag in $LDFLAGS; do
11671 aix_use_runtimelinking=yes
11679 exp_sym_flag='-bexport'
11680 no_entry_flag='-bnoentry'
11683 # When large executables or shared objects are built, AIX ld can
11684 # have problems creating the table of contents. If linking a library
11685 # or program results in "error TOC overflow" add -mminimal-toc to
11686 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11687 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11689 archive_cmds_CXX=''
11690 hardcode_direct_CXX=yes
11691 hardcode_direct_absolute_CXX=yes
11692 hardcode_libdir_separator_CXX=':'
11693 link_all_deplibs_CXX=yes
11694 file_list_spec_CXX='${wl}-f,'
11696 if test "$GXX" = yes; then
11697 case $host_os in aix4.[012]|aix4.[012].*)
11698 # We only want to do this on AIX 4.2 and lower, the check
11699 # below for broken collect2 doesn't work under 4.3+
11700 collect2name=`${CC} -print-prog-name=collect2`
11701 if test -f "$collect2name" &&
11702 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11704 # We have reworked collect2
11707 # We have old collect2
11708 hardcode_direct_CXX=unsupported
11709 # It fails to find uninstalled libraries when the uninstalled
11710 # path is not listed in the libpath. Setting hardcode_minus_L
11711 # to unsupported forces relinking
11712 hardcode_minus_L_CXX=yes
11713 hardcode_libdir_flag_spec_CXX='-L$libdir'
11714 hardcode_libdir_separator_CXX=
11717 shared_flag='-shared'
11718 if test "$aix_use_runtimelinking" = yes; then
11719 shared_flag="$shared_flag "'${wl}-G'
11723 if test "$host_cpu" = ia64; then
11724 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11725 # chokes on -Wl,-G. The following line is correct:
11728 if test "$aix_use_runtimelinking" = yes; then
11729 shared_flag='${wl}-G'
11731 shared_flag='${wl}-bM:SRE'
11736 export_dynamic_flag_spec_CXX='${wl}-bexpall'
11737 # It seems that -bexpall does not export symbols beginning with
11738 # underscore (_), so it is better to generate a list of symbols to
11740 always_export_symbols_CXX=yes
11741 if test "$aix_use_runtimelinking" = yes; then
11742 # Warning - without using the other runtime loading flags (-brtl),
11743 # -berok will link without error, but may produce a broken library.
11744 allow_undefined_flag_CXX='-berok'
11745 # Determine the default libpath from the value encoded in an empty
11747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11758 if ac_fn_cxx_try_link "$LINENO"; then :
11760 lt_aix_libpath_sed='
11761 /Import File Strings/,/^$/ {
11767 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11768 # Check for a 64-bit object if we didn't find anything.
11769 if test -z "$aix_libpath"; then
11770 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11773 rm -f core conftest.err conftest.$ac_objext \
11774 conftest$ac_exeext conftest.$ac_ext
11775 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11777 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11779 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"
11781 if test "$host_cpu" = ia64; then
11782 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11783 allow_undefined_flag_CXX="-z nodefs"
11784 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"
11786 # Determine the default libpath from the value encoded in an
11787 # empty executable.
11788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11799 if ac_fn_cxx_try_link "$LINENO"; then :
11801 lt_aix_libpath_sed='
11802 /Import File Strings/,/^$/ {
11808 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11809 # Check for a 64-bit object if we didn't find anything.
11810 if test -z "$aix_libpath"; then
11811 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11814 rm -f core conftest.err conftest.$ac_objext \
11815 conftest$ac_exeext conftest.$ac_ext
11816 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11818 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11819 # Warning - without using the other run time loading flags,
11820 # -berok will link without error, but may produce a broken library.
11821 no_undefined_flag_CXX=' ${wl}-bernotok'
11822 allow_undefined_flag_CXX=' ${wl}-berok'
11823 if test "$with_gnu_ld" = yes; then
11824 # We only use this code for GNU lds that support --whole-archive.
11825 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11827 # Exported symbols can be pulled into shared objects from archives
11828 whole_archive_flag_spec_CXX='$convenience'
11830 archive_cmds_need_lc_CXX=yes
11831 # This is similar to how AIX traditionally builds its shared
11833 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'
11839 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11840 allow_undefined_flag_CXX=unsupported
11841 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11842 # support --undefined. This deserves some investigation. FIXME
11843 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11850 case $cc_basename in
11852 # FIXME: insert proper C++ library support
11858 cygwin* | mingw* | pw32* | cegcc*)
11859 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11860 # as there is no search path for DLLs.
11861 hardcode_libdir_flag_spec_CXX='-L$libdir'
11862 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
11863 allow_undefined_flag_CXX=unsupported
11864 always_export_symbols_CXX=no
11865 enable_shared_with_static_runtimes_CXX=yes
11867 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11868 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'
11869 # If the export-symbols file already is a .def file (1st line
11870 # is EXPORTS), use it as is; otherwise, prepend...
11871 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11872 cp $export_symbols $output_objdir/$soname.def;
11874 echo EXPORTS > $output_objdir/$soname.def;
11875 cat $export_symbols >> $output_objdir/$soname.def;
11877 $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'
11882 darwin* | rhapsody*)
11885 archive_cmds_need_lc_CXX=no
11886 hardcode_direct_CXX=no
11887 hardcode_automatic_CXX=yes
11888 hardcode_shlibpath_var_CXX=unsupported
11889 if test "$lt_cv_ld_force_load" = "yes"; then
11890 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\"`'
11892 whole_archive_flag_spec_CXX=''
11894 link_all_deplibs_CXX=yes
11895 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11896 case $cc_basename in
11897 ifort*) _lt_dar_can_shared=yes ;;
11898 *) _lt_dar_can_shared=$GCC ;;
11900 if test "$_lt_dar_can_shared" = "yes"; then
11901 output_verbose_link_cmd=func_echo_all
11902 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}"
11903 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11904 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}"
11905 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}"
11906 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11907 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}"
11908 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}"
11918 case $cc_basename in
11920 # FIXME: insert proper C++ library support
11924 # Green Hills C++ Compiler
11925 # FIXME: insert proper C++ library support
11929 # FIXME: insert proper C++ library support
11936 # C++ shared libraries reported to be fairly broken before
11942 archive_cmds_need_lc_CXX=no
11945 freebsd* | dragonfly*)
11946 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11955 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11956 link_all_deplibs_CXX=yes
11960 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11961 hardcode_libdir_separator_CXX=:
11962 export_dynamic_flag_spec_CXX='${wl}-E'
11963 hardcode_direct_CXX=yes
11964 hardcode_minus_L_CXX=yes # Not in the search PATH,
11965 # but as the default
11966 # location of the library.
11968 case $cc_basename in
11970 # FIXME: insert proper C++ library support
11974 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'
11975 # Commands to make compiler produce verbose output that lists
11976 # what "hidden" libraries, object files and flags are used when
11977 # linking a shared library.
11979 # There doesn't appear to be a way to prevent this compiler from
11980 # explicitly linking system object files so we need to strip them
11981 # from the output so that they don't get included in the library
11983 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"'
11986 if test "$GXX" = yes; then
11987 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11989 # FIXME: insert proper C++ library support
11997 if test $with_gnu_ld = no; then
11998 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11999 hardcode_libdir_separator_CXX=:
12005 export_dynamic_flag_spec_CXX='${wl}-E'
12011 hardcode_direct_CXX=no
12012 hardcode_shlibpath_var_CXX=no
12015 hardcode_direct_CXX=yes
12016 hardcode_direct_absolute_CXX=yes
12017 hardcode_minus_L_CXX=yes # Not in the search PATH,
12018 # but as the default
12019 # location of the library.
12023 case $cc_basename in
12025 # FIXME: insert proper C++ library support
12031 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12034 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12037 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12040 # Commands to make compiler produce verbose output that lists
12041 # what "hidden" libraries, object files and flags are used when
12042 # linking a shared library.
12044 # There doesn't appear to be a way to prevent this compiler from
12045 # explicitly linking system object files so we need to strip them
12046 # from the output so that they don't get included in the library
12048 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"'
12051 if test "$GXX" = yes; then
12052 if test $with_gnu_ld = no; then
12055 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12058 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12061 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12066 # FIXME: insert proper C++ library support
12074 hardcode_direct_CXX=no
12075 hardcode_shlibpath_var_CXX=no
12076 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12077 export_dynamic_flag_spec_CXX='${wl}-E'
12078 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12079 # Instead, shared libraries are loaded at an image base (0x10000000 by
12080 # default) and relocated if they conflict, which is a slow very memory
12081 # consuming and fragmenting process. To avoid this, we pick a random,
12082 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12083 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12084 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'
12085 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'
12088 case $cc_basename in
12091 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'
12093 # Archives containing C++ object files must be created using
12094 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12095 # necessary to make sure instantiated templates are included
12097 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12100 if test "$GXX" = yes; then
12101 if test "$with_gnu_ld" = no; then
12102 archive_cmds_CXX='$CC -shared -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'
12104 archive_cmds_CXX='$CC -shared -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'
12107 link_all_deplibs_CXX=yes
12110 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12111 hardcode_libdir_separator_CXX=:
12112 inherit_rpath_CXX=yes
12115 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12116 case $cc_basename in
12118 # Kuck and Associates, Inc. (KAI) C++ Compiler
12120 # KCC will only create a shared library if the output file
12121 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12122 # to its proper name (with version) after linking.
12123 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'
12124 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'
12125 # Commands to make compiler produce verbose output that lists
12126 # what "hidden" libraries, object files and flags are used when
12127 # linking a shared library.
12129 # There doesn't appear to be a way to prevent this compiler from
12130 # explicitly linking system object files so we need to strip them
12131 # from the output so that they don't get included in the library
12133 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"'
12135 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12136 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12138 # Archives containing C++ object files must be created using
12139 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12140 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12145 # version 8.0 and above of icpc choke on multiply defined symbols
12146 # if we add $predep_objects and $postdep_objects, however 7.1 and
12147 # earlier do not add the objects themselves.
12148 case `$CC -V 2>&1` in
12150 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12151 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'
12153 *) # Version 8.0 or newer
12156 ia64*) tmp_idyn=' -i_dynamic';;
12158 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12159 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'
12162 archive_cmds_need_lc_CXX=no
12163 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12164 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12165 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12168 # Portland Group C++ compiler
12170 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12171 prelink_cmds_CXX='tpldir=Template.dir~
12173 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12174 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12175 old_archive_cmds_CXX='tpldir=Template.dir~
12177 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12178 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12180 archive_cmds_CXX='tpldir=Template.dir~
12182 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12183 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12184 archive_expsym_cmds_CXX='tpldir=Template.dir~
12186 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12187 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12189 *) # Version 6 and above use weak symbols
12190 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12191 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'
12195 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12196 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12197 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'
12201 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12202 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'
12204 runpath_var=LD_RUN_PATH
12205 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12206 hardcode_libdir_separator_CXX=:
12208 # Commands to make compiler produce verbose output that lists
12209 # what "hidden" libraries, object files and flags are used when
12210 # linking a shared library.
12212 # There doesn't appear to be a way to prevent this compiler from
12213 # explicitly linking system object files so we need to strip them
12214 # from the output so that they don't get included in the library
12216 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'
12218 xl* | mpixl* | bgxl*)
12219 # IBM XL 8.0 on PPC, with GNU ld
12220 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12222 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12223 if test "x$supports_anon_versioning" = xyes; then
12224 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12225 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12226 echo "local: *; };" >> $output_objdir/$libname.ver~
12227 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12231 case `$CC -V 2>&1 | sed 5q` in
12234 no_undefined_flag_CXX=' -zdefs'
12235 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12236 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'
12237 hardcode_libdir_flag_spec_CXX='-R$libdir'
12238 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'
12239 compiler_needs_object_CXX=yes
12241 # Not sure whether something based on
12242 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12244 output_verbose_link_cmd='func_echo_all'
12246 # Archives containing C++ object files must be created using
12247 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12248 # necessary to make sure instantiated templates are included
12250 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12258 # FIXME: insert proper C++ library support
12263 # FIXME: insert proper C++ library support
12268 case $cc_basename in
12270 # FIXME: insert proper C++ library support
12274 # FIXME: insert proper C++ library support
12281 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12282 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12284 hardcode_libdir_flag_spec_CXX='-R$libdir'
12285 hardcode_direct_CXX=yes
12286 hardcode_shlibpath_var_CXX=no
12288 # Workaround some broken pre-1.5 toolchains
12289 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12297 # C++ shared libraries are fairly broken
12302 if test -f /usr/libexec/ld.so; then
12303 hardcode_direct_CXX=yes
12304 hardcode_shlibpath_var_CXX=no
12305 hardcode_direct_absolute_CXX=yes
12306 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12307 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12308 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12309 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12310 export_dynamic_flag_spec_CXX='${wl}-E'
12311 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12313 output_verbose_link_cmd=func_echo_all
12319 osf3* | osf4* | osf5*)
12320 case $cc_basename in
12322 # Kuck and Associates, Inc. (KAI) C++ Compiler
12324 # KCC will only create a shared library if the output file
12325 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12326 # to its proper name (with version) after linking.
12327 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'
12329 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12330 hardcode_libdir_separator_CXX=:
12332 # Archives containing C++ object files must be created using
12333 # the KAI C++ compiler.
12335 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12336 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12340 # Rational C++ 2.4.1
12341 # FIXME: insert proper C++ library support
12347 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12348 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'
12349 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12352 allow_undefined_flag_CXX=' -expect_unresolved \*'
12353 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'
12354 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12355 echo "-hidden">> $lib.exp~
12356 $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~
12358 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12362 hardcode_libdir_separator_CXX=:
12364 # Commands to make compiler produce verbose output that lists
12365 # what "hidden" libraries, object files and flags are used when
12366 # linking a shared library.
12368 # There doesn't appear to be a way to prevent this compiler from
12369 # explicitly linking system object files so we need to strip them
12370 # from the output so that they don't get included in the library
12372 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"'
12375 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12376 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12379 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'
12382 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12386 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12387 hardcode_libdir_separator_CXX=:
12389 # Commands to make compiler produce verbose output that lists
12390 # what "hidden" libraries, object files and flags are used when
12391 # linking a shared library.
12392 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12395 # FIXME: insert proper C++ library support
12403 # FIXME: insert proper C++ library support
12408 case $cc_basename in
12411 # FIXME: insert proper C++ library support
12416 # FIXME: insert proper C++ library support
12420 # FIXME: insert proper C++ library support
12427 case $cc_basename in
12429 # Sun C++ 4.2, 5.x and Centerline C++
12430 archive_cmds_need_lc_CXX=yes
12431 no_undefined_flag_CXX=' -zdefs'
12432 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12433 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12434 $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'
12436 hardcode_libdir_flag_spec_CXX='-R$libdir'
12437 hardcode_shlibpath_var_CXX=no
12439 solaris2.[0-5] | solaris2.[0-5].*) ;;
12441 # The compiler driver will combine and reorder linker options,
12442 # but understands `-z linker_flag'.
12443 # Supported since Solaris 2.6 (maybe 2.5.1?)
12444 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12447 link_all_deplibs_CXX=yes
12449 output_verbose_link_cmd='func_echo_all'
12451 # Archives containing C++ object files must be created using
12452 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12453 # necessary to make sure instantiated templates are included
12455 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12458 # Green Hills C++ Compiler
12459 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12461 # The C++ compiler must be used to create the archive.
12462 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12465 # GNU C++ compiler with Solaris linker
12466 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12467 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12468 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12469 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12470 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12471 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12473 # Commands to make compiler produce verbose output that lists
12474 # what "hidden" libraries, object files and flags are used when
12475 # linking a shared library.
12476 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12478 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12480 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12481 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12482 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12484 # Commands to make compiler produce verbose output that lists
12485 # what "hidden" libraries, object files and flags are used when
12486 # linking a shared library.
12487 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12490 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12492 solaris2.[0-5] | solaris2.[0-5].*) ;;
12494 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12502 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12503 no_undefined_flag_CXX='${wl}-z,text'
12504 archive_cmds_need_lc_CXX=no
12505 hardcode_shlibpath_var_CXX=no
12506 runpath_var='LD_RUN_PATH'
12508 case $cc_basename in
12510 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12511 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12514 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12515 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12520 sysv5* | sco3.2v5* | sco5v6*)
12521 # Note: We can NOT use -z defs as we might desire, because we do not
12522 # link with -lc, and that would cause any symbols used from libc to
12523 # always be unresolved, which means just about no library would
12524 # ever link correctly. If we're not using GNU ld we use -z text
12525 # though, which does catch some bad symbols but isn't as heavy-handed
12527 no_undefined_flag_CXX='${wl}-z,text'
12528 allow_undefined_flag_CXX='${wl}-z,nodefs'
12529 archive_cmds_need_lc_CXX=no
12530 hardcode_shlibpath_var_CXX=no
12531 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12532 hardcode_libdir_separator_CXX=':'
12533 link_all_deplibs_CXX=yes
12534 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12535 runpath_var='LD_RUN_PATH'
12537 case $cc_basename in
12539 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12540 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12541 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
12542 '"$old_archive_cmds_CXX"
12543 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
12544 '"$reload_cmds_CXX"
12547 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12548 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12554 case $cc_basename in
12556 # NonStop-UX NCC 3.20
12557 # FIXME: insert proper C++ library support
12561 # FIXME: insert proper C++ library support
12568 # FIXME: insert proper C++ library support
12573 # FIXME: insert proper C++ library support
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12579 $as_echo "$ld_shlibs_CXX" >&6; }
12580 test "$ld_shlibs_CXX" = no && can_build_shared=no
12586 ## There is no encapsulation within the following macros, do not change
12587 ## the running order or otherwise move them around unless you know exactly
12588 ## what you are doing...
12589 # Dependencies to place before and after the object being linked:
12590 predep_objects_CXX=
12591 postdep_objects_CXX=
12594 compiler_lib_search_path_CXX=
12596 cat > conftest.$ac_ext <<_LT_EOF
12600 Foo (void) { a = 0; }
12606 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12607 (eval $ac_compile) 2>&5
12609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12610 test $ac_status = 0; }; then
12611 # Parse the compiler output and extract the necessary
12612 # objects, libraries and library flags.
12614 # Sentinel used to keep track of whether or not we are before
12615 # the conftest object file.
12616 pre_test_object_deps_done=no
12618 for p in `eval "$output_verbose_link_cmd"`; do
12622 # Some compilers place space between "-{L,R}" and the path.
12623 # Remove the space.
12624 if test $p = "-L" ||
12625 test $p = "-R"; then
12632 if test "$pre_test_object_deps_done" = no; then
12635 # Internal compiler library paths should come after those
12636 # provided the user. The postdeps already come after the
12637 # user supplied libs so there is no need to process them.
12638 if test -z "$compiler_lib_search_path_CXX"; then
12639 compiler_lib_search_path_CXX="${prev}${p}"
12641 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12644 # The "-l" case would never come before the object being
12645 # linked, so don't bother handling this case.
12648 if test -z "$postdeps_CXX"; then
12649 postdeps_CXX="${prev}${p}"
12651 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12657 # This assumes that the test object file only shows up
12658 # once in the compiler output.
12659 if test "$p" = "conftest.$objext"; then
12660 pre_test_object_deps_done=yes
12664 if test "$pre_test_object_deps_done" = no; then
12665 if test -z "$predep_objects_CXX"; then
12666 predep_objects_CXX="$p"
12668 predep_objects_CXX="$predep_objects_CXX $p"
12671 if test -z "$postdep_objects_CXX"; then
12672 postdep_objects_CXX="$p"
12674 postdep_objects_CXX="$postdep_objects_CXX $p"
12679 *) ;; # Ignore the rest.
12687 echo "libtool.m4: error: problem compiling CXX test program"
12690 $RM -f confest.$objext
12692 # PORTME: override above test on systems where it is broken
12695 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12696 # hack all around it, let's just trust "g++" to DTRT.
12697 predep_objects_CXX=
12698 postdep_objects_CXX=
12703 case `$CC -V 2>&1 | sed 5q` in
12707 # The more standards-conforming stlport4 library is
12708 # incompatible with the Cstd library. Avoid specifying
12709 # it if it's in CXXFLAGS. Ignore libCrun as
12710 # -library=stlport4 depends on it.
12711 case " $CXX $CXXFLAGS " in
12712 *" -library=stlport4 "*)
12713 solaris_use_stlport4=yes
12717 if test "$solaris_use_stlport4" != yes; then
12718 postdeps_CXX='-library=Cstd -library=Crun'
12725 case $cc_basename in
12727 # The more standards-conforming stlport4 library is
12728 # incompatible with the Cstd library. Avoid specifying
12729 # it if it's in CXXFLAGS. Ignore libCrun as
12730 # -library=stlport4 depends on it.
12731 case " $CXX $CXXFLAGS " in
12732 *" -library=stlport4 "*)
12733 solaris_use_stlport4=yes
12737 # Adding this requires a known-good setup of shared libraries for
12738 # Sun compiler versions before 5.6, else PIC objects from an old
12739 # archive will be linked into the output, leading to subtle bugs.
12740 if test "$solaris_use_stlport4" != yes; then
12741 postdeps_CXX='-library=Cstd -library=Crun'
12749 case " $postdeps_CXX " in
12750 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12752 compiler_lib_search_dirs_CXX=
12753 if test -n "${compiler_lib_search_path_CXX}"; then
12754 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12787 lt_prog_compiler_wl_CXX=
12788 lt_prog_compiler_pic_CXX=
12789 lt_prog_compiler_static_CXX=
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12792 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12794 # C++ specific cases for pic, static, wl, etc.
12795 if test "$GXX" = yes; then
12796 lt_prog_compiler_wl_CXX='-Wl,'
12797 lt_prog_compiler_static_CXX='-static'
12801 # All AIX code is PIC.
12802 if test "$host_cpu" = ia64; then
12803 # AIX 5 now supports IA64 processor
12804 lt_prog_compiler_static_CXX='-Bstatic'
12806 lt_prog_compiler_pic_CXX='-fPIC'
12812 # see comment about AmigaOS4 .so support
12813 lt_prog_compiler_pic_CXX='-fPIC'
12816 # FIXME: we need at least 68020 code to build shared libraries, but
12817 # adding the `-m68020' flag to GCC prevents building anything better,
12819 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12824 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12825 # PIC is the default for these OSes.
12827 mingw* | cygwin* | os2* | pw32* | cegcc*)
12828 # This hack is so that the source file can tell whether it is being
12829 # built for inclusion in a dll (and should export symbols for example).
12830 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12831 # (--disable-auto-import) libraries
12832 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12834 darwin* | rhapsody*)
12835 # PIC is the default on this platform
12836 # Common symbols not allowed in MH_DYLIB files
12837 lt_prog_compiler_pic_CXX='-fno-common'
12840 # DJGPP does not support shared libraries at all
12841 lt_prog_compiler_pic_CXX=
12844 # PIC is the default for Haiku.
12845 # The "-static" flag exists, but is broken.
12846 lt_prog_compiler_static_CXX=
12849 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12850 # Instead, we relocate shared libraries at runtime.
12853 if test -d /usr/nec; then
12854 lt_prog_compiler_pic_CXX=-Kconform_pic
12858 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12859 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12860 # sets the default TLS model and affects inlining.
12865 lt_prog_compiler_pic_CXX='-fPIC'
12870 # QNX uses GNU C++, but need to define -shared option too, otherwise
12871 # it will coredump.
12872 lt_prog_compiler_pic_CXX='-fPIC -shared'
12875 lt_prog_compiler_pic_CXX='-fPIC'
12881 # All AIX code is PIC.
12882 if test "$host_cpu" = ia64; then
12883 # AIX 5 now supports IA64 processor
12884 lt_prog_compiler_static_CXX='-Bstatic'
12886 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12890 case $cc_basename in
12892 # Green Hills C++ Compiler
12893 # _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"
12898 case $cc_basename in
12900 lt_prog_compiler_pic_CXX='-KPIC'
12903 # Green Hills C++ Compiler
12904 lt_prog_compiler_pic_CXX='-pic'
12910 freebsd* | dragonfly*)
12911 # FreeBSD uses GNU C++
12913 hpux9* | hpux10* | hpux11*)
12914 case $cc_basename in
12916 lt_prog_compiler_wl_CXX='-Wl,'
12917 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12918 if test "$host_cpu" != ia64; then
12919 lt_prog_compiler_pic_CXX='+Z'
12923 lt_prog_compiler_wl_CXX='-Wl,'
12924 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12930 lt_prog_compiler_pic_CXX='+Z'
12939 # This is c89, which is MS Visual C++ (no shared libs)
12940 # Anyone wants to do a port?
12942 irix5* | irix6* | nonstopux*)
12943 case $cc_basename in
12945 lt_prog_compiler_wl_CXX='-Wl,'
12946 lt_prog_compiler_static_CXX='-non_shared'
12947 # CC pic flag -KPIC is the default.
12953 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12954 case $cc_basename in
12957 lt_prog_compiler_wl_CXX='--backend -Wl,'
12958 lt_prog_compiler_pic_CXX='-fPIC'
12961 # old Intel C++ for x86_64 which still supported -KPIC.
12962 lt_prog_compiler_wl_CXX='-Wl,'
12963 lt_prog_compiler_pic_CXX='-KPIC'
12964 lt_prog_compiler_static_CXX='-static'
12967 # Intel C++, used to be incompatible with GCC.
12968 # ICC 10 doesn't accept -KPIC any more.
12969 lt_prog_compiler_wl_CXX='-Wl,'
12970 lt_prog_compiler_pic_CXX='-fPIC'
12971 lt_prog_compiler_static_CXX='-static'
12974 # Portland Group C++ compiler
12975 lt_prog_compiler_wl_CXX='-Wl,'
12976 lt_prog_compiler_pic_CXX='-fpic'
12977 lt_prog_compiler_static_CXX='-Bstatic'
12981 # Make sure the PIC flag is empty. It appears that all Alpha
12982 # Linux and Compaq Tru64 Unix objects are PIC.
12983 lt_prog_compiler_pic_CXX=
12984 lt_prog_compiler_static_CXX='-non_shared'
12986 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
12987 # IBM XL 8.0, 9.0 on PPC and BlueGene
12988 lt_prog_compiler_wl_CXX='-Wl,'
12989 lt_prog_compiler_pic_CXX='-qpic'
12990 lt_prog_compiler_static_CXX='-qstaticlink'
12993 case `$CC -V 2>&1 | sed 5q` in
12996 lt_prog_compiler_pic_CXX='-KPIC'
12997 lt_prog_compiler_static_CXX='-Bstatic'
12998 lt_prog_compiler_wl_CXX='-Qoption ld '
13009 case $cc_basename in
13011 lt_prog_compiler_pic_CXX='-W c,exportall'
13020 # QNX uses GNU C++, but need to define -shared option too, otherwise
13021 # it will coredump.
13022 lt_prog_compiler_pic_CXX='-fPIC -shared'
13024 osf3* | osf4* | osf5*)
13025 case $cc_basename in
13027 lt_prog_compiler_wl_CXX='--backend -Wl,'
13030 # Rational C++ 2.4.1
13031 lt_prog_compiler_pic_CXX='-pic'
13034 # Digital/Compaq C++
13035 lt_prog_compiler_wl_CXX='-Wl,'
13036 # Make sure the PIC flag is empty. It appears that all Alpha
13037 # Linux and Compaq Tru64 Unix objects are PIC.
13038 lt_prog_compiler_pic_CXX=
13039 lt_prog_compiler_static_CXX='-non_shared'
13048 case $cc_basename in
13050 # Sun C++ 4.2, 5.x and Centerline C++
13051 lt_prog_compiler_pic_CXX='-KPIC'
13052 lt_prog_compiler_static_CXX='-Bstatic'
13053 lt_prog_compiler_wl_CXX='-Qoption ld '
13056 # Green Hills C++ Compiler
13057 lt_prog_compiler_pic_CXX='-PIC'
13064 case $cc_basename in
13067 lt_prog_compiler_pic_CXX='-pic'
13068 lt_prog_compiler_static_CXX='-Bstatic'
13072 lt_prog_compiler_pic_CXX='-pic'
13078 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13079 case $cc_basename in
13081 lt_prog_compiler_wl_CXX='-Wl,'
13082 lt_prog_compiler_pic_CXX='-KPIC'
13083 lt_prog_compiler_static_CXX='-Bstatic'
13088 case $cc_basename in
13090 # NonStop-UX NCC 3.20
13091 lt_prog_compiler_pic_CXX='-KPIC'
13100 lt_prog_compiler_can_build_shared_CXX=no
13106 # For platforms which do not support PIC, -DPIC is meaningless:
13108 lt_prog_compiler_pic_CXX=
13111 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13115 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13120 # Check to make sure the PIC flag actually works.
13122 if test -n "$lt_prog_compiler_pic_CXX"; then
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13124 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13125 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13126 $as_echo_n "(cached) " >&6
13128 lt_cv_prog_compiler_pic_works_CXX=no
13129 ac_outfile=conftest.$ac_objext
13130 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13131 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13132 # Insert the option either (1) after the last *FLAGS variable, or
13133 # (2) before a word containing "conftest.", or (3) at the end.
13134 # Note that $ac_compile itself does not contain backslashes and begins
13135 # with a dollar sign (not a hyphen), so the echo should work correctly.
13136 # The option is referenced via a variable to avoid confusing sed.
13137 lt_compile=`echo "$ac_compile" | $SED \
13138 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13139 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13140 -e 's:$: $lt_compiler_flag:'`
13141 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13142 (eval "$lt_compile" 2>conftest.err)
13144 cat conftest.err >&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 if (exit $ac_status) && test -s "$ac_outfile"; then
13147 # The compiler can only warn and ignore the option if not recognized
13148 # So say no if there are warnings other than the usual output.
13149 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13150 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13151 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13152 lt_cv_prog_compiler_pic_works_CXX=yes
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13159 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13161 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13162 case $lt_prog_compiler_pic_CXX in
13164 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13167 lt_prog_compiler_pic_CXX=
13168 lt_prog_compiler_can_build_shared_CXX=no
13176 # Check to make sure the static flag actually works.
13178 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13180 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13181 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13182 $as_echo_n "(cached) " >&6
13184 lt_cv_prog_compiler_static_works_CXX=no
13185 save_LDFLAGS="$LDFLAGS"
13186 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13187 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13188 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13189 # The linker can only warn and ignore the option if not recognized
13190 # So say no if there are warnings
13191 if test -s conftest.err; then
13192 # Append any errors to the config.log.
13193 cat conftest.err 1>&5
13194 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13195 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13196 if diff conftest.exp conftest.er2 >/dev/null; then
13197 lt_cv_prog_compiler_static_works_CXX=yes
13200 lt_cv_prog_compiler_static_works_CXX=yes
13204 LDFLAGS="$save_LDFLAGS"
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13208 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13210 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13213 lt_prog_compiler_static_CXX=
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13220 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13221 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13222 $as_echo_n "(cached) " >&6
13224 lt_cv_prog_compiler_c_o_CXX=no
13225 $RM -r conftest 2>/dev/null
13229 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13231 lt_compiler_flag="-o out/conftest2.$ac_objext"
13232 # Insert the option either (1) after the last *FLAGS variable, or
13233 # (2) before a word containing "conftest.", or (3) at the end.
13234 # Note that $ac_compile itself does not contain backslashes and begins
13235 # with a dollar sign (not a hyphen), so the echo should work correctly.
13236 lt_compile=`echo "$ac_compile" | $SED \
13237 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13238 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13239 -e 's:$: $lt_compiler_flag:'`
13240 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13241 (eval "$lt_compile" 2>out/conftest.err)
13243 cat out/conftest.err >&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13247 # The compiler can only warn and ignore the option if not recognized
13248 # So say no if there are warnings
13249 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13250 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13251 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13252 lt_cv_prog_compiler_c_o_CXX=yes
13257 # SGI C++ compiler will create directory out/ii_files/ for
13258 # template instantiation
13259 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13260 $RM out/* && rmdir out
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13267 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13272 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13273 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13274 $as_echo_n "(cached) " >&6
13276 lt_cv_prog_compiler_c_o_CXX=no
13277 $RM -r conftest 2>/dev/null
13281 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13283 lt_compiler_flag="-o out/conftest2.$ac_objext"
13284 # Insert the option either (1) after the last *FLAGS variable, or
13285 # (2) before a word containing "conftest.", or (3) at the end.
13286 # Note that $ac_compile itself does not contain backslashes and begins
13287 # with a dollar sign (not a hyphen), so the echo should work correctly.
13288 lt_compile=`echo "$ac_compile" | $SED \
13289 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13290 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13291 -e 's:$: $lt_compiler_flag:'`
13292 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13293 (eval "$lt_compile" 2>out/conftest.err)
13295 cat out/conftest.err >&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13299 # The compiler can only warn and ignore the option if not recognized
13300 # So say no if there are warnings
13301 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13302 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13303 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13304 lt_cv_prog_compiler_c_o_CXX=yes
13309 # SGI C++ compiler will create directory out/ii_files/ for
13310 # template instantiation
13311 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13312 $RM out/* && rmdir out
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13319 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13324 hard_links="nottested"
13325 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13326 # do not overwrite the value of need_locks provided by the user
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13328 $as_echo_n "checking if we can lock with hard links... " >&6; }
13331 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13333 ln conftest.a conftest.b 2>&5 || hard_links=no
13334 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13336 $as_echo "$hard_links" >&6; }
13337 if test "$hard_links" = no; then
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13339 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13349 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13351 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13354 # If we're using GNU nm, then we don't want the "-C" option.
13355 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13356 # Also, AIX nm treats weak defined symbols like other global defined
13357 # symbols, whereas GNU nm marks them as "W".
13358 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13359 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'
13361 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'
13365 export_symbols_cmds_CXX="$ltdll_cmds"
13367 cygwin* | mingw* | cegcc*)
13368 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13371 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13374 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13377 $as_echo "$ld_shlibs_CXX" >&6; }
13378 test "$ld_shlibs_CXX" = no && can_build_shared=no
13380 with_gnu_ld_CXX=$with_gnu_ld
13388 # Do we need to explicitly link libc?
13390 case "x$archive_cmds_need_lc_CXX" in
13392 # Assume -lc should be added
13393 archive_cmds_need_lc_CXX=yes
13395 if test "$enable_shared" = yes && test "$GCC" = yes; then
13396 case $archive_cmds_CXX in
13398 # FIXME: we may have to deal with multi-command sequences.
13401 # Test whether the compiler implicitly links with -lc since on some
13402 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13403 # to ld, don't add -lc before -lgcc.
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13405 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13406 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13407 $as_echo_n "(cached) " >&6
13410 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13412 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13413 (eval $ac_compile) 2>&5
13415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13416 test $ac_status = 0; } 2>conftest.err; then
13419 libobjs=conftest.$ac_objext
13421 wl=$lt_prog_compiler_wl_CXX
13422 pic_flag=$lt_prog_compiler_pic_CXX
13428 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13429 allow_undefined_flag_CXX=
13430 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13431 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13434 test $ac_status = 0; }
13436 lt_cv_archive_cmds_need_lc_CXX=no
13438 lt_cv_archive_cmds_need_lc_CXX=yes
13440 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13442 cat conftest.err 1>&5
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13448 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13449 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13520 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13522 library_names_spec=
13523 libname_spec='lib$name'
13527 postuninstall_cmds=
13531 shlibpath_overrides_runpath=unknown
13533 dynamic_linker="$host_os ld.so"
13534 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13535 need_lib_prefix=unknown
13536 hardcode_into_libs=no
13538 # when you set need_version to no, make sure it does not cause -set_version
13539 # flags to be left without arguments
13540 need_version=unknown
13545 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13546 shlibpath_var=LIBPATH
13548 # AIX 3 has no versioning support, so we append a major version to the name.
13549 soname_spec='${libname}${release}${shared_ext}$major'
13556 hardcode_into_libs=yes
13557 if test "$host_cpu" = ia64; then
13558 # AIX 5 supports IA64
13559 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13560 shlibpath_var=LD_LIBRARY_PATH
13562 # With GCC up to 2.95.x, collect2 would create an import file
13563 # for dependence libraries. The import file would start with
13564 # the line `#! .'. This would cause the generated library to
13565 # depend on `.', always an invalid library. This was fixed in
13566 # development snapshots of GCC prior to 3.0.
13568 aix4 | aix4.[01] | aix4.[01].*)
13569 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13571 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13574 can_build_shared=no
13578 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13579 # soname into executable. Probably we can add versioning support to
13580 # collect2, so additional links can be useful in future.
13581 if test "$aix_use_runtimelinking" = yes; then
13582 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13583 # instead of lib<name>.a to let people know that these are not
13584 # typical AIX shared libraries.
13585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13587 # We preserve .a as extension for shared libraries through AIX4.2
13588 # and later when we are not doing run time linking.
13589 library_names_spec='${libname}${release}.a $libname.a'
13590 soname_spec='${libname}${release}${shared_ext}$major'
13592 shlibpath_var=LIBPATH
13599 # Since July 2007 AmigaOS4 officially supports .so libraries.
13600 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13604 library_names_spec='$libname.ixlibrary $libname.a'
13605 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13606 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'
13612 library_names_spec='${libname}${shared_ext}'
13613 dynamic_linker="$host_os ld.so"
13614 shlibpath_var=LIBRARY_PATH
13620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13621 soname_spec='${libname}${release}${shared_ext}$major'
13622 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13623 shlibpath_var=LD_LIBRARY_PATH
13624 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13625 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13626 # the default ld.so.conf also contains /usr/contrib/lib and
13627 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13628 # libtool to hard-code these into programs
13631 cygwin* | mingw* | pw32* | cegcc*)
13632 version_type=windows
13637 case $GCC,$host_os in
13638 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13639 library_names_spec='$libname.dll.a'
13640 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13641 postinstall_cmds='base_file=`basename \${file}`~
13642 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13643 dldir=$destdir/`dirname \$dlpath`~
13644 test -d \$dldir || mkdir -p \$dldir~
13645 $install_prog $dir/$dlname \$dldir/$dlname~
13646 chmod a+x \$dldir/$dlname~
13647 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13648 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13650 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13651 dlpath=$dir/\$dldll~
13653 shlibpath_overrides_runpath=yes
13657 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13658 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13662 # MinGW DLLs use traditional 'lib' prefix
13663 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13666 # pw32 DLLs use 'pw' prefix rather than 'lib'
13667 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13673 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13676 dynamic_linker='Win32 ld.exe'
13677 # FIXME: first we should search . and the directory the executable is in
13681 darwin* | rhapsody*)
13682 dynamic_linker="$host_os dyld"
13683 version_type=darwin
13686 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13687 soname_spec='${libname}${release}${major}$shared_ext'
13688 shlibpath_overrides_runpath=yes
13689 shlibpath_var=DYLD_LIBRARY_PATH
13690 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13692 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13700 soname_spec='${libname}${release}${shared_ext}$major'
13701 shlibpath_var=LD_LIBRARY_PATH
13704 freebsd* | dragonfly*)
13705 # DragonFly does not have aout. When/if they implement a new
13706 # versioning mechanism, adjust this.
13707 if test -x /usr/bin/objformat; then
13708 objformat=`/usr/bin/objformat`
13711 freebsd[23].*) objformat=aout ;;
13712 *) objformat=elf ;;
13715 version_type=freebsd-$objformat
13716 case $version_type in
13718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13723 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13727 shlibpath_var=LD_LIBRARY_PATH
13730 shlibpath_overrides_runpath=yes
13732 freebsd3.[01]* | freebsdelf3.[01]*)
13733 shlibpath_overrides_runpath=yes
13734 hardcode_into_libs=yes
13736 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13737 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13738 shlibpath_overrides_runpath=no
13739 hardcode_into_libs=yes
13741 *) # from 4.6 on, and DragonFly
13742 shlibpath_overrides_runpath=yes
13743 hardcode_into_libs=yes
13752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13753 soname_spec='${libname}${release}${shared_ext}$major'
13754 shlibpath_var=LD_LIBRARY_PATH
13755 hardcode_into_libs=yes
13762 dynamic_linker="$host_os runtime_loader"
13763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13764 soname_spec='${libname}${release}${shared_ext}$major'
13765 shlibpath_var=LIBRARY_PATH
13766 shlibpath_overrides_runpath=yes
13767 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13768 hardcode_into_libs=yes
13771 hpux9* | hpux10* | hpux11*)
13772 # Give a soname corresponding to the major version so that dld.sl refuses to
13773 # link against other versions.
13780 hardcode_into_libs=yes
13781 dynamic_linker="$host_os dld.so"
13782 shlibpath_var=LD_LIBRARY_PATH
13783 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13785 soname_spec='${libname}${release}${shared_ext}$major'
13786 if test "X$HPUX_IA64_MODE" = X32; then
13787 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13789 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13791 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13795 hardcode_into_libs=yes
13796 dynamic_linker="$host_os dld.sl"
13797 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13798 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13800 soname_spec='${libname}${release}${shared_ext}$major'
13801 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13802 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13806 dynamic_linker="$host_os dld.sl"
13807 shlibpath_var=SHLIB_PATH
13808 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13810 soname_spec='${libname}${release}${shared_ext}$major'
13813 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13814 postinstall_cmds='chmod 555 $lib'
13815 # or fails outright, so override atomically:
13816 install_override_mode=555
13823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13824 soname_spec='${libname}${release}${shared_ext}$major'
13825 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13826 shlibpath_var=LD_LIBRARY_PATH
13827 shlibpath_overrides_runpath=no
13828 hardcode_into_libs=yes
13831 irix5* | irix6* | nonstopux*)
13833 nonstopux*) version_type=nonstopux ;;
13835 if test "$lt_cv_prog_gnu_ld" = yes; then
13843 soname_spec='${libname}${release}${shared_ext}$major'
13844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13846 irix5* | nonstopux*)
13847 libsuff= shlibsuff=
13850 case $LD in # libtool.m4 will add one of these switches to LD
13851 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13852 libsuff= shlibsuff= libmagic=32-bit;;
13853 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13854 libsuff=32 shlibsuff=N32 libmagic=N32;;
13855 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13856 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13857 *) libsuff= shlibsuff= libmagic=never-match;;
13861 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13862 shlibpath_overrides_runpath=no
13863 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13864 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13865 hardcode_into_libs=yes
13868 # No shared lib support for Linux oldld, aout, or coff.
13869 linux*oldld* | linux*aout* | linux*coff*)
13873 # This must be Linux ELF.
13874 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13879 soname_spec='${libname}${release}${shared_ext}$major'
13880 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13881 shlibpath_var=LD_LIBRARY_PATH
13882 shlibpath_overrides_runpath=no
13884 # Some binutils ld are patched to set DT_RUNPATH
13885 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
13886 $as_echo_n "(cached) " >&6
13888 lt_cv_shlibpath_overrides_runpath=no
13889 save_LDFLAGS=$LDFLAGS
13890 save_libdir=$libdir
13891 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13892 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13904 if ac_fn_cxx_try_link "$LINENO"; then :
13905 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13906 lt_cv_shlibpath_overrides_runpath=yes
13909 rm -f core conftest.err conftest.$ac_objext \
13910 conftest$ac_exeext conftest.$ac_ext
13911 LDFLAGS=$save_LDFLAGS
13912 libdir=$save_libdir
13916 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13918 # This implies no fast_install, which is unacceptable.
13919 # Some rework will be needed to allow for fast_install
13920 # before this can be enabled.
13921 hardcode_into_libs=yes
13923 # Append ld.so.conf contents to the search path
13924 if test -f /etc/ld.so.conf; then
13925 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' ' '`
13926 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13929 # We used to test for /lib/ld.so.1 and disable shared libraries on
13930 # powerpc, because MkLinux only supported shared libraries with the
13931 # GNU dynamic linker. Since this was broken with cross compilers,
13932 # most powerpc-linux boxes support dynamic linking these days and
13933 # people can always --disable-shared, the test was removed, and we
13934 # assume the GNU/Linux dynamic linker is in use.
13935 dynamic_linker='GNU/Linux ld.so'
13942 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13944 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13945 dynamic_linker='NetBSD (a.out) ld.so'
13947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13948 soname_spec='${libname}${release}${shared_ext}$major'
13949 dynamic_linker='NetBSD ld.elf_so'
13951 shlibpath_var=LD_LIBRARY_PATH
13952 shlibpath_overrides_runpath=yes
13953 hardcode_into_libs=yes
13958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13959 shlibpath_var=LD_LIBRARY_PATH
13960 shlibpath_overrides_runpath=yes
13967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13968 soname_spec='${libname}${release}${shared_ext}$major'
13969 shlibpath_var=LD_LIBRARY_PATH
13970 shlibpath_overrides_runpath=no
13971 hardcode_into_libs=yes
13972 dynamic_linker='ldqnx.so'
13977 sys_lib_dlsearch_path_spec="/usr/lib"
13979 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13981 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13982 *) need_version=no ;;
13984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13985 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13986 shlibpath_var=LD_LIBRARY_PATH
13987 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13989 openbsd2.[89] | openbsd2.[89].*)
13990 shlibpath_overrides_runpath=no
13993 shlibpath_overrides_runpath=yes
13997 shlibpath_overrides_runpath=yes
14002 libname_spec='$name'
14005 library_names_spec='$libname${shared_ext} $libname.a'
14006 dynamic_linker='OS/2 ld.exe'
14007 shlibpath_var=LIBPATH
14010 osf3* | osf4* | osf5*)
14014 soname_spec='${libname}${release}${shared_ext}$major'
14015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14016 shlibpath_var=LD_LIBRARY_PATH
14017 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14018 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14030 soname_spec='${libname}${release}${shared_ext}$major'
14031 shlibpath_var=LD_LIBRARY_PATH
14032 shlibpath_overrides_runpath=yes
14033 hardcode_into_libs=yes
14034 # ldd complains unless libraries are executable
14035 postinstall_cmds='chmod +x $lib'
14040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14041 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14042 shlibpath_var=LD_LIBRARY_PATH
14043 shlibpath_overrides_runpath=yes
14044 if test "$with_gnu_ld" = yes; then
14052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14053 soname_spec='${libname}${release}${shared_ext}$major'
14054 shlibpath_var=LD_LIBRARY_PATH
14055 case $host_vendor in
14057 shlibpath_overrides_runpath=no
14059 runpath_var=LD_RUN_PATH
14067 shlibpath_overrides_runpath=no
14068 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14074 if test -d /usr/nec ;then
14076 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14077 soname_spec='$libname${shared_ext}.$major'
14078 shlibpath_var=LD_LIBRARY_PATH
14082 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14083 version_type=freebsd-elf
14086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14087 soname_spec='${libname}${release}${shared_ext}$major'
14088 shlibpath_var=LD_LIBRARY_PATH
14089 shlibpath_overrides_runpath=yes
14090 hardcode_into_libs=yes
14091 if test "$with_gnu_ld" = yes; then
14092 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14094 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14097 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14101 sys_lib_dlsearch_path_spec='/usr/lib'
14105 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14110 shlibpath_var=LD_LIBRARY_PATH
14111 shlibpath_overrides_runpath=no
14112 hardcode_into_libs=yes
14117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14118 soname_spec='${libname}${release}${shared_ext}$major'
14119 shlibpath_var=LD_LIBRARY_PATH
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14127 $as_echo "$dynamic_linker" >&6; }
14128 test "$dynamic_linker" = no && can_build_shared=no
14130 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14131 if test "$GCC" = yes; then
14132 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14135 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14136 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14138 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14139 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14180 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14181 hardcode_action_CXX=
14182 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14183 test -n "$runpath_var_CXX" ||
14184 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14186 # We can hardcode non-existent directories.
14187 if test "$hardcode_direct_CXX" != no &&
14188 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14189 # have to relink, otherwise we might link with an installed library
14190 # when we should be linking with a yet-to-be-installed one
14191 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14192 test "$hardcode_minus_L_CXX" != no; then
14193 # Linking always hardcodes the temporary library directory.
14194 hardcode_action_CXX=relink
14196 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14197 hardcode_action_CXX=immediate
14200 # We cannot hardcode anything, or else we can only hardcode existing
14202 hardcode_action_CXX=unsupported
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14205 $as_echo "$hardcode_action_CXX" >&6; }
14207 if test "$hardcode_action_CXX" = relink ||
14208 test "$inherit_rpath_CXX" = yes; then
14209 # Fast installation is not supported
14210 enable_fast_install=no
14211 elif test "$shlibpath_overrides_runpath" = yes ||
14212 test "$enable_shared" = no; then
14213 # Fast installation is not necessary
14214 enable_fast_install=needless
14223 fi # test -n "$compiler"
14229 with_gnu_ld=$lt_save_with_gnu_ld
14230 lt_cv_path_LDCXX=$lt_cv_path_LD
14231 lt_cv_path_LD=$lt_save_path_LD
14232 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14233 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14234 fi # test "$_lt_caught_CXX_error" != yes
14237 ac_cpp='$CPP $CPPFLAGS'
14238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14254 ac_config_commands="$ac_config_commands libtool"
14259 # Only expand once:
14266 if test "${multilib}" = "yes"; then
14267 multilib_arg="--enable-multilib"
14271 if test "x$with_multisubdir" = "x32"; then
14272 MULTISUBDIR32_TRUE=
14273 MULTISUBDIR32_FALSE='#'
14275 MULTISUBDIR32_TRUE='#'
14276 MULTISUBDIR32_FALSE=
14280 ac_config_files="$ac_config_files Makefile"
14283 ac_config_files="$ac_config_files interception/Makefile sanitizer_common/Makefile asan/Makefile"
14286 if test "x$with_multisubdir" != "x32"; then
14287 ac_config_files="$ac_config_files tsan/Makefile"
14291 cat >confcache <<\_ACEOF
14292 # This file is a shell script that caches the results of configure
14293 # tests run on this system so they can be shared between configure
14294 # scripts and configure runs, see configure's option --config-cache.
14295 # It is not useful on other systems. If it contains results you don't
14296 # want to keep, you may remove or edit it.
14298 # config.status only pays attention to the cache file if you give it
14299 # the --recheck option to rerun configure.
14301 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14302 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14303 # following values.
14307 # The following way of writing the cache mishandles newlines in values,
14308 # but we know of no workaround that is simple, portable, and efficient.
14309 # So, we kill variables containing newlines.
14310 # Ultrix sh set writes to stderr and can't be redirected directly,
14311 # and sets the high bit in the cache file unless we assign to the vars.
14313 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14314 eval ac_val=\$$ac_var
14318 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14319 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14322 _ | IFS | as_nl) ;; #(
14323 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14324 *) { eval $ac_var=; unset $ac_var;} ;;
14330 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14331 *${as_nl}ac_space=\ *)
14332 # `set' does not quote correctly, so add quotes: double-quote
14333 # substitution turns \\\\ into \\, and sed turns \\ into \.
14336 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14339 # `set' quotes correctly as required by POSIX, so do not add quotes.
14340 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14349 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14351 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14353 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14354 if test -w "$cache_file"; then
14355 test "x$cache_file" != "x/dev/null" &&
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14357 $as_echo "$as_me: updating cache $cache_file" >&6;}
14358 cat confcache >$cache_file
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14361 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14366 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14367 # Let make expand exec_prefix.
14368 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14370 # Transform confdefs.h into DEFS.
14371 # Protect against shell expansion while executing Makefile rules.
14372 # Protect against Makefile macro expansion.
14374 # If the first sed substitution is executed (which looks for macros that
14375 # take arguments), then branch to the quote section. Otherwise,
14376 # look for a macro that doesn't take arguments.
14386 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14388 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14392 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14405 DEFS=`sed -n "$ac_script" confdefs.h`
14410 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14411 # 1. Remove the extension, and $U if already installed.
14412 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14413 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14414 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14415 # will be set to the directory where LIBOBJS objects are built.
14416 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14417 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14419 LIBOBJS=$ac_libobjs
14421 LTLIBOBJS=$ac_ltlibobjs
14424 if test -n "$EXEEXT"; then
14426 am__EXEEXT_FALSE='#'
14428 am__EXEEXT_TRUE='#'
14432 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14433 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14436 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14437 as_fn_error "conditional \"AMDEP\" was never defined.
14438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14440 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14441 as_fn_error "conditional \"am__fastdepCC\" was never defined.
14442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14444 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14445 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
14446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14448 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14449 as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
14450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14452 if test -z "${MULTISUBDIR32_TRUE}" && test -z "${MULTISUBDIR32_FALSE}"; then
14453 as_fn_error "conditional \"MULTISUBDIR32\" was never defined.
14454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14457 : ${CONFIG_STATUS=./config.status}
14459 ac_clean_files_save=$ac_clean_files
14460 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14462 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14464 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14466 # Generated by $as_me.
14467 # Run this file to recreate the current configuration.
14468 # Compiler output produced by configure, useful for debugging
14469 # configure, is in config.log if it exists.
14472 ac_cs_recheck=false
14475 SHELL=\${CONFIG_SHELL-$SHELL}
14478 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14479 ## -------------------- ##
14480 ## M4sh Initialization. ##
14481 ## -------------------- ##
14483 # Be more Bourne compatible
14484 DUALCASE=1; export DUALCASE # for MKS sh
14485 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14488 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14489 # is contrary to our usage. Disable this feature.
14490 alias -g '${1+"$@"}'='"$@"'
14491 setopt NO_GLOB_SUBST
14493 case `(set -o) 2>/dev/null` in #(
14505 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14506 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14507 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14509 # Prefer a ksh shell builtin over an external printf program on Solaris,
14510 # but without wasting forks for bash or zsh.
14511 if test -z "$BASH_VERSION$ZSH_VERSION" \
14512 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14513 as_echo='print -r --'
14514 as_echo_n='print -rn --'
14515 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14516 as_echo='printf %s\n'
14517 as_echo_n='printf %s'
14519 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14520 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14521 as_echo_n='/usr/ucb/echo -n'
14523 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14524 as_echo_n_body='eval
14528 expr "X$arg" : "X\\(.*\\)$as_nl";
14529 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14531 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14533 export as_echo_n_body
14534 as_echo_n='sh -c $as_echo_n_body as_echo'
14536 export as_echo_body
14537 as_echo='sh -c $as_echo_body as_echo'
14540 # The user is always right.
14541 if test "${PATH_SEPARATOR+set}" != set; then
14543 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14544 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14551 # We need space, tab and new line, in precisely that order. Quoting is
14552 # there to prevent editors from complaining about space-tab.
14553 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14554 # splitting by setting IFS to empty value.)
14557 # Find who we are. Look in the path if we contain no directory separator.
14559 *[\\/]* ) as_myself=$0 ;;
14560 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14561 for as_dir in $PATH
14564 test -z "$as_dir" && as_dir=.
14565 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14571 # We did not find ourselves, most probably we were run as `sh COMMAND'
14572 # in which case we are not to be found in the path.
14573 if test "x$as_myself" = x; then
14576 if test ! -f "$as_myself"; then
14577 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14581 # Unset variables that we do not need and which cause bugs (e.g. in
14582 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14583 # suppresses any "Segmentation fault" message there. '((' could
14584 # trigger a bug in pdksh 5.2.14.
14585 for as_var in BASH_ENV ENV MAIL MAILPATH
14586 do eval test x\${$as_var+set} = xset \
14587 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14600 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14603 # as_fn_error ERROR [LINENO LOG_FD]
14604 # ---------------------------------
14605 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14606 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14607 # script with status $?, using 1 if that was 0.
14610 as_status=$?; test $as_status -eq 0 && as_status=1
14612 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14613 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14615 $as_echo "$as_me: error: $1" >&2
14616 as_fn_exit $as_status
14620 # as_fn_set_status STATUS
14621 # -----------------------
14622 # Set $? to STATUS, without forking.
14623 as_fn_set_status ()
14626 } # as_fn_set_status
14628 # as_fn_exit STATUS
14629 # -----------------
14630 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14634 as_fn_set_status $1
14640 # Portably unset VAR.
14643 { eval $1=; unset $1;}
14645 as_unset=as_fn_unset
14646 # as_fn_append VAR VALUE
14647 # ----------------------
14648 # Append the text in VALUE to the end of the definition contained in VAR. Take
14649 # advantage of any shell optimizations that allow amortized linear growth over
14650 # repeated appends, instead of the typical quadratic growth present in naive
14652 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14653 eval 'as_fn_append ()
14664 # as_fn_arith ARG...
14665 # ------------------
14666 # Perform arithmetic evaluation on the ARGs, and store the result in the
14667 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14668 # must be portable across $(()) and expr.
14669 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14670 eval 'as_fn_arith ()
14677 as_val=`expr "$@" || test $? -eq 1`
14682 if expr a : '\(a\)' >/dev/null 2>&1 &&
14683 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14689 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14690 as_basename=basename
14695 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14701 as_me=`$as_basename -- "$0" ||
14702 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14703 X"$0" : 'X\(//\)$' \| \
14704 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14706 sed '/^.*\/\([^/][^/]*\)\/*$/{
14720 # Avoid depending upon Character Ranges.
14721 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14722 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14723 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14724 as_cr_digits='0123456789'
14725 as_cr_alnum=$as_cr_Letters$as_cr_digits
14727 ECHO_C= ECHO_N= ECHO_T=
14728 case `echo -n x` in #(((((
14730 case `echo 'xy\c'` in
14731 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14733 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14740 rm -f conf$$ conf$$.exe conf$$.file
14741 if test -d conf$$.dir; then
14742 rm -f conf$$.dir/conf$$.file
14745 mkdir conf$$.dir 2>/dev/null
14747 if (echo >conf$$.file) 2>/dev/null; then
14748 if ln -s conf$$.file conf$$ 2>/dev/null; then
14750 # ... but there are two gotchas:
14751 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14752 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14753 # In both cases, we have to default to `cp -p'.
14754 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14756 elif ln conf$$.file conf$$ 2>/dev/null; then
14764 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14765 rmdir conf$$.dir 2>/dev/null
14770 # Create "$as_dir" as a directory, including parents if necessary.
14775 -*) as_dir=./$as_dir;;
14777 test -d "$as_dir" || eval $as_mkdir_p || {
14781 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14782 *) as_qdir=$as_dir;;
14784 as_dirs="'$as_qdir' $as_dirs"
14785 as_dir=`$as_dirname -- "$as_dir" ||
14786 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14787 X"$as_dir" : 'X\(//\)[^/]' \| \
14788 X"$as_dir" : 'X\(//\)$' \| \
14789 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14790 $as_echo X"$as_dir" |
14791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14795 /^X\(\/\/\)[^/].*/{
14808 test -d "$as_dir" && break
14810 test -z "$as_dirs" || eval "mkdir $as_dirs"
14811 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14815 if mkdir -p . 2>/dev/null; then
14816 as_mkdir_p='mkdir -p "$as_dir"'
14818 test -d ./-p && rmdir ./-p
14822 if test -x / >/dev/null 2>&1; then
14823 as_test_x='test -x'
14825 if ls -dL / >/dev/null 2>&1; then
14832 if test -d "$1"; then
14838 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14839 ???[sx]*):;;*)false;;esac;fi
14843 as_executable_p=$as_test_x
14845 # Sed expression to map a string onto a valid CPP name.
14846 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14848 # Sed expression to map a string onto a valid variable name.
14849 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14853 ## ----------------------------------- ##
14854 ## Main body of $CONFIG_STATUS script. ##
14855 ## ----------------------------------- ##
14857 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14860 # Save the log message, to keep $0 and so on meaningful, and to
14861 # report actual input values of CONFIG_FILES etc. instead of their
14862 # values after options handling.
14864 This file was extended by package-unused $as_me version-unused, which was
14865 generated by GNU Autoconf 2.64. Invocation command line was
14867 CONFIG_FILES = $CONFIG_FILES
14868 CONFIG_HEADERS = $CONFIG_HEADERS
14869 CONFIG_LINKS = $CONFIG_LINKS
14870 CONFIG_COMMANDS = $CONFIG_COMMANDS
14873 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14878 case $ac_config_files in *"
14879 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14885 # Files that config.status was made for.
14886 config_files="$ac_config_files"
14887 config_commands="$ac_config_commands"
14891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14893 \`$as_me' instantiates files and other configuration actions
14894 from templates according to the current configuration. Unless the files
14895 and actions are specified as TAGs, all are instantiated by default.
14897 Usage: $0 [OPTION]... [TAG]...
14899 -h, --help print this help, then exit
14900 -V, --version print version number and configuration settings, then exit
14901 -q, --quiet, --silent
14902 do not print progress messages
14903 -d, --debug don't remove temporary files
14904 --recheck update $as_me by reconfiguring in the same conditions
14905 --file=FILE[:TEMPLATE]
14906 instantiate the configuration file FILE
14908 Configuration files:
14911 Configuration commands:
14914 Report bugs to <libsanitizer>."
14917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14919 package-unused config.status version-unused
14920 configured by $0, generated by GNU Autoconf 2.64,
14921 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14923 Copyright (C) 2009 Free Software Foundation, Inc.
14924 This config.status script is free software; the Free Software Foundation
14925 gives unlimited permission to copy, distribute and modify it."
14932 test -n "\$AWK" || AWK=awk
14935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14936 # The default lists apply if the user does not specify any file.
14942 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14943 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14954 # Handling of the options.
14955 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14957 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14958 $as_echo "$ac_cs_version"; exit ;;
14959 --debug | --debu | --deb | --de | --d | -d )
14961 --file | --fil | --fi | --f )
14964 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14966 as_fn_append CONFIG_FILES " '$ac_optarg'"
14967 ac_need_defaults=false;;
14968 --he | --h | --help | --hel | -h )
14969 $as_echo "$ac_cs_usage"; exit ;;
14970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14971 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14974 # This is an error.
14975 -*) as_fn_error "unrecognized option: \`$1'
14976 Try \`$0 --help' for more information." ;;
14978 *) as_fn_append ac_config_targets " $1"
14979 ac_need_defaults=false ;;
14985 ac_configure_extra_args=
14987 if $ac_cs_silent; then
14989 ac_configure_extra_args="$ac_configure_extra_args --silent"
14993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14994 if \$ac_cs_recheck; then
14995 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14997 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14998 CONFIG_SHELL='$SHELL'
14999 export CONFIG_SHELL
15004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15008 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15009 ## Running $as_me. ##
15015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15023 with_multisubdir="$with_multisubdir"
15024 with_multisrctop="$with_multisrctop"
15025 with_target_subdir="$with_target_subdir"
15026 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15027 multi_basedir="$multi_basedir"
15028 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15031 GFORTRAN="$GFORTRAN"
15033 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15036 # The HP-UX ksh and POSIX shell print the target directory to stdout
15037 # if CDPATH is set.
15038 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15040 sed_quote_subst='$sed_quote_subst'
15041 double_quote_subst='$double_quote_subst'
15042 delay_variable_subst='$delay_variable_subst'
15043 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15044 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15045 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15046 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15047 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15048 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15049 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15050 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15051 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15052 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15053 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15054 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15055 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15056 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15057 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15058 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15059 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15060 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15061 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15062 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15063 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15064 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15065 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15066 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15067 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15068 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15069 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15070 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15071 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15072 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15073 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15074 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15075 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15076 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15077 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15078 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15079 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15080 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15081 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15082 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15083 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15084 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15085 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15086 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15087 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15088 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15089 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15090 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15091 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"`'
15092 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15093 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15094 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15095 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15096 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15097 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15098 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15099 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15100 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15101 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15102 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15103 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15104 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15105 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15106 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15107 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15108 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15109 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15110 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15111 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15112 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15113 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15114 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15115 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15116 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15117 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15118 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15119 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15120 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15121 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15122 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15123 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15124 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15125 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15126 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15127 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15128 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15129 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15130 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15131 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15132 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15133 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15134 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15135 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15136 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15137 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15138 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15139 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15140 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15141 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15142 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15143 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15144 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15145 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15146 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15147 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15148 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15149 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15150 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15151 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15152 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15153 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15154 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15155 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15156 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15157 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15158 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15159 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15160 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15161 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15162 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15163 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15164 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15165 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15166 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15167 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15168 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15169 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15170 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15171 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15172 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15173 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15174 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15175 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15176 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15177 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15178 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15179 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15180 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15181 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15182 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15183 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15184 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15185 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15186 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15187 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15188 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15189 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15190 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15191 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15192 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15193 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15194 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15195 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15196 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15197 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15198 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15199 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15200 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15201 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15202 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15203 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15204 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15205 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15206 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15207 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15208 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15209 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15210 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15211 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15212 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15213 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15214 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15215 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15216 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15217 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15220 LTCFLAGS='$LTCFLAGS'
15221 compiler='$compiler_DEFAULT'
15223 # A function that is used when there is no print builtin or printf.
15224 func_fallback_echo ()
15226 eval 'cat <<_LTECHO_EOF
15231 # Quote evaled strings.
15245 deplibs_check_method \
15254 lt_cv_sys_global_symbol_pipe \
15255 lt_cv_sys_global_symbol_to_cdecl \
15256 lt_cv_sys_global_symbol_to_c_name_address \
15257 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15258 lt_prog_compiler_no_builtin_flag \
15259 lt_prog_compiler_wl \
15260 lt_prog_compiler_pic \
15261 lt_prog_compiler_static \
15262 lt_cv_prog_compiler_c_o \
15270 export_dynamic_flag_spec \
15271 whole_archive_flag_spec \
15272 compiler_needs_object \
15274 allow_undefined_flag \
15275 no_undefined_flag \
15276 hardcode_libdir_flag_spec \
15277 hardcode_libdir_flag_spec_ld \
15278 hardcode_libdir_separator \
15283 variables_saved_for_relink \
15285 library_names_spec \
15287 install_override_mode \
15291 compiler_lib_search_dirs \
15296 compiler_lib_search_path \
15300 lt_prog_compiler_no_builtin_flag_CXX \
15301 lt_prog_compiler_wl_CXX \
15302 lt_prog_compiler_pic_CXX \
15303 lt_prog_compiler_static_CXX \
15304 lt_cv_prog_compiler_c_o_CXX \
15305 export_dynamic_flag_spec_CXX \
15306 whole_archive_flag_spec_CXX \
15307 compiler_needs_object_CXX \
15309 allow_undefined_flag_CXX \
15310 no_undefined_flag_CXX \
15311 hardcode_libdir_flag_spec_CXX \
15312 hardcode_libdir_flag_spec_ld_CXX \
15313 hardcode_libdir_separator_CXX \
15314 fix_srcfile_path_CXX \
15315 exclude_expsyms_CXX \
15316 include_expsyms_CXX \
15317 file_list_spec_CXX \
15318 compiler_lib_search_dirs_CXX \
15319 predep_objects_CXX \
15320 postdep_objects_CXX \
15323 compiler_lib_search_path_CXX; do
15324 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15325 *[\\\\\\\`\\"\\\$]*)
15326 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15329 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15334 # Double-quote double-evaled strings.
15335 for var in reload_cmds \
15336 old_postinstall_cmds \
15337 old_postuninstall_cmds \
15339 extract_expsyms_cmds \
15340 old_archive_from_new_cmds \
15341 old_archive_from_expsyms_cmds \
15343 archive_expsym_cmds \
15345 module_expsym_cmds \
15346 export_symbols_cmds \
15349 postuninstall_cmds \
15351 sys_lib_search_path_spec \
15352 sys_lib_dlsearch_path_spec \
15354 old_archive_cmds_CXX \
15355 old_archive_from_new_cmds_CXX \
15356 old_archive_from_expsyms_cmds_CXX \
15358 archive_expsym_cmds_CXX \
15360 module_expsym_cmds_CXX \
15361 export_symbols_cmds_CXX \
15362 prelink_cmds_CXX; do
15363 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15364 *[\\\\\\\`\\"\\\$]*)
15365 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15368 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15373 ac_aux_dir='$ac_aux_dir'
15374 xsi_shell='$xsi_shell'
15375 lt_shell_append='$lt_shell_append'
15377 # See if we are running on zsh, and set the options which allow our
15378 # commands through without removal of \ escapes INIT.
15379 if test -n "\${ZSH_VERSION+set}" ; then
15380 setopt NO_GLOB_SUBST
15386 TIMESTAMP='$TIMESTAMP'
15397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15399 # Handling of arguments.
15400 for ac_config_target in $ac_config_targets
15402 case $ac_config_target in
15403 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15404 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15405 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15406 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15407 "interception/Makefile") CONFIG_FILES="$CONFIG_FILES interception/Makefile" ;;
15408 "sanitizer_common/Makefile") CONFIG_FILES="$CONFIG_FILES sanitizer_common/Makefile" ;;
15409 "asan/Makefile") CONFIG_FILES="$CONFIG_FILES asan/Makefile" ;;
15410 "tsan/Makefile") CONFIG_FILES="$CONFIG_FILES tsan/Makefile" ;;
15412 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15417 # If the user did not use the arguments to specify the items to instantiate,
15418 # then the envvar interface is used. Set only those that are not.
15419 # We use the long form for the default assignment because of an extremely
15420 # bizarre bug on SunOS 4.1.3.
15421 if $ac_need_defaults; then
15422 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15423 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15426 # Have a temporary directory for convenience. Make it in the build tree
15427 # simply because there is no reason against having it here, and in addition,
15428 # creating and moving files from /tmp can sometimes cause problems.
15429 # Hook for its removal unless debugging.
15430 # Note that there is a small window in which the directory will not be cleaned:
15431 # after its creation but before its name has been assigned to `$tmp'.
15435 trap 'exit_status=$?
15436 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15438 trap 'as_fn_exit 1' 1 2 13 15
15440 # Create a (secure) tmp directory for tmp files.
15443 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15444 test -n "$tmp" && test -d "$tmp"
15447 tmp=./conf$$-$RANDOM
15448 (umask 077 && mkdir "$tmp")
15449 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15451 # Set up the scripts for CONFIG_FILES section.
15452 # No need to generate them if there are no CONFIG_FILES.
15453 # This happens for instance with `./config.status config.h'.
15454 if test -n "$CONFIG_FILES"; then
15457 ac_cr=`echo X | tr X '\015'`
15458 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15459 # But we know of no other shell where ac_cr would be empty at this
15460 # point, so we can use a bashism as a fallback.
15461 if test "x$ac_cr" = x; then
15462 eval ac_cr=\$\'\\r\'
15464 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15465 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15468 ac_cs_awk_cr=$ac_cr
15471 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15476 echo "cat >conf$$subs.awk <<_ACEOF" &&
15477 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15479 } >conf$$subs.sh ||
15480 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15481 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15483 for ac_last_try in false false false false false :; do
15484 . ./conf$$subs.sh ||
15485 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15487 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15488 if test $ac_delim_n = $ac_delim_num; then
15490 elif $ac_last_try; then
15491 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15493 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15496 rm -f conf$$subs.sh
15498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15499 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15503 s/^/S["/; s/!.*/"]=/
15513 s/\(.\{148\}\).*/\1/
15515 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15520 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15527 s/\(.\{148\}\).*/\1/
15529 s/["\\]/\\&/g; s/^/"/; s/$/"/
15533 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15538 ' <conf$$subs.awk | sed '
15543 ' >>$CONFIG_STATUS || ac_write_fail=1
15544 rm -f conf$$subs.awk
15545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15547 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15548 for (key in S) S_is_set[key] = 1
15554 nfields = split(line, field, "@")
15556 len = length(field[1])
15557 for (i = 2; i < nfields; i++) {
15559 keylen = length(key)
15560 if (S_is_set[key]) {
15562 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15563 len += length(value) + length(field[++i])
15574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15575 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15576 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15579 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15580 || as_fn_error "could not setup config files machinery" "$LINENO" 5
15583 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15584 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15585 # trailing colons and then remove the whole line if VPATH becomes empty
15586 # (actually we leave an empty line to preserve line numbers).
15587 if test "x$srcdir" = x.; then
15588 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15589 s/:*\$(srcdir):*/:/
15590 s/:*\${srcdir}:*/:/
15592 s/^\([^=]*=[ ]*\):*/\1/
15598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15599 fi # test -n "$CONFIG_FILES"
15602 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
15607 :[FHLC]) ac_mode=$ac_tag; continue;;
15609 case $ac_mode$ac_tag in
15611 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15612 :[FH]-) ac_tag=-:-;;
15613 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15630 -) ac_f="$tmp/stdin";;
15631 *) # Look for the file first in the build tree, then in the source tree
15632 # (if the path is not absolute). The absolute path cannot be DOS-style,
15633 # because $ac_f cannot contain `:'.
15637 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15639 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15641 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15642 as_fn_append ac_file_inputs " '$ac_f'"
15645 # Let's still pretend it is `configure' which instantiates (i.e., don't
15646 # use $as_me), people would be surprised to read:
15647 # /* config.h. Generated by config.status. */
15648 configure_input='Generated from '`
15649 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15651 if test x"$ac_file" != x-; then
15652 configure_input="$ac_file. $configure_input"
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15654 $as_echo "$as_me: creating $ac_file" >&6;}
15656 # Neutralize special characters interpreted by sed in replacement strings.
15657 case $configure_input in #(
15658 *\&* | *\|* | *\\* )
15659 ac_sed_conf_input=`$as_echo "$configure_input" |
15660 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15661 *) ac_sed_conf_input=$configure_input;;
15665 *:-:* | *:-) cat >"$tmp/stdin" \
15666 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15671 ac_dir=`$as_dirname -- "$ac_file" ||
15672 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15673 X"$ac_file" : 'X\(//\)[^/]' \| \
15674 X"$ac_file" : 'X\(//\)$' \| \
15675 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15676 $as_echo X"$ac_file" |
15677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15681 /^X\(\/\/\)[^/].*/{
15694 as_dir="$ac_dir"; as_fn_mkdir_p
15698 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15700 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15701 # A ".." for each directory in $ac_dir_suffix.
15702 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15703 case $ac_top_builddir_sub in
15704 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15705 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15708 ac_abs_top_builddir=$ac_pwd
15709 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15710 # for backward compatibility:
15711 ac_top_builddir=$ac_top_build_prefix
15714 .) # We are building in place.
15716 ac_top_srcdir=$ac_top_builddir_sub
15717 ac_abs_top_srcdir=$ac_pwd ;;
15718 [\\/]* | ?:[\\/]* ) # Absolute name.
15719 ac_srcdir=$srcdir$ac_dir_suffix;
15720 ac_top_srcdir=$srcdir
15721 ac_abs_top_srcdir=$srcdir ;;
15722 *) # Relative name.
15723 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15724 ac_top_srcdir=$ac_top_build_prefix$srcdir
15725 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15727 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15737 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15738 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15740 ac_MKDIR_P=$MKDIR_P
15742 [\\/$]* | ?:[\\/]* ) ;;
15743 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15748 # If the template does not know about datarootdir, expand it.
15749 # FIXME: This hack should be removed a few years after 2.60.
15750 ac_datarootdir_hack=; ac_datarootdir_seen=
15761 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15762 *datarootdir*) ac_datarootdir_seen=yes;;
15763 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15765 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15768 ac_datarootdir_hack='
15769 s&@datadir@&$datadir&g
15770 s&@docdir@&$docdir&g
15771 s&@infodir@&$infodir&g
15772 s&@localedir@&$localedir&g
15773 s&@mandir@&$mandir&g
15774 s&\\\${datarootdir}&$datarootdir&g' ;;
15778 # Neutralize VPATH when `$srcdir' = `.'.
15779 # Shell code in configure.ac might set extrasub.
15780 # FIXME: do we really want to maintain this feature?
15781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15782 ac_sed_extra="$ac_vpsub
15785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15787 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15788 s|@configure_input@|$ac_sed_conf_input|;t t
15789 s&@top_builddir@&$ac_top_builddir_sub&;t t
15790 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15791 s&@srcdir@&$ac_srcdir&;t t
15792 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15793 s&@top_srcdir@&$ac_top_srcdir&;t t
15794 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15795 s&@builddir@&$ac_builddir&;t t
15796 s&@abs_builddir@&$ac_abs_builddir&;t t
15797 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15798 s&@INSTALL@&$ac_INSTALL&;t t
15799 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15800 $ac_datarootdir_hack
15802 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15803 || as_fn_error "could not create $ac_file" "$LINENO" 5
15805 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15806 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15807 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15809 which seems to be undefined. Please make sure it is defined." >&5
15810 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15811 which seems to be undefined. Please make sure it is defined." >&2;}
15815 -) cat "$tmp/out" && rm -f "$tmp/out";;
15816 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15818 || as_fn_error "could not create $ac_file" "$LINENO" 5
15822 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15823 $as_echo "$as_me: executing $ac_file commands" >&6;}
15828 case $ac_file$ac_mode in
15830 # Only add multilib support code if we just rebuilt the top-level
15832 case " $CONFIG_FILES " in
15834 ac_file=Makefile . ${multi_basedir}/config-ml.in
15837 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15838 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15839 # are listed without --file. Let's play safe and only enable the eval
15840 # if we detect the quoting.
15841 case $CONFIG_FILES in
15842 *\'*) eval set x "$CONFIG_FILES" ;;
15843 *) set x $CONFIG_FILES ;;
15848 # Strip MF so we end up with the name of the file.
15849 mf=`echo "$mf" | sed -e 's/:.*$//'`
15850 # Check whether this is an Automake generated Makefile or not.
15851 # We used to match only the files named `Makefile.in', but
15852 # some people rename them; so instead we look at the file content.
15853 # Grep'ing the first line is not enough: some people post-process
15854 # each Makefile.in and add a new line on top of each file to say so.
15855 # Grep'ing the whole file is not good either: AIX grep has a line
15856 # limit of 2048, but all sed's we know have understand at least 4000.
15857 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15858 dirpart=`$as_dirname -- "$mf" ||
15859 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15860 X"$mf" : 'X\(//\)[^/]' \| \
15861 X"$mf" : 'X\(//\)$' \| \
15862 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15868 /^X\(\/\/\)[^/].*/{
15884 # Extract the definition of DEPDIR, am__include, and am__quote
15885 # from the Makefile without running `make'.
15886 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15887 test -z "$DEPDIR" && continue
15888 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15889 test -z "am__include" && continue
15890 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15891 # When using ansi2knr, U may be empty or an underscore; expand it
15892 U=`sed -n 's/^U = //p' < "$mf"`
15893 # Find all dependency output files, they are included files with
15894 # $(DEPDIR) in their names. We invoke sed twice because it is the
15895 # simplest approach to changing $(DEPDIR) to its actual value in the
15897 for file in `sed -n "
15898 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15899 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15900 # Make sure the directory exists.
15901 test -f "$dirpart/$file" && continue
15902 fdir=`$as_dirname -- "$file" ||
15903 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15904 X"$file" : 'X\(//\)[^/]' \| \
15905 X"$file" : 'X\(//\)$' \| \
15906 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15907 $as_echo X"$file" |
15908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15912 /^X\(\/\/\)[^/].*/{
15925 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15926 # echo "creating $dirpart/$file"
15927 echo '# dummy' > "$dirpart/$file"
15934 # See if we are running on zsh, and set the options which allow our
15935 # commands through without removal of \ escapes.
15936 if test -n "${ZSH_VERSION+set}" ; then
15937 setopt NO_GLOB_SUBST
15940 cfgfile="${ofile}T"
15941 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15944 cat <<_LT_EOF >> "$cfgfile"
15947 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15948 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15949 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15950 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15952 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15953 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15954 # Written by Gordon Matzigkeit, 1996
15956 # This file is part of GNU Libtool.
15958 # GNU Libtool is free software; you can redistribute it and/or
15959 # modify it under the terms of the GNU General Public License as
15960 # published by the Free Software Foundation; either version 2 of
15961 # the License, or (at your option) any later version.
15963 # As a special exception to the GNU General Public License,
15964 # if you distribute this file as part of a program or library that
15965 # is built using GNU Libtool, you may include this file under the
15966 # same distribution terms that you use for the rest of that program.
15968 # GNU Libtool is distributed in the hope that it will be useful,
15969 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15970 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15971 # GNU General Public License for more details.
15973 # You should have received a copy of the GNU General Public License
15974 # along with GNU Libtool; see the file COPYING. If not, a copy
15975 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15976 # obtained by writing to the Free Software Foundation, Inc.,
15977 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15980 # The names of the tagged configurations supported by this script.
15981 available_tags="CXX "
15983 # ### BEGIN LIBTOOL CONFIG
15985 # Which release of libtool.m4 was used?
15986 macro_version=$macro_version
15987 macro_revision=$macro_revision
15989 # Whether or not to build shared libraries.
15990 build_libtool_libs=$enable_shared
15992 # Whether or not to build static libraries.
15993 build_old_libs=$enable_static
15995 # What type of objects to build.
15998 # Whether or not to optimize for fast installation.
15999 fast_install=$enable_fast_install
16001 # Shell to use when invoking shell scripts.
16004 # An echo program that protects backslashes.
16008 host_alias=$host_alias
16012 # The build system.
16013 build_alias=$build_alias
16017 # A sed program that does not truncate output.
16020 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16021 Xsed="\$SED -e 1s/^X//"
16023 # A grep program that handles long lines.
16029 # A literal string matcher.
16032 # A BSD- or MS-compatible name lister.
16035 # Whether we need soft or hard links.
16038 # What is the maximum length of a command?
16039 max_cmd_len=$max_cmd_len
16041 # Object file suffix (normally "o").
16044 # Executable file suffix (normally "").
16047 # whether the shell understands "unset".
16050 # turn spaces into newlines.
16053 # turn newlines into spaces.
16056 # An object symbol dumper.
16057 OBJDUMP=$lt_OBJDUMP
16059 # Method to check whether dependent libraries are shared objects.
16060 deplibs_check_method=$lt_deplibs_check_method
16062 # Command to use when deplibs_check_method == "file_magic".
16063 file_magic_cmd=$lt_file_magic_cmd
16067 AR_FLAGS=$lt_AR_FLAGS
16069 # A symbol stripping program.
16072 # Commands used to install an old-style archive.
16074 old_postinstall_cmds=$lt_old_postinstall_cmds
16075 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16077 # Whether to use a lock for old archive extraction.
16078 lock_old_archive_extraction=$lock_old_archive_extraction
16083 # LTCC compiler flags.
16084 LTCFLAGS=$lt_CFLAGS
16086 # Take the output of nm and produce a listing of raw symbols and C names.
16087 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16089 # Transform the output of nm in a proper C declaration.
16090 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16092 # Transform the output of nm in a C name address pair.
16093 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16095 # Transform the output of nm in a C name address pair when lib prefix is needed.
16096 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16098 # The name of the directory that contains temporary libtool files.
16101 # Used to examine libraries when file_magic_cmd begins with "file".
16102 MAGIC_CMD=$MAGIC_CMD
16104 # Must we lock files when doing compilation?
16105 need_locks=$lt_need_locks
16107 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16108 DSYMUTIL=$lt_DSYMUTIL
16110 # Tool to change global to local symbols on Mac OS X.
16113 # Tool to manipulate fat objects and archives on Mac OS X.
16116 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16119 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16120 OTOOL64=$lt_OTOOL64
16122 # Old archive suffix (normally "a").
16125 # Shared library suffix (normally ".so").
16126 shrext_cmds=$lt_shrext_cmds
16128 # The commands to extract the exported symbol list from a shared archive.
16129 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16131 # Variables whose values should be saved in libtool wrapper scripts and
16132 # restored at link time.
16133 variables_saved_for_relink=$lt_variables_saved_for_relink
16135 # Do we need the "lib" prefix for modules?
16136 need_lib_prefix=$need_lib_prefix
16138 # Do we need a version for libraries?
16139 need_version=$need_version
16141 # Library versioning type.
16142 version_type=$version_type
16144 # Shared library runtime path variable.
16145 runpath_var=$runpath_var
16147 # Shared library path variable.
16148 shlibpath_var=$shlibpath_var
16150 # Is shlibpath searched before the hard-coded library search path?
16151 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16153 # Format of library name prefix.
16154 libname_spec=$lt_libname_spec
16156 # List of archive names. First name is the real one, the rest are links.
16157 # The last name is the one that the linker finds with -lNAME
16158 library_names_spec=$lt_library_names_spec
16160 # The coded name of the library, if different from the real name.
16161 soname_spec=$lt_soname_spec
16163 # Permission mode override for installation of shared libraries.
16164 install_override_mode=$lt_install_override_mode
16166 # Command to use after installation of a shared archive.
16167 postinstall_cmds=$lt_postinstall_cmds
16169 # Command to use after uninstallation of a shared archive.
16170 postuninstall_cmds=$lt_postuninstall_cmds
16172 # Commands used to finish a libtool library installation in a directory.
16173 finish_cmds=$lt_finish_cmds
16175 # As "finish_cmds", except a single script fragment to be evaled but
16177 finish_eval=$lt_finish_eval
16179 # Whether we should hardcode library paths into libraries.
16180 hardcode_into_libs=$hardcode_into_libs
16182 # Compile-time system search path for libraries.
16183 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16185 # Run-time system search path for libraries.
16186 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16188 # Whether dlopen is supported.
16189 dlopen_support=$enable_dlopen
16191 # Whether dlopen of programs is supported.
16192 dlopen_self=$enable_dlopen_self
16194 # Whether dlopen of statically linked programs is supported.
16195 dlopen_self_static=$enable_dlopen_self_static
16197 # Commands to strip libraries.
16198 old_striplib=$lt_old_striplib
16199 striplib=$lt_striplib
16202 # The linker used to build libraries.
16205 # How to create reloadable object files.
16206 reload_flag=$lt_reload_flag
16207 reload_cmds=$lt_reload_cmds
16209 # Commands used to build an old-style archive.
16210 old_archive_cmds=$lt_old_archive_cmds
16212 # A language specific compiler.
16215 # Is the compiler the GNU compiler?
16218 # Compiler flag to turn off builtin functions.
16219 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16221 # How to pass a linker flag through the compiler.
16222 wl=$lt_lt_prog_compiler_wl
16224 # Additional compiler flags for building library objects.
16225 pic_flag=$lt_lt_prog_compiler_pic
16227 # Compiler flag to prevent dynamic linking.
16228 link_static_flag=$lt_lt_prog_compiler_static
16230 # Does compiler simultaneously support -c and -o options?
16231 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16233 # Whether or not to add -lc for building shared libraries.
16234 build_libtool_need_lc=$archive_cmds_need_lc
16236 # Whether or not to disallow shared libs when runtime libs are static.
16237 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16239 # Compiler flag to allow reflexive dlopens.
16240 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16242 # Compiler flag to generate shared objects directly from archives.
16243 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16245 # Whether the compiler copes with passing no objects directly.
16246 compiler_needs_object=$lt_compiler_needs_object
16248 # Create an old-style archive from a shared archive.
16249 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16251 # Create a temporary old-style archive to link instead of a shared archive.
16252 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16254 # Commands used to build a shared archive.
16255 archive_cmds=$lt_archive_cmds
16256 archive_expsym_cmds=$lt_archive_expsym_cmds
16258 # Commands used to build a loadable module if different from building
16259 # a shared archive.
16260 module_cmds=$lt_module_cmds
16261 module_expsym_cmds=$lt_module_expsym_cmds
16263 # Whether we are building with GNU ld or not.
16264 with_gnu_ld=$lt_with_gnu_ld
16266 # Flag that allows shared libraries with undefined symbols to be built.
16267 allow_undefined_flag=$lt_allow_undefined_flag
16269 # Flag that enforces no undefined symbols.
16270 no_undefined_flag=$lt_no_undefined_flag
16272 # Flag to hardcode \$libdir into a binary during linking.
16273 # This must work even if \$libdir does not exist
16274 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16276 # If ld is used when linking, flag to hardcode \$libdir into a binary
16277 # during linking. This must work even if \$libdir does not exist.
16278 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16280 # Whether we need a single "-rpath" flag with a separated argument.
16281 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16283 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16284 # DIR into the resulting binary.
16285 hardcode_direct=$hardcode_direct
16287 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16288 # DIR into the resulting binary and the resulting library dependency is
16289 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16290 # library is relocated.
16291 hardcode_direct_absolute=$hardcode_direct_absolute
16293 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16294 # into the resulting binary.
16295 hardcode_minus_L=$hardcode_minus_L
16297 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16298 # into the resulting binary.
16299 hardcode_shlibpath_var=$hardcode_shlibpath_var
16301 # Set to "yes" if building a shared library automatically hardcodes DIR
16302 # into the library and all subsequent libraries and executables linked
16304 hardcode_automatic=$hardcode_automatic
16306 # Set to yes if linker adds runtime paths of dependent libraries
16307 # to runtime path list.
16308 inherit_rpath=$inherit_rpath
16310 # Whether libtool must link a program against all its dependency libraries.
16311 link_all_deplibs=$link_all_deplibs
16313 # Fix the shell variable \$srcfile for the compiler.
16314 fix_srcfile_path=$lt_fix_srcfile_path
16316 # Set to "yes" if exported symbols are required.
16317 always_export_symbols=$always_export_symbols
16319 # The commands to list exported symbols.
16320 export_symbols_cmds=$lt_export_symbols_cmds
16322 # Symbols that should not be listed in the preloaded symbols.
16323 exclude_expsyms=$lt_exclude_expsyms
16325 # Symbols that must always be exported.
16326 include_expsyms=$lt_include_expsyms
16328 # Commands necessary for linking programs (against libraries) with templates.
16329 prelink_cmds=$lt_prelink_cmds
16331 # Specify filename containing input files.
16332 file_list_spec=$lt_file_list_spec
16334 # How to hardcode a shared library path into an executable.
16335 hardcode_action=$hardcode_action
16337 # The directories searched by this compiler when creating a shared library.
16338 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16340 # Dependencies to place before and after the objects being linked to
16341 # create a shared library.
16342 predep_objects=$lt_predep_objects
16343 postdep_objects=$lt_postdep_objects
16344 predeps=$lt_predeps
16345 postdeps=$lt_postdeps
16347 # The library search path used internally by the compiler when linking
16348 # a shared library.
16349 compiler_lib_search_path=$lt_compiler_lib_search_path
16351 # ### END LIBTOOL CONFIG
16357 cat <<\_LT_EOF >> "$cfgfile"
16358 # AIX sometimes has problems with the GCC collect2 program. For some
16359 # reason, if we set the COLLECT_NAMES environment variable, the problems
16360 # vanish in a puff of smoke.
16361 if test "X${COLLECT_NAMES+set}" != Xset; then
16363 export COLLECT_NAMES
16370 ltmain="$ac_aux_dir/ltmain.sh"
16373 # We use sed instead of cat because bash on DJGPP gets confused if
16374 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16375 # text mode, it properly converts lines to CR/LF. This bash problem
16376 # is reportedly fixed, but why not run on old versions too?
16377 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16378 || (rm -f "$cfgfile"; exit 1)
16382 cat << \_LT_EOF >> "$cfgfile"
16384 # func_dirname file append nondir_replacement
16385 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16386 # otherwise set result to NONDIR_REPLACEMENT.
16390 */*) func_dirname_result="${1%/*}${2}" ;;
16391 * ) func_dirname_result="${3}" ;;
16395 # func_basename file
16398 func_basename_result="${1##*/}"
16401 # func_dirname_and_basename file append nondir_replacement
16402 # perform func_basename and func_dirname in a single function
16404 # dirname: Compute the dirname of FILE. If nonempty,
16405 # add APPEND to the result, otherwise set result
16406 # to NONDIR_REPLACEMENT.
16407 # value returned in "$func_dirname_result"
16408 # basename: Compute filename of FILE.
16409 # value retuned in "$func_basename_result"
16410 # Implementation must be kept synchronized with func_dirname
16411 # and func_basename. For efficiency, we do not delegate to
16412 # those functions but instead duplicate the functionality here.
16413 func_dirname_and_basename ()
16416 */*) func_dirname_result="${1%/*}${2}" ;;
16417 * ) func_dirname_result="${3}" ;;
16419 func_basename_result="${1##*/}"
16422 # func_stripname prefix suffix name
16423 # strip PREFIX and SUFFIX off of NAME.
16424 # PREFIX and SUFFIX must not contain globbing or regex special
16425 # characters, hashes, percent signs, but SUFFIX may contain a leading
16426 # dot (in which case that matches only a dot).
16429 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16430 # positional parameters, so assign one to ordinary parameter first.
16431 func_stripname_result=${3}
16432 func_stripname_result=${func_stripname_result#"${1}"}
16433 func_stripname_result=${func_stripname_result%"${2}"}
16439 func_opt_split_opt=${1%%=*}
16440 func_opt_split_arg=${1#*=}
16447 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16448 *) func_lo2o_result=${1} ;;
16452 # func_xform libobj-or-source
16455 func_xform_result=${1%.*}.lo
16458 # func_arith arithmetic-term...
16461 func_arith_result=$(( $* ))
16465 # STRING may not start with a hyphen.
16468 func_len_result=${#1}
16473 *) # Bourne compatible functions.
16474 cat << \_LT_EOF >> "$cfgfile"
16476 # func_dirname file append nondir_replacement
16477 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16478 # otherwise set result to NONDIR_REPLACEMENT.
16481 # Extract subdirectory from the argument.
16482 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16483 if test "X$func_dirname_result" = "X${1}"; then
16484 func_dirname_result="${3}"
16486 func_dirname_result="$func_dirname_result${2}"
16490 # func_basename file
16493 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16497 # func_stripname prefix suffix name
16498 # strip PREFIX and SUFFIX off of NAME.
16499 # PREFIX and SUFFIX must not contain globbing or regex special
16500 # characters, hashes, percent signs, but SUFFIX may contain a leading
16501 # dot (in which case that matches only a dot).
16502 # func_strip_suffix prefix name
16506 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16507 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16512 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16513 my_sed_long_arg='1s/^-[^=]*=//'
16518 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16519 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16525 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
16528 # func_xform libobj-or-source
16531 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16534 # func_arith arithmetic-term...
16537 func_arith_result=`expr "$@"`
16541 # STRING may not start with a hyphen.
16544 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16550 case $lt_shell_append in
16552 cat << \_LT_EOF >> "$cfgfile"
16554 # func_append var value
16555 # Append VALUE to the end of shell variable VAR.
16563 cat << \_LT_EOF >> "$cfgfile"
16565 # func_append var value
16566 # Append VALUE to the end of shell variable VAR.
16577 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16578 || (rm -f "$cfgfile"; exit 1)
16580 mv -f "$cfgfile" "$ofile" ||
16581 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16585 cat <<_LT_EOF >> "$ofile"
16587 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16589 # The linker used to build libraries.
16592 # How to create reloadable object files.
16593 reload_flag=$lt_reload_flag_CXX
16594 reload_cmds=$lt_reload_cmds_CXX
16596 # Commands used to build an old-style archive.
16597 old_archive_cmds=$lt_old_archive_cmds_CXX
16599 # A language specific compiler.
16600 CC=$lt_compiler_CXX
16602 # Is the compiler the GNU compiler?
16605 # Compiler flag to turn off builtin functions.
16606 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16608 # How to pass a linker flag through the compiler.
16609 wl=$lt_lt_prog_compiler_wl_CXX
16611 # Additional compiler flags for building library objects.
16612 pic_flag=$lt_lt_prog_compiler_pic_CXX
16614 # Compiler flag to prevent dynamic linking.
16615 link_static_flag=$lt_lt_prog_compiler_static_CXX
16617 # Does compiler simultaneously support -c and -o options?
16618 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16620 # Whether or not to add -lc for building shared libraries.
16621 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16623 # Whether or not to disallow shared libs when runtime libs are static.
16624 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16626 # Compiler flag to allow reflexive dlopens.
16627 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16629 # Compiler flag to generate shared objects directly from archives.
16630 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16632 # Whether the compiler copes with passing no objects directly.
16633 compiler_needs_object=$lt_compiler_needs_object_CXX
16635 # Create an old-style archive from a shared archive.
16636 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16638 # Create a temporary old-style archive to link instead of a shared archive.
16639 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16641 # Commands used to build a shared archive.
16642 archive_cmds=$lt_archive_cmds_CXX
16643 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16645 # Commands used to build a loadable module if different from building
16646 # a shared archive.
16647 module_cmds=$lt_module_cmds_CXX
16648 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16650 # Whether we are building with GNU ld or not.
16651 with_gnu_ld=$lt_with_gnu_ld_CXX
16653 # Flag that allows shared libraries with undefined symbols to be built.
16654 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16656 # Flag that enforces no undefined symbols.
16657 no_undefined_flag=$lt_no_undefined_flag_CXX
16659 # Flag to hardcode \$libdir into a binary during linking.
16660 # This must work even if \$libdir does not exist
16661 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16663 # If ld is used when linking, flag to hardcode \$libdir into a binary
16664 # during linking. This must work even if \$libdir does not exist.
16665 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16667 # Whether we need a single "-rpath" flag with a separated argument.
16668 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16670 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16671 # DIR into the resulting binary.
16672 hardcode_direct=$hardcode_direct_CXX
16674 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16675 # DIR into the resulting binary and the resulting library dependency is
16676 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16677 # library is relocated.
16678 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
16680 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16681 # into the resulting binary.
16682 hardcode_minus_L=$hardcode_minus_L_CXX
16684 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16685 # into the resulting binary.
16686 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16688 # Set to "yes" if building a shared library automatically hardcodes DIR
16689 # into the library and all subsequent libraries and executables linked
16691 hardcode_automatic=$hardcode_automatic_CXX
16693 # Set to yes if linker adds runtime paths of dependent libraries
16694 # to runtime path list.
16695 inherit_rpath=$inherit_rpath_CXX
16697 # Whether libtool must link a program against all its dependency libraries.
16698 link_all_deplibs=$link_all_deplibs_CXX
16700 # Fix the shell variable \$srcfile for the compiler.
16701 fix_srcfile_path=$lt_fix_srcfile_path_CXX
16703 # Set to "yes" if exported symbols are required.
16704 always_export_symbols=$always_export_symbols_CXX
16706 # The commands to list exported symbols.
16707 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16709 # Symbols that should not be listed in the preloaded symbols.
16710 exclude_expsyms=$lt_exclude_expsyms_CXX
16712 # Symbols that must always be exported.
16713 include_expsyms=$lt_include_expsyms_CXX
16715 # Commands necessary for linking programs (against libraries) with templates.
16716 prelink_cmds=$lt_prelink_cmds_CXX
16718 # Specify filename containing input files.
16719 file_list_spec=$lt_file_list_spec_CXX
16721 # How to hardcode a shared library path into an executable.
16722 hardcode_action=$hardcode_action_CXX
16724 # The directories searched by this compiler when creating a shared library.
16725 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16727 # Dependencies to place before and after the objects being linked to
16728 # create a shared library.
16729 predep_objects=$lt_predep_objects_CXX
16730 postdep_objects=$lt_postdep_objects_CXX
16731 predeps=$lt_predeps_CXX
16732 postdeps=$lt_postdeps_CXX
16734 # The library search path used internally by the compiler when linking
16735 # a shared library.
16736 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16738 # ### END LIBTOOL TAG CONFIG: CXX
16742 "interception/Makefile":F) cat > vpsed$$ << \_EOF
16743 s!`test -f '$<' || echo '$(srcdir)/'`!!
16745 sed -f vpsed$$ $ac_file > tmp$$
16748 echo 'MULTISUBDIR =' >> $ac_file
16750 . ${multi_basedir}/config-ml.in
16751 { ml_norecursion=; unset ml_norecursion;}
16753 "sanitizer_common/Makefile":F) cat > vpsed$$ << \_EOF
16754 s!`test -f '$<' || echo '$(srcdir)/'`!!
16756 sed -f vpsed$$ $ac_file > tmp$$
16759 echo 'MULTISUBDIR =' >> $ac_file
16761 . ${multi_basedir}/config-ml.in
16762 { ml_norecursion=; unset ml_norecursion;}
16764 "asan/Makefile":F) cat > vpsed$$ << \_EOF
16765 s!`test -f '$<' || echo '$(srcdir)/'`!!
16767 sed -f vpsed$$ $ac_file > tmp$$
16770 echo 'MULTISUBDIR =' >> $ac_file
16772 . ${multi_basedir}/config-ml.in
16773 { ml_norecursion=; unset ml_norecursion;}
16775 "tsan/Makefile":F) cat > vpsed$$ << \_EOF
16776 s!`test -f '$<' || echo '$(srcdir)/'`!!
16778 sed -f vpsed$$ $ac_file > tmp$$
16781 echo 'MULTISUBDIR =' >> $ac_file
16783 . ${multi_basedir}/config-ml.in
16784 { ml_norecursion=; unset ml_norecursion;}
16793 ac_clean_files=$ac_clean_files_save
16795 test $ac_write_fail = 0 ||
16796 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16799 # configure is writing to config.log, and then calls config.status.
16800 # config.status does its own redirection, appending to config.log.
16801 # Unfortunately, on DOS this fails, as config.log is still kept open
16802 # by configure, so config.status won't be able to write to it; its
16803 # output is simply discarded. So we exec the FD to /dev/null,
16804 # effectively closing config.log, so it can be properly (re)opened and
16805 # appended to by config.status. When coming back to configure, we
16806 # need to make the FD available again.
16807 if test "$no_create" != yes; then
16809 ac_config_status_args=
16810 test "$silent" = yes &&
16811 ac_config_status_args="$ac_config_status_args --quiet"
16813 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16815 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16816 # would make configure fail if this is the last instruction.
16817 $ac_cs_success || as_fn_exit $?
16819 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16821 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}