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
607 USING_MACH_OVERRIDE_FALSE
608 USING_MACH_OVERRIDE_TRUE
633 am__fastdepCCAS_FALSE
663 MAINTAINER_MODE_FALSE
674 INSTALL_STRIP_PROGRAM
728 program_transform_name
741 enable_option_checking
742 enable_version_specific_runtime_libs
744 enable_maintainer_mode
745 enable_dependency_tracking
753 ac_precious_vars='build_alias
770 # Initialize some variables set by options.
772 ac_init_version=false
773 ac_unrecognized_opts=
775 # The variables have the same names as the options, with
776 # dashes changed to underlines.
784 program_transform_name=s,x,x,
792 # Installation directory options.
793 # These are left unexpanded so users can "make install exec_prefix=/foo"
794 # and all the variables that are supposed to be based on exec_prefix
795 # by default will actually change.
796 # Use braces instead of parens because sh, perl, etc. also accept them.
797 # (The list follows the same order as the GNU Coding Standards.)
798 bindir='${exec_prefix}/bin'
799 sbindir='${exec_prefix}/sbin'
800 libexecdir='${exec_prefix}/libexec'
801 datarootdir='${prefix}/share'
802 datadir='${datarootdir}'
803 sysconfdir='${prefix}/etc'
804 sharedstatedir='${prefix}/com'
805 localstatedir='${prefix}/var'
806 includedir='${prefix}/include'
807 oldincludedir='/usr/include'
808 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
809 infodir='${datarootdir}/info'
814 libdir='${exec_prefix}/lib'
815 localedir='${datarootdir}/locale'
816 mandir='${datarootdir}/man'
822 # If the previous option needs an argument, assign it.
823 if test -n "$ac_prev"; then
824 eval $ac_prev=\$ac_option
830 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
834 # Accept the important Cygnus configure options, so we can diagnose typos.
836 case $ac_dashdash$ac_option in
840 -bindir | --bindir | --bindi | --bind | --bin | --bi)
842 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
845 -build | --build | --buil | --bui | --bu)
846 ac_prev=build_alias ;;
847 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
848 build_alias=$ac_optarg ;;
850 -cache-file | --cache-file | --cache-fil | --cache-fi \
851 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
852 ac_prev=cache_file ;;
853 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
854 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
855 cache_file=$ac_optarg ;;
858 cache_file=config.cache ;;
860 -datadir | --datadir | --datadi | --datad)
862 -datadir=* | --datadir=* | --datadi=* | --datad=*)
863 datadir=$ac_optarg ;;
865 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
866 | --dataroo | --dataro | --datar)
867 ac_prev=datarootdir ;;
868 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
869 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
870 datarootdir=$ac_optarg ;;
872 -disable-* | --disable-*)
873 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
874 # Reject names that are not valid shell variable names.
875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
876 as_fn_error "invalid feature name: $ac_useropt"
877 ac_useropt_orig=$ac_useropt
878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879 case $ac_user_opts in
883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
884 ac_unrecognized_sep=', ';;
886 eval enable_$ac_useropt=no ;;
888 -docdir | --docdir | --docdi | --doc | --do)
890 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
893 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
895 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
898 -enable-* | --enable-*)
899 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
902 as_fn_error "invalid feature name: $ac_useropt"
903 ac_useropt_orig=$ac_useropt
904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905 case $ac_user_opts in
909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
910 ac_unrecognized_sep=', ';;
912 eval enable_$ac_useropt=\$ac_optarg ;;
914 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
915 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
916 | --exec | --exe | --ex)
917 ac_prev=exec_prefix ;;
918 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
919 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
920 | --exec=* | --exe=* | --ex=*)
921 exec_prefix=$ac_optarg ;;
923 -gas | --gas | --ga | --g)
924 # Obsolete; use --with-gas.
927 -help | --help | --hel | --he | -h)
929 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
930 ac_init_help=recursive ;;
931 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
932 ac_init_help=short ;;
934 -host | --host | --hos | --ho)
935 ac_prev=host_alias ;;
936 -host=* | --host=* | --hos=* | --ho=*)
937 host_alias=$ac_optarg ;;
939 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
941 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
943 htmldir=$ac_optarg ;;
945 -includedir | --includedir | --includedi | --included | --include \
946 | --includ | --inclu | --incl | --inc)
947 ac_prev=includedir ;;
948 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
949 | --includ=* | --inclu=* | --incl=* | --inc=*)
950 includedir=$ac_optarg ;;
952 -infodir | --infodir | --infodi | --infod | --info | --inf)
954 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
955 infodir=$ac_optarg ;;
957 -libdir | --libdir | --libdi | --libd)
959 -libdir=* | --libdir=* | --libdi=* | --libd=*)
962 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
963 | --libexe | --libex | --libe)
964 ac_prev=libexecdir ;;
965 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
966 | --libexe=* | --libex=* | --libe=*)
967 libexecdir=$ac_optarg ;;
969 -localedir | --localedir | --localedi | --localed | --locale)
971 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
972 localedir=$ac_optarg ;;
974 -localstatedir | --localstatedir | --localstatedi | --localstated \
975 | --localstate | --localstat | --localsta | --localst | --locals)
976 ac_prev=localstatedir ;;
977 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
978 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
979 localstatedir=$ac_optarg ;;
981 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
983 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
987 # Obsolete; use --without-fp.
990 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
991 | --no-cr | --no-c | -n)
994 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
995 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
998 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
999 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1000 | --oldin | --oldi | --old | --ol | --o)
1001 ac_prev=oldincludedir ;;
1002 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1003 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1004 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1005 oldincludedir=$ac_optarg ;;
1007 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1009 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1010 prefix=$ac_optarg ;;
1012 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1013 | --program-pre | --program-pr | --program-p)
1014 ac_prev=program_prefix ;;
1015 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1016 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1017 program_prefix=$ac_optarg ;;
1019 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1020 | --program-suf | --program-su | --program-s)
1021 ac_prev=program_suffix ;;
1022 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1023 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1024 program_suffix=$ac_optarg ;;
1026 -program-transform-name | --program-transform-name \
1027 | --program-transform-nam | --program-transform-na \
1028 | --program-transform-n | --program-transform- \
1029 | --program-transform | --program-transfor \
1030 | --program-transfo | --program-transf \
1031 | --program-trans | --program-tran \
1032 | --progr-tra | --program-tr | --program-t)
1033 ac_prev=program_transform_name ;;
1034 -program-transform-name=* | --program-transform-name=* \
1035 | --program-transform-nam=* | --program-transform-na=* \
1036 | --program-transform-n=* | --program-transform-=* \
1037 | --program-transform=* | --program-transfor=* \
1038 | --program-transfo=* | --program-transf=* \
1039 | --program-trans=* | --program-tran=* \
1040 | --progr-tra=* | --program-tr=* | --program-t=*)
1041 program_transform_name=$ac_optarg ;;
1043 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1045 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1046 pdfdir=$ac_optarg ;;
1048 -psdir | --psdir | --psdi | --psd | --ps)
1050 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1057 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1059 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1061 sbindir=$ac_optarg ;;
1063 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1064 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1065 | --sharedst | --shareds | --shared | --share | --shar \
1067 ac_prev=sharedstatedir ;;
1068 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1069 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1070 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1072 sharedstatedir=$ac_optarg ;;
1074 -site | --site | --sit)
1076 -site=* | --site=* | --sit=*)
1079 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1081 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1082 srcdir=$ac_optarg ;;
1084 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1085 | --syscon | --sysco | --sysc | --sys | --sy)
1086 ac_prev=sysconfdir ;;
1087 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1088 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1089 sysconfdir=$ac_optarg ;;
1091 -target | --target | --targe | --targ | --tar | --ta | --t)
1092 ac_prev=target_alias ;;
1093 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1094 target_alias=$ac_optarg ;;
1096 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1099 -version | --version | --versio | --versi | --vers | -V)
1100 ac_init_version=: ;;
1103 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106 as_fn_error "invalid package name: $ac_useropt"
1107 ac_useropt_orig=$ac_useropt
1108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1114 ac_unrecognized_sep=', ';;
1116 eval with_$ac_useropt=\$ac_optarg ;;
1118 -without-* | --without-*)
1119 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 as_fn_error "invalid package name: $ac_useropt"
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1132 eval with_$ac_useropt=no ;;
1135 # Obsolete; use --with-x.
1138 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1139 | --x-incl | --x-inc | --x-in | --x-i)
1140 ac_prev=x_includes ;;
1141 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1142 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1143 x_includes=$ac_optarg ;;
1145 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1146 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1147 ac_prev=x_libraries ;;
1148 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1149 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1150 x_libraries=$ac_optarg ;;
1152 -*) as_fn_error "unrecognized option: \`$ac_option'
1153 Try \`$0 --help' for more information."
1157 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1158 # Reject names that are not valid shell variable names.
1159 case $ac_envvar in #(
1160 '' | [0-9]* | *[!_$as_cr_alnum]* )
1161 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1163 eval $ac_envvar=\$ac_optarg
1164 export $ac_envvar ;;
1167 # FIXME: should be removed in autoconf 3.0.
1168 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1170 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1171 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1177 if test -n "$ac_prev"; then
1178 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1179 as_fn_error "missing argument to $ac_option"
1182 if test -n "$ac_unrecognized_opts"; then
1183 case $enable_option_checking in
1185 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1186 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1190 # Check all directory arguments for consistency.
1191 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1192 datadir sysconfdir sharedstatedir localstatedir includedir \
1193 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1194 libdir localedir mandir
1196 eval ac_val=\$$ac_var
1197 # Remove trailing slashes.
1200 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1201 eval $ac_var=\$ac_val;;
1203 # Be sure to have absolute directory names.
1205 [\\/$]* | ?:[\\/]* ) continue;;
1206 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1208 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1211 # There might be people who depend on the old broken behavior: `$host'
1212 # used to hold the argument of --host etc.
1213 # FIXME: To remove some day.
1216 target=$target_alias
1218 # FIXME: To remove some day.
1219 if test "x$host_alias" != x; then
1220 if test "x$build_alias" = x; then
1221 cross_compiling=maybe
1222 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1223 If a cross compiler is detected then cross compile mode will be used." >&2
1224 elif test "x$build_alias" != "x$host_alias"; then
1230 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1232 test "$silent" = yes && exec 6>/dev/null
1235 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1236 ac_ls_di=`ls -di .` &&
1237 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1238 as_fn_error "working directory cannot be determined"
1239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1240 as_fn_error "pwd does not report name of working directory"
1243 # Find the source files, if location was not specified.
1244 if test -z "$srcdir"; then
1245 ac_srcdir_defaulted=yes
1246 # Try the directory containing this script, then the parent directory.
1247 ac_confdir=`$as_dirname -- "$as_myself" ||
1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249 X"$as_myself" : 'X\(//\)[^/]' \| \
1250 X"$as_myself" : 'X\(//\)$' \| \
1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252 $as_echo X"$as_myself" |
1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1275 ac_srcdir_defaulted=no
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1279 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1281 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1285 # When building in place, set srcdir=.
1286 if test "$ac_abs_confdir" = "$ac_pwd"; then
1289 # Remove unnecessary trailing slashes from srcdir.
1290 # Double slashes in file names in object file debugging info
1291 # mess up M-x gdb in Emacs.
1293 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1295 for ac_var in $ac_precious_vars; do
1296 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1297 eval ac_env_${ac_var}_value=\$${ac_var}
1298 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1299 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1303 # Report the --help message.
1305 if test "$ac_init_help" = "long"; then
1306 # Omit some internal or obsolete options to make the list less imposing.
1307 # This message is too long to be a string in the A/UX 3.1 sh.
1309 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1311 Usage: $0 [OPTION]... [VAR=VALUE]...
1313 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1314 VAR=VALUE. See below for descriptions of some of the useful variables.
1316 Defaults for the options are specified in brackets.
1319 -h, --help display this help and exit
1320 --help=short display options specific to this package
1321 --help=recursive display the short help of all the included packages
1322 -V, --version display version information and exit
1323 -q, --quiet, --silent do not print \`checking...' messages
1324 --cache-file=FILE cache test results in FILE [disabled]
1325 -C, --config-cache alias for \`--cache-file=config.cache'
1326 -n, --no-create do not create output files
1327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1329 Installation directories:
1330 --prefix=PREFIX install architecture-independent files in PREFIX
1331 [$ac_default_prefix]
1332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1335 By default, \`make install' will install all the files in
1336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1338 for instance \`--prefix=\$HOME'.
1340 For better control, use the options below.
1342 Fine tuning of the installation directories:
1343 --bindir=DIR user executables [EPREFIX/bin]
1344 --sbindir=DIR system admin executables [EPREFIX/sbin]
1345 --libexecdir=DIR program executables [EPREFIX/libexec]
1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1349 --libdir=DIR object code libraries [EPREFIX/lib]
1350 --includedir=DIR C header files [PREFIX/include]
1351 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1354 --infodir=DIR info documentation [DATAROOTDIR/info]
1355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1356 --mandir=DIR man documentation [DATAROOTDIR/man]
1357 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1358 --htmldir=DIR html documentation [DOCDIR]
1359 --dvidir=DIR dvi documentation [DOCDIR]
1360 --pdfdir=DIR pdf documentation [DOCDIR]
1361 --psdir=DIR ps documentation [DOCDIR]
1367 --program-prefix=PREFIX prepend PREFIX to installed program names
1368 --program-suffix=SUFFIX append SUFFIX to installed program names
1369 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1372 --build=BUILD configure for building on BUILD [guessed]
1373 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1374 --target=TARGET configure for building compilers for TARGET [HOST]
1378 if test -n "$ac_init_help"; then
1379 case $ac_init_help in
1380 short | recursive ) echo "Configuration of package-unused version-unused:";;
1385 --disable-option-checking ignore unrecognized --enable/--with options
1386 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1387 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1388 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1389 --enable-multilib build many library versions (default)
1390 --enable-maintainer-mode enable make rules and dependencies not useful
1391 (and sometimes confusing) to the casual installer
1392 --disable-dependency-tracking speeds up one-time build
1393 --enable-dependency-tracking do not reject slow dependency extractors
1394 --enable-shared[=PKGS] build shared libraries [default=yes]
1395 --enable-static[=PKGS] build static libraries [default=yes]
1396 --enable-fast-install[=PKGS]
1397 optimize for fast installation [default=yes]
1398 --disable-libtool-lock avoid locking (might break parallel builds)
1401 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1402 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1403 --with-pic try to use only PIC/non-PIC objects [default=use
1405 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1407 Some influential environment variables:
1408 CC C compiler command
1409 CFLAGS C compiler flags
1410 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1411 nonstandard directory <lib dir>
1412 LIBS libraries to pass to the linker, e.g. -l<library>
1413 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1414 you have headers in a nonstandard directory <include dir>
1415 CXX C++ compiler command
1416 CXXFLAGS C++ compiler flags
1417 CCAS assembler compiler command (defaults to CC)
1418 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1420 CXXCPP C++ preprocessor
1422 Use these variables to override the choices made by `configure' or to help
1423 it to find libraries and programs with nonstandard names/locations.
1425 Report bugs to <libsanitizer>.
1430 if test "$ac_init_help" = "recursive"; then
1431 # If there are subdirs, report their specific --help.
1432 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1433 test -d "$ac_dir" ||
1434 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1439 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1442 # A ".." for each directory in $ac_dir_suffix.
1443 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1444 case $ac_top_builddir_sub in
1445 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1446 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1449 ac_abs_top_builddir=$ac_pwd
1450 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1451 # for backward compatibility:
1452 ac_top_builddir=$ac_top_build_prefix
1455 .) # We are building in place.
1457 ac_top_srcdir=$ac_top_builddir_sub
1458 ac_abs_top_srcdir=$ac_pwd ;;
1459 [\\/]* | ?:[\\/]* ) # Absolute name.
1460 ac_srcdir=$srcdir$ac_dir_suffix;
1461 ac_top_srcdir=$srcdir
1462 ac_abs_top_srcdir=$srcdir ;;
1464 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1465 ac_top_srcdir=$ac_top_build_prefix$srcdir
1466 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1468 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1470 cd "$ac_dir" || { ac_status=$?; continue; }
1471 # Check for guested configure.
1472 if test -f "$ac_srcdir/configure.gnu"; then
1474 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1475 elif test -f "$ac_srcdir/configure"; then
1477 $SHELL "$ac_srcdir/configure" --help=recursive
1479 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1481 cd "$ac_pwd" || { ac_status=$?; break; }
1485 test -n "$ac_init_help" && exit $ac_status
1486 if $ac_init_version; then
1488 package-unused configure version-unused
1489 generated by GNU Autoconf 2.64
1491 Copyright (C) 2009 Free Software Foundation, Inc.
1492 This configure script is free software; the Free Software Foundation
1493 gives unlimited permission to copy, distribute and modify it.
1498 ## ------------------------ ##
1499 ## Autoconf initialization. ##
1500 ## ------------------------ ##
1502 # ac_fn_c_try_compile LINENO
1503 # --------------------------
1504 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1505 ac_fn_c_try_compile ()
1507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1508 rm -f conftest.$ac_objext
1509 if { { ac_try="$ac_compile"
1511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1512 *) ac_try_echo=$ac_try;;
1514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1515 $as_echo "$ac_try_echo"; } >&5
1516 (eval "$ac_compile") 2>conftest.err
1518 if test -s conftest.err; then
1519 grep -v '^ *+' conftest.err >conftest.er1
1520 cat conftest.er1 >&5
1521 mv -f conftest.er1 conftest.err
1523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1524 test $ac_status = 0; } && {
1525 test -z "$ac_c_werror_flag" ||
1526 test ! -s conftest.err
1527 } && test -s conftest.$ac_objext; then :
1530 $as_echo "$as_me: failed program was:" >&5
1531 sed 's/^/| /' conftest.$ac_ext >&5
1535 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1538 } # ac_fn_c_try_compile
1540 # ac_fn_cxx_try_compile LINENO
1541 # ----------------------------
1542 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1543 ac_fn_cxx_try_compile ()
1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1546 rm -f conftest.$ac_objext
1547 if { { ac_try="$ac_compile"
1549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1550 *) ac_try_echo=$ac_try;;
1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1553 $as_echo "$ac_try_echo"; } >&5
1554 (eval "$ac_compile") 2>conftest.err
1556 if test -s conftest.err; then
1557 grep -v '^ *+' conftest.err >conftest.er1
1558 cat conftest.er1 >&5
1559 mv -f conftest.er1 conftest.err
1561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1562 test $ac_status = 0; } && {
1563 test -z "$ac_cxx_werror_flag" ||
1564 test ! -s conftest.err
1565 } && test -s conftest.$ac_objext; then :
1568 $as_echo "$as_me: failed program was:" >&5
1569 sed 's/^/| /' conftest.$ac_ext >&5
1573 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1576 } # ac_fn_cxx_try_compile
1578 # ac_fn_c_try_link LINENO
1579 # -----------------------
1580 # Try to link conftest.$ac_ext, and return whether this succeeded.
1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584 rm -f conftest.$ac_objext conftest$ac_exeext
1585 if { { ac_try="$ac_link"
1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588 *) ac_try_echo=$ac_try;;
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_link") 2>conftest.err
1594 if test -s conftest.err; then
1595 grep -v '^ *+' conftest.err >conftest.er1
1596 cat conftest.er1 >&5
1597 mv -f conftest.er1 conftest.err
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } && {
1601 test -z "$ac_c_werror_flag" ||
1602 test ! -s conftest.err
1603 } && test -s conftest$ac_exeext && {
1604 test "$cross_compiling" = yes ||
1605 $as_test_x conftest$ac_exeext
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1614 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1615 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1616 # interfere with the next link command; also delete a directory that is
1617 # left behind by Apple's compiler. We do this before executing the actions.
1618 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1619 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1622 } # ac_fn_c_try_link
1624 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1625 # -------------------------------------------------------
1626 # Tests whether HEADER exists and can be compiled using the include files in
1627 # INCLUDES, setting the cache variable VAR accordingly.
1628 ac_fn_c_check_header_compile ()
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1634 $as_echo_n "(cached) " >&6
1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1641 if ac_fn_c_try_compile "$LINENO"; then :
1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1650 $as_echo "$ac_res" >&6; }
1651 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1653 } # ac_fn_c_check_header_compile
1655 # ac_fn_c_try_cpp LINENO
1656 # ----------------------
1657 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 if { { ac_try="$ac_cpp conftest.$ac_ext"
1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1670 if test -s conftest.err; then
1671 grep -v '^ *+' conftest.err >conftest.er1
1672 cat conftest.er1 >&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } >/dev/null && {
1677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1678 test ! -s conftest.err
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 # ac_fn_c_try_run LINENO
1693 # ----------------------
1694 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1695 # that executables *can* be run.
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 if { { ac_try="$ac_link"
1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_link") 2>&5
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1710 { { case "(($ac_try" in
1711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712 *) ac_try_echo=$ac_try;;
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_try") 2>&5
1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 test $ac_status = 0; }; }; then :
1722 $as_echo "$as_me: program exited with status $ac_status" >&5
1723 $as_echo "$as_me: failed program was:" >&5
1724 sed 's/^/| /' conftest.$ac_ext >&5
1726 ac_retval=$ac_status
1728 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1734 # ac_fn_c_check_func LINENO FUNC VAR
1735 # ----------------------------------
1736 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1737 ac_fn_c_check_func ()
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1743 $as_echo_n "(cached) " >&6
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1747 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1749 #define $2 innocuous_$2
1751 /* System header to define __stub macros and hopefully few prototypes,
1752 which can conflict with char $2 (); below.
1753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1754 <limits.h> exists even on freestanding compilers. */
1757 # include <limits.h>
1759 # include <assert.h>
1764 /* Override any GCC internal prototype to avoid an error.
1765 Use char because int might match the return type of a GCC
1766 builtin and then its argument prototype would still apply. */
1771 /* The GNU C library defines this for functions which it implements
1772 to always fail with ENOSYS. Some functions are actually named
1773 something starting with __ and the normal name is an alias. */
1774 #if defined __stub_$2 || defined __stub___$2
1786 if ac_fn_c_try_link "$LINENO"; then :
1791 rm -f core conftest.err conftest.$ac_objext \
1792 conftest$ac_exeext conftest.$ac_ext
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796 $as_echo "$ac_res" >&6; }
1797 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1799 } # ac_fn_c_check_func
1801 # ac_fn_cxx_try_cpp LINENO
1802 # ------------------------
1803 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_cxx_try_cpp ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 if { { ac_try="$ac_cpp conftest.$ac_ext"
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } >/dev/null && {
1823 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1824 test ! -s conftest.err
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836 } # ac_fn_cxx_try_cpp
1838 # ac_fn_cxx_try_link LINENO
1839 # -------------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_cxx_try_link ()
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext conftest$ac_exeext
1845 if { { ac_try="$ac_link"
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_cxx_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 $as_test_x conftest$ac_exeext
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1882 } # ac_fn_cxx_try_link
1884 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1885 # --------------------------------------------
1886 # Tries to find the compile-time value of EXPR in a program that includes
1887 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1889 ac_fn_c_compute_int ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 if test "$cross_compiling" = yes; then
1893 # Depending upon the size, compute the lo and hi bounds.
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1900 static int test_array [1 - 2 * !(($2) >= 0)];
1907 if ac_fn_c_try_compile "$LINENO"; then :
1910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1916 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1923 if ac_fn_c_try_compile "$LINENO"; then :
1924 ac_hi=$ac_mid; break
1926 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1927 if test $ac_lo -le $ac_mid; then
1931 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1942 static int test_array [1 - 2 * !(($2) < 0)];
1949 if ac_fn_c_try_compile "$LINENO"; then :
1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953 /* end confdefs.h. */
1958 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1965 if ac_fn_c_try_compile "$LINENO"; then :
1966 ac_lo=$ac_mid; break
1968 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1969 if test $ac_mid -le $ac_hi; then
1973 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1983 # Binary search between lo and hi bounds.
1984 while test "x$ac_lo" != "x$ac_hi"; do
1985 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1992 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1999 if ac_fn_c_try_compile "$LINENO"; then :
2002 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2014 static long int longval () { return $2; }
2015 static unsigned long int ulongval () { return $2; }
2022 FILE *f = fopen ("conftest.val", "w");
2027 long int i = longval ();
2030 fprintf (f, "%ld", i);
2034 unsigned long int i = ulongval ();
2037 fprintf (f, "%lu", i);
2039 /* Do not output a trailing newline, as this causes \r\n confusion
2040 on some platforms. */
2041 return ferror (f) || fclose (f) != 0;
2047 if ac_fn_c_try_run "$LINENO"; then :
2048 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2052 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2053 conftest.$ac_objext conftest.beam conftest.$ac_ext
2057 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060 } # ac_fn_c_compute_int
2061 cat >config.log <<_ACEOF
2062 This file contains any messages produced by compilers while
2063 running configure, to aid debugging if configure makes a mistake.
2065 It was created by package-unused $as_me version-unused, which was
2066 generated by GNU Autoconf 2.64. Invocation command line was
2078 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2079 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2080 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2081 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2082 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2084 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2085 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2087 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2088 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2089 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2090 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2091 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2092 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2093 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 test -z "$as_dir" && as_dir=.
2102 $as_echo "PATH: $as_dir"
2118 # Keep a trace of the command line.
2119 # Strip out --no-create and --no-recursion so they do not pile up.
2120 # Strip out --silent because we don't want to record it for future runs.
2121 # Also quote any args containing shell meta-characters.
2122 # Make two passes to allow for proper duplicate-argument suppression.
2126 ac_must_keep_next=false
2132 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2133 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2134 | -silent | --silent | --silen | --sile | --sil)
2137 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2140 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2142 as_fn_append ac_configure_args1 " '$ac_arg'"
2143 if test $ac_must_keep_next = true; then
2144 ac_must_keep_next=false # Got value, back to normal.
2147 *=* | --config-cache | -C | -disable-* | --disable-* \
2148 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2149 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2150 | -with-* | --with-* | -without-* | --without-* | --x)
2151 case "$ac_configure_args0 " in
2152 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2155 -* ) ac_must_keep_next=true ;;
2158 as_fn_append ac_configure_args " '$ac_arg'"
2163 { ac_configure_args0=; unset ac_configure_args0;}
2164 { ac_configure_args1=; unset ac_configure_args1;}
2166 # When interrupted or exit'd, cleanup temporary files, and complete
2167 # config.log. We remove comments because anyway the quotes in there
2168 # would cause problems or look ugly.
2169 # WARNING: Use '\'' to represent an apostrophe within the trap.
2170 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2171 trap 'exit_status=$?
2172 # Save into config.log some information that might help in debugging.
2177 ## ---------------- ##
2178 ## Cache variables. ##
2179 ## ---------------- ##
2182 # The following way of writing the cache mishandles newlines in values,
2184 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2185 eval ac_val=\$$ac_var
2189 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2190 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2193 _ | IFS | as_nl) ;; #(
2194 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2195 *) { eval $ac_var=; unset $ac_var;} ;;
2200 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2201 *${as_nl}ac_space=\ *)
2203 "s/'\''/'\''\\\\'\'''\''/g;
2204 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2215 ## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##
2220 for ac_var in $ac_subst_vars
2222 eval ac_val=\$$ac_var
2224 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 $as_echo "$ac_var='\''$ac_val'\''"
2230 if test -n "$ac_subst_files"; then
2232 ## ------------------- ##
2233 ## File substitutions. ##
2234 ## ------------------- ##
2237 for ac_var in $ac_subst_files
2239 eval ac_val=\$$ac_var
2241 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2243 $as_echo "$ac_var='\''$ac_val'\''"
2248 if test -s confdefs.h; then
2258 test "$ac_signal" != 0 &&
2259 $as_echo "$as_me: caught signal $ac_signal"
2260 $as_echo "$as_me: exit $exit_status"
2262 rm -f core *.core core.conftest.* &&
2263 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2266 for ac_signal in 1 2 13 15; do
2267 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2271 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2272 rm -f -r conftest* confdefs.h
2274 $as_echo "/* confdefs.h */" > confdefs.h
2276 # Predefined preprocessor variables.
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_NAME "$PACKAGE_NAME"
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_STRING "$PACKAGE_STRING"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_URL "$PACKAGE_URL"
2303 # Let the site file select an alternate cache file if it wants to.
2304 # Prefer an explicitly selected file to automatically selected ones.
2307 if test -n "$CONFIG_SITE"; then
2308 ac_site_file1=$CONFIG_SITE
2309 elif test "x$prefix" != xNONE; then
2310 ac_site_file1=$prefix/share/config.site
2311 ac_site_file2=$prefix/etc/config.site
2313 ac_site_file1=$ac_default_prefix/share/config.site
2314 ac_site_file2=$ac_default_prefix/etc/config.site
2316 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2318 test "x$ac_site_file" = xNONE && continue
2319 if test -r "$ac_site_file"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2321 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2322 sed 's/^/| /' "$ac_site_file" >&5
2327 if test -r "$cache_file"; then
2328 # Some versions of bash will fail to source /dev/null (special
2329 # files actually), so we avoid doing that.
2330 if test -f "$cache_file"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2332 $as_echo "$as_me: loading cache $cache_file" >&6;}
2334 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2335 *) . "./$cache_file";;
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2340 $as_echo "$as_me: creating cache $cache_file" >&6;}
2344 # Check that the precious variables saved in the cache have kept the same
2346 ac_cache_corrupted=false
2347 for ac_var in $ac_precious_vars; do
2348 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2349 eval ac_new_set=\$ac_env_${ac_var}_set
2350 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2351 eval ac_new_val=\$ac_env_${ac_var}_value
2352 case $ac_old_set,$ac_new_set in
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2355 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2359 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2360 ac_cache_corrupted=: ;;
2363 if test "x$ac_old_val" != "x$ac_new_val"; then
2364 # differences in whitespace do not lead to failure.
2365 ac_old_val_w=`echo x $ac_old_val`
2366 ac_new_val_w=`echo x $ac_new_val`
2367 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2369 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2370 ac_cache_corrupted=:
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2373 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2374 eval $ac_var=\$ac_old_val
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2377 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2379 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2382 # Pass precious variables to config.status.
2383 if test "$ac_new_set" = set; then
2385 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2386 *) ac_arg=$ac_var=$ac_new_val ;;
2388 case " $ac_configure_args " in
2389 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2390 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2394 if $ac_cache_corrupted; then
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2398 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2399 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2401 ## -------------------- ##
2402 ## Main body of script. ##
2403 ## -------------------- ##
2406 ac_cpp='$CPP $CPPFLAGS'
2407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2418 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2419 # Check whether --enable-version-specific-runtime-libs was given.
2420 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2421 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2422 yes) version_specific_libs=yes ;;
2423 no) version_specific_libs=no ;;
2424 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2427 version_specific_libs=no
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2431 $as_echo "$version_specific_libs" >&6; }
2433 # Do not delete or change the following two lines. For why, see
2434 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2436 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2437 for ac_t in install-sh install.sh shtool; do
2438 if test -f "$ac_dir/$ac_t"; then
2440 ac_install_sh="$ac_aux_dir/$ac_t -c"
2445 if test -z "$ac_aux_dir"; then
2446 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2449 # These three variables are undocumented and unsupported,
2450 # and are intended to be withdrawn in a future Autoconf release.
2451 # They can cause serious problems if a builder's source tree is in a directory
2452 # whose full name contains unusual characters.
2453 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2454 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2455 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2458 # Make sure we can run config.sub.
2459 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2460 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2463 $as_echo_n "checking build system type... " >&6; }
2464 if test "${ac_cv_build+set}" = set; then :
2465 $as_echo_n "(cached) " >&6
2467 ac_build_alias=$build_alias
2468 test "x$ac_build_alias" = x &&
2469 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2470 test "x$ac_build_alias" = x &&
2471 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2472 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2473 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2477 $as_echo "$ac_cv_build" >&6; }
2478 case $ac_cv_build in
2480 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2483 ac_save_IFS=$IFS; IFS='-'
2489 # Remember, the first character of IFS is used to create $*,
2490 # except with old shells:
2493 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2497 $as_echo_n "checking host system type... " >&6; }
2498 if test "${ac_cv_host+set}" = set; then :
2499 $as_echo_n "(cached) " >&6
2501 if test "x$host_alias" = x; then
2502 ac_cv_host=$ac_cv_build
2504 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2505 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2510 $as_echo "$ac_cv_host" >&6; }
2513 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2516 ac_save_IFS=$IFS; IFS='-'
2522 # Remember, the first character of IFS is used to create $*,
2523 # except with old shells:
2526 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2530 $as_echo_n "checking target system type... " >&6; }
2531 if test "${ac_cv_target+set}" = set; then :
2532 $as_echo_n "(cached) " >&6
2534 if test "x$target_alias" = x; then
2535 ac_cv_target=$ac_cv_host
2537 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2538 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2543 $as_echo "$ac_cv_target" >&6; }
2544 case $ac_cv_target in
2546 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2548 target=$ac_cv_target
2549 ac_save_IFS=$IFS; IFS='-'
2555 # Remember, the first character of IFS is used to create $*,
2556 # except with old shells:
2559 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2562 # The aliases save the names the user supplied, while $host etc.
2563 # will get canonicalized.
2564 test -n "$target_alias" &&
2565 test "$program_prefix$program_suffix$program_transform_name" = \
2567 program_prefix=${target_alias}-
2569 target_alias=${target_alias-$host_alias}
2572 am__api_version='1.11'
2574 # Find a good install program. We prefer a C program (faster),
2575 # so one script is as good as another. But avoid the broken or
2576 # incompatible versions:
2577 # SysV /etc/install, /usr/sbin/install
2578 # SunOS /usr/etc/install
2579 # IRIX /sbin/install
2581 # AmigaOS /C/install, which installs bootblocks on floppy discs
2582 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2583 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2584 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2585 # OS/2's system install, which has a completely different semantic
2586 # ./install, which can be erroneously created by make from ./install.sh.
2587 # Reject install programs that cannot install multiple files.
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2589 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2590 if test -z "$INSTALL"; then
2591 if test "${ac_cv_path_install+set}" = set; then :
2592 $as_echo_n "(cached) " >&6
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir=.
2599 # Account for people who put trailing slashes in PATH elements.
2600 case $as_dir/ in #((
2601 ./ | .// | /[cC]/* | \
2602 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2603 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2606 # OSF1 and SCO ODT 3.0 have their own names for install.
2607 # Don't use installbsd from OSF since it installs stuff as root
2609 for ac_prog in ginstall scoinst install; do
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2612 if test $ac_prog = install &&
2613 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2614 # AIX install. It has an incompatible calling convention.
2616 elif test $ac_prog = install &&
2617 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2618 # program-specific install script used by HP pwplus--don't use.
2621 rm -rf conftest.one conftest.two conftest.dir
2622 echo one > conftest.one
2623 echo two > conftest.two
2625 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2626 test -s conftest.one && test -s conftest.two &&
2627 test -s conftest.dir/conftest.one &&
2628 test -s conftest.dir/conftest.two
2630 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2643 rm -rf conftest.one conftest.two conftest.dir
2646 if test "${ac_cv_path_install+set}" = set; then
2647 INSTALL=$ac_cv_path_install
2649 # As a last resort, use the slow shell script. Don't cache a
2650 # value for INSTALL within a source directory, because that will
2651 # break other packages using the cache if that directory is
2652 # removed, or if the value is a relative name.
2653 INSTALL=$ac_install_sh
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2657 $as_echo "$INSTALL" >&6; }
2659 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2660 # It thinks the first close brace ends the variable substitution.
2661 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2663 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2665 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2668 $as_echo_n "checking whether build environment is sane... " >&6; }
2671 echo timestamp > conftest.file
2672 # Reject unsafe characters in $srcdir or the absolute working directory
2673 # name. Accept space and tab only in the latter.
2677 *[\\\"\#\$\&\'\`$am_lf]*)
2678 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2681 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2682 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2685 # Do `set' in a subshell so we don't clobber the current shell's
2686 # arguments. Must try -L first in case configure is actually a
2687 # symlink; some systems play weird games with the mod time of symlinks
2688 # (eg FreeBSD returns the mod time of the symlink's containing
2691 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2692 if test "$*" = "X"; then
2694 set X `ls -t "$srcdir/configure" conftest.file`
2697 if test "$*" != "X $srcdir/configure conftest.file" \
2698 && test "$*" != "X conftest.file $srcdir/configure"; then
2700 # If neither matched, then we have a broken ls. This can happen
2701 # if, for instance, CONFIG_SHELL is bash and it inherits a
2702 # broken ls alias from the environment. This has actually
2703 # happened. Such a system could not be considered "sane".
2704 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2705 alias in your environment" "$LINENO" 5
2708 test "$2" = conftest.file
2714 as_fn_error "newly created file is older than distributed files!
2715 Check your system clock" "$LINENO" 5
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2718 $as_echo "yes" >&6; }
2719 test "$program_prefix" != NONE &&
2720 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2721 # Use a double $ so make ignores it.
2722 test "$program_suffix" != NONE &&
2723 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2724 # Double any \ or $.
2725 # By default was `s,x,x', remove it if useless.
2726 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2727 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2729 # expand $ac_aux_dir to an absolute path
2730 am_aux_dir=`cd $ac_aux_dir && pwd`
2732 if test x"${MISSING+set}" != xset; then
2735 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2737 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2740 # Use eval to expand $SHELL
2741 if eval "$MISSING --run true"; then
2742 am_missing_run="$MISSING --run "
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2746 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2749 if test x"${install_sh}" != xset; then
2752 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2754 install_sh="\${SHELL} $am_aux_dir/install-sh"
2758 # Installed binaries are usually stripped using `strip' when the user
2759 # run `make install-strip'. However `strip' might not be the right
2760 # tool to use in cross-compilation environments, therefore Automake
2761 # will honor the `STRIP' environment variable to overrule this program.
2762 if test "$cross_compiling" != no; then
2763 if test -n "$ac_tool_prefix"; then
2764 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2765 set dummy ${ac_tool_prefix}strip; ac_word=$2
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if test "${ac_cv_prog_STRIP+set}" = set; then :
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$STRIP"; then
2772 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir=.
2779 for ac_exec_ext in '' $ac_executable_extensions; do
2780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2781 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 STRIP=$ac_cv_prog_STRIP
2792 if test -n "$STRIP"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2794 $as_echo "$STRIP" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2802 if test -z "$ac_cv_prog_STRIP"; then
2804 # Extract the first word of "strip", so it can be a program name with args.
2805 set dummy strip; ac_word=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2809 $as_echo_n "(cached) " >&6
2811 if test -n "$ac_ct_STRIP"; then
2812 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2821 ac_cv_prog_ac_ct_STRIP="strip"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2832 if test -n "$ac_ct_STRIP"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2834 $as_echo "$ac_ct_STRIP" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2840 if test "x$ac_ct_STRIP" = x; then
2843 case $cross_compiling:$ac_tool_warned in
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2847 ac_tool_warned=yes ;;
2852 STRIP="$ac_cv_prog_STRIP"
2856 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2859 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2860 if test -z "$MKDIR_P"; then
2861 if test "${ac_cv_path_mkdir+set}" = set; then :
2862 $as_echo_n "(cached) " >&6
2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2868 test -z "$as_dir" && as_dir=.
2869 for ac_prog in mkdir gmkdir; do
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2872 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2873 'mkdir (GNU coreutils) '* | \
2874 'mkdir (coreutils) '* | \
2875 'mkdir (fileutils) '4.1*)
2876 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2886 if test "${ac_cv_path_mkdir+set}" = set; then
2887 MKDIR_P="$ac_cv_path_mkdir -p"
2889 # As a last resort, use the slow shell script. Don't cache a
2890 # value for MKDIR_P within a source directory, because that will
2891 # break other packages using the cache if that directory is
2892 # removed, or if the value is a relative name.
2893 test -d ./--version && rmdir ./--version
2894 MKDIR_P="$ac_install_sh -d"
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2898 $as_echo "$MKDIR_P" >&6; }
2902 [\\/$]* | ?:[\\/]*) ;;
2903 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2906 for ac_prog in gawk mawk nawk awk
2908 # Extract the first word of "$ac_prog", so it can be a program name with args.
2909 set dummy $ac_prog; ac_word=$2
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911 $as_echo_n "checking for $ac_word... " >&6; }
2912 if test "${ac_cv_prog_AWK+set}" = set; then :
2913 $as_echo_n "(cached) " >&6
2915 if test -n "$AWK"; then
2916 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir=.
2923 for ac_exec_ext in '' $ac_executable_extensions; do
2924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2925 ac_cv_prog_AWK="$ac_prog"
2926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 if test -n "$AWK"; then
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2938 $as_echo "$AWK" >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2945 test -n "$AWK" && break
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2949 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2951 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2952 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2953 $as_echo_n "(cached) " >&6
2955 cat >conftest.make <<\_ACEOF
2958 @echo '@@@%%%=$(MAKE)=@@@%%%'
2960 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2961 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2963 eval ac_cv_prog_make_${ac_make}_set=yes;;
2965 eval ac_cv_prog_make_${ac_make}_set=no;;
2969 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2971 $as_echo "yes" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2976 SET_MAKE="MAKE=${MAKE-make}"
2979 rm -rf .tst 2>/dev/null
2980 mkdir .tst 2>/dev/null
2981 if test -d .tst; then
2986 rmdir .tst 2>/dev/null
2988 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2989 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2990 # is not polluted with repeated "-I."
2991 am__isrc=' -I$(srcdir)'
2992 # test to see if srcdir already configured
2993 if test -f $srcdir/config.status; then
2994 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2998 # test whether we have cygpath
2999 if test -z "$CYGPATH_W"; then
3000 if (cygpath --version) >/dev/null 2>/dev/null; then
3001 CYGPATH_W='cygpath -w'
3008 # Define the identity of the package.
3009 PACKAGE='package-unused'
3010 VERSION='version-unused'
3013 cat >>confdefs.h <<_ACEOF
3014 #define PACKAGE "$PACKAGE"
3018 cat >>confdefs.h <<_ACEOF
3019 #define VERSION "$VERSION"
3022 # Some tools Automake needs.
3024 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3027 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3030 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3033 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3036 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3038 # We need awk for the "check" target. The system "awk" is bad on
3040 # Always define AMTAR for backward compatibility.
3042 AMTAR=${AMTAR-"${am_missing_run}tar"}
3044 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3050 # Default to --enable-multilib
3051 # Check whether --enable-multilib was given.
3052 if test "${enable_multilib+set}" = set; then :
3053 enableval=$enable_multilib; case "$enableval" in
3054 yes) multilib=yes ;;
3056 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3063 # We may get other options which we leave undocumented:
3064 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3065 # See config-ml.in if you want the gory details.
3067 if test "$srcdir" = "."; then
3068 if test "$with_target_subdir" != "."; then
3069 multi_basedir="$srcdir/$with_multisrctop../.."
3071 multi_basedir="$srcdir/$with_multisrctop.."
3074 multi_basedir="$srcdir/.."
3078 # Even if the default multilib is not a cross compilation,
3079 # it may be that some of the other multilibs are.
3080 if test $cross_compiling = no && test $multilib = yes \
3081 && test "x${with_multisubdir}" != x ; then
3082 cross_compiling=maybe
3085 ac_config_commands="$ac_config_commands default-1"
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3089 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3090 # Check whether --enable-maintainer-mode was given.
3091 if test "${enable_maintainer_mode+set}" = set; then :
3092 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3094 USE_MAINTAINER_MODE=no
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3098 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3099 if test $USE_MAINTAINER_MODE = yes; then
3100 MAINTAINER_MODE_TRUE=
3101 MAINTAINER_MODE_FALSE='#'
3103 MAINTAINER_MODE_TRUE='#'
3104 MAINTAINER_MODE_FALSE=
3107 MAINT=$MAINTAINER_MODE_TRUE
3111 # Calculate toolexeclibdir
3112 # Also toolexecdir, though it's only used in toolexeclibdir
3113 case ${version_specific_libs} in
3115 # Need the gcc compiler version to know where to install libraries
3116 # and header files if --enable-version-specific-runtime-libs option
3118 toolexecdir='$(libdir)/gcc/$(target_alias)'
3119 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3122 if test -n "$with_cross_host" &&
3123 test x"$with_cross_host" != x"no"; then
3124 # Install a library built with a cross compiler in tooldir, not libdir.
3125 toolexecdir='$(exec_prefix)/$(target_alias)'
3126 toolexeclibdir='$(toolexecdir)/lib'
3128 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3129 toolexeclibdir='$(libdir)'
3131 multi_os_directory=`$CC -print-multi-os-directory`
3132 case $multi_os_directory in
3133 .) ;; # Avoid trailing /.
3134 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3141 # Checks for programs.
3143 ac_cpp='$CPP $CPPFLAGS'
3144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3147 if test -n "$ac_tool_prefix"; then
3148 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3149 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151 $as_echo_n "checking for $ac_word... " >&6; }
3152 if test "${ac_cv_prog_CC+set}" = set; then :
3153 $as_echo_n "(cached) " >&6
3155 if test -n "$CC"; then
3156 ac_cv_prog_CC="$CC" # Let the user override the test.
3158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162 test -z "$as_dir" && as_dir=.
3163 for ac_exec_ext in '' $ac_executable_extensions; do
3164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3165 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176 if test -n "$CC"; then
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3178 $as_echo "$CC" >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181 $as_echo "no" >&6; }
3186 if test -z "$ac_cv_prog_CC"; then
3188 # Extract the first word of "gcc", so it can be a program name with args.
3189 set dummy gcc; ac_word=$2
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3193 $as_echo_n "(cached) " >&6
3195 if test -n "$ac_ct_CC"; then
3196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202 test -z "$as_dir" && as_dir=.
3203 for ac_exec_ext in '' $ac_executable_extensions; do
3204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3205 ac_cv_prog_ac_ct_CC="gcc"
3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3216 if test -n "$ac_ct_CC"; then
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3218 $as_echo "$ac_ct_CC" >&6; }
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3224 if test "x$ac_ct_CC" = x; then
3227 case $cross_compiling:$ac_tool_warned in
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3231 ac_tool_warned=yes ;;
3239 if test -z "$CC"; then
3240 if test -n "$ac_tool_prefix"; then
3241 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3242 set dummy ${ac_tool_prefix}cc; ac_word=$2
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3244 $as_echo_n "checking for $ac_word... " >&6; }
3245 if test "${ac_cv_prog_CC+set}" = set; then :
3246 $as_echo_n "(cached) " >&6
3248 if test -n "$CC"; then
3249 ac_cv_prog_CC="$CC" # Let the user override the test.
3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3255 test -z "$as_dir" && as_dir=.
3256 for ac_exec_ext in '' $ac_executable_extensions; do
3257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3258 ac_cv_prog_CC="${ac_tool_prefix}cc"
3259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269 if test -n "$CC"; then
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3271 $as_echo "$CC" >&6; }
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3274 $as_echo "no" >&6; }
3280 if test -z "$CC"; then
3281 # Extract the first word of "cc", so it can be a program name with args.
3282 set dummy cc; ac_word=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if test "${ac_cv_prog_CC+set}" = set; then :
3286 $as_echo_n "(cached) " >&6
3288 if test -n "$CC"; then
3289 ac_cv_prog_CC="$CC" # Let the user override the test.
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 test -z "$as_dir" && as_dir=.
3297 for ac_exec_ext in '' $ac_executable_extensions; do
3298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3299 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3300 ac_prog_rejected=yes
3304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311 if test $ac_prog_rejected = yes; then
3312 # We found a bogon in the path, so make sure we never use it.
3313 set dummy $ac_cv_prog_CC
3315 if test $# != 0; then
3316 # We chose a different compiler from the bogus one.
3317 # However, it has the same basename, so the bogon will be chosen
3318 # first if we set CC to just the basename; use the full file name.
3320 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3326 if test -n "$CC"; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3328 $as_echo "$CC" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3336 if test -z "$CC"; then
3337 if test -n "$ac_tool_prefix"; then
3338 for ac_prog in cl.exe
3340 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3341 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343 $as_echo_n "checking for $ac_word... " >&6; }
3344 if test "${ac_cv_prog_CC+set}" = set; then :
3345 $as_echo_n "(cached) " >&6
3347 if test -n "$CC"; then
3348 ac_cv_prog_CC="$CC" # Let the user override the test.
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 test -z "$as_dir" && as_dir=.
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3357 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 if test -n "$CC"; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3370 $as_echo "$CC" >&6; }
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373 $as_echo "no" >&6; }
3377 test -n "$CC" && break
3380 if test -z "$CC"; then
3382 for ac_prog in cl.exe
3384 # Extract the first word of "$ac_prog", so it can be a program name with args.
3385 set dummy $ac_prog; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3389 $as_echo_n "(cached) " >&6
3391 if test -n "$ac_ct_CC"; then
3392 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_CC="$ac_prog"
3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3412 if test -n "$ac_ct_CC"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3414 $as_echo "$ac_ct_CC" >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3421 test -n "$ac_ct_CC" && break
3424 if test "x$ac_ct_CC" = x; then
3427 case $cross_compiling:$ac_tool_warned in
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3431 ac_tool_warned=yes ;;
3440 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3442 as_fn_error "no acceptable C compiler found in \$PATH
3443 See \`config.log' for more details." "$LINENO" 5; }
3445 # Provide some information about the compiler.
3446 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3449 for ac_option in --version -v -V -qversion; do
3450 { { ac_try="$ac_compiler $ac_option >&5"
3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453 *) ac_try_echo=$ac_try;;
3455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3456 $as_echo "$ac_try_echo"; } >&5
3457 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3459 if test -s conftest.err; then
3461 ... rest of stderr output deleted ...
3462 10q' conftest.err >conftest.er1
3463 cat conftest.er1 >&5
3464 rm -f conftest.er1 conftest.err
3466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3467 test $ac_status = 0; }
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3481 ac_clean_files_save=$ac_clean_files
3482 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3483 # Try to create an executable without -o first, disregard a.out.
3484 # It will help us diagnose broken compilers, and finding out an intuition
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3487 $as_echo_n "checking for C compiler default output file name... " >&6; }
3488 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3490 # The possible output files:
3491 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3494 for ac_file in $ac_files
3497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3498 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3503 if { { ac_try="$ac_link_default"
3505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506 *) ac_try_echo=$ac_try;;
3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3509 $as_echo "$ac_try_echo"; } >&5
3510 (eval "$ac_link_default") 2>&5
3512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3513 test $ac_status = 0; }; then :
3514 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3515 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3516 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3517 # so that the user can short-circuit this test for compilers unknown to
3519 for ac_file in $ac_files ''
3521 test -f "$ac_file" || continue
3523 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3526 # We found the default executable, but exeext='' is most
3530 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3532 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3534 # We set ac_cv_exeext here because the later test for it is not
3535 # safe: cross compilers may not add the suffix if given an `-o'
3536 # argument, so we may need to know it at that point already.
3537 # Even if this section looks crufty: it has the advantage of
3544 test "$ac_cv_exeext" = no && ac_cv_exeext=
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3550 $as_echo "$ac_file" >&6; }
3551 if test -z "$ac_file"; then :
3552 $as_echo "$as_me: failed program was:" >&5
3553 sed 's/^/| /' conftest.$ac_ext >&5
3555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3557 { as_fn_set_status 77
3558 as_fn_error "C compiler cannot create executables
3559 See \`config.log' for more details." "$LINENO" 5; }; }
3561 ac_exeext=$ac_cv_exeext
3563 # Check that the compiler produces executables we can run. If not, either
3564 # the compiler is broken, or we cross compile.
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3566 $as_echo_n "checking whether the C compiler works... " >&6; }
3567 # If not cross compiling, check that we can run a simple program.
3568 if test "$cross_compiling" != yes; then
3569 if { ac_try='./$ac_file'
3570 { { case "(($ac_try" in
3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572 *) ac_try_echo=$ac_try;;
3574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3575 $as_echo "$ac_try_echo"; } >&5
3576 (eval "$ac_try") 2>&5
3578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3579 test $ac_status = 0; }; }; then
3582 if test "$cross_compiling" = maybe; then
3585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 as_fn_error "cannot run C compiled programs.
3588 If you meant to cross compile, use \`--host'.
3589 See \`config.log' for more details." "$LINENO" 5; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3594 $as_echo "yes" >&6; }
3596 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3597 ac_clean_files=$ac_clean_files_save
3598 # Check that the compiler produces executables we can run. If not, either
3599 # the compiler is broken, or we cross compile.
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3601 $as_echo_n "checking whether we are cross compiling... " >&6; }
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3603 $as_echo "$cross_compiling" >&6; }
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3606 $as_echo_n "checking for suffix of executables... " >&6; }
3607 if { { ac_try="$ac_link"
3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3613 $as_echo "$ac_try_echo"; } >&5
3614 (eval "$ac_link") 2>&5
3616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 test $ac_status = 0; }; then :
3618 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3619 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3620 # work properly (i.e., refer to `conftest.exe'), while it won't with
3622 for ac_file in conftest.exe conftest conftest.*; do
3623 test -f "$ac_file" || continue
3625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3626 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3634 as_fn_error "cannot compute suffix of executables: cannot compile and link
3635 See \`config.log' for more details." "$LINENO" 5; }
3637 rm -f conftest$ac_cv_exeext
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3639 $as_echo "$ac_cv_exeext" >&6; }
3641 rm -f conftest.$ac_ext
3642 EXEEXT=$ac_cv_exeext
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3645 $as_echo_n "checking for suffix of object files... " >&6; }
3646 if test "${ac_cv_objext+set}" = set; then :
3647 $as_echo_n "(cached) " >&6
3649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3650 /* end confdefs.h. */
3660 rm -f conftest.o conftest.obj
3661 if { { ac_try="$ac_compile"
3663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3664 *) ac_try_echo=$ac_try;;
3666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3667 $as_echo "$ac_try_echo"; } >&5
3668 (eval "$ac_compile") 2>&5
3670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3671 test $ac_status = 0; }; then :
3672 for ac_file in conftest.o conftest.obj conftest.*; do
3673 test -f "$ac_file" || continue;
3675 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3676 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3681 $as_echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.$ac_ext >&5
3684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3686 as_fn_error "cannot compute suffix of object files: cannot compile
3687 See \`config.log' for more details." "$LINENO" 5; }
3689 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3692 $as_echo "$ac_cv_objext" >&6; }
3693 OBJEXT=$ac_cv_objext
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3696 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3697 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3698 $as_echo_n "(cached) " >&6
3700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3714 if ac_fn_c_try_compile "$LINENO"; then :
3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3720 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3724 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3725 if test $ac_compiler_gnu = yes; then
3730 ac_test_CFLAGS=${CFLAGS+set}
3731 ac_save_CFLAGS=$CFLAGS
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3733 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3734 if test "${ac_cv_prog_cc_g+set}" = set; then :
3735 $as_echo_n "(cached) " >&6
3737 ac_save_c_werror_flag=$ac_c_werror_flag
3738 ac_c_werror_flag=yes
3741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3742 /* end confdefs.h. */
3752 if ac_fn_c_try_compile "$LINENO"; then :
3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3767 if ac_fn_c_try_compile "$LINENO"; then :
3770 ac_c_werror_flag=$ac_save_c_werror_flag
3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3773 /* end confdefs.h. */
3783 if ac_fn_c_try_compile "$LINENO"; then :
3786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3791 ac_c_werror_flag=$ac_save_c_werror_flag
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3794 $as_echo "$ac_cv_prog_cc_g" >&6; }
3795 if test "$ac_test_CFLAGS" = set; then
3796 CFLAGS=$ac_save_CFLAGS
3797 elif test $ac_cv_prog_cc_g = yes; then
3798 if test "$GCC" = yes; then
3804 if test "$GCC" = yes; then
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3811 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3812 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3813 $as_echo_n "(cached) " >&6
3815 ac_cv_prog_cc_c89=no
3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3821 #include <sys/types.h>
3822 #include <sys/stat.h>
3823 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3824 struct buf { int x; };
3825 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3826 static char *e (p, i)
3832 static char *f (char * (*g) (char **, int), char **p, ...)
3837 s = g (p, va_arg (v,int));
3842 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3843 function prototypes and stuff, but not '\xHH' hex character constants.
3844 These don't provoke an error unfortunately, instead are silently treated
3845 as 'x'. The following induces an error, until -std is added to get
3846 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3847 array size at least. It's necessary to write '\x00'==0 to get something
3848 that's true only with -std. */
3849 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3851 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3852 inside strings and character constants. */
3854 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3856 int test (int i, double x);
3857 struct s1 {int (*f) (int a);};
3858 struct s2 {int (*f) (double a);};
3859 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3865 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3870 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3871 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3873 CC="$ac_save_CC $ac_arg"
3874 if ac_fn_c_try_compile "$LINENO"; then :
3875 ac_cv_prog_cc_c89=$ac_arg
3877 rm -f core conftest.err conftest.$ac_objext
3878 test "x$ac_cv_prog_cc_c89" != "xno" && break
3880 rm -f conftest.$ac_ext
3885 case "x$ac_cv_prog_cc_c89" in
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3888 $as_echo "none needed" >&6; } ;;
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3891 $as_echo "unsupported" >&6; } ;;
3893 CC="$CC $ac_cv_prog_cc_c89"
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3895 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3897 if test "x$ac_cv_prog_cc_c89" != xno; then :
3902 ac_cpp='$CPP $CPPFLAGS'
3903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3906 DEPDIR="${am__leading_dot}deps"
3908 ac_config_commands="$ac_config_commands depfiles"
3911 am_make=${MAKE-make}
3912 cat > confinc << 'END'
3914 @echo this is the am__doit target
3917 # If we don't find an include directive, just comment out the code.
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3919 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3923 # First try GNU make style include.
3924 echo "include confinc" > confmf
3925 # Ignore all kinds of additional output from `make'.
3926 case `$am_make -s -f confmf 2> /dev/null` in #(
3927 *the\ am__doit\ target*)
3933 # Now try BSD make style include.
3934 if test "$am__include" = "#"; then
3935 echo '.include "confinc"' > confmf
3936 case `$am_make -s -f confmf 2> /dev/null` in #(
3937 *the\ am__doit\ target*)
3938 am__include=.include
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3947 $as_echo "$_am_result" >&6; }
3948 rm -f confinc confmf
3950 # Check whether --enable-dependency-tracking was given.
3951 if test "${enable_dependency_tracking+set}" = set; then :
3952 enableval=$enable_dependency_tracking;
3955 if test "x$enable_dependency_tracking" != xno; then
3956 am_depcomp="$ac_aux_dir/depcomp"
3959 if test "x$enable_dependency_tracking" != xno; then
3969 depcc="$CC" am_compiler_list=
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3972 $as_echo_n "checking dependency style of $depcc... " >&6; }
3973 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3974 $as_echo_n "(cached) " >&6
3976 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3977 # We make a subdir and do the tests there. Otherwise we can end up
3978 # making bogus files that we don't know about and never remove. For
3979 # instance it was reported that on HP-UX the gcc test will end up
3980 # making a dummy file named `D' -- because `-MD' means `put the output
3983 # Copy depcomp to subdir because otherwise we won't find it if we're
3984 # using a relative directory.
3985 cp "$am_depcomp" conftest.dir
3987 # We will build objects and dependencies in a subdirectory because
3988 # it helps to detect inapplicable dependency modes. For instance
3989 # both Tru64's cc and ICC support -MD to output dependencies as a
3990 # side effect of compilation, but ICC will put the dependencies in
3991 # the current directory while Tru64 will put them in the object
3995 am_cv_CC_dependencies_compiler_type=none
3996 if test "$am_compiler_list" = ""; then
3997 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4000 case " $depcc " in #(
4001 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4004 for depmode in $am_compiler_list; do
4005 # Setup a source with many dependencies, because some compilers
4006 # like to wrap large dependency lists on column 80 (with \), and
4007 # we should not choose a depcomp mode which is confused by this.
4009 # We need to recreate these files for each test, as the compiler may
4010 # overwrite some of them when testing with obscure command lines.
4011 # This happens at least with the AIX C compiler.
4013 for i in 1 2 3 4 5 6; do
4014 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4015 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4016 # Solaris 8's {/usr,}/bin/sh.
4017 touch sub/conftst$i.h
4019 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4021 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4022 # mode. It turns out that the SunPro C++ compiler does not properly
4023 # handle `-M -o', and we need to detect this. Also, some Intel
4024 # versions had trouble with output in subdirs
4025 am__obj=sub/conftest.${OBJEXT-o}
4026 am__minus_obj="-o $am__obj"
4029 # This depmode causes a compiler race in universal mode.
4030 test "$am__universal" = false || continue
4033 # after this tag, mechanisms are not by side-effect, so they'll
4034 # only be used when explicitly requested
4035 if test "x$enable_dependency_tracking" = xyes; then
4041 msvisualcpp | msvcmsys)
4042 # This compiler won't grok `-c -o', but also, the minuso test has
4043 # not run yet. These depmodes are late enough in the game, and
4044 # so weak that their functioning should not be impacted.
4045 am__obj=conftest.${OBJEXT-o}
4050 if depmode=$depmode \
4051 source=sub/conftest.c object=$am__obj \
4052 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4053 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4054 >/dev/null 2>conftest.err &&
4055 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4056 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4057 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4058 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4059 # icc doesn't choke on unknown options, it will just issue warnings
4060 # or remarks (even with -Werror). So we grep stderr for any message
4061 # that says an option was ignored or not supported.
4062 # When given -MP, icc 7.0 and 7.1 complain thusly:
4063 # icc: Command line warning: ignoring option '-M'; no argument required
4064 # The diagnosis changed in icc 8.0:
4065 # icc: Command line remark: option '-MP' not supported
4066 if (grep 'ignoring option' conftest.err ||
4067 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4068 am_cv_CC_dependencies_compiler_type=$depmode
4077 am_cv_CC_dependencies_compiler_type=none
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4082 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4083 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4086 test "x$enable_dependency_tracking" != xno \
4087 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4089 am__fastdepCC_FALSE='#'
4091 am__fastdepCC_TRUE='#'
4092 am__fastdepCC_FALSE=
4097 ac_cpp='$CXXCPP $CPPFLAGS'
4098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4101 if test -z "$CXX"; then
4102 if test -n "$CCC"; then
4105 if test -n "$ac_tool_prefix"; then
4106 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4108 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4109 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4111 $as_echo_n "checking for $ac_word... " >&6; }
4112 if test "${ac_cv_prog_CXX+set}" = set; then :
4113 $as_echo_n "(cached) " >&6
4115 if test -n "$CXX"; then
4116 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 test -z "$as_dir" && as_dir=.
4123 for ac_exec_ext in '' $ac_executable_extensions; do
4124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4125 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 if test -n "$CXX"; then
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4138 $as_echo "$CXX" >&6; }
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4141 $as_echo "no" >&6; }
4145 test -n "$CXX" && break
4148 if test -z "$CXX"; then
4150 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4152 # Extract the first word of "$ac_prog", so it can be a program name with args.
4153 set dummy $ac_prog; ac_word=$2
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155 $as_echo_n "checking for $ac_word... " >&6; }
4156 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4157 $as_echo_n "(cached) " >&6
4159 if test -n "$ac_ct_CXX"; then
4160 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 test -z "$as_dir" && as_dir=.
4167 for ac_exec_ext in '' $ac_executable_extensions; do
4168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4169 ac_cv_prog_ac_ct_CXX="$ac_prog"
4170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4179 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4180 if test -n "$ac_ct_CXX"; then
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4182 $as_echo "$ac_ct_CXX" >&6; }
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4185 $as_echo "no" >&6; }
4189 test -n "$ac_ct_CXX" && break
4192 if test "x$ac_ct_CXX" = x; then
4195 case $cross_compiling:$ac_tool_warned in
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4199 ac_tool_warned=yes ;;
4207 # Provide some information about the compiler.
4208 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4211 for ac_option in --version -v -V -qversion; do
4212 { { ac_try="$ac_compiler $ac_option >&5"
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4218 $as_echo "$ac_try_echo"; } >&5
4219 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4221 if test -s conftest.err; then
4223 ... rest of stderr output deleted ...
4224 10q' conftest.err >conftest.er1
4225 cat conftest.er1 >&5
4226 rm -f conftest.er1 conftest.err
4228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4229 test $ac_status = 0; }
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4233 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4234 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4235 $as_echo_n "(cached) " >&6
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4251 if ac_fn_cxx_try_compile "$LINENO"; then :
4256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4257 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4261 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4262 if test $ac_compiler_gnu = yes; then
4267 ac_test_CXXFLAGS=${CXXFLAGS+set}
4268 ac_save_CXXFLAGS=$CXXFLAGS
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4270 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4271 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4274 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4275 ac_cxx_werror_flag=yes
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4289 if ac_fn_cxx_try_compile "$LINENO"; then :
4290 ac_cv_prog_cxx_g=yes
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4304 if ac_fn_cxx_try_compile "$LINENO"; then :
4307 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4320 if ac_fn_cxx_try_compile "$LINENO"; then :
4321 ac_cv_prog_cxx_g=yes
4323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4328 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4331 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4332 if test "$ac_test_CXXFLAGS" = set; then
4333 CXXFLAGS=$ac_save_CXXFLAGS
4334 elif test $ac_cv_prog_cxx_g = yes; then
4335 if test "$GXX" = yes; then
4341 if test "$GXX" = yes; then
4348 ac_cpp='$CPP $CPPFLAGS'
4349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4353 depcc="$CXX" am_compiler_list=
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4356 $as_echo_n "checking dependency style of $depcc... " >&6; }
4357 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4358 $as_echo_n "(cached) " >&6
4360 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4361 # We make a subdir and do the tests there. Otherwise we can end up
4362 # making bogus files that we don't know about and never remove. For
4363 # instance it was reported that on HP-UX the gcc test will end up
4364 # making a dummy file named `D' -- because `-MD' means `put the output
4367 # Copy depcomp to subdir because otherwise we won't find it if we're
4368 # using a relative directory.
4369 cp "$am_depcomp" conftest.dir
4371 # We will build objects and dependencies in a subdirectory because
4372 # it helps to detect inapplicable dependency modes. For instance
4373 # both Tru64's cc and ICC support -MD to output dependencies as a
4374 # side effect of compilation, but ICC will put the dependencies in
4375 # the current directory while Tru64 will put them in the object
4379 am_cv_CXX_dependencies_compiler_type=none
4380 if test "$am_compiler_list" = ""; then
4381 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4384 case " $depcc " in #(
4385 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4388 for depmode in $am_compiler_list; do
4389 # Setup a source with many dependencies, because some compilers
4390 # like to wrap large dependency lists on column 80 (with \), and
4391 # we should not choose a depcomp mode which is confused by this.
4393 # We need to recreate these files for each test, as the compiler may
4394 # overwrite some of them when testing with obscure command lines.
4395 # This happens at least with the AIX C compiler.
4397 for i in 1 2 3 4 5 6; do
4398 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4399 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4400 # Solaris 8's {/usr,}/bin/sh.
4401 touch sub/conftst$i.h
4403 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4405 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4406 # mode. It turns out that the SunPro C++ compiler does not properly
4407 # handle `-M -o', and we need to detect this. Also, some Intel
4408 # versions had trouble with output in subdirs
4409 am__obj=sub/conftest.${OBJEXT-o}
4410 am__minus_obj="-o $am__obj"
4413 # This depmode causes a compiler race in universal mode.
4414 test "$am__universal" = false || continue
4417 # after this tag, mechanisms are not by side-effect, so they'll
4418 # only be used when explicitly requested
4419 if test "x$enable_dependency_tracking" = xyes; then
4425 msvisualcpp | msvcmsys)
4426 # This compiler won't grok `-c -o', but also, the minuso test has
4427 # not run yet. These depmodes are late enough in the game, and
4428 # so weak that their functioning should not be impacted.
4429 am__obj=conftest.${OBJEXT-o}
4434 if depmode=$depmode \
4435 source=sub/conftest.c object=$am__obj \
4436 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4437 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4438 >/dev/null 2>conftest.err &&
4439 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4440 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4441 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4442 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4443 # icc doesn't choke on unknown options, it will just issue warnings
4444 # or remarks (even with -Werror). So we grep stderr for any message
4445 # that says an option was ignored or not supported.
4446 # When given -MP, icc 7.0 and 7.1 complain thusly:
4447 # icc: Command line warning: ignoring option '-M'; no argument required
4448 # The diagnosis changed in icc 8.0:
4449 # icc: Command line remark: option '-MP' not supported
4450 if (grep 'ignoring option' conftest.err ||
4451 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4452 am_cv_CXX_dependencies_compiler_type=$depmode
4461 am_cv_CXX_dependencies_compiler_type=none
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4466 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4467 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4470 test "x$enable_dependency_tracking" != xno \
4471 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4472 am__fastdepCXX_TRUE=
4473 am__fastdepCXX_FALSE='#'
4475 am__fastdepCXX_TRUE='#'
4476 am__fastdepCXX_FALSE=
4480 # By default we simply use the C compiler to build assembly code.
4482 test "${CCAS+set}" = set || CCAS=$CC
4483 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4487 depcc="$CCAS" am_compiler_list=
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4490 $as_echo_n "checking dependency style of $depcc... " >&6; }
4491 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
4492 $as_echo_n "(cached) " >&6
4494 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4495 # We make a subdir and do the tests there. Otherwise we can end up
4496 # making bogus files that we don't know about and never remove. For
4497 # instance it was reported that on HP-UX the gcc test will end up
4498 # making a dummy file named `D' -- because `-MD' means `put the output
4501 # Copy depcomp to subdir because otherwise we won't find it if we're
4502 # using a relative directory.
4503 cp "$am_depcomp" conftest.dir
4505 # We will build objects and dependencies in a subdirectory because
4506 # it helps to detect inapplicable dependency modes. For instance
4507 # both Tru64's cc and ICC support -MD to output dependencies as a
4508 # side effect of compilation, but ICC will put the dependencies in
4509 # the current directory while Tru64 will put them in the object
4513 am_cv_CCAS_dependencies_compiler_type=none
4514 if test "$am_compiler_list" = ""; then
4515 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4520 for depmode in $am_compiler_list; do
4521 # Setup a source with many dependencies, because some compilers
4522 # like to wrap large dependency lists on column 80 (with \), and
4523 # we should not choose a depcomp mode which is confused by this.
4525 # We need to recreate these files for each test, as the compiler may
4526 # overwrite some of them when testing with obscure command lines.
4527 # This happens at least with the AIX C compiler.
4529 for i in 1 2 3 4 5 6; do
4530 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4531 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4532 # Solaris 8's {/usr,}/bin/sh.
4533 touch sub/conftst$i.h
4535 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4537 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4538 # mode. It turns out that the SunPro C++ compiler does not properly
4539 # handle `-M -o', and we need to detect this. Also, some Intel
4540 # versions had trouble with output in subdirs
4541 am__obj=sub/conftest.${OBJEXT-o}
4542 am__minus_obj="-o $am__obj"
4545 # This depmode causes a compiler race in universal mode.
4546 test "$am__universal" = false || continue
4549 # after this tag, mechanisms are not by side-effect, so they'll
4550 # only be used when explicitly requested
4551 if test "x$enable_dependency_tracking" = xyes; then
4557 msvisualcpp | msvcmsys)
4558 # This compiler won't grok `-c -o', but also, the minuso test has
4559 # not run yet. These depmodes are late enough in the game, and
4560 # so weak that their functioning should not be impacted.
4561 am__obj=conftest.${OBJEXT-o}
4566 if depmode=$depmode \
4567 source=sub/conftest.c object=$am__obj \
4568 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4569 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4570 >/dev/null 2>conftest.err &&
4571 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4572 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4573 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4574 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4575 # icc doesn't choke on unknown options, it will just issue warnings
4576 # or remarks (even with -Werror). So we grep stderr for any message
4577 # that says an option was ignored or not supported.
4578 # When given -MP, icc 7.0 and 7.1 complain thusly:
4579 # icc: Command line warning: ignoring option '-M'; no argument required
4580 # The diagnosis changed in icc 8.0:
4581 # icc: Command line remark: option '-MP' not supported
4582 if (grep 'ignoring option' conftest.err ||
4583 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4584 am_cv_CCAS_dependencies_compiler_type=$depmode
4593 am_cv_CCAS_dependencies_compiler_type=none
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4598 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4599 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4602 test "x$enable_dependency_tracking" != xno \
4603 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4604 am__fastdepCCAS_TRUE=
4605 am__fastdepCCAS_FALSE='#'
4607 am__fastdepCCAS_TRUE='#'
4608 am__fastdepCCAS_FALSE=
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4620 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4625 macro_version='2.2.7a'
4626 macro_revision='1.3134'
4640 ltmain="$ac_aux_dir/ltmain.sh"
4642 # Backslashify metacharacters that are still active within
4643 # double-quoted strings.
4644 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4646 # Same as above, but do not quote variable references.
4647 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4649 # Sed substitution to delay expansion of an escaped shell variable in a
4650 # double_quote_subst'ed string.
4651 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4653 # Sed substitution to delay expansion of an escaped single quote.
4654 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4656 # Sed substitution to avoid accidental globbing in evaled expressions
4657 no_glob_subst='s/\*/\\\*/g'
4659 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4660 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4661 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4664 $as_echo_n "checking how to print strings... " >&6; }
4665 # Test print first, because it will be a builtin if present.
4666 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4667 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4669 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4672 # Use this function as a fallback that always works.
4673 func_fallback_echo ()
4675 eval 'cat <<_LTECHO_EOF
4679 ECHO='func_fallback_echo'
4682 # func_echo_all arg...
4683 # Invoke $ECHO with all args, space-separated.
4690 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4691 $as_echo "printf" >&6; } ;;
4692 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4693 $as_echo "print -r" >&6; } ;;
4694 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4695 $as_echo "cat" >&6; } ;;
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4712 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4713 if test "${ac_cv_path_SED+set}" = set; then :
4714 $as_echo_n "(cached) " >&6
4716 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4717 for ac_i in 1 2 3 4 5 6 7; do
4718 ac_script="$ac_script$as_nl$ac_script"
4720 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4721 { ac_script=; unset ac_script;}
4722 if test -z "$SED"; then
4723 ac_path_SED_found=false
4724 # Loop through the user's path and test for each of PROGNAME-LIST
4725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4729 test -z "$as_dir" && as_dir=.
4730 for ac_prog in sed gsed; do
4731 for ac_exec_ext in '' $ac_executable_extensions; do
4732 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4733 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4734 # Check for GNU ac_path_SED and select it if it is found.
4735 # Check for GNU $ac_path_SED
4736 case `"$ac_path_SED" --version 2>&1` in
4738 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4741 $as_echo_n 0123456789 >"conftest.in"
4744 cat "conftest.in" "conftest.in" >"conftest.tmp"
4745 mv "conftest.tmp" "conftest.in"
4746 cp "conftest.in" "conftest.nl"
4747 $as_echo '' >> "conftest.nl"
4748 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4749 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4750 as_fn_arith $ac_count + 1 && ac_count=$as_val
4751 if test $ac_count -gt ${ac_path_SED_max-0}; then
4752 # Best one so far, save it but keep looking for a better one
4753 ac_cv_path_SED="$ac_path_SED"
4754 ac_path_SED_max=$ac_count
4756 # 10*(2^10) chars as input seems more than enough
4757 test $ac_count -gt 10 && break
4759 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4762 $ac_path_SED_found && break 3
4767 if test -z "$ac_cv_path_SED"; then
4768 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4776 $as_echo "$ac_cv_path_SED" >&6; }
4777 SED="$ac_cv_path_SED"
4780 test -z "$SED" && SED=sed
4781 Xsed="$SED -e 1s/^X//"
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4794 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4795 if test "${ac_cv_path_GREP+set}" = set; then :
4796 $as_echo_n "(cached) " >&6
4798 if test -z "$GREP"; then
4799 ac_path_GREP_found=false
4800 # Loop through the user's path and test for each of PROGNAME-LIST
4801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4805 test -z "$as_dir" && as_dir=.
4806 for ac_prog in grep ggrep; do
4807 for ac_exec_ext in '' $ac_executable_extensions; do
4808 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4809 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4810 # Check for GNU ac_path_GREP and select it if it is found.
4811 # Check for GNU $ac_path_GREP
4812 case `"$ac_path_GREP" --version 2>&1` in
4814 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4817 $as_echo_n 0123456789 >"conftest.in"
4820 cat "conftest.in" "conftest.in" >"conftest.tmp"
4821 mv "conftest.tmp" "conftest.in"
4822 cp "conftest.in" "conftest.nl"
4823 $as_echo 'GREP' >> "conftest.nl"
4824 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4826 as_fn_arith $ac_count + 1 && ac_count=$as_val
4827 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4828 # Best one so far, save it but keep looking for a better one
4829 ac_cv_path_GREP="$ac_path_GREP"
4830 ac_path_GREP_max=$ac_count
4832 # 10*(2^10) chars as input seems more than enough
4833 test $ac_count -gt 10 && break
4835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4838 $ac_path_GREP_found && break 3
4843 if test -z "$ac_cv_path_GREP"; then
4844 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4847 ac_cv_path_GREP=$GREP
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4852 $as_echo "$ac_cv_path_GREP" >&6; }
4853 GREP="$ac_cv_path_GREP"
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4857 $as_echo_n "checking for egrep... " >&6; }
4858 if test "${ac_cv_path_EGREP+set}" = set; then :
4859 $as_echo_n "(cached) " >&6
4861 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4862 then ac_cv_path_EGREP="$GREP -E"
4864 if test -z "$EGREP"; then
4865 ac_path_EGREP_found=false
4866 # Loop through the user's path and test for each of PROGNAME-LIST
4867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4871 test -z "$as_dir" && as_dir=.
4872 for ac_prog in egrep; do
4873 for ac_exec_ext in '' $ac_executable_extensions; do
4874 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4875 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4876 # Check for GNU ac_path_EGREP and select it if it is found.
4877 # Check for GNU $ac_path_EGREP
4878 case `"$ac_path_EGREP" --version 2>&1` in
4880 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4883 $as_echo_n 0123456789 >"conftest.in"
4886 cat "conftest.in" "conftest.in" >"conftest.tmp"
4887 mv "conftest.tmp" "conftest.in"
4888 cp "conftest.in" "conftest.nl"
4889 $as_echo 'EGREP' >> "conftest.nl"
4890 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4891 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4892 as_fn_arith $ac_count + 1 && ac_count=$as_val
4893 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4894 # Best one so far, save it but keep looking for a better one
4895 ac_cv_path_EGREP="$ac_path_EGREP"
4896 ac_path_EGREP_max=$ac_count
4898 # 10*(2^10) chars as input seems more than enough
4899 test $ac_count -gt 10 && break
4901 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4904 $ac_path_EGREP_found && break 3
4909 if test -z "$ac_cv_path_EGREP"; then
4910 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4913 ac_cv_path_EGREP=$EGREP
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4919 $as_echo "$ac_cv_path_EGREP" >&6; }
4920 EGREP="$ac_cv_path_EGREP"
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4924 $as_echo_n "checking for fgrep... " >&6; }
4925 if test "${ac_cv_path_FGREP+set}" = set; then :
4926 $as_echo_n "(cached) " >&6
4928 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4929 then ac_cv_path_FGREP="$GREP -F"
4931 if test -z "$FGREP"; then
4932 ac_path_FGREP_found=false
4933 # Loop through the user's path and test for each of PROGNAME-LIST
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4938 test -z "$as_dir" && as_dir=.
4939 for ac_prog in fgrep; do
4940 for ac_exec_ext in '' $ac_executable_extensions; do
4941 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4942 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4943 # Check for GNU ac_path_FGREP and select it if it is found.
4944 # Check for GNU $ac_path_FGREP
4945 case `"$ac_path_FGREP" --version 2>&1` in
4947 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4950 $as_echo_n 0123456789 >"conftest.in"
4953 cat "conftest.in" "conftest.in" >"conftest.tmp"
4954 mv "conftest.tmp" "conftest.in"
4955 cp "conftest.in" "conftest.nl"
4956 $as_echo 'FGREP' >> "conftest.nl"
4957 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4958 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4959 as_fn_arith $ac_count + 1 && ac_count=$as_val
4960 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4961 # Best one so far, save it but keep looking for a better one
4962 ac_cv_path_FGREP="$ac_path_FGREP"
4963 ac_path_FGREP_max=$ac_count
4965 # 10*(2^10) chars as input seems more than enough
4966 test $ac_count -gt 10 && break
4968 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4971 $ac_path_FGREP_found && break 3
4976 if test -z "$ac_cv_path_FGREP"; then
4977 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4980 ac_cv_path_FGREP=$FGREP
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4986 $as_echo "$ac_cv_path_FGREP" >&6; }
4987 FGREP="$ac_cv_path_FGREP"
4990 test -z "$GREP" && GREP=grep
5010 # Check whether --with-gnu-ld was given.
5011 if test "${with_gnu_ld+set}" = set; then :
5012 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5018 if test "$GCC" = yes; then
5019 # Check if gcc -print-prog-name=ld gives a path.
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5021 $as_echo_n "checking for ld used by $CC... " >&6; }
5024 # gcc leaves a trailing carriage return which upsets mingw
5025 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5027 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5030 # Accept absolute paths.
5032 re_direlt='/[^/][^/]*/\.\./'
5033 # Canonicalize the pathname of ld
5034 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5035 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5036 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5038 test -z "$LD" && LD="$ac_prog"
5041 # If it fails, then pretend we aren't using GCC.
5045 # If it is relative, then search for the first ld in PATH.
5049 elif test "$with_gnu_ld" = yes; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5051 $as_echo_n "checking for GNU ld... " >&6; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5054 $as_echo_n "checking for non-GNU ld... " >&6; }
5056 if test "${lt_cv_path_LD+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5059 if test -z "$LD"; then
5060 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5061 for ac_dir in $PATH; do
5063 test -z "$ac_dir" && ac_dir=.
5064 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5065 lt_cv_path_LD="$ac_dir/$ac_prog"
5066 # Check to see if the program is GNU ld. I'd rather use --version,
5067 # but apparently some variants of GNU ld only accept -v.
5068 # Break only if it was the GNU/non-GNU ld that we prefer.
5069 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5070 *GNU* | *'with BFD'*)
5071 test "$with_gnu_ld" != no && break
5074 test "$with_gnu_ld" != yes && break
5081 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5086 if test -n "$LD"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5088 $as_echo "$LD" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5093 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5095 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5096 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5097 $as_echo_n "(cached) " >&6
5099 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5100 case `$LD -v 2>&1 </dev/null` in
5101 *GNU* | *'with BFD'*)
5102 lt_cv_prog_gnu_ld=yes
5105 lt_cv_prog_gnu_ld=no
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5110 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5111 with_gnu_ld=$lt_cv_prog_gnu_ld
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5122 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5123 if test "${lt_cv_path_NM+set}" = set; then :
5124 $as_echo_n "(cached) " >&6
5126 if test -n "$NM"; then
5127 # Let the user override the test.
5130 lt_nm_to_check="${ac_tool_prefix}nm"
5131 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5132 lt_nm_to_check="$lt_nm_to_check nm"
5134 for lt_tmp_nm in $lt_nm_to_check; do
5135 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5136 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5138 test -z "$ac_dir" && ac_dir=.
5139 tmp_nm="$ac_dir/$lt_tmp_nm"
5140 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5141 # Check to see if the nm accepts a BSD-compat flag.
5142 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5143 # nm: unknown option "B" ignored
5144 # Tru64's nm complains that /dev/null is an invalid object file
5145 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5146 */dev/null* | *'Invalid file or object type'*)
5147 lt_cv_path_NM="$tmp_nm -B"
5151 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5153 lt_cv_path_NM="$tmp_nm -p"
5157 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5158 continue # so that we can try to find one that supports BSD flags
5167 : ${lt_cv_path_NM=no}
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5171 $as_echo "$lt_cv_path_NM" >&6; }
5172 if test "$lt_cv_path_NM" != "no"; then
5175 # Didn't find any BSD compatible name lister, look for dumpbin.
5176 if test -n "$DUMPBIN"; then :
5177 # Let the user override the test.
5179 if test -n "$ac_tool_prefix"; then
5180 for ac_prog in dumpbin "link -dump"
5182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5187 $as_echo_n "(cached) " >&6
5189 if test -n "$DUMPBIN"; then
5190 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir=.
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5199 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 DUMPBIN=$ac_cv_prog_DUMPBIN
5210 if test -n "$DUMPBIN"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5212 $as_echo "$DUMPBIN" >&6; }
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5219 test -n "$DUMPBIN" && break
5222 if test -z "$DUMPBIN"; then
5223 ac_ct_DUMPBIN=$DUMPBIN
5224 for ac_prog in dumpbin "link -dump"
5226 # Extract the first word of "$ac_prog", so it can be a program name with args.
5227 set dummy $ac_prog; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5231 $as_echo_n "(cached) " >&6
5233 if test -n "$ac_ct_DUMPBIN"; then
5234 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir=.
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5254 if test -n "$ac_ct_DUMPBIN"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5256 $as_echo "$ac_ct_DUMPBIN" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5263 test -n "$ac_ct_DUMPBIN" && break
5266 if test "x$ac_ct_DUMPBIN" = x; then
5269 case $cross_compiling:$ac_tool_warned in
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5273 ac_tool_warned=yes ;;
5275 DUMPBIN=$ac_ct_DUMPBIN
5279 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5281 DUMPBIN="$DUMPBIN -symbols"
5289 if test "$DUMPBIN" != ":"; then
5293 test -z "$NM" && NM=nm
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5301 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5302 if test "${lt_cv_nm_interface+set}" = set; then :
5303 $as_echo_n "(cached) " >&6
5305 lt_cv_nm_interface="BSD nm"
5306 echo "int some_variable = 0;" > conftest.$ac_ext
5307 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5308 (eval "$ac_compile" 2>conftest.err)
5309 cat conftest.err >&5
5310 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5311 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5312 cat conftest.err >&5
5313 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5314 cat conftest.out >&5
5315 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5316 lt_cv_nm_interface="MS dumpbin"
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5321 $as_echo "$lt_cv_nm_interface" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5324 $as_echo_n "checking whether ln -s works... " >&6; }
5326 if test "$LN_S" = "ln -s"; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5328 $as_echo "yes" >&6; }
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5331 $as_echo "no, using $LN_S" >&6; }
5334 # find the maximum length of command line arguments
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5336 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5337 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5338 $as_echo_n "(cached) " >&6
5345 # On DJGPP, this test can blow up pretty badly due to problems in libc
5346 # (any single argument exceeding 2000 bytes causes a buffer overrun
5347 # during glob expansion). Even if it were fixed, the result of this
5348 # check would be larger than it should be.
5349 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5353 # Under GNU Hurd, this test is not required because there is
5354 # no limit to the length of command line arguments.
5355 # Libtool will interpret -1 as no limit whatsoever
5356 lt_cv_sys_max_cmd_len=-1;
5359 cygwin* | mingw* | cegcc*)
5360 # On Win9x/ME, this test blows up -- it succeeds, but takes
5361 # about 5 minutes as the teststring grows exponentially.
5362 # Worse, since 9x/ME are not pre-emptively multitasking,
5363 # you end up with a "frozen" computer, even though with patience
5364 # the test eventually succeeds (with a max line length of 256k).
5365 # Instead, let's just punt: use the minimum linelength reported by
5366 # all of the supported platforms: 8192 (on NT/2K/XP).
5367 lt_cv_sys_max_cmd_len=8192;
5371 # On MiNT this can take a long time and run out of memory.
5372 lt_cv_sys_max_cmd_len=8192;
5376 # On AmigaOS with pdksh, this test takes hours, literally.
5377 # So we just punt and use a minimum line length of 8192.
5378 lt_cv_sys_max_cmd_len=8192;
5381 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5382 # This has been around since 386BSD, at least. Likely further.
5383 if test -x /sbin/sysctl; then
5384 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5385 elif test -x /usr/sbin/sysctl; then
5386 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5388 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5390 # And add a safety zone
5391 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5392 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5396 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5397 lt_cv_sys_max_cmd_len=196608
5401 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5402 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5403 # nice to cause kernel panics so lets avoid the loop below.
5404 # First set a reasonable default.
5405 lt_cv_sys_max_cmd_len=16384
5407 if test -x /sbin/sysconfig; then
5408 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5409 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5414 lt_cv_sys_max_cmd_len=102400
5416 sysv5* | sco5v6* | sysv4.2uw2*)
5417 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5418 if test -n "$kargmax"; then
5419 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5421 lt_cv_sys_max_cmd_len=32768
5425 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5426 if test -n "$lt_cv_sys_max_cmd_len"; then
5427 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5428 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5430 # Make teststring a little bigger before we do anything with it.
5431 # a 1K string should be a reasonable start.
5432 for i in 1 2 3 4 5 6 7 8 ; do
5433 teststring=$teststring$teststring
5435 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5436 # If test is not a shell built-in, we'll probably end up computing a
5437 # maximum length that is only half of the actual maximum length, but
5439 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5440 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5441 test $i != 17 # 1/2 MB should be enough
5444 teststring=$teststring$teststring
5446 # Only check the string length outside the loop.
5447 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5449 # Add a significant safety factor because C++ compilers can tack on
5450 # massive amounts of additional arguments before passing them to the
5451 # linker. It appears as though 1/2 is a usable value.
5452 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5459 if test -n $lt_cv_sys_max_cmd_len ; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5461 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5464 $as_echo "none" >&6; }
5466 max_cmd_len=$lt_cv_sys_max_cmd_len
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5478 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5479 # Try some XSI features
5482 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5484 && eval 'test $(( 1 + 1 )) -eq 2 \
5485 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5488 $as_echo "$xsi_shell" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5492 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5494 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5496 && lt_shell_append=yes
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5498 $as_echo "$lt_shell_append" >&6; }
5501 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5511 # test EBCDIC or ASCII
5512 case `echo X|tr X '\101'` in
5513 A) # ASCII based system
5514 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5515 lt_SP2NL='tr \040 \012'
5516 lt_NL2SP='tr \015\012 \040\040'
5518 *) # EBCDIC based system
5519 lt_SP2NL='tr \100 \n'
5520 lt_NL2SP='tr \r\n \100\100'
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5533 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5534 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5535 $as_echo_n "(cached) " >&6
5537 lt_cv_ld_reload_flag='-r'
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5540 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5541 reload_flag=$lt_cv_ld_reload_flag
5542 case $reload_flag in
5544 *) reload_flag=" $reload_flag" ;;
5546 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5549 if test "$GCC" = yes; then
5550 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5552 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5565 if test -n "$ac_tool_prefix"; then
5566 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5567 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569 $as_echo_n "checking for $ac_word... " >&6; }
5570 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5571 $as_echo_n "(cached) " >&6
5573 if test -n "$OBJDUMP"; then
5574 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5583 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5593 OBJDUMP=$ac_cv_prog_OBJDUMP
5594 if test -n "$OBJDUMP"; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5596 $as_echo "$OBJDUMP" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }
5604 if test -z "$ac_cv_prog_OBJDUMP"; then
5605 ac_ct_OBJDUMP=$OBJDUMP
5606 # Extract the first word of "objdump", so it can be a program name with args.
5607 set dummy objdump; ac_word=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5611 $as_echo_n "(cached) " >&6
5613 if test -n "$ac_ct_OBJDUMP"; then
5614 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5620 test -z "$as_dir" && as_dir=.
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5623 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5634 if test -n "$ac_ct_OBJDUMP"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5636 $as_echo "$ac_ct_OBJDUMP" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5642 if test "x$ac_ct_OBJDUMP" = x; then
5645 case $cross_compiling:$ac_tool_warned in
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5649 ac_tool_warned=yes ;;
5651 OBJDUMP=$ac_ct_OBJDUMP
5654 OBJDUMP="$ac_cv_prog_OBJDUMP"
5657 test -z "$OBJDUMP" && OBJDUMP=objdump
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5668 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5669 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5670 $as_echo_n "(cached) " >&6
5672 lt_cv_file_magic_cmd='$MAGIC_CMD'
5673 lt_cv_file_magic_test_file=
5674 lt_cv_deplibs_check_method='unknown'
5675 # Need to set the preceding variable on all platforms that support
5676 # interlibrary dependencies.
5677 # 'none' -- dependencies not supported.
5678 # `unknown' -- same as none, but documents that we really don't know.
5679 # 'pass_all' -- all dependencies passed with no checks.
5680 # 'test_compile' -- check by making test program.
5681 # 'file_magic [[regex]]' -- check by looking for files in library path
5682 # which responds to the $file_magic_cmd with a given extended regex.
5683 # If you have `file' or equivalent on your system and you're not sure
5684 # whether `pass_all' will *always* work, you probably want this one.
5688 lt_cv_deplibs_check_method=pass_all
5692 lt_cv_deplibs_check_method=pass_all
5696 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5697 lt_cv_file_magic_cmd='/usr/bin/file -L'
5698 lt_cv_file_magic_test_file=/shlib/libc.so
5702 # func_win32_libid is a shell function defined in ltmain.sh
5703 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5704 lt_cv_file_magic_cmd='func_win32_libid'
5708 # Base MSYS/MinGW do not provide the 'file' command needed by
5709 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5710 # unless we find 'file', for example because we are cross-compiling.
5711 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5712 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5713 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5714 lt_cv_file_magic_cmd='func_win32_libid'
5716 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5717 lt_cv_file_magic_cmd='$OBJDUMP -f'
5722 # use the weaker test based on 'objdump'. See mingw*.
5723 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5724 lt_cv_file_magic_cmd='$OBJDUMP -f'
5727 darwin* | rhapsody*)
5728 lt_cv_deplibs_check_method=pass_all
5731 freebsd* | dragonfly*)
5732 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5735 # Not sure whether the presence of OpenBSD here was a mistake.
5736 # Let's accept both of them until this is cleared up.
5737 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5738 lt_cv_file_magic_cmd=/usr/bin/file
5739 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5743 lt_cv_deplibs_check_method=pass_all
5748 lt_cv_deplibs_check_method=pass_all
5752 lt_cv_deplibs_check_method=pass_all
5755 hpux10.20* | hpux11*)
5756 lt_cv_file_magic_cmd=/usr/bin/file
5759 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5760 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5763 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]'
5764 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5767 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5768 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5774 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5775 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5778 irix5* | irix6* | nonstopux*)
5780 *-32|*"-32 ") libmagic=32-bit;;
5781 *-n32|*"-n32 ") libmagic=N32;;
5782 *-64|*"-64 ") libmagic=64-bit;;
5783 *) libmagic=never-match;;
5785 lt_cv_deplibs_check_method=pass_all
5788 # This must be Linux ELF.
5789 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5790 lt_cv_deplibs_check_method=pass_all
5794 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5795 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5797 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5802 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5803 lt_cv_file_magic_cmd=/usr/bin/file
5804 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5808 lt_cv_deplibs_check_method=pass_all
5812 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5813 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5815 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5819 osf3* | osf4* | osf5*)
5820 lt_cv_deplibs_check_method=pass_all
5824 lt_cv_deplibs_check_method=pass_all
5828 lt_cv_deplibs_check_method=pass_all
5831 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5832 lt_cv_deplibs_check_method=pass_all
5836 case $host_vendor in
5838 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]'
5839 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5842 lt_cv_deplibs_check_method=pass_all
5845 lt_cv_file_magic_cmd='/bin/file'
5846 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5849 lt_cv_file_magic_cmd='/bin/file'
5850 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5851 lt_cv_file_magic_test_file=/lib/libc.so
5854 lt_cv_deplibs_check_method=pass_all
5857 lt_cv_deplibs_check_method=pass_all
5863 lt_cv_deplibs_check_method=pass_all
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5869 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5870 file_magic_cmd=$lt_cv_file_magic_cmd
5871 deplibs_check_method=$lt_cv_deplibs_check_method
5872 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5885 if test -n "$ac_tool_prefix"; then
5886 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5887 set dummy ${ac_tool_prefix}ar; ac_word=$2
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 $as_echo_n "checking for $ac_word... " >&6; }
5890 if test "${ac_cv_prog_AR+set}" = set; then :
5891 $as_echo_n "(cached) " >&6
5893 if test -n "$AR"; then
5894 ac_cv_prog_AR="$AR" # Let the user override the test.
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_prog_AR="${ac_tool_prefix}ar"
5904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 if test -n "$AR"; then
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5916 $as_echo "$AR" >&6; }
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919 $as_echo "no" >&6; }
5924 if test -z "$ac_cv_prog_AR"; then
5926 # Extract the first word of "ar", so it can be a program name with args.
5927 set dummy ar; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5931 $as_echo_n "(cached) " >&6
5933 if test -n "$ac_ct_AR"; then
5934 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5943 ac_cv_prog_ac_ct_AR="ar"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5954 if test -n "$ac_ct_AR"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5956 $as_echo "$ac_ct_AR" >&6; }
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5962 if test "x$ac_ct_AR" = x; then
5965 case $cross_compiling:$ac_tool_warned in
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5969 ac_tool_warned=yes ;;
5977 test -z "$AR" && AR=ar
5978 test -z "$AR_FLAGS" && AR_FLAGS=cru
5990 if test -n "$ac_tool_prefix"; then
5991 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5992 set dummy ${ac_tool_prefix}strip; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if test "${ac_cv_prog_STRIP+set}" = set; then :
5996 $as_echo_n "(cached) " >&6
5998 if test -n "$STRIP"; then
5999 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 STRIP=$ac_cv_prog_STRIP
6019 if test -n "$STRIP"; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6021 $as_echo "$STRIP" >&6; }
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6029 if test -z "$ac_cv_prog_STRIP"; then
6031 # Extract the first word of "strip", so it can be a program name with args.
6032 set dummy strip; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6036 $as_echo_n "(cached) " >&6
6038 if test -n "$ac_ct_STRIP"; then
6039 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6048 ac_cv_prog_ac_ct_STRIP="strip"
6049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6059 if test -n "$ac_ct_STRIP"; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6061 $as_echo "$ac_ct_STRIP" >&6; }
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6067 if test "x$ac_ct_STRIP" = x; then
6070 case $cross_compiling:$ac_tool_warned in
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6074 ac_tool_warned=yes ;;
6079 STRIP="$ac_cv_prog_STRIP"
6082 test -z "$STRIP" && STRIP=:
6089 if test -n "$ac_tool_prefix"; then
6090 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6091 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6095 $as_echo_n "(cached) " >&6
6097 if test -n "$RANLIB"; then
6098 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 RANLIB=$ac_cv_prog_RANLIB
6118 if test -n "$RANLIB"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6120 $as_echo "$RANLIB" >&6; }
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6128 if test -z "$ac_cv_prog_RANLIB"; then
6129 ac_ct_RANLIB=$RANLIB
6130 # Extract the first word of "ranlib", so it can be a program name with args.
6131 set dummy ranlib; ac_word=$2
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133 $as_echo_n "checking for $ac_word... " >&6; }
6134 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6135 $as_echo_n "(cached) " >&6
6137 if test -n "$ac_ct_RANLIB"; then
6138 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6147 ac_cv_prog_ac_ct_RANLIB="ranlib"
6148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6157 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6158 if test -n "$ac_ct_RANLIB"; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6160 $as_echo "$ac_ct_RANLIB" >&6; }
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163 $as_echo "no" >&6; }
6166 if test "x$ac_ct_RANLIB" = x; then
6169 case $cross_compiling:$ac_tool_warned in
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6173 ac_tool_warned=yes ;;
6175 RANLIB=$ac_ct_RANLIB
6178 RANLIB="$ac_cv_prog_RANLIB"
6181 test -z "$RANLIB" && RANLIB=:
6188 # Determine commands to create old-style static archives.
6189 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6190 old_postinstall_cmds='chmod 644 $oldlib'
6191 old_postuninstall_cmds=
6193 if test -n "$RANLIB"; then
6196 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6199 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6202 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6207 lock_old_archive_extraction=yes ;;
6209 lock_old_archive_extraction=no ;;
6250 # If no C compiler was specified, use CC.
6253 # If no C compiler flags were specified, use CFLAGS.
6254 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6256 # Allow CC to be a program name with arguments.
6260 # Check for command to grab the raw symbol name followed by C symbol from nm.
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6262 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6263 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6264 $as_echo_n "(cached) " >&6
6267 # These are sane defaults that work on at least a few old systems.
6268 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6270 # Character class describing NM global symbol codes.
6271 symcode='[BCDEGRST]'
6273 # Regexp to match symbols that can be accessed directly from C.
6274 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6276 # Define system-specific variables.
6281 cygwin* | mingw* | pw32* | cegcc*)
6282 symcode='[ABCDGISTW]'
6285 if test "$host_cpu" = ia64; then
6286 symcode='[ABCDEGRST]'
6290 symcode='[BCDEGRST]'
6293 symcode='[BCDEGQRST]'
6304 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6312 # If we're using GNU nm, then use its standard symbol codes.
6313 case `$NM -V 2>&1` in
6314 *GNU* | *'with BFD'*)
6315 symcode='[ABCDGIRSTW]' ;;
6318 # Transform an extracted symbol line into a proper C declaration.
6319 # Some systems (esp. on ia64) link data and code symbols differently,
6320 # so use this general approach.
6321 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6323 # Transform an extracted symbol line into symbol name and symbol address
6324 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6325 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'"
6327 # Handle CRLF in mingw tool chain
6331 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6335 # Try without a prefix underscore, then with it.
6336 for ac_symprfx in "" "_"; do
6338 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6339 symxfrm="\\1 $ac_symprfx\\2 \\2"
6341 # Write the raw and C identifiers.
6342 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6343 # Fake it for dumpbin and say T for any non-static function
6344 # and D for any global variable.
6345 # Also find C++ and __fastcall symbols from MSVC++,
6346 # which start with @ or ?.
6347 lt_cv_sys_global_symbol_pipe="$AWK '"\
6348 " {last_section=section; section=\$ 3};"\
6349 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6350 " \$ 0!~/External *\|/{next};"\
6351 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6352 " {if(hide[section]) next};"\
6353 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6354 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6355 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6356 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6357 " ' prfx=^$ac_symprfx"
6359 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6362 # Check to see that the pipe works correctly.
6366 cat > conftest.$ac_ext <<_LT_EOF
6371 void nm_test_func(void);
6372 void nm_test_func(void){}
6376 int main(){nm_test_var='a';nm_test_func();return(0);}
6379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6380 (eval $ac_compile) 2>&5
6382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6383 test $ac_status = 0; }; then
6384 # Now try to grab the symbols.
6386 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6387 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6390 test $ac_status = 0; } && test -s "$nlist"; then
6391 # Try sorting and uniquifying the output.
6392 if sort "$nlist" | uniq > "$nlist"T; then
6393 mv -f "$nlist"T "$nlist"
6398 # Make sure that we snagged all the symbols we need.
6399 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6400 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6401 cat <<_LT_EOF > conftest.$ac_ext
6407 # Now generate the symbol file.
6408 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6410 cat <<_LT_EOF >> conftest.$ac_ext
6412 /* The mapping between symbol names and symbols. */
6417 lt__PROGRAM__LTX_preloaded_symbols[] =
6419 { "@PROGRAM@", (void *) 0 },
6421 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6422 cat <<\_LT_EOF >> conftest.$ac_ext
6426 /* This works around a problem in FreeBSD linker */
6427 #ifdef FREEBSD_WORKAROUND
6428 static const void *lt_preloaded_setup() {
6429 return lt__PROGRAM__LTX_preloaded_symbols;
6437 # Now try linking the two files.
6438 mv conftest.$ac_objext conftstm.$ac_objext
6439 lt_save_LIBS="$LIBS"
6440 lt_save_CFLAGS="$CFLAGS"
6441 LIBS="conftstm.$ac_objext"
6442 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6444 (eval $ac_link) 2>&5
6446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6447 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6450 LIBS="$lt_save_LIBS"
6451 CFLAGS="$lt_save_CFLAGS"
6453 echo "cannot find nm_test_func in $nlist" >&5
6456 echo "cannot find nm_test_var in $nlist" >&5
6459 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6462 echo "$progname: failed program was:" >&5
6463 cat conftest.$ac_ext >&5
6465 rm -rf conftest* conftst*
6467 # Do not use the global_symbol_pipe unless it works.
6468 if test "$pipe_works" = yes; then
6471 lt_cv_sys_global_symbol_pipe=
6477 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6478 lt_cv_sys_global_symbol_to_cdecl=
6480 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6482 $as_echo "failed" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6485 $as_echo "ok" >&6; }
6510 # Check whether --enable-libtool-lock was given.
6511 if test "${enable_libtool_lock+set}" = set; then :
6512 enableval=$enable_libtool_lock;
6515 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6517 # Some flags need to be propagated to the compiler or linker for good
6521 # Find out which ABI we are using.
6522 echo 'int i;' > conftest.$ac_ext
6523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6524 (eval $ac_compile) 2>&5
6526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6527 test $ac_status = 0; }; then
6528 case `/usr/bin/file conftest.$ac_objext` in
6540 # Find out which ABI we are using.
6541 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6543 (eval $ac_compile) 2>&5
6545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6546 test $ac_status = 0; }; then
6547 if test "$lt_cv_prog_gnu_ld" = yes; then
6548 case `/usr/bin/file conftest.$ac_objext` in
6550 LD="${LD-ld} -melf32bsmip"
6553 LD="${LD-ld} -melf32bmipn32"
6556 LD="${LD-ld} -melf64bmip"
6560 case `/usr/bin/file conftest.$ac_objext` in
6576 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6577 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6578 # Find out which ABI we are using.
6579 echo 'int i;' > conftest.$ac_ext
6580 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6581 (eval $ac_compile) 2>&5
6583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6584 test $ac_status = 0; }; then
6585 case `/usr/bin/file conftest.o` in
6588 x86_64-*kfreebsd*-gnu)
6589 LD="${LD-ld} -m elf_i386_fbsd"
6592 case `/usr/bin/file conftest.o` in
6594 LD="${LD-ld} -m elf32_x86_64"
6597 LD="${LD-ld} -m elf_i386"
6601 ppc64-*linux*|powerpc64-*linux*)
6602 LD="${LD-ld} -m elf32ppclinux"
6605 LD="${LD-ld} -m elf_s390"
6608 LD="${LD-ld} -m elf32_sparc"
6614 x86_64-*kfreebsd*-gnu)
6615 LD="${LD-ld} -m elf_x86_64_fbsd"
6618 LD="${LD-ld} -m elf_x86_64"
6620 ppc*-*linux*|powerpc*-*linux*)
6621 LD="${LD-ld} -m elf64ppc"
6623 s390*-*linux*|s390*-*tpf*)
6624 LD="${LD-ld} -m elf64_s390"
6627 LD="${LD-ld} -m elf64_sparc"
6637 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6638 SAVE_CFLAGS="$CFLAGS"
6639 CFLAGS="$CFLAGS -belf"
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6641 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6642 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6643 $as_echo_n "(cached) " >&6
6646 ac_cpp='$CPP $CPPFLAGS'
6647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6652 /* end confdefs.h. */
6662 if ac_fn_c_try_link "$LINENO"; then :
6663 lt_cv_cc_needs_belf=yes
6665 lt_cv_cc_needs_belf=no
6667 rm -f core conftest.err conftest.$ac_objext \
6668 conftest$ac_exeext conftest.$ac_ext
6670 ac_cpp='$CPP $CPPFLAGS'
6671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6677 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6678 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6679 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6680 CFLAGS="$SAVE_CFLAGS"
6684 # Find out which ABI we are using.
6685 echo 'int i;' > conftest.$ac_ext
6686 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6687 (eval $ac_compile) 2>&5
6689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6690 test $ac_status = 0; }; then
6691 case `/usr/bin/file conftest.o` in
6693 case $lt_cv_prog_gnu_ld in
6694 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6696 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6708 need_locks="$enable_libtool_lock"
6712 rhapsody* | darwin*)
6713 if test -n "$ac_tool_prefix"; then
6714 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6715 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6717 $as_echo_n "checking for $ac_word... " >&6; }
6718 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6719 $as_echo_n "(cached) " >&6
6721 if test -n "$DSYMUTIL"; then
6722 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 test -z "$as_dir" && as_dir=.
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6731 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6742 if test -n "$DSYMUTIL"; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6744 $as_echo "$DSYMUTIL" >&6; }
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 $as_echo "no" >&6; }
6752 if test -z "$ac_cv_prog_DSYMUTIL"; then
6753 ac_ct_DSYMUTIL=$DSYMUTIL
6754 # Extract the first word of "dsymutil", so it can be a program name with args.
6755 set dummy dsymutil; ac_word=$2
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 $as_echo_n "checking for $ac_word... " >&6; }
6758 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6759 $as_echo_n "(cached) " >&6
6761 if test -n "$ac_ct_DSYMUTIL"; then
6762 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 test -z "$as_dir" && as_dir=.
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6771 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6781 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6782 if test -n "$ac_ct_DSYMUTIL"; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6784 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6787 $as_echo "no" >&6; }
6790 if test "x$ac_ct_DSYMUTIL" = x; then
6793 case $cross_compiling:$ac_tool_warned in
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6797 ac_tool_warned=yes ;;
6799 DSYMUTIL=$ac_ct_DSYMUTIL
6802 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6805 if test -n "$ac_tool_prefix"; then
6806 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6807 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809 $as_echo_n "checking for $ac_word... " >&6; }
6810 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6811 $as_echo_n "(cached) " >&6
6813 if test -n "$NMEDIT"; then
6814 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833 NMEDIT=$ac_cv_prog_NMEDIT
6834 if test -n "$NMEDIT"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6836 $as_echo "$NMEDIT" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839 $as_echo "no" >&6; }
6844 if test -z "$ac_cv_prog_NMEDIT"; then
6845 ac_ct_NMEDIT=$NMEDIT
6846 # Extract the first word of "nmedit", so it can be a program name with args.
6847 set dummy nmedit; ac_word=$2
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6849 $as_echo_n "checking for $ac_word... " >&6; }
6850 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6851 $as_echo_n "(cached) " >&6
6853 if test -n "$ac_ct_NMEDIT"; then
6854 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6860 test -z "$as_dir" && as_dir=.
6861 for ac_exec_ext in '' $ac_executable_extensions; do
6862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6863 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6873 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6874 if test -n "$ac_ct_NMEDIT"; then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6876 $as_echo "$ac_ct_NMEDIT" >&6; }
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6879 $as_echo "no" >&6; }
6882 if test "x$ac_ct_NMEDIT" = x; then
6885 case $cross_compiling:$ac_tool_warned in
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6889 ac_tool_warned=yes ;;
6891 NMEDIT=$ac_ct_NMEDIT
6894 NMEDIT="$ac_cv_prog_NMEDIT"
6897 if test -n "$ac_tool_prefix"; then
6898 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6899 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6901 $as_echo_n "checking for $ac_word... " >&6; }
6902 if test "${ac_cv_prog_LIPO+set}" = set; then :
6903 $as_echo_n "(cached) " >&6
6905 if test -n "$LIPO"; then
6906 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 test -z "$as_dir" && as_dir=.
6913 for ac_exec_ext in '' $ac_executable_extensions; do
6914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6915 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925 LIPO=$ac_cv_prog_LIPO
6926 if test -n "$LIPO"; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6928 $as_echo "$LIPO" >&6; }
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6931 $as_echo "no" >&6; }
6936 if test -z "$ac_cv_prog_LIPO"; then
6938 # Extract the first word of "lipo", so it can be a program name with args.
6939 set dummy lipo; ac_word=$2
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6941 $as_echo_n "checking for $ac_word... " >&6; }
6942 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6943 $as_echo_n "(cached) " >&6
6945 if test -n "$ac_ct_LIPO"; then
6946 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 test -z "$as_dir" && as_dir=.
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6955 ac_cv_prog_ac_ct_LIPO="lipo"
6956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6965 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6966 if test -n "$ac_ct_LIPO"; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6968 $as_echo "$ac_ct_LIPO" >&6; }
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6971 $as_echo "no" >&6; }
6974 if test "x$ac_ct_LIPO" = x; then
6977 case $cross_compiling:$ac_tool_warned in
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6981 ac_tool_warned=yes ;;
6986 LIPO="$ac_cv_prog_LIPO"
6989 if test -n "$ac_tool_prefix"; then
6990 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6991 set dummy ${ac_tool_prefix}otool; ac_word=$2
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6993 $as_echo_n "checking for $ac_word... " >&6; }
6994 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6995 $as_echo_n "(cached) " >&6
6997 if test -n "$OTOOL"; then
6998 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 test -z "$as_dir" && as_dir=.
7005 for ac_exec_ext in '' $ac_executable_extensions; do
7006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7007 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017 OTOOL=$ac_cv_prog_OTOOL
7018 if test -n "$OTOOL"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7020 $as_echo "$OTOOL" >&6; }
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023 $as_echo "no" >&6; }
7028 if test -z "$ac_cv_prog_OTOOL"; then
7030 # Extract the first word of "otool", so it can be a program name with args.
7031 set dummy otool; ac_word=$2
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7033 $as_echo_n "checking for $ac_word... " >&6; }
7034 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7035 $as_echo_n "(cached) " >&6
7037 if test -n "$ac_ct_OTOOL"; then
7038 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7044 test -z "$as_dir" && as_dir=.
7045 for ac_exec_ext in '' $ac_executable_extensions; do
7046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7047 ac_cv_prog_ac_ct_OTOOL="otool"
7048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7057 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7058 if test -n "$ac_ct_OTOOL"; then
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7060 $as_echo "$ac_ct_OTOOL" >&6; }
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7063 $as_echo "no" >&6; }
7066 if test "x$ac_ct_OTOOL" = x; then
7069 case $cross_compiling:$ac_tool_warned in
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7073 ac_tool_warned=yes ;;
7078 OTOOL="$ac_cv_prog_OTOOL"
7081 if test -n "$ac_tool_prefix"; then
7082 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7083 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7085 $as_echo_n "checking for $ac_word... " >&6; }
7086 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7087 $as_echo_n "(cached) " >&6
7089 if test -n "$OTOOL64"; then
7090 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096 test -z "$as_dir" && as_dir=.
7097 for ac_exec_ext in '' $ac_executable_extensions; do
7098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7099 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7109 OTOOL64=$ac_cv_prog_OTOOL64
7110 if test -n "$OTOOL64"; then
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7112 $as_echo "$OTOOL64" >&6; }
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7115 $as_echo "no" >&6; }
7120 if test -z "$ac_cv_prog_OTOOL64"; then
7121 ac_ct_OTOOL64=$OTOOL64
7122 # Extract the first word of "otool64", so it can be a program name with args.
7123 set dummy otool64; ac_word=$2
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7125 $as_echo_n "checking for $ac_word... " >&6; }
7126 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7127 $as_echo_n "(cached) " >&6
7129 if test -n "$ac_ct_OTOOL64"; then
7130 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 test -z "$as_dir" && as_dir=.
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7139 ac_cv_prog_ac_ct_OTOOL64="otool64"
7140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7149 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7150 if test -n "$ac_ct_OTOOL64"; then
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7152 $as_echo "$ac_ct_OTOOL64" >&6; }
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155 $as_echo "no" >&6; }
7158 if test "x$ac_ct_OTOOL64" = x; then
7161 case $cross_compiling:$ac_tool_warned in
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7165 ac_tool_warned=yes ;;
7167 OTOOL64=$ac_ct_OTOOL64
7170 OTOOL64="$ac_cv_prog_OTOOL64"
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7200 $as_echo_n "checking for -single_module linker flag... " >&6; }
7201 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7202 $as_echo_n "(cached) " >&6
7204 lt_cv_apple_cc_single_mod=no
7205 if test -z "${LT_MULTI_MODULE}"; then
7206 # By default we will add the -single_module flag. You can override
7207 # by either setting the environment variable LT_MULTI_MODULE
7208 # non-empty at configure time, or by adding -multi_module to the
7210 rm -rf libconftest.dylib*
7211 echo "int foo(void){return 1;}" > conftest.c
7212 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7213 -dynamiclib -Wl,-single_module conftest.c" >&5
7214 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7215 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7217 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7218 lt_cv_apple_cc_single_mod=yes
7220 cat conftest.err >&5
7222 rm -rf libconftest.dylib*
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7227 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7229 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7230 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7231 $as_echo_n "(cached) " >&6
7233 lt_cv_ld_exported_symbols_list=no
7234 save_LDFLAGS=$LDFLAGS
7235 echo "_main" > conftest.sym
7236 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7248 if ac_fn_c_try_link "$LINENO"; then :
7249 lt_cv_ld_exported_symbols_list=yes
7251 lt_cv_ld_exported_symbols_list=no
7253 rm -f core conftest.err conftest.$ac_objext \
7254 conftest$ac_exeext conftest.$ac_ext
7255 LDFLAGS="$save_LDFLAGS"
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7259 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7261 $as_echo_n "checking for -force_load linker flag... " >&6; }
7262 if test "${lt_cv_ld_force_load+set}" = set; then :
7263 $as_echo_n "(cached) " >&6
7265 lt_cv_ld_force_load=no
7266 cat > conftest.c << _LT_EOF
7267 int forced_loaded() { return 2;}
7269 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7270 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7271 echo "$AR cru libconftest.a conftest.o" >&5
7272 $AR cru libconftest.a conftest.o 2>&5
7273 cat > conftest.c << _LT_EOF
7274 int main() { return 0;}
7276 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7277 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7279 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7280 lt_cv_ld_force_load=yes
7282 cat conftest.err >&5
7284 rm -f conftest.err libconftest.a conftest conftest.c
7285 rm -rf conftest.dSYM
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7289 $as_echo "$lt_cv_ld_force_load" >&6; }
7291 rhapsody* | darwin1.[012])
7292 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7294 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7295 darwin*) # darwin 5.x on
7296 # if running on 10.5 or later, the deployment target defaults
7297 # to the OS version, if on x86, and 10.4, the deployment
7298 # target defaults to 10.4. Don't you love it?
7299 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7300 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7301 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7303 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7305 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7309 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7310 _lt_dar_single_mod='$single_module'
7312 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7313 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7315 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7317 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7318 _lt_dsymutil='~$DSYMUTIL $lib || :'
7326 ac_cpp='$CPP $CPPFLAGS'
7327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7331 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7332 # On Suns, sometimes $CPP names a directory.
7333 if test -n "$CPP" && test -d "$CPP"; then
7336 if test -z "$CPP"; then
7337 if test "${ac_cv_prog_CPP+set}" = set; then :
7338 $as_echo_n "(cached) " >&6
7340 # Double quotes because CPP needs to be expanded
7341 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7344 for ac_c_preproc_warn_flag in '' yes
7346 # Use a header file that comes with gcc, so configuring glibc
7347 # with a fresh cross-compiler works.
7348 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7349 # <limits.h> exists even on freestanding compilers.
7350 # On the NeXT, cc -E runs the code through the compiler's parser,
7351 # not just through cpp. "Syntax error" is here to catch this case.
7352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7353 /* end confdefs.h. */
7355 # include <limits.h>
7357 # include <assert.h>
7361 if ac_fn_c_try_cpp "$LINENO"; then :
7364 # Broken: fails on valid input.
7367 rm -f conftest.err conftest.$ac_ext
7369 # OK, works on sane cases. Now check whether nonexistent headers
7370 # can be detected and how.
7371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7372 /* end confdefs.h. */
7373 #include <ac_nonexistent.h>
7375 if ac_fn_c_try_cpp "$LINENO"; then :
7376 # Broken: success on invalid input.
7379 # Passes both tests.
7383 rm -f conftest.err conftest.$ac_ext
7386 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7387 rm -f conftest.err conftest.$ac_ext
7388 if $ac_preproc_ok; then :
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7401 $as_echo "$CPP" >&6; }
7403 for ac_c_preproc_warn_flag in '' yes
7405 # Use a header file that comes with gcc, so configuring glibc
7406 # with a fresh cross-compiler works.
7407 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7408 # <limits.h> exists even on freestanding compilers.
7409 # On the NeXT, cc -E runs the code through the compiler's parser,
7410 # not just through cpp. "Syntax error" is here to catch this case.
7411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7412 /* end confdefs.h. */
7414 # include <limits.h>
7416 # include <assert.h>
7420 if ac_fn_c_try_cpp "$LINENO"; then :
7423 # Broken: fails on valid input.
7426 rm -f conftest.err conftest.$ac_ext
7428 # OK, works on sane cases. Now check whether nonexistent headers
7429 # can be detected and how.
7430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7431 /* end confdefs.h. */
7432 #include <ac_nonexistent.h>
7434 if ac_fn_c_try_cpp "$LINENO"; then :
7435 # Broken: success on invalid input.
7438 # Passes both tests.
7442 rm -f conftest.err conftest.$ac_ext
7445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7446 rm -f conftest.err conftest.$ac_ext
7447 if $ac_preproc_ok; then :
7450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7452 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7453 See \`config.log' for more details." "$LINENO" 5; }
7457 ac_cpp='$CPP $CPPFLAGS'
7458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7464 $as_echo_n "checking for ANSI C header files... " >&6; }
7465 if test "${ac_cv_header_stdc+set}" = set; then :
7466 $as_echo_n "(cached) " >&6
7468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7469 /* end confdefs.h. */
7483 if ac_fn_c_try_compile "$LINENO"; then :
7484 ac_cv_header_stdc=yes
7486 ac_cv_header_stdc=no
7488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7490 if test $ac_cv_header_stdc = yes; then
7491 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7493 /* end confdefs.h. */
7497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7498 $EGREP "memchr" >/dev/null 2>&1; then :
7501 ac_cv_header_stdc=no
7507 if test $ac_cv_header_stdc = yes; then
7508 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7510 /* end confdefs.h. */
7514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7515 $EGREP "free" >/dev/null 2>&1; then :
7518 ac_cv_header_stdc=no
7524 if test $ac_cv_header_stdc = yes; then
7525 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7526 if test "$cross_compiling" = yes; then :
7529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7530 /* end confdefs.h. */
7533 #if ((' ' & 0x0FF) == 0x020)
7534 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7535 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7537 # define ISLOWER(c) \
7538 (('a' <= (c) && (c) <= 'i') \
7539 || ('j' <= (c) && (c) <= 'r') \
7540 || ('s' <= (c) && (c) <= 'z'))
7541 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7544 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7549 for (i = 0; i < 256; i++)
7550 if (XOR (islower (i), ISLOWER (i))
7551 || toupper (i) != TOUPPER (i))
7556 if ac_fn_c_try_run "$LINENO"; then :
7559 ac_cv_header_stdc=no
7561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7562 conftest.$ac_objext conftest.beam conftest.$ac_ext
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7568 $as_echo "$ac_cv_header_stdc" >&6; }
7569 if test $ac_cv_header_stdc = yes; then
7571 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7575 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7576 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7577 inttypes.h stdint.h unistd.h
7579 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7580 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7582 eval as_val=\$$as_ac_Header
7583 if test "x$as_val" = x""yes; then :
7584 cat >>confdefs.h <<_ACEOF
7585 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7593 for ac_header in dlfcn.h
7595 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7597 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7598 cat >>confdefs.h <<_ACEOF
7599 #define HAVE_DLFCN_H 1
7619 # Check whether --enable-shared was given.
7620 if test "${enable_shared+set}" = set; then :
7621 enableval=$enable_shared; p=${PACKAGE-default}
7623 yes) enable_shared=yes ;;
7624 no) enable_shared=no ;;
7627 # Look at the argument we got. We use all the common list separators.
7628 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7629 for pkg in $enableval; do
7631 if test "X$pkg" = "X$p"; then
7650 # Check whether --enable-static was given.
7651 if test "${enable_static+set}" = set; then :
7652 enableval=$enable_static; p=${PACKAGE-default}
7654 yes) enable_static=yes ;;
7655 no) enable_static=no ;;
7658 # Look at the argument we got. We use all the common list separators.
7659 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7660 for pkg in $enableval; do
7662 if test "X$pkg" = "X$p"; then
7682 # Check whether --with-pic was given.
7683 if test "${with_pic+set}" = set; then :
7684 withval=$with_pic; pic_mode="$withval"
7690 test -z "$pic_mode" && pic_mode=default
7698 # Check whether --enable-fast-install was given.
7699 if test "${enable_fast_install+set}" = set; then :
7700 enableval=$enable_fast_install; p=${PACKAGE-default}
7702 yes) enable_fast_install=yes ;;
7703 no) enable_fast_install=no ;;
7705 enable_fast_install=no
7706 # Look at the argument we got. We use all the common list separators.
7707 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7708 for pkg in $enableval; do
7710 if test "X$pkg" = "X$p"; then
7711 enable_fast_install=yes
7718 enable_fast_install=yes
7731 # This can be used to rebuild libtool when needed
7732 LIBTOOL_DEPS="$ltmain"
7734 # Always use our own libtool.
7735 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7762 test -z "$LN_S" && LN_S="ln -s"
7777 if test -n "${ZSH_VERSION+set}" ; then
7778 setopt NO_GLOB_SUBST
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7782 $as_echo_n "checking for objdir... " >&6; }
7783 if test "${lt_cv_objdir+set}" = set; then :
7784 $as_echo_n "(cached) " >&6
7786 rm -f .libs 2>/dev/null
7787 mkdir .libs 2>/dev/null
7788 if test -d .libs; then
7791 # MS-DOS does not allow filenames that begin with a dot.
7794 rmdir .libs 2>/dev/null
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7797 $as_echo "$lt_cv_objdir" >&6; }
7798 objdir=$lt_cv_objdir
7804 cat >>confdefs.h <<_ACEOF
7805 #define LT_OBJDIR "$lt_cv_objdir/"
7813 # AIX sometimes has problems with the GCC collect2 program. For some
7814 # reason, if we set the COLLECT_NAMES environment variable, the problems
7815 # vanish in a puff of smoke.
7816 if test "X${COLLECT_NAMES+set}" != Xset; then
7818 export COLLECT_NAMES
7825 can_build_shared=yes
7827 # All known linkers require a `.a' archive for static linking (except MSVC,
7828 # which needs '.lib').
7831 with_gnu_ld="$lt_cv_prog_gnu_ld"
7834 old_CFLAGS="$CFLAGS"
7836 # Set sane defaults for various variables
7837 test -z "$CC" && CC=cc
7838 test -z "$LTCC" && LTCC=$CC
7839 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7840 test -z "$LD" && LD=ld
7841 test -z "$ac_objext" && ac_objext=o
7843 for cc_temp in $compiler""; do
7845 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7846 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7851 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7854 # Only perform the check for file, if the check method requires it
7855 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7856 case $deplibs_check_method in
7858 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7860 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7861 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7862 $as_echo_n "(cached) " >&6
7866 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7869 lt_save_MAGIC_CMD="$MAGIC_CMD"
7870 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7871 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7872 for ac_dir in $ac_dummy; do
7874 test -z "$ac_dir" && ac_dir=.
7875 if test -f $ac_dir/${ac_tool_prefix}file; then
7876 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7877 if test -n "$file_magic_test_file"; then
7878 case $deplibs_check_method in
7880 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7881 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7882 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7883 $EGREP "$file_magic_regex" > /dev/null; then
7888 *** Warning: the command libtool uses to detect shared libraries,
7889 *** $file_magic_cmd, produces output that libtool cannot recognize.
7890 *** The result is that libtool may fail to recognize shared libraries
7891 *** as such. This will affect the creation of libtool libraries that
7892 *** depend on shared libraries, but programs linked with such libtool
7893 *** libraries will work regardless of this problem. Nevertheless, you
7894 *** may want to report the problem to your system manager and/or to
7895 *** bug-libtool@gnu.org
7905 MAGIC_CMD="$lt_save_MAGIC_CMD"
7910 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7911 if test -n "$MAGIC_CMD"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7913 $as_echo "$MAGIC_CMD" >&6; }
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7923 if test -z "$lt_cv_path_MAGIC_CMD"; then
7924 if test -n "$ac_tool_prefix"; then
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7926 $as_echo_n "checking for file... " >&6; }
7927 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7928 $as_echo_n "(cached) " >&6
7932 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7935 lt_save_MAGIC_CMD="$MAGIC_CMD"
7936 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7937 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7938 for ac_dir in $ac_dummy; do
7940 test -z "$ac_dir" && ac_dir=.
7941 if test -f $ac_dir/file; then
7942 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7943 if test -n "$file_magic_test_file"; then
7944 case $deplibs_check_method in
7946 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7947 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7948 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7949 $EGREP "$file_magic_regex" > /dev/null; then
7954 *** Warning: the command libtool uses to detect shared libraries,
7955 *** $file_magic_cmd, produces output that libtool cannot recognize.
7956 *** The result is that libtool may fail to recognize shared libraries
7957 *** as such. This will affect the creation of libtool libraries that
7958 *** depend on shared libraries, but programs linked with such libtool
7959 *** libraries will work regardless of this problem. Nevertheless, you
7960 *** may want to report the problem to your system manager and/or to
7961 *** bug-libtool@gnu.org
7971 MAGIC_CMD="$lt_save_MAGIC_CMD"
7976 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7977 if test -n "$MAGIC_CMD"; then
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7979 $as_echo "$MAGIC_CMD" >&6; }
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7982 $as_echo "no" >&6; }
7995 # Use C for the default configuration in the libtool script
7999 ac_cpp='$CPP $CPPFLAGS'
8000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8005 # Source file extension for C test sources.
8008 # Object file extension for compiled C test sources.
8012 # Code to be used in simple compile tests
8013 lt_simple_compile_test_code="int some_variable = 0;"
8015 # Code to be used in simple link tests
8016 lt_simple_link_test_code='int main(){return(0);}'
8024 # If no C compiler was specified, use CC.
8027 # If no C compiler flags were specified, use CFLAGS.
8028 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8030 # Allow CC to be a program name with arguments.
8033 # Save the default compiler, since it gets overwritten when the other
8034 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8035 compiler_DEFAULT=$CC
8037 # save warnings/boilerplate of simple test code
8038 ac_outfile=conftest.$ac_objext
8039 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8040 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8041 _lt_compiler_boilerplate=`cat conftest.err`
8044 ac_outfile=conftest.$ac_objext
8045 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8046 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8047 _lt_linker_boilerplate=`cat conftest.err`
8052 ## There is no encapsulation within the following macros, do not change
8053 ## the running order or otherwise move them around unless you know exactly
8054 ## what you are doing...
8055 if test -n "$compiler"; then
8057 lt_prog_compiler_no_builtin_flag=
8059 if test "$GCC" = yes; then
8060 case $cc_basename in
8062 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8064 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8068 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8069 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8070 $as_echo_n "(cached) " >&6
8072 lt_cv_prog_compiler_rtti_exceptions=no
8073 ac_outfile=conftest.$ac_objext
8074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8075 lt_compiler_flag="-fno-rtti -fno-exceptions"
8076 # Insert the option either (1) after the last *FLAGS variable, or
8077 # (2) before a word containing "conftest.", or (3) at the end.
8078 # Note that $ac_compile itself does not contain backslashes and begins
8079 # with a dollar sign (not a hyphen), so the echo should work correctly.
8080 # The option is referenced via a variable to avoid confusing sed.
8081 lt_compile=`echo "$ac_compile" | $SED \
8082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8084 -e 's:$: $lt_compiler_flag:'`
8085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8086 (eval "$lt_compile" 2>conftest.err)
8088 cat conftest.err >&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 if (exit $ac_status) && test -s "$ac_outfile"; then
8091 # The compiler can only warn and ignore the option if not recognized
8092 # So say no if there are warnings other than the usual output.
8093 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8094 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8095 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8096 lt_cv_prog_compiler_rtti_exceptions=yes
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8103 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8105 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8106 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8118 lt_prog_compiler_wl=
8119 lt_prog_compiler_pic=
8120 lt_prog_compiler_static=
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8123 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8125 if test "$GCC" = yes; then
8126 lt_prog_compiler_wl='-Wl,'
8127 lt_prog_compiler_static='-static'
8131 # All AIX code is PIC.
8132 if test "$host_cpu" = ia64; then
8133 # AIX 5 now supports IA64 processor
8134 lt_prog_compiler_static='-Bstatic'
8136 lt_prog_compiler_pic='-fPIC'
8142 # see comment about AmigaOS4 .so support
8143 lt_prog_compiler_pic='-fPIC'
8146 # FIXME: we need at least 68020 code to build shared libraries, but
8147 # adding the `-m68020' flag to GCC prevents building anything better,
8149 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8154 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8155 # PIC is the default for these OSes.
8158 mingw* | cygwin* | pw32* | os2* | cegcc*)
8159 # This hack is so that the source file can tell whether it is being
8160 # built for inclusion in a dll (and should export symbols for example).
8161 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8162 # (--disable-auto-import) libraries
8163 lt_prog_compiler_pic='-DDLL_EXPORT'
8166 darwin* | rhapsody*)
8167 # PIC is the default on this platform
8168 # Common symbols not allowed in MH_DYLIB files
8169 lt_prog_compiler_pic='-fno-common'
8173 # PIC is the default for Haiku.
8174 # The "-static" flag exists, but is broken.
8175 lt_prog_compiler_static=
8179 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8180 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8181 # sets the default TLS model and affects inlining.
8187 lt_prog_compiler_pic='-fPIC'
8193 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8194 # Instead, we relocate shared libraries at runtime.
8198 # Just because we use GCC doesn't mean we suddenly get shared libraries
8199 # on systems that don't support them.
8200 lt_prog_compiler_can_build_shared=no
8205 # QNX uses GNU C++, but need to define -shared option too, otherwise
8207 lt_prog_compiler_pic='-fPIC -shared'
8211 if test -d /usr/nec; then
8212 lt_prog_compiler_pic=-Kconform_pic
8217 lt_prog_compiler_pic='-fPIC'
8221 case $cc_basename in
8222 nvcc*) # Cuda Compiler Driver 2.2
8223 lt_prog_compiler_wl='-Xlinker '
8224 lt_prog_compiler_pic='-Xcompiler -fPIC'
8228 # PORTME Check for flag to pass linker flags through the system compiler.
8231 lt_prog_compiler_wl='-Wl,'
8232 if test "$host_cpu" = ia64; then
8233 # AIX 5 now supports IA64 processor
8234 lt_prog_compiler_static='-Bstatic'
8236 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8240 mingw* | cygwin* | pw32* | os2* | cegcc*)
8241 # This hack is so that the source file can tell whether it is being
8242 # built for inclusion in a dll (and should export symbols for example).
8243 lt_prog_compiler_pic='-DDLL_EXPORT'
8246 hpux9* | hpux10* | hpux11*)
8247 lt_prog_compiler_wl='-Wl,'
8248 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8255 lt_prog_compiler_pic='+Z'
8258 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8259 lt_prog_compiler_static='${wl}-a ${wl}archive'
8262 irix5* | irix6* | nonstopux*)
8263 lt_prog_compiler_wl='-Wl,'
8264 # PIC (with -KPIC) is the default.
8265 lt_prog_compiler_static='-non_shared'
8268 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8269 case $cc_basename in
8270 # old Intel for x86_64 which still supported -KPIC.
8272 lt_prog_compiler_wl='-Wl,'
8273 lt_prog_compiler_pic='-KPIC'
8274 lt_prog_compiler_static='-static'
8276 # icc used to be incompatible with GCC.
8277 # ICC 10 doesn't accept -KPIC any more.
8279 lt_prog_compiler_wl='-Wl,'
8280 lt_prog_compiler_pic='-fPIC'
8281 lt_prog_compiler_static='-static'
8283 # Lahey Fortran 8.1.
8285 lt_prog_compiler_wl='-Wl,'
8286 lt_prog_compiler_pic='--shared'
8287 lt_prog_compiler_static='--static'
8289 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8290 # Portland Group compilers (*not* the Pentium gcc compiler,
8291 # which looks to be a dead project)
8292 lt_prog_compiler_wl='-Wl,'
8293 lt_prog_compiler_pic='-fpic'
8294 lt_prog_compiler_static='-Bstatic'
8297 lt_prog_compiler_wl='-Wl,'
8298 # All Alpha code is PIC.
8299 lt_prog_compiler_static='-non_shared'
8301 xl* | bgxl* | bgf* | mpixl*)
8302 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8303 lt_prog_compiler_wl='-Wl,'
8304 lt_prog_compiler_pic='-qpic'
8305 lt_prog_compiler_static='-qstaticlink'
8308 case `$CC -V 2>&1 | sed 5q` in
8309 *Sun\ F* | *Sun*Fortran*)
8310 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8311 lt_prog_compiler_pic='-KPIC'
8312 lt_prog_compiler_static='-Bstatic'
8313 lt_prog_compiler_wl=''
8317 lt_prog_compiler_pic='-KPIC'
8318 lt_prog_compiler_static='-Bstatic'
8319 lt_prog_compiler_wl='-Wl,'
8327 lt_prog_compiler_pic='-KPIC'
8328 lt_prog_compiler_static='-Bstatic'
8332 # QNX uses GNU C++, but need to define -shared option too, otherwise
8334 lt_prog_compiler_pic='-fPIC -shared'
8337 osf3* | osf4* | osf5*)
8338 lt_prog_compiler_wl='-Wl,'
8339 # All OSF/1 code is PIC.
8340 lt_prog_compiler_static='-non_shared'
8344 lt_prog_compiler_static='-non_shared'
8348 lt_prog_compiler_pic='-KPIC'
8349 lt_prog_compiler_static='-Bstatic'
8350 case $cc_basename in
8352 lt_prog_compiler_wl='-Qoption ld ';;
8354 lt_prog_compiler_wl='-Wl,';;
8359 lt_prog_compiler_wl='-Qoption ld '
8360 lt_prog_compiler_pic='-PIC'
8361 lt_prog_compiler_static='-Bstatic'
8364 sysv4 | sysv4.2uw2* | sysv4.3*)
8365 lt_prog_compiler_wl='-Wl,'
8366 lt_prog_compiler_pic='-KPIC'
8367 lt_prog_compiler_static='-Bstatic'
8371 if test -d /usr/nec ;then
8372 lt_prog_compiler_pic='-Kconform_pic'
8373 lt_prog_compiler_static='-Bstatic'
8377 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8378 lt_prog_compiler_wl='-Wl,'
8379 lt_prog_compiler_pic='-KPIC'
8380 lt_prog_compiler_static='-Bstatic'
8384 lt_prog_compiler_wl='-Wl,'
8385 lt_prog_compiler_can_build_shared=no
8389 lt_prog_compiler_pic='-pic'
8390 lt_prog_compiler_static='-Bstatic'
8394 lt_prog_compiler_can_build_shared=no
8400 # For platforms which do not support PIC, -DPIC is meaningless:
8402 lt_prog_compiler_pic=
8405 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8409 $as_echo "$lt_prog_compiler_pic" >&6; }
8417 # Check to make sure the PIC flag actually works.
8419 if test -n "$lt_prog_compiler_pic"; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8421 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8422 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8423 $as_echo_n "(cached) " >&6
8425 lt_cv_prog_compiler_pic_works=no
8426 ac_outfile=conftest.$ac_objext
8427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8428 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8429 # Insert the option either (1) after the last *FLAGS variable, or
8430 # (2) before a word containing "conftest.", or (3) at the end.
8431 # Note that $ac_compile itself does not contain backslashes and begins
8432 # with a dollar sign (not a hyphen), so the echo should work correctly.
8433 # The option is referenced via a variable to avoid confusing sed.
8434 lt_compile=`echo "$ac_compile" | $SED \
8435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8437 -e 's:$: $lt_compiler_flag:'`
8438 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8439 (eval "$lt_compile" 2>conftest.err)
8441 cat conftest.err >&5
8442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 if (exit $ac_status) && test -s "$ac_outfile"; then
8444 # The compiler can only warn and ignore the option if not recognized
8445 # So say no if there are warnings other than the usual output.
8446 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8448 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8449 lt_cv_prog_compiler_pic_works=yes
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8456 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8458 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8459 case $lt_prog_compiler_pic in
8461 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8464 lt_prog_compiler_pic=
8465 lt_prog_compiler_can_build_shared=no
8476 # Check to make sure the static flag actually works.
8478 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8480 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8481 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8482 $as_echo_n "(cached) " >&6
8484 lt_cv_prog_compiler_static_works=no
8485 save_LDFLAGS="$LDFLAGS"
8486 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8487 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8488 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8489 # The linker can only warn and ignore the option if not recognized
8490 # So say no if there are warnings
8491 if test -s conftest.err; then
8492 # Append any errors to the config.log.
8493 cat conftest.err 1>&5
8494 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8495 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8496 if diff conftest.exp conftest.er2 >/dev/null; then
8497 lt_cv_prog_compiler_static_works=yes
8500 lt_cv_prog_compiler_static_works=yes
8504 LDFLAGS="$save_LDFLAGS"
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8508 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8510 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8513 lt_prog_compiler_static=
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8523 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8524 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8525 $as_echo_n "(cached) " >&6
8527 lt_cv_prog_compiler_c_o=no
8528 $RM -r conftest 2>/dev/null
8532 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8534 lt_compiler_flag="-o out/conftest2.$ac_objext"
8535 # Insert the option either (1) after the last *FLAGS variable, or
8536 # (2) before a word containing "conftest.", or (3) at the end.
8537 # Note that $ac_compile itself does not contain backslashes and begins
8538 # with a dollar sign (not a hyphen), so the echo should work correctly.
8539 lt_compile=`echo "$ac_compile" | $SED \
8540 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8541 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8542 -e 's:$: $lt_compiler_flag:'`
8543 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8544 (eval "$lt_compile" 2>out/conftest.err)
8546 cat out/conftest.err >&5
8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8550 # The compiler can only warn and ignore the option if not recognized
8551 # So say no if there are warnings
8552 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8553 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8554 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8555 lt_cv_prog_compiler_c_o=yes
8560 # SGI C++ compiler will create directory out/ii_files/ for
8561 # template instantiation
8562 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8563 $RM out/* && rmdir out
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8570 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8578 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8579 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8580 $as_echo_n "(cached) " >&6
8582 lt_cv_prog_compiler_c_o=no
8583 $RM -r conftest 2>/dev/null
8587 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8589 lt_compiler_flag="-o out/conftest2.$ac_objext"
8590 # Insert the option either (1) after the last *FLAGS variable, or
8591 # (2) before a word containing "conftest.", or (3) at the end.
8592 # Note that $ac_compile itself does not contain backslashes and begins
8593 # with a dollar sign (not a hyphen), so the echo should work correctly.
8594 lt_compile=`echo "$ac_compile" | $SED \
8595 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8596 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8597 -e 's:$: $lt_compiler_flag:'`
8598 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8599 (eval "$lt_compile" 2>out/conftest.err)
8601 cat out/conftest.err >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8605 # The compiler can only warn and ignore the option if not recognized
8606 # So say no if there are warnings
8607 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8608 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8609 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8610 lt_cv_prog_compiler_c_o=yes
8615 # SGI C++ compiler will create directory out/ii_files/ for
8616 # template instantiation
8617 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8618 $RM out/* && rmdir out
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8625 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8630 hard_links="nottested"
8631 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8632 # do not overwrite the value of need_locks provided by the user
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8634 $as_echo_n "checking if we can lock with hard links... " >&6; }
8637 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8639 ln conftest.a conftest.b 2>&5 || hard_links=no
8640 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8642 $as_echo "$hard_links" >&6; }
8643 if test "$hard_links" = no; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8645 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8658 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8661 allow_undefined_flag=
8662 always_export_symbols=no
8664 archive_expsym_cmds=
8665 compiler_needs_object=no
8666 enable_shared_with_static_runtimes=no
8667 export_dynamic_flag_spec=
8668 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8669 hardcode_automatic=no
8671 hardcode_direct_absolute=no
8672 hardcode_libdir_flag_spec=
8673 hardcode_libdir_flag_spec_ld=
8674 hardcode_libdir_separator=
8676 hardcode_shlibpath_var=unsupported
8678 link_all_deplibs=unknown
8681 old_archive_from_new_cmds=
8682 old_archive_from_expsyms_cmds=
8683 thread_safe_flag_spec=
8684 whole_archive_flag_spec=
8685 # include_expsyms should be a list of space-separated symbols to be *always*
8686 # included in the symbol list
8688 # exclude_expsyms can be an extended regexp of symbols to exclude
8689 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8690 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8691 # as well as any symbol that contains `d'.
8692 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8693 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8694 # platforms (ab)use it in PIC code, but their linkers get confused if
8695 # the symbol is explicitly referenced. Since portable code cannot
8696 # rely on this symbol name, it's probably fine to never include it in
8697 # preloaded symbol tables.
8698 # Exclude shared library initialization/finalization symbols.
8699 extract_expsyms_cmds=
8702 cygwin* | mingw* | pw32* | cegcc*)
8703 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8704 # When not using gcc, we currently assume that we are using
8705 # Microsoft Visual C++.
8706 if test "$GCC" != yes; then
8711 # we just hope/assume this is gcc and not c89 (= MSVC++)
8721 # On some targets, GNU ld is compatible enough with the native linker
8722 # that we're better off using the native interface for both.
8723 lt_use_gnu_ld_interface=no
8724 if test "$with_gnu_ld" = yes; then
8727 # The AIX port of GNU ld has always aspired to compatibility
8728 # with the native linker. However, as the warning in the GNU ld
8729 # block says, versions before 2.19.5* couldn't really create working
8730 # shared libraries, regardless of the interface used.
8731 case `$LD -v 2>&1` in
8732 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8733 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8734 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8736 lt_use_gnu_ld_interface=yes
8741 lt_use_gnu_ld_interface=yes
8746 if test "$lt_use_gnu_ld_interface" = yes; then
8747 # If archive_cmds runs LD, not CC, wlarc should be empty
8750 # Set some defaults for GNU ld with shared library support. These
8751 # are reset later if shared libraries are not supported. Putting them
8752 # here allows them to be overridden if necessary.
8753 runpath_var=LD_RUN_PATH
8754 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8755 export_dynamic_flag_spec='${wl}--export-dynamic'
8756 # ancient GNU ld didn't support --whole-archive et. al.
8757 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8758 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8760 whole_archive_flag_spec=
8762 supports_anon_versioning=no
8763 case `$LD -v 2>&1` in
8764 *GNU\ gold*) supports_anon_versioning=yes ;;
8765 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8766 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8767 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8768 *\ 2.11.*) ;; # other 2.11 versions
8769 *) supports_anon_versioning=yes ;;
8772 # See if GNU ld supports shared libraries.
8775 # On AIX/PPC, the GNU linker is very broken
8776 if test "$host_cpu" != ia64; then
8780 *** Warning: the GNU linker, at least up to release 2.19, is reported
8781 *** to be unable to reliably create shared libraries on AIX.
8782 *** Therefore, libtool is disabling shared libraries support. If you
8783 *** really care for shared libraries, you may want to install binutils
8784 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8785 *** You will then need to restart the configuration process.
8794 # see comment about AmigaOS4 .so support
8795 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8796 archive_expsym_cmds=''
8799 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)'
8800 hardcode_libdir_flag_spec='-L$libdir'
8801 hardcode_minus_L=yes
8807 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8808 allow_undefined_flag=unsupported
8809 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8810 # support --undefined. This deserves some investigation. FIXME
8811 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8817 cygwin* | mingw* | pw32* | cegcc*)
8818 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8819 # as there is no search path for DLLs.
8820 hardcode_libdir_flag_spec='-L$libdir'
8821 export_dynamic_flag_spec='${wl}--export-all-symbols'
8822 allow_undefined_flag=unsupported
8823 always_export_symbols=no
8824 enable_shared_with_static_runtimes=yes
8825 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8827 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8828 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8829 # If the export-symbols file already is a .def file (1st line
8830 # is EXPORTS), use it as is; otherwise, prepend...
8831 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8832 cp $export_symbols $output_objdir/$soname.def;
8834 echo EXPORTS > $output_objdir/$soname.def;
8835 cat $export_symbols >> $output_objdir/$soname.def;
8837 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8844 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8845 link_all_deplibs=yes
8850 hardcode_shlibpath_var=no
8851 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8852 export_dynamic_flag_spec='${wl}-E'
8853 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8854 # Instead, shared libraries are loaded at an image base (0x10000000 by
8855 # default) and relocated if they conflict, which is a slow very memory
8856 # consuming and fragmenting process. To avoid this, we pick a random,
8857 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8858 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8859 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8860 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'
8863 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8865 if test "$host_os" = linux-dietlibc; then
8866 case $cc_basename in
8867 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8870 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8871 && test "$tmp_diet" = no
8874 tmp_sharedflag='-shared'
8875 case $cc_basename,$host_cpu in
8876 pgcc*) # Portland Group C compiler
8877 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'
8878 tmp_addflag=' $pic_flag'
8880 pgf77* | pgf90* | pgf95* | pgfortran*)
8881 # Portland Group f77 and f90 compilers
8882 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'
8883 tmp_addflag=' $pic_flag -Mnomain' ;;
8884 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8885 tmp_addflag=' -i_dynamic' ;;
8886 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8887 tmp_addflag=' -i_dynamic -nofor_main' ;;
8888 ifc* | ifort*) # Intel Fortran compiler
8889 tmp_addflag=' -nofor_main' ;;
8890 lf95*) # Lahey Fortran 8.1
8891 whole_archive_flag_spec=
8892 tmp_sharedflag='--shared' ;;
8893 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8894 tmp_sharedflag='-qmkshrobj'
8896 nvcc*) # Cuda Compiler Driver 2.2
8897 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'
8898 compiler_needs_object=yes
8901 case `$CC -V 2>&1 | sed 5q` in
8902 *Sun\ C*) # Sun C 5.9
8903 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'
8904 compiler_needs_object=yes
8905 tmp_sharedflag='-G' ;;
8906 *Sun\ F*) # Sun Fortran 8.3
8907 tmp_sharedflag='-G' ;;
8909 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8911 if test "x$supports_anon_versioning" = xyes; then
8912 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8913 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8914 echo "local: *; };" >> $output_objdir/$libname.ver~
8915 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8918 case $cc_basename in
8919 xlf* | bgf* | bgxlf* | mpixlf*)
8920 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8921 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8922 hardcode_libdir_flag_spec=
8923 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8924 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8925 if test "x$supports_anon_versioning" = xyes; then
8926 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8927 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8928 echo "local: *; };" >> $output_objdir/$libname.ver~
8929 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8939 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8940 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8943 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8944 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8949 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8953 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8954 *** create shared libraries on Solaris systems. Therefore, libtool
8955 *** is disabling shared libraries support. We urge you to upgrade GNU
8956 *** binutils to release 2.9.1 or newer. Another option is to modify
8957 *** your PATH or compiler configuration so that the native linker is
8958 *** used, and then restart.
8961 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8962 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8963 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8969 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8970 case `$LD -v 2>&1` in
8971 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8975 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8976 *** reliably create shared libraries on SCO systems. Therefore, libtool
8977 *** is disabling shared libraries support. We urge you to upgrade GNU
8978 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8979 *** your PATH or compiler configuration so that the native linker is
8980 *** used, and then restart.
8985 # For security reasons, it is highly recommended that you always
8986 # use absolute paths for naming shared libraries, and exclude the
8987 # DT_RUNPATH tag from executables and libraries. But doing so
8988 # requires that you compile everything twice, which is a pain.
8989 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8990 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8991 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8992 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9001 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9004 hardcode_shlibpath_var=no
9008 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9009 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9010 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9017 if test "$ld_shlibs" = no; then
9019 hardcode_libdir_flag_spec=
9020 export_dynamic_flag_spec=
9021 whole_archive_flag_spec=
9024 # PORTME fill in a description of your system's linker (not GNU ld)
9027 allow_undefined_flag=unsupported
9028 always_export_symbols=yes
9029 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'
9030 # Note: this linker hardcodes the directories in LIBPATH if there
9031 # are no directories specified by -L.
9032 hardcode_minus_L=yes
9033 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9034 # Neither direct hardcoding nor static linking is supported with a
9036 hardcode_direct=unsupported
9041 if test "$host_cpu" = ia64; then
9042 # On IA64, the linker does run time linking by default, so we don't
9043 # have to do anything special.
9044 aix_use_runtimelinking=no
9045 exp_sym_flag='-Bexport'
9048 # If we're using GNU nm, then we don't want the "-C" option.
9049 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9050 # Also, AIX nm treats weak defined symbols like other global
9051 # defined symbols, whereas GNU nm marks them as "W".
9052 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9053 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'
9055 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'
9057 aix_use_runtimelinking=no
9059 # Test if we are trying to use run time linking or normal
9060 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9061 # need to do runtime linking.
9062 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9063 for ld_flag in $LDFLAGS; do
9064 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9065 aix_use_runtimelinking=yes
9072 exp_sym_flag='-bexport'
9073 no_entry_flag='-bnoentry'
9076 # When large executables or shared objects are built, AIX ld can
9077 # have problems creating the table of contents. If linking a library
9078 # or program results in "error TOC overflow" add -mminimal-toc to
9079 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9080 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9084 hardcode_direct_absolute=yes
9085 hardcode_libdir_separator=':'
9086 link_all_deplibs=yes
9087 file_list_spec='${wl}-f,'
9089 if test "$GCC" = yes; then
9090 case $host_os in aix4.[012]|aix4.[012].*)
9091 # We only want to do this on AIX 4.2 and lower, the check
9092 # below for broken collect2 doesn't work under 4.3+
9093 collect2name=`${CC} -print-prog-name=collect2`
9094 if test -f "$collect2name" &&
9095 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9097 # We have reworked collect2
9100 # We have old collect2
9101 hardcode_direct=unsupported
9102 # It fails to find uninstalled libraries when the uninstalled
9103 # path is not listed in the libpath. Setting hardcode_minus_L
9104 # to unsupported forces relinking
9105 hardcode_minus_L=yes
9106 hardcode_libdir_flag_spec='-L$libdir'
9107 hardcode_libdir_separator=
9111 shared_flag='-shared'
9112 if test "$aix_use_runtimelinking" = yes; then
9113 shared_flag="$shared_flag "'${wl}-G'
9117 if test "$host_cpu" = ia64; then
9118 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9119 # chokes on -Wl,-G. The following line is correct:
9122 if test "$aix_use_runtimelinking" = yes; then
9123 shared_flag='${wl}-G'
9125 shared_flag='${wl}-bM:SRE'
9130 export_dynamic_flag_spec='${wl}-bexpall'
9131 # It seems that -bexpall does not export symbols beginning with
9132 # underscore (_), so it is better to generate a list of symbols to export.
9133 always_export_symbols=yes
9134 if test "$aix_use_runtimelinking" = yes; then
9135 # Warning - without using the other runtime loading flags (-brtl),
9136 # -berok will link without error, but may produce a broken library.
9137 allow_undefined_flag='-berok'
9138 # Determine the default libpath from the value encoded in an
9140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9151 if ac_fn_c_try_link "$LINENO"; then :
9153 lt_aix_libpath_sed='
9154 /Import File Strings/,/^$/ {
9160 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9161 # Check for a 64-bit object if we didn't find anything.
9162 if test -z "$aix_libpath"; then
9163 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9166 rm -f core conftest.err conftest.$ac_objext \
9167 conftest$ac_exeext conftest.$ac_ext
9168 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9170 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9171 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"
9173 if test "$host_cpu" = ia64; then
9174 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9175 allow_undefined_flag="-z nodefs"
9176 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"
9178 # Determine the default libpath from the value encoded in an
9180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9191 if ac_fn_c_try_link "$LINENO"; then :
9193 lt_aix_libpath_sed='
9194 /Import File Strings/,/^$/ {
9200 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9201 # Check for a 64-bit object if we didn't find anything.
9202 if test -z "$aix_libpath"; then
9203 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9208 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9210 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9211 # Warning - without using the other run time loading flags,
9212 # -berok will link without error, but may produce a broken library.
9213 no_undefined_flag=' ${wl}-bernotok'
9214 allow_undefined_flag=' ${wl}-berok'
9215 if test "$with_gnu_ld" = yes; then
9216 # We only use this code for GNU lds that support --whole-archive.
9217 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9219 # Exported symbols can be pulled into shared objects from archives
9220 whole_archive_flag_spec='$convenience'
9222 archive_cmds_need_lc=yes
9223 # This is similar to how AIX traditionally builds its shared libraries.
9224 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'
9232 # see comment about AmigaOS4 .so support
9233 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9234 archive_expsym_cmds=''
9237 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)'
9238 hardcode_libdir_flag_spec='-L$libdir'
9239 hardcode_minus_L=yes
9245 export_dynamic_flag_spec=-rdynamic
9248 cygwin* | mingw* | pw32* | cegcc*)
9249 # When not using gcc, we currently assume that we are using
9250 # Microsoft Visual C++.
9251 # hardcode_libdir_flag_spec is actually meaningless, as there is
9252 # no search path for DLLs.
9253 hardcode_libdir_flag_spec=' '
9254 allow_undefined_flag=unsupported
9255 # Tell ltmain to make .lib files, not .a files.
9257 # Tell ltmain to make .dll files, not .so files.
9259 # FIXME: Setting linknames here is a bad hack.
9260 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9261 # The linker will automatically build a .lib file if we build a DLL.
9262 old_archive_from_new_cmds='true'
9263 # FIXME: Should let the user specify the lib program.
9264 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9265 fix_srcfile_path='`cygpath -w "$srcfile"`'
9266 enable_shared_with_static_runtimes=yes
9269 darwin* | rhapsody*)
9272 archive_cmds_need_lc=no
9274 hardcode_automatic=yes
9275 hardcode_shlibpath_var=unsupported
9276 if test "$lt_cv_ld_force_load" = "yes"; then
9277 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\"`'
9279 whole_archive_flag_spec=''
9281 link_all_deplibs=yes
9282 allow_undefined_flag="$_lt_dar_allow_undefined"
9283 case $cc_basename in
9284 ifort*) _lt_dar_can_shared=yes ;;
9285 *) _lt_dar_can_shared=$GCC ;;
9287 if test "$_lt_dar_can_shared" = "yes"; then
9288 output_verbose_link_cmd=func_echo_all
9289 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9290 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9291 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}"
9292 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}"
9301 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9302 hardcode_libdir_flag_spec='-L$libdir'
9303 hardcode_shlibpath_var=no
9306 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9307 # support. Future versions do this automatically, but an explicit c++rt0.o
9308 # does not break anything, and helps significantly (at the cost of a little
9311 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9312 hardcode_libdir_flag_spec='-R$libdir'
9314 hardcode_shlibpath_var=no
9317 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9319 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9321 hardcode_minus_L=yes
9322 hardcode_shlibpath_var=no
9325 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9326 freebsd* | dragonfly*)
9327 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9328 hardcode_libdir_flag_spec='-R$libdir'
9330 hardcode_shlibpath_var=no
9334 if test "$GCC" = yes; then
9335 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'
9337 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'
9339 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9340 hardcode_libdir_separator=:
9343 # hardcode_minus_L: Not really in the search PATH,
9344 # but as the default location of the library.
9345 hardcode_minus_L=yes
9346 export_dynamic_flag_spec='${wl}-E'
9350 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9351 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9353 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9355 if test "$with_gnu_ld" = no; then
9356 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9357 hardcode_libdir_flag_spec_ld='+b $libdir'
9358 hardcode_libdir_separator=:
9360 hardcode_direct_absolute=yes
9361 export_dynamic_flag_spec='${wl}-E'
9362 # hardcode_minus_L: Not really in the search PATH,
9363 # but as the default location of the library.
9364 hardcode_minus_L=yes
9369 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9372 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9375 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9378 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9384 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9387 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9391 # Older versions of the 11.00 compiler do not understand -b yet
9392 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9394 $as_echo_n "checking if $CC understands -b... " >&6; }
9395 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9396 $as_echo_n "(cached) " >&6
9398 lt_cv_prog_compiler__b=no
9399 save_LDFLAGS="$LDFLAGS"
9400 LDFLAGS="$LDFLAGS -b"
9401 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9402 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9403 # The linker can only warn and ignore the option if not recognized
9404 # So say no if there are warnings
9405 if test -s conftest.err; then
9406 # Append any errors to the config.log.
9407 cat conftest.err 1>&5
9408 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9409 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9410 if diff conftest.exp conftest.er2 >/dev/null; then
9411 lt_cv_prog_compiler__b=yes
9414 lt_cv_prog_compiler__b=yes
9418 LDFLAGS="$save_LDFLAGS"
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9422 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9424 if test x"$lt_cv_prog_compiler__b" = xyes; then
9425 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9427 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9433 if test "$with_gnu_ld" = no; then
9434 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9435 hardcode_libdir_separator=:
9440 hardcode_shlibpath_var=no
9444 hardcode_direct_absolute=yes
9445 export_dynamic_flag_spec='${wl}-E'
9447 # hardcode_minus_L: Not really in the search PATH,
9448 # but as the default location of the library.
9449 hardcode_minus_L=yes
9455 irix5* | irix6* | nonstopux*)
9456 if test "$GCC" = yes; then
9457 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'
9458 # Try to use the -exported_symbol ld option, if it does not
9459 # work, assume that -exports_file does not work either and
9460 # implicitly export all symbols.
9461 save_LDFLAGS="$LDFLAGS"
9462 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h. */
9467 if ac_fn_c_try_link "$LINENO"; then :
9468 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'
9471 rm -f core conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9473 LDFLAGS="$save_LDFLAGS"
9475 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'
9476 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'
9478 archive_cmds_need_lc='no'
9479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9480 hardcode_libdir_separator=:
9482 link_all_deplibs=yes
9486 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9487 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9489 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9491 hardcode_libdir_flag_spec='-R$libdir'
9493 hardcode_shlibpath_var=no
9497 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9499 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9500 hardcode_libdir_separator=:
9501 hardcode_shlibpath_var=no
9508 if test -f /usr/libexec/ld.so; then
9510 hardcode_shlibpath_var=no
9511 hardcode_direct_absolute=yes
9512 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9513 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9514 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9515 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9516 export_dynamic_flag_spec='${wl}-E'
9519 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9520 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9521 hardcode_libdir_flag_spec='-R$libdir'
9524 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9525 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9535 hardcode_libdir_flag_spec='-L$libdir'
9536 hardcode_minus_L=yes
9537 allow_undefined_flag=unsupported
9538 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'
9539 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9543 if test "$GCC" = yes; then
9544 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9545 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'
9547 allow_undefined_flag=' -expect_unresolved \*'
9548 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'
9550 archive_cmds_need_lc='no'
9551 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9552 hardcode_libdir_separator=:
9555 osf4* | osf5*) # as osf3* with the addition of -msym flag
9556 if test "$GCC" = yes; then
9557 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9558 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'
9559 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9561 allow_undefined_flag=' -expect_unresolved \*'
9562 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'
9563 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~
9564 $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'
9566 # Both c and cxx compiler support -rpath directly
9567 hardcode_libdir_flag_spec='-rpath $libdir'
9569 archive_cmds_need_lc='no'
9570 hardcode_libdir_separator=:
9574 no_undefined_flag=' -z defs'
9575 if test "$GCC" = yes; then
9577 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9578 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9579 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9581 case `$CC -V 2>&1` in
9584 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9585 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9586 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9590 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9591 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9592 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9596 hardcode_libdir_flag_spec='-R$libdir'
9597 hardcode_shlibpath_var=no
9599 solaris2.[0-5] | solaris2.[0-5].*) ;;
9601 # The compiler driver will combine and reorder linker options,
9602 # but understands `-z linker_flag'. GCC discards it without `$wl',
9603 # but is careful enough not to reorder.
9604 # Supported since Solaris 2.6 (maybe 2.5.1?)
9605 if test "$GCC" = yes; then
9606 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9608 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9612 link_all_deplibs=yes
9616 if test "x$host_vendor" = xsequent; then
9617 # Use $CC to link under sequent, because it throws in some extra .o
9618 # files that make .init and .fini sections work.
9619 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9621 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9623 hardcode_libdir_flag_spec='-L$libdir'
9625 hardcode_minus_L=yes
9626 hardcode_shlibpath_var=no
9630 case $host_vendor in
9632 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9633 hardcode_direct=yes # is this really true???
9636 ## LD is ld it makes a PLAMLIB
9637 ## CC just makes a GrossModule.
9638 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9639 reload_cmds='$CC -r -o $output$reload_objs'
9643 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9644 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9647 runpath_var='LD_RUN_PATH'
9648 hardcode_shlibpath_var=no
9652 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9653 hardcode_shlibpath_var=no
9654 export_dynamic_flag_spec='-Bexport'
9658 if test -d /usr/nec; then
9659 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9660 hardcode_shlibpath_var=no
9661 runpath_var=LD_RUN_PATH
9662 hardcode_runpath_var=yes
9667 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9668 no_undefined_flag='${wl}-z,text'
9669 archive_cmds_need_lc=no
9670 hardcode_shlibpath_var=no
9671 runpath_var='LD_RUN_PATH'
9673 if test "$GCC" = yes; then
9674 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9675 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9677 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9678 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9682 sysv5* | sco3.2v5* | sco5v6*)
9683 # Note: We can NOT use -z defs as we might desire, because we do not
9684 # link with -lc, and that would cause any symbols used from libc to
9685 # always be unresolved, which means just about no library would
9686 # ever link correctly. If we're not using GNU ld we use -z text
9687 # though, which does catch some bad symbols but isn't as heavy-handed
9689 no_undefined_flag='${wl}-z,text'
9690 allow_undefined_flag='${wl}-z,nodefs'
9691 archive_cmds_need_lc=no
9692 hardcode_shlibpath_var=no
9693 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9694 hardcode_libdir_separator=':'
9695 link_all_deplibs=yes
9696 export_dynamic_flag_spec='${wl}-Bexport'
9697 runpath_var='LD_RUN_PATH'
9699 if test "$GCC" = yes; then
9700 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9701 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9703 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9704 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9709 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9710 hardcode_libdir_flag_spec='-L$libdir'
9711 hardcode_shlibpath_var=no
9719 if test x$host_vendor = xsni; then
9721 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9722 export_dynamic_flag_spec='${wl}-Blargedynsym'
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9729 $as_echo "$ld_shlibs" >&6; }
9730 test "$ld_shlibs" = no && can_build_shared=no
9732 with_gnu_ld=$with_gnu_ld
9749 # Do we need to explicitly link libc?
9751 case "x$archive_cmds_need_lc" in
9753 # Assume -lc should be added
9754 archive_cmds_need_lc=yes
9756 if test "$enable_shared" = yes && test "$GCC" = yes; then
9757 case $archive_cmds in
9759 # FIXME: we may have to deal with multi-command sequences.
9762 # Test whether the compiler implicitly links with -lc since on some
9763 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9764 # to ld, don't add -lc before -lgcc.
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9766 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9767 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9768 $as_echo_n "(cached) " >&6
9771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9774 (eval $ac_compile) 2>&5
9776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9777 test $ac_status = 0; } 2>conftest.err; then
9780 libobjs=conftest.$ac_objext
9782 wl=$lt_prog_compiler_wl
9783 pic_flag=$lt_prog_compiler_pic
9789 lt_save_allow_undefined_flag=$allow_undefined_flag
9790 allow_undefined_flag=
9791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9792 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9795 test $ac_status = 0; }
9797 lt_cv_archive_cmds_need_lc=no
9799 lt_cv_archive_cmds_need_lc=yes
9801 allow_undefined_flag=$lt_save_allow_undefined_flag
9803 cat conftest.err 1>&5
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9809 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9810 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9974 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9976 if test "$GCC" = yes; then
9978 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9979 *) lt_awk_arg="/^libraries:/" ;;
9982 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9983 *) lt_sed_strip_eq="s,=/,/,g" ;;
9985 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9986 case $lt_search_path_spec in
9988 # if the path contains ";" then we assume it to be the separator
9989 # otherwise default to the standard path separator (i.e. ":") - it is
9990 # assumed that no part of a normal pathname contains ";" but that should
9991 # okay in the real world where ";" in dirpaths is itself problematic.
9992 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9995 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9998 # Ok, now we have the path, separated by spaces, we can step through it
9999 # and add multilib dir if necessary.
10000 lt_tmp_lt_search_path_spec=
10001 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10002 for lt_sys_path in $lt_search_path_spec; do
10003 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10004 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10006 test -d "$lt_sys_path" && \
10007 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10010 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10011 BEGIN {RS=" "; FS="/|\n";} {
10014 for (lt_i = NF; lt_i > 0; lt_i--) {
10015 if ($lt_i != "" && $lt_i != ".") {
10016 if ($lt_i == "..") {
10019 if (lt_count == 0) {
10020 lt_foo="/" $lt_i lt_foo;
10027 if (lt_foo != "") { lt_freq[lt_foo]++; }
10028 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10030 # AWK program above erroneously prepends '/' to C:/dos/paths
10033 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10034 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10036 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10038 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10040 library_names_spec=
10041 libname_spec='lib$name'
10045 postuninstall_cmds=
10049 shlibpath_overrides_runpath=unknown
10051 dynamic_linker="$host_os ld.so"
10052 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10053 need_lib_prefix=unknown
10054 hardcode_into_libs=no
10056 # when you set need_version to no, make sure it does not cause -set_version
10057 # flags to be left without arguments
10058 need_version=unknown
10063 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10064 shlibpath_var=LIBPATH
10066 # AIX 3 has no versioning support, so we append a major version to the name.
10067 soname_spec='${libname}${release}${shared_ext}$major'
10074 hardcode_into_libs=yes
10075 if test "$host_cpu" = ia64; then
10076 # AIX 5 supports IA64
10077 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10078 shlibpath_var=LD_LIBRARY_PATH
10080 # With GCC up to 2.95.x, collect2 would create an import file
10081 # for dependence libraries. The import file would start with
10082 # the line `#! .'. This would cause the generated library to
10083 # depend on `.', always an invalid library. This was fixed in
10084 # development snapshots of GCC prior to 3.0.
10086 aix4 | aix4.[01] | aix4.[01].*)
10087 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10089 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10092 can_build_shared=no
10096 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10097 # soname into executable. Probably we can add versioning support to
10098 # collect2, so additional links can be useful in future.
10099 if test "$aix_use_runtimelinking" = yes; then
10100 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10101 # instead of lib<name>.a to let people know that these are not
10102 # typical AIX shared libraries.
10103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10105 # We preserve .a as extension for shared libraries through AIX4.2
10106 # and later when we are not doing run time linking.
10107 library_names_spec='${libname}${release}.a $libname.a'
10108 soname_spec='${libname}${release}${shared_ext}$major'
10110 shlibpath_var=LIBPATH
10117 # Since July 2007 AmigaOS4 officially supports .so libraries.
10118 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10122 library_names_spec='$libname.ixlibrary $libname.a'
10123 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10124 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'
10130 library_names_spec='${libname}${shared_ext}'
10131 dynamic_linker="$host_os ld.so"
10132 shlibpath_var=LIBRARY_PATH
10138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10139 soname_spec='${libname}${release}${shared_ext}$major'
10140 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10141 shlibpath_var=LD_LIBRARY_PATH
10142 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10143 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10144 # the default ld.so.conf also contains /usr/contrib/lib and
10145 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10146 # libtool to hard-code these into programs
10149 cygwin* | mingw* | pw32* | cegcc*)
10150 version_type=windows
10155 case $GCC,$host_os in
10156 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10157 library_names_spec='$libname.dll.a'
10158 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10159 postinstall_cmds='base_file=`basename \${file}`~
10160 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10161 dldir=$destdir/`dirname \$dlpath`~
10162 test -d \$dldir || mkdir -p \$dldir~
10163 $install_prog $dir/$dlname \$dldir/$dlname~
10164 chmod a+x \$dldir/$dlname~
10165 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10166 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10168 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10169 dlpath=$dir/\$dldll~
10171 shlibpath_overrides_runpath=yes
10175 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10176 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10178 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10181 # MinGW DLLs use traditional 'lib' prefix
10182 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10185 # pw32 DLLs use 'pw' prefix rather than 'lib'
10186 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10192 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10195 dynamic_linker='Win32 ld.exe'
10196 # FIXME: first we should search . and the directory the executable is in
10200 darwin* | rhapsody*)
10201 dynamic_linker="$host_os dyld"
10202 version_type=darwin
10205 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10206 soname_spec='${libname}${release}${major}$shared_ext'
10207 shlibpath_overrides_runpath=yes
10208 shlibpath_var=DYLD_LIBRARY_PATH
10209 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10211 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10212 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10220 soname_spec='${libname}${release}${shared_ext}$major'
10221 shlibpath_var=LD_LIBRARY_PATH
10224 freebsd* | dragonfly*)
10225 # DragonFly does not have aout. When/if they implement a new
10226 # versioning mechanism, adjust this.
10227 if test -x /usr/bin/objformat; then
10228 objformat=`/usr/bin/objformat`
10231 freebsd[23].*) objformat=aout ;;
10232 *) objformat=elf ;;
10235 version_type=freebsd-$objformat
10236 case $version_type in
10238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10243 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10247 shlibpath_var=LD_LIBRARY_PATH
10250 shlibpath_overrides_runpath=yes
10252 freebsd3.[01]* | freebsdelf3.[01]*)
10253 shlibpath_overrides_runpath=yes
10254 hardcode_into_libs=yes
10256 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10257 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10258 shlibpath_overrides_runpath=no
10259 hardcode_into_libs=yes
10261 *) # from 4.6 on, and DragonFly
10262 shlibpath_overrides_runpath=yes
10263 hardcode_into_libs=yes
10272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10273 soname_spec='${libname}${release}${shared_ext}$major'
10274 shlibpath_var=LD_LIBRARY_PATH
10275 hardcode_into_libs=yes
10282 dynamic_linker="$host_os runtime_loader"
10283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10284 soname_spec='${libname}${release}${shared_ext}$major'
10285 shlibpath_var=LIBRARY_PATH
10286 shlibpath_overrides_runpath=yes
10287 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10288 hardcode_into_libs=yes
10291 hpux9* | hpux10* | hpux11*)
10292 # Give a soname corresponding to the major version so that dld.sl refuses to
10293 # link against other versions.
10300 hardcode_into_libs=yes
10301 dynamic_linker="$host_os dld.so"
10302 shlibpath_var=LD_LIBRARY_PATH
10303 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305 soname_spec='${libname}${release}${shared_ext}$major'
10306 if test "X$HPUX_IA64_MODE" = X32; then
10307 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10309 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10311 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10315 hardcode_into_libs=yes
10316 dynamic_linker="$host_os dld.sl"
10317 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10318 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10320 soname_spec='${libname}${release}${shared_ext}$major'
10321 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10322 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10326 dynamic_linker="$host_os dld.sl"
10327 shlibpath_var=SHLIB_PATH
10328 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10330 soname_spec='${libname}${release}${shared_ext}$major'
10333 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10334 postinstall_cmds='chmod 555 $lib'
10335 # or fails outright, so override atomically:
10336 install_override_mode=555
10343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10344 soname_spec='${libname}${release}${shared_ext}$major'
10345 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10346 shlibpath_var=LD_LIBRARY_PATH
10347 shlibpath_overrides_runpath=no
10348 hardcode_into_libs=yes
10351 irix5* | irix6* | nonstopux*)
10353 nonstopux*) version_type=nonstopux ;;
10355 if test "$lt_cv_prog_gnu_ld" = yes; then
10363 soname_spec='${libname}${release}${shared_ext}$major'
10364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10366 irix5* | nonstopux*)
10367 libsuff= shlibsuff=
10370 case $LD in # libtool.m4 will add one of these switches to LD
10371 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10372 libsuff= shlibsuff= libmagic=32-bit;;
10373 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10374 libsuff=32 shlibsuff=N32 libmagic=N32;;
10375 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10376 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10377 *) libsuff= shlibsuff= libmagic=never-match;;
10381 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10382 shlibpath_overrides_runpath=no
10383 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10384 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10385 hardcode_into_libs=yes
10388 # No shared lib support for Linux oldld, aout, or coff.
10389 linux*oldld* | linux*aout* | linux*coff*)
10393 # This must be Linux ELF.
10394 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10399 soname_spec='${libname}${release}${shared_ext}$major'
10400 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10401 shlibpath_var=LD_LIBRARY_PATH
10402 shlibpath_overrides_runpath=no
10404 # Some binutils ld are patched to set DT_RUNPATH
10405 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10406 $as_echo_n "(cached) " >&6
10408 lt_cv_shlibpath_overrides_runpath=no
10409 save_LDFLAGS=$LDFLAGS
10410 save_libdir=$libdir
10411 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10412 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10426 lt_cv_shlibpath_overrides_runpath=yes
10429 rm -f core conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10431 LDFLAGS=$save_LDFLAGS
10432 libdir=$save_libdir
10436 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10438 # This implies no fast_install, which is unacceptable.
10439 # Some rework will be needed to allow for fast_install
10440 # before this can be enabled.
10441 hardcode_into_libs=yes
10443 # Append ld.so.conf contents to the search path
10444 if test -f /etc/ld.so.conf; then
10445 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' ' '`
10446 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10449 # We used to test for /lib/ld.so.1 and disable shared libraries on
10450 # powerpc, because MkLinux only supported shared libraries with the
10451 # GNU dynamic linker. Since this was broken with cross compilers,
10452 # most powerpc-linux boxes support dynamic linking these days and
10453 # people can always --disable-shared, the test was removed, and we
10454 # assume the GNU/Linux dynamic linker is in use.
10455 dynamic_linker='GNU/Linux ld.so'
10462 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10464 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10465 dynamic_linker='NetBSD (a.out) ld.so'
10467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10468 soname_spec='${libname}${release}${shared_ext}$major'
10469 dynamic_linker='NetBSD ld.elf_so'
10471 shlibpath_var=LD_LIBRARY_PATH
10472 shlibpath_overrides_runpath=yes
10473 hardcode_into_libs=yes
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10479 shlibpath_var=LD_LIBRARY_PATH
10480 shlibpath_overrides_runpath=yes
10487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488 soname_spec='${libname}${release}${shared_ext}$major'
10489 shlibpath_var=LD_LIBRARY_PATH
10490 shlibpath_overrides_runpath=no
10491 hardcode_into_libs=yes
10492 dynamic_linker='ldqnx.so'
10497 sys_lib_dlsearch_path_spec="/usr/lib"
10499 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10501 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10502 *) need_version=no ;;
10504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10505 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10506 shlibpath_var=LD_LIBRARY_PATH
10507 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10509 openbsd2.[89] | openbsd2.[89].*)
10510 shlibpath_overrides_runpath=no
10513 shlibpath_overrides_runpath=yes
10517 shlibpath_overrides_runpath=yes
10522 libname_spec='$name'
10525 library_names_spec='$libname${shared_ext} $libname.a'
10526 dynamic_linker='OS/2 ld.exe'
10527 shlibpath_var=LIBPATH
10530 osf3* | osf4* | osf5*)
10534 soname_spec='${libname}${release}${shared_ext}$major'
10535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536 shlibpath_var=LD_LIBRARY_PATH
10537 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10538 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10550 soname_spec='${libname}${release}${shared_ext}$major'
10551 shlibpath_var=LD_LIBRARY_PATH
10552 shlibpath_overrides_runpath=yes
10553 hardcode_into_libs=yes
10554 # ldd complains unless libraries are executable
10555 postinstall_cmds='chmod +x $lib'
10560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10561 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10562 shlibpath_var=LD_LIBRARY_PATH
10563 shlibpath_overrides_runpath=yes
10564 if test "$with_gnu_ld" = yes; then
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10573 soname_spec='${libname}${release}${shared_ext}$major'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 case $host_vendor in
10577 shlibpath_overrides_runpath=no
10579 runpath_var=LD_RUN_PATH
10587 shlibpath_overrides_runpath=no
10588 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10594 if test -d /usr/nec ;then
10596 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10597 soname_spec='$libname${shared_ext}.$major'
10598 shlibpath_var=LD_LIBRARY_PATH
10602 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10603 version_type=freebsd-elf
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10607 soname_spec='${libname}${release}${shared_ext}$major'
10608 shlibpath_var=LD_LIBRARY_PATH
10609 shlibpath_overrides_runpath=yes
10610 hardcode_into_libs=yes
10611 if test "$with_gnu_ld" = yes; then
10612 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10614 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10617 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10621 sys_lib_dlsearch_path_spec='/usr/lib'
10625 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630 shlibpath_var=LD_LIBRARY_PATH
10631 shlibpath_overrides_runpath=no
10632 hardcode_into_libs=yes
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 soname_spec='${libname}${release}${shared_ext}$major'
10639 shlibpath_var=LD_LIBRARY_PATH
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10647 $as_echo "$dynamic_linker" >&6; }
10648 test "$dynamic_linker" = no && can_build_shared=no
10650 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10651 if test "$GCC" = yes; then
10652 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10655 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10656 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10658 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10659 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10754 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10756 if test -n "$hardcode_libdir_flag_spec" ||
10757 test -n "$runpath_var" ||
10758 test "X$hardcode_automatic" = "Xyes" ; then
10760 # We can hardcode non-existent directories.
10761 if test "$hardcode_direct" != no &&
10762 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10763 # have to relink, otherwise we might link with an installed library
10764 # when we should be linking with a yet-to-be-installed one
10765 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10766 test "$hardcode_minus_L" != no; then
10767 # Linking always hardcodes the temporary library directory.
10768 hardcode_action=relink
10770 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10771 hardcode_action=immediate
10774 # We cannot hardcode anything, or else we can only hardcode existing
10776 hardcode_action=unsupported
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10779 $as_echo "$hardcode_action" >&6; }
10781 if test "$hardcode_action" = relink ||
10782 test "$inherit_rpath" = yes; then
10783 # Fast installation is not supported
10784 enable_fast_install=no
10785 elif test "$shlibpath_overrides_runpath" = yes ||
10786 test "$enable_shared" = no; then
10787 # Fast installation is not necessary
10788 enable_fast_install=needless
10796 if test "x$enable_dlopen" != xyes; then
10797 enable_dlopen=unknown
10798 enable_dlopen_self=unknown
10799 enable_dlopen_self_static=unknown
10806 lt_cv_dlopen="load_add_on"
10808 lt_cv_dlopen_self=yes
10811 mingw* | pw32* | cegcc*)
10812 lt_cv_dlopen="LoadLibrary"
10817 lt_cv_dlopen="dlopen"
10822 # if libdl is installed we need to link against it
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10824 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10825 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10826 $as_echo_n "(cached) " >&6
10828 ac_check_lib_save_LIBS=$LIBS
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10833 /* Override any GCC internal prototype to avoid an error.
10834 Use char because int might match the return type of a GCC
10835 builtin and then its argument prototype would still apply. */
10848 if ac_fn_c_try_link "$LINENO"; then :
10849 ac_cv_lib_dl_dlopen=yes
10851 ac_cv_lib_dl_dlopen=no
10853 rm -f core conftest.err conftest.$ac_objext \
10854 conftest$ac_exeext conftest.$ac_ext
10855 LIBS=$ac_check_lib_save_LIBS
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10858 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10859 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10860 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10863 lt_cv_dlopen="dyld"
10865 lt_cv_dlopen_self=yes
10872 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10873 if test "x$ac_cv_func_shl_load" = x""yes; then :
10874 lt_cv_dlopen="shl_load"
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10877 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10878 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10879 $as_echo_n "(cached) " >&6
10881 ac_check_lib_save_LIBS=$LIBS
10883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10884 /* end confdefs.h. */
10886 /* Override any GCC internal prototype to avoid an error.
10887 Use char because int might match the return type of a GCC
10888 builtin and then its argument prototype would still apply. */
10896 return shl_load ();
10901 if ac_fn_c_try_link "$LINENO"; then :
10902 ac_cv_lib_dld_shl_load=yes
10904 ac_cv_lib_dld_shl_load=no
10906 rm -f core conftest.err conftest.$ac_objext \
10907 conftest$ac_exeext conftest.$ac_ext
10908 LIBS=$ac_check_lib_save_LIBS
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10911 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10912 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10913 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10915 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10916 if test "x$ac_cv_func_dlopen" = x""yes; then :
10917 lt_cv_dlopen="dlopen"
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10920 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10921 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10922 $as_echo_n "(cached) " >&6
10924 ac_check_lib_save_LIBS=$LIBS
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10929 /* Override any GCC internal prototype to avoid an error.
10930 Use char because int might match the return type of a GCC
10931 builtin and then its argument prototype would still apply. */
10944 if ac_fn_c_try_link "$LINENO"; then :
10945 ac_cv_lib_dl_dlopen=yes
10947 ac_cv_lib_dl_dlopen=no
10949 rm -f core conftest.err conftest.$ac_objext \
10950 conftest$ac_exeext conftest.$ac_ext
10951 LIBS=$ac_check_lib_save_LIBS
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10954 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10955 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10956 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10959 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10960 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10961 $as_echo_n "(cached) " >&6
10963 ac_check_lib_save_LIBS=$LIBS
10964 LIBS="-lsvld $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10983 if ac_fn_c_try_link "$LINENO"; then :
10984 ac_cv_lib_svld_dlopen=yes
10986 ac_cv_lib_svld_dlopen=no
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10993 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10994 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10995 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10998 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10999 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11000 $as_echo_n "(cached) " >&6
11002 ac_check_lib_save_LIBS=$LIBS
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11017 return dld_link ();
11022 if ac_fn_c_try_link "$LINENO"; then :
11023 ac_cv_lib_dld_dld_link=yes
11025 ac_cv_lib_dld_dld_link=no
11027 rm -f core conftest.err conftest.$ac_objext \
11028 conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_lib_save_LIBS
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11032 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11033 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11034 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11055 if test "x$lt_cv_dlopen" != xno; then
11061 case $lt_cv_dlopen in
11063 save_CPPFLAGS="$CPPFLAGS"
11064 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11066 save_LDFLAGS="$LDFLAGS"
11067 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11070 LIBS="$lt_cv_dlopen_libs $LIBS"
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11073 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11074 if test "${lt_cv_dlopen_self+set}" = set; then :
11075 $as_echo_n "(cached) " >&6
11077 if test "$cross_compiling" = yes; then :
11078 lt_cv_dlopen_self=cross
11080 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11081 lt_status=$lt_dlunknown
11082 cat > conftest.$ac_ext <<_LT_EOF
11083 #line 11083 "configure"
11084 #include "confdefs.h"
11093 # define LT_DLGLOBAL RTLD_GLOBAL
11096 # define LT_DLGLOBAL DL_GLOBAL
11098 # define LT_DLGLOBAL 0
11102 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11103 find out it does not work in some platform. */
11104 #ifndef LT_DLLAZY_OR_NOW
11106 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11109 # define LT_DLLAZY_OR_NOW DL_LAZY
11112 # define LT_DLLAZY_OR_NOW RTLD_NOW
11115 # define LT_DLLAZY_OR_NOW DL_NOW
11117 # define LT_DLLAZY_OR_NOW 0
11124 /* When -fvisbility=hidden is used, assume the code has been annotated
11125 correspondingly for the symbols needed. */
11126 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11127 void fnord () __attribute__((visibility("default")));
11130 void fnord () { int i=42; }
11133 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11134 int status = $lt_dlunknown;
11138 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11141 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11142 else puts (dlerror ());
11144 /* dlclose (self); */
11152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11153 (eval $ac_link) 2>&5
11155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11156 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11157 (./conftest; exit; ) >&5 2>/dev/null
11159 case x$lt_status in
11160 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11161 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11162 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11165 # compilation failed
11166 lt_cv_dlopen_self=no
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11174 $as_echo "$lt_cv_dlopen_self" >&6; }
11176 if test "x$lt_cv_dlopen_self" = xyes; then
11177 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11179 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11180 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11181 $as_echo_n "(cached) " >&6
11183 if test "$cross_compiling" = yes; then :
11184 lt_cv_dlopen_self_static=cross
11186 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11187 lt_status=$lt_dlunknown
11188 cat > conftest.$ac_ext <<_LT_EOF
11189 #line 11189 "configure"
11190 #include "confdefs.h"
11199 # define LT_DLGLOBAL RTLD_GLOBAL
11202 # define LT_DLGLOBAL DL_GLOBAL
11204 # define LT_DLGLOBAL 0
11208 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11209 find out it does not work in some platform. */
11210 #ifndef LT_DLLAZY_OR_NOW
11212 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11215 # define LT_DLLAZY_OR_NOW DL_LAZY
11218 # define LT_DLLAZY_OR_NOW RTLD_NOW
11221 # define LT_DLLAZY_OR_NOW DL_NOW
11223 # define LT_DLLAZY_OR_NOW 0
11230 /* When -fvisbility=hidden is used, assume the code has been annotated
11231 correspondingly for the symbols needed. */
11232 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11233 void fnord () __attribute__((visibility("default")));
11236 void fnord () { int i=42; }
11239 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11240 int status = $lt_dlunknown;
11244 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11247 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11248 else puts (dlerror ());
11250 /* dlclose (self); */
11258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11259 (eval $ac_link) 2>&5
11261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11262 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11263 (./conftest; exit; ) >&5 2>/dev/null
11265 case x$lt_status in
11266 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11267 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11268 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11271 # compilation failed
11272 lt_cv_dlopen_self_static=no
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11280 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11283 CPPFLAGS="$save_CPPFLAGS"
11284 LDFLAGS="$save_LDFLAGS"
11289 case $lt_cv_dlopen_self in
11290 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11291 *) enable_dlopen_self=unknown ;;
11294 case $lt_cv_dlopen_self_static in
11295 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11296 *) enable_dlopen_self_static=unknown ;;
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11319 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11320 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11321 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11322 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11324 $as_echo "yes" >&6; }
11326 # FIXME - insert some real tests, host_os isn't really good enough
11329 if test -n "$STRIP" ; then
11330 striplib="$STRIP -x"
11331 old_striplib="$STRIP -S"
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11333 $as_echo "yes" >&6; }
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11336 $as_echo "no" >&6; }
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11341 $as_echo "no" >&6; }
11357 # Report which library types will actually be built
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11359 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11361 $as_echo "$can_build_shared" >&6; }
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11364 $as_echo_n "checking whether to build shared libraries... " >&6; }
11365 test "$can_build_shared" = "no" && enable_shared=no
11367 # On AIX, shared libraries and static libraries use the same namespace, and
11368 # are all built from PIC.
11371 test "$enable_shared" = yes && enable_static=no
11372 if test -n "$RANLIB"; then
11373 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11374 postinstall_cmds='$RANLIB $lib'
11379 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11380 test "$enable_shared" = yes && enable_static=no
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11385 $as_echo "$enable_shared" >&6; }
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11388 $as_echo_n "checking whether to build static libraries... " >&6; }
11389 # Make sure either enable_shared or enable_static is yes.
11390 test "$enable_shared" = yes || enable_static=yes
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11392 $as_echo "$enable_static" >&6; }
11399 ac_cpp='$CPP $CPPFLAGS'
11400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11406 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11407 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11408 (test "X$CXX" != "Xg++"))) ; then
11410 ac_cpp='$CXXCPP $CPPFLAGS'
11411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11415 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11416 if test -z "$CXXCPP"; then
11417 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11418 $as_echo_n "(cached) " >&6
11420 # Double quotes because CXXCPP needs to be expanded
11421 for CXXCPP in "$CXX -E" "/lib/cpp"
11423 ac_preproc_ok=false
11424 for ac_cxx_preproc_warn_flag in '' yes
11426 # Use a header file that comes with gcc, so configuring glibc
11427 # with a fresh cross-compiler works.
11428 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11429 # <limits.h> exists even on freestanding compilers.
11430 # On the NeXT, cc -E runs the code through the compiler's parser,
11431 # not just through cpp. "Syntax error" is here to catch this case.
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 # include <limits.h>
11437 # include <assert.h>
11441 if ac_fn_cxx_try_cpp "$LINENO"; then :
11444 # Broken: fails on valid input.
11447 rm -f conftest.err conftest.$ac_ext
11449 # OK, works on sane cases. Now check whether nonexistent headers
11450 # can be detected and how.
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11453 #include <ac_nonexistent.h>
11455 if ac_fn_cxx_try_cpp "$LINENO"; then :
11456 # Broken: success on invalid input.
11459 # Passes both tests.
11463 rm -f conftest.err conftest.$ac_ext
11466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11467 rm -f conftest.err conftest.$ac_ext
11468 if $ac_preproc_ok; then :
11473 ac_cv_prog_CXXCPP=$CXXCPP
11476 CXXCPP=$ac_cv_prog_CXXCPP
11478 ac_cv_prog_CXXCPP=$CXXCPP
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11481 $as_echo "$CXXCPP" >&6; }
11482 ac_preproc_ok=false
11483 for ac_cxx_preproc_warn_flag in '' yes
11485 # Use a header file that comes with gcc, so configuring glibc
11486 # with a fresh cross-compiler works.
11487 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11488 # <limits.h> exists even on freestanding compilers.
11489 # On the NeXT, cc -E runs the code through the compiler's parser,
11490 # not just through cpp. "Syntax error" is here to catch this case.
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11494 # include <limits.h>
11496 # include <assert.h>
11500 if ac_fn_cxx_try_cpp "$LINENO"; then :
11503 # Broken: fails on valid input.
11506 rm -f conftest.err conftest.$ac_ext
11508 # OK, works on sane cases. Now check whether nonexistent headers
11509 # can be detected and how.
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11512 #include <ac_nonexistent.h>
11514 if ac_fn_cxx_try_cpp "$LINENO"; then :
11515 # Broken: success on invalid input.
11518 # Passes both tests.
11522 rm -f conftest.err conftest.$ac_ext
11525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11526 rm -f conftest.err conftest.$ac_ext
11527 if $ac_preproc_ok; then :
11530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11532 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11533 See \`config.log' for more details." "$LINENO" 5; }
11537 ac_cpp='$CPP $CPPFLAGS'
11538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11543 _lt_caught_CXX_error=yes
11547 ac_cpp='$CXXCPP $CPPFLAGS'
11548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11552 archive_cmds_need_lc_CXX=no
11553 allow_undefined_flag_CXX=
11554 always_export_symbols_CXX=no
11555 archive_expsym_cmds_CXX=
11556 compiler_needs_object_CXX=no
11557 export_dynamic_flag_spec_CXX=
11558 hardcode_direct_CXX=no
11559 hardcode_direct_absolute_CXX=no
11560 hardcode_libdir_flag_spec_CXX=
11561 hardcode_libdir_flag_spec_ld_CXX=
11562 hardcode_libdir_separator_CXX=
11563 hardcode_minus_L_CXX=no
11564 hardcode_shlibpath_var_CXX=unsupported
11565 hardcode_automatic_CXX=no
11566 inherit_rpath_CXX=no
11568 module_expsym_cmds_CXX=
11569 link_all_deplibs_CXX=unknown
11570 old_archive_cmds_CXX=$old_archive_cmds
11571 reload_flag_CXX=$reload_flag
11572 reload_cmds_CXX=$reload_cmds
11573 no_undefined_flag_CXX=
11574 whole_archive_flag_spec_CXX=
11575 enable_shared_with_static_runtimes_CXX=no
11577 # Source file extension for C++ test sources.
11580 # Object file extension for compiled C++ test sources.
11584 # No sense in running all these tests if we already determined that
11585 # the CXX compiler isn't working. Some variables (like enable_shared)
11586 # are currently assumed to apply to all compilers on this platform,
11587 # and will be corrupted by setting them based on a non-working compiler.
11588 if test "$_lt_caught_CXX_error" != yes; then
11589 # Code to be used in simple compile tests
11590 lt_simple_compile_test_code="int some_variable = 0;"
11592 # Code to be used in simple link tests
11593 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11595 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11602 # If no C compiler was specified, use CC.
11605 # If no C compiler flags were specified, use CFLAGS.
11606 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11608 # Allow CC to be a program name with arguments.
11612 # save warnings/boilerplate of simple test code
11613 ac_outfile=conftest.$ac_objext
11614 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11615 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11616 _lt_compiler_boilerplate=`cat conftest.err`
11619 ac_outfile=conftest.$ac_objext
11620 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11621 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11622 _lt_linker_boilerplate=`cat conftest.err`
11626 # Allow CC to be a program name with arguments.
11631 lt_save_with_gnu_ld=$with_gnu_ld
11632 lt_save_path_LD=$lt_cv_path_LD
11633 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11634 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11636 $as_unset lt_cv_prog_gnu_ld
11638 if test -n "${lt_cv_path_LDCXX+set}"; then
11639 lt_cv_path_LD=$lt_cv_path_LDCXX
11641 $as_unset lt_cv_path_LD
11643 test -z "${LDCXX+set}" || LD=$LDCXX
11647 for cc_temp in $compiler""; do
11649 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11650 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11655 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11658 if test -n "$compiler"; then
11659 # We don't want -fno-exception when compiling C++ code, so set the
11660 # no_builtin_flag separately
11661 if test "$GXX" = yes; then
11662 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11664 lt_prog_compiler_no_builtin_flag_CXX=
11667 if test "$GXX" = yes; then
11668 # Set up default GNU C++ configuration
11672 # Check whether --with-gnu-ld was given.
11673 if test "${with_gnu_ld+set}" = set; then :
11674 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11680 if test "$GCC" = yes; then
11681 # Check if gcc -print-prog-name=ld gives a path.
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11683 $as_echo_n "checking for ld used by $CC... " >&6; }
11686 # gcc leaves a trailing carriage return which upsets mingw
11687 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11689 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11692 # Accept absolute paths.
11694 re_direlt='/[^/][^/]*/\.\./'
11695 # Canonicalize the pathname of ld
11696 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11697 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11698 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11700 test -z "$LD" && LD="$ac_prog"
11703 # If it fails, then pretend we aren't using GCC.
11707 # If it is relative, then search for the first ld in PATH.
11708 with_gnu_ld=unknown
11711 elif test "$with_gnu_ld" = yes; then
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11713 $as_echo_n "checking for GNU ld... " >&6; }
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11716 $as_echo_n "checking for non-GNU ld... " >&6; }
11718 if test "${lt_cv_path_LD+set}" = set; then :
11719 $as_echo_n "(cached) " >&6
11721 if test -z "$LD"; then
11722 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11723 for ac_dir in $PATH; do
11725 test -z "$ac_dir" && ac_dir=.
11726 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11727 lt_cv_path_LD="$ac_dir/$ac_prog"
11728 # Check to see if the program is GNU ld. I'd rather use --version,
11729 # but apparently some variants of GNU ld only accept -v.
11730 # Break only if it was the GNU/non-GNU ld that we prefer.
11731 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11732 *GNU* | *'with BFD'*)
11733 test "$with_gnu_ld" != no && break
11736 test "$with_gnu_ld" != yes && break
11743 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11747 LD="$lt_cv_path_LD"
11748 if test -n "$LD"; then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11750 $as_echo "$LD" >&6; }
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11755 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11757 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11758 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11759 $as_echo_n "(cached) " >&6
11761 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11762 case `$LD -v 2>&1 </dev/null` in
11763 *GNU* | *'with BFD'*)
11764 lt_cv_prog_gnu_ld=yes
11767 lt_cv_prog_gnu_ld=no
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11772 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11773 with_gnu_ld=$lt_cv_prog_gnu_ld
11781 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11782 # archiving commands below assume that GNU ld is being used.
11783 if test "$with_gnu_ld" = yes; then
11784 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11785 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'
11787 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11788 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11790 # If archive_cmds runs LD, not CC, wlarc should be empty
11791 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11792 # investigate it a little bit more. (MM)
11795 # ancient GNU ld didn't support --whole-archive et. al.
11796 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11797 $GREP 'no-whole-archive' > /dev/null; then
11798 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11800 whole_archive_flag_spec_CXX=
11806 # A generic and very simple default shared library creation
11807 # command for GNU C++ for the case where it uses the native
11808 # linker, instead of GNU ld. If possible, this setting should
11809 # overridden to take advantage of the native linker features on
11810 # the platform it is being used on.
11811 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11814 # Commands to make compiler produce verbose output that lists
11815 # what "hidden" libraries, object files and flags are used when
11816 # linking a shared library.
11817 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11825 # PORTME: fill in a description of your system's C++ link characteristics
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11827 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11831 # FIXME: insert proper C++ library support
11835 if test "$host_cpu" = ia64; then
11836 # On IA64, the linker does run time linking by default, so we don't
11837 # have to do anything special.
11838 aix_use_runtimelinking=no
11839 exp_sym_flag='-Bexport'
11842 aix_use_runtimelinking=no
11844 # Test if we are trying to use run time linking or normal
11845 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11846 # need to do runtime linking.
11847 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11848 for ld_flag in $LDFLAGS; do
11851 aix_use_runtimelinking=yes
11859 exp_sym_flag='-bexport'
11860 no_entry_flag='-bnoentry'
11863 # When large executables or shared objects are built, AIX ld can
11864 # have problems creating the table of contents. If linking a library
11865 # or program results in "error TOC overflow" add -mminimal-toc to
11866 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11867 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11869 archive_cmds_CXX=''
11870 hardcode_direct_CXX=yes
11871 hardcode_direct_absolute_CXX=yes
11872 hardcode_libdir_separator_CXX=':'
11873 link_all_deplibs_CXX=yes
11874 file_list_spec_CXX='${wl}-f,'
11876 if test "$GXX" = yes; then
11877 case $host_os in aix4.[012]|aix4.[012].*)
11878 # We only want to do this on AIX 4.2 and lower, the check
11879 # below for broken collect2 doesn't work under 4.3+
11880 collect2name=`${CC} -print-prog-name=collect2`
11881 if test -f "$collect2name" &&
11882 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11884 # We have reworked collect2
11887 # We have old collect2
11888 hardcode_direct_CXX=unsupported
11889 # It fails to find uninstalled libraries when the uninstalled
11890 # path is not listed in the libpath. Setting hardcode_minus_L
11891 # to unsupported forces relinking
11892 hardcode_minus_L_CXX=yes
11893 hardcode_libdir_flag_spec_CXX='-L$libdir'
11894 hardcode_libdir_separator_CXX=
11897 shared_flag='-shared'
11898 if test "$aix_use_runtimelinking" = yes; then
11899 shared_flag="$shared_flag "'${wl}-G'
11903 if test "$host_cpu" = ia64; then
11904 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11905 # chokes on -Wl,-G. The following line is correct:
11908 if test "$aix_use_runtimelinking" = yes; then
11909 shared_flag='${wl}-G'
11911 shared_flag='${wl}-bM:SRE'
11916 export_dynamic_flag_spec_CXX='${wl}-bexpall'
11917 # It seems that -bexpall does not export symbols beginning with
11918 # underscore (_), so it is better to generate a list of symbols to
11920 always_export_symbols_CXX=yes
11921 if test "$aix_use_runtimelinking" = yes; then
11922 # Warning - without using the other runtime loading flags (-brtl),
11923 # -berok will link without error, but may produce a broken library.
11924 allow_undefined_flag_CXX='-berok'
11925 # Determine the default libpath from the value encoded in an empty
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11938 if ac_fn_cxx_try_link "$LINENO"; then :
11940 lt_aix_libpath_sed='
11941 /Import File Strings/,/^$/ {
11947 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11948 # Check for a 64-bit object if we didn't find anything.
11949 if test -z "$aix_libpath"; then
11950 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11953 rm -f core conftest.err conftest.$ac_objext \
11954 conftest$ac_exeext conftest.$ac_ext
11955 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11957 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11959 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"
11961 if test "$host_cpu" = ia64; then
11962 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11963 allow_undefined_flag_CXX="-z nodefs"
11964 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"
11966 # Determine the default libpath from the value encoded in an
11967 # empty executable.
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11979 if ac_fn_cxx_try_link "$LINENO"; then :
11981 lt_aix_libpath_sed='
11982 /Import File Strings/,/^$/ {
11988 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11989 # Check for a 64-bit object if we didn't find anything.
11990 if test -z "$aix_libpath"; then
11991 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11994 rm -f core conftest.err conftest.$ac_objext \
11995 conftest$ac_exeext conftest.$ac_ext
11996 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11998 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11999 # Warning - without using the other run time loading flags,
12000 # -berok will link without error, but may produce a broken library.
12001 no_undefined_flag_CXX=' ${wl}-bernotok'
12002 allow_undefined_flag_CXX=' ${wl}-berok'
12003 if test "$with_gnu_ld" = yes; then
12004 # We only use this code for GNU lds that support --whole-archive.
12005 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12007 # Exported symbols can be pulled into shared objects from archives
12008 whole_archive_flag_spec_CXX='$convenience'
12010 archive_cmds_need_lc_CXX=yes
12011 # This is similar to how AIX traditionally builds its shared
12013 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'
12019 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12020 allow_undefined_flag_CXX=unsupported
12021 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12022 # support --undefined. This deserves some investigation. FIXME
12023 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12030 case $cc_basename in
12032 # FIXME: insert proper C++ library support
12038 cygwin* | mingw* | pw32* | cegcc*)
12039 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12040 # as there is no search path for DLLs.
12041 hardcode_libdir_flag_spec_CXX='-L$libdir'
12042 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12043 allow_undefined_flag_CXX=unsupported
12044 always_export_symbols_CXX=no
12045 enable_shared_with_static_runtimes_CXX=yes
12047 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12048 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'
12049 # If the export-symbols file already is a .def file (1st line
12050 # is EXPORTS), use it as is; otherwise, prepend...
12051 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12052 cp $export_symbols $output_objdir/$soname.def;
12054 echo EXPORTS > $output_objdir/$soname.def;
12055 cat $export_symbols >> $output_objdir/$soname.def;
12057 $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'
12062 darwin* | rhapsody*)
12065 archive_cmds_need_lc_CXX=no
12066 hardcode_direct_CXX=no
12067 hardcode_automatic_CXX=yes
12068 hardcode_shlibpath_var_CXX=unsupported
12069 if test "$lt_cv_ld_force_load" = "yes"; then
12070 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\"`'
12072 whole_archive_flag_spec_CXX=''
12074 link_all_deplibs_CXX=yes
12075 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12076 case $cc_basename in
12077 ifort*) _lt_dar_can_shared=yes ;;
12078 *) _lt_dar_can_shared=$GCC ;;
12080 if test "$_lt_dar_can_shared" = "yes"; then
12081 output_verbose_link_cmd=func_echo_all
12082 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}"
12083 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12084 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}"
12085 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}"
12086 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12087 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}"
12088 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}"
12098 case $cc_basename in
12100 # FIXME: insert proper C++ library support
12104 # Green Hills C++ Compiler
12105 # FIXME: insert proper C++ library support
12109 # FIXME: insert proper C++ library support
12116 # C++ shared libraries reported to be fairly broken before
12122 archive_cmds_need_lc_CXX=no
12125 freebsd* | dragonfly*)
12126 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12135 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12136 link_all_deplibs_CXX=yes
12140 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12141 hardcode_libdir_separator_CXX=:
12142 export_dynamic_flag_spec_CXX='${wl}-E'
12143 hardcode_direct_CXX=yes
12144 hardcode_minus_L_CXX=yes # Not in the search PATH,
12145 # but as the default
12146 # location of the library.
12148 case $cc_basename in
12150 # FIXME: insert proper C++ library support
12154 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'
12155 # Commands to make compiler produce verbose output that lists
12156 # what "hidden" libraries, object files and flags are used when
12157 # linking a shared library.
12159 # There doesn't appear to be a way to prevent this compiler from
12160 # explicitly linking system object files so we need to strip them
12161 # from the output so that they don't get included in the library
12163 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"'
12166 if test "$GXX" = yes; then
12167 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'
12169 # FIXME: insert proper C++ library support
12177 if test $with_gnu_ld = no; then
12178 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12179 hardcode_libdir_separator_CXX=:
12185 export_dynamic_flag_spec_CXX='${wl}-E'
12191 hardcode_direct_CXX=no
12192 hardcode_shlibpath_var_CXX=no
12195 hardcode_direct_CXX=yes
12196 hardcode_direct_absolute_CXX=yes
12197 hardcode_minus_L_CXX=yes # Not in the search PATH,
12198 # but as the default
12199 # location of the library.
12203 case $cc_basename in
12205 # FIXME: insert proper C++ library support
12211 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12214 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12217 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12220 # Commands to make compiler produce verbose output that lists
12221 # what "hidden" libraries, object files and flags are used when
12222 # linking a shared library.
12224 # There doesn't appear to be a way to prevent this compiler from
12225 # explicitly linking system object files so we need to strip them
12226 # from the output so that they don't get included in the library
12228 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"'
12231 if test "$GXX" = yes; then
12232 if test $with_gnu_ld = no; then
12235 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12238 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12241 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'
12246 # FIXME: insert proper C++ library support
12254 hardcode_direct_CXX=no
12255 hardcode_shlibpath_var_CXX=no
12256 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12257 export_dynamic_flag_spec_CXX='${wl}-E'
12258 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12259 # Instead, shared libraries are loaded at an image base (0x10000000 by
12260 # default) and relocated if they conflict, which is a slow very memory
12261 # consuming and fragmenting process. To avoid this, we pick a random,
12262 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12263 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12264 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'
12265 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'
12268 case $cc_basename in
12271 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'
12273 # Archives containing C++ object files must be created using
12274 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12275 # necessary to make sure instantiated templates are included
12277 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12280 if test "$GXX" = yes; then
12281 if test "$with_gnu_ld" = no; then
12282 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'
12284 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'
12287 link_all_deplibs_CXX=yes
12290 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12291 hardcode_libdir_separator_CXX=:
12292 inherit_rpath_CXX=yes
12295 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12296 case $cc_basename in
12298 # Kuck and Associates, Inc. (KAI) C++ Compiler
12300 # KCC will only create a shared library if the output file
12301 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12302 # to its proper name (with version) after linking.
12303 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'
12304 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'
12305 # Commands to make compiler produce verbose output that lists
12306 # what "hidden" libraries, object files and flags are used when
12307 # linking a shared library.
12309 # There doesn't appear to be a way to prevent this compiler from
12310 # explicitly linking system object files so we need to strip them
12311 # from the output so that they don't get included in the library
12313 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"'
12315 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12316 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12318 # Archives containing C++ object files must be created using
12319 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12320 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12325 # version 8.0 and above of icpc choke on multiply defined symbols
12326 # if we add $predep_objects and $postdep_objects, however 7.1 and
12327 # earlier do not add the objects themselves.
12328 case `$CC -V 2>&1` in
12330 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12331 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'
12333 *) # Version 8.0 or newer
12336 ia64*) tmp_idyn=' -i_dynamic';;
12338 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12339 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'
12342 archive_cmds_need_lc_CXX=no
12343 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12344 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12345 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12348 # Portland Group C++ compiler
12350 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12351 prelink_cmds_CXX='tpldir=Template.dir~
12353 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12354 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12355 old_archive_cmds_CXX='tpldir=Template.dir~
12357 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12358 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12360 archive_cmds_CXX='tpldir=Template.dir~
12362 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12363 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12364 archive_expsym_cmds_CXX='tpldir=Template.dir~
12366 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12367 $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'
12369 *) # Version 6 and above use weak symbols
12370 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12371 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'
12375 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12376 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12377 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'
12381 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12382 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'
12384 runpath_var=LD_RUN_PATH
12385 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12386 hardcode_libdir_separator_CXX=:
12388 # Commands to make compiler produce verbose output that lists
12389 # what "hidden" libraries, object files and flags are used when
12390 # linking a shared library.
12392 # There doesn't appear to be a way to prevent this compiler from
12393 # explicitly linking system object files so we need to strip them
12394 # from the output so that they don't get included in the library
12396 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'
12398 xl* | mpixl* | bgxl*)
12399 # IBM XL 8.0 on PPC, with GNU ld
12400 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12401 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12402 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12403 if test "x$supports_anon_versioning" = xyes; then
12404 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12405 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12406 echo "local: *; };" >> $output_objdir/$libname.ver~
12407 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12411 case `$CC -V 2>&1 | sed 5q` in
12414 no_undefined_flag_CXX=' -zdefs'
12415 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12416 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'
12417 hardcode_libdir_flag_spec_CXX='-R$libdir'
12418 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'
12419 compiler_needs_object_CXX=yes
12421 # Not sure whether something based on
12422 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12424 output_verbose_link_cmd='func_echo_all'
12426 # Archives containing C++ object files must be created using
12427 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12428 # necessary to make sure instantiated templates are included
12430 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12438 # FIXME: insert proper C++ library support
12443 # FIXME: insert proper C++ library support
12448 case $cc_basename in
12450 # FIXME: insert proper C++ library support
12454 # FIXME: insert proper C++ library support
12461 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12462 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12464 hardcode_libdir_flag_spec_CXX='-R$libdir'
12465 hardcode_direct_CXX=yes
12466 hardcode_shlibpath_var_CXX=no
12468 # Workaround some broken pre-1.5 toolchains
12469 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12477 # C++ shared libraries are fairly broken
12482 if test -f /usr/libexec/ld.so; then
12483 hardcode_direct_CXX=yes
12484 hardcode_shlibpath_var_CXX=no
12485 hardcode_direct_absolute_CXX=yes
12486 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12487 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12488 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12489 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12490 export_dynamic_flag_spec_CXX='${wl}-E'
12491 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12493 output_verbose_link_cmd=func_echo_all
12499 osf3* | osf4* | osf5*)
12500 case $cc_basename in
12502 # Kuck and Associates, Inc. (KAI) C++ Compiler
12504 # KCC will only create a shared library if the output file
12505 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12506 # to its proper name (with version) after linking.
12507 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'
12509 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12510 hardcode_libdir_separator_CXX=:
12512 # Archives containing C++ object files must be created using
12513 # the KAI C++ compiler.
12515 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12516 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12520 # Rational C++ 2.4.1
12521 # FIXME: insert proper C++ library support
12527 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12528 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'
12529 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12532 allow_undefined_flag_CXX=' -expect_unresolved \*'
12533 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'
12534 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12535 echo "-hidden">> $lib.exp~
12536 $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~
12538 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12542 hardcode_libdir_separator_CXX=:
12544 # Commands to make compiler produce verbose output that lists
12545 # what "hidden" libraries, object files and flags are used when
12546 # linking a shared library.
12548 # There doesn't appear to be a way to prevent this compiler from
12549 # explicitly linking system object files so we need to strip them
12550 # from the output so that they don't get included in the library
12552 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"'
12555 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12556 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12559 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'
12562 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'
12566 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12567 hardcode_libdir_separator_CXX=:
12569 # Commands to make compiler produce verbose output that lists
12570 # what "hidden" libraries, object files and flags are used when
12571 # linking a shared library.
12572 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12575 # FIXME: insert proper C++ library support
12583 # FIXME: insert proper C++ library support
12588 case $cc_basename in
12591 # FIXME: insert proper C++ library support
12596 # FIXME: insert proper C++ library support
12600 # FIXME: insert proper C++ library support
12607 case $cc_basename in
12609 # Sun C++ 4.2, 5.x and Centerline C++
12610 archive_cmds_need_lc_CXX=yes
12611 no_undefined_flag_CXX=' -zdefs'
12612 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12613 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12614 $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'
12616 hardcode_libdir_flag_spec_CXX='-R$libdir'
12617 hardcode_shlibpath_var_CXX=no
12619 solaris2.[0-5] | solaris2.[0-5].*) ;;
12621 # The compiler driver will combine and reorder linker options,
12622 # but understands `-z linker_flag'.
12623 # Supported since Solaris 2.6 (maybe 2.5.1?)
12624 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12627 link_all_deplibs_CXX=yes
12629 output_verbose_link_cmd='func_echo_all'
12631 # Archives containing C++ object files must be created using
12632 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12633 # necessary to make sure instantiated templates are included
12635 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12638 # Green Hills C++ Compiler
12639 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12641 # The C++ compiler must be used to create the archive.
12642 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12645 # GNU C++ compiler with Solaris linker
12646 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12647 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12648 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12649 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12650 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12651 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12653 # Commands to make compiler produce verbose output that lists
12654 # what "hidden" libraries, object files and flags are used when
12655 # linking a shared library.
12656 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12658 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12660 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12661 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12662 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12664 # Commands to make compiler produce verbose output that lists
12665 # what "hidden" libraries, object files and flags are used when
12666 # linking a shared library.
12667 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12670 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12672 solaris2.[0-5] | solaris2.[0-5].*) ;;
12674 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12682 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12683 no_undefined_flag_CXX='${wl}-z,text'
12684 archive_cmds_need_lc_CXX=no
12685 hardcode_shlibpath_var_CXX=no
12686 runpath_var='LD_RUN_PATH'
12688 case $cc_basename in
12690 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12691 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12694 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12695 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12700 sysv5* | sco3.2v5* | sco5v6*)
12701 # Note: We can NOT use -z defs as we might desire, because we do not
12702 # link with -lc, and that would cause any symbols used from libc to
12703 # always be unresolved, which means just about no library would
12704 # ever link correctly. If we're not using GNU ld we use -z text
12705 # though, which does catch some bad symbols but isn't as heavy-handed
12707 no_undefined_flag_CXX='${wl}-z,text'
12708 allow_undefined_flag_CXX='${wl}-z,nodefs'
12709 archive_cmds_need_lc_CXX=no
12710 hardcode_shlibpath_var_CXX=no
12711 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12712 hardcode_libdir_separator_CXX=':'
12713 link_all_deplibs_CXX=yes
12714 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12715 runpath_var='LD_RUN_PATH'
12717 case $cc_basename in
12719 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12720 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12721 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
12722 '"$old_archive_cmds_CXX"
12723 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
12724 '"$reload_cmds_CXX"
12727 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12728 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12734 case $cc_basename in
12736 # NonStop-UX NCC 3.20
12737 # FIXME: insert proper C++ library support
12741 # FIXME: insert proper C++ library support
12748 # FIXME: insert proper C++ library support
12753 # FIXME: insert proper C++ library support
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12759 $as_echo "$ld_shlibs_CXX" >&6; }
12760 test "$ld_shlibs_CXX" = no && can_build_shared=no
12766 ## There is no encapsulation within the following macros, do not change
12767 ## the running order or otherwise move them around unless you know exactly
12768 ## what you are doing...
12769 # Dependencies to place before and after the object being linked:
12770 predep_objects_CXX=
12771 postdep_objects_CXX=
12774 compiler_lib_search_path_CXX=
12776 cat > conftest.$ac_ext <<_LT_EOF
12780 Foo (void) { a = 0; }
12786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12787 (eval $ac_compile) 2>&5
12789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12790 test $ac_status = 0; }; then
12791 # Parse the compiler output and extract the necessary
12792 # objects, libraries and library flags.
12794 # Sentinel used to keep track of whether or not we are before
12795 # the conftest object file.
12796 pre_test_object_deps_done=no
12798 for p in `eval "$output_verbose_link_cmd"`; do
12802 # Some compilers place space between "-{L,R}" and the path.
12803 # Remove the space.
12804 if test $p = "-L" ||
12805 test $p = "-R"; then
12812 if test "$pre_test_object_deps_done" = no; then
12815 # Internal compiler library paths should come after those
12816 # provided the user. The postdeps already come after the
12817 # user supplied libs so there is no need to process them.
12818 if test -z "$compiler_lib_search_path_CXX"; then
12819 compiler_lib_search_path_CXX="${prev}${p}"
12821 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12824 # The "-l" case would never come before the object being
12825 # linked, so don't bother handling this case.
12828 if test -z "$postdeps_CXX"; then
12829 postdeps_CXX="${prev}${p}"
12831 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12837 # This assumes that the test object file only shows up
12838 # once in the compiler output.
12839 if test "$p" = "conftest.$objext"; then
12840 pre_test_object_deps_done=yes
12844 if test "$pre_test_object_deps_done" = no; then
12845 if test -z "$predep_objects_CXX"; then
12846 predep_objects_CXX="$p"
12848 predep_objects_CXX="$predep_objects_CXX $p"
12851 if test -z "$postdep_objects_CXX"; then
12852 postdep_objects_CXX="$p"
12854 postdep_objects_CXX="$postdep_objects_CXX $p"
12859 *) ;; # Ignore the rest.
12867 echo "libtool.m4: error: problem compiling CXX test program"
12870 $RM -f confest.$objext
12872 # PORTME: override above test on systems where it is broken
12875 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12876 # hack all around it, let's just trust "g++" to DTRT.
12877 predep_objects_CXX=
12878 postdep_objects_CXX=
12883 case `$CC -V 2>&1 | sed 5q` in
12887 # The more standards-conforming stlport4 library is
12888 # incompatible with the Cstd library. Avoid specifying
12889 # it if it's in CXXFLAGS. Ignore libCrun as
12890 # -library=stlport4 depends on it.
12891 case " $CXX $CXXFLAGS " in
12892 *" -library=stlport4 "*)
12893 solaris_use_stlport4=yes
12897 if test "$solaris_use_stlport4" != yes; then
12898 postdeps_CXX='-library=Cstd -library=Crun'
12905 case $cc_basename in
12907 # The more standards-conforming stlport4 library is
12908 # incompatible with the Cstd library. Avoid specifying
12909 # it if it's in CXXFLAGS. Ignore libCrun as
12910 # -library=stlport4 depends on it.
12911 case " $CXX $CXXFLAGS " in
12912 *" -library=stlport4 "*)
12913 solaris_use_stlport4=yes
12917 # Adding this requires a known-good setup of shared libraries for
12918 # Sun compiler versions before 5.6, else PIC objects from an old
12919 # archive will be linked into the output, leading to subtle bugs.
12920 if test "$solaris_use_stlport4" != yes; then
12921 postdeps_CXX='-library=Cstd -library=Crun'
12929 case " $postdeps_CXX " in
12930 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12932 compiler_lib_search_dirs_CXX=
12933 if test -n "${compiler_lib_search_path_CXX}"; then
12934 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12967 lt_prog_compiler_wl_CXX=
12968 lt_prog_compiler_pic_CXX=
12969 lt_prog_compiler_static_CXX=
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12972 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12974 # C++ specific cases for pic, static, wl, etc.
12975 if test "$GXX" = yes; then
12976 lt_prog_compiler_wl_CXX='-Wl,'
12977 lt_prog_compiler_static_CXX='-static'
12981 # All AIX code is PIC.
12982 if test "$host_cpu" = ia64; then
12983 # AIX 5 now supports IA64 processor
12984 lt_prog_compiler_static_CXX='-Bstatic'
12986 lt_prog_compiler_pic_CXX='-fPIC'
12992 # see comment about AmigaOS4 .so support
12993 lt_prog_compiler_pic_CXX='-fPIC'
12996 # FIXME: we need at least 68020 code to build shared libraries, but
12997 # adding the `-m68020' flag to GCC prevents building anything better,
12999 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13004 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13005 # PIC is the default for these OSes.
13007 mingw* | cygwin* | os2* | pw32* | cegcc*)
13008 # This hack is so that the source file can tell whether it is being
13009 # built for inclusion in a dll (and should export symbols for example).
13010 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13011 # (--disable-auto-import) libraries
13012 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13014 darwin* | rhapsody*)
13015 # PIC is the default on this platform
13016 # Common symbols not allowed in MH_DYLIB files
13017 lt_prog_compiler_pic_CXX='-fno-common'
13020 # DJGPP does not support shared libraries at all
13021 lt_prog_compiler_pic_CXX=
13024 # PIC is the default for Haiku.
13025 # The "-static" flag exists, but is broken.
13026 lt_prog_compiler_static_CXX=
13029 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13030 # Instead, we relocate shared libraries at runtime.
13033 if test -d /usr/nec; then
13034 lt_prog_compiler_pic_CXX=-Kconform_pic
13038 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13039 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13040 # sets the default TLS model and affects inlining.
13045 lt_prog_compiler_pic_CXX='-fPIC'
13050 # QNX uses GNU C++, but need to define -shared option too, otherwise
13051 # it will coredump.
13052 lt_prog_compiler_pic_CXX='-fPIC -shared'
13055 lt_prog_compiler_pic_CXX='-fPIC'
13061 # All AIX code is PIC.
13062 if test "$host_cpu" = ia64; then
13063 # AIX 5 now supports IA64 processor
13064 lt_prog_compiler_static_CXX='-Bstatic'
13066 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13070 case $cc_basename in
13072 # Green Hills C++ Compiler
13073 # _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"
13078 case $cc_basename in
13080 lt_prog_compiler_pic_CXX='-KPIC'
13083 # Green Hills C++ Compiler
13084 lt_prog_compiler_pic_CXX='-pic'
13090 freebsd* | dragonfly*)
13091 # FreeBSD uses GNU C++
13093 hpux9* | hpux10* | hpux11*)
13094 case $cc_basename in
13096 lt_prog_compiler_wl_CXX='-Wl,'
13097 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13098 if test "$host_cpu" != ia64; then
13099 lt_prog_compiler_pic_CXX='+Z'
13103 lt_prog_compiler_wl_CXX='-Wl,'
13104 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13110 lt_prog_compiler_pic_CXX='+Z'
13119 # This is c89, which is MS Visual C++ (no shared libs)
13120 # Anyone wants to do a port?
13122 irix5* | irix6* | nonstopux*)
13123 case $cc_basename in
13125 lt_prog_compiler_wl_CXX='-Wl,'
13126 lt_prog_compiler_static_CXX='-non_shared'
13127 # CC pic flag -KPIC is the default.
13133 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13134 case $cc_basename in
13137 lt_prog_compiler_wl_CXX='--backend -Wl,'
13138 lt_prog_compiler_pic_CXX='-fPIC'
13141 # old Intel C++ for x86_64 which still supported -KPIC.
13142 lt_prog_compiler_wl_CXX='-Wl,'
13143 lt_prog_compiler_pic_CXX='-KPIC'
13144 lt_prog_compiler_static_CXX='-static'
13147 # Intel C++, used to be incompatible with GCC.
13148 # ICC 10 doesn't accept -KPIC any more.
13149 lt_prog_compiler_wl_CXX='-Wl,'
13150 lt_prog_compiler_pic_CXX='-fPIC'
13151 lt_prog_compiler_static_CXX='-static'
13154 # Portland Group C++ compiler
13155 lt_prog_compiler_wl_CXX='-Wl,'
13156 lt_prog_compiler_pic_CXX='-fpic'
13157 lt_prog_compiler_static_CXX='-Bstatic'
13161 # Make sure the PIC flag is empty. It appears that all Alpha
13162 # Linux and Compaq Tru64 Unix objects are PIC.
13163 lt_prog_compiler_pic_CXX=
13164 lt_prog_compiler_static_CXX='-non_shared'
13166 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13167 # IBM XL 8.0, 9.0 on PPC and BlueGene
13168 lt_prog_compiler_wl_CXX='-Wl,'
13169 lt_prog_compiler_pic_CXX='-qpic'
13170 lt_prog_compiler_static_CXX='-qstaticlink'
13173 case `$CC -V 2>&1 | sed 5q` in
13176 lt_prog_compiler_pic_CXX='-KPIC'
13177 lt_prog_compiler_static_CXX='-Bstatic'
13178 lt_prog_compiler_wl_CXX='-Qoption ld '
13189 case $cc_basename in
13191 lt_prog_compiler_pic_CXX='-W c,exportall'
13200 # QNX uses GNU C++, but need to define -shared option too, otherwise
13201 # it will coredump.
13202 lt_prog_compiler_pic_CXX='-fPIC -shared'
13204 osf3* | osf4* | osf5*)
13205 case $cc_basename in
13207 lt_prog_compiler_wl_CXX='--backend -Wl,'
13210 # Rational C++ 2.4.1
13211 lt_prog_compiler_pic_CXX='-pic'
13214 # Digital/Compaq C++
13215 lt_prog_compiler_wl_CXX='-Wl,'
13216 # Make sure the PIC flag is empty. It appears that all Alpha
13217 # Linux and Compaq Tru64 Unix objects are PIC.
13218 lt_prog_compiler_pic_CXX=
13219 lt_prog_compiler_static_CXX='-non_shared'
13228 case $cc_basename in
13230 # Sun C++ 4.2, 5.x and Centerline C++
13231 lt_prog_compiler_pic_CXX='-KPIC'
13232 lt_prog_compiler_static_CXX='-Bstatic'
13233 lt_prog_compiler_wl_CXX='-Qoption ld '
13236 # Green Hills C++ Compiler
13237 lt_prog_compiler_pic_CXX='-PIC'
13244 case $cc_basename in
13247 lt_prog_compiler_pic_CXX='-pic'
13248 lt_prog_compiler_static_CXX='-Bstatic'
13252 lt_prog_compiler_pic_CXX='-pic'
13258 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13259 case $cc_basename in
13261 lt_prog_compiler_wl_CXX='-Wl,'
13262 lt_prog_compiler_pic_CXX='-KPIC'
13263 lt_prog_compiler_static_CXX='-Bstatic'
13268 case $cc_basename in
13270 # NonStop-UX NCC 3.20
13271 lt_prog_compiler_pic_CXX='-KPIC'
13280 lt_prog_compiler_can_build_shared_CXX=no
13286 # For platforms which do not support PIC, -DPIC is meaningless:
13288 lt_prog_compiler_pic_CXX=
13291 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13295 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13300 # Check to make sure the PIC flag actually works.
13302 if test -n "$lt_prog_compiler_pic_CXX"; then
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13304 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13305 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13306 $as_echo_n "(cached) " >&6
13308 lt_cv_prog_compiler_pic_works_CXX=no
13309 ac_outfile=conftest.$ac_objext
13310 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13311 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13312 # Insert the option either (1) after the last *FLAGS variable, or
13313 # (2) before a word containing "conftest.", or (3) at the end.
13314 # Note that $ac_compile itself does not contain backslashes and begins
13315 # with a dollar sign (not a hyphen), so the echo should work correctly.
13316 # The option is referenced via a variable to avoid confusing sed.
13317 lt_compile=`echo "$ac_compile" | $SED \
13318 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13319 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13320 -e 's:$: $lt_compiler_flag:'`
13321 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13322 (eval "$lt_compile" 2>conftest.err)
13324 cat conftest.err >&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 if (exit $ac_status) && test -s "$ac_outfile"; then
13327 # The compiler can only warn and ignore the option if not recognized
13328 # So say no if there are warnings other than the usual output.
13329 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13330 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13331 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13332 lt_cv_prog_compiler_pic_works_CXX=yes
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13339 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13341 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13342 case $lt_prog_compiler_pic_CXX in
13344 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13347 lt_prog_compiler_pic_CXX=
13348 lt_prog_compiler_can_build_shared_CXX=no
13356 # Check to make sure the static flag actually works.
13358 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13360 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13361 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13362 $as_echo_n "(cached) " >&6
13364 lt_cv_prog_compiler_static_works_CXX=no
13365 save_LDFLAGS="$LDFLAGS"
13366 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13367 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13368 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13369 # The linker can only warn and ignore the option if not recognized
13370 # So say no if there are warnings
13371 if test -s conftest.err; then
13372 # Append any errors to the config.log.
13373 cat conftest.err 1>&5
13374 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13375 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13376 if diff conftest.exp conftest.er2 >/dev/null; then
13377 lt_cv_prog_compiler_static_works_CXX=yes
13380 lt_cv_prog_compiler_static_works_CXX=yes
13384 LDFLAGS="$save_LDFLAGS"
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13388 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13390 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13393 lt_prog_compiler_static_CXX=
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13400 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13401 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13402 $as_echo_n "(cached) " >&6
13404 lt_cv_prog_compiler_c_o_CXX=no
13405 $RM -r conftest 2>/dev/null
13409 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13411 lt_compiler_flag="-o out/conftest2.$ac_objext"
13412 # Insert the option either (1) after the last *FLAGS variable, or
13413 # (2) before a word containing "conftest.", or (3) at the end.
13414 # Note that $ac_compile itself does not contain backslashes and begins
13415 # with a dollar sign (not a hyphen), so the echo should work correctly.
13416 lt_compile=`echo "$ac_compile" | $SED \
13417 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13418 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13419 -e 's:$: $lt_compiler_flag:'`
13420 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13421 (eval "$lt_compile" 2>out/conftest.err)
13423 cat out/conftest.err >&5
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13427 # The compiler can only warn and ignore the option if not recognized
13428 # So say no if there are warnings
13429 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13430 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13431 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13432 lt_cv_prog_compiler_c_o_CXX=yes
13437 # SGI C++ compiler will create directory out/ii_files/ for
13438 # template instantiation
13439 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13440 $RM out/* && rmdir out
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13447 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13452 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13453 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13454 $as_echo_n "(cached) " >&6
13456 lt_cv_prog_compiler_c_o_CXX=no
13457 $RM -r conftest 2>/dev/null
13461 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13463 lt_compiler_flag="-o out/conftest2.$ac_objext"
13464 # Insert the option either (1) after the last *FLAGS variable, or
13465 # (2) before a word containing "conftest.", or (3) at the end.
13466 # Note that $ac_compile itself does not contain backslashes and begins
13467 # with a dollar sign (not a hyphen), so the echo should work correctly.
13468 lt_compile=`echo "$ac_compile" | $SED \
13469 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13470 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13471 -e 's:$: $lt_compiler_flag:'`
13472 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13473 (eval "$lt_compile" 2>out/conftest.err)
13475 cat out/conftest.err >&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13479 # The compiler can only warn and ignore the option if not recognized
13480 # So say no if there are warnings
13481 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13482 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13483 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13484 lt_cv_prog_compiler_c_o_CXX=yes
13489 # SGI C++ compiler will create directory out/ii_files/ for
13490 # template instantiation
13491 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13492 $RM out/* && rmdir out
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13499 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13504 hard_links="nottested"
13505 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13506 # do not overwrite the value of need_locks provided by the user
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13508 $as_echo_n "checking if we can lock with hard links... " >&6; }
13511 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13513 ln conftest.a conftest.b 2>&5 || hard_links=no
13514 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13516 $as_echo "$hard_links" >&6; }
13517 if test "$hard_links" = no; then
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13519 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13529 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13531 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13534 # If we're using GNU nm, then we don't want the "-C" option.
13535 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13536 # Also, AIX nm treats weak defined symbols like other global defined
13537 # symbols, whereas GNU nm marks them as "W".
13538 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13539 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'
13541 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'
13545 export_symbols_cmds_CXX="$ltdll_cmds"
13547 cygwin* | mingw* | cegcc*)
13548 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'
13551 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13554 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13557 $as_echo "$ld_shlibs_CXX" >&6; }
13558 test "$ld_shlibs_CXX" = no && can_build_shared=no
13560 with_gnu_ld_CXX=$with_gnu_ld
13568 # Do we need to explicitly link libc?
13570 case "x$archive_cmds_need_lc_CXX" in
13572 # Assume -lc should be added
13573 archive_cmds_need_lc_CXX=yes
13575 if test "$enable_shared" = yes && test "$GCC" = yes; then
13576 case $archive_cmds_CXX in
13578 # FIXME: we may have to deal with multi-command sequences.
13581 # Test whether the compiler implicitly links with -lc since on some
13582 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13583 # to ld, don't add -lc before -lgcc.
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13585 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13586 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13587 $as_echo_n "(cached) " >&6
13590 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13593 (eval $ac_compile) 2>&5
13595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13596 test $ac_status = 0; } 2>conftest.err; then
13599 libobjs=conftest.$ac_objext
13601 wl=$lt_prog_compiler_wl_CXX
13602 pic_flag=$lt_prog_compiler_pic_CXX
13608 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13609 allow_undefined_flag_CXX=
13610 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13611 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13614 test $ac_status = 0; }
13616 lt_cv_archive_cmds_need_lc_CXX=no
13618 lt_cv_archive_cmds_need_lc_CXX=yes
13620 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13622 cat conftest.err 1>&5
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13628 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13629 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13700 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13702 library_names_spec=
13703 libname_spec='lib$name'
13707 postuninstall_cmds=
13711 shlibpath_overrides_runpath=unknown
13713 dynamic_linker="$host_os ld.so"
13714 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13715 need_lib_prefix=unknown
13716 hardcode_into_libs=no
13718 # when you set need_version to no, make sure it does not cause -set_version
13719 # flags to be left without arguments
13720 need_version=unknown
13725 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13726 shlibpath_var=LIBPATH
13728 # AIX 3 has no versioning support, so we append a major version to the name.
13729 soname_spec='${libname}${release}${shared_ext}$major'
13736 hardcode_into_libs=yes
13737 if test "$host_cpu" = ia64; then
13738 # AIX 5 supports IA64
13739 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13740 shlibpath_var=LD_LIBRARY_PATH
13742 # With GCC up to 2.95.x, collect2 would create an import file
13743 # for dependence libraries. The import file would start with
13744 # the line `#! .'. This would cause the generated library to
13745 # depend on `.', always an invalid library. This was fixed in
13746 # development snapshots of GCC prior to 3.0.
13748 aix4 | aix4.[01] | aix4.[01].*)
13749 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13751 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13754 can_build_shared=no
13758 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13759 # soname into executable. Probably we can add versioning support to
13760 # collect2, so additional links can be useful in future.
13761 if test "$aix_use_runtimelinking" = yes; then
13762 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13763 # instead of lib<name>.a to let people know that these are not
13764 # typical AIX shared libraries.
13765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13767 # We preserve .a as extension for shared libraries through AIX4.2
13768 # and later when we are not doing run time linking.
13769 library_names_spec='${libname}${release}.a $libname.a'
13770 soname_spec='${libname}${release}${shared_ext}$major'
13772 shlibpath_var=LIBPATH
13779 # Since July 2007 AmigaOS4 officially supports .so libraries.
13780 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13784 library_names_spec='$libname.ixlibrary $libname.a'
13785 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13786 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'
13792 library_names_spec='${libname}${shared_ext}'
13793 dynamic_linker="$host_os ld.so"
13794 shlibpath_var=LIBRARY_PATH
13800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13801 soname_spec='${libname}${release}${shared_ext}$major'
13802 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13803 shlibpath_var=LD_LIBRARY_PATH
13804 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13805 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13806 # the default ld.so.conf also contains /usr/contrib/lib and
13807 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13808 # libtool to hard-code these into programs
13811 cygwin* | mingw* | pw32* | cegcc*)
13812 version_type=windows
13817 case $GCC,$host_os in
13818 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13819 library_names_spec='$libname.dll.a'
13820 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13821 postinstall_cmds='base_file=`basename \${file}`~
13822 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13823 dldir=$destdir/`dirname \$dlpath`~
13824 test -d \$dldir || mkdir -p \$dldir~
13825 $install_prog $dir/$dlname \$dldir/$dlname~
13826 chmod a+x \$dldir/$dlname~
13827 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13828 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13830 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13831 dlpath=$dir/\$dldll~
13833 shlibpath_overrides_runpath=yes
13837 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13838 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13842 # MinGW DLLs use traditional 'lib' prefix
13843 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13846 # pw32 DLLs use 'pw' prefix rather than 'lib'
13847 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13853 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13856 dynamic_linker='Win32 ld.exe'
13857 # FIXME: first we should search . and the directory the executable is in
13861 darwin* | rhapsody*)
13862 dynamic_linker="$host_os dyld"
13863 version_type=darwin
13866 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13867 soname_spec='${libname}${release}${major}$shared_ext'
13868 shlibpath_overrides_runpath=yes
13869 shlibpath_var=DYLD_LIBRARY_PATH
13870 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13872 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13880 soname_spec='${libname}${release}${shared_ext}$major'
13881 shlibpath_var=LD_LIBRARY_PATH
13884 freebsd* | dragonfly*)
13885 # DragonFly does not have aout. When/if they implement a new
13886 # versioning mechanism, adjust this.
13887 if test -x /usr/bin/objformat; then
13888 objformat=`/usr/bin/objformat`
13891 freebsd[23].*) objformat=aout ;;
13892 *) objformat=elf ;;
13895 version_type=freebsd-$objformat
13896 case $version_type in
13898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13903 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13907 shlibpath_var=LD_LIBRARY_PATH
13910 shlibpath_overrides_runpath=yes
13912 freebsd3.[01]* | freebsdelf3.[01]*)
13913 shlibpath_overrides_runpath=yes
13914 hardcode_into_libs=yes
13916 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13917 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13918 shlibpath_overrides_runpath=no
13919 hardcode_into_libs=yes
13921 *) # from 4.6 on, and DragonFly
13922 shlibpath_overrides_runpath=yes
13923 hardcode_into_libs=yes
13932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13933 soname_spec='${libname}${release}${shared_ext}$major'
13934 shlibpath_var=LD_LIBRARY_PATH
13935 hardcode_into_libs=yes
13942 dynamic_linker="$host_os runtime_loader"
13943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13944 soname_spec='${libname}${release}${shared_ext}$major'
13945 shlibpath_var=LIBRARY_PATH
13946 shlibpath_overrides_runpath=yes
13947 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13948 hardcode_into_libs=yes
13951 hpux9* | hpux10* | hpux11*)
13952 # Give a soname corresponding to the major version so that dld.sl refuses to
13953 # link against other versions.
13960 hardcode_into_libs=yes
13961 dynamic_linker="$host_os dld.so"
13962 shlibpath_var=LD_LIBRARY_PATH
13963 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13965 soname_spec='${libname}${release}${shared_ext}$major'
13966 if test "X$HPUX_IA64_MODE" = X32; then
13967 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13969 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13971 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13975 hardcode_into_libs=yes
13976 dynamic_linker="$host_os dld.sl"
13977 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13978 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13980 soname_spec='${libname}${release}${shared_ext}$major'
13981 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13982 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13986 dynamic_linker="$host_os dld.sl"
13987 shlibpath_var=SHLIB_PATH
13988 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13990 soname_spec='${libname}${release}${shared_ext}$major'
13993 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13994 postinstall_cmds='chmod 555 $lib'
13995 # or fails outright, so override atomically:
13996 install_override_mode=555
14003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14004 soname_spec='${libname}${release}${shared_ext}$major'
14005 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14006 shlibpath_var=LD_LIBRARY_PATH
14007 shlibpath_overrides_runpath=no
14008 hardcode_into_libs=yes
14011 irix5* | irix6* | nonstopux*)
14013 nonstopux*) version_type=nonstopux ;;
14015 if test "$lt_cv_prog_gnu_ld" = yes; then
14023 soname_spec='${libname}${release}${shared_ext}$major'
14024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14026 irix5* | nonstopux*)
14027 libsuff= shlibsuff=
14030 case $LD in # libtool.m4 will add one of these switches to LD
14031 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14032 libsuff= shlibsuff= libmagic=32-bit;;
14033 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14034 libsuff=32 shlibsuff=N32 libmagic=N32;;
14035 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14036 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14037 *) libsuff= shlibsuff= libmagic=never-match;;
14041 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14042 shlibpath_overrides_runpath=no
14043 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14044 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14045 hardcode_into_libs=yes
14048 # No shared lib support for Linux oldld, aout, or coff.
14049 linux*oldld* | linux*aout* | linux*coff*)
14053 # This must be Linux ELF.
14054 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14059 soname_spec='${libname}${release}${shared_ext}$major'
14060 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14061 shlibpath_var=LD_LIBRARY_PATH
14062 shlibpath_overrides_runpath=no
14064 # Some binutils ld are patched to set DT_RUNPATH
14065 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14066 $as_echo_n "(cached) " >&6
14068 lt_cv_shlibpath_overrides_runpath=no
14069 save_LDFLAGS=$LDFLAGS
14070 save_libdir=$libdir
14071 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14072 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14084 if ac_fn_cxx_try_link "$LINENO"; then :
14085 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14086 lt_cv_shlibpath_overrides_runpath=yes
14089 rm -f core conftest.err conftest.$ac_objext \
14090 conftest$ac_exeext conftest.$ac_ext
14091 LDFLAGS=$save_LDFLAGS
14092 libdir=$save_libdir
14096 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14098 # This implies no fast_install, which is unacceptable.
14099 # Some rework will be needed to allow for fast_install
14100 # before this can be enabled.
14101 hardcode_into_libs=yes
14103 # Append ld.so.conf contents to the search path
14104 if test -f /etc/ld.so.conf; then
14105 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' ' '`
14106 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14109 # We used to test for /lib/ld.so.1 and disable shared libraries on
14110 # powerpc, because MkLinux only supported shared libraries with the
14111 # GNU dynamic linker. Since this was broken with cross compilers,
14112 # most powerpc-linux boxes support dynamic linking these days and
14113 # people can always --disable-shared, the test was removed, and we
14114 # assume the GNU/Linux dynamic linker is in use.
14115 dynamic_linker='GNU/Linux ld.so'
14122 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14124 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14125 dynamic_linker='NetBSD (a.out) ld.so'
14127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14128 soname_spec='${libname}${release}${shared_ext}$major'
14129 dynamic_linker='NetBSD ld.elf_so'
14131 shlibpath_var=LD_LIBRARY_PATH
14132 shlibpath_overrides_runpath=yes
14133 hardcode_into_libs=yes
14138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14139 shlibpath_var=LD_LIBRARY_PATH
14140 shlibpath_overrides_runpath=yes
14147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14148 soname_spec='${libname}${release}${shared_ext}$major'
14149 shlibpath_var=LD_LIBRARY_PATH
14150 shlibpath_overrides_runpath=no
14151 hardcode_into_libs=yes
14152 dynamic_linker='ldqnx.so'
14157 sys_lib_dlsearch_path_spec="/usr/lib"
14159 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14161 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14162 *) need_version=no ;;
14164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14165 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14166 shlibpath_var=LD_LIBRARY_PATH
14167 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14169 openbsd2.[89] | openbsd2.[89].*)
14170 shlibpath_overrides_runpath=no
14173 shlibpath_overrides_runpath=yes
14177 shlibpath_overrides_runpath=yes
14182 libname_spec='$name'
14185 library_names_spec='$libname${shared_ext} $libname.a'
14186 dynamic_linker='OS/2 ld.exe'
14187 shlibpath_var=LIBPATH
14190 osf3* | osf4* | osf5*)
14194 soname_spec='${libname}${release}${shared_ext}$major'
14195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14196 shlibpath_var=LD_LIBRARY_PATH
14197 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14198 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14210 soname_spec='${libname}${release}${shared_ext}$major'
14211 shlibpath_var=LD_LIBRARY_PATH
14212 shlibpath_overrides_runpath=yes
14213 hardcode_into_libs=yes
14214 # ldd complains unless libraries are executable
14215 postinstall_cmds='chmod +x $lib'
14220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14221 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14222 shlibpath_var=LD_LIBRARY_PATH
14223 shlibpath_overrides_runpath=yes
14224 if test "$with_gnu_ld" = yes; then
14232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14233 soname_spec='${libname}${release}${shared_ext}$major'
14234 shlibpath_var=LD_LIBRARY_PATH
14235 case $host_vendor in
14237 shlibpath_overrides_runpath=no
14239 runpath_var=LD_RUN_PATH
14247 shlibpath_overrides_runpath=no
14248 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14254 if test -d /usr/nec ;then
14256 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14257 soname_spec='$libname${shared_ext}.$major'
14258 shlibpath_var=LD_LIBRARY_PATH
14262 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14263 version_type=freebsd-elf
14266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14267 soname_spec='${libname}${release}${shared_ext}$major'
14268 shlibpath_var=LD_LIBRARY_PATH
14269 shlibpath_overrides_runpath=yes
14270 hardcode_into_libs=yes
14271 if test "$with_gnu_ld" = yes; then
14272 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14274 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14277 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14281 sys_lib_dlsearch_path_spec='/usr/lib'
14285 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14290 shlibpath_var=LD_LIBRARY_PATH
14291 shlibpath_overrides_runpath=no
14292 hardcode_into_libs=yes
14297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14298 soname_spec='${libname}${release}${shared_ext}$major'
14299 shlibpath_var=LD_LIBRARY_PATH
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14307 $as_echo "$dynamic_linker" >&6; }
14308 test "$dynamic_linker" = no && can_build_shared=no
14310 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14311 if test "$GCC" = yes; then
14312 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14315 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14316 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14318 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14319 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14360 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14361 hardcode_action_CXX=
14362 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14363 test -n "$runpath_var_CXX" ||
14364 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14366 # We can hardcode non-existent directories.
14367 if test "$hardcode_direct_CXX" != no &&
14368 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14369 # have to relink, otherwise we might link with an installed library
14370 # when we should be linking with a yet-to-be-installed one
14371 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14372 test "$hardcode_minus_L_CXX" != no; then
14373 # Linking always hardcodes the temporary library directory.
14374 hardcode_action_CXX=relink
14376 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14377 hardcode_action_CXX=immediate
14380 # We cannot hardcode anything, or else we can only hardcode existing
14382 hardcode_action_CXX=unsupported
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14385 $as_echo "$hardcode_action_CXX" >&6; }
14387 if test "$hardcode_action_CXX" = relink ||
14388 test "$inherit_rpath_CXX" = yes; then
14389 # Fast installation is not supported
14390 enable_fast_install=no
14391 elif test "$shlibpath_overrides_runpath" = yes ||
14392 test "$enable_shared" = no; then
14393 # Fast installation is not necessary
14394 enable_fast_install=needless
14403 fi # test -n "$compiler"
14409 with_gnu_ld=$lt_save_with_gnu_ld
14410 lt_cv_path_LDCXX=$lt_cv_path_LD
14411 lt_cv_path_LD=$lt_save_path_LD
14412 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14413 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14414 fi # test "$_lt_caught_CXX_error" != yes
14417 ac_cpp='$CPP $CPPFLAGS'
14418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14434 ac_config_commands="$ac_config_commands libtool"
14439 # Only expand once:
14446 # The cast to long int works around a bug in the HP C Compiler
14447 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14448 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14449 # This bug is HP SR number 8606223364.
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14451 $as_echo_n "checking size of void *... " >&6; }
14452 if test "${ac_cv_sizeof_void_p+set}" = set; then :
14453 $as_echo_n "(cached) " >&6
14455 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14458 if test "$ac_cv_type_void_p" = yes; then
14459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14461 { as_fn_set_status 77
14462 as_fn_error "cannot compute sizeof (void *)
14463 See \`config.log' for more details." "$LINENO" 5; }; }
14465 ac_cv_sizeof_void_p=0
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
14471 $as_echo "$ac_cv_sizeof_void_p" >&6; }
14475 cat >>confdefs.h <<_ACEOF
14476 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14481 if test "${multilib}" = "yes"; then
14482 multilib_arg="--enable-multilib"
14487 # Get target configury.
14488 unset TSAN_SUPPORTED
14489 . ${srcdir}/configure.tgt
14490 if test "x$TSAN_SUPPORTED" = "xyes"; then
14491 TSAN_SUPPORTED_TRUE=
14492 TSAN_SUPPORTED_FALSE='#'
14494 TSAN_SUPPORTED_TRUE='#'
14495 TSAN_SUPPORTED_FALSE=
14500 *-*-darwin*) MACH_OVERRIDE=true ;;
14501 *) MACH_OVERRIDE=false ;;
14503 if $MACH_OVERRIDE; then
14504 USING_MACH_OVERRIDE_TRUE=
14505 USING_MACH_OVERRIDE_FALSE='#'
14507 USING_MACH_OVERRIDE_TRUE='#'
14508 USING_MACH_OVERRIDE_FALSE=
14512 ac_config_files="$ac_config_files Makefile"
14515 ac_config_files="$ac_config_files interception/Makefile sanitizer_common/Makefile asan/Makefile"
14518 if test "x$TSAN_SUPPORTED" = "xyes"; then
14519 ac_config_files="$ac_config_files tsan/Makefile"
14523 cat >confcache <<\_ACEOF
14524 # This file is a shell script that caches the results of configure
14525 # tests run on this system so they can be shared between configure
14526 # scripts and configure runs, see configure's option --config-cache.
14527 # It is not useful on other systems. If it contains results you don't
14528 # want to keep, you may remove or edit it.
14530 # config.status only pays attention to the cache file if you give it
14531 # the --recheck option to rerun configure.
14533 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14534 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14535 # following values.
14539 # The following way of writing the cache mishandles newlines in values,
14540 # but we know of no workaround that is simple, portable, and efficient.
14541 # So, we kill variables containing newlines.
14542 # Ultrix sh set writes to stderr and can't be redirected directly,
14543 # and sets the high bit in the cache file unless we assign to the vars.
14545 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14546 eval ac_val=\$$ac_var
14550 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14551 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14554 _ | IFS | as_nl) ;; #(
14555 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14556 *) { eval $ac_var=; unset $ac_var;} ;;
14562 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14563 *${as_nl}ac_space=\ *)
14564 # `set' does not quote correctly, so add quotes: double-quote
14565 # substitution turns \\\\ into \\, and sed turns \\ into \.
14568 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14571 # `set' quotes correctly as required by POSIX, so do not add quotes.
14572 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14581 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14583 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14585 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14586 if test -w "$cache_file"; then
14587 test "x$cache_file" != "x/dev/null" &&
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14589 $as_echo "$as_me: updating cache $cache_file" >&6;}
14590 cat confcache >$cache_file
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14593 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14598 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14599 # Let make expand exec_prefix.
14600 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14602 # Transform confdefs.h into DEFS.
14603 # Protect against shell expansion while executing Makefile rules.
14604 # Protect against Makefile macro expansion.
14606 # If the first sed substitution is executed (which looks for macros that
14607 # take arguments), then branch to the quote section. Otherwise,
14608 # look for a macro that doesn't take arguments.
14618 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14620 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14624 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14637 DEFS=`sed -n "$ac_script" confdefs.h`
14642 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14643 # 1. Remove the extension, and $U if already installed.
14644 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14645 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14646 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14647 # will be set to the directory where LIBOBJS objects are built.
14648 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14649 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14651 LIBOBJS=$ac_libobjs
14653 LTLIBOBJS=$ac_ltlibobjs
14656 if test -n "$EXEEXT"; then
14658 am__EXEEXT_FALSE='#'
14660 am__EXEEXT_TRUE='#'
14664 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14665 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
14666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14668 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14669 as_fn_error "conditional \"AMDEP\" was never defined.
14670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14672 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14673 as_fn_error "conditional \"am__fastdepCC\" was never defined.
14674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14676 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14677 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
14678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14680 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14681 as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
14682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14684 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
14685 as_fn_error "conditional \"TSAN_SUPPORTED\" was never defined.
14686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14688 if test -z "${USING_MACH_OVERRIDE_TRUE}" && test -z "${USING_MACH_OVERRIDE_FALSE}"; then
14689 as_fn_error "conditional \"USING_MACH_OVERRIDE\" was never defined.
14690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14693 : ${CONFIG_STATUS=./config.status}
14695 ac_clean_files_save=$ac_clean_files
14696 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14698 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14700 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14702 # Generated by $as_me.
14703 # Run this file to recreate the current configuration.
14704 # Compiler output produced by configure, useful for debugging
14705 # configure, is in config.log if it exists.
14708 ac_cs_recheck=false
14711 SHELL=\${CONFIG_SHELL-$SHELL}
14714 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14715 ## -------------------- ##
14716 ## M4sh Initialization. ##
14717 ## -------------------- ##
14719 # Be more Bourne compatible
14720 DUALCASE=1; export DUALCASE # for MKS sh
14721 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14724 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14725 # is contrary to our usage. Disable this feature.
14726 alias -g '${1+"$@"}'='"$@"'
14727 setopt NO_GLOB_SUBST
14729 case `(set -o) 2>/dev/null` in #(
14741 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14742 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14743 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14744 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14745 # Prefer a ksh shell builtin over an external printf program on Solaris,
14746 # but without wasting forks for bash or zsh.
14747 if test -z "$BASH_VERSION$ZSH_VERSION" \
14748 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14749 as_echo='print -r --'
14750 as_echo_n='print -rn --'
14751 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14752 as_echo='printf %s\n'
14753 as_echo_n='printf %s'
14755 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14756 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14757 as_echo_n='/usr/ucb/echo -n'
14759 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14760 as_echo_n_body='eval
14764 expr "X$arg" : "X\\(.*\\)$as_nl";
14765 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14767 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14769 export as_echo_n_body
14770 as_echo_n='sh -c $as_echo_n_body as_echo'
14772 export as_echo_body
14773 as_echo='sh -c $as_echo_body as_echo'
14776 # The user is always right.
14777 if test "${PATH_SEPARATOR+set}" != set; then
14779 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14780 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14787 # We need space, tab and new line, in precisely that order. Quoting is
14788 # there to prevent editors from complaining about space-tab.
14789 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14790 # splitting by setting IFS to empty value.)
14793 # Find who we are. Look in the path if we contain no directory separator.
14795 *[\\/]* ) as_myself=$0 ;;
14796 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14797 for as_dir in $PATH
14800 test -z "$as_dir" && as_dir=.
14801 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14807 # We did not find ourselves, most probably we were run as `sh COMMAND'
14808 # in which case we are not to be found in the path.
14809 if test "x$as_myself" = x; then
14812 if test ! -f "$as_myself"; then
14813 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14817 # Unset variables that we do not need and which cause bugs (e.g. in
14818 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14819 # suppresses any "Segmentation fault" message there. '((' could
14820 # trigger a bug in pdksh 5.2.14.
14821 for as_var in BASH_ENV ENV MAIL MAILPATH
14822 do eval test x\${$as_var+set} = xset \
14823 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14836 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14839 # as_fn_error ERROR [LINENO LOG_FD]
14840 # ---------------------------------
14841 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14842 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14843 # script with status $?, using 1 if that was 0.
14846 as_status=$?; test $as_status -eq 0 && as_status=1
14848 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14849 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14851 $as_echo "$as_me: error: $1" >&2
14852 as_fn_exit $as_status
14856 # as_fn_set_status STATUS
14857 # -----------------------
14858 # Set $? to STATUS, without forking.
14859 as_fn_set_status ()
14862 } # as_fn_set_status
14864 # as_fn_exit STATUS
14865 # -----------------
14866 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14870 as_fn_set_status $1
14876 # Portably unset VAR.
14879 { eval $1=; unset $1;}
14881 as_unset=as_fn_unset
14882 # as_fn_append VAR VALUE
14883 # ----------------------
14884 # Append the text in VALUE to the end of the definition contained in VAR. Take
14885 # advantage of any shell optimizations that allow amortized linear growth over
14886 # repeated appends, instead of the typical quadratic growth present in naive
14888 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14889 eval 'as_fn_append ()
14900 # as_fn_arith ARG...
14901 # ------------------
14902 # Perform arithmetic evaluation on the ARGs, and store the result in the
14903 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14904 # must be portable across $(()) and expr.
14905 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14906 eval 'as_fn_arith ()
14913 as_val=`expr "$@" || test $? -eq 1`
14918 if expr a : '\(a\)' >/dev/null 2>&1 &&
14919 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14925 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14926 as_basename=basename
14931 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14937 as_me=`$as_basename -- "$0" ||
14938 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14939 X"$0" : 'X\(//\)$' \| \
14940 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14942 sed '/^.*\/\([^/][^/]*\)\/*$/{
14956 # Avoid depending upon Character Ranges.
14957 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14958 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14959 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14960 as_cr_digits='0123456789'
14961 as_cr_alnum=$as_cr_Letters$as_cr_digits
14963 ECHO_C= ECHO_N= ECHO_T=
14964 case `echo -n x` in #(((((
14966 case `echo 'xy\c'` in
14967 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14969 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14976 rm -f conf$$ conf$$.exe conf$$.file
14977 if test -d conf$$.dir; then
14978 rm -f conf$$.dir/conf$$.file
14981 mkdir conf$$.dir 2>/dev/null
14983 if (echo >conf$$.file) 2>/dev/null; then
14984 if ln -s conf$$.file conf$$ 2>/dev/null; then
14986 # ... but there are two gotchas:
14987 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14988 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14989 # In both cases, we have to default to `cp -p'.
14990 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14992 elif ln conf$$.file conf$$ 2>/dev/null; then
15000 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15001 rmdir conf$$.dir 2>/dev/null
15006 # Create "$as_dir" as a directory, including parents if necessary.
15011 -*) as_dir=./$as_dir;;
15013 test -d "$as_dir" || eval $as_mkdir_p || {
15017 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15018 *) as_qdir=$as_dir;;
15020 as_dirs="'$as_qdir' $as_dirs"
15021 as_dir=`$as_dirname -- "$as_dir" ||
15022 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15023 X"$as_dir" : 'X\(//\)[^/]' \| \
15024 X"$as_dir" : 'X\(//\)$' \| \
15025 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15026 $as_echo X"$as_dir" |
15027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15031 /^X\(\/\/\)[^/].*/{
15044 test -d "$as_dir" && break
15046 test -z "$as_dirs" || eval "mkdir $as_dirs"
15047 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15051 if mkdir -p . 2>/dev/null; then
15052 as_mkdir_p='mkdir -p "$as_dir"'
15054 test -d ./-p && rmdir ./-p
15058 if test -x / >/dev/null 2>&1; then
15059 as_test_x='test -x'
15061 if ls -dL / >/dev/null 2>&1; then
15068 if test -d "$1"; then
15074 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15075 ???[sx]*):;;*)false;;esac;fi
15079 as_executable_p=$as_test_x
15081 # Sed expression to map a string onto a valid CPP name.
15082 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15084 # Sed expression to map a string onto a valid variable name.
15085 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15089 ## ----------------------------------- ##
15090 ## Main body of $CONFIG_STATUS script. ##
15091 ## ----------------------------------- ##
15093 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15096 # Save the log message, to keep $0 and so on meaningful, and to
15097 # report actual input values of CONFIG_FILES etc. instead of their
15098 # values after options handling.
15100 This file was extended by package-unused $as_me version-unused, which was
15101 generated by GNU Autoconf 2.64. Invocation command line was
15103 CONFIG_FILES = $CONFIG_FILES
15104 CONFIG_HEADERS = $CONFIG_HEADERS
15105 CONFIG_LINKS = $CONFIG_LINKS
15106 CONFIG_COMMANDS = $CONFIG_COMMANDS
15109 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15114 case $ac_config_files in *"
15115 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15121 # Files that config.status was made for.
15122 config_files="$ac_config_files"
15123 config_commands="$ac_config_commands"
15127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15129 \`$as_me' instantiates files and other configuration actions
15130 from templates according to the current configuration. Unless the files
15131 and actions are specified as TAGs, all are instantiated by default.
15133 Usage: $0 [OPTION]... [TAG]...
15135 -h, --help print this help, then exit
15136 -V, --version print version number and configuration settings, then exit
15137 -q, --quiet, --silent
15138 do not print progress messages
15139 -d, --debug don't remove temporary files
15140 --recheck update $as_me by reconfiguring in the same conditions
15141 --file=FILE[:TEMPLATE]
15142 instantiate the configuration file FILE
15144 Configuration files:
15147 Configuration commands:
15150 Report bugs to <libsanitizer>."
15153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15155 package-unused config.status version-unused
15156 configured by $0, generated by GNU Autoconf 2.64,
15157 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15159 Copyright (C) 2009 Free Software Foundation, Inc.
15160 This config.status script is free software; the Free Software Foundation
15161 gives unlimited permission to copy, distribute and modify it."
15168 test -n "\$AWK" || AWK=awk
15171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15172 # The default lists apply if the user does not specify any file.
15178 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15179 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15190 # Handling of the options.
15191 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15193 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15194 $as_echo "$ac_cs_version"; exit ;;
15195 --debug | --debu | --deb | --de | --d | -d )
15197 --file | --fil | --fi | --f )
15200 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15202 as_fn_append CONFIG_FILES " '$ac_optarg'"
15203 ac_need_defaults=false;;
15204 --he | --h | --help | --hel | -h )
15205 $as_echo "$ac_cs_usage"; exit ;;
15206 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15207 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15210 # This is an error.
15211 -*) as_fn_error "unrecognized option: \`$1'
15212 Try \`$0 --help' for more information." ;;
15214 *) as_fn_append ac_config_targets " $1"
15215 ac_need_defaults=false ;;
15221 ac_configure_extra_args=
15223 if $ac_cs_silent; then
15225 ac_configure_extra_args="$ac_configure_extra_args --silent"
15229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15230 if \$ac_cs_recheck; then
15231 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15233 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15234 CONFIG_SHELL='$SHELL'
15235 export CONFIG_SHELL
15240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15244 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15245 ## Running $as_me. ##
15251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15259 with_multisubdir="$with_multisubdir"
15260 with_multisrctop="$with_multisrctop"
15261 with_target_subdir="$with_target_subdir"
15262 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15263 multi_basedir="$multi_basedir"
15264 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15267 GFORTRAN="$GFORTRAN"
15269 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15272 # The HP-UX ksh and POSIX shell print the target directory to stdout
15273 # if CDPATH is set.
15274 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15276 sed_quote_subst='$sed_quote_subst'
15277 double_quote_subst='$double_quote_subst'
15278 delay_variable_subst='$delay_variable_subst'
15279 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15280 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15281 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15282 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15283 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15284 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15285 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15286 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15287 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15288 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15289 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15290 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15291 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15292 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15293 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15294 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15295 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15296 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15297 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15298 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15299 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15300 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15301 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15302 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15303 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15304 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15305 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15306 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15307 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15308 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15309 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15310 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15311 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15312 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15313 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15314 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15315 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15316 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15317 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15318 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15319 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15320 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15321 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15322 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15323 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15324 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15325 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15326 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15327 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"`'
15328 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15329 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15330 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15331 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15332 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15333 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15334 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15335 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15336 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15337 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15338 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15339 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15340 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15341 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15342 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15343 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15344 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15345 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15346 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15347 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15348 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15349 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15350 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15351 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15352 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15353 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15354 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15355 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15356 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15357 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15358 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15359 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15360 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15361 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15362 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15363 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15364 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15365 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15366 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15367 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15368 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15369 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15370 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15371 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15372 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15373 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15374 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15375 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15376 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15377 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15378 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15379 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15380 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15381 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15382 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15383 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15384 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15385 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15386 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15387 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15388 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15389 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15390 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15391 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15392 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15393 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15394 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15395 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15396 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15397 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15398 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15399 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15400 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15401 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15402 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15403 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15404 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15405 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15406 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15407 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15408 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15409 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15410 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15411 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15412 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15413 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15414 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15415 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15416 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15417 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15418 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15419 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15420 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15421 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15422 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15423 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15424 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15425 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15426 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15427 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15428 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15429 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15430 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15431 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15432 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15433 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15434 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15435 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15436 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15437 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15438 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15439 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15440 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15441 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15442 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15443 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15444 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15445 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15446 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15447 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15448 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15449 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15450 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15451 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15452 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15453 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15456 LTCFLAGS='$LTCFLAGS'
15457 compiler='$compiler_DEFAULT'
15459 # A function that is used when there is no print builtin or printf.
15460 func_fallback_echo ()
15462 eval 'cat <<_LTECHO_EOF
15467 # Quote evaled strings.
15481 deplibs_check_method \
15490 lt_cv_sys_global_symbol_pipe \
15491 lt_cv_sys_global_symbol_to_cdecl \
15492 lt_cv_sys_global_symbol_to_c_name_address \
15493 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15494 lt_prog_compiler_no_builtin_flag \
15495 lt_prog_compiler_wl \
15496 lt_prog_compiler_pic \
15497 lt_prog_compiler_static \
15498 lt_cv_prog_compiler_c_o \
15506 export_dynamic_flag_spec \
15507 whole_archive_flag_spec \
15508 compiler_needs_object \
15510 allow_undefined_flag \
15511 no_undefined_flag \
15512 hardcode_libdir_flag_spec \
15513 hardcode_libdir_flag_spec_ld \
15514 hardcode_libdir_separator \
15519 variables_saved_for_relink \
15521 library_names_spec \
15523 install_override_mode \
15527 compiler_lib_search_dirs \
15532 compiler_lib_search_path \
15536 lt_prog_compiler_no_builtin_flag_CXX \
15537 lt_prog_compiler_wl_CXX \
15538 lt_prog_compiler_pic_CXX \
15539 lt_prog_compiler_static_CXX \
15540 lt_cv_prog_compiler_c_o_CXX \
15541 export_dynamic_flag_spec_CXX \
15542 whole_archive_flag_spec_CXX \
15543 compiler_needs_object_CXX \
15545 allow_undefined_flag_CXX \
15546 no_undefined_flag_CXX \
15547 hardcode_libdir_flag_spec_CXX \
15548 hardcode_libdir_flag_spec_ld_CXX \
15549 hardcode_libdir_separator_CXX \
15550 fix_srcfile_path_CXX \
15551 exclude_expsyms_CXX \
15552 include_expsyms_CXX \
15553 file_list_spec_CXX \
15554 compiler_lib_search_dirs_CXX \
15555 predep_objects_CXX \
15556 postdep_objects_CXX \
15559 compiler_lib_search_path_CXX; do
15560 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15561 *[\\\\\\\`\\"\\\$]*)
15562 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15565 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15570 # Double-quote double-evaled strings.
15571 for var in reload_cmds \
15572 old_postinstall_cmds \
15573 old_postuninstall_cmds \
15575 extract_expsyms_cmds \
15576 old_archive_from_new_cmds \
15577 old_archive_from_expsyms_cmds \
15579 archive_expsym_cmds \
15581 module_expsym_cmds \
15582 export_symbols_cmds \
15585 postuninstall_cmds \
15587 sys_lib_search_path_spec \
15588 sys_lib_dlsearch_path_spec \
15590 old_archive_cmds_CXX \
15591 old_archive_from_new_cmds_CXX \
15592 old_archive_from_expsyms_cmds_CXX \
15594 archive_expsym_cmds_CXX \
15596 module_expsym_cmds_CXX \
15597 export_symbols_cmds_CXX \
15598 prelink_cmds_CXX; do
15599 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15600 *[\\\\\\\`\\"\\\$]*)
15601 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15604 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15609 ac_aux_dir='$ac_aux_dir'
15610 xsi_shell='$xsi_shell'
15611 lt_shell_append='$lt_shell_append'
15613 # See if we are running on zsh, and set the options which allow our
15614 # commands through without removal of \ escapes INIT.
15615 if test -n "\${ZSH_VERSION+set}" ; then
15616 setopt NO_GLOB_SUBST
15622 TIMESTAMP='$TIMESTAMP'
15633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15635 # Handling of arguments.
15636 for ac_config_target in $ac_config_targets
15638 case $ac_config_target in
15639 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15640 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15641 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15642 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15643 "interception/Makefile") CONFIG_FILES="$CONFIG_FILES interception/Makefile" ;;
15644 "sanitizer_common/Makefile") CONFIG_FILES="$CONFIG_FILES sanitizer_common/Makefile" ;;
15645 "asan/Makefile") CONFIG_FILES="$CONFIG_FILES asan/Makefile" ;;
15646 "tsan/Makefile") CONFIG_FILES="$CONFIG_FILES tsan/Makefile" ;;
15648 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15653 # If the user did not use the arguments to specify the items to instantiate,
15654 # then the envvar interface is used. Set only those that are not.
15655 # We use the long form for the default assignment because of an extremely
15656 # bizarre bug on SunOS 4.1.3.
15657 if $ac_need_defaults; then
15658 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15659 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15662 # Have a temporary directory for convenience. Make it in the build tree
15663 # simply because there is no reason against having it here, and in addition,
15664 # creating and moving files from /tmp can sometimes cause problems.
15665 # Hook for its removal unless debugging.
15666 # Note that there is a small window in which the directory will not be cleaned:
15667 # after its creation but before its name has been assigned to `$tmp'.
15671 trap 'exit_status=$?
15672 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15674 trap 'as_fn_exit 1' 1 2 13 15
15676 # Create a (secure) tmp directory for tmp files.
15679 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15680 test -n "$tmp" && test -d "$tmp"
15683 tmp=./conf$$-$RANDOM
15684 (umask 077 && mkdir "$tmp")
15685 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15687 # Set up the scripts for CONFIG_FILES section.
15688 # No need to generate them if there are no CONFIG_FILES.
15689 # This happens for instance with `./config.status config.h'.
15690 if test -n "$CONFIG_FILES"; then
15693 ac_cr=`echo X | tr X '\015'`
15694 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15695 # But we know of no other shell where ac_cr would be empty at this
15696 # point, so we can use a bashism as a fallback.
15697 if test "x$ac_cr" = x; then
15698 eval ac_cr=\$\'\\r\'
15700 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15701 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15704 ac_cs_awk_cr=$ac_cr
15707 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15712 echo "cat >conf$$subs.awk <<_ACEOF" &&
15713 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15715 } >conf$$subs.sh ||
15716 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15717 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15719 for ac_last_try in false false false false false :; do
15720 . ./conf$$subs.sh ||
15721 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15723 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15724 if test $ac_delim_n = $ac_delim_num; then
15726 elif $ac_last_try; then
15727 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15729 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15732 rm -f conf$$subs.sh
15734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15735 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15739 s/^/S["/; s/!.*/"]=/
15749 s/\(.\{148\}\).*/\1/
15751 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15756 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15763 s/\(.\{148\}\).*/\1/
15765 s/["\\]/\\&/g; s/^/"/; s/$/"/
15769 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15774 ' <conf$$subs.awk | sed '
15779 ' >>$CONFIG_STATUS || ac_write_fail=1
15780 rm -f conf$$subs.awk
15781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15783 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15784 for (key in S) S_is_set[key] = 1
15790 nfields = split(line, field, "@")
15792 len = length(field[1])
15793 for (i = 2; i < nfields; i++) {
15795 keylen = length(key)
15796 if (S_is_set[key]) {
15798 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15799 len += length(value) + length(field[++i])
15810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15811 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15812 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15815 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15816 || as_fn_error "could not setup config files machinery" "$LINENO" 5
15819 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15820 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15821 # trailing colons and then remove the whole line if VPATH becomes empty
15822 # (actually we leave an empty line to preserve line numbers).
15823 if test "x$srcdir" = x.; then
15824 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15825 s/:*\$(srcdir):*/:/
15826 s/:*\${srcdir}:*/:/
15828 s/^\([^=]*=[ ]*\):*/\1/
15834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15835 fi # test -n "$CONFIG_FILES"
15838 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
15843 :[FHLC]) ac_mode=$ac_tag; continue;;
15845 case $ac_mode$ac_tag in
15847 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15848 :[FH]-) ac_tag=-:-;;
15849 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15866 -) ac_f="$tmp/stdin";;
15867 *) # Look for the file first in the build tree, then in the source tree
15868 # (if the path is not absolute). The absolute path cannot be DOS-style,
15869 # because $ac_f cannot contain `:'.
15873 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15875 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15877 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15878 as_fn_append ac_file_inputs " '$ac_f'"
15881 # Let's still pretend it is `configure' which instantiates (i.e., don't
15882 # use $as_me), people would be surprised to read:
15883 # /* config.h. Generated by config.status. */
15884 configure_input='Generated from '`
15885 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15887 if test x"$ac_file" != x-; then
15888 configure_input="$ac_file. $configure_input"
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15890 $as_echo "$as_me: creating $ac_file" >&6;}
15892 # Neutralize special characters interpreted by sed in replacement strings.
15893 case $configure_input in #(
15894 *\&* | *\|* | *\\* )
15895 ac_sed_conf_input=`$as_echo "$configure_input" |
15896 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15897 *) ac_sed_conf_input=$configure_input;;
15901 *:-:* | *:-) cat >"$tmp/stdin" \
15902 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15907 ac_dir=`$as_dirname -- "$ac_file" ||
15908 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15909 X"$ac_file" : 'X\(//\)[^/]' \| \
15910 X"$ac_file" : 'X\(//\)$' \| \
15911 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15912 $as_echo X"$ac_file" |
15913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15917 /^X\(\/\/\)[^/].*/{
15930 as_dir="$ac_dir"; as_fn_mkdir_p
15934 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15936 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15937 # A ".." for each directory in $ac_dir_suffix.
15938 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15939 case $ac_top_builddir_sub in
15940 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15941 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15944 ac_abs_top_builddir=$ac_pwd
15945 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15946 # for backward compatibility:
15947 ac_top_builddir=$ac_top_build_prefix
15950 .) # We are building in place.
15952 ac_top_srcdir=$ac_top_builddir_sub
15953 ac_abs_top_srcdir=$ac_pwd ;;
15954 [\\/]* | ?:[\\/]* ) # Absolute name.
15955 ac_srcdir=$srcdir$ac_dir_suffix;
15956 ac_top_srcdir=$srcdir
15957 ac_abs_top_srcdir=$srcdir ;;
15958 *) # Relative name.
15959 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15960 ac_top_srcdir=$ac_top_build_prefix$srcdir
15961 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15963 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15973 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15974 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15976 ac_MKDIR_P=$MKDIR_P
15978 [\\/$]* | ?:[\\/]* ) ;;
15979 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15984 # If the template does not know about datarootdir, expand it.
15985 # FIXME: This hack should be removed a few years after 2.60.
15986 ac_datarootdir_hack=; ac_datarootdir_seen=
15997 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15998 *datarootdir*) ac_datarootdir_seen=yes;;
15999 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16001 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16004 ac_datarootdir_hack='
16005 s&@datadir@&$datadir&g
16006 s&@docdir@&$docdir&g
16007 s&@infodir@&$infodir&g
16008 s&@localedir@&$localedir&g
16009 s&@mandir@&$mandir&g
16010 s&\\\${datarootdir}&$datarootdir&g' ;;
16014 # Neutralize VPATH when `$srcdir' = `.'.
16015 # Shell code in configure.ac might set extrasub.
16016 # FIXME: do we really want to maintain this feature?
16017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16018 ac_sed_extra="$ac_vpsub
16021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16023 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16024 s|@configure_input@|$ac_sed_conf_input|;t t
16025 s&@top_builddir@&$ac_top_builddir_sub&;t t
16026 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16027 s&@srcdir@&$ac_srcdir&;t t
16028 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16029 s&@top_srcdir@&$ac_top_srcdir&;t t
16030 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16031 s&@builddir@&$ac_builddir&;t t
16032 s&@abs_builddir@&$ac_abs_builddir&;t t
16033 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16034 s&@INSTALL@&$ac_INSTALL&;t t
16035 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16036 $ac_datarootdir_hack
16038 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16039 || as_fn_error "could not create $ac_file" "$LINENO" 5
16041 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16042 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16043 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16045 which seems to be undefined. Please make sure it is defined." >&5
16046 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16047 which seems to be undefined. Please make sure it is defined." >&2;}
16051 -) cat "$tmp/out" && rm -f "$tmp/out";;
16052 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16054 || as_fn_error "could not create $ac_file" "$LINENO" 5
16058 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16059 $as_echo "$as_me: executing $ac_file commands" >&6;}
16064 case $ac_file$ac_mode in
16066 # Only add multilib support code if we just rebuilt the top-level
16068 case " $CONFIG_FILES " in
16070 ac_file=Makefile . ${multi_basedir}/config-ml.in
16073 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16074 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16075 # are listed without --file. Let's play safe and only enable the eval
16076 # if we detect the quoting.
16077 case $CONFIG_FILES in
16078 *\'*) eval set x "$CONFIG_FILES" ;;
16079 *) set x $CONFIG_FILES ;;
16084 # Strip MF so we end up with the name of the file.
16085 mf=`echo "$mf" | sed -e 's/:.*$//'`
16086 # Check whether this is an Automake generated Makefile or not.
16087 # We used to match only the files named `Makefile.in', but
16088 # some people rename them; so instead we look at the file content.
16089 # Grep'ing the first line is not enough: some people post-process
16090 # each Makefile.in and add a new line on top of each file to say so.
16091 # Grep'ing the whole file is not good either: AIX grep has a line
16092 # limit of 2048, but all sed's we know have understand at least 4000.
16093 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16094 dirpart=`$as_dirname -- "$mf" ||
16095 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16096 X"$mf" : 'X\(//\)[^/]' \| \
16097 X"$mf" : 'X\(//\)$' \| \
16098 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16104 /^X\(\/\/\)[^/].*/{
16120 # Extract the definition of DEPDIR, am__include, and am__quote
16121 # from the Makefile without running `make'.
16122 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16123 test -z "$DEPDIR" && continue
16124 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16125 test -z "am__include" && continue
16126 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16127 # When using ansi2knr, U may be empty or an underscore; expand it
16128 U=`sed -n 's/^U = //p' < "$mf"`
16129 # Find all dependency output files, they are included files with
16130 # $(DEPDIR) in their names. We invoke sed twice because it is the
16131 # simplest approach to changing $(DEPDIR) to its actual value in the
16133 for file in `sed -n "
16134 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16135 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16136 # Make sure the directory exists.
16137 test -f "$dirpart/$file" && continue
16138 fdir=`$as_dirname -- "$file" ||
16139 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16140 X"$file" : 'X\(//\)[^/]' \| \
16141 X"$file" : 'X\(//\)$' \| \
16142 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16143 $as_echo X"$file" |
16144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16148 /^X\(\/\/\)[^/].*/{
16161 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16162 # echo "creating $dirpart/$file"
16163 echo '# dummy' > "$dirpart/$file"
16170 # See if we are running on zsh, and set the options which allow our
16171 # commands through without removal of \ escapes.
16172 if test -n "${ZSH_VERSION+set}" ; then
16173 setopt NO_GLOB_SUBST
16176 cfgfile="${ofile}T"
16177 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16180 cat <<_LT_EOF >> "$cfgfile"
16183 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16184 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16185 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16186 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16188 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16189 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16190 # Written by Gordon Matzigkeit, 1996
16192 # This file is part of GNU Libtool.
16194 # GNU Libtool is free software; you can redistribute it and/or
16195 # modify it under the terms of the GNU General Public License as
16196 # published by the Free Software Foundation; either version 2 of
16197 # the License, or (at your option) any later version.
16199 # As a special exception to the GNU General Public License,
16200 # if you distribute this file as part of a program or library that
16201 # is built using GNU Libtool, you may include this file under the
16202 # same distribution terms that you use for the rest of that program.
16204 # GNU Libtool is distributed in the hope that it will be useful,
16205 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16206 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16207 # GNU General Public License for more details.
16209 # You should have received a copy of the GNU General Public License
16210 # along with GNU Libtool; see the file COPYING. If not, a copy
16211 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16212 # obtained by writing to the Free Software Foundation, Inc.,
16213 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16216 # The names of the tagged configurations supported by this script.
16217 available_tags="CXX "
16219 # ### BEGIN LIBTOOL CONFIG
16221 # Which release of libtool.m4 was used?
16222 macro_version=$macro_version
16223 macro_revision=$macro_revision
16225 # Whether or not to build shared libraries.
16226 build_libtool_libs=$enable_shared
16228 # Whether or not to build static libraries.
16229 build_old_libs=$enable_static
16231 # What type of objects to build.
16234 # Whether or not to optimize for fast installation.
16235 fast_install=$enable_fast_install
16237 # Shell to use when invoking shell scripts.
16240 # An echo program that protects backslashes.
16244 host_alias=$host_alias
16248 # The build system.
16249 build_alias=$build_alias
16253 # A sed program that does not truncate output.
16256 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16257 Xsed="\$SED -e 1s/^X//"
16259 # A grep program that handles long lines.
16265 # A literal string matcher.
16268 # A BSD- or MS-compatible name lister.
16271 # Whether we need soft or hard links.
16274 # What is the maximum length of a command?
16275 max_cmd_len=$max_cmd_len
16277 # Object file suffix (normally "o").
16280 # Executable file suffix (normally "").
16283 # whether the shell understands "unset".
16286 # turn spaces into newlines.
16289 # turn newlines into spaces.
16292 # An object symbol dumper.
16293 OBJDUMP=$lt_OBJDUMP
16295 # Method to check whether dependent libraries are shared objects.
16296 deplibs_check_method=$lt_deplibs_check_method
16298 # Command to use when deplibs_check_method == "file_magic".
16299 file_magic_cmd=$lt_file_magic_cmd
16303 AR_FLAGS=$lt_AR_FLAGS
16305 # A symbol stripping program.
16308 # Commands used to install an old-style archive.
16310 old_postinstall_cmds=$lt_old_postinstall_cmds
16311 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16313 # Whether to use a lock for old archive extraction.
16314 lock_old_archive_extraction=$lock_old_archive_extraction
16319 # LTCC compiler flags.
16320 LTCFLAGS=$lt_CFLAGS
16322 # Take the output of nm and produce a listing of raw symbols and C names.
16323 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16325 # Transform the output of nm in a proper C declaration.
16326 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16328 # Transform the output of nm in a C name address pair.
16329 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16331 # Transform the output of nm in a C name address pair when lib prefix is needed.
16332 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16334 # The name of the directory that contains temporary libtool files.
16337 # Used to examine libraries when file_magic_cmd begins with "file".
16338 MAGIC_CMD=$MAGIC_CMD
16340 # Must we lock files when doing compilation?
16341 need_locks=$lt_need_locks
16343 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16344 DSYMUTIL=$lt_DSYMUTIL
16346 # Tool to change global to local symbols on Mac OS X.
16349 # Tool to manipulate fat objects and archives on Mac OS X.
16352 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16355 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16356 OTOOL64=$lt_OTOOL64
16358 # Old archive suffix (normally "a").
16361 # Shared library suffix (normally ".so").
16362 shrext_cmds=$lt_shrext_cmds
16364 # The commands to extract the exported symbol list from a shared archive.
16365 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16367 # Variables whose values should be saved in libtool wrapper scripts and
16368 # restored at link time.
16369 variables_saved_for_relink=$lt_variables_saved_for_relink
16371 # Do we need the "lib" prefix for modules?
16372 need_lib_prefix=$need_lib_prefix
16374 # Do we need a version for libraries?
16375 need_version=$need_version
16377 # Library versioning type.
16378 version_type=$version_type
16380 # Shared library runtime path variable.
16381 runpath_var=$runpath_var
16383 # Shared library path variable.
16384 shlibpath_var=$shlibpath_var
16386 # Is shlibpath searched before the hard-coded library search path?
16387 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16389 # Format of library name prefix.
16390 libname_spec=$lt_libname_spec
16392 # List of archive names. First name is the real one, the rest are links.
16393 # The last name is the one that the linker finds with -lNAME
16394 library_names_spec=$lt_library_names_spec
16396 # The coded name of the library, if different from the real name.
16397 soname_spec=$lt_soname_spec
16399 # Permission mode override for installation of shared libraries.
16400 install_override_mode=$lt_install_override_mode
16402 # Command to use after installation of a shared archive.
16403 postinstall_cmds=$lt_postinstall_cmds
16405 # Command to use after uninstallation of a shared archive.
16406 postuninstall_cmds=$lt_postuninstall_cmds
16408 # Commands used to finish a libtool library installation in a directory.
16409 finish_cmds=$lt_finish_cmds
16411 # As "finish_cmds", except a single script fragment to be evaled but
16413 finish_eval=$lt_finish_eval
16415 # Whether we should hardcode library paths into libraries.
16416 hardcode_into_libs=$hardcode_into_libs
16418 # Compile-time system search path for libraries.
16419 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16421 # Run-time system search path for libraries.
16422 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16424 # Whether dlopen is supported.
16425 dlopen_support=$enable_dlopen
16427 # Whether dlopen of programs is supported.
16428 dlopen_self=$enable_dlopen_self
16430 # Whether dlopen of statically linked programs is supported.
16431 dlopen_self_static=$enable_dlopen_self_static
16433 # Commands to strip libraries.
16434 old_striplib=$lt_old_striplib
16435 striplib=$lt_striplib
16438 # The linker used to build libraries.
16441 # How to create reloadable object files.
16442 reload_flag=$lt_reload_flag
16443 reload_cmds=$lt_reload_cmds
16445 # Commands used to build an old-style archive.
16446 old_archive_cmds=$lt_old_archive_cmds
16448 # A language specific compiler.
16451 # Is the compiler the GNU compiler?
16454 # Compiler flag to turn off builtin functions.
16455 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16457 # How to pass a linker flag through the compiler.
16458 wl=$lt_lt_prog_compiler_wl
16460 # Additional compiler flags for building library objects.
16461 pic_flag=$lt_lt_prog_compiler_pic
16463 # Compiler flag to prevent dynamic linking.
16464 link_static_flag=$lt_lt_prog_compiler_static
16466 # Does compiler simultaneously support -c and -o options?
16467 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16469 # Whether or not to add -lc for building shared libraries.
16470 build_libtool_need_lc=$archive_cmds_need_lc
16472 # Whether or not to disallow shared libs when runtime libs are static.
16473 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16475 # Compiler flag to allow reflexive dlopens.
16476 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16478 # Compiler flag to generate shared objects directly from archives.
16479 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16481 # Whether the compiler copes with passing no objects directly.
16482 compiler_needs_object=$lt_compiler_needs_object
16484 # Create an old-style archive from a shared archive.
16485 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16487 # Create a temporary old-style archive to link instead of a shared archive.
16488 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16490 # Commands used to build a shared archive.
16491 archive_cmds=$lt_archive_cmds
16492 archive_expsym_cmds=$lt_archive_expsym_cmds
16494 # Commands used to build a loadable module if different from building
16495 # a shared archive.
16496 module_cmds=$lt_module_cmds
16497 module_expsym_cmds=$lt_module_expsym_cmds
16499 # Whether we are building with GNU ld or not.
16500 with_gnu_ld=$lt_with_gnu_ld
16502 # Flag that allows shared libraries with undefined symbols to be built.
16503 allow_undefined_flag=$lt_allow_undefined_flag
16505 # Flag that enforces no undefined symbols.
16506 no_undefined_flag=$lt_no_undefined_flag
16508 # Flag to hardcode \$libdir into a binary during linking.
16509 # This must work even if \$libdir does not exist
16510 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16512 # If ld is used when linking, flag to hardcode \$libdir into a binary
16513 # during linking. This must work even if \$libdir does not exist.
16514 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16516 # Whether we need a single "-rpath" flag with a separated argument.
16517 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16519 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16520 # DIR into the resulting binary.
16521 hardcode_direct=$hardcode_direct
16523 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16524 # DIR into the resulting binary and the resulting library dependency is
16525 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16526 # library is relocated.
16527 hardcode_direct_absolute=$hardcode_direct_absolute
16529 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16530 # into the resulting binary.
16531 hardcode_minus_L=$hardcode_minus_L
16533 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16534 # into the resulting binary.
16535 hardcode_shlibpath_var=$hardcode_shlibpath_var
16537 # Set to "yes" if building a shared library automatically hardcodes DIR
16538 # into the library and all subsequent libraries and executables linked
16540 hardcode_automatic=$hardcode_automatic
16542 # Set to yes if linker adds runtime paths of dependent libraries
16543 # to runtime path list.
16544 inherit_rpath=$inherit_rpath
16546 # Whether libtool must link a program against all its dependency libraries.
16547 link_all_deplibs=$link_all_deplibs
16549 # Fix the shell variable \$srcfile for the compiler.
16550 fix_srcfile_path=$lt_fix_srcfile_path
16552 # Set to "yes" if exported symbols are required.
16553 always_export_symbols=$always_export_symbols
16555 # The commands to list exported symbols.
16556 export_symbols_cmds=$lt_export_symbols_cmds
16558 # Symbols that should not be listed in the preloaded symbols.
16559 exclude_expsyms=$lt_exclude_expsyms
16561 # Symbols that must always be exported.
16562 include_expsyms=$lt_include_expsyms
16564 # Commands necessary for linking programs (against libraries) with templates.
16565 prelink_cmds=$lt_prelink_cmds
16567 # Specify filename containing input files.
16568 file_list_spec=$lt_file_list_spec
16570 # How to hardcode a shared library path into an executable.
16571 hardcode_action=$hardcode_action
16573 # The directories searched by this compiler when creating a shared library.
16574 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16576 # Dependencies to place before and after the objects being linked to
16577 # create a shared library.
16578 predep_objects=$lt_predep_objects
16579 postdep_objects=$lt_postdep_objects
16580 predeps=$lt_predeps
16581 postdeps=$lt_postdeps
16583 # The library search path used internally by the compiler when linking
16584 # a shared library.
16585 compiler_lib_search_path=$lt_compiler_lib_search_path
16587 # ### END LIBTOOL CONFIG
16593 cat <<\_LT_EOF >> "$cfgfile"
16594 # AIX sometimes has problems with the GCC collect2 program. For some
16595 # reason, if we set the COLLECT_NAMES environment variable, the problems
16596 # vanish in a puff of smoke.
16597 if test "X${COLLECT_NAMES+set}" != Xset; then
16599 export COLLECT_NAMES
16606 ltmain="$ac_aux_dir/ltmain.sh"
16609 # We use sed instead of cat because bash on DJGPP gets confused if
16610 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16611 # text mode, it properly converts lines to CR/LF. This bash problem
16612 # is reportedly fixed, but why not run on old versions too?
16613 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16614 || (rm -f "$cfgfile"; exit 1)
16618 cat << \_LT_EOF >> "$cfgfile"
16620 # func_dirname file append nondir_replacement
16621 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16622 # otherwise set result to NONDIR_REPLACEMENT.
16626 */*) func_dirname_result="${1%/*}${2}" ;;
16627 * ) func_dirname_result="${3}" ;;
16631 # func_basename file
16634 func_basename_result="${1##*/}"
16637 # func_dirname_and_basename file append nondir_replacement
16638 # perform func_basename and func_dirname in a single function
16640 # dirname: Compute the dirname of FILE. If nonempty,
16641 # add APPEND to the result, otherwise set result
16642 # to NONDIR_REPLACEMENT.
16643 # value returned in "$func_dirname_result"
16644 # basename: Compute filename of FILE.
16645 # value retuned in "$func_basename_result"
16646 # Implementation must be kept synchronized with func_dirname
16647 # and func_basename. For efficiency, we do not delegate to
16648 # those functions but instead duplicate the functionality here.
16649 func_dirname_and_basename ()
16652 */*) func_dirname_result="${1%/*}${2}" ;;
16653 * ) func_dirname_result="${3}" ;;
16655 func_basename_result="${1##*/}"
16658 # func_stripname prefix suffix name
16659 # strip PREFIX and SUFFIX off of NAME.
16660 # PREFIX and SUFFIX must not contain globbing or regex special
16661 # characters, hashes, percent signs, but SUFFIX may contain a leading
16662 # dot (in which case that matches only a dot).
16665 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16666 # positional parameters, so assign one to ordinary parameter first.
16667 func_stripname_result=${3}
16668 func_stripname_result=${func_stripname_result#"${1}"}
16669 func_stripname_result=${func_stripname_result%"${2}"}
16675 func_opt_split_opt=${1%%=*}
16676 func_opt_split_arg=${1#*=}
16683 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16684 *) func_lo2o_result=${1} ;;
16688 # func_xform libobj-or-source
16691 func_xform_result=${1%.*}.lo
16694 # func_arith arithmetic-term...
16697 func_arith_result=$(( $* ))
16701 # STRING may not start with a hyphen.
16704 func_len_result=${#1}
16709 *) # Bourne compatible functions.
16710 cat << \_LT_EOF >> "$cfgfile"
16712 # func_dirname file append nondir_replacement
16713 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16714 # otherwise set result to NONDIR_REPLACEMENT.
16717 # Extract subdirectory from the argument.
16718 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16719 if test "X$func_dirname_result" = "X${1}"; then
16720 func_dirname_result="${3}"
16722 func_dirname_result="$func_dirname_result${2}"
16726 # func_basename file
16729 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16733 # func_stripname prefix suffix name
16734 # strip PREFIX and SUFFIX off of NAME.
16735 # PREFIX and SUFFIX must not contain globbing or regex special
16736 # characters, hashes, percent signs, but SUFFIX may contain a leading
16737 # dot (in which case that matches only a dot).
16738 # func_strip_suffix prefix name
16742 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16743 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16748 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16749 my_sed_long_arg='1s/^-[^=]*=//'
16754 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16755 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16761 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
16764 # func_xform libobj-or-source
16767 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16770 # func_arith arithmetic-term...
16773 func_arith_result=`expr "$@"`
16777 # STRING may not start with a hyphen.
16780 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16786 case $lt_shell_append in
16788 cat << \_LT_EOF >> "$cfgfile"
16790 # func_append var value
16791 # Append VALUE to the end of shell variable VAR.
16799 cat << \_LT_EOF >> "$cfgfile"
16801 # func_append var value
16802 # Append VALUE to the end of shell variable VAR.
16813 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16814 || (rm -f "$cfgfile"; exit 1)
16816 mv -f "$cfgfile" "$ofile" ||
16817 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16821 cat <<_LT_EOF >> "$ofile"
16823 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16825 # The linker used to build libraries.
16828 # How to create reloadable object files.
16829 reload_flag=$lt_reload_flag_CXX
16830 reload_cmds=$lt_reload_cmds_CXX
16832 # Commands used to build an old-style archive.
16833 old_archive_cmds=$lt_old_archive_cmds_CXX
16835 # A language specific compiler.
16836 CC=$lt_compiler_CXX
16838 # Is the compiler the GNU compiler?
16841 # Compiler flag to turn off builtin functions.
16842 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16844 # How to pass a linker flag through the compiler.
16845 wl=$lt_lt_prog_compiler_wl_CXX
16847 # Additional compiler flags for building library objects.
16848 pic_flag=$lt_lt_prog_compiler_pic_CXX
16850 # Compiler flag to prevent dynamic linking.
16851 link_static_flag=$lt_lt_prog_compiler_static_CXX
16853 # Does compiler simultaneously support -c and -o options?
16854 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16856 # Whether or not to add -lc for building shared libraries.
16857 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16859 # Whether or not to disallow shared libs when runtime libs are static.
16860 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16862 # Compiler flag to allow reflexive dlopens.
16863 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16865 # Compiler flag to generate shared objects directly from archives.
16866 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16868 # Whether the compiler copes with passing no objects directly.
16869 compiler_needs_object=$lt_compiler_needs_object_CXX
16871 # Create an old-style archive from a shared archive.
16872 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16874 # Create a temporary old-style archive to link instead of a shared archive.
16875 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16877 # Commands used to build a shared archive.
16878 archive_cmds=$lt_archive_cmds_CXX
16879 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16881 # Commands used to build a loadable module if different from building
16882 # a shared archive.
16883 module_cmds=$lt_module_cmds_CXX
16884 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16886 # Whether we are building with GNU ld or not.
16887 with_gnu_ld=$lt_with_gnu_ld_CXX
16889 # Flag that allows shared libraries with undefined symbols to be built.
16890 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16892 # Flag that enforces no undefined symbols.
16893 no_undefined_flag=$lt_no_undefined_flag_CXX
16895 # Flag to hardcode \$libdir into a binary during linking.
16896 # This must work even if \$libdir does not exist
16897 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16899 # If ld is used when linking, flag to hardcode \$libdir into a binary
16900 # during linking. This must work even if \$libdir does not exist.
16901 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16903 # Whether we need a single "-rpath" flag with a separated argument.
16904 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16906 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16907 # DIR into the resulting binary.
16908 hardcode_direct=$hardcode_direct_CXX
16910 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16911 # DIR into the resulting binary and the resulting library dependency is
16912 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16913 # library is relocated.
16914 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
16916 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16917 # into the resulting binary.
16918 hardcode_minus_L=$hardcode_minus_L_CXX
16920 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16921 # into the resulting binary.
16922 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16924 # Set to "yes" if building a shared library automatically hardcodes DIR
16925 # into the library and all subsequent libraries and executables linked
16927 hardcode_automatic=$hardcode_automatic_CXX
16929 # Set to yes if linker adds runtime paths of dependent libraries
16930 # to runtime path list.
16931 inherit_rpath=$inherit_rpath_CXX
16933 # Whether libtool must link a program against all its dependency libraries.
16934 link_all_deplibs=$link_all_deplibs_CXX
16936 # Fix the shell variable \$srcfile for the compiler.
16937 fix_srcfile_path=$lt_fix_srcfile_path_CXX
16939 # Set to "yes" if exported symbols are required.
16940 always_export_symbols=$always_export_symbols_CXX
16942 # The commands to list exported symbols.
16943 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16945 # Symbols that should not be listed in the preloaded symbols.
16946 exclude_expsyms=$lt_exclude_expsyms_CXX
16948 # Symbols that must always be exported.
16949 include_expsyms=$lt_include_expsyms_CXX
16951 # Commands necessary for linking programs (against libraries) with templates.
16952 prelink_cmds=$lt_prelink_cmds_CXX
16954 # Specify filename containing input files.
16955 file_list_spec=$lt_file_list_spec_CXX
16957 # How to hardcode a shared library path into an executable.
16958 hardcode_action=$hardcode_action_CXX
16960 # The directories searched by this compiler when creating a shared library.
16961 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16963 # Dependencies to place before and after the objects being linked to
16964 # create a shared library.
16965 predep_objects=$lt_predep_objects_CXX
16966 postdep_objects=$lt_postdep_objects_CXX
16967 predeps=$lt_predeps_CXX
16968 postdeps=$lt_postdeps_CXX
16970 # The library search path used internally by the compiler when linking
16971 # a shared library.
16972 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16974 # ### END LIBTOOL TAG CONFIG: CXX
16978 "interception/Makefile":F) cat > vpsed$$ << \_EOF
16979 s!`test -f '$<' || echo '$(srcdir)/'`!!
16981 sed -f vpsed$$ $ac_file > tmp$$
16984 echo 'MULTISUBDIR =' >> $ac_file
16986 . ${multi_basedir}/config-ml.in
16987 { ml_norecursion=; unset ml_norecursion;}
16989 "sanitizer_common/Makefile":F) cat > vpsed$$ << \_EOF
16990 s!`test -f '$<' || echo '$(srcdir)/'`!!
16992 sed -f vpsed$$ $ac_file > tmp$$
16995 echo 'MULTISUBDIR =' >> $ac_file
16997 . ${multi_basedir}/config-ml.in
16998 { ml_norecursion=; unset ml_norecursion;}
17000 "asan/Makefile":F) cat > vpsed$$ << \_EOF
17001 s!`test -f '$<' || echo '$(srcdir)/'`!!
17003 sed -f vpsed$$ $ac_file > tmp$$
17006 echo 'MULTISUBDIR =' >> $ac_file
17008 . ${multi_basedir}/config-ml.in
17009 { ml_norecursion=; unset ml_norecursion;}
17011 "tsan/Makefile":F) cat > vpsed$$ << \_EOF
17012 s!`test -f '$<' || echo '$(srcdir)/'`!!
17014 sed -f vpsed$$ $ac_file > tmp$$
17017 echo 'MULTISUBDIR =' >> $ac_file
17019 . ${multi_basedir}/config-ml.in
17020 { ml_norecursion=; unset ml_norecursion;}
17029 ac_clean_files=$ac_clean_files_save
17031 test $ac_write_fail = 0 ||
17032 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17035 # configure is writing to config.log, and then calls config.status.
17036 # config.status does its own redirection, appending to config.log.
17037 # Unfortunately, on DOS this fails, as config.log is still kept open
17038 # by configure, so config.status won't be able to write to it; its
17039 # output is simply discarded. So we exec the FD to /dev/null,
17040 # effectively closing config.log, so it can be properly (re)opened and
17041 # appended to by config.status. When coming back to configure, we
17042 # need to make the FD available again.
17043 if test "$no_create" != yes; then
17045 ac_config_status_args=
17046 test "$silent" = yes &&
17047 ac_config_status_args="$ac_config_status_args --quiet"
17049 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17051 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17052 # would make configure fail if this is the last instruction.
17053 $ac_cs_success || as_fn_exit $?
17055 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17057 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}