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_MAC_INTERPOSE_FALSE
608 USING_MAC_INTERPOSE_TRUE
633 am__fastdepCCAS_FALSE
663 MAINTAINER_MODE_FALSE
674 INSTALL_STRIP_PROGRAM
689 LIBSTDCXX_RAW_CXX_CXXFLAGS
730 program_transform_name
743 enable_option_checking
744 enable_version_specific_runtime_libs
746 enable_maintainer_mode
747 enable_dependency_tracking
755 ac_precious_vars
='build_alias
772 # Initialize some variables set by options.
774 ac_init_version
=false
775 ac_unrecognized_opts
=
777 # The variables have the same names as the options, with
778 # dashes changed to underlines.
786 program_transform_name
=s
,x
,x
,
794 # Installation directory options.
795 # These are left unexpanded so users can "make install exec_prefix=/foo"
796 # and all the variables that are supposed to be based on exec_prefix
797 # by default will actually change.
798 # Use braces instead of parens because sh, perl, etc. also accept them.
799 # (The list follows the same order as the GNU Coding Standards.)
800 bindir
='${exec_prefix}/bin'
801 sbindir
='${exec_prefix}/sbin'
802 libexecdir
='${exec_prefix}/libexec'
803 datarootdir
='${prefix}/share'
804 datadir
='${datarootdir}'
805 sysconfdir
='${prefix}/etc'
806 sharedstatedir
='${prefix}/com'
807 localstatedir
='${prefix}/var'
808 includedir
='${prefix}/include'
809 oldincludedir
='/usr/include'
810 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
811 infodir
='${datarootdir}/info'
816 libdir
='${exec_prefix}/lib'
817 localedir
='${datarootdir}/locale'
818 mandir
='${datarootdir}/man'
824 # If the previous option needs an argument, assign it.
825 if test -n "$ac_prev"; then
826 eval $ac_prev=\
$ac_option
832 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
836 # Accept the important Cygnus configure options, so we can diagnose typos.
838 case $ac_dashdash$ac_option in
842 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
844 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
847 -build |
--build |
--buil |
--bui |
--bu)
848 ac_prev
=build_alias
;;
849 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
850 build_alias
=$ac_optarg ;;
852 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
853 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
854 ac_prev
=cache_file
;;
855 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
856 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
857 cache_file
=$ac_optarg ;;
860 cache_file
=config.cache
;;
862 -datadir |
--datadir |
--datadi |
--datad)
864 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
865 datadir
=$ac_optarg ;;
867 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
868 |
--dataroo |
--dataro |
--datar)
869 ac_prev
=datarootdir
;;
870 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
871 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
872 datarootdir
=$ac_optarg ;;
874 -disable-* |
--disable-*)
875 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
878 as_fn_error
"invalid feature name: $ac_useropt"
879 ac_useropt_orig
=$ac_useropt
880 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
886 ac_unrecognized_sep
=', ';;
888 eval enable_
$ac_useropt=no
;;
890 -docdir |
--docdir |
--docdi |
--doc |
--do)
892 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
895 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
897 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
900 -enable-* |
--enable-*)
901 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
904 as_fn_error
"invalid feature name: $ac_useropt"
905 ac_useropt_orig
=$ac_useropt
906 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
912 ac_unrecognized_sep
=', ';;
914 eval enable_
$ac_useropt=\
$ac_optarg ;;
916 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
917 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
918 |
--exec |
--exe |
--ex)
919 ac_prev
=exec_prefix
;;
920 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
921 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
922 |
--exec=* |
--exe=* |
--ex=*)
923 exec_prefix
=$ac_optarg ;;
925 -gas |
--gas |
--ga |
--g)
926 # Obsolete; use --with-gas.
929 -help |
--help |
--hel |
--he |
-h)
931 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
932 ac_init_help
=recursive
;;
933 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
934 ac_init_help
=short
;;
936 -host |
--host |
--hos |
--ho)
937 ac_prev
=host_alias
;;
938 -host=* |
--host=* |
--hos=* |
--ho=*)
939 host_alias
=$ac_optarg ;;
941 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
943 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
945 htmldir
=$ac_optarg ;;
947 -includedir |
--includedir |
--includedi |
--included |
--include \
948 |
--includ |
--inclu |
--incl |
--inc)
949 ac_prev
=includedir
;;
950 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
951 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
952 includedir
=$ac_optarg ;;
954 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
956 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
957 infodir
=$ac_optarg ;;
959 -libdir |
--libdir |
--libdi |
--libd)
961 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
964 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
965 |
--libexe |
--libex |
--libe)
966 ac_prev
=libexecdir
;;
967 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
968 |
--libexe=* |
--libex=* |
--libe=*)
969 libexecdir
=$ac_optarg ;;
971 -localedir |
--localedir |
--localedi |
--localed |
--locale)
973 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
974 localedir
=$ac_optarg ;;
976 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
977 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
978 ac_prev
=localstatedir
;;
979 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
980 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
981 localstatedir
=$ac_optarg ;;
983 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
985 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
989 # Obsolete; use --without-fp.
992 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
993 |
--no-cr |
--no-c |
-n)
996 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
997 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1000 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1001 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1002 |
--oldin |
--oldi |
--old |
--ol |
--o)
1003 ac_prev
=oldincludedir
;;
1004 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1005 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1006 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1007 oldincludedir
=$ac_optarg ;;
1009 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1011 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1012 prefix
=$ac_optarg ;;
1014 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1015 |
--program-pre |
--program-pr |
--program-p)
1016 ac_prev
=program_prefix
;;
1017 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1018 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1019 program_prefix
=$ac_optarg ;;
1021 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1022 |
--program-suf |
--program-su |
--program-s)
1023 ac_prev
=program_suffix
;;
1024 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1025 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1026 program_suffix
=$ac_optarg ;;
1028 -program-transform-name |
--program-transform-name \
1029 |
--program-transform-nam |
--program-transform-na \
1030 |
--program-transform-n |
--program-transform- \
1031 |
--program-transform |
--program-transfor \
1032 |
--program-transfo |
--program-transf \
1033 |
--program-trans |
--program-tran \
1034 |
--progr-tra |
--program-tr |
--program-t)
1035 ac_prev
=program_transform_name
;;
1036 -program-transform-name=* |
--program-transform-name=* \
1037 |
--program-transform-nam=* |
--program-transform-na=* \
1038 |
--program-transform-n=* |
--program-transform-=* \
1039 |
--program-transform=* |
--program-transfor=* \
1040 |
--program-transfo=* |
--program-transf=* \
1041 |
--program-trans=* |
--program-tran=* \
1042 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1043 program_transform_name
=$ac_optarg ;;
1045 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1047 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1048 pdfdir
=$ac_optarg ;;
1050 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1052 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1055 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1056 |
-silent |
--silent |
--silen |
--sile |
--sil)
1059 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1061 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1063 sbindir
=$ac_optarg ;;
1065 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1066 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1067 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1069 ac_prev
=sharedstatedir
;;
1070 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1071 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1072 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1074 sharedstatedir
=$ac_optarg ;;
1076 -site |
--site |
--sit)
1078 -site=* |
--site=* |
--sit=*)
1081 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1083 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1084 srcdir
=$ac_optarg ;;
1086 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1087 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1088 ac_prev
=sysconfdir
;;
1089 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1090 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1091 sysconfdir
=$ac_optarg ;;
1093 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1094 ac_prev
=target_alias
;;
1095 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1096 target_alias
=$ac_optarg ;;
1098 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1101 -version |
--version |
--versio |
--versi |
--vers |
-V)
1102 ac_init_version
=: ;;
1105 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1108 as_fn_error
"invalid package name: $ac_useropt"
1109 ac_useropt_orig
=$ac_useropt
1110 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1115 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1116 ac_unrecognized_sep
=', ';;
1118 eval with_
$ac_useropt=\
$ac_optarg ;;
1120 -without-* |
--without-*)
1121 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1124 as_fn_error
"invalid package name: $ac_useropt"
1125 ac_useropt_orig
=$ac_useropt
1126 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1131 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1132 ac_unrecognized_sep
=', ';;
1134 eval with_
$ac_useropt=no
;;
1137 # Obsolete; use --with-x.
1140 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1141 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1142 ac_prev
=x_includes
;;
1143 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1144 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1145 x_includes
=$ac_optarg ;;
1147 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1148 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1149 ac_prev
=x_libraries
;;
1150 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1151 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1152 x_libraries
=$ac_optarg ;;
1154 -*) as_fn_error
"unrecognized option: \`$ac_option'
1155 Try \`$0 --help' for more information."
1159 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 case $ac_envvar in #(
1162 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1163 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1165 eval $ac_envvar=\
$ac_optarg
1166 export $ac_envvar ;;
1169 # FIXME: should be removed in autoconf 3.0.
1170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1179 if test -n "$ac_prev"; then
1180 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1181 as_fn_error
"missing argument to $ac_option"
1184 if test -n "$ac_unrecognized_opts"; then
1185 case $enable_option_checking in
1187 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1192 # Check all directory arguments for consistency.
1193 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194 datadir sysconfdir sharedstatedir localstatedir includedir \
1195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196 libdir localedir mandir
1198 eval ac_val
=\$
$ac_var
1199 # Remove trailing slashes.
1202 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1203 eval $ac_var=\
$ac_val;;
1205 # Be sure to have absolute directory names.
1207 [\\/$
]* | ?
:[\\/]* ) continue;;
1208 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1210 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1213 # There might be people who depend on the old broken behavior: `$host'
1214 # used to hold the argument of --host etc.
1215 # FIXME: To remove some day.
1218 target
=$target_alias
1220 # FIXME: To remove some day.
1221 if test "x$host_alias" != x
; then
1222 if test "x$build_alias" = x
; then
1223 cross_compiling
=maybe
1224 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1225 If a cross compiler is detected then cross compile mode will be used." >&2
1226 elif test "x$build_alias" != "x$host_alias"; then
1232 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1234 test "$silent" = yes && exec 6>/dev
/null
1237 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1238 ac_ls_di
=`ls -di .` &&
1239 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1240 as_fn_error
"working directory cannot be determined"
1241 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1242 as_fn_error
"pwd does not report name of working directory"
1245 # Find the source files, if location was not specified.
1246 if test -z "$srcdir"; then
1247 ac_srcdir_defaulted
=yes
1248 # Try the directory containing this script, then the parent directory.
1249 ac_confdir
=`$as_dirname -- "$as_myself" ||
1250 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1251 X"$as_myself" : 'X\(//\)[^/]' \| \
1252 X"$as_myself" : 'X\(//\)$' \| \
1253 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1254 $as_echo X"$as_myself" |
1255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1277 ac_srcdir_defaulted
=no
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1280 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1281 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1283 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1285 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1287 # When building in place, set srcdir=.
1288 if test "$ac_abs_confdir" = "$ac_pwd"; then
1291 # Remove unnecessary trailing slashes from srcdir.
1292 # Double slashes in file names in object file debugging info
1293 # mess up M-x gdb in Emacs.
1295 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297 for ac_var
in $ac_precious_vars; do
1298 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1299 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1300 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1301 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1305 # Report the --help message.
1307 if test "$ac_init_help" = "long"; then
1308 # Omit some internal or obsolete options to make the list less imposing.
1309 # This message is too long to be a string in the A/UX 3.1 sh.
1311 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1313 Usage: $0 [OPTION]... [VAR=VALUE]...
1315 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1316 VAR=VALUE. See below for descriptions of some of the useful variables.
1318 Defaults for the options are specified in brackets.
1321 -h, --help display this help and exit
1322 --help=short display options specific to this package
1323 --help=recursive display the short help of all the included packages
1324 -V, --version display version information and exit
1325 -q, --quiet, --silent do not print \`checking...' messages
1326 --cache-file=FILE cache test results in FILE [disabled]
1327 -C, --config-cache alias for \`--cache-file=config.cache'
1328 -n, --no-create do not create output files
1329 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1331 Installation directories:
1332 --prefix=PREFIX install architecture-independent files in PREFIX
1333 [$ac_default_prefix]
1334 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1337 By default, \`make install' will install all the files in
1338 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1339 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1340 for instance \`--prefix=\$HOME'.
1342 For better control, use the options below.
1344 Fine tuning of the installation directories:
1345 --bindir=DIR user executables [EPREFIX/bin]
1346 --sbindir=DIR system admin executables [EPREFIX/sbin]
1347 --libexecdir=DIR program executables [EPREFIX/libexec]
1348 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1349 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1350 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1351 --libdir=DIR object code libraries [EPREFIX/lib]
1352 --includedir=DIR C header files [PREFIX/include]
1353 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1354 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1355 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1356 --infodir=DIR info documentation [DATAROOTDIR/info]
1357 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1358 --mandir=DIR man documentation [DATAROOTDIR/man]
1359 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1360 --htmldir=DIR html documentation [DOCDIR]
1361 --dvidir=DIR dvi documentation [DOCDIR]
1362 --pdfdir=DIR pdf documentation [DOCDIR]
1363 --psdir=DIR ps documentation [DOCDIR]
1369 --program-prefix=PREFIX prepend PREFIX to installed program names
1370 --program-suffix=SUFFIX append SUFFIX to installed program names
1371 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1374 --build=BUILD configure
for building on BUILD
[guessed
]
1375 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1376 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1380 if test -n "$ac_init_help"; then
1381 case $ac_init_help in
1382 short | recursive
) echo "Configuration of package-unused version-unused:";;
1387 --disable-option-checking ignore unrecognized
--enable/--with options
1388 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1389 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1390 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1391 --enable-multilib build many library versions
(default
)
1392 --enable-maintainer-mode enable make rules and dependencies not useful
1393 (and sometimes confusing
) to the casual installer
1394 --disable-dependency-tracking speeds up one-time build
1395 --enable-dependency-tracking do not reject slow dependency extractors
1396 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1397 --enable-static[=PKGS
] build static libraries
[default
=yes]
1398 --enable-fast-install[=PKGS
]
1399 optimize
for fast installation
[default
=yes]
1400 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1403 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1404 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1405 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1407 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1409 Some influential environment variables
:
1410 CC C compiler
command
1411 CFLAGS C compiler flags
1412 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1413 nonstandard directory
<lib dir
>
1414 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1415 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1416 you have headers
in a nonstandard directory
<include dir
>
1417 CXX C
++ compiler
command
1418 CXXFLAGS C
++ compiler flags
1419 CCAS assembler compiler
command (defaults to CC
)
1420 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1422 CXXCPP C
++ preprocessor
1424 Use these variables to override the choices made by
`configure' or to help
1425 it to find libraries and programs with nonstandard names/locations.
1427 Report bugs to <libsanitizer>.
1432 if test "$ac_init_help" = "recursive"; then
1433 # If there are subdirs, report their specific --help.
1434 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1435 test -d "$ac_dir" ||
1436 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1444 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1446 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1451 ac_abs_top_builddir=$ac_pwd
1452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1453 # for backward compatibility:
1454 ac_top_builddir=$ac_top_build_prefix
1457 .) # We are building in place.
1459 ac_top_srcdir=$ac_top_builddir_sub
1460 ac_abs_top_srcdir=$ac_pwd ;;
1461 [\\/]* | ?:[\\/]* ) # Absolute name.
1462 ac_srcdir=$srcdir$ac_dir_suffix;
1463 ac_top_srcdir=$srcdir
1464 ac_abs_top_srcdir=$srcdir ;;
1466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1467 ac_top_srcdir=$ac_top_build_prefix$srcdir
1468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1472 cd "$ac_dir" || { ac_status=$?; continue; }
1473 # Check for guested configure.
1474 if test -f "$ac_srcdir/configure.gnu"; then
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1477 elif test -f "$ac_srcdir/configure"; then
1479 $SHELL "$ac_srcdir/configure" --help=recursive
1481 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1483 cd "$ac_pwd" || { ac_status=$?; break; }
1487 test -n "$ac_init_help" && exit $ac_status
1488 if $ac_init_version; then
1490 package-unused configure version-unused
1491 generated by GNU Autoconf 2.64
1493 Copyright (C) 2009 Free Software Foundation, Inc.
1494 This configure script is free software; the Free Software Foundation
1495 gives unlimited permission to copy, distribute and modify it.
1500 ## ------------------------ ##
1501 ## Autoconf initialization. ##
1502 ## ------------------------ ##
1504 # ac_fn_c_try_compile LINENO
1505 # --------------------------
1506 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1507 ac_fn_c_try_compile ()
1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510 rm -f conftest.$ac_objext
1511 if { { ac_try="$ac_compile"
1513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1514 *) ac_try_echo
=$ac_try;;
1516 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517 $as_echo "$ac_try_echo"; } >&5
1518 (eval "$ac_compile") 2>conftest.err
1520 if test -s conftest.err
; then
1521 grep -v '^ *+' conftest.err
>conftest.er1
1522 cat conftest.er1
>&5
1523 mv -f conftest.er1 conftest.err
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 test $ac_status = 0; } && {
1527 test -z "$ac_c_werror_flag" ||
1528 test ! -s conftest.err
1529 } && test -s conftest.
$ac_objext; then :
1532 $as_echo "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.
$ac_ext >&5
1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1540 } # ac_fn_c_try_compile
1542 # ac_fn_cxx_try_compile LINENO
1543 # ----------------------------
1544 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1545 ac_fn_cxx_try_compile
()
1547 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1548 rm -f conftest.
$ac_objext
1549 if { { ac_try
="$ac_compile"
1551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1552 *) ac_try_echo=$ac_try;;
1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_compile") 2>conftest.err
1558 if test -s conftest.err; then
1559 grep -v '^ *+' conftest.err >conftest.er1
1560 cat conftest.er1 >&5
1561 mv -f conftest.er1 conftest.err
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564 test $ac_status = 0; } && {
1565 test -z "$ac_cxx_werror_flag" ||
1566 test ! -s conftest.err
1567 } && test -s conftest.$ac_objext; then :
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1575 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1578 } # ac_fn_cxx_try_compile
1580 # ac_fn_c_try_link LINENO
1581 # -----------------------
1582 # Try to link conftest.$ac_ext, and return whether this succeeded.
1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586 rm -f conftest.$ac_objext conftest$ac_exeext
1587 if { { ac_try="$ac_link"
1589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1590 *) ac_try_echo
=$ac_try;;
1592 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_link") 2>conftest.err
1596 if test -s conftest.err
; then
1597 grep -v '^ *+' conftest.err
>conftest.er1
1598 cat conftest.er1
>&5
1599 mv -f conftest.er1 conftest.err
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } && {
1603 test -z "$ac_c_werror_flag" ||
1604 test ! -s conftest.err
1605 } && test -s conftest
$ac_exeext && {
1606 test "$cross_compiling" = yes ||
1607 $as_test_x conftest
$ac_exeext
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.
$ac_ext >&5
1616 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1617 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1618 # interfere with the next link command; also delete a directory that is
1619 # left behind by Apple's compiler. We do this before executing the actions.
1620 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1621 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1624 } # ac_fn_c_try_link
1626 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1627 # -------------------------------------------------------
1628 # Tests whether HEADER exists and can be compiled using the include files in
1629 # INCLUDES, setting the cache variable VAR accordingly.
1630 ac_fn_c_check_header_compile
()
1632 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1634 $as_echo_n "checking for $2... " >&6; }
1635 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1636 $as_echo_n "(cached) " >&6
1638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1639 /* end confdefs.h. */
1643 if ac_fn_c_try_compile
"$LINENO"; then :
1648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1652 $as_echo "$ac_res" >&6; }
1653 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1655 } # ac_fn_c_check_header_compile
1657 # ac_fn_c_try_cpp LINENO
1658 # ----------------------
1659 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1662 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1663 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1666 *) ac_try_echo=$ac_try;;
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1672 if test -s conftest.err; then
1673 grep -v '^ *+' conftest.err >conftest.er1
1674 cat conftest.er1 >&5
1675 mv -f conftest.er1 conftest.err
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; } >/dev/null && {
1679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1680 test ! -s conftest.err
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1689 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1694 # ac_fn_c_try_run LINENO
1695 # ----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1697 # that executables *can* be run.
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if { { ac_try="$ac_link"
1703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1704 *) ac_try_echo
=$ac_try;;
1706 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>&5
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1712 { { case "(($ac_try" in
1713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1714 *) ac_try_echo=$ac_try;;
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_try") 2>&5
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; }; }; then :
1724 $as_echo "$as_me: program exited with status $ac_status" >&5
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.$ac_ext >&5
1728 ac_retval=$ac_status
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1736 # ac_fn_c_check_func LINENO FUNC VAR
1737 # ----------------------------------
1738 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1739 ac_fn_c_check_func ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745 $as_echo_n "(cached) " >&6
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1749 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1751 #define $2 innocuous_$2
1753 /* System header to define __stub macros and hopefully few prototypes,
1754 which can conflict with char $2 (); below.
1755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1756 <limits.h> exists even on freestanding compilers. */
1759 # include <limits.h>
1761 # include <assert.h>
1766 /* Override any GCC internal prototype to avoid an error.
1767 Use char because int might match the return type of a GCC
1768 builtin and then its argument prototype would still apply. */
1773 /* The GNU C library defines this for functions which it implements
1774 to always fail with ENOSYS. Some functions are actually named
1775 something starting with __ and the normal name is an alias. */
1776 #if defined __stub_$2 || defined __stub___$2
1788 if ac_fn_c_try_link "$LINENO"; then :
1793 rm -f core conftest.err conftest.$ac_objext \
1794 conftest$ac_exeext conftest.$ac_ext
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798 $as_echo "$ac_res" >&6; }
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801 } # ac_fn_c_check_func
1803 # ac_fn_cxx_try_cpp LINENO
1804 # ------------------------
1805 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1806 ac_fn_cxx_try_cpp ()
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 if { { ac_try="$ac_cpp conftest.$ac_ext"
1811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1812 *) ac_try_echo
=$ac_try;;
1814 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1818 if test -s conftest.err
; then
1819 grep -v '^ *+' conftest.err
>conftest.er1
1820 cat conftest.er1
>&5
1821 mv -f conftest.er1 conftest.err
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; } >/dev
/null
&& {
1825 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1826 test ! -s conftest.err
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.
$ac_ext >&5
1835 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1838 } # ac_fn_cxx_try_cpp
1840 # ac_fn_cxx_try_link LINENO
1841 # -------------------------
1842 # Try to link conftest.$ac_ext, and return whether this succeeded.
1843 ac_fn_cxx_try_link
()
1845 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1846 rm -f conftest.
$ac_objext conftest
$ac_exeext
1847 if { { ac_try
="$ac_link"
1849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_link") 2>conftest.err
1856 if test -s conftest.err; then
1857 grep -v '^ *+' conftest.err >conftest.er1
1858 cat conftest.er1 >&5
1859 mv -f conftest.er1 conftest.err
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && {
1863 test -z "$ac_cxx_werror_flag" ||
1864 test ! -s conftest.err
1865 } && test -s conftest$ac_exeext && {
1866 test "$cross_compiling" = yes ||
1867 $as_test_x conftest$ac_exeext
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1876 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1877 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1878 # interfere with the next link command; also delete a directory that is
1879 # left behind by Apple's compiler. We do this before executing the actions.
1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884 } # ac_fn_cxx_try_link
1886 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1887 # --------------------------------------------
1888 # Tries to find the compile-time value of EXPR in a program that includes
1889 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1891 ac_fn_c_compute_int ()
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 if test "$cross_compiling" = yes; then
1895 # Depending upon the size, compute the lo and hi bounds.
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1902 static int test_array [1 - 2 * !(($2) >= 0)];
1909 if ac_fn_c_try_compile "$LINENO"; then :
1912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913 /* end confdefs.h. */
1918 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1925 if ac_fn_c_try_compile "$LINENO"; then :
1926 ac_hi=$ac_mid; break
1928 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1929 if test $ac_lo -le $ac_mid; then
1933 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1944 static int test_array [1 - 2 * !(($2) < 0)];
1951 if ac_fn_c_try_compile "$LINENO"; then :
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1960 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1967 if ac_fn_c_try_compile "$LINENO"; then :
1968 ac_lo=$ac_mid; break
1970 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1971 if test $ac_mid -le $ac_hi; then
1975 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985 # Binary search between lo and hi bounds.
1986 while test "x$ac_lo" != "x$ac_hi"; do
1987 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
1994 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2001 if ac_fn_c_try_compile "$LINENO"; then :
2004 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2016 static long int longval () { return $2; }
2017 static unsigned long int ulongval () { return $2; }
2024 FILE *f = fopen ("conftest.val", "w");
2029 long int i = longval ();
2032 fprintf (f, "%ld", i);
2036 unsigned long int i = ulongval ();
2039 fprintf (f, "%lu", i);
2041 /* Do not output a trailing newline, as this causes \r\n confusion
2042 on some platforms. */
2043 return ferror (f) || fclose (f) != 0;
2049 if ac_fn_c_try_run "$LINENO"; then :
2050 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2055 conftest.$ac_objext conftest.beam conftest.$ac_ext
2059 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2062 } # ac_fn_c_compute_int
2063 cat >config.log <<_ACEOF
2064 This file contains any messages produced by compilers while
2065 running configure, to aid debugging if configure makes a mistake.
2067 It was created by package-unused $as_me version-unused, which was
2068 generated by GNU Autoconf 2.64. Invocation command line was
2080 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2081 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2082 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2083 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2084 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2086 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2087 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2089 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2090 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2091 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2092 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2093 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2094 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2095 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir=.
2104 $as_echo "PATH: $as_dir"
2120 # Keep a trace of the command line.
2121 # Strip out --no-create and --no-recursion so they do not pile up.
2122 # Strip out --silent because we don't want to record it for future runs.
2123 # Also quote any args containing shell meta-characters.
2124 # Make two passes to allow for proper duplicate-argument suppression.
2128 ac_must_keep_next=false
2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136 | -silent | --silent | --silen | --sile | --sil)
2139 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2142 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2144 as_fn_append ac_configure_args1 " '$ac_arg'"
2145 if test $ac_must_keep_next = true; then
2146 ac_must_keep_next=false # Got value, back to normal.
2149 *=* | --config-cache | -C | -disable-* | --disable-* \
2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152 | -with-* | --with-* | -without-* | --without-* | --x)
2153 case "$ac_configure_args0 " in
2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157 -* ) ac_must_keep_next=true ;;
2160 as_fn_append ac_configure_args " '$ac_arg'"
2165 { ac_configure_args0=; unset ac_configure_args0;}
2166 { ac_configure_args1=; unset ac_configure_args1;}
2168 # When interrupted or exit'd, cleanup temporary files, and complete
2169 # config.log. We remove comments because anyway the quotes in there
2170 # would cause problems or look ugly.
2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173 trap 'exit_status=$?
2174 # Save into config.log some information that might help in debugging.
2179 ## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##
2184 # The following way of writing the cache mishandles newlines in values,
2186 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2187 eval ac_val=\$$ac_var
2191 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2195 _ | IFS | as_nl) ;; #(
2196 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2197 *) { eval $ac_var=; unset $ac_var;} ;;
2202 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2203 *${as_nl}ac_space=\ *)
2205 "s/'\''/'\''\\\\'\'''\''/g;
2206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2217 ## ----------------- ##
2218 ## Output variables. ##
2219 ## ----------------- ##
2222 for ac_var in $ac_subst_vars
2224 eval ac_val=\$$ac_var
2226 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2228 $as_echo "$ac_var='\''$ac_val'\''"
2232 if test -n "$ac_subst_files"; then
2234 ## ------------------- ##
2235 ## File substitutions. ##
2236 ## ------------------- ##
2239 for ac_var in $ac_subst_files
2241 eval ac_val=\$$ac_var
2243 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2245 $as_echo "$ac_var='\''$ac_val'\''"
2250 if test -s confdefs.h; then
2260 test "$ac_signal" != 0 &&
2261 $as_echo "$as_me: caught signal $ac_signal"
2262 $as_echo "$as_me: exit $exit_status"
2264 rm -f core *.core core.conftest.* &&
2265 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2268 for ac_signal in 1 2 13 15; do
2269 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2273 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2274 rm -f -r conftest* confdefs.h
2276 $as_echo "/* confdefs.h */" > confdefs.h
2278 # Predefined preprocessor variables.
2280 cat >>confdefs.h <<_ACEOF
2281 #define PACKAGE_NAME "$PACKAGE_NAME"
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_STRING "$PACKAGE_STRING"
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_URL "$PACKAGE_URL"
2305 # Let the site file select an alternate cache file if it wants to.
2306 # Prefer an explicitly selected file to automatically selected ones.
2309 if test -n "$CONFIG_SITE"; then
2310 ac_site_file1=$CONFIG_SITE
2311 elif test "x$prefix" != xNONE; then
2312 ac_site_file1=$prefix/share/config.site
2313 ac_site_file2=$prefix/etc/config.site
2315 ac_site_file1=$ac_default_prefix/share/config.site
2316 ac_site_file2=$ac_default_prefix/etc/config.site
2318 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2320 test "x$ac_site_file" = xNONE && continue
2321 if test -r "$ac_site_file"; then
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2323 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2324 sed 's/^/| /' "$ac_site_file" >&5
2329 if test -r "$cache_file"; then
2330 # Some versions of bash will fail to source /dev/null (special
2331 # files actually), so we avoid doing that.
2332 if test -f "$cache_file"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2334 $as_echo "$as_me: loading cache $cache_file" >&6;}
2336 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2337 *) . "./$cache_file";;
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2342 $as_echo "$as_me: creating cache $cache_file" >&6;}
2346 # Check that the precious variables saved in the cache have kept the same
2348 ac_cache_corrupted=false
2349 for ac_var in $ac_precious_vars; do
2350 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2351 eval ac_new_set=\$ac_env_${ac_var}_set
2352 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2353 eval ac_new_val=\$ac_env_${ac_var}_value
2354 case $ac_old_set,$ac_new_set in
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2357 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2358 ac_cache_corrupted=: ;;
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2361 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2362 ac_cache_corrupted=: ;;
2365 if test "x$ac_old_val" != "x$ac_new_val"; then
2366 # differences in whitespace do not lead to failure.
2367 ac_old_val_w=`echo x
$ac_old_val`
2368 ac_new_val_w=`echo x
$ac_new_val`
2369 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2371 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2372 ac_cache_corrupted=:
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2375 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2376 eval $ac_var=\$ac_old_val
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2379 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2381 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2384 # Pass precious variables to config.status.
2385 if test "$ac_new_set" = set; then
2387 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2388 *) ac_arg=$ac_var=$ac_new_val ;;
2390 case " $ac_configure_args " in
2391 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2392 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2396 if $ac_cache_corrupted; then
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2400 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2401 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2403 ## -------------------- ##
2404 ## Main body of script. ##
2405 ## -------------------- ##
2408 ac_cpp='$CPP $CPPFLAGS'
2409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2420 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2421 # Check whether --enable-version-specific-runtime-libs was given.
2422 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2423 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2424 yes) version_specific_libs=yes ;;
2425 no) version_specific_libs=no ;;
2426 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2429 version_specific_libs=no
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2433 $as_echo "$version_specific_libs" >&6; }
2435 # Do not delete or change the following two lines. For why, see
2436 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2438 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2439 for ac_t in install-sh install.sh shtool; do
2440 if test -f "$ac_dir/$ac_t"; then
2442 ac_install_sh="$ac_aux_dir/$ac_t -c"
2447 if test -z "$ac_aux_dir"; then
2448 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2451 # These three variables are undocumented and unsupported,
2452 # and are intended to be withdrawn in a future Autoconf release.
2453 # They can cause serious problems if a builder's source tree is in a directory
2454 # whose full name contains unusual characters.
2455 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2456 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2457 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2460 # Make sure we can run config.sub.
2461 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2462 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2465 $as_echo_n "checking build system type... " >&6; }
2466 if test "${ac_cv_build+set}" = set; then :
2467 $as_echo_n "(cached) " >&6
2469 ac_build_alias=$build_alias
2470 test "x$ac_build_alias" = x &&
2471 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2472 test "x$ac_build_alias" = x &&
2473 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2474 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2475 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2479 $as_echo "$ac_cv_build" >&6; }
2480 case $ac_cv_build in
2482 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2485 ac_save_IFS=$IFS; IFS='-'
2491 # Remember, the first character of IFS is used to create $*,
2492 # except with old shells:
2495 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2499 $as_echo_n "checking host system type... " >&6; }
2500 if test "${ac_cv_host+set}" = set; then :
2501 $as_echo_n "(cached) " >&6
2503 if test "x$host_alias" = x; then
2504 ac_cv_host=$ac_cv_build
2506 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2507 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2512 $as_echo "$ac_cv_host" >&6; }
2515 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2518 ac_save_IFS=$IFS; IFS='-'
2524 # Remember, the first character of IFS is used to create $*,
2525 # except with old shells:
2528 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2532 $as_echo_n "checking target system type... " >&6; }
2533 if test "${ac_cv_target+set}" = set; then :
2534 $as_echo_n "(cached) " >&6
2536 if test "x$target_alias" = x; then
2537 ac_cv_target=$ac_cv_host
2539 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2540 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2545 $as_echo "$ac_cv_target" >&6; }
2546 case $ac_cv_target in
2548 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2550 target=$ac_cv_target
2551 ac_save_IFS=$IFS; IFS='-'
2557 # Remember, the first character of IFS is used to create $*,
2558 # except with old shells:
2561 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2564 # The aliases save the names the user supplied, while $host etc.
2565 # will get canonicalized.
2566 test -n "$target_alias" &&
2567 test "$program_prefix$program_suffix$program_transform_name" = \
2569 program_prefix=${target_alias}-
2571 target_alias=${target_alias-$host_alias}
2573 case ${build_alias} in
2574 "") build_noncanonical=${build} ;;
2575 *) build_noncanonical=${build_alias} ;;
2578 case ${host_alias} in
2579 "") host_noncanonical=${build_noncanonical} ;;
2580 *) host_noncanonical=${host_alias} ;;
2583 case ${target_alias} in
2584 "") target_noncanonical=${host_noncanonical} ;;
2585 *) target_noncanonical=${target_alias} ;;
2592 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2593 -I\$(top_builddir)/../libstdc++-v3/include \
2594 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2595 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2599 am__api_version='1.11'
2601 # Find a good install program. We prefer a C program (faster),
2602 # so one script is as good as another. But avoid the broken or
2603 # incompatible versions:
2604 # SysV /etc/install, /usr/sbin/install
2605 # SunOS /usr/etc/install
2606 # IRIX /sbin/install
2608 # AmigaOS /C/install, which installs bootblocks on floppy discs
2609 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2610 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2611 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2612 # OS/2's system install, which has a completely different semantic
2613 # ./install, which can be erroneously created by make from ./install.sh.
2614 # Reject install programs that cannot install multiple files.
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2616 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2617 if test -z "$INSTALL"; then
2618 if test "${ac_cv_path_install+set}" = set; then :
2619 $as_echo_n "(cached) " >&6
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir=.
2626 # Account for people who put trailing slashes in PATH elements.
2627 case $as_dir/ in #((
2628 ./ | .// | /[cC]/* | \
2629 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2630 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2633 # OSF1 and SCO ODT 3.0 have their own names for install.
2634 # Don't use installbsd from OSF since it installs stuff as root
2636 for ac_prog in ginstall scoinst install; do
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2639 if test $ac_prog = install &&
2640 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2641 # AIX install. It has an incompatible calling convention.
2643 elif test $ac_prog = install &&
2644 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2645 # program-specific install script used by HP pwplus--don't use.
2648 rm -rf conftest.one conftest.two conftest.dir
2649 echo one > conftest.one
2650 echo two > conftest.two
2652 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2653 test -s conftest.one && test -s conftest.two &&
2654 test -s conftest.dir/conftest.one &&
2655 test -s conftest.dir/conftest.two
2657 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2670 rm -rf conftest.one conftest.two conftest.dir
2673 if test "${ac_cv_path_install+set}" = set; then
2674 INSTALL=$ac_cv_path_install
2676 # As a last resort, use the slow shell script. Don't cache a
2677 # value for INSTALL within a source directory, because that will
2678 # break other packages using the cache if that directory is
2679 # removed, or if the value is a relative name.
2680 INSTALL=$ac_install_sh
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2684 $as_echo "$INSTALL" >&6; }
2686 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2687 # It thinks the first close brace ends the variable substitution.
2688 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2690 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2692 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2695 $as_echo_n "checking whether build environment is sane... " >&6; }
2698 echo timestamp > conftest.file
2699 # Reject unsafe characters in $srcdir or the absolute working directory
2700 # name. Accept space and tab only in the latter.
2704 *[\\\"\#\$\&\'\`$am_lf]*)
2705 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2708 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2709 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2712 # Do `set' in a subshell so we don't clobber the current shell's
2713 # arguments. Must try -L first in case configure is actually a
2714 # symlink; some systems play weird games with the mod time of symlinks
2715 # (eg FreeBSD returns the mod time of the symlink's containing
2718 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2719 if test "$*" = "X"; then
2721 set X
`ls -t "$srcdir/configure" conftest.file`
2724 if test "$*" != "X $srcdir/configure conftest.file" \
2725 && test "$*" != "X conftest.file $srcdir/configure"; then
2727 # If neither matched, then we have a broken ls. This can happen
2728 # if, for instance, CONFIG_SHELL is bash and it inherits a
2729 # broken ls alias from the environment. This has actually
2730 # happened. Such a system could not be considered "sane".
2731 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2732 alias in your environment" "$LINENO" 5
2735 test "$2" = conftest.
file
2741 as_fn_error
"newly created file is older than distributed files!
2742 Check your system clock" "$LINENO" 5
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2745 $as_echo "yes" >&6; }
2746 test "$program_prefix" != NONE
&&
2747 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2748 # Use a double $ so make ignores it.
2749 test "$program_suffix" != NONE
&&
2750 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2751 # Double any \ or $.
2752 # By default was `s,x,x', remove it if useless.
2753 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2754 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2756 # expand $ac_aux_dir to an absolute path
2757 am_aux_dir
=`cd $ac_aux_dir && pwd`
2759 if test x
"${MISSING+set}" != xset
; then
2762 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2764 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2767 # Use eval to expand $SHELL
2768 if eval "$MISSING --run true"; then
2769 am_missing_run
="$MISSING --run "
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2773 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2776 if test x
"${install_sh}" != xset
; then
2779 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2781 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2785 # Installed binaries are usually stripped using `strip' when the user
2786 # run `make install-strip'. However `strip' might not be the right
2787 # tool to use in cross-compilation environments, therefore Automake
2788 # will honor the `STRIP' environment variable to overrule this program.
2789 if test "$cross_compiling" != no
; then
2790 if test -n "$ac_tool_prefix"; then
2791 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2792 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if test "${ac_cv_prog_STRIP+set}" = set; then :
2796 $as_echo_n "(cached) " >&6
2798 if test -n "$STRIP"; then
2799 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir
=.
2806 for ac_exec_ext
in '' $ac_executable_extensions; do
2807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 STRIP
=$ac_cv_prog_STRIP
2819 if test -n "$STRIP"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2821 $as_echo "$STRIP" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2829 if test -z "$ac_cv_prog_STRIP"; then
2831 # Extract the first word of "strip", so it can be a program name with args.
2832 set dummy strip
; ac_word
=$2
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 $as_echo_n "checking for $ac_word... " >&6; }
2835 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2836 $as_echo_n "(cached) " >&6
2838 if test -n "$ac_ct_STRIP"; then
2839 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2845 test -z "$as_dir" && as_dir
=.
2846 for ac_exec_ext
in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 ac_cv_prog_ac_ct_STRIP
="strip"
2849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2859 if test -n "$ac_ct_STRIP"; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2861 $as_echo "$ac_ct_STRIP" >&6; }
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2867 if test "x$ac_ct_STRIP" = x
; then
2870 case $cross_compiling:$ac_tool_warned in
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2874 ac_tool_warned
=yes ;;
2879 STRIP
="$ac_cv_prog_STRIP"
2883 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2886 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2887 if test -z "$MKDIR_P"; then
2888 if test "${ac_cv_path_mkdir+set}" = set; then :
2889 $as_echo_n "(cached) " >&6
2891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2892 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2895 test -z "$as_dir" && as_dir
=.
2896 for ac_prog
in mkdir gmkdir
; do
2897 for ac_exec_ext
in '' $ac_executable_extensions; do
2898 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2899 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2900 'mkdir (GNU coreutils) '* | \
2901 'mkdir (coreutils) '* | \
2902 'mkdir (fileutils) '4.1*)
2903 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2913 if test "${ac_cv_path_mkdir+set}" = set; then
2914 MKDIR_P
="$ac_cv_path_mkdir -p"
2916 # As a last resort, use the slow shell script. Don't cache a
2917 # value for MKDIR_P within a source directory, because that will
2918 # break other packages using the cache if that directory is
2919 # removed, or if the value is a relative name.
2920 test -d .
/--version && rmdir .
/--version
2921 MKDIR_P
="$ac_install_sh -d"
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2925 $as_echo "$MKDIR_P" >&6; }
2929 [\\/$
]* | ?
:[\\/]*) ;;
2930 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2933 for ac_prog
in gawk mawk nawk
awk
2935 # Extract the first word of "$ac_prog", so it can be a program name with args.
2936 set dummy
$ac_prog; ac_word
=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if test "${ac_cv_prog_AWK+set}" = set; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$AWK"; then
2943 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir
=.
2950 for ac_exec_ext
in '' $ac_executable_extensions; do
2951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2952 ac_cv_prog_AWK
="$ac_prog"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 if test -n "$AWK"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2965 $as_echo "$AWK" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2972 test -n "$AWK" && break
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2976 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2978 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2979 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2980 $as_echo_n "(cached) " >&6
2982 cat >conftest.
make <<\_ACEOF
2985 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2987 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2988 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2990 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2992 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2996 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2998 $as_echo "yes" >&6; }
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3003 SET_MAKE
="MAKE=${MAKE-make}"
3006 rm -rf .tst
2>/dev
/null
3007 mkdir .tst
2>/dev
/null
3008 if test -d .tst
; then
3013 rmdir .tst
2>/dev
/null
3015 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3016 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3017 # is not polluted with repeated "-I."
3018 am__isrc
=' -I$(srcdir)'
3019 # test to see if srcdir already configured
3020 if test -f $srcdir/config.status
; then
3021 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3025 # test whether we have cygpath
3026 if test -z "$CYGPATH_W"; then
3027 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3028 CYGPATH_W
='cygpath -w'
3035 # Define the identity of the package.
3036 PACKAGE
='package-unused'
3037 VERSION
='version-unused'
3040 cat >>confdefs.h
<<_ACEOF
3041 #define PACKAGE "$PACKAGE"
3045 cat >>confdefs.h
<<_ACEOF
3046 #define VERSION "$VERSION"
3049 # Some tools Automake needs.
3051 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3054 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3057 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3060 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3063 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3065 # We need awk for the "check" target. The system "awk" is bad on
3067 # Always define AMTAR for backward compatibility.
3069 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3071 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3077 # Default to --enable-multilib
3078 # Check whether --enable-multilib was given.
3079 if test "${enable_multilib+set}" = set; then :
3080 enableval
=$enable_multilib; case "$enableval" in
3081 yes) multilib
=yes ;;
3083 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3090 # We may get other options which we leave undocumented:
3091 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3092 # See config-ml.in if you want the gory details.
3094 if test "$srcdir" = "."; then
3095 if test "$with_target_subdir" != "."; then
3096 multi_basedir
="$srcdir/$with_multisrctop../.."
3098 multi_basedir
="$srcdir/$with_multisrctop.."
3101 multi_basedir
="$srcdir/.."
3105 # Even if the default multilib is not a cross compilation,
3106 # it may be that some of the other multilibs are.
3107 if test $cross_compiling = no
&& test $multilib = yes \
3108 && test "x${with_multisubdir}" != x
; then
3109 cross_compiling
=maybe
3112 ac_config_commands
="$ac_config_commands default-1"
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3116 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3117 # Check whether --enable-maintainer-mode was given.
3118 if test "${enable_maintainer_mode+set}" = set; then :
3119 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3121 USE_MAINTAINER_MODE
=no
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3125 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3126 if test $USE_MAINTAINER_MODE = yes; then
3127 MAINTAINER_MODE_TRUE
=
3128 MAINTAINER_MODE_FALSE
='#'
3130 MAINTAINER_MODE_TRUE
='#'
3131 MAINTAINER_MODE_FALSE
=
3134 MAINT
=$MAINTAINER_MODE_TRUE
3138 # Calculate toolexeclibdir
3139 # Also toolexecdir, though it's only used in toolexeclibdir
3140 case ${version_specific_libs} in
3142 # Need the gcc compiler version to know where to install libraries
3143 # and header files if --enable-version-specific-runtime-libs option
3145 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3146 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3149 if test -n "$with_cross_host" &&
3150 test x
"$with_cross_host" != x
"no"; then
3151 # Install a library built with a cross compiler in tooldir, not libdir.
3152 toolexecdir
='$(exec_prefix)/$(target_alias)'
3153 toolexeclibdir
='$(toolexecdir)/lib'
3155 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3156 toolexeclibdir
='$(libdir)'
3158 multi_os_directory
=`$CC -print-multi-os-directory`
3159 case $multi_os_directory in
3160 .
) ;; # Avoid trailing /.
3161 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3168 # Checks for programs.
3170 ac_cpp
='$CPP $CPPFLAGS'
3171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3174 if test -n "$ac_tool_prefix"; then
3175 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3176 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if test "${ac_cv_prog_CC+set}" = set; then :
3180 $as_echo_n "(cached) " >&6
3182 if test -n "$CC"; then
3183 ac_cv_prog_CC
="$CC" # Let the user override the test.
3185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir
=.
3190 for ac_exec_ext
in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3192 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 if test -n "$CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3205 $as_echo "$CC" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3213 if test -z "$ac_cv_prog_CC"; then
3215 # Extract the first word of "gcc", so it can be a program name with args.
3216 set dummy gcc
; ac_word
=$2
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218 $as_echo_n "checking for $ac_word... " >&6; }
3219 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3220 $as_echo_n "(cached) " >&6
3222 if test -n "$ac_ct_CC"; then
3223 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir
=.
3230 for ac_exec_ext
in '' $ac_executable_extensions; do
3231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3232 ac_cv_prog_ac_ct_CC
="gcc"
3233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3243 if test -n "$ac_ct_CC"; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3245 $as_echo "$ac_ct_CC" >&6; }
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3251 if test "x$ac_ct_CC" = x
; then
3254 case $cross_compiling:$ac_tool_warned in
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3258 ac_tool_warned
=yes ;;
3266 if test -z "$CC"; then
3267 if test -n "$ac_tool_prefix"; then
3268 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3269 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 $as_echo_n "checking for $ac_word... " >&6; }
3272 if test "${ac_cv_prog_CC+set}" = set; then :
3273 $as_echo_n "(cached) " >&6
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC
="$CC" # Let the user override the test.
3278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3282 test -z "$as_dir" && as_dir
=.
3283 for ac_exec_ext
in '' $ac_executable_extensions; do
3284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3285 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3296 if test -n "$CC"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3298 $as_echo "$CC" >&6; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3307 if test -z "$CC"; then
3308 # Extract the first word of "cc", so it can be a program name with args.
3309 set dummy cc
; ac_word
=$2
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311 $as_echo_n "checking for $ac_word... " >&6; }
3312 if test "${ac_cv_prog_CC+set}" = set; then :
3313 $as_echo_n "(cached) " >&6
3315 if test -n "$CC"; then
3316 ac_cv_prog_CC
="$CC" # Let the user override the test.
3319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir
=.
3324 for ac_exec_ext
in '' $ac_executable_extensions; do
3325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3326 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3327 ac_prog_rejected
=yes
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3338 if test $ac_prog_rejected = yes; then
3339 # We found a bogon in the path, so make sure we never use it.
3340 set dummy
$ac_cv_prog_CC
3342 if test $# != 0; then
3343 # We chose a different compiler from the bogus one.
3344 # However, it has the same basename, so the bogon will be chosen
3345 # first if we set CC to just the basename; use the full file name.
3347 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3353 if test -n "$CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355 $as_echo "$CC" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3363 if test -z "$CC"; then
3364 if test -n "$ac_tool_prefix"; then
3365 for ac_prog
in cl.exe
3367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3368 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 $as_echo_n "checking for $ac_word... " >&6; }
3371 if test "${ac_cv_prog_CC+set}" = set; then :
3372 $as_echo_n "(cached) " >&6
3374 if test -n "$CC"; then
3375 ac_cv_prog_CC
="$CC" # Let the user override the test.
3377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir
=.
3382 for ac_exec_ext
in '' $ac_executable_extensions; do
3383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3384 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 if test -n "$CC"; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3397 $as_echo "$CC" >&6; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3404 test -n "$CC" && break
3407 if test -z "$CC"; then
3409 for ac_prog
in cl.exe
3411 # Extract the first word of "$ac_prog", so it can be a program name with args.
3412 set dummy
$ac_prog; ac_word
=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3416 $as_echo_n "(cached) " >&6
3418 if test -n "$ac_ct_CC"; then
3419 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3425 test -z "$as_dir" && as_dir
=.
3426 for ac_exec_ext
in '' $ac_executable_extensions; do
3427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3428 ac_cv_prog_ac_ct_CC
="$ac_prog"
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3439 if test -n "$ac_ct_CC"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3441 $as_echo "$ac_ct_CC" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3448 test -n "$ac_ct_CC" && break
3451 if test "x$ac_ct_CC" = x
; then
3454 case $cross_compiling:$ac_tool_warned in
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3458 ac_tool_warned
=yes ;;
3467 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 as_fn_error
"no acceptable C compiler found in \$PATH
3470 See \`config.log' for more details." "$LINENO" 5; }
3472 # Provide some information about the compiler.
3473 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3476 for ac_option
in --version -v -V -qversion; do
3477 { { ac_try
="$ac_compiler $ac_option >&5"
3479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3486 if test -s conftest.err; then
3488 ... rest of stderr output deleted ...
3489 10q' conftest.err >conftest.er1
3490 cat conftest.er1 >&5
3491 rm -f conftest.er1 conftest.err
3493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494 test $ac_status = 0; }
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3508 ac_clean_files_save=$ac_clean_files
3509 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3510 # Try to create an executable without -o first, disregard a.out.
3511 # It will help us diagnose broken compilers, and finding out an intuition
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3514 $as_echo_n "checking for C compiler default output file name... " >&6; }
3515 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3517 # The possible output files:
3518 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3521 for ac_file in $ac_files
3524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3525 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3530 if { { ac_try="$ac_link_default"
3532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3533 *) ac_try_echo
=$ac_try;;
3535 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536 $as_echo "$ac_try_echo"; } >&5
3537 (eval "$ac_link_default") 2>&5
3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540 test $ac_status = 0; }; then :
3541 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3542 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3543 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3544 # so that the user can short-circuit this test for compilers unknown to
3546 for ac_file
in $ac_files ''
3548 test -f "$ac_file" ||
continue
3550 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3553 # We found the default executable, but exeext='' is most
3557 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3559 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3561 # We set ac_cv_exeext here because the later test for it is not
3562 # safe: cross compilers may not add the suffix if given an `-o'
3563 # argument, so we may need to know it at that point already.
3564 # Even if this section looks crufty: it has the advantage of
3571 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3577 $as_echo "$ac_file" >&6; }
3578 if test -z "$ac_file"; then :
3579 $as_echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.
$ac_ext >&5
3582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3584 { as_fn_set_status
77
3585 as_fn_error
"C compiler cannot create executables
3586 See \`config.log' for more details." "$LINENO" 5; }; }
3588 ac_exeext
=$ac_cv_exeext
3590 # Check that the compiler produces executables we can run. If not, either
3591 # the compiler is broken, or we cross compile.
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3593 $as_echo_n "checking whether the C compiler works... " >&6; }
3594 # If not cross compiling, check that we can run a simple program.
3595 if test "$cross_compiling" != yes; then
3596 if { ac_try
='./$ac_file'
3597 { { case "(($ac_try" in
3598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3602 $as_echo "$ac_try_echo"; } >&5
3603 (eval "$ac_try") 2>&5
3605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3606 test $ac_status = 0; }; }; then
3609 if test "$cross_compiling" = maybe; then
3612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614 as_fn_error "cannot run C compiled programs.
3615 If you meant to cross compile
, use \
`--host'.
3616 See \`config.log
' for more details." "$LINENO" 5; }
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3621 $as_echo "yes" >&6; }
3623 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3624 ac_clean_files=$ac_clean_files_save
3625 # Check that the compiler produces executables we can run. If not, either
3626 # the compiler is broken, or we cross compile.
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3628 $as_echo_n "checking whether we are cross compiling... " >&6; }
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3630 $as_echo "$cross_compiling" >&6; }
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3633 $as_echo_n "checking for suffix of executables... " >&6; }
3634 if { { ac_try="$ac_link"
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640 $as_echo "$ac_try_echo"; } >&5
3641 (eval "$ac_link") 2>&5
3643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644 test $ac_status = 0; }; then :
3645 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3646 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3647 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3649 for ac_file
in conftest.exe conftest conftest.
*; do
3650 test -f "$ac_file" ||
continue
3652 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3653 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3661 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3662 See \`config.log' for more details." "$LINENO" 5; }
3664 rm -f conftest
$ac_cv_exeext
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3666 $as_echo "$ac_cv_exeext" >&6; }
3668 rm -f conftest.
$ac_ext
3669 EXEEXT
=$ac_cv_exeext
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3672 $as_echo_n "checking for suffix of object files... " >&6; }
3673 if test "${ac_cv_objext+set}" = set; then :
3674 $as_echo_n "(cached) " >&6
3676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3687 rm -f conftest.o conftest.obj
3688 if { { ac_try
="$ac_compile"
3690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3691 *) ac_try_echo=$ac_try;;
3693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3694 $as_echo "$ac_try_echo"; } >&5
3695 (eval "$ac_compile") 2>&5
3697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3698 test $ac_status = 0; }; then :
3699 for ac_file in conftest.o conftest.obj conftest.*; do
3700 test -f "$ac_file" || continue;
3702 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3703 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3708 $as_echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3713 as_fn_error "cannot compute suffix of object files
: cannot compile
3714 See \
`config.log' for more details." "$LINENO" 5; }
3716 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3719 $as_echo "$ac_cv_objext" >&6; }
3720 OBJEXT=$ac_cv_objext
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3723 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3724 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3725 $as_echo_n "(cached) " >&6
3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3741 if ac_fn_c_try_compile "$LINENO"; then :
3746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3747 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3751 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3752 if test $ac_compiler_gnu = yes; then
3757 ac_test_CFLAGS=${CFLAGS+set}
3758 ac_save_CFLAGS=$CFLAGS
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3760 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3761 if test "${ac_cv_prog_cc_g+set}" = set; then :
3762 $as_echo_n "(cached) " >&6
3764 ac_save_c_werror_flag=$ac_c_werror_flag
3765 ac_c_werror_flag=yes
3768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3769 /* end confdefs.h. */
3779 if ac_fn_c_try_compile "$LINENO"; then :
3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h. */
3794 if ac_fn_c_try_compile "$LINENO"; then :
3797 ac_c_werror_flag=$ac_save_c_werror_flag
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3810 if ac_fn_c_try_compile "$LINENO"; then :
3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3818 ac_c_werror_flag=$ac_save_c_werror_flag
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3821 $as_echo "$ac_cv_prog_cc_g" >&6; }
3822 if test "$ac_test_CFLAGS" = set; then
3823 CFLAGS=$ac_save_CFLAGS
3824 elif test $ac_cv_prog_cc_g = yes; then
3825 if test "$GCC" = yes; then
3831 if test "$GCC" = yes; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3838 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3839 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3840 $as_echo_n "(cached) " >&6
3842 ac_cv_prog_cc_c89=no
3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845 /* end confdefs.h. */
3848 #include <sys/types.h>
3849 #include <sys/stat.h>
3850 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3851 struct buf { int x; };
3852 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3853 static char *e (p, i)
3859 static char *f (char * (*g) (char **, int), char **p, ...)
3864 s = g (p, va_arg (v,int));
3869 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3870 function prototypes and stuff, but not '\xHH' hex character constants.
3871 These don't provoke an error unfortunately, instead are silently treated
3872 as 'x'. The following induces an error, until -std is added to get
3873 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3874 array size at least. It's necessary to write '\x00'==0 to get something
3875 that's true only with -std. */
3876 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3878 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3879 inside strings and character constants. */
3881 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3883 int test (int i, double x);
3884 struct s1 {int (*f) (int a);};
3885 struct s2 {int (*f) (double a);};
3886 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3892 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3897 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3898 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3900 CC="$ac_save_CC $ac_arg"
3901 if ac_fn_c_try_compile "$LINENO"; then :
3902 ac_cv_prog_cc_c89=$ac_arg
3904 rm -f core conftest.err conftest.$ac_objext
3905 test "x$ac_cv_prog_cc_c89" != "xno" && break
3907 rm -f conftest.$ac_ext
3912 case "x$ac_cv_prog_cc_c89" in
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3915 $as_echo "none needed" >&6; } ;;
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3918 $as_echo "unsupported" >&6; } ;;
3920 CC="$CC $ac_cv_prog_cc_c89"
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3922 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3924 if test "x$ac_cv_prog_cc_c89" != xno; then :
3929 ac_cpp='$CPP $CPPFLAGS'
3930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3933 DEPDIR="${am__leading_dot}deps"
3935 ac_config_commands="$ac_config_commands depfiles"
3938 am_make=${MAKE-make}
3939 cat > confinc << 'END'
3941 @echo this is the am__doit target
3944 # If we don't find an include directive, just comment out the code.
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3946 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3950 # First try GNU make style include.
3951 echo "include confinc" > confmf
3952 # Ignore all kinds of additional output from `make'.
3953 case `$am_make -s -f confmf 2> /dev/null` in #(
3954 *the\ am__doit\ target*)
3960 # Now try BSD make style include.
3961 if test "$am__include" = "#"; then
3962 echo '.include
"confinc"' > confmf
3963 case `$am_make -s -f confmf 2> /dev/null` in #(
3964 *the\ am__doit\ target*)
3965 am__include=.include
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3974 $as_echo "$_am_result" >&6; }
3975 rm -f confinc confmf
3977 # Check whether --enable-dependency-tracking was given.
3978 if test "${enable_dependency_tracking+set}" = set; then :
3979 enableval=$enable_dependency_tracking;
3982 if test "x$enable_dependency_tracking" != xno; then
3983 am_depcomp="$ac_aux_dir/depcomp"
3986 if test "x$enable_dependency_tracking" != xno
; then
3996 depcc
="$CC" am_compiler_list
=
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3999 $as_echo_n "checking dependency style of $depcc... " >&6; }
4000 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4001 $as_echo_n "(cached) " >&6
4003 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4004 # We make a subdir and do the tests there. Otherwise we can end up
4005 # making bogus files that we don't know about and never remove. For
4006 # instance it was reported that on HP-UX the gcc test will end up
4007 # making a dummy file named `D' -- because `-MD' means `put the output
4010 # Copy depcomp to subdir because otherwise we won't find it if we're
4011 # using a relative directory.
4012 cp "$am_depcomp" conftest.dir
4014 # We will build objects and dependencies in a subdirectory because
4015 # it helps to detect inapplicable dependency modes. For instance
4016 # both Tru64's cc and ICC support -MD to output dependencies as a
4017 # side effect of compilation, but ICC will put the dependencies in
4018 # the current directory while Tru64 will put them in the object
4022 am_cv_CC_dependencies_compiler_type
=none
4023 if test "$am_compiler_list" = ""; then
4024 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4027 case " $depcc " in #(
4028 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4031 for depmode
in $am_compiler_list; do
4032 # Setup a source with many dependencies, because some compilers
4033 # like to wrap large dependency lists on column 80 (with \), and
4034 # we should not choose a depcomp mode which is confused by this.
4036 # We need to recreate these files for each test, as the compiler may
4037 # overwrite some of them when testing with obscure command lines.
4038 # This happens at least with the AIX C compiler.
4040 for i
in 1 2 3 4 5 6; do
4041 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4042 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4043 # Solaris 8's {/usr,}/bin/sh.
4044 touch sub
/conftst
$i.h
4046 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4048 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4049 # mode. It turns out that the SunPro C++ compiler does not properly
4050 # handle `-M -o', and we need to detect this. Also, some Intel
4051 # versions had trouble with output in subdirs
4052 am__obj
=sub
/conftest.
${OBJEXT-o}
4053 am__minus_obj
="-o $am__obj"
4056 # This depmode causes a compiler race in universal mode.
4057 test "$am__universal" = false ||
continue
4060 # after this tag, mechanisms are not by side-effect, so they'll
4061 # only be used when explicitly requested
4062 if test "x$enable_dependency_tracking" = xyes
; then
4068 msvisualcpp | msvcmsys
)
4069 # This compiler won't grok `-c -o', but also, the minuso test has
4070 # not run yet. These depmodes are late enough in the game, and
4071 # so weak that their functioning should not be impacted.
4072 am__obj
=conftest.
${OBJEXT-o}
4077 if depmode
=$depmode \
4078 source=sub
/conftest.c object
=$am__obj \
4079 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4080 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4081 >/dev
/null
2>conftest.err
&&
4082 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4083 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4084 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4085 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4086 # icc doesn't choke on unknown options, it will just issue warnings
4087 # or remarks (even with -Werror). So we grep stderr for any message
4088 # that says an option was ignored or not supported.
4089 # When given -MP, icc 7.0 and 7.1 complain thusly:
4090 # icc: Command line warning: ignoring option '-M'; no argument required
4091 # The diagnosis changed in icc 8.0:
4092 # icc: Command line remark: option '-MP' not supported
4093 if (grep 'ignoring option' conftest.err ||
4094 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4095 am_cv_CC_dependencies_compiler_type
=$depmode
4104 am_cv_CC_dependencies_compiler_type
=none
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4109 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4110 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4113 test "x$enable_dependency_tracking" != xno \
4114 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4116 am__fastdepCC_FALSE
='#'
4118 am__fastdepCC_TRUE
='#'
4119 am__fastdepCC_FALSE
=
4124 ac_cpp
='$CXXCPP $CPPFLAGS'
4125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4128 if test -z "$CXX"; then
4129 if test -n "$CCC"; then
4132 if test -n "$ac_tool_prefix"; then
4133 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4135 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4136 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4138 $as_echo_n "checking for $ac_word... " >&6; }
4139 if test "${ac_cv_prog_CXX+set}" = set; then :
4140 $as_echo_n "(cached) " >&6
4142 if test -n "$CXX"; then
4143 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4149 test -z "$as_dir" && as_dir
=.
4150 for ac_exec_ext
in '' $ac_executable_extensions; do
4151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4152 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 if test -n "$CXX"; then
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4165 $as_echo "$CXX" >&6; }
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4168 $as_echo "no" >&6; }
4172 test -n "$CXX" && break
4175 if test -z "$CXX"; then
4177 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4179 # Extract the first word of "$ac_prog", so it can be a program name with args.
4180 set dummy
$ac_prog; ac_word
=$2
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4182 $as_echo_n "checking for $ac_word... " >&6; }
4183 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4184 $as_echo_n "(cached) " >&6
4186 if test -n "$ac_ct_CXX"; then
4187 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir
=.
4194 for ac_exec_ext
in '' $ac_executable_extensions; do
4195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4196 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4206 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4207 if test -n "$ac_ct_CXX"; then
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4209 $as_echo "$ac_ct_CXX" >&6; }
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4212 $as_echo "no" >&6; }
4216 test -n "$ac_ct_CXX" && break
4219 if test "x$ac_ct_CXX" = x
; then
4222 case $cross_compiling:$ac_tool_warned in
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4226 ac_tool_warned
=yes ;;
4234 # Provide some information about the compiler.
4235 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4238 for ac_option
in --version -v -V -qversion; do
4239 { { ac_try
="$ac_compiler $ac_option >&5"
4241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4245 $as_echo "$ac_try_echo"; } >&5
4246 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4248 if test -s conftest.err; then
4250 ... rest of stderr output deleted ...
4251 10q' conftest.err >conftest.er1
4252 cat conftest.er1 >&5
4253 rm -f conftest.er1 conftest.err
4255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4256 test $ac_status = 0; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4260 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4261 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4262 $as_echo_n "(cached) " >&6
4264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4265 /* end confdefs.h. */
4278 if ac_fn_cxx_try_compile "$LINENO"; then :
4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4288 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4289 if test $ac_compiler_gnu = yes; then
4294 ac_test_CXXFLAGS=${CXXFLAGS+set}
4295 ac_save_CXXFLAGS=$CXXFLAGS
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4297 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4298 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4299 $as_echo_n "(cached) " >&6
4301 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4302 ac_cxx_werror_flag=yes
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4316 if ac_fn_cxx_try_compile "$LINENO"; then :
4317 ac_cv_prog_cxx_g=yes
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4331 if ac_fn_cxx_try_compile "$LINENO"; then :
4334 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337 /* end confdefs.h. */
4347 if ac_fn_cxx_try_compile "$LINENO"; then :
4348 ac_cv_prog_cxx_g=yes
4350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4355 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4358 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4359 if test "$ac_test_CXXFLAGS" = set; then
4360 CXXFLAGS=$ac_save_CXXFLAGS
4361 elif test $ac_cv_prog_cxx_g = yes; then
4362 if test "$GXX" = yes; then
4368 if test "$GXX" = yes; then
4375 ac_cpp='$CPP $CPPFLAGS'
4376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4380 depcc="$CXX" am_compiler_list=
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4383 $as_echo_n "checking dependency style of $depcc... " >&6; }
4384 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4388 # We make a subdir and do the tests there. Otherwise we can end up
4389 # making bogus files that we don't know about and never remove. For
4390 # instance it was reported that on HP-UX the gcc test will end up
4391 # making a dummy file named `D
' -- because `-MD' means
`put the output
4394 # Copy depcomp to subdir because otherwise we won't find it if we're
4395 # using a relative directory.
4396 cp "$am_depcomp" conftest.dir
4398 # We will build objects and dependencies in a subdirectory because
4399 # it helps to detect inapplicable dependency modes. For instance
4400 # both Tru64's cc and ICC support -MD to output dependencies as a
4401 # side effect of compilation, but ICC will put the dependencies in
4402 # the current directory while Tru64 will put them in the object
4406 am_cv_CXX_dependencies_compiler_type=none
4407 if test "$am_compiler_list" = ""; then
4408 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4411 case " $depcc " in #(
4412 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4415 for depmode in $am_compiler_list; do
4416 # Setup a source with many dependencies, because some compilers
4417 # like to wrap large dependency lists on column 80 (with \), and
4418 # we should not choose a depcomp mode which is confused by this.
4420 # We need to recreate these files for each test, as the compiler may
4421 # overwrite some of them when testing with obscure command lines.
4422 # This happens at least with the AIX C compiler.
4424 for i in 1 2 3 4 5 6; do
4425 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4426 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4427 # Solaris 8's
{/usr
,}/bin
/sh.
4428 touch sub
/conftst
$i.h
4430 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4432 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4433 # mode. It turns out that the SunPro C++ compiler does not properly
4434 # handle `-M -o', and we need to detect this. Also, some Intel
4435 # versions had trouble with output in subdirs
4436 am__obj
=sub
/conftest.
${OBJEXT-o}
4437 am__minus_obj
="-o $am__obj"
4440 # This depmode causes a compiler race in universal mode.
4441 test "$am__universal" = false ||
continue
4444 # after this tag, mechanisms are not by side-effect, so they'll
4445 # only be used when explicitly requested
4446 if test "x$enable_dependency_tracking" = xyes
; then
4452 msvisualcpp | msvcmsys
)
4453 # This compiler won't grok `-c -o', but also, the minuso test has
4454 # not run yet. These depmodes are late enough in the game, and
4455 # so weak that their functioning should not be impacted.
4456 am__obj
=conftest.
${OBJEXT-o}
4461 if depmode
=$depmode \
4462 source=sub
/conftest.c object
=$am__obj \
4463 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4464 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4465 >/dev
/null
2>conftest.err
&&
4466 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4467 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4468 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4469 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4470 # icc doesn't choke on unknown options, it will just issue warnings
4471 # or remarks (even with -Werror). So we grep stderr for any message
4472 # that says an option was ignored or not supported.
4473 # When given -MP, icc 7.0 and 7.1 complain thusly:
4474 # icc: Command line warning: ignoring option '-M'; no argument required
4475 # The diagnosis changed in icc 8.0:
4476 # icc: Command line remark: option '-MP' not supported
4477 if (grep 'ignoring option' conftest.err ||
4478 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4479 am_cv_CXX_dependencies_compiler_type
=$depmode
4488 am_cv_CXX_dependencies_compiler_type
=none
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4493 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4494 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4497 test "x$enable_dependency_tracking" != xno \
4498 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4499 am__fastdepCXX_TRUE
=
4500 am__fastdepCXX_FALSE
='#'
4502 am__fastdepCXX_TRUE
='#'
4503 am__fastdepCXX_FALSE
=
4507 # By default we simply use the C compiler to build assembly code.
4509 test "${CCAS+set}" = set || CCAS
=$CC
4510 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4514 depcc
="$CCAS" am_compiler_list
=
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4517 $as_echo_n "checking dependency style of $depcc... " >&6; }
4518 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
4519 $as_echo_n "(cached) " >&6
4521 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4522 # We make a subdir and do the tests there. Otherwise we can end up
4523 # making bogus files that we don't know about and never remove. For
4524 # instance it was reported that on HP-UX the gcc test will end up
4525 # making a dummy file named `D' -- because `-MD' means `put the output
4528 # Copy depcomp to subdir because otherwise we won't find it if we're
4529 # using a relative directory.
4530 cp "$am_depcomp" conftest.dir
4532 # We will build objects and dependencies in a subdirectory because
4533 # it helps to detect inapplicable dependency modes. For instance
4534 # both Tru64's cc and ICC support -MD to output dependencies as a
4535 # side effect of compilation, but ICC will put the dependencies in
4536 # the current directory while Tru64 will put them in the object
4540 am_cv_CCAS_dependencies_compiler_type
=none
4541 if test "$am_compiler_list" = ""; then
4542 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4547 for depmode
in $am_compiler_list; do
4548 # Setup a source with many dependencies, because some compilers
4549 # like to wrap large dependency lists on column 80 (with \), and
4550 # we should not choose a depcomp mode which is confused by this.
4552 # We need to recreate these files for each test, as the compiler may
4553 # overwrite some of them when testing with obscure command lines.
4554 # This happens at least with the AIX C compiler.
4556 for i
in 1 2 3 4 5 6; do
4557 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4558 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4559 # Solaris 8's {/usr,}/bin/sh.
4560 touch sub
/conftst
$i.h
4562 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4564 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4565 # mode. It turns out that the SunPro C++ compiler does not properly
4566 # handle `-M -o', and we need to detect this. Also, some Intel
4567 # versions had trouble with output in subdirs
4568 am__obj
=sub
/conftest.
${OBJEXT-o}
4569 am__minus_obj
="-o $am__obj"
4572 # This depmode causes a compiler race in universal mode.
4573 test "$am__universal" = false ||
continue
4576 # after this tag, mechanisms are not by side-effect, so they'll
4577 # only be used when explicitly requested
4578 if test "x$enable_dependency_tracking" = xyes
; then
4584 msvisualcpp | msvcmsys
)
4585 # This compiler won't grok `-c -o', but also, the minuso test has
4586 # not run yet. These depmodes are late enough in the game, and
4587 # so weak that their functioning should not be impacted.
4588 am__obj
=conftest.
${OBJEXT-o}
4593 if depmode
=$depmode \
4594 source=sub
/conftest.c object
=$am__obj \
4595 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4596 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4597 >/dev
/null
2>conftest.err
&&
4598 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4599 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4600 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4601 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4602 # icc doesn't choke on unknown options, it will just issue warnings
4603 # or remarks (even with -Werror). So we grep stderr for any message
4604 # that says an option was ignored or not supported.
4605 # When given -MP, icc 7.0 and 7.1 complain thusly:
4606 # icc: Command line warning: ignoring option '-M'; no argument required
4607 # The diagnosis changed in icc 8.0:
4608 # icc: Command line remark: option '-MP' not supported
4609 if (grep 'ignoring option' conftest.err ||
4610 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4611 am_cv_CCAS_dependencies_compiler_type
=$depmode
4620 am_cv_CCAS_dependencies_compiler_type
=none
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4625 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4626 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4629 test "x$enable_dependency_tracking" != xno \
4630 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4631 am__fastdepCCAS_TRUE
=
4632 am__fastdepCCAS_FALSE
='#'
4634 am__fastdepCCAS_TRUE
='#'
4635 am__fastdepCCAS_FALSE
=
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4647 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4652 macro_version
='2.2.7a'
4653 macro_revision
='1.3134'
4667 ltmain
="$ac_aux_dir/ltmain.sh"
4669 # Backslashify metacharacters that are still active within
4670 # double-quoted strings.
4671 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4673 # Same as above, but do not quote variable references.
4674 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4676 # Sed substitution to delay expansion of an escaped shell variable in a
4677 # double_quote_subst'ed string.
4678 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4680 # Sed substitution to delay expansion of an escaped single quote.
4681 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4683 # Sed substitution to avoid accidental globbing in evaled expressions
4684 no_glob_subst
='s/\*/\\\*/g'
4686 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4687 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4688 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4691 $as_echo_n "checking how to print strings... " >&6; }
4692 # Test print first, because it will be a builtin if present.
4693 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4694 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4696 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4699 # Use this function as a fallback that always works.
4700 func_fallback_echo ()
4702 eval 'cat <<_LTECHO_EOF
4706 ECHO='func_fallback_echo
'
4709 # func_echo_all arg...
4710 # Invoke $ECHO with all args, space-separated.
4717 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4718 $as_echo "printf" >&6; } ;;
4719 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4720 $as_echo "print -r" >&6; } ;;
4721 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4722 $as_echo "cat" >&6; } ;;
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4739 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4740 if test "${ac_cv_path_SED+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4743 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4744 for ac_i in 1 2 3 4 5 6 7; do
4745 ac_script="$ac_script$as_nl$ac_script"
4747 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4748 { ac_script=; unset ac_script;}
4749 if test -z "$SED"; then
4750 ac_path_SED_found=false
4751 # Loop through the user's path and
test for each of PROGNAME-LIST
4752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir
=.
4757 for ac_prog
in sed gsed
; do
4758 for ac_exec_ext
in '' $ac_executable_extensions; do
4759 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4760 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4761 # Check for GNU ac_path_SED and select it if it is found.
4762 # Check for GNU $ac_path_SED
4763 case `"$ac_path_SED" --version 2>&1` in
4765 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4768 $as_echo_n 0123456789 >"conftest.in"
4771 cat "conftest.in" "conftest.in" >"conftest.tmp"
4772 mv "conftest.tmp" "conftest.in"
4773 cp "conftest.in" "conftest.nl"
4774 $as_echo '' >> "conftest.nl"
4775 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4776 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4777 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4778 if test $ac_count -gt ${ac_path_SED_max-0}; then
4779 # Best one so far, save it but keep looking for a better one
4780 ac_cv_path_SED
="$ac_path_SED"
4781 ac_path_SED_max
=$ac_count
4783 # 10*(2^10) chars as input seems more than enough
4784 test $ac_count -gt 10 && break
4786 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4789 $ac_path_SED_found && break 3
4794 if test -z "$ac_cv_path_SED"; then
4795 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4803 $as_echo "$ac_cv_path_SED" >&6; }
4804 SED
="$ac_cv_path_SED"
4807 test -z "$SED" && SED
=sed
4808 Xsed
="$SED -e 1s/^X//"
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4821 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4822 if test "${ac_cv_path_GREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4825 if test -z "$GREP"; then
4826 ac_path_GREP_found
=false
4827 # Loop through the user's path and test for each of PROGNAME-LIST
4828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4829 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4832 test -z "$as_dir" && as_dir
=.
4833 for ac_prog
in grep ggrep
; do
4834 for ac_exec_ext
in '' $ac_executable_extensions; do
4835 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4836 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4837 # Check for GNU ac_path_GREP and select it if it is found.
4838 # Check for GNU $ac_path_GREP
4839 case `"$ac_path_GREP" --version 2>&1` in
4841 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4844 $as_echo_n 0123456789 >"conftest.in"
4847 cat "conftest.in" "conftest.in" >"conftest.tmp"
4848 mv "conftest.tmp" "conftest.in"
4849 cp "conftest.in" "conftest.nl"
4850 $as_echo 'GREP' >> "conftest.nl"
4851 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4852 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4853 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4854 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4855 # Best one so far, save it but keep looking for a better one
4856 ac_cv_path_GREP
="$ac_path_GREP"
4857 ac_path_GREP_max
=$ac_count
4859 # 10*(2^10) chars as input seems more than enough
4860 test $ac_count -gt 10 && break
4862 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4865 $ac_path_GREP_found && break 3
4870 if test -z "$ac_cv_path_GREP"; then
4871 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4874 ac_cv_path_GREP
=$GREP
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4879 $as_echo "$ac_cv_path_GREP" >&6; }
4880 GREP
="$ac_cv_path_GREP"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4884 $as_echo_n "checking for egrep... " >&6; }
4885 if test "${ac_cv_path_EGREP+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4888 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4889 then ac_cv_path_EGREP
="$GREP -E"
4891 if test -z "$EGREP"; then
4892 ac_path_EGREP_found
=false
4893 # Loop through the user's path and test for each of PROGNAME-LIST
4894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4895 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4898 test -z "$as_dir" && as_dir
=.
4899 for ac_prog
in egrep; do
4900 for ac_exec_ext
in '' $ac_executable_extensions; do
4901 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4902 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4903 # Check for GNU ac_path_EGREP and select it if it is found.
4904 # Check for GNU $ac_path_EGREP
4905 case `"$ac_path_EGREP" --version 2>&1` in
4907 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4910 $as_echo_n 0123456789 >"conftest.in"
4913 cat "conftest.in" "conftest.in" >"conftest.tmp"
4914 mv "conftest.tmp" "conftest.in"
4915 cp "conftest.in" "conftest.nl"
4916 $as_echo 'EGREP' >> "conftest.nl"
4917 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4918 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4919 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4920 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4921 # Best one so far, save it but keep looking for a better one
4922 ac_cv_path_EGREP
="$ac_path_EGREP"
4923 ac_path_EGREP_max
=$ac_count
4925 # 10*(2^10) chars as input seems more than enough
4926 test $ac_count -gt 10 && break
4928 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4931 $ac_path_EGREP_found && break 3
4936 if test -z "$ac_cv_path_EGREP"; then
4937 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4940 ac_cv_path_EGREP
=$EGREP
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4946 $as_echo "$ac_cv_path_EGREP" >&6; }
4947 EGREP
="$ac_cv_path_EGREP"
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4951 $as_echo_n "checking for fgrep... " >&6; }
4952 if test "${ac_cv_path_FGREP+set}" = set; then :
4953 $as_echo_n "(cached) " >&6
4955 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4956 then ac_cv_path_FGREP
="$GREP -F"
4958 if test -z "$FGREP"; then
4959 ac_path_FGREP_found
=false
4960 # Loop through the user's path and test for each of PROGNAME-LIST
4961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4962 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4965 test -z "$as_dir" && as_dir
=.
4966 for ac_prog
in fgrep
; do
4967 for ac_exec_ext
in '' $ac_executable_extensions; do
4968 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4969 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4970 # Check for GNU ac_path_FGREP and select it if it is found.
4971 # Check for GNU $ac_path_FGREP
4972 case `"$ac_path_FGREP" --version 2>&1` in
4974 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4977 $as_echo_n 0123456789 >"conftest.in"
4980 cat "conftest.in" "conftest.in" >"conftest.tmp"
4981 mv "conftest.tmp" "conftest.in"
4982 cp "conftest.in" "conftest.nl"
4983 $as_echo 'FGREP' >> "conftest.nl"
4984 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4985 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4986 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4987 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4988 # Best one so far, save it but keep looking for a better one
4989 ac_cv_path_FGREP
="$ac_path_FGREP"
4990 ac_path_FGREP_max
=$ac_count
4992 # 10*(2^10) chars as input seems more than enough
4993 test $ac_count -gt 10 && break
4995 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4998 $ac_path_FGREP_found && break 3
5003 if test -z "$ac_cv_path_FGREP"; then
5004 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5007 ac_cv_path_FGREP
=$FGREP
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5013 $as_echo "$ac_cv_path_FGREP" >&6; }
5014 FGREP
="$ac_cv_path_FGREP"
5017 test -z "$GREP" && GREP
=grep
5037 # Check whether --with-gnu-ld was given.
5038 if test "${with_gnu_ld+set}" = set; then :
5039 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5045 if test "$GCC" = yes; then
5046 # Check if gcc -print-prog-name=ld gives a path.
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5048 $as_echo_n "checking for ld used by $CC... " >&6; }
5051 # gcc leaves a trailing carriage return which upsets mingw
5052 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5054 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5057 # Accept absolute paths.
5059 re_direlt
='/[^/][^/]*/\.\./'
5060 # Canonicalize the pathname of ld
5061 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5062 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5063 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5065 test -z "$LD" && LD
="$ac_prog"
5068 # If it fails, then pretend we aren't using GCC.
5072 # If it is relative, then search for the first ld in PATH.
5076 elif test "$with_gnu_ld" = yes; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5078 $as_echo_n "checking for GNU ld... " >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5081 $as_echo_n "checking for non-GNU ld... " >&6; }
5083 if test "${lt_cv_path_LD+set}" = set; then :
5084 $as_echo_n "(cached) " >&6
5086 if test -z "$LD"; then
5087 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5088 for ac_dir
in $PATH; do
5090 test -z "$ac_dir" && ac_dir
=.
5091 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5092 lt_cv_path_LD
="$ac_dir/$ac_prog"
5093 # Check to see if the program is GNU ld. I'd rather use --version,
5094 # but apparently some variants of GNU ld only accept -v.
5095 # Break only if it was the GNU/non-GNU ld that we prefer.
5096 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5097 *GNU
* |
*'with BFD'*)
5098 test "$with_gnu_ld" != no
&& break
5101 test "$with_gnu_ld" != yes && break
5108 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5113 if test -n "$LD"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5115 $as_echo "$LD" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5120 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5122 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5123 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5124 $as_echo_n "(cached) " >&6
5126 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5127 case `$LD -v 2>&1 </dev/null` in
5128 *GNU
* |
*'with BFD'*)
5129 lt_cv_prog_gnu_ld
=yes
5132 lt_cv_prog_gnu_ld
=no
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5137 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5138 with_gnu_ld
=$lt_cv_prog_gnu_ld
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5149 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5150 if test "${lt_cv_path_NM+set}" = set; then :
5151 $as_echo_n "(cached) " >&6
5153 if test -n "$NM"; then
5154 # Let the user override the test.
5157 lt_nm_to_check
="${ac_tool_prefix}nm"
5158 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5159 lt_nm_to_check
="$lt_nm_to_check nm"
5161 for lt_tmp_nm
in $lt_nm_to_check; do
5162 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5163 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5165 test -z "$ac_dir" && ac_dir
=.
5166 tmp_nm
="$ac_dir/$lt_tmp_nm"
5167 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5168 # Check to see if the nm accepts a BSD-compat flag.
5169 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5170 # nm: unknown option "B" ignored
5171 # Tru64's nm complains that /dev/null is an invalid object file
5172 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5173 */dev
/null
* |
*'Invalid file or object type'*)
5174 lt_cv_path_NM
="$tmp_nm -B"
5178 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5180 lt_cv_path_NM
="$tmp_nm -p"
5184 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5185 continue # so that we can try to find one that supports BSD flags
5194 : ${lt_cv_path_NM=no}
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5198 $as_echo "$lt_cv_path_NM" >&6; }
5199 if test "$lt_cv_path_NM" != "no"; then
5202 # Didn't find any BSD compatible name lister, look for dumpbin.
5203 if test -n "$DUMPBIN"; then :
5204 # Let the user override the test.
5206 if test -n "$ac_tool_prefix"; then
5207 for ac_prog
in dumpbin
"link -dump"
5209 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5210 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5214 $as_echo_n "(cached) " >&6
5216 if test -n "$DUMPBIN"; then
5217 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5223 test -z "$as_dir" && as_dir
=.
5224 for ac_exec_ext
in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 DUMPBIN
=$ac_cv_prog_DUMPBIN
5237 if test -n "$DUMPBIN"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5239 $as_echo "$DUMPBIN" >&6; }
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5246 test -n "$DUMPBIN" && break
5249 if test -z "$DUMPBIN"; then
5250 ac_ct_DUMPBIN
=$DUMPBIN
5251 for ac_prog
in dumpbin
"link -dump"
5253 # Extract the first word of "$ac_prog", so it can be a program name with args.
5254 set dummy
$ac_prog; ac_word
=$2
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5256 $as_echo_n "checking for $ac_word... " >&6; }
5257 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5258 $as_echo_n "(cached) " >&6
5260 if test -n "$ac_ct_DUMPBIN"; then
5261 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5267 test -z "$as_dir" && as_dir
=.
5268 for ac_exec_ext
in '' $ac_executable_extensions; do
5269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5270 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5281 if test -n "$ac_ct_DUMPBIN"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5283 $as_echo "$ac_ct_DUMPBIN" >&6; }
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5290 test -n "$ac_ct_DUMPBIN" && break
5293 if test "x$ac_ct_DUMPBIN" = x
; then
5296 case $cross_compiling:$ac_tool_warned in
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5300 ac_tool_warned
=yes ;;
5302 DUMPBIN
=$ac_ct_DUMPBIN
5306 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5308 DUMPBIN
="$DUMPBIN -symbols"
5316 if test "$DUMPBIN" != ":"; then
5320 test -z "$NM" && NM
=nm
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5328 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5329 if test "${lt_cv_nm_interface+set}" = set; then :
5330 $as_echo_n "(cached) " >&6
5332 lt_cv_nm_interface
="BSD nm"
5333 echo "int some_variable = 0;" > conftest.
$ac_ext
5334 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5335 (eval "$ac_compile" 2>conftest.err
)
5336 cat conftest.err
>&5
5337 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5338 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5339 cat conftest.err
>&5
5340 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5341 cat conftest.out
>&5
5342 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5343 lt_cv_nm_interface
="MS dumpbin"
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5348 $as_echo "$lt_cv_nm_interface" >&6; }
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5351 $as_echo_n "checking whether ln -s works... " >&6; }
5353 if test "$LN_S" = "ln -s"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5355 $as_echo "yes" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5358 $as_echo "no, using $LN_S" >&6; }
5361 # find the maximum length of command line arguments
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5363 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5364 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5365 $as_echo_n "(cached) " >&6
5372 # On DJGPP, this test can blow up pretty badly due to problems in libc
5373 # (any single argument exceeding 2000 bytes causes a buffer overrun
5374 # during glob expansion). Even if it were fixed, the result of this
5375 # check would be larger than it should be.
5376 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5380 # Under GNU Hurd, this test is not required because there is
5381 # no limit to the length of command line arguments.
5382 # Libtool will interpret -1 as no limit whatsoever
5383 lt_cv_sys_max_cmd_len
=-1;
5386 cygwin
* | mingw
* | cegcc
*)
5387 # On Win9x/ME, this test blows up -- it succeeds, but takes
5388 # about 5 minutes as the teststring grows exponentially.
5389 # Worse, since 9x/ME are not pre-emptively multitasking,
5390 # you end up with a "frozen" computer, even though with patience
5391 # the test eventually succeeds (with a max line length of 256k).
5392 # Instead, let's just punt: use the minimum linelength reported by
5393 # all of the supported platforms: 8192 (on NT/2K/XP).
5394 lt_cv_sys_max_cmd_len
=8192;
5398 # On MiNT this can take a long time and run out of memory.
5399 lt_cv_sys_max_cmd_len
=8192;
5403 # On AmigaOS with pdksh, this test takes hours, literally.
5404 # So we just punt and use a minimum line length of 8192.
5405 lt_cv_sys_max_cmd_len
=8192;
5408 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5409 # This has been around since 386BSD, at least. Likely further.
5410 if test -x /sbin
/sysctl
; then
5411 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5412 elif test -x /usr
/sbin
/sysctl
; then
5413 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5415 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5417 # And add a safety zone
5418 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5419 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5423 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5424 lt_cv_sys_max_cmd_len
=196608
5428 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5429 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5430 # nice to cause kernel panics so lets avoid the loop below.
5431 # First set a reasonable default.
5432 lt_cv_sys_max_cmd_len
=16384
5434 if test -x /sbin
/sysconfig
; then
5435 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5436 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5441 lt_cv_sys_max_cmd_len
=102400
5443 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5444 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5445 if test -n "$kargmax"; then
5446 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5448 lt_cv_sys_max_cmd_len
=32768
5452 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5453 if test -n "$lt_cv_sys_max_cmd_len"; then
5454 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5455 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5457 # Make teststring a little bigger before we do anything with it.
5458 # a 1K string should be a reasonable start.
5459 for i
in 1 2 3 4 5 6 7 8 ; do
5460 teststring
=$teststring$teststring
5462 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5463 # If test is not a shell built-in, we'll probably end up computing a
5464 # maximum length that is only half of the actual maximum length, but
5466 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5467 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5468 test $i != 17 # 1/2 MB should be enough
5471 teststring
=$teststring$teststring
5473 # Only check the string length outside the loop.
5474 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5476 # Add a significant safety factor because C++ compilers can tack on
5477 # massive amounts of additional arguments before passing them to the
5478 # linker. It appears as though 1/2 is a usable value.
5479 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5486 if test -n $lt_cv_sys_max_cmd_len ; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5488 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5491 $as_echo "none" >&6; }
5493 max_cmd_len
=$lt_cv_sys_max_cmd_len
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5505 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5506 # Try some XSI features
5509 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5511 && eval 'test $(( 1 + 1 )) -eq 2 \
5512 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5515 $as_echo "$xsi_shell" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5519 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5521 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5523 && lt_shell_append=yes
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5525 $as_echo "$lt_shell_append" >&6; }
5528 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5538 # test EBCDIC or ASCII
5539 case `echo X|tr X '\101'` in
5540 A) # ASCII based system
5541 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5542 lt_SP2NL='tr \040 \012'
5543 lt_NL2SP='tr \015\012 \040\040'
5545 *) # EBCDIC based system
5546 lt_SP2NL='tr \100 \n'
5547 lt_NL2SP='tr \r\n \100\100'
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5560 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5561 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5562 $as_echo_n "(cached
) " >&6
5564 lt_cv_ld_reload_flag='-r'
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5567 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5568 reload_flag=$lt_cv_ld_reload_flag
5569 case $reload_flag in
5571 *) reload_flag=" $reload_flag" ;;
5573 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5576 if test "$GCC" = yes; then
5577 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5579 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5592 if test -n "$ac_tool_prefix"; then
5593 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5594 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5596 $as_echo_n "checking
for $ac_word...
" >&6; }
5597 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5598 $as_echo_n "(cached
) " >&6
5600 if test -n "$OBJDUMP"; then
5601 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5610 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5611 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5620 OBJDUMP=$ac_cv_prog_OBJDUMP
5621 if test -n "$OBJDUMP"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5623 $as_echo "$OBJDUMP" >&6; }
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5626 $as_echo "no
" >&6; }
5631 if test -z "$ac_cv_prog_OBJDUMP"; then
5632 ac_ct_OBJDUMP=$OBJDUMP
5633 # Extract the first word of "objdump
", so it can be a program name with args.
5634 set dummy objdump; ac_word=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5636 $as_echo_n "checking
for $ac_word...
" >&6; }
5637 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5638 $as_echo_n "(cached
) " >&6
5640 if test -n "$ac_ct_OBJDUMP"; then
5641 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 test -z "$as_dir" && as_dir=.
5648 for ac_exec_ext in '' $ac_executable_extensions; do
5649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5650 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5660 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5661 if test -n "$ac_ct_OBJDUMP"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5663 $as_echo "$ac_ct_OBJDUMP" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5666 $as_echo "no
" >&6; }
5669 if test "x
$ac_ct_OBJDUMP" = x; then
5672 case $cross_compiling:$ac_tool_warned in
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5675 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5676 ac_tool_warned=yes ;;
5678 OBJDUMP=$ac_ct_OBJDUMP
5681 OBJDUMP="$ac_cv_prog_OBJDUMP"
5684 test -z "$OBJDUMP" && OBJDUMP=objdump
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5695 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5696 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5697 $as_echo_n "(cached
) " >&6
5699 lt_cv_file_magic_cmd='$MAGIC_CMD'
5700 lt_cv_file_magic_test_file=
5701 lt_cv_deplibs_check_method='unknown'
5702 # Need to set the preceding variable on all platforms that support
5703 # interlibrary dependencies.
5704 # 'none' -- dependencies not supported.
5705 # `unknown' -- same as none, but documents that we really don't know.
5706 # 'pass_all' -- all dependencies passed with no checks.
5707 # 'test_compile' -- check by making test program.
5708 # 'file_magic [[regex]]' -- check by looking for files in library path
5709 # which responds to the $file_magic_cmd with a given extended regex.
5710 # If you have `file' or equivalent on your system and you're not sure
5711 # whether `pass_all' will *always* work, you probably want this one.
5715 lt_cv_deplibs_check_method=pass_all
5719 lt_cv_deplibs_check_method=pass_all
5723 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5724 lt_cv_file_magic_cmd='/usr/bin/file -L'
5725 lt_cv_file_magic_test_file=/shlib/libc.so
5729 # func_win32_libid is a shell function defined in ltmain.sh
5730 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5731 lt_cv_file_magic_cmd='func_win32_libid'
5735 # Base MSYS/MinGW do not provide the 'file' command needed by
5736 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5737 # unless we find 'file', for example because we are cross-compiling.
5738 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5739 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5740 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5741 lt_cv_file_magic_cmd='func_win32_libid'
5743 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5744 lt_cv_file_magic_cmd='$OBJDUMP -f'
5749 # use the weaker test based on 'objdump'. See mingw*.
5750 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5751 lt_cv_file_magic_cmd='$OBJDUMP -f'
5754 darwin* | rhapsody*)
5755 lt_cv_deplibs_check_method=pass_all
5758 freebsd* | dragonfly*)
5759 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5762 # Not sure whether the presence of OpenBSD here was a mistake.
5763 # Let's accept both of them until this is cleared up.
5764 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5765 lt_cv_file_magic_cmd=/usr/bin/file
5766 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5770 lt_cv_deplibs_check_method=pass_all
5775 lt_cv_deplibs_check_method=pass_all
5779 lt_cv_deplibs_check_method=pass_all
5782 hpux10.20* | hpux11*)
5783 lt_cv_file_magic_cmd=/usr/bin/file
5786 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5787 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5790 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]'
5791 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5794 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5795 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5801 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5802 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5805 irix5* | irix6* | nonstopux*)
5807 *-32|*"-32 ") libmagic=32-bit;;
5808 *-n32|*"-n32 ") libmagic=N32;;
5809 *-64|*"-64 ") libmagic=64-bit;;
5810 *) libmagic=never-match;;
5812 lt_cv_deplibs_check_method=pass_all
5815 # This must be Linux ELF.
5816 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5817 lt_cv_deplibs_check_method=pass_all
5821 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5822 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5824 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5829 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5830 lt_cv_file_magic_cmd=/usr/bin/file
5831 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5835 lt_cv_deplibs_check_method=pass_all
5839 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5840 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5842 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5846 osf3* | osf4* | osf5*)
5847 lt_cv_deplibs_check_method=pass_all
5851 lt_cv_deplibs_check_method=pass_all
5855 lt_cv_deplibs_check_method=pass_all
5858 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5859 lt_cv_deplibs_check_method=pass_all
5863 case $host_vendor in
5865 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]'
5866 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5869 lt_cv_deplibs_check_method=pass_all
5872 lt_cv_file_magic_cmd='/bin/file'
5873 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5876 lt_cv_file_magic_cmd='/bin/file'
5877 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5878 lt_cv_file_magic_test_file=/lib/libc.so
5881 lt_cv_deplibs_check_method=pass_all
5884 lt_cv_deplibs_check_method=pass_all
5890 lt_cv_deplibs_check_method=pass_all
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5896 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5897 file_magic_cmd=$lt_cv_file_magic_cmd
5898 deplibs_check_method=$lt_cv_deplibs_check_method
5899 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5912 if test -n "$ac_tool_prefix"; then
5913 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5914 set dummy ${ac_tool_prefix}ar; ac_word=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5916 $as_echo_n "checking
for $ac_word...
" >&6; }
5917 if test "${ac_cv_prog_AR+set}" = set; then :
5918 $as_echo_n "(cached
) " >&6
5920 if test -n "$AR"; then
5921 ac_cv_prog_AR="$AR" # Let the user override the test.
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir=.
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5930 ac_cv_prog_AR="${ac_tool_prefix}ar"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5941 if test -n "$AR"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5943 $as_echo "$AR" >&6; }
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5946 $as_echo "no
" >&6; }
5951 if test -z "$ac_cv_prog_AR"; then
5953 # Extract the first word of "ar", so it can be a program name with args.
5954 set dummy ar; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5956 $as_echo_n "checking
for $ac_word...
" >&6; }
5957 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5958 $as_echo_n "(cached
) " >&6
5960 if test -n "$ac_ct_AR"; then
5961 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5970 ac_cv_prog_ac_ct_AR="ar"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5980 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5981 if test -n "$ac_ct_AR"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5983 $as_echo "$ac_ct_AR" >&6; }
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5986 $as_echo "no
" >&6; }
5989 if test "x
$ac_ct_AR" = x; then
5992 case $cross_compiling:$ac_tool_warned in
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5995 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5996 ac_tool_warned=yes ;;
6004 test -z "$AR" && AR=ar
6005 test -z "$AR_FLAGS" && AR_FLAGS=cru
6017 if test -n "$ac_tool_prefix"; then
6018 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6019 set dummy ${ac_tool_prefix}strip; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6021 $as_echo_n "checking
for $ac_word...
" >&6; }
6022 if test "${ac_cv_prog_STRIP+set}" = set; then :
6023 $as_echo_n "(cached
) " >&6
6025 if test -n "$STRIP"; then
6026 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6035 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6045 STRIP=$ac_cv_prog_STRIP
6046 if test -n "$STRIP"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6048 $as_echo "$STRIP" >&6; }
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6051 $as_echo "no
" >&6; }
6056 if test -z "$ac_cv_prog_STRIP"; then
6058 # Extract the first word of "strip
", so it can be a program name with args.
6059 set dummy strip; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6061 $as_echo_n "checking
for $ac_word...
" >&6; }
6062 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6063 $as_echo_n "(cached
) " >&6
6065 if test -n "$ac_ct_STRIP"; then
6066 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6075 ac_cv_prog_ac_ct_STRIP="strip
"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6085 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6086 if test -n "$ac_ct_STRIP"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6088 $as_echo "$ac_ct_STRIP" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6091 $as_echo "no
" >&6; }
6094 if test "x
$ac_ct_STRIP" = x; then
6097 case $cross_compiling:$ac_tool_warned in
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6100 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6101 ac_tool_warned=yes ;;
6106 STRIP="$ac_cv_prog_STRIP"
6109 test -z "$STRIP" && STRIP=:
6116 if test -n "$ac_tool_prefix"; then
6117 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6118 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6120 $as_echo_n "checking
for $ac_word...
" >&6; }
6121 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6122 $as_echo_n "(cached
) " >&6
6124 if test -n "$RANLIB"; then
6125 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6144 RANLIB=$ac_cv_prog_RANLIB
6145 if test -n "$RANLIB"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6147 $as_echo "$RANLIB" >&6; }
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6150 $as_echo "no
" >&6; }
6155 if test -z "$ac_cv_prog_RANLIB"; then
6156 ac_ct_RANLIB=$RANLIB
6157 # Extract the first word of "ranlib
", so it can be a program name with args.
6158 set dummy ranlib; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6160 $as_echo_n "checking
for $ac_word...
" >&6; }
6161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6162 $as_echo_n "(cached
) " >&6
6164 if test -n "$ac_ct_RANLIB"; then
6165 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 test -z "$as_dir" && as_dir=.
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6174 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6184 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6185 if test -n "$ac_ct_RANLIB"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6187 $as_echo "$ac_ct_RANLIB" >&6; }
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6190 $as_echo "no
" >&6; }
6193 if test "x
$ac_ct_RANLIB" = x; then
6196 case $cross_compiling:$ac_tool_warned in
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6199 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6200 ac_tool_warned=yes ;;
6202 RANLIB=$ac_ct_RANLIB
6205 RANLIB="$ac_cv_prog_RANLIB"
6208 test -z "$RANLIB" && RANLIB=:
6215 # Determine commands to create old-style static archives.
6216 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6217 old_postinstall_cmds='chmod 644 $oldlib'
6218 old_postuninstall_cmds=
6220 if test -n "$RANLIB"; then
6223 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6226 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6229 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6234 lock_old_archive_extraction=yes ;;
6236 lock_old_archive_extraction=no ;;
6277 # If no C compiler was specified, use CC.
6280 # If no C compiler flags were specified, use CFLAGS.
6281 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6283 # Allow CC to be a program name with arguments.
6287 # Check for command to grab the raw symbol name followed by C symbol from nm.
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6289 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6290 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6291 $as_echo_n "(cached
) " >&6
6294 # These are sane defaults that work on at least a few old systems.
6295 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6297 # Character class describing NM global symbol codes.
6298 symcode='[BCDEGRST]'
6300 # Regexp to match symbols that can be accessed directly from C.
6301 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6303 # Define system-specific variables.
6308 cygwin* | mingw* | pw32* | cegcc*)
6309 symcode='[ABCDGISTW]'
6312 if test "$host_cpu" = ia64; then
6313 symcode='[ABCDEGRST]'
6317 symcode='[BCDEGRST]'
6320 symcode='[BCDEGQRST]'
6331 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6339 # If we're using GNU nm, then use its standard symbol codes.
6340 case `$NM -V 2>&1` in
6341 *GNU* | *'with BFD'*)
6342 symcode='[ABCDGIRSTW]' ;;
6345 # Transform an extracted symbol line into a proper C declaration.
6346 # Some systems (esp. on ia64) link data and code symbols differently,
6347 # so use this general approach.
6348 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6350 # Transform an extracted symbol line into symbol name and symbol address
6351 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6352 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'"
6354 # Handle CRLF in mingw tool chain
6358 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6362 # Try without a prefix underscore, then with it.
6363 for ac_symprfx in "" "_
"; do
6365 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6366 symxfrm="\\1 $ac_symprfx\\2 \\2"
6368 # Write the raw and C identifiers.
6369 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6370 # Fake it for dumpbin and say T for any non-static function
6371 # and D for any global variable.
6372 # Also find C++ and __fastcall symbols from MSVC++,
6373 # which start with @ or ?.
6374 lt_cv_sys_global_symbol_pipe="$AWK '"\
6375 " {last_section=section; section=\$ 3};"\
6376 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6377 " \$ 0!~/External *\|/{next};"\
6378 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6379 " {if(hide[section]) next};"\
6380 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6381 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6382 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6383 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6384 " ' prfx
=^
$ac_symprfx"
6386 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6389 # Check to see that the pipe works correctly.
6393 cat > conftest.$ac_ext <<_LT_EOF
6398 void nm_test_func(void);
6399 void nm_test_func(void){}
6403 int main(){nm_test_var='a';nm_test_func();return(0);}
6406 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6407 (eval $ac_compile) 2>&5
6409 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6410 test $ac_status = 0; }; then
6411 # Now try to grab the symbols.
6413 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6414 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6416 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6417 test $ac_status = 0; } && test -s "$nlist"; then
6418 # Try sorting and uniquifying the output.
6419 if sort "$nlist" | uniq > "$nlist"T; then
6420 mv -f "$nlist"T "$nlist"
6425 # Make sure that we snagged all the symbols we need.
6426 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6427 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6428 cat <<_LT_EOF > conftest.$ac_ext
6434 # Now generate the symbol file.
6435 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6437 cat <<_LT_EOF >> conftest.$ac_ext
6439 /* The mapping between symbol names and symbols. */
6444 lt__PROGRAM__LTX_preloaded_symbols[] =
6446 { "@PROGRAM@
", (void *) 0 },
6448 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6449 cat <<\_LT_EOF >> conftest.$ac_ext
6453 /* This works around a problem in FreeBSD linker */
6454 #ifdef FREEBSD_WORKAROUND
6455 static const void *lt_preloaded_setup() {
6456 return lt__PROGRAM__LTX_preloaded_symbols;
6464 # Now try linking the two files.
6465 mv conftest.$ac_objext conftstm.$ac_objext
6466 lt_save_LIBS="$LIBS"
6467 lt_save_CFLAGS="$CFLAGS"
6468 LIBS="conftstm.
$ac_objext"
6469 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6470 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6471 (eval $ac_link) 2>&5
6473 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6474 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6477 LIBS="$lt_save_LIBS"
6478 CFLAGS="$lt_save_CFLAGS"
6480 echo "cannot
find nm_test_func
in $nlist" >&5
6483 echo "cannot
find nm_test_var
in $nlist" >&5
6486 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6489 echo "$progname: failed program was
:" >&5
6490 cat conftest.$ac_ext >&5
6492 rm -rf conftest* conftst*
6494 # Do not use the global_symbol_pipe unless it works.
6495 if test "$pipe_works" = yes; then
6498 lt_cv_sys_global_symbol_pipe=
6504 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6505 lt_cv_sys_global_symbol_to_cdecl=
6507 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6509 $as_echo "failed
" >&6; }
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6512 $as_echo "ok
" >&6; }
6537 # Check whether --enable-libtool-lock was given.
6538 if test "${enable_libtool_lock+set}" = set; then :
6539 enableval=$enable_libtool_lock;
6542 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6544 # Some flags need to be propagated to the compiler or linker for good
6548 # Find out which ABI we are using.
6549 echo 'int i;' > conftest.$ac_ext
6550 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6551 (eval $ac_compile) 2>&5
6553 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6554 test $ac_status = 0; }; then
6555 case `/usr/bin/file conftest.$ac_objext` in
6567 # Find out which ABI we are using.
6568 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6569 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6570 (eval $ac_compile) 2>&5
6572 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6573 test $ac_status = 0; }; then
6574 if test "$lt_cv_prog_gnu_ld" = yes; then
6575 case `/usr/bin/file conftest.$ac_objext` in
6577 LD="${LD-ld} -melf32bsmip"
6580 LD="${LD-ld} -melf32bmipn32"
6583 LD="${LD-ld} -melf64bmip"
6587 case `/usr/bin/file conftest.$ac_objext` in
6603 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6604 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6605 # Find out which ABI we are using.
6606 echo 'int i;' > conftest.$ac_ext
6607 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6608 (eval $ac_compile) 2>&5
6610 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6611 test $ac_status = 0; }; then
6612 case `/usr/bin/file conftest.o` in
6615 x86_64-*kfreebsd*-gnu)
6616 LD="${LD-ld} -m elf_i386_fbsd
"
6619 case `/usr/bin/file conftest.o` in
6621 LD="${LD-ld} -m elf32_x86_64
"
6624 LD="${LD-ld} -m elf_i386
"
6628 ppc64-*linux*|powerpc64-*linux*)
6629 LD="${LD-ld} -m elf32ppclinux
"
6632 LD="${LD-ld} -m elf_s390
"
6635 LD="${LD-ld} -m elf32_sparc
"
6641 x86_64-*kfreebsd*-gnu)
6642 LD="${LD-ld} -m elf_x86_64_fbsd
"
6645 LD="${LD-ld} -m elf_x86_64
"
6647 ppc*-*linux*|powerpc*-*linux*)
6648 LD="${LD-ld} -m elf64ppc
"
6650 s390*-*linux*|s390*-*tpf*)
6651 LD="${LD-ld} -m elf64_s390
"
6654 LD="${LD-ld} -m elf64_sparc
"
6664 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6665 SAVE_CFLAGS="$CFLAGS"
6666 CFLAGS="$CFLAGS -belf"
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6668 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6669 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6670 $as_echo_n "(cached
) " >&6
6673 ac_cpp='$CPP $CPPFLAGS'
6674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6679 /* end confdefs.h. */
6689 if ac_fn_c_try_link "$LINENO"; then :
6690 lt_cv_cc_needs_belf=yes
6692 lt_cv_cc_needs_belf=no
6694 rm -f core conftest.err conftest.$ac_objext \
6695 conftest$ac_exeext conftest.$ac_ext
6697 ac_cpp='$CPP $CPPFLAGS'
6698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6704 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6705 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6706 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6707 CFLAGS="$SAVE_CFLAGS"
6711 # Find out which ABI we are using.
6712 echo 'int i;' > conftest.$ac_ext
6713 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6714 (eval $ac_compile) 2>&5
6716 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6717 test $ac_status = 0; }; then
6718 case `/usr/bin/file conftest.o` in
6720 case $lt_cv_prog_gnu_ld in
6721 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6723 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6735 need_locks="$enable_libtool_lock"
6739 rhapsody* | darwin*)
6740 if test -n "$ac_tool_prefix"; then
6741 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6742 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6744 $as_echo_n "checking
for $ac_word...
" >&6; }
6745 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6746 $as_echo_n "(cached
) " >&6
6748 if test -n "$DSYMUTIL"; then
6749 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 test -z "$as_dir" && as_dir=.
6756 for ac_exec_ext in '' $ac_executable_extensions; do
6757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6758 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6768 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6769 if test -n "$DSYMUTIL"; then
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6771 $as_echo "$DSYMUTIL" >&6; }
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6774 $as_echo "no
" >&6; }
6779 if test -z "$ac_cv_prog_DSYMUTIL"; then
6780 ac_ct_DSYMUTIL=$DSYMUTIL
6781 # Extract the first word of "dsymutil
", so it can be a program name with args.
6782 set dummy dsymutil; ac_word=$2
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6784 $as_echo_n "checking
for $ac_word...
" >&6; }
6785 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6786 $as_echo_n "(cached
) " >&6
6788 if test -n "$ac_ct_DSYMUTIL"; then
6789 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6798 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6799 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6808 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6809 if test -n "$ac_ct_DSYMUTIL"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6811 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6814 $as_echo "no
" >&6; }
6817 if test "x
$ac_ct_DSYMUTIL" = x; then
6820 case $cross_compiling:$ac_tool_warned in
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6823 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6824 ac_tool_warned=yes ;;
6826 DSYMUTIL=$ac_ct_DSYMUTIL
6829 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6832 if test -n "$ac_tool_prefix"; then
6833 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6834 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6836 $as_echo_n "checking
for $ac_word...
" >&6; }
6837 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6838 $as_echo_n "(cached
) " >&6
6840 if test -n "$NMEDIT"; then
6841 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 test -z "$as_dir" && as_dir=.
6848 for ac_exec_ext in '' $ac_executable_extensions; do
6849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6850 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6860 NMEDIT=$ac_cv_prog_NMEDIT
6861 if test -n "$NMEDIT"; then
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6863 $as_echo "$NMEDIT" >&6; }
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6866 $as_echo "no
" >&6; }
6871 if test -z "$ac_cv_prog_NMEDIT"; then
6872 ac_ct_NMEDIT=$NMEDIT
6873 # Extract the first word of "nmedit
", so it can be a program name with args.
6874 set dummy nmedit; ac_word=$2
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6876 $as_echo_n "checking
for $ac_word...
" >&6; }
6877 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6878 $as_echo_n "(cached
) " >&6
6880 if test -n "$ac_ct_NMEDIT"; then
6881 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6887 test -z "$as_dir" && as_dir=.
6888 for ac_exec_ext in '' $ac_executable_extensions; do
6889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6890 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6900 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6901 if test -n "$ac_ct_NMEDIT"; then
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6903 $as_echo "$ac_ct_NMEDIT" >&6; }
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6906 $as_echo "no
" >&6; }
6909 if test "x
$ac_ct_NMEDIT" = x; then
6912 case $cross_compiling:$ac_tool_warned in
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6915 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6916 ac_tool_warned=yes ;;
6918 NMEDIT=$ac_ct_NMEDIT
6921 NMEDIT="$ac_cv_prog_NMEDIT"
6924 if test -n "$ac_tool_prefix"; then
6925 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6926 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6928 $as_echo_n "checking
for $ac_word...
" >&6; }
6929 if test "${ac_cv_prog_LIPO+set}" = set; then :
6930 $as_echo_n "(cached
) " >&6
6932 if test -n "$LIPO"; then
6933 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939 test -z "$as_dir" && as_dir=.
6940 for ac_exec_ext in '' $ac_executable_extensions; do
6941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6942 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6952 LIPO=$ac_cv_prog_LIPO
6953 if test -n "$LIPO"; then
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6955 $as_echo "$LIPO" >&6; }
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6958 $as_echo "no
" >&6; }
6963 if test -z "$ac_cv_prog_LIPO"; then
6965 # Extract the first word of "lipo
", so it can be a program name with args.
6966 set dummy lipo; ac_word=$2
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6968 $as_echo_n "checking
for $ac_word...
" >&6; }
6969 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6970 $as_echo_n "(cached
) " >&6
6972 if test -n "$ac_ct_LIPO"; then
6973 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979 test -z "$as_dir" && as_dir=.
6980 for ac_exec_ext in '' $ac_executable_extensions; do
6981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6982 ac_cv_prog_ac_ct_LIPO="lipo
"
6983 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6992 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6993 if test -n "$ac_ct_LIPO"; then
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6995 $as_echo "$ac_ct_LIPO" >&6; }
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6998 $as_echo "no
" >&6; }
7001 if test "x
$ac_ct_LIPO" = x; then
7004 case $cross_compiling:$ac_tool_warned in
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7007 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7008 ac_tool_warned=yes ;;
7013 LIPO="$ac_cv_prog_LIPO"
7016 if test -n "$ac_tool_prefix"; then
7017 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7018 set dummy ${ac_tool_prefix}otool; ac_word=$2
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7020 $as_echo_n "checking
for $ac_word...
" >&6; }
7021 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7022 $as_echo_n "(cached
) " >&6
7024 if test -n "$OTOOL"; then
7025 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031 test -z "$as_dir" && as_dir=.
7032 for ac_exec_ext in '' $ac_executable_extensions; do
7033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7034 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7044 OTOOL=$ac_cv_prog_OTOOL
7045 if test -n "$OTOOL"; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7047 $as_echo "$OTOOL" >&6; }
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7050 $as_echo "no
" >&6; }
7055 if test -z "$ac_cv_prog_OTOOL"; then
7057 # Extract the first word of "otool
", so it can be a program name with args.
7058 set dummy otool; ac_word=$2
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7060 $as_echo_n "checking
for $ac_word...
" >&6; }
7061 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7062 $as_echo_n "(cached
) " >&6
7064 if test -n "$ac_ct_OTOOL"; then
7065 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071 test -z "$as_dir" && as_dir=.
7072 for ac_exec_ext in '' $ac_executable_extensions; do
7073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7074 ac_cv_prog_ac_ct_OTOOL="otool
"
7075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7084 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7085 if test -n "$ac_ct_OTOOL"; then
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7087 $as_echo "$ac_ct_OTOOL" >&6; }
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7090 $as_echo "no
" >&6; }
7093 if test "x
$ac_ct_OTOOL" = x; then
7096 case $cross_compiling:$ac_tool_warned in
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7099 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7100 ac_tool_warned=yes ;;
7105 OTOOL="$ac_cv_prog_OTOOL"
7108 if test -n "$ac_tool_prefix"; then
7109 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7110 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7112 $as_echo_n "checking
for $ac_word...
" >&6; }
7113 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7114 $as_echo_n "(cached
) " >&6
7116 if test -n "$OTOOL64"; then
7117 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 test -z "$as_dir" && as_dir=.
7124 for ac_exec_ext in '' $ac_executable_extensions; do
7125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7126 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7136 OTOOL64=$ac_cv_prog_OTOOL64
7137 if test -n "$OTOOL64"; then
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7139 $as_echo "$OTOOL64" >&6; }
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7142 $as_echo "no
" >&6; }
7147 if test -z "$ac_cv_prog_OTOOL64"; then
7148 ac_ct_OTOOL64=$OTOOL64
7149 # Extract the first word of "otool64
", so it can be a program name with args.
7150 set dummy otool64; ac_word=$2
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7152 $as_echo_n "checking
for $ac_word...
" >&6; }
7153 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7154 $as_echo_n "(cached
) " >&6
7156 if test -n "$ac_ct_OTOOL64"; then
7157 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7163 test -z "$as_dir" && as_dir=.
7164 for ac_exec_ext in '' $ac_executable_extensions; do
7165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7166 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7176 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7177 if test -n "$ac_ct_OTOOL64"; then
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7179 $as_echo "$ac_ct_OTOOL64" >&6; }
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7182 $as_echo "no
" >&6; }
7185 if test "x
$ac_ct_OTOOL64" = x; then
7188 case $cross_compiling:$ac_tool_warned in
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7191 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7192 ac_tool_warned=yes ;;
7194 OTOOL64=$ac_ct_OTOOL64
7197 OTOOL64="$ac_cv_prog_OTOOL64"
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7227 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7228 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7229 $as_echo_n "(cached
) " >&6
7231 lt_cv_apple_cc_single_mod=no
7232 if test -z "${LT_MULTI_MODULE}"; then
7233 # By default we will add the -single_module flag. You can override
7234 # by either setting the environment variable LT_MULTI_MODULE
7235 # non-empty at configure time, or by adding -multi_module to the
7237 rm -rf libconftest.dylib*
7238 echo "int foo
(void
){return 1;}" > conftest.c
7239 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7240 -dynamiclib -Wl,-single_module conftest.c
" >&5
7241 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7242 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7244 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7245 lt_cv_apple_cc_single_mod=yes
7247 cat conftest.err >&5
7249 rm -rf libconftest.dylib*
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7254 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7256 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7257 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7258 $as_echo_n "(cached
) " >&6
7260 lt_cv_ld_exported_symbols_list=no
7261 save_LDFLAGS=$LDFLAGS
7262 echo "_main
" > conftest.sym
7263 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7275 if ac_fn_c_try_link "$LINENO"; then :
7276 lt_cv_ld_exported_symbols_list=yes
7278 lt_cv_ld_exported_symbols_list=no
7280 rm -f core conftest.err conftest.$ac_objext \
7281 conftest$ac_exeext conftest.$ac_ext
7282 LDFLAGS="$save_LDFLAGS"
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7286 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7288 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7289 if test "${lt_cv_ld_force_load+set}" = set; then :
7290 $as_echo_n "(cached
) " >&6
7292 lt_cv_ld_force_load=no
7293 cat > conftest.c << _LT_EOF
7294 int forced_loaded() { return 2;}
7296 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7297 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7298 echo "$AR cru libconftest.a conftest.o
" >&5
7299 $AR cru libconftest.a conftest.o 2>&5
7300 cat > conftest.c << _LT_EOF
7301 int main() { return 0;}
7303 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7304 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7306 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7307 lt_cv_ld_force_load=yes
7309 cat conftest.err >&5
7311 rm -f conftest.err libconftest.a conftest conftest.c
7312 rm -rf conftest.dSYM
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7316 $as_echo "$lt_cv_ld_force_load" >&6; }
7318 rhapsody* | darwin1.[012])
7319 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7321 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7322 darwin*) # darwin 5.x on
7323 # if running on 10.5 or later, the deployment target defaults
7324 # to the OS version, if on x86, and 10.4, the deployment
7325 # target defaults to 10.4. Don't you love it?
7326 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7327 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7328 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7330 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7332 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7336 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7337 _lt_dar_single_mod='$single_module'
7339 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7340 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7342 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7344 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7345 _lt_dsymutil='~$DSYMUTIL $lib || :'
7353 ac_cpp='$CPP $CPPFLAGS'
7354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7358 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7359 # On Suns, sometimes $CPP names a directory.
7360 if test -n "$CPP" && test -d "$CPP"; then
7363 if test -z "$CPP"; then
7364 if test "${ac_cv_prog_CPP+set}" = set; then :
7365 $as_echo_n "(cached
) " >&6
7367 # Double quotes because CPP needs to be expanded
7368 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7371 for ac_c_preproc_warn_flag in '' yes
7373 # Use a header file that comes with gcc, so configuring glibc
7374 # with a fresh cross-compiler works.
7375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7376 # <limits.h> exists even on freestanding compilers.
7377 # On the NeXT, cc -E runs the code through the compiler's parser,
7378 # not just through cpp. "Syntax error
" is here to catch this case.
7379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7380 /* end confdefs.h. */
7382 # include <limits.h>
7384 # include <assert.h>
7388 if ac_fn_c_try_cpp "$LINENO"; then :
7391 # Broken: fails on valid input.
7394 rm -f conftest.err conftest.$ac_ext
7396 # OK, works on sane cases. Now check whether nonexistent headers
7397 # can be detected and how.
7398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7399 /* end confdefs.h. */
7400 #include <ac_nonexistent.h>
7402 if ac_fn_c_try_cpp "$LINENO"; then :
7403 # Broken: success on invalid input.
7406 # Passes both tests.
7410 rm -f conftest.err conftest.$ac_ext
7413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7414 rm -f conftest.err conftest.$ac_ext
7415 if $ac_preproc_ok; then :
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7428 $as_echo "$CPP" >&6; }
7430 for ac_c_preproc_warn_flag in '' yes
7432 # Use a header file that comes with gcc, so configuring glibc
7433 # with a fresh cross-compiler works.
7434 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7435 # <limits.h> exists even on freestanding compilers.
7436 # On the NeXT, cc -E runs the code through the compiler's parser,
7437 # not just through cpp. "Syntax error
" is here to catch this case.
7438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7439 /* end confdefs.h. */
7441 # include <limits.h>
7443 # include <assert.h>
7447 if ac_fn_c_try_cpp "$LINENO"; then :
7450 # Broken: fails on valid input.
7453 rm -f conftest.err conftest.$ac_ext
7455 # OK, works on sane cases. Now check whether nonexistent headers
7456 # can be detected and how.
7457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7458 /* end confdefs.h. */
7459 #include <ac_nonexistent.h>
7461 if ac_fn_c_try_cpp "$LINENO"; then :
7462 # Broken: success on invalid input.
7465 # Passes both tests.
7469 rm -f conftest.err conftest.$ac_ext
7472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7473 rm -f conftest.err conftest.$ac_ext
7474 if $ac_preproc_ok; then :
7477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7479 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7480 See \`config.log' for more details.
" "$LINENO" 5; }
7484 ac_cpp='$CPP $CPPFLAGS'
7485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7491 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7492 if test "${ac_cv_header_stdc+set}" = set; then :
7493 $as_echo_n "(cached
) " >&6
7495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7496 /* end confdefs.h. */
7510 if ac_fn_c_try_compile "$LINENO"; then :
7511 ac_cv_header_stdc=yes
7513 ac_cv_header_stdc=no
7515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7517 if test $ac_cv_header_stdc = yes; then
7518 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7520 /* end confdefs.h. */
7524 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7525 $EGREP "memchr
" >/dev/null 2>&1; then :
7528 ac_cv_header_stdc=no
7534 if test $ac_cv_header_stdc = yes; then
7535 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7537 /* end confdefs.h. */
7541 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7542 $EGREP "free
" >/dev/null 2>&1; then :
7545 ac_cv_header_stdc=no
7551 if test $ac_cv_header_stdc = yes; then
7552 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7553 if test "$cross_compiling" = yes; then :
7556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7557 /* end confdefs.h. */
7560 #if ((' ' & 0x0FF) == 0x020)
7561 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7562 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7564 # define ISLOWER(c) \
7565 (('a' <= (c) && (c) <= 'i') \
7566 || ('j' <= (c) && (c) <= 'r') \
7567 || ('s' <= (c) && (c) <= 'z'))
7568 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7571 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7576 for (i = 0; i < 256; i++)
7577 if (XOR (islower (i), ISLOWER (i))
7578 || toupper (i) != TOUPPER (i))
7583 if ac_fn_c_try_run "$LINENO"; then :
7586 ac_cv_header_stdc=no
7588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7589 conftest.$ac_objext conftest.beam conftest.$ac_ext
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7595 $as_echo "$ac_cv_header_stdc" >&6; }
7596 if test $ac_cv_header_stdc = yes; then
7598 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7602 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7603 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7604 inttypes.h stdint.h unistd.h
7606 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7607 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7609 eval as_val
=\$
$as_ac_Header
7610 if test "x$as_val" = x
""yes; then :
7611 cat >>confdefs.h
<<_ACEOF
7612 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7620 for ac_header
in dlfcn.h
7622 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7624 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7625 cat >>confdefs.h
<<_ACEOF
7626 #define HAVE_DLFCN_H 1
7646 # Check whether --enable-shared was given.
7647 if test "${enable_shared+set}" = set; then :
7648 enableval
=$enable_shared; p
=${PACKAGE-default}
7650 yes) enable_shared
=yes ;;
7651 no
) enable_shared
=no
;;
7654 # Look at the argument we got. We use all the common list separators.
7655 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7656 for pkg
in $enableval; do
7658 if test "X$pkg" = "X$p"; then
7677 # Check whether --enable-static was given.
7678 if test "${enable_static+set}" = set; then :
7679 enableval
=$enable_static; p
=${PACKAGE-default}
7681 yes) enable_static
=yes ;;
7682 no
) enable_static
=no
;;
7685 # Look at the argument we got. We use all the common list separators.
7686 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7687 for pkg
in $enableval; do
7689 if test "X$pkg" = "X$p"; then
7709 # Check whether --with-pic was given.
7710 if test "${with_pic+set}" = set; then :
7711 withval
=$with_pic; pic_mode
="$withval"
7717 test -z "$pic_mode" && pic_mode
=default
7725 # Check whether --enable-fast-install was given.
7726 if test "${enable_fast_install+set}" = set; then :
7727 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7729 yes) enable_fast_install
=yes ;;
7730 no
) enable_fast_install
=no
;;
7732 enable_fast_install
=no
7733 # Look at the argument we got. We use all the common list separators.
7734 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7735 for pkg
in $enableval; do
7737 if test "X$pkg" = "X$p"; then
7738 enable_fast_install
=yes
7745 enable_fast_install
=yes
7758 # This can be used to rebuild libtool when needed
7759 LIBTOOL_DEPS
="$ltmain"
7761 # Always use our own libtool.
7762 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7789 test -z "$LN_S" && LN_S
="ln -s"
7804 if test -n "${ZSH_VERSION+set}" ; then
7805 setopt NO_GLOB_SUBST
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7809 $as_echo_n "checking for objdir... " >&6; }
7810 if test "${lt_cv_objdir+set}" = set; then :
7811 $as_echo_n "(cached) " >&6
7813 rm -f .libs
2>/dev
/null
7814 mkdir .libs
2>/dev
/null
7815 if test -d .libs
; then
7818 # MS-DOS does not allow filenames that begin with a dot.
7821 rmdir .libs
2>/dev
/null
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7824 $as_echo "$lt_cv_objdir" >&6; }
7825 objdir
=$lt_cv_objdir
7831 cat >>confdefs.h
<<_ACEOF
7832 #define LT_OBJDIR "$lt_cv_objdir/"
7840 # AIX sometimes has problems with the GCC collect2 program. For some
7841 # reason, if we set the COLLECT_NAMES environment variable, the problems
7842 # vanish in a puff of smoke.
7843 if test "X${COLLECT_NAMES+set}" != Xset
; then
7845 export COLLECT_NAMES
7852 can_build_shared
=yes
7854 # All known linkers require a `.a' archive for static linking (except MSVC,
7855 # which needs '.lib').
7858 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7861 old_CFLAGS
="$CFLAGS"
7863 # Set sane defaults for various variables
7864 test -z "$CC" && CC
=cc
7865 test -z "$LTCC" && LTCC
=$CC
7866 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7867 test -z "$LD" && LD
=ld
7868 test -z "$ac_objext" && ac_objext
=o
7870 for cc_temp
in $compiler""; do
7872 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7873 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7878 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7881 # Only perform the check for file, if the check method requires it
7882 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7883 case $deplibs_check_method in
7885 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7887 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7888 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7889 $as_echo_n "(cached) " >&6
7893 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7896 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7897 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7898 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7899 for ac_dir
in $ac_dummy; do
7901 test -z "$ac_dir" && ac_dir
=.
7902 if test -f $ac_dir/${ac_tool_prefix}file; then
7903 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7904 if test -n "$file_magic_test_file"; then
7905 case $deplibs_check_method in
7907 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7908 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7909 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7910 $EGREP "$file_magic_regex" > /dev
/null
; then
7915 *** Warning: the command libtool uses to detect shared libraries,
7916 *** $file_magic_cmd, produces output that libtool cannot recognize.
7917 *** The result is that libtool may fail to recognize shared libraries
7918 *** as such. This will affect the creation of libtool libraries that
7919 *** depend on shared libraries, but programs linked with such libtool
7920 *** libraries will work regardless of this problem. Nevertheless, you
7921 *** may want to report the problem to your system manager and/or to
7922 *** bug-libtool@gnu.org
7932 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7937 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7938 if test -n "$MAGIC_CMD"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7940 $as_echo "$MAGIC_CMD" >&6; }
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 $as_echo "no" >&6; }
7950 if test -z "$lt_cv_path_MAGIC_CMD"; then
7951 if test -n "$ac_tool_prefix"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7953 $as_echo_n "checking for file... " >&6; }
7954 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7955 $as_echo_n "(cached) " >&6
7959 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7962 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7963 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7964 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7965 for ac_dir
in $ac_dummy; do
7967 test -z "$ac_dir" && ac_dir
=.
7968 if test -f $ac_dir/file; then
7969 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7970 if test -n "$file_magic_test_file"; then
7971 case $deplibs_check_method in
7973 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7974 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7975 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7976 $EGREP "$file_magic_regex" > /dev
/null
; then
7981 *** Warning: the command libtool uses to detect shared libraries,
7982 *** $file_magic_cmd, produces output that libtool cannot recognize.
7983 *** The result is that libtool may fail to recognize shared libraries
7984 *** as such. This will affect the creation of libtool libraries that
7985 *** depend on shared libraries, but programs linked with such libtool
7986 *** libraries will work regardless of this problem. Nevertheless, you
7987 *** may want to report the problem to your system manager and/or to
7988 *** bug-libtool@gnu.org
7998 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8003 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8004 if test -n "$MAGIC_CMD"; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8006 $as_echo "$MAGIC_CMD" >&6; }
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009 $as_echo "no" >&6; }
8022 # Use C for the default configuration in the libtool script
8026 ac_cpp
='$CPP $CPPFLAGS'
8027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8032 # Source file extension for C test sources.
8035 # Object file extension for compiled C test sources.
8039 # Code to be used in simple compile tests
8040 lt_simple_compile_test_code
="int some_variable = 0;"
8042 # Code to be used in simple link tests
8043 lt_simple_link_test_code
='int main(){return(0);}'
8051 # If no C compiler was specified, use CC.
8054 # If no C compiler flags were specified, use CFLAGS.
8055 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8057 # Allow CC to be a program name with arguments.
8060 # Save the default compiler, since it gets overwritten when the other
8061 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8062 compiler_DEFAULT
=$CC
8064 # save warnings/boilerplate of simple test code
8065 ac_outfile
=conftest.
$ac_objext
8066 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8067 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8068 _lt_compiler_boilerplate
=`cat conftest.err`
8071 ac_outfile
=conftest.
$ac_objext
8072 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8073 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8074 _lt_linker_boilerplate
=`cat conftest.err`
8079 ## There is no encapsulation within the following macros, do not change
8080 ## the running order or otherwise move them around unless you know exactly
8081 ## what you are doing...
8082 if test -n "$compiler"; then
8084 lt_prog_compiler_no_builtin_flag
=
8086 if test "$GCC" = yes; then
8087 case $cc_basename in
8089 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8091 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8095 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8096 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8097 $as_echo_n "(cached) " >&6
8099 lt_cv_prog_compiler_rtti_exceptions
=no
8100 ac_outfile
=conftest.
$ac_objext
8101 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8102 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8103 # Insert the option either (1) after the last *FLAGS variable, or
8104 # (2) before a word containing "conftest.", or (3) at the end.
8105 # Note that $ac_compile itself does not contain backslashes and begins
8106 # with a dollar sign (not a hyphen), so the echo should work correctly.
8107 # The option is referenced via a variable to avoid confusing sed.
8108 lt_compile
=`echo "$ac_compile" | $SED \
8109 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8110 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8111 -e 's:$: $lt_compiler_flag:'`
8112 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8113 (eval "$lt_compile" 2>conftest.err
)
8115 cat conftest.err
>&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 if (exit $ac_status) && test -s "$ac_outfile"; then
8118 # The compiler can only warn and ignore the option if not recognized
8119 # So say no if there are warnings other than the usual output.
8120 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8121 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8122 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8123 lt_cv_prog_compiler_rtti_exceptions
=yes
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8130 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8132 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8133 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8145 lt_prog_compiler_wl
=
8146 lt_prog_compiler_pic
=
8147 lt_prog_compiler_static
=
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8150 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8152 if test "$GCC" = yes; then
8153 lt_prog_compiler_wl
='-Wl,'
8154 lt_prog_compiler_static
='-static'
8158 # All AIX code is PIC.
8159 if test "$host_cpu" = ia64
; then
8160 # AIX 5 now supports IA64 processor
8161 lt_prog_compiler_static
='-Bstatic'
8163 lt_prog_compiler_pic
='-fPIC'
8169 # see comment about AmigaOS4 .so support
8170 lt_prog_compiler_pic
='-fPIC'
8173 # FIXME: we need at least 68020 code to build shared libraries, but
8174 # adding the `-m68020' flag to GCC prevents building anything better,
8176 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8181 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8182 # PIC is the default for these OSes.
8185 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8186 # This hack is so that the source file can tell whether it is being
8187 # built for inclusion in a dll (and should export symbols for example).
8188 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8189 # (--disable-auto-import) libraries
8190 lt_prog_compiler_pic
='-DDLL_EXPORT'
8193 darwin
* | rhapsody
*)
8194 # PIC is the default on this platform
8195 # Common symbols not allowed in MH_DYLIB files
8196 lt_prog_compiler_pic
='-fno-common'
8200 # PIC is the default for Haiku.
8201 # The "-static" flag exists, but is broken.
8202 lt_prog_compiler_static
=
8206 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8207 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8208 # sets the default TLS model and affects inlining.
8214 lt_prog_compiler_pic
='-fPIC'
8220 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8221 # Instead, we relocate shared libraries at runtime.
8225 # Just because we use GCC doesn't mean we suddenly get shared libraries
8226 # on systems that don't support them.
8227 lt_prog_compiler_can_build_shared
=no
8232 # QNX uses GNU C++, but need to define -shared option too, otherwise
8234 lt_prog_compiler_pic
='-fPIC -shared'
8238 if test -d /usr
/nec
; then
8239 lt_prog_compiler_pic
=-Kconform_pic
8244 lt_prog_compiler_pic
='-fPIC'
8248 case $cc_basename in
8249 nvcc
*) # Cuda Compiler Driver 2.2
8250 lt_prog_compiler_wl
='-Xlinker '
8251 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8255 # PORTME Check for flag to pass linker flags through the system compiler.
8258 lt_prog_compiler_wl
='-Wl,'
8259 if test "$host_cpu" = ia64
; then
8260 # AIX 5 now supports IA64 processor
8261 lt_prog_compiler_static
='-Bstatic'
8263 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8267 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8268 # This hack is so that the source file can tell whether it is being
8269 # built for inclusion in a dll (and should export symbols for example).
8270 lt_prog_compiler_pic
='-DDLL_EXPORT'
8273 hpux9
* | hpux10
* | hpux11
*)
8274 lt_prog_compiler_wl
='-Wl,'
8275 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8282 lt_prog_compiler_pic
='+Z'
8285 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8286 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8289 irix5
* | irix6
* | nonstopux
*)
8290 lt_prog_compiler_wl
='-Wl,'
8291 # PIC (with -KPIC) is the default.
8292 lt_prog_compiler_static
='-non_shared'
8295 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8296 case $cc_basename in
8297 # old Intel for x86_64 which still supported -KPIC.
8299 lt_prog_compiler_wl
='-Wl,'
8300 lt_prog_compiler_pic
='-KPIC'
8301 lt_prog_compiler_static
='-static'
8303 # icc used to be incompatible with GCC.
8304 # ICC 10 doesn't accept -KPIC any more.
8306 lt_prog_compiler_wl
='-Wl,'
8307 lt_prog_compiler_pic
='-fPIC'
8308 lt_prog_compiler_static
='-static'
8310 # Lahey Fortran 8.1.
8312 lt_prog_compiler_wl
='-Wl,'
8313 lt_prog_compiler_pic
='--shared'
8314 lt_prog_compiler_static
='--static'
8316 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8317 # Portland Group compilers (*not* the Pentium gcc compiler,
8318 # which looks to be a dead project)
8319 lt_prog_compiler_wl
='-Wl,'
8320 lt_prog_compiler_pic
='-fpic'
8321 lt_prog_compiler_static
='-Bstatic'
8324 lt_prog_compiler_wl
='-Wl,'
8325 # All Alpha code is PIC.
8326 lt_prog_compiler_static
='-non_shared'
8328 xl
* | bgxl
* | bgf
* | mpixl
*)
8329 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8330 lt_prog_compiler_wl
='-Wl,'
8331 lt_prog_compiler_pic
='-qpic'
8332 lt_prog_compiler_static
='-qstaticlink'
8335 case `$CC -V 2>&1 | sed 5q` in
8336 *Sun\ F
* |
*Sun
*Fortran
*)
8337 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8338 lt_prog_compiler_pic
='-KPIC'
8339 lt_prog_compiler_static
='-Bstatic'
8340 lt_prog_compiler_wl
=''
8344 lt_prog_compiler_pic
='-KPIC'
8345 lt_prog_compiler_static
='-Bstatic'
8346 lt_prog_compiler_wl
='-Wl,'
8354 lt_prog_compiler_pic
='-KPIC'
8355 lt_prog_compiler_static
='-Bstatic'
8359 # QNX uses GNU C++, but need to define -shared option too, otherwise
8361 lt_prog_compiler_pic
='-fPIC -shared'
8364 osf3
* | osf4
* | osf5
*)
8365 lt_prog_compiler_wl
='-Wl,'
8366 # All OSF/1 code is PIC.
8367 lt_prog_compiler_static
='-non_shared'
8371 lt_prog_compiler_static
='-non_shared'
8375 lt_prog_compiler_pic
='-KPIC'
8376 lt_prog_compiler_static
='-Bstatic'
8377 case $cc_basename in
8379 lt_prog_compiler_wl
='-Qoption ld ';;
8381 lt_prog_compiler_wl
='-Wl,';;
8386 lt_prog_compiler_wl
='-Qoption ld '
8387 lt_prog_compiler_pic
='-PIC'
8388 lt_prog_compiler_static
='-Bstatic'
8391 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8392 lt_prog_compiler_wl
='-Wl,'
8393 lt_prog_compiler_pic
='-KPIC'
8394 lt_prog_compiler_static
='-Bstatic'
8398 if test -d /usr
/nec
;then
8399 lt_prog_compiler_pic
='-Kconform_pic'
8400 lt_prog_compiler_static
='-Bstatic'
8404 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8405 lt_prog_compiler_wl
='-Wl,'
8406 lt_prog_compiler_pic
='-KPIC'
8407 lt_prog_compiler_static
='-Bstatic'
8411 lt_prog_compiler_wl
='-Wl,'
8412 lt_prog_compiler_can_build_shared
=no
8416 lt_prog_compiler_pic
='-pic'
8417 lt_prog_compiler_static
='-Bstatic'
8421 lt_prog_compiler_can_build_shared
=no
8427 # For platforms which do not support PIC, -DPIC is meaningless:
8429 lt_prog_compiler_pic
=
8432 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8436 $as_echo "$lt_prog_compiler_pic" >&6; }
8444 # Check to make sure the PIC flag actually works.
8446 if test -n "$lt_prog_compiler_pic"; then
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8448 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8449 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8450 $as_echo_n "(cached) " >&6
8452 lt_cv_prog_compiler_pic_works
=no
8453 ac_outfile
=conftest.
$ac_objext
8454 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8455 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8456 # Insert the option either (1) after the last *FLAGS variable, or
8457 # (2) before a word containing "conftest.", or (3) at the end.
8458 # Note that $ac_compile itself does not contain backslashes and begins
8459 # with a dollar sign (not a hyphen), so the echo should work correctly.
8460 # The option is referenced via a variable to avoid confusing sed.
8461 lt_compile
=`echo "$ac_compile" | $SED \
8462 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8464 -e 's:$: $lt_compiler_flag:'`
8465 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8466 (eval "$lt_compile" 2>conftest.err
)
8468 cat conftest.err
>&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 if (exit $ac_status) && test -s "$ac_outfile"; then
8471 # The compiler can only warn and ignore the option if not recognized
8472 # So say no if there are warnings other than the usual output.
8473 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8474 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8475 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8476 lt_cv_prog_compiler_pic_works
=yes
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8483 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8485 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8486 case $lt_prog_compiler_pic in
8488 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8491 lt_prog_compiler_pic
=
8492 lt_prog_compiler_can_build_shared
=no
8503 # Check to make sure the static flag actually works.
8505 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8507 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8508 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8509 $as_echo_n "(cached) " >&6
8511 lt_cv_prog_compiler_static_works
=no
8512 save_LDFLAGS
="$LDFLAGS"
8513 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8514 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8515 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8516 # The linker can only warn and ignore the option if not recognized
8517 # So say no if there are warnings
8518 if test -s conftest.err
; then
8519 # Append any errors to the config.log.
8520 cat conftest.err
1>&5
8521 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8522 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8523 if diff conftest.exp conftest.er2
>/dev
/null
; then
8524 lt_cv_prog_compiler_static_works
=yes
8527 lt_cv_prog_compiler_static_works
=yes
8531 LDFLAGS
="$save_LDFLAGS"
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8535 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8537 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8540 lt_prog_compiler_static
=
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8550 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8551 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8552 $as_echo_n "(cached) " >&6
8554 lt_cv_prog_compiler_c_o
=no
8555 $RM -r conftest
2>/dev
/null
8559 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8561 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8562 # Insert the option either (1) after the last *FLAGS variable, or
8563 # (2) before a word containing "conftest.", or (3) at the end.
8564 # Note that $ac_compile itself does not contain backslashes and begins
8565 # with a dollar sign (not a hyphen), so the echo should work correctly.
8566 lt_compile
=`echo "$ac_compile" | $SED \
8567 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8568 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8569 -e 's:$: $lt_compiler_flag:'`
8570 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8571 (eval "$lt_compile" 2>out
/conftest.err
)
8573 cat out
/conftest.err
>&5
8574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8577 # The compiler can only warn and ignore the option if not recognized
8578 # So say no if there are warnings
8579 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8580 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8581 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8582 lt_cv_prog_compiler_c_o
=yes
8587 # SGI C++ compiler will create directory out/ii_files/ for
8588 # template instantiation
8589 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8590 $RM out
/* && rmdir out
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8597 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8605 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8606 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8607 $as_echo_n "(cached) " >&6
8609 lt_cv_prog_compiler_c_o
=no
8610 $RM -r conftest
2>/dev
/null
8614 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8616 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8617 # Insert the option either (1) after the last *FLAGS variable, or
8618 # (2) before a word containing "conftest.", or (3) at the end.
8619 # Note that $ac_compile itself does not contain backslashes and begins
8620 # with a dollar sign (not a hyphen), so the echo should work correctly.
8621 lt_compile
=`echo "$ac_compile" | $SED \
8622 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8623 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8624 -e 's:$: $lt_compiler_flag:'`
8625 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8626 (eval "$lt_compile" 2>out
/conftest.err
)
8628 cat out
/conftest.err
>&5
8629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8632 # The compiler can only warn and ignore the option if not recognized
8633 # So say no if there are warnings
8634 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8635 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8636 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8637 lt_cv_prog_compiler_c_o
=yes
8642 # SGI C++ compiler will create directory out/ii_files/ for
8643 # template instantiation
8644 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8645 $RM out
/* && rmdir out
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8652 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8657 hard_links
="nottested"
8658 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8659 # do not overwrite the value of need_locks provided by the user
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8661 $as_echo_n "checking if we can lock with hard links... " >&6; }
8664 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8666 ln conftest.a conftest.b
2>&5 || hard_links
=no
8667 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8669 $as_echo "$hard_links" >&6; }
8670 if test "$hard_links" = no
; then
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8672 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8685 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8688 allow_undefined_flag
=
8689 always_export_symbols
=no
8691 archive_expsym_cmds
=
8692 compiler_needs_object
=no
8693 enable_shared_with_static_runtimes
=no
8694 export_dynamic_flag_spec
=
8695 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8696 hardcode_automatic
=no
8698 hardcode_direct_absolute
=no
8699 hardcode_libdir_flag_spec
=
8700 hardcode_libdir_flag_spec_ld
=
8701 hardcode_libdir_separator
=
8703 hardcode_shlibpath_var
=unsupported
8705 link_all_deplibs
=unknown
8708 old_archive_from_new_cmds
=
8709 old_archive_from_expsyms_cmds
=
8710 thread_safe_flag_spec
=
8711 whole_archive_flag_spec
=
8712 # include_expsyms should be a list of space-separated symbols to be *always*
8713 # included in the symbol list
8715 # exclude_expsyms can be an extended regexp of symbols to exclude
8716 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8717 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8718 # as well as any symbol that contains `d'.
8719 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8720 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8721 # platforms (ab)use it in PIC code, but their linkers get confused if
8722 # the symbol is explicitly referenced. Since portable code cannot
8723 # rely on this symbol name, it's probably fine to never include it in
8724 # preloaded symbol tables.
8725 # Exclude shared library initialization/finalization symbols.
8726 extract_expsyms_cmds
=
8729 cygwin
* | mingw
* | pw32
* | cegcc
*)
8730 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8731 # When not using gcc, we currently assume that we are using
8732 # Microsoft Visual C++.
8733 if test "$GCC" != yes; then
8738 # we just hope/assume this is gcc and not c89 (= MSVC++)
8748 # On some targets, GNU ld is compatible enough with the native linker
8749 # that we're better off using the native interface for both.
8750 lt_use_gnu_ld_interface
=no
8751 if test "$with_gnu_ld" = yes; then
8754 # The AIX port of GNU ld has always aspired to compatibility
8755 # with the native linker. However, as the warning in the GNU ld
8756 # block says, versions before 2.19.5* couldn't really create working
8757 # shared libraries, regardless of the interface used.
8758 case `$LD -v 2>&1` in
8759 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8760 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8761 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8763 lt_use_gnu_ld_interface
=yes
8768 lt_use_gnu_ld_interface
=yes
8773 if test "$lt_use_gnu_ld_interface" = yes; then
8774 # If archive_cmds runs LD, not CC, wlarc should be empty
8777 # Set some defaults for GNU ld with shared library support. These
8778 # are reset later if shared libraries are not supported. Putting them
8779 # here allows them to be overridden if necessary.
8780 runpath_var
=LD_RUN_PATH
8781 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8782 export_dynamic_flag_spec
='${wl}--export-dynamic'
8783 # ancient GNU ld didn't support --whole-archive et. al.
8784 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8785 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8787 whole_archive_flag_spec
=
8789 supports_anon_versioning
=no
8790 case `$LD -v 2>&1` in
8791 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8792 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8793 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8794 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8795 *\
2.11.
*) ;; # other 2.11 versions
8796 *) supports_anon_versioning
=yes ;;
8799 # See if GNU ld supports shared libraries.
8802 # On AIX/PPC, the GNU linker is very broken
8803 if test "$host_cpu" != ia64
; then
8807 *** Warning: the GNU linker, at least up to release 2.19, is reported
8808 *** to be unable to reliably create shared libraries on AIX.
8809 *** Therefore, libtool is disabling shared libraries support. If you
8810 *** really care for shared libraries, you may want to install binutils
8811 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8812 *** You will then need to restart the configuration process.
8821 # see comment about AmigaOS4 .so support
8822 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8823 archive_expsym_cmds
=''
8826 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)'
8827 hardcode_libdir_flag_spec
='-L$libdir'
8828 hardcode_minus_L
=yes
8834 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8835 allow_undefined_flag
=unsupported
8836 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8837 # support --undefined. This deserves some investigation. FIXME
8838 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8844 cygwin
* | mingw
* | pw32
* | cegcc
*)
8845 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8846 # as there is no search path for DLLs.
8847 hardcode_libdir_flag_spec
='-L$libdir'
8848 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8849 allow_undefined_flag
=unsupported
8850 always_export_symbols
=no
8851 enable_shared_with_static_runtimes
=yes
8852 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8854 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8855 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8856 # If the export-symbols file already is a .def file (1st line
8857 # is EXPORTS), use it as is; otherwise, prepend...
8858 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8859 cp $export_symbols $output_objdir/$soname.def;
8861 echo EXPORTS > $output_objdir/$soname.def;
8862 cat $export_symbols >> $output_objdir/$soname.def;
8864 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8871 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8872 link_all_deplibs
=yes
8877 hardcode_shlibpath_var
=no
8878 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8879 export_dynamic_flag_spec
='${wl}-E'
8880 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8881 # Instead, shared libraries are loaded at an image base (0x10000000 by
8882 # default) and relocated if they conflict, which is a slow very memory
8883 # consuming and fragmenting process. To avoid this, we pick a random,
8884 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8885 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8886 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8887 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'
8890 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8892 if test "$host_os" = linux-dietlibc
; then
8893 case $cc_basename in
8894 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8897 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8898 && test "$tmp_diet" = no
8901 tmp_sharedflag
='-shared'
8902 case $cc_basename,$host_cpu in
8903 pgcc
*) # Portland Group C compiler
8904 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'
8905 tmp_addflag
=' $pic_flag'
8907 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8908 # Portland Group f77 and f90 compilers
8909 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'
8910 tmp_addflag
=' $pic_flag -Mnomain' ;;
8911 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8912 tmp_addflag
=' -i_dynamic' ;;
8913 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8914 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8915 ifc
* | ifort
*) # Intel Fortran compiler
8916 tmp_addflag
=' -nofor_main' ;;
8917 lf95
*) # Lahey Fortran 8.1
8918 whole_archive_flag_spec
=
8919 tmp_sharedflag
='--shared' ;;
8920 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8921 tmp_sharedflag
='-qmkshrobj'
8923 nvcc
*) # Cuda Compiler Driver 2.2
8924 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'
8925 compiler_needs_object
=yes
8928 case `$CC -V 2>&1 | sed 5q` in
8929 *Sun\ C
*) # Sun C 5.9
8930 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'
8931 compiler_needs_object
=yes
8932 tmp_sharedflag
='-G' ;;
8933 *Sun\ F
*) # Sun Fortran 8.3
8934 tmp_sharedflag
='-G' ;;
8936 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8938 if test "x$supports_anon_versioning" = xyes
; then
8939 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8940 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8941 echo "local: *; };" >> $output_objdir/$libname.ver~
8942 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8945 case $cc_basename in
8946 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8947 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8948 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8949 hardcode_libdir_flag_spec
=
8950 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8951 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8952 if test "x$supports_anon_versioning" = xyes
; then
8953 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8954 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8955 echo "local: *; };" >> $output_objdir/$libname.ver~
8956 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8966 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8967 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8970 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8971 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8976 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8980 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8981 *** create shared libraries on Solaris systems. Therefore, libtool
8982 *** is disabling shared libraries support. We urge you to upgrade GNU
8983 *** binutils to release 2.9.1 or newer. Another option is to modify
8984 *** your PATH or compiler configuration so that the native linker is
8985 *** used, and then restart.
8988 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8989 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8990 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8996 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8997 case `$LD -v 2>&1` in
8998 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9002 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9003 *** reliably create shared libraries on SCO systems. Therefore, libtool
9004 *** is disabling shared libraries support. We urge you to upgrade GNU
9005 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9006 *** your PATH or compiler configuration so that the native linker is
9007 *** used, and then restart.
9012 # For security reasons, it is highly recommended that you always
9013 # use absolute paths for naming shared libraries, and exclude the
9014 # DT_RUNPATH tag from executables and libraries. But doing so
9015 # requires that you compile everything twice, which is a pain.
9016 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9017 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9018 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9019 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9028 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9031 hardcode_shlibpath_var
=no
9035 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9036 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9044 if test "$ld_shlibs" = no
; then
9046 hardcode_libdir_flag_spec
=
9047 export_dynamic_flag_spec
=
9048 whole_archive_flag_spec
=
9051 # PORTME fill in a description of your system's linker (not GNU ld)
9054 allow_undefined_flag
=unsupported
9055 always_export_symbols
=yes
9056 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'
9057 # Note: this linker hardcodes the directories in LIBPATH if there
9058 # are no directories specified by -L.
9059 hardcode_minus_L
=yes
9060 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9061 # Neither direct hardcoding nor static linking is supported with a
9063 hardcode_direct
=unsupported
9068 if test "$host_cpu" = ia64
; then
9069 # On IA64, the linker does run time linking by default, so we don't
9070 # have to do anything special.
9071 aix_use_runtimelinking
=no
9072 exp_sym_flag
='-Bexport'
9075 # If we're using GNU nm, then we don't want the "-C" option.
9076 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9077 # Also, AIX nm treats weak defined symbols like other global
9078 # defined symbols, whereas GNU nm marks them as "W".
9079 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9080 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'
9082 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'
9084 aix_use_runtimelinking
=no
9086 # Test if we are trying to use run time linking or normal
9087 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9088 # need to do runtime linking.
9089 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9090 for ld_flag
in $LDFLAGS; do
9091 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9092 aix_use_runtimelinking
=yes
9099 exp_sym_flag
='-bexport'
9100 no_entry_flag
='-bnoentry'
9103 # When large executables or shared objects are built, AIX ld can
9104 # have problems creating the table of contents. If linking a library
9105 # or program results in "error TOC overflow" add -mminimal-toc to
9106 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9107 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9111 hardcode_direct_absolute
=yes
9112 hardcode_libdir_separator
=':'
9113 link_all_deplibs
=yes
9114 file_list_spec
='${wl}-f,'
9116 if test "$GCC" = yes; then
9117 case $host_os in aix4.
[012]|aix4.
[012].
*)
9118 # We only want to do this on AIX 4.2 and lower, the check
9119 # below for broken collect2 doesn't work under 4.3+
9120 collect2name
=`${CC} -print-prog-name=collect2`
9121 if test -f "$collect2name" &&
9122 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9124 # We have reworked collect2
9127 # We have old collect2
9128 hardcode_direct
=unsupported
9129 # It fails to find uninstalled libraries when the uninstalled
9130 # path is not listed in the libpath. Setting hardcode_minus_L
9131 # to unsupported forces relinking
9132 hardcode_minus_L
=yes
9133 hardcode_libdir_flag_spec
='-L$libdir'
9134 hardcode_libdir_separator
=
9138 shared_flag
='-shared'
9139 if test "$aix_use_runtimelinking" = yes; then
9140 shared_flag
="$shared_flag "'${wl}-G'
9144 if test "$host_cpu" = ia64
; then
9145 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9146 # chokes on -Wl,-G. The following line is correct:
9149 if test "$aix_use_runtimelinking" = yes; then
9150 shared_flag
='${wl}-G'
9152 shared_flag
='${wl}-bM:SRE'
9157 export_dynamic_flag_spec
='${wl}-bexpall'
9158 # It seems that -bexpall does not export symbols beginning with
9159 # underscore (_), so it is better to generate a list of symbols to export.
9160 always_export_symbols
=yes
9161 if test "$aix_use_runtimelinking" = yes; then
9162 # Warning - without using the other runtime loading flags (-brtl),
9163 # -berok will link without error, but may produce a broken library.
9164 allow_undefined_flag
='-berok'
9165 # Determine the default libpath from the value encoded in an
9167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9178 if ac_fn_c_try_link
"$LINENO"; then :
9180 lt_aix_libpath_sed
='
9181 /Import File Strings/,/^$/ {
9187 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9188 # Check for a 64-bit object if we didn't find anything.
9189 if test -z "$aix_libpath"; then
9190 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9193 rm -f core conftest.err conftest.
$ac_objext \
9194 conftest
$ac_exeext conftest.
$ac_ext
9195 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9197 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9198 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"
9200 if test "$host_cpu" = ia64
; then
9201 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9202 allow_undefined_flag
="-z nodefs"
9203 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"
9205 # Determine the default libpath from the value encoded in an
9207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9208 /* end confdefs.h. */
9218 if ac_fn_c_try_link
"$LINENO"; then :
9220 lt_aix_libpath_sed
='
9221 /Import File Strings/,/^$/ {
9227 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9228 # Check for a 64-bit object if we didn't find anything.
9229 if test -z "$aix_libpath"; then
9230 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9233 rm -f core conftest.err conftest.
$ac_objext \
9234 conftest
$ac_exeext conftest.
$ac_ext
9235 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9237 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9238 # Warning - without using the other run time loading flags,
9239 # -berok will link without error, but may produce a broken library.
9240 no_undefined_flag
=' ${wl}-bernotok'
9241 allow_undefined_flag
=' ${wl}-berok'
9242 if test "$with_gnu_ld" = yes; then
9243 # We only use this code for GNU lds that support --whole-archive.
9244 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9246 # Exported symbols can be pulled into shared objects from archives
9247 whole_archive_flag_spec
='$convenience'
9249 archive_cmds_need_lc
=yes
9250 # This is similar to how AIX traditionally builds its shared libraries.
9251 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'
9259 # see comment about AmigaOS4 .so support
9260 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9261 archive_expsym_cmds
=''
9264 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)'
9265 hardcode_libdir_flag_spec
='-L$libdir'
9266 hardcode_minus_L
=yes
9272 export_dynamic_flag_spec
=-rdynamic
9275 cygwin
* | mingw
* | pw32
* | cegcc
*)
9276 # When not using gcc, we currently assume that we are using
9277 # Microsoft Visual C++.
9278 # hardcode_libdir_flag_spec is actually meaningless, as there is
9279 # no search path for DLLs.
9280 hardcode_libdir_flag_spec
=' '
9281 allow_undefined_flag
=unsupported
9282 # Tell ltmain to make .lib files, not .a files.
9284 # Tell ltmain to make .dll files, not .so files.
9286 # FIXME: Setting linknames here is a bad hack.
9287 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9288 # The linker will automatically build a .lib file if we build a DLL.
9289 old_archive_from_new_cmds
='true'
9290 # FIXME: Should let the user specify the lib program.
9291 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9292 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9293 enable_shared_with_static_runtimes
=yes
9296 darwin
* | rhapsody
*)
9299 archive_cmds_need_lc
=no
9301 hardcode_automatic
=yes
9302 hardcode_shlibpath_var
=unsupported
9303 if test "$lt_cv_ld_force_load" = "yes"; then
9304 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\"`'
9306 whole_archive_flag_spec
=''
9308 link_all_deplibs
=yes
9309 allow_undefined_flag
="$_lt_dar_allow_undefined"
9310 case $cc_basename in
9311 ifort
*) _lt_dar_can_shared
=yes ;;
9312 *) _lt_dar_can_shared
=$GCC ;;
9314 if test "$_lt_dar_can_shared" = "yes"; then
9315 output_verbose_link_cmd
=func_echo_all
9316 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9317 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9318 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}"
9319 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}"
9328 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9329 hardcode_libdir_flag_spec
='-L$libdir'
9330 hardcode_shlibpath_var
=no
9333 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9334 # support. Future versions do this automatically, but an explicit c++rt0.o
9335 # does not break anything, and helps significantly (at the cost of a little
9338 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9339 hardcode_libdir_flag_spec
='-R$libdir'
9341 hardcode_shlibpath_var
=no
9344 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9346 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9348 hardcode_minus_L
=yes
9349 hardcode_shlibpath_var
=no
9352 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9353 freebsd
* | dragonfly
*)
9354 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9355 hardcode_libdir_flag_spec
='-R$libdir'
9357 hardcode_shlibpath_var
=no
9361 if test "$GCC" = yes; then
9362 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'
9364 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'
9366 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9367 hardcode_libdir_separator
=:
9370 # hardcode_minus_L: Not really in the search PATH,
9371 # but as the default location of the library.
9372 hardcode_minus_L
=yes
9373 export_dynamic_flag_spec
='${wl}-E'
9377 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9378 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9380 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9382 if test "$with_gnu_ld" = no
; then
9383 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9384 hardcode_libdir_flag_spec_ld
='+b $libdir'
9385 hardcode_libdir_separator
=:
9387 hardcode_direct_absolute
=yes
9388 export_dynamic_flag_spec
='${wl}-E'
9389 # hardcode_minus_L: Not really in the search PATH,
9390 # but as the default location of the library.
9391 hardcode_minus_L
=yes
9396 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9399 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9402 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9405 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9411 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9414 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9418 # Older versions of the 11.00 compiler do not understand -b yet
9419 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9421 $as_echo_n "checking if $CC understands -b... " >&6; }
9422 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9423 $as_echo_n "(cached) " >&6
9425 lt_cv_prog_compiler__b
=no
9426 save_LDFLAGS
="$LDFLAGS"
9427 LDFLAGS
="$LDFLAGS -b"
9428 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9429 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9430 # The linker can only warn and ignore the option if not recognized
9431 # So say no if there are warnings
9432 if test -s conftest.err
; then
9433 # Append any errors to the config.log.
9434 cat conftest.err
1>&5
9435 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9436 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9437 if diff conftest.exp conftest.er2
>/dev
/null
; then
9438 lt_cv_prog_compiler__b
=yes
9441 lt_cv_prog_compiler__b
=yes
9445 LDFLAGS
="$save_LDFLAGS"
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9449 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9451 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9452 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9454 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9460 if test "$with_gnu_ld" = no
; then
9461 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9462 hardcode_libdir_separator
=:
9467 hardcode_shlibpath_var
=no
9471 hardcode_direct_absolute
=yes
9472 export_dynamic_flag_spec
='${wl}-E'
9474 # hardcode_minus_L: Not really in the search PATH,
9475 # but as the default location of the library.
9476 hardcode_minus_L
=yes
9482 irix5
* | irix6
* | nonstopux
*)
9483 if test "$GCC" = yes; then
9484 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'
9485 # Try to use the -exported_symbol ld option, if it does not
9486 # work, assume that -exports_file does not work either and
9487 # implicitly export all symbols.
9488 save_LDFLAGS
="$LDFLAGS"
9489 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9494 if ac_fn_c_try_link
"$LINENO"; then :
9495 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'
9498 rm -f core conftest.err conftest.
$ac_objext \
9499 conftest
$ac_exeext conftest.
$ac_ext
9500 LDFLAGS
="$save_LDFLAGS"
9502 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'
9503 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'
9505 archive_cmds_need_lc
='no'
9506 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9507 hardcode_libdir_separator
=:
9509 link_all_deplibs
=yes
9513 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9514 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9516 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9518 hardcode_libdir_flag_spec
='-R$libdir'
9520 hardcode_shlibpath_var
=no
9524 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9526 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9527 hardcode_libdir_separator
=:
9528 hardcode_shlibpath_var
=no
9535 if test -f /usr
/libexec
/ld.so
; then
9537 hardcode_shlibpath_var
=no
9538 hardcode_direct_absolute
=yes
9539 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9540 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9541 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9542 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9543 export_dynamic_flag_spec
='${wl}-E'
9546 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9547 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9548 hardcode_libdir_flag_spec
='-R$libdir'
9551 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9552 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9562 hardcode_libdir_flag_spec
='-L$libdir'
9563 hardcode_minus_L
=yes
9564 allow_undefined_flag
=unsupported
9565 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'
9566 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9570 if test "$GCC" = yes; then
9571 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9572 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'
9574 allow_undefined_flag
=' -expect_unresolved \*'
9575 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'
9577 archive_cmds_need_lc
='no'
9578 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9579 hardcode_libdir_separator
=:
9582 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9583 if test "$GCC" = yes; then
9584 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9585 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'
9586 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9588 allow_undefined_flag
=' -expect_unresolved \*'
9589 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'
9590 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~
9591 $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'
9593 # Both c and cxx compiler support -rpath directly
9594 hardcode_libdir_flag_spec
='-rpath $libdir'
9596 archive_cmds_need_lc
='no'
9597 hardcode_libdir_separator
=:
9601 no_undefined_flag
=' -z defs'
9602 if test "$GCC" = yes; then
9604 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9605 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9606 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9608 case `$CC -V 2>&1` in
9611 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9612 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9613 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9617 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9618 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9619 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9623 hardcode_libdir_flag_spec
='-R$libdir'
9624 hardcode_shlibpath_var
=no
9626 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9628 # The compiler driver will combine and reorder linker options,
9629 # but understands `-z linker_flag'. GCC discards it without `$wl',
9630 # but is careful enough not to reorder.
9631 # Supported since Solaris 2.6 (maybe 2.5.1?)
9632 if test "$GCC" = yes; then
9633 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9635 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9639 link_all_deplibs
=yes
9643 if test "x$host_vendor" = xsequent
; then
9644 # Use $CC to link under sequent, because it throws in some extra .o
9645 # files that make .init and .fini sections work.
9646 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9648 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9650 hardcode_libdir_flag_spec
='-L$libdir'
9652 hardcode_minus_L
=yes
9653 hardcode_shlibpath_var
=no
9657 case $host_vendor in
9659 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9660 hardcode_direct
=yes # is this really true???
9663 ## LD is ld it makes a PLAMLIB
9664 ## CC just makes a GrossModule.
9665 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9666 reload_cmds
='$CC -r -o $output$reload_objs'
9670 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9671 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9674 runpath_var
='LD_RUN_PATH'
9675 hardcode_shlibpath_var
=no
9679 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9680 hardcode_shlibpath_var
=no
9681 export_dynamic_flag_spec
='-Bexport'
9685 if test -d /usr
/nec
; then
9686 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9687 hardcode_shlibpath_var
=no
9688 runpath_var
=LD_RUN_PATH
9689 hardcode_runpath_var
=yes
9694 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9695 no_undefined_flag
='${wl}-z,text'
9696 archive_cmds_need_lc
=no
9697 hardcode_shlibpath_var
=no
9698 runpath_var
='LD_RUN_PATH'
9700 if test "$GCC" = yes; then
9701 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9704 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9705 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9709 sysv5
* | sco3.2v5
* | sco5v6
*)
9710 # Note: We can NOT use -z defs as we might desire, because we do not
9711 # link with -lc, and that would cause any symbols used from libc to
9712 # always be unresolved, which means just about no library would
9713 # ever link correctly. If we're not using GNU ld we use -z text
9714 # though, which does catch some bad symbols but isn't as heavy-handed
9716 no_undefined_flag
='${wl}-z,text'
9717 allow_undefined_flag
='${wl}-z,nodefs'
9718 archive_cmds_need_lc
=no
9719 hardcode_shlibpath_var
=no
9720 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9721 hardcode_libdir_separator
=':'
9722 link_all_deplibs
=yes
9723 export_dynamic_flag_spec
='${wl}-Bexport'
9724 runpath_var
='LD_RUN_PATH'
9726 if test "$GCC" = yes; then
9727 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9728 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9730 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9731 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9736 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9737 hardcode_libdir_flag_spec
='-L$libdir'
9738 hardcode_shlibpath_var
=no
9746 if test x
$host_vendor = xsni
; then
9748 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9749 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9756 $as_echo "$ld_shlibs" >&6; }
9757 test "$ld_shlibs" = no
&& can_build_shared
=no
9759 with_gnu_ld
=$with_gnu_ld
9776 # Do we need to explicitly link libc?
9778 case "x$archive_cmds_need_lc" in
9780 # Assume -lc should be added
9781 archive_cmds_need_lc
=yes
9783 if test "$enable_shared" = yes && test "$GCC" = yes; then
9784 case $archive_cmds in
9786 # FIXME: we may have to deal with multi-command sequences.
9789 # Test whether the compiler implicitly links with -lc since on some
9790 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9791 # to ld, don't add -lc before -lgcc.
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9793 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9794 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9795 $as_echo_n "(cached) " >&6
9798 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9800 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9801 (eval $ac_compile) 2>&5
9803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9804 test $ac_status = 0; } 2>conftest.err
; then
9807 libobjs
=conftest.
$ac_objext
9809 wl
=$lt_prog_compiler_wl
9810 pic_flag
=$lt_prog_compiler_pic
9816 lt_save_allow_undefined_flag
=$allow_undefined_flag
9817 allow_undefined_flag
=
9818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9819 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9822 test $ac_status = 0; }
9824 lt_cv_archive_cmds_need_lc
=no
9826 lt_cv_archive_cmds_need_lc
=yes
9828 allow_undefined_flag
=$lt_save_allow_undefined_flag
9830 cat conftest.err
1>&5
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9836 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9837 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10001 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10003 if test "$GCC" = yes; then
10005 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10006 *) lt_awk_arg
="/^libraries:/" ;;
10009 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10010 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10012 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10013 case $lt_search_path_spec in
10015 # if the path contains ";" then we assume it to be the separator
10016 # otherwise default to the standard path separator (i.e. ":") - it is
10017 # assumed that no part of a normal pathname contains ";" but that should
10018 # okay in the real world where ";" in dirpaths is itself problematic.
10019 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10022 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10025 # Ok, now we have the path, separated by spaces, we can step through it
10026 # and add multilib dir if necessary.
10027 lt_tmp_lt_search_path_spec
=
10028 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10029 for lt_sys_path
in $lt_search_path_spec; do
10030 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10031 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10033 test -d "$lt_sys_path" && \
10034 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10037 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10038 BEGIN {RS=" "; FS="/|\n";} {
10041 for (lt_i = NF; lt_i > 0; lt_i--) {
10042 if ($lt_i != "" && $lt_i != ".") {
10043 if ($lt_i == "..") {
10046 if (lt_count == 0) {
10047 lt_foo="/" $lt_i lt_foo;
10054 if (lt_foo != "") { lt_freq[lt_foo]++; }
10055 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10057 # AWK program above erroneously prepends '/' to C:/dos/paths
10060 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10061 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10063 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10065 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10067 library_names_spec
=
10068 libname_spec
='lib$name'
10072 postuninstall_cmds
=
10076 shlibpath_overrides_runpath
=unknown
10078 dynamic_linker
="$host_os ld.so"
10079 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10080 need_lib_prefix
=unknown
10081 hardcode_into_libs
=no
10083 # when you set need_version to no, make sure it does not cause -set_version
10084 # flags to be left without arguments
10085 need_version
=unknown
10090 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10091 shlibpath_var
=LIBPATH
10093 # AIX 3 has no versioning support, so we append a major version to the name.
10094 soname_spec
='${libname}${release}${shared_ext}$major'
10101 hardcode_into_libs
=yes
10102 if test "$host_cpu" = ia64
; then
10103 # AIX 5 supports IA64
10104 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10105 shlibpath_var
=LD_LIBRARY_PATH
10107 # With GCC up to 2.95.x, collect2 would create an import file
10108 # for dependence libraries. The import file would start with
10109 # the line `#! .'. This would cause the generated library to
10110 # depend on `.', always an invalid library. This was fixed in
10111 # development snapshots of GCC prior to 3.0.
10113 aix4 | aix4.
[01] | aix4.
[01].
*)
10114 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10116 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10119 can_build_shared
=no
10123 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10124 # soname into executable. Probably we can add versioning support to
10125 # collect2, so additional links can be useful in future.
10126 if test "$aix_use_runtimelinking" = yes; then
10127 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10128 # instead of lib<name>.a to let people know that these are not
10129 # typical AIX shared libraries.
10130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10132 # We preserve .a as extension for shared libraries through AIX4.2
10133 # and later when we are not doing run time linking.
10134 library_names_spec
='${libname}${release}.a $libname.a'
10135 soname_spec
='${libname}${release}${shared_ext}$major'
10137 shlibpath_var
=LIBPATH
10144 # Since July 2007 AmigaOS4 officially supports .so libraries.
10145 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10149 library_names_spec
='$libname.ixlibrary $libname.a'
10150 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10151 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'
10157 library_names_spec
='${libname}${shared_ext}'
10158 dynamic_linker
="$host_os ld.so"
10159 shlibpath_var
=LIBRARY_PATH
10165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10166 soname_spec
='${libname}${release}${shared_ext}$major'
10167 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10168 shlibpath_var
=LD_LIBRARY_PATH
10169 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10170 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10171 # the default ld.so.conf also contains /usr/contrib/lib and
10172 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10173 # libtool to hard-code these into programs
10176 cygwin
* | mingw
* | pw32
* | cegcc
*)
10177 version_type
=windows
10182 case $GCC,$host_os in
10183 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10184 library_names_spec
='$libname.dll.a'
10185 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10186 postinstall_cmds
='base_file=`basename \${file}`~
10187 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10188 dldir=$destdir/`dirname \$dlpath`~
10189 test -d \$dldir || mkdir -p \$dldir~
10190 $install_prog $dir/$dlname \$dldir/$dlname~
10191 chmod a+x \$dldir/$dlname~
10192 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10193 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10195 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10196 dlpath=$dir/\$dldll~
10198 shlibpath_overrides_runpath
=yes
10202 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10203 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10205 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10208 # MinGW DLLs use traditional 'lib' prefix
10209 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10212 # pw32 DLLs use 'pw' prefix rather than 'lib'
10213 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10219 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10222 dynamic_linker
='Win32 ld.exe'
10223 # FIXME: first we should search . and the directory the executable is in
10227 darwin
* | rhapsody
*)
10228 dynamic_linker
="$host_os dyld"
10229 version_type
=darwin
10232 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10233 soname_spec
='${libname}${release}${major}$shared_ext'
10234 shlibpath_overrides_runpath
=yes
10235 shlibpath_var
=DYLD_LIBRARY_PATH
10236 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10238 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10239 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10247 soname_spec
='${libname}${release}${shared_ext}$major'
10248 shlibpath_var
=LD_LIBRARY_PATH
10251 freebsd
* | dragonfly
*)
10252 # DragonFly does not have aout. When/if they implement a new
10253 # versioning mechanism, adjust this.
10254 if test -x /usr
/bin
/objformat
; then
10255 objformat
=`/usr/bin/objformat`
10258 freebsd
[23].
*) objformat
=aout
;;
10259 *) objformat
=elf
;;
10262 version_type
=freebsd-
$objformat
10263 case $version_type in
10265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10270 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10274 shlibpath_var
=LD_LIBRARY_PATH
10277 shlibpath_overrides_runpath
=yes
10279 freebsd3.
[01]* | freebsdelf3.
[01]*)
10280 shlibpath_overrides_runpath
=yes
10281 hardcode_into_libs
=yes
10283 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10284 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10285 shlibpath_overrides_runpath
=no
10286 hardcode_into_libs
=yes
10288 *) # from 4.6 on, and DragonFly
10289 shlibpath_overrides_runpath
=yes
10290 hardcode_into_libs
=yes
10299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10300 soname_spec
='${libname}${release}${shared_ext}$major'
10301 shlibpath_var
=LD_LIBRARY_PATH
10302 hardcode_into_libs
=yes
10309 dynamic_linker
="$host_os runtime_loader"
10310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10311 soname_spec
='${libname}${release}${shared_ext}$major'
10312 shlibpath_var
=LIBRARY_PATH
10313 shlibpath_overrides_runpath
=yes
10314 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10315 hardcode_into_libs
=yes
10318 hpux9
* | hpux10
* | hpux11
*)
10319 # Give a soname corresponding to the major version so that dld.sl refuses to
10320 # link against other versions.
10327 hardcode_into_libs
=yes
10328 dynamic_linker
="$host_os dld.so"
10329 shlibpath_var
=LD_LIBRARY_PATH
10330 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10332 soname_spec
='${libname}${release}${shared_ext}$major'
10333 if test "X$HPUX_IA64_MODE" = X32
; then
10334 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10336 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10338 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10342 hardcode_into_libs
=yes
10343 dynamic_linker
="$host_os dld.sl"
10344 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10345 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10347 soname_spec
='${libname}${release}${shared_ext}$major'
10348 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10349 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10353 dynamic_linker
="$host_os dld.sl"
10354 shlibpath_var
=SHLIB_PATH
10355 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357 soname_spec
='${libname}${release}${shared_ext}$major'
10360 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10361 postinstall_cmds
='chmod 555 $lib'
10362 # or fails outright, so override atomically:
10363 install_override_mode
=555
10370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10371 soname_spec
='${libname}${release}${shared_ext}$major'
10372 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10373 shlibpath_var
=LD_LIBRARY_PATH
10374 shlibpath_overrides_runpath
=no
10375 hardcode_into_libs
=yes
10378 irix5
* | irix6
* | nonstopux
*)
10380 nonstopux
*) version_type
=nonstopux
;;
10382 if test "$lt_cv_prog_gnu_ld" = yes; then
10390 soname_spec
='${libname}${release}${shared_ext}$major'
10391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10393 irix5
* | nonstopux
*)
10394 libsuff
= shlibsuff
=
10397 case $LD in # libtool.m4 will add one of these switches to LD
10398 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10399 libsuff
= shlibsuff
= libmagic
=32-bit;;
10400 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10401 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10402 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10403 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10404 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10408 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10409 shlibpath_overrides_runpath
=no
10410 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10411 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10412 hardcode_into_libs
=yes
10415 # No shared lib support for Linux oldld, aout, or coff.
10416 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10420 # This must be Linux ELF.
10421 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10426 soname_spec
='${libname}${release}${shared_ext}$major'
10427 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10428 shlibpath_var
=LD_LIBRARY_PATH
10429 shlibpath_overrides_runpath
=no
10431 # Some binutils ld are patched to set DT_RUNPATH
10432 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10433 $as_echo_n "(cached) " >&6
10435 lt_cv_shlibpath_overrides_runpath
=no
10436 save_LDFLAGS
=$LDFLAGS
10437 save_libdir
=$libdir
10438 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10439 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10441 /* end confdefs.h. */
10451 if ac_fn_c_try_link
"$LINENO"; then :
10452 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10453 lt_cv_shlibpath_overrides_runpath
=yes
10456 rm -f core conftest.err conftest.
$ac_objext \
10457 conftest
$ac_exeext conftest.
$ac_ext
10458 LDFLAGS
=$save_LDFLAGS
10459 libdir
=$save_libdir
10463 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10465 # This implies no fast_install, which is unacceptable.
10466 # Some rework will be needed to allow for fast_install
10467 # before this can be enabled.
10468 hardcode_into_libs
=yes
10470 # Append ld.so.conf contents to the search path
10471 if test -f /etc
/ld.so.conf
; then
10472 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' ' '`
10473 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10476 # We used to test for /lib/ld.so.1 and disable shared libraries on
10477 # powerpc, because MkLinux only supported shared libraries with the
10478 # GNU dynamic linker. Since this was broken with cross compilers,
10479 # most powerpc-linux boxes support dynamic linking these days and
10480 # people can always --disable-shared, the test was removed, and we
10481 # assume the GNU/Linux dynamic linker is in use.
10482 dynamic_linker
='GNU/Linux ld.so'
10489 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10491 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10492 dynamic_linker
='NetBSD (a.out) ld.so'
10494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10495 soname_spec
='${libname}${release}${shared_ext}$major'
10496 dynamic_linker
='NetBSD ld.elf_so'
10498 shlibpath_var
=LD_LIBRARY_PATH
10499 shlibpath_overrides_runpath
=yes
10500 hardcode_into_libs
=yes
10505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10506 shlibpath_var
=LD_LIBRARY_PATH
10507 shlibpath_overrides_runpath
=yes
10514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10515 soname_spec
='${libname}${release}${shared_ext}$major'
10516 shlibpath_var
=LD_LIBRARY_PATH
10517 shlibpath_overrides_runpath
=no
10518 hardcode_into_libs
=yes
10519 dynamic_linker
='ldqnx.so'
10524 sys_lib_dlsearch_path_spec
="/usr/lib"
10526 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10528 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10529 *) need_version
=no
;;
10531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10532 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10533 shlibpath_var
=LD_LIBRARY_PATH
10534 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10536 openbsd2.
[89] | openbsd2.
[89].
*)
10537 shlibpath_overrides_runpath
=no
10540 shlibpath_overrides_runpath
=yes
10544 shlibpath_overrides_runpath
=yes
10549 libname_spec
='$name'
10552 library_names_spec
='$libname${shared_ext} $libname.a'
10553 dynamic_linker
='OS/2 ld.exe'
10554 shlibpath_var
=LIBPATH
10557 osf3
* | osf4
* | osf5
*)
10561 soname_spec
='${libname}${release}${shared_ext}$major'
10562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10563 shlibpath_var
=LD_LIBRARY_PATH
10564 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10565 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10577 soname_spec
='${libname}${release}${shared_ext}$major'
10578 shlibpath_var
=LD_LIBRARY_PATH
10579 shlibpath_overrides_runpath
=yes
10580 hardcode_into_libs
=yes
10581 # ldd complains unless libraries are executable
10582 postinstall_cmds
='chmod +x $lib'
10587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10588 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10589 shlibpath_var
=LD_LIBRARY_PATH
10590 shlibpath_overrides_runpath
=yes
10591 if test "$with_gnu_ld" = yes; then
10599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 soname_spec
='${libname}${release}${shared_ext}$major'
10601 shlibpath_var
=LD_LIBRARY_PATH
10602 case $host_vendor in
10604 shlibpath_overrides_runpath
=no
10606 runpath_var
=LD_RUN_PATH
10614 shlibpath_overrides_runpath
=no
10615 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10621 if test -d /usr
/nec
;then
10623 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10624 soname_spec
='$libname${shared_ext}.$major'
10625 shlibpath_var
=LD_LIBRARY_PATH
10629 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10630 version_type
=freebsd-elf
10633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10634 soname_spec
='${libname}${release}${shared_ext}$major'
10635 shlibpath_var
=LD_LIBRARY_PATH
10636 shlibpath_overrides_runpath
=yes
10637 hardcode_into_libs
=yes
10638 if test "$with_gnu_ld" = yes; then
10639 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10641 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10644 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10648 sys_lib_dlsearch_path_spec
='/usr/lib'
10652 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657 shlibpath_var
=LD_LIBRARY_PATH
10658 shlibpath_overrides_runpath
=no
10659 hardcode_into_libs
=yes
10664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10665 soname_spec
='${libname}${release}${shared_ext}$major'
10666 shlibpath_var
=LD_LIBRARY_PATH
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10674 $as_echo "$dynamic_linker" >&6; }
10675 test "$dynamic_linker" = no
&& can_build_shared
=no
10677 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10678 if test "$GCC" = yes; then
10679 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10682 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10683 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10685 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10686 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10781 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10783 if test -n "$hardcode_libdir_flag_spec" ||
10784 test -n "$runpath_var" ||
10785 test "X$hardcode_automatic" = "Xyes" ; then
10787 # We can hardcode non-existent directories.
10788 if test "$hardcode_direct" != no
&&
10789 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10790 # have to relink, otherwise we might link with an installed library
10791 # when we should be linking with a yet-to-be-installed one
10792 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10793 test "$hardcode_minus_L" != no
; then
10794 # Linking always hardcodes the temporary library directory.
10795 hardcode_action
=relink
10797 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10798 hardcode_action
=immediate
10801 # We cannot hardcode anything, or else we can only hardcode existing
10803 hardcode_action
=unsupported
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10806 $as_echo "$hardcode_action" >&6; }
10808 if test "$hardcode_action" = relink ||
10809 test "$inherit_rpath" = yes; then
10810 # Fast installation is not supported
10811 enable_fast_install
=no
10812 elif test "$shlibpath_overrides_runpath" = yes ||
10813 test "$enable_shared" = no
; then
10814 # Fast installation is not necessary
10815 enable_fast_install
=needless
10823 if test "x$enable_dlopen" != xyes
; then
10824 enable_dlopen
=unknown
10825 enable_dlopen_self
=unknown
10826 enable_dlopen_self_static
=unknown
10833 lt_cv_dlopen
="load_add_on"
10835 lt_cv_dlopen_self
=yes
10838 mingw
* | pw32
* | cegcc
*)
10839 lt_cv_dlopen
="LoadLibrary"
10844 lt_cv_dlopen
="dlopen"
10849 # if libdl is installed we need to link against it
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10851 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10852 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10853 $as_echo_n "(cached) " >&6
10855 ac_check_lib_save_LIBS
=$LIBS
10857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10860 /* Override any GCC internal prototype to avoid an error.
10861 Use char because int might match the return type of a GCC
10862 builtin and then its argument prototype would still apply. */
10875 if ac_fn_c_try_link
"$LINENO"; then :
10876 ac_cv_lib_dl_dlopen
=yes
10878 ac_cv_lib_dl_dlopen
=no
10880 rm -f core conftest.err conftest.
$ac_objext \
10881 conftest
$ac_exeext conftest.
$ac_ext
10882 LIBS
=$ac_check_lib_save_LIBS
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10885 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10886 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10887 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10890 lt_cv_dlopen
="dyld"
10892 lt_cv_dlopen_self
=yes
10899 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10900 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10901 lt_cv_dlopen
="shl_load"
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10904 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10905 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10906 $as_echo_n "(cached) " >&6
10908 ac_check_lib_save_LIBS
=$LIBS
10910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10913 /* Override any GCC internal prototype to avoid an error.
10914 Use char because int might match the return type of a GCC
10915 builtin and then its argument prototype would still apply. */
10923 return shl_load ();
10928 if ac_fn_c_try_link
"$LINENO"; then :
10929 ac_cv_lib_dld_shl_load
=yes
10931 ac_cv_lib_dld_shl_load
=no
10933 rm -f core conftest.err conftest.
$ac_objext \
10934 conftest
$ac_exeext conftest.
$ac_ext
10935 LIBS
=$ac_check_lib_save_LIBS
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10938 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10939 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10940 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10942 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10943 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10944 lt_cv_dlopen
="dlopen"
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10947 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10948 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10949 $as_echo_n "(cached) " >&6
10951 ac_check_lib_save_LIBS
=$LIBS
10953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10956 /* Override any GCC internal prototype to avoid an error.
10957 Use char because int might match the return type of a GCC
10958 builtin and then its argument prototype would still apply. */
10971 if ac_fn_c_try_link
"$LINENO"; then :
10972 ac_cv_lib_dl_dlopen
=yes
10974 ac_cv_lib_dl_dlopen
=no
10976 rm -f core conftest.err conftest.
$ac_objext \
10977 conftest
$ac_exeext conftest.
$ac_ext
10978 LIBS
=$ac_check_lib_save_LIBS
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10981 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10982 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10983 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10986 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10987 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10988 $as_echo_n "(cached) " >&6
10990 ac_check_lib_save_LIBS
=$LIBS
10991 LIBS
="-lsvld $LIBS"
10992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10995 /* Override any GCC internal prototype to avoid an error.
10996 Use char because int might match the return type of a GCC
10997 builtin and then its argument prototype would still apply. */
11010 if ac_fn_c_try_link
"$LINENO"; then :
11011 ac_cv_lib_svld_dlopen
=yes
11013 ac_cv_lib_svld_dlopen
=no
11015 rm -f core conftest.err conftest.
$ac_objext \
11016 conftest
$ac_exeext conftest.
$ac_ext
11017 LIBS
=$ac_check_lib_save_LIBS
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11020 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11021 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11022 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11025 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11026 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11027 $as_echo_n "(cached) " >&6
11029 ac_check_lib_save_LIBS
=$LIBS
11031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11044 return dld_link ();
11049 if ac_fn_c_try_link
"$LINENO"; then :
11050 ac_cv_lib_dld_dld_link
=yes
11052 ac_cv_lib_dld_dld_link
=no
11054 rm -f core conftest.err conftest.
$ac_objext \
11055 conftest
$ac_exeext conftest.
$ac_ext
11056 LIBS
=$ac_check_lib_save_LIBS
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11059 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11060 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11061 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11082 if test "x$lt_cv_dlopen" != xno
; then
11088 case $lt_cv_dlopen in
11090 save_CPPFLAGS
="$CPPFLAGS"
11091 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11093 save_LDFLAGS
="$LDFLAGS"
11094 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11097 LIBS
="$lt_cv_dlopen_libs $LIBS"
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11100 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11101 if test "${lt_cv_dlopen_self+set}" = set; then :
11102 $as_echo_n "(cached) " >&6
11104 if test "$cross_compiling" = yes; then :
11105 lt_cv_dlopen_self
=cross
11107 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11108 lt_status
=$lt_dlunknown
11109 cat > conftest.
$ac_ext <<_LT_EOF
11110 #line 11110 "configure"
11111 #include "confdefs.h"
11120 # define LT_DLGLOBAL RTLD_GLOBAL
11123 # define LT_DLGLOBAL DL_GLOBAL
11125 # define LT_DLGLOBAL 0
11129 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11130 find out it does not work in some platform. */
11131 #ifndef LT_DLLAZY_OR_NOW
11133 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11136 # define LT_DLLAZY_OR_NOW DL_LAZY
11139 # define LT_DLLAZY_OR_NOW RTLD_NOW
11142 # define LT_DLLAZY_OR_NOW DL_NOW
11144 # define LT_DLLAZY_OR_NOW 0
11151 /* When -fvisbility=hidden is used, assume the code has been annotated
11152 correspondingly for the symbols needed. */
11153 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11154 void fnord () __attribute__((visibility("default")));
11157 void fnord () { int i=42; }
11160 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11161 int status = $lt_dlunknown;
11165 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11168 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11169 else puts (dlerror ());
11171 /* dlclose (self); */
11179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11180 (eval $ac_link) 2>&5
11182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11183 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11184 (.
/conftest
; exit; ) >&5 2>/dev
/null
11186 case x
$lt_status in
11187 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11188 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11189 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11192 # compilation failed
11193 lt_cv_dlopen_self
=no
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11201 $as_echo "$lt_cv_dlopen_self" >&6; }
11203 if test "x$lt_cv_dlopen_self" = xyes
; then
11204 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11206 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11207 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11208 $as_echo_n "(cached) " >&6
11210 if test "$cross_compiling" = yes; then :
11211 lt_cv_dlopen_self_static
=cross
11213 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11214 lt_status
=$lt_dlunknown
11215 cat > conftest.
$ac_ext <<_LT_EOF
11216 #line 11216 "configure"
11217 #include "confdefs.h"
11226 # define LT_DLGLOBAL RTLD_GLOBAL
11229 # define LT_DLGLOBAL DL_GLOBAL
11231 # define LT_DLGLOBAL 0
11235 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11236 find out it does not work in some platform. */
11237 #ifndef LT_DLLAZY_OR_NOW
11239 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11242 # define LT_DLLAZY_OR_NOW DL_LAZY
11245 # define LT_DLLAZY_OR_NOW RTLD_NOW
11248 # define LT_DLLAZY_OR_NOW DL_NOW
11250 # define LT_DLLAZY_OR_NOW 0
11257 /* When -fvisbility=hidden is used, assume the code has been annotated
11258 correspondingly for the symbols needed. */
11259 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11260 void fnord () __attribute__((visibility("default")));
11263 void fnord () { int i=42; }
11266 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11267 int status = $lt_dlunknown;
11271 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11274 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11275 else puts (dlerror ());
11277 /* dlclose (self); */
11285 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11286 (eval $ac_link) 2>&5
11288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11289 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11290 (.
/conftest
; exit; ) >&5 2>/dev
/null
11292 case x
$lt_status in
11293 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11294 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11295 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11298 # compilation failed
11299 lt_cv_dlopen_self_static
=no
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11307 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11310 CPPFLAGS
="$save_CPPFLAGS"
11311 LDFLAGS
="$save_LDFLAGS"
11316 case $lt_cv_dlopen_self in
11317 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11318 *) enable_dlopen_self
=unknown
;;
11321 case $lt_cv_dlopen_self_static in
11322 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11323 *) enable_dlopen_self_static
=unknown
;;
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11346 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11347 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11348 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11349 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11351 $as_echo "yes" >&6; }
11353 # FIXME - insert some real tests, host_os isn't really good enough
11356 if test -n "$STRIP" ; then
11357 striplib
="$STRIP -x"
11358 old_striplib
="$STRIP -S"
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11360 $as_echo "yes" >&6; }
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11363 $as_echo "no" >&6; }
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11368 $as_echo "no" >&6; }
11384 # Report which library types will actually be built
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11386 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11388 $as_echo "$can_build_shared" >&6; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11391 $as_echo_n "checking whether to build shared libraries... " >&6; }
11392 test "$can_build_shared" = "no" && enable_shared
=no
11394 # On AIX, shared libraries and static libraries use the same namespace, and
11395 # are all built from PIC.
11398 test "$enable_shared" = yes && enable_static
=no
11399 if test -n "$RANLIB"; then
11400 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11401 postinstall_cmds
='$RANLIB $lib'
11406 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11407 test "$enable_shared" = yes && enable_static
=no
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11412 $as_echo "$enable_shared" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11415 $as_echo_n "checking whether to build static libraries... " >&6; }
11416 # Make sure either enable_shared or enable_static is yes.
11417 test "$enable_shared" = yes || enable_static
=yes
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11419 $as_echo "$enable_static" >&6; }
11426 ac_cpp
='$CPP $CPPFLAGS'
11427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11433 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11434 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11435 (test "X$CXX" != "Xg++"))) ; then
11437 ac_cpp
='$CXXCPP $CPPFLAGS'
11438 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11439 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11440 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11442 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11443 if test -z "$CXXCPP"; then
11444 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11445 $as_echo_n "(cached) " >&6
11447 # Double quotes because CXXCPP needs to be expanded
11448 for CXXCPP
in "$CXX -E" "/lib/cpp"
11450 ac_preproc_ok
=false
11451 for ac_cxx_preproc_warn_flag
in '' yes
11453 # Use a header file that comes with gcc, so configuring glibc
11454 # with a fresh cross-compiler works.
11455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11456 # <limits.h> exists even on freestanding compilers.
11457 # On the NeXT, cc -E runs the code through the compiler's parser,
11458 # not just through cpp. "Syntax error" is here to catch this case.
11459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11462 # include <limits.h>
11464 # include <assert.h>
11468 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11471 # Broken: fails on valid input.
11474 rm -f conftest.err conftest.
$ac_ext
11476 # OK, works on sane cases. Now check whether nonexistent headers
11477 # can be detected and how.
11478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11480 #include <ac_nonexistent.h>
11482 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11483 # Broken: success on invalid input.
11486 # Passes both tests.
11490 rm -f conftest.err conftest.
$ac_ext
11493 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11494 rm -f conftest.err conftest.
$ac_ext
11495 if $ac_preproc_ok; then :
11500 ac_cv_prog_CXXCPP
=$CXXCPP
11503 CXXCPP
=$ac_cv_prog_CXXCPP
11505 ac_cv_prog_CXXCPP
=$CXXCPP
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11508 $as_echo "$CXXCPP" >&6; }
11509 ac_preproc_ok
=false
11510 for ac_cxx_preproc_warn_flag
in '' yes
11512 # Use a header file that comes with gcc, so configuring glibc
11513 # with a fresh cross-compiler works.
11514 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11515 # <limits.h> exists even on freestanding compilers.
11516 # On the NeXT, cc -E runs the code through the compiler's parser,
11517 # not just through cpp. "Syntax error" is here to catch this case.
11518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 # include <limits.h>
11523 # include <assert.h>
11527 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11530 # Broken: fails on valid input.
11533 rm -f conftest.err conftest.
$ac_ext
11535 # OK, works on sane cases. Now check whether nonexistent headers
11536 # can be detected and how.
11537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11539 #include <ac_nonexistent.h>
11541 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11542 # Broken: success on invalid input.
11545 # Passes both tests.
11549 rm -f conftest.err conftest.
$ac_ext
11552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11553 rm -f conftest.err conftest.
$ac_ext
11554 if $ac_preproc_ok; then :
11557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11559 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11560 See \`config.log' for more details." "$LINENO" 5; }
11564 ac_cpp
='$CPP $CPPFLAGS'
11565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11570 _lt_caught_CXX_error
=yes
11574 ac_cpp
='$CXXCPP $CPPFLAGS'
11575 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11576 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11577 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11579 archive_cmds_need_lc_CXX
=no
11580 allow_undefined_flag_CXX
=
11581 always_export_symbols_CXX
=no
11582 archive_expsym_cmds_CXX
=
11583 compiler_needs_object_CXX
=no
11584 export_dynamic_flag_spec_CXX
=
11585 hardcode_direct_CXX
=no
11586 hardcode_direct_absolute_CXX
=no
11587 hardcode_libdir_flag_spec_CXX
=
11588 hardcode_libdir_flag_spec_ld_CXX
=
11589 hardcode_libdir_separator_CXX
=
11590 hardcode_minus_L_CXX
=no
11591 hardcode_shlibpath_var_CXX
=unsupported
11592 hardcode_automatic_CXX
=no
11593 inherit_rpath_CXX
=no
11595 module_expsym_cmds_CXX
=
11596 link_all_deplibs_CXX
=unknown
11597 old_archive_cmds_CXX
=$old_archive_cmds
11598 reload_flag_CXX
=$reload_flag
11599 reload_cmds_CXX
=$reload_cmds
11600 no_undefined_flag_CXX
=
11601 whole_archive_flag_spec_CXX
=
11602 enable_shared_with_static_runtimes_CXX
=no
11604 # Source file extension for C++ test sources.
11607 # Object file extension for compiled C++ test sources.
11611 # No sense in running all these tests if we already determined that
11612 # the CXX compiler isn't working. Some variables (like enable_shared)
11613 # are currently assumed to apply to all compilers on this platform,
11614 # and will be corrupted by setting them based on a non-working compiler.
11615 if test "$_lt_caught_CXX_error" != yes; then
11616 # Code to be used in simple compile tests
11617 lt_simple_compile_test_code
="int some_variable = 0;"
11619 # Code to be used in simple link tests
11620 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11622 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11629 # If no C compiler was specified, use CC.
11632 # If no C compiler flags were specified, use CFLAGS.
11633 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11635 # Allow CC to be a program name with arguments.
11639 # save warnings/boilerplate of simple test code
11640 ac_outfile
=conftest.
$ac_objext
11641 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11642 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11643 _lt_compiler_boilerplate
=`cat conftest.err`
11646 ac_outfile
=conftest.
$ac_objext
11647 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11648 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11649 _lt_linker_boilerplate
=`cat conftest.err`
11653 # Allow CC to be a program name with arguments.
11658 lt_save_with_gnu_ld
=$with_gnu_ld
11659 lt_save_path_LD
=$lt_cv_path_LD
11660 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11661 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11663 $as_unset lt_cv_prog_gnu_ld
11665 if test -n "${lt_cv_path_LDCXX+set}"; then
11666 lt_cv_path_LD
=$lt_cv_path_LDCXX
11668 $as_unset lt_cv_path_LD
11670 test -z "${LDCXX+set}" || LD
=$LDCXX
11674 for cc_temp
in $compiler""; do
11676 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11677 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11682 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11685 if test -n "$compiler"; then
11686 # We don't want -fno-exception when compiling C++ code, so set the
11687 # no_builtin_flag separately
11688 if test "$GXX" = yes; then
11689 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11691 lt_prog_compiler_no_builtin_flag_CXX
=
11694 if test "$GXX" = yes; then
11695 # Set up default GNU C++ configuration
11699 # Check whether --with-gnu-ld was given.
11700 if test "${with_gnu_ld+set}" = set; then :
11701 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11707 if test "$GCC" = yes; then
11708 # Check if gcc -print-prog-name=ld gives a path.
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11710 $as_echo_n "checking for ld used by $CC... " >&6; }
11713 # gcc leaves a trailing carriage return which upsets mingw
11714 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11716 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11719 # Accept absolute paths.
11721 re_direlt
='/[^/][^/]*/\.\./'
11722 # Canonicalize the pathname of ld
11723 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11724 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11725 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11727 test -z "$LD" && LD
="$ac_prog"
11730 # If it fails, then pretend we aren't using GCC.
11734 # If it is relative, then search for the first ld in PATH.
11735 with_gnu_ld
=unknown
11738 elif test "$with_gnu_ld" = yes; then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11740 $as_echo_n "checking for GNU ld... " >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11743 $as_echo_n "checking for non-GNU ld... " >&6; }
11745 if test "${lt_cv_path_LD+set}" = set; then :
11746 $as_echo_n "(cached) " >&6
11748 if test -z "$LD"; then
11749 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11750 for ac_dir
in $PATH; do
11752 test -z "$ac_dir" && ac_dir
=.
11753 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11754 lt_cv_path_LD
="$ac_dir/$ac_prog"
11755 # Check to see if the program is GNU ld. I'd rather use --version,
11756 # but apparently some variants of GNU ld only accept -v.
11757 # Break only if it was the GNU/non-GNU ld that we prefer.
11758 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11759 *GNU
* |
*'with BFD'*)
11760 test "$with_gnu_ld" != no
&& break
11763 test "$with_gnu_ld" != yes && break
11770 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11774 LD
="$lt_cv_path_LD"
11775 if test -n "$LD"; then
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11777 $as_echo "$LD" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11782 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11784 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11785 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11786 $as_echo_n "(cached) " >&6
11788 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11789 case `$LD -v 2>&1 </dev/null` in
11790 *GNU
* |
*'with BFD'*)
11791 lt_cv_prog_gnu_ld
=yes
11794 lt_cv_prog_gnu_ld
=no
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11799 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11800 with_gnu_ld
=$lt_cv_prog_gnu_ld
11808 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11809 # archiving commands below assume that GNU ld is being used.
11810 if test "$with_gnu_ld" = yes; then
11811 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11812 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'
11814 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11815 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11817 # If archive_cmds runs LD, not CC, wlarc should be empty
11818 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11819 # investigate it a little bit more. (MM)
11822 # ancient GNU ld didn't support --whole-archive et. al.
11823 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11824 $GREP 'no-whole-archive' > /dev
/null
; then
11825 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11827 whole_archive_flag_spec_CXX
=
11833 # A generic and very simple default shared library creation
11834 # command for GNU C++ for the case where it uses the native
11835 # linker, instead of GNU ld. If possible, this setting should
11836 # overridden to take advantage of the native linker features on
11837 # the platform it is being used on.
11838 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11841 # Commands to make compiler produce verbose output that lists
11842 # what "hidden" libraries, object files and flags are used when
11843 # linking a shared library.
11844 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11852 # PORTME: fill in a description of your system's C++ link characteristics
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11854 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11858 # FIXME: insert proper C++ library support
11862 if test "$host_cpu" = ia64
; then
11863 # On IA64, the linker does run time linking by default, so we don't
11864 # have to do anything special.
11865 aix_use_runtimelinking
=no
11866 exp_sym_flag
='-Bexport'
11869 aix_use_runtimelinking
=no
11871 # Test if we are trying to use run time linking or normal
11872 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11873 # need to do runtime linking.
11874 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11875 for ld_flag
in $LDFLAGS; do
11878 aix_use_runtimelinking
=yes
11886 exp_sym_flag
='-bexport'
11887 no_entry_flag
='-bnoentry'
11890 # When large executables or shared objects are built, AIX ld can
11891 # have problems creating the table of contents. If linking a library
11892 # or program results in "error TOC overflow" add -mminimal-toc to
11893 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11894 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11896 archive_cmds_CXX
=''
11897 hardcode_direct_CXX
=yes
11898 hardcode_direct_absolute_CXX
=yes
11899 hardcode_libdir_separator_CXX
=':'
11900 link_all_deplibs_CXX
=yes
11901 file_list_spec_CXX
='${wl}-f,'
11903 if test "$GXX" = yes; then
11904 case $host_os in aix4.
[012]|aix4.
[012].
*)
11905 # We only want to do this on AIX 4.2 and lower, the check
11906 # below for broken collect2 doesn't work under 4.3+
11907 collect2name
=`${CC} -print-prog-name=collect2`
11908 if test -f "$collect2name" &&
11909 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11911 # We have reworked collect2
11914 # We have old collect2
11915 hardcode_direct_CXX
=unsupported
11916 # It fails to find uninstalled libraries when the uninstalled
11917 # path is not listed in the libpath. Setting hardcode_minus_L
11918 # to unsupported forces relinking
11919 hardcode_minus_L_CXX
=yes
11920 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11921 hardcode_libdir_separator_CXX
=
11924 shared_flag
='-shared'
11925 if test "$aix_use_runtimelinking" = yes; then
11926 shared_flag
="$shared_flag "'${wl}-G'
11930 if test "$host_cpu" = ia64
; then
11931 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11932 # chokes on -Wl,-G. The following line is correct:
11935 if test "$aix_use_runtimelinking" = yes; then
11936 shared_flag
='${wl}-G'
11938 shared_flag
='${wl}-bM:SRE'
11943 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11944 # It seems that -bexpall does not export symbols beginning with
11945 # underscore (_), so it is better to generate a list of symbols to
11947 always_export_symbols_CXX
=yes
11948 if test "$aix_use_runtimelinking" = yes; then
11949 # Warning - without using the other runtime loading flags (-brtl),
11950 # -berok will link without error, but may produce a broken library.
11951 allow_undefined_flag_CXX
='-berok'
11952 # Determine the default libpath from the value encoded in an empty
11954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11965 if ac_fn_cxx_try_link
"$LINENO"; then :
11967 lt_aix_libpath_sed
='
11968 /Import File Strings/,/^$/ {
11974 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11975 # Check for a 64-bit object if we didn't find anything.
11976 if test -z "$aix_libpath"; then
11977 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11980 rm -f core conftest.err conftest.
$ac_objext \
11981 conftest
$ac_exeext conftest.
$ac_ext
11982 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11984 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11986 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"
11988 if test "$host_cpu" = ia64
; then
11989 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11990 allow_undefined_flag_CXX
="-z nodefs"
11991 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"
11993 # Determine the default libpath from the value encoded in an
11994 # empty executable.
11995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
12006 if ac_fn_cxx_try_link
"$LINENO"; then :
12008 lt_aix_libpath_sed
='
12009 /Import File Strings/,/^$/ {
12015 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12016 # Check for a 64-bit object if we didn't find anything.
12017 if test -z "$aix_libpath"; then
12018 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12021 rm -f core conftest.err conftest.
$ac_objext \
12022 conftest
$ac_exeext conftest.
$ac_ext
12023 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12025 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12026 # Warning - without using the other run time loading flags,
12027 # -berok will link without error, but may produce a broken library.
12028 no_undefined_flag_CXX
=' ${wl}-bernotok'
12029 allow_undefined_flag_CXX
=' ${wl}-berok'
12030 if test "$with_gnu_ld" = yes; then
12031 # We only use this code for GNU lds that support --whole-archive.
12032 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12034 # Exported symbols can be pulled into shared objects from archives
12035 whole_archive_flag_spec_CXX
='$convenience'
12037 archive_cmds_need_lc_CXX
=yes
12038 # This is similar to how AIX traditionally builds its shared
12040 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'
12046 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12047 allow_undefined_flag_CXX
=unsupported
12048 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12049 # support --undefined. This deserves some investigation. FIXME
12050 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12057 case $cc_basename in
12059 # FIXME: insert proper C++ library support
12065 cygwin
* | mingw
* | pw32
* | cegcc
*)
12066 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12067 # as there is no search path for DLLs.
12068 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12069 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12070 allow_undefined_flag_CXX
=unsupported
12071 always_export_symbols_CXX
=no
12072 enable_shared_with_static_runtimes_CXX
=yes
12074 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12075 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'
12076 # If the export-symbols file already is a .def file (1st line
12077 # is EXPORTS), use it as is; otherwise, prepend...
12078 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12079 cp $export_symbols $output_objdir/$soname.def;
12081 echo EXPORTS > $output_objdir/$soname.def;
12082 cat $export_symbols >> $output_objdir/$soname.def;
12084 $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'
12089 darwin
* | rhapsody
*)
12092 archive_cmds_need_lc_CXX
=no
12093 hardcode_direct_CXX
=no
12094 hardcode_automatic_CXX
=yes
12095 hardcode_shlibpath_var_CXX
=unsupported
12096 if test "$lt_cv_ld_force_load" = "yes"; then
12097 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\"`'
12099 whole_archive_flag_spec_CXX
=''
12101 link_all_deplibs_CXX
=yes
12102 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12103 case $cc_basename in
12104 ifort
*) _lt_dar_can_shared
=yes ;;
12105 *) _lt_dar_can_shared
=$GCC ;;
12107 if test "$_lt_dar_can_shared" = "yes"; then
12108 output_verbose_link_cmd
=func_echo_all
12109 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}"
12110 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12111 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}"
12112 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}"
12113 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12114 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}"
12115 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}"
12125 case $cc_basename in
12127 # FIXME: insert proper C++ library support
12131 # Green Hills C++ Compiler
12132 # FIXME: insert proper C++ library support
12136 # FIXME: insert proper C++ library support
12143 # C++ shared libraries reported to be fairly broken before
12149 archive_cmds_need_lc_CXX
=no
12152 freebsd
* | dragonfly
*)
12153 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12162 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12163 link_all_deplibs_CXX
=yes
12167 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12168 hardcode_libdir_separator_CXX
=:
12169 export_dynamic_flag_spec_CXX
='${wl}-E'
12170 hardcode_direct_CXX
=yes
12171 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12172 # but as the default
12173 # location of the library.
12175 case $cc_basename in
12177 # FIXME: insert proper C++ library support
12181 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'
12182 # Commands to make compiler produce verbose output that lists
12183 # what "hidden" libraries, object files and flags are used when
12184 # linking a shared library.
12186 # There doesn't appear to be a way to prevent this compiler from
12187 # explicitly linking system object files so we need to strip them
12188 # from the output so that they don't get included in the library
12190 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"'
12193 if test "$GXX" = yes; then
12194 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'
12196 # FIXME: insert proper C++ library support
12204 if test $with_gnu_ld = no
; then
12205 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12206 hardcode_libdir_separator_CXX
=:
12212 export_dynamic_flag_spec_CXX
='${wl}-E'
12218 hardcode_direct_CXX
=no
12219 hardcode_shlibpath_var_CXX
=no
12222 hardcode_direct_CXX
=yes
12223 hardcode_direct_absolute_CXX
=yes
12224 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12225 # but as the default
12226 # location of the library.
12230 case $cc_basename in
12232 # FIXME: insert proper C++ library support
12238 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12241 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12244 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12247 # Commands to make compiler produce verbose output that lists
12248 # what "hidden" libraries, object files and flags are used when
12249 # linking a shared library.
12251 # There doesn't appear to be a way to prevent this compiler from
12252 # explicitly linking system object files so we need to strip them
12253 # from the output so that they don't get included in the library
12255 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"'
12258 if test "$GXX" = yes; then
12259 if test $with_gnu_ld = no
; then
12262 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12265 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12268 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'
12273 # FIXME: insert proper C++ library support
12281 hardcode_direct_CXX
=no
12282 hardcode_shlibpath_var_CXX
=no
12283 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12284 export_dynamic_flag_spec_CXX
='${wl}-E'
12285 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12286 # Instead, shared libraries are loaded at an image base (0x10000000 by
12287 # default) and relocated if they conflict, which is a slow very memory
12288 # consuming and fragmenting process. To avoid this, we pick a random,
12289 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12290 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12291 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'
12292 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'
12295 case $cc_basename in
12298 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'
12300 # Archives containing C++ object files must be created using
12301 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12302 # necessary to make sure instantiated templates are included
12304 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12307 if test "$GXX" = yes; then
12308 if test "$with_gnu_ld" = no
; then
12309 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'
12311 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'
12314 link_all_deplibs_CXX
=yes
12317 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12318 hardcode_libdir_separator_CXX
=:
12319 inherit_rpath_CXX
=yes
12322 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12323 case $cc_basename in
12325 # Kuck and Associates, Inc. (KAI) C++ Compiler
12327 # KCC will only create a shared library if the output file
12328 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12329 # to its proper name (with version) after linking.
12330 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'
12331 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'
12332 # Commands to make compiler produce verbose output that lists
12333 # what "hidden" libraries, object files and flags are used when
12334 # linking a shared library.
12336 # There doesn't appear to be a way to prevent this compiler from
12337 # explicitly linking system object files so we need to strip them
12338 # from the output so that they don't get included in the library
12340 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"'
12342 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12343 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12345 # Archives containing C++ object files must be created using
12346 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12347 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12352 # version 8.0 and above of icpc choke on multiply defined symbols
12353 # if we add $predep_objects and $postdep_objects, however 7.1 and
12354 # earlier do not add the objects themselves.
12355 case `$CC -V 2>&1` in
12357 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12358 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'
12360 *) # Version 8.0 or newer
12363 ia64
*) tmp_idyn
=' -i_dynamic';;
12365 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12366 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'
12369 archive_cmds_need_lc_CXX
=no
12370 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12371 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12372 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12375 # Portland Group C++ compiler
12377 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12378 prelink_cmds_CXX
='tpldir=Template.dir~
12380 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12381 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12382 old_archive_cmds_CXX
='tpldir=Template.dir~
12384 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12385 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12387 archive_cmds_CXX
='tpldir=Template.dir~
12389 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12390 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12391 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12393 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12394 $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'
12396 *) # Version 6 and above use weak symbols
12397 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12398 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'
12402 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12403 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12404 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'
12408 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12409 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'
12411 runpath_var
=LD_RUN_PATH
12412 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12413 hardcode_libdir_separator_CXX
=:
12415 # Commands to make compiler produce verbose output that lists
12416 # what "hidden" libraries, object files and flags are used when
12417 # linking a shared library.
12419 # There doesn't appear to be a way to prevent this compiler from
12420 # explicitly linking system object files so we need to strip them
12421 # from the output so that they don't get included in the library
12423 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'
12425 xl
* | mpixl
* | bgxl
*)
12426 # IBM XL 8.0 on PPC, with GNU ld
12427 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12428 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12429 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12430 if test "x$supports_anon_versioning" = xyes
; then
12431 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12432 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12433 echo "local: *; };" >> $output_objdir/$libname.ver~
12434 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12438 case `$CC -V 2>&1 | sed 5q` in
12441 no_undefined_flag_CXX
=' -zdefs'
12442 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12443 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'
12444 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12445 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'
12446 compiler_needs_object_CXX
=yes
12448 # Not sure whether something based on
12449 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12451 output_verbose_link_cmd
='func_echo_all'
12453 # Archives containing C++ object files must be created using
12454 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12455 # necessary to make sure instantiated templates are included
12457 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12465 # FIXME: insert proper C++ library support
12470 # FIXME: insert proper C++ library support
12475 case $cc_basename in
12477 # FIXME: insert proper C++ library support
12481 # FIXME: insert proper C++ library support
12488 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12489 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12491 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12492 hardcode_direct_CXX
=yes
12493 hardcode_shlibpath_var_CXX
=no
12495 # Workaround some broken pre-1.5 toolchains
12496 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12504 # C++ shared libraries are fairly broken
12509 if test -f /usr
/libexec
/ld.so
; then
12510 hardcode_direct_CXX
=yes
12511 hardcode_shlibpath_var_CXX
=no
12512 hardcode_direct_absolute_CXX
=yes
12513 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12514 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12515 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12516 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12517 export_dynamic_flag_spec_CXX
='${wl}-E'
12518 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12520 output_verbose_link_cmd
=func_echo_all
12526 osf3
* | osf4
* | osf5
*)
12527 case $cc_basename in
12529 # Kuck and Associates, Inc. (KAI) C++ Compiler
12531 # KCC will only create a shared library if the output file
12532 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12533 # to its proper name (with version) after linking.
12534 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'
12536 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12537 hardcode_libdir_separator_CXX
=:
12539 # Archives containing C++ object files must be created using
12540 # the KAI C++ compiler.
12542 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12543 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12547 # Rational C++ 2.4.1
12548 # FIXME: insert proper C++ library support
12554 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12555 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'
12556 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12559 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12560 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'
12561 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12562 echo "-hidden">> $lib.exp~
12563 $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~
12565 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12569 hardcode_libdir_separator_CXX
=:
12571 # Commands to make compiler produce verbose output that lists
12572 # what "hidden" libraries, object files and flags are used when
12573 # linking a shared library.
12575 # There doesn't appear to be a way to prevent this compiler from
12576 # explicitly linking system object files so we need to strip them
12577 # from the output so that they don't get included in the library
12579 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"'
12582 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12583 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12586 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'
12589 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'
12593 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12594 hardcode_libdir_separator_CXX
=:
12596 # Commands to make compiler produce verbose output that lists
12597 # what "hidden" libraries, object files and flags are used when
12598 # linking a shared library.
12599 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12602 # FIXME: insert proper C++ library support
12610 # FIXME: insert proper C++ library support
12615 case $cc_basename in
12618 # FIXME: insert proper C++ library support
12623 # FIXME: insert proper C++ library support
12627 # FIXME: insert proper C++ library support
12634 case $cc_basename in
12636 # Sun C++ 4.2, 5.x and Centerline C++
12637 archive_cmds_need_lc_CXX
=yes
12638 no_undefined_flag_CXX
=' -zdefs'
12639 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12640 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12641 $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'
12643 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12644 hardcode_shlibpath_var_CXX
=no
12646 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12648 # The compiler driver will combine and reorder linker options,
12649 # but understands `-z linker_flag'.
12650 # Supported since Solaris 2.6 (maybe 2.5.1?)
12651 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12654 link_all_deplibs_CXX
=yes
12656 output_verbose_link_cmd
='func_echo_all'
12658 # Archives containing C++ object files must be created using
12659 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12660 # necessary to make sure instantiated templates are included
12662 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12665 # Green Hills C++ Compiler
12666 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12668 # The C++ compiler must be used to create the archive.
12669 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12672 # GNU C++ compiler with Solaris linker
12673 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12674 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12675 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12676 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12677 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12678 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12680 # Commands to make compiler produce verbose output that lists
12681 # what "hidden" libraries, object files and flags are used when
12682 # linking a shared library.
12683 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12685 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12687 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12688 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12689 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12691 # Commands to make compiler produce verbose output that lists
12692 # what "hidden" libraries, object files and flags are used when
12693 # linking a shared library.
12694 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12697 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12699 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12701 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12709 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12710 no_undefined_flag_CXX
='${wl}-z,text'
12711 archive_cmds_need_lc_CXX
=no
12712 hardcode_shlibpath_var_CXX
=no
12713 runpath_var
='LD_RUN_PATH'
12715 case $cc_basename in
12717 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12718 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12721 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12722 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12727 sysv5
* | sco3.2v5
* | sco5v6
*)
12728 # Note: We can NOT use -z defs as we might desire, because we do not
12729 # link with -lc, and that would cause any symbols used from libc to
12730 # always be unresolved, which means just about no library would
12731 # ever link correctly. If we're not using GNU ld we use -z text
12732 # though, which does catch some bad symbols but isn't as heavy-handed
12734 no_undefined_flag_CXX
='${wl}-z,text'
12735 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12736 archive_cmds_need_lc_CXX
=no
12737 hardcode_shlibpath_var_CXX
=no
12738 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12739 hardcode_libdir_separator_CXX
=':'
12740 link_all_deplibs_CXX
=yes
12741 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12742 runpath_var
='LD_RUN_PATH'
12744 case $cc_basename in
12746 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12747 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12748 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12749 '"$old_archive_cmds_CXX"
12750 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12751 '"$reload_cmds_CXX"
12754 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12755 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12761 case $cc_basename in
12763 # NonStop-UX NCC 3.20
12764 # FIXME: insert proper C++ library support
12768 # FIXME: insert proper C++ library support
12775 # FIXME: insert proper C++ library support
12780 # FIXME: insert proper C++ library support
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12786 $as_echo "$ld_shlibs_CXX" >&6; }
12787 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12793 ## There is no encapsulation within the following macros, do not change
12794 ## the running order or otherwise move them around unless you know exactly
12795 ## what you are doing...
12796 # Dependencies to place before and after the object being linked:
12797 predep_objects_CXX
=
12798 postdep_objects_CXX
=
12801 compiler_lib_search_path_CXX
=
12803 cat > conftest.
$ac_ext <<_LT_EOF
12807 Foo (void) { a = 0; }
12813 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12814 (eval $ac_compile) 2>&5
12816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12817 test $ac_status = 0; }; then
12818 # Parse the compiler output and extract the necessary
12819 # objects, libraries and library flags.
12821 # Sentinel used to keep track of whether or not we are before
12822 # the conftest object file.
12823 pre_test_object_deps_done
=no
12825 for p
in `eval "$output_verbose_link_cmd"`; do
12829 # Some compilers place space between "-{L,R}" and the path.
12830 # Remove the space.
12831 if test $p = "-L" ||
12832 test $p = "-R"; then
12839 if test "$pre_test_object_deps_done" = no
; then
12842 # Internal compiler library paths should come after those
12843 # provided the user. The postdeps already come after the
12844 # user supplied libs so there is no need to process them.
12845 if test -z "$compiler_lib_search_path_CXX"; then
12846 compiler_lib_search_path_CXX
="${prev}${p}"
12848 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12851 # The "-l" case would never come before the object being
12852 # linked, so don't bother handling this case.
12855 if test -z "$postdeps_CXX"; then
12856 postdeps_CXX
="${prev}${p}"
12858 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12864 # This assumes that the test object file only shows up
12865 # once in the compiler output.
12866 if test "$p" = "conftest.$objext"; then
12867 pre_test_object_deps_done
=yes
12871 if test "$pre_test_object_deps_done" = no
; then
12872 if test -z "$predep_objects_CXX"; then
12873 predep_objects_CXX
="$p"
12875 predep_objects_CXX
="$predep_objects_CXX $p"
12878 if test -z "$postdep_objects_CXX"; then
12879 postdep_objects_CXX
="$p"
12881 postdep_objects_CXX
="$postdep_objects_CXX $p"
12886 *) ;; # Ignore the rest.
12894 echo "libtool.m4: error: problem compiling CXX test program"
12897 $RM -f confest.
$objext
12899 # PORTME: override above test on systems where it is broken
12902 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12903 # hack all around it, let's just trust "g++" to DTRT.
12904 predep_objects_CXX
=
12905 postdep_objects_CXX
=
12910 case `$CC -V 2>&1 | sed 5q` in
12914 # The more standards-conforming stlport4 library is
12915 # incompatible with the Cstd library. Avoid specifying
12916 # it if it's in CXXFLAGS. Ignore libCrun as
12917 # -library=stlport4 depends on it.
12918 case " $CXX $CXXFLAGS " in
12919 *" -library=stlport4 "*)
12920 solaris_use_stlport4
=yes
12924 if test "$solaris_use_stlport4" != yes; then
12925 postdeps_CXX
='-library=Cstd -library=Crun'
12932 case $cc_basename in
12934 # The more standards-conforming stlport4 library is
12935 # incompatible with the Cstd library. Avoid specifying
12936 # it if it's in CXXFLAGS. Ignore libCrun as
12937 # -library=stlport4 depends on it.
12938 case " $CXX $CXXFLAGS " in
12939 *" -library=stlport4 "*)
12940 solaris_use_stlport4
=yes
12944 # Adding this requires a known-good setup of shared libraries for
12945 # Sun compiler versions before 5.6, else PIC objects from an old
12946 # archive will be linked into the output, leading to subtle bugs.
12947 if test "$solaris_use_stlport4" != yes; then
12948 postdeps_CXX
='-library=Cstd -library=Crun'
12956 case " $postdeps_CXX " in
12957 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12959 compiler_lib_search_dirs_CXX
=
12960 if test -n "${compiler_lib_search_path_CXX}"; then
12961 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12994 lt_prog_compiler_wl_CXX
=
12995 lt_prog_compiler_pic_CXX
=
12996 lt_prog_compiler_static_CXX
=
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12999 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13001 # C++ specific cases for pic, static, wl, etc.
13002 if test "$GXX" = yes; then
13003 lt_prog_compiler_wl_CXX
='-Wl,'
13004 lt_prog_compiler_static_CXX
='-static'
13008 # All AIX code is PIC.
13009 if test "$host_cpu" = ia64
; then
13010 # AIX 5 now supports IA64 processor
13011 lt_prog_compiler_static_CXX
='-Bstatic'
13013 lt_prog_compiler_pic_CXX
='-fPIC'
13019 # see comment about AmigaOS4 .so support
13020 lt_prog_compiler_pic_CXX
='-fPIC'
13023 # FIXME: we need at least 68020 code to build shared libraries, but
13024 # adding the `-m68020' flag to GCC prevents building anything better,
13026 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13031 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13032 # PIC is the default for these OSes.
13034 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13035 # This hack is so that the source file can tell whether it is being
13036 # built for inclusion in a dll (and should export symbols for example).
13037 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13038 # (--disable-auto-import) libraries
13039 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13041 darwin
* | rhapsody
*)
13042 # PIC is the default on this platform
13043 # Common symbols not allowed in MH_DYLIB files
13044 lt_prog_compiler_pic_CXX
='-fno-common'
13047 # DJGPP does not support shared libraries at all
13048 lt_prog_compiler_pic_CXX
=
13051 # PIC is the default for Haiku.
13052 # The "-static" flag exists, but is broken.
13053 lt_prog_compiler_static_CXX
=
13056 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13057 # Instead, we relocate shared libraries at runtime.
13060 if test -d /usr
/nec
; then
13061 lt_prog_compiler_pic_CXX
=-Kconform_pic
13065 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13066 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13067 # sets the default TLS model and affects inlining.
13072 lt_prog_compiler_pic_CXX
='-fPIC'
13077 # QNX uses GNU C++, but need to define -shared option too, otherwise
13078 # it will coredump.
13079 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13082 lt_prog_compiler_pic_CXX
='-fPIC'
13088 # All AIX code is PIC.
13089 if test "$host_cpu" = ia64
; then
13090 # AIX 5 now supports IA64 processor
13091 lt_prog_compiler_static_CXX
='-Bstatic'
13093 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13097 case $cc_basename in
13099 # Green Hills C++ Compiler
13100 # _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"
13105 case $cc_basename in
13107 lt_prog_compiler_pic_CXX
='-KPIC'
13110 # Green Hills C++ Compiler
13111 lt_prog_compiler_pic_CXX
='-pic'
13117 freebsd
* | dragonfly
*)
13118 # FreeBSD uses GNU C++
13120 hpux9
* | hpux10
* | hpux11
*)
13121 case $cc_basename in
13123 lt_prog_compiler_wl_CXX
='-Wl,'
13124 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13125 if test "$host_cpu" != ia64
; then
13126 lt_prog_compiler_pic_CXX
='+Z'
13130 lt_prog_compiler_wl_CXX
='-Wl,'
13131 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13137 lt_prog_compiler_pic_CXX
='+Z'
13146 # This is c89, which is MS Visual C++ (no shared libs)
13147 # Anyone wants to do a port?
13149 irix5
* | irix6
* | nonstopux
*)
13150 case $cc_basename in
13152 lt_prog_compiler_wl_CXX
='-Wl,'
13153 lt_prog_compiler_static_CXX
='-non_shared'
13154 # CC pic flag -KPIC is the default.
13160 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13161 case $cc_basename in
13164 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13165 lt_prog_compiler_pic_CXX
='-fPIC'
13168 # old Intel C++ for x86_64 which still supported -KPIC.
13169 lt_prog_compiler_wl_CXX
='-Wl,'
13170 lt_prog_compiler_pic_CXX
='-KPIC'
13171 lt_prog_compiler_static_CXX
='-static'
13174 # Intel C++, used to be incompatible with GCC.
13175 # ICC 10 doesn't accept -KPIC any more.
13176 lt_prog_compiler_wl_CXX
='-Wl,'
13177 lt_prog_compiler_pic_CXX
='-fPIC'
13178 lt_prog_compiler_static_CXX
='-static'
13181 # Portland Group C++ compiler
13182 lt_prog_compiler_wl_CXX
='-Wl,'
13183 lt_prog_compiler_pic_CXX
='-fpic'
13184 lt_prog_compiler_static_CXX
='-Bstatic'
13188 # Make sure the PIC flag is empty. It appears that all Alpha
13189 # Linux and Compaq Tru64 Unix objects are PIC.
13190 lt_prog_compiler_pic_CXX
=
13191 lt_prog_compiler_static_CXX
='-non_shared'
13193 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13194 # IBM XL 8.0, 9.0 on PPC and BlueGene
13195 lt_prog_compiler_wl_CXX
='-Wl,'
13196 lt_prog_compiler_pic_CXX
='-qpic'
13197 lt_prog_compiler_static_CXX
='-qstaticlink'
13200 case `$CC -V 2>&1 | sed 5q` in
13203 lt_prog_compiler_pic_CXX
='-KPIC'
13204 lt_prog_compiler_static_CXX
='-Bstatic'
13205 lt_prog_compiler_wl_CXX
='-Qoption ld '
13216 case $cc_basename in
13218 lt_prog_compiler_pic_CXX
='-W c,exportall'
13227 # QNX uses GNU C++, but need to define -shared option too, otherwise
13228 # it will coredump.
13229 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13231 osf3
* | osf4
* | osf5
*)
13232 case $cc_basename in
13234 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13237 # Rational C++ 2.4.1
13238 lt_prog_compiler_pic_CXX
='-pic'
13241 # Digital/Compaq C++
13242 lt_prog_compiler_wl_CXX
='-Wl,'
13243 # Make sure the PIC flag is empty. It appears that all Alpha
13244 # Linux and Compaq Tru64 Unix objects are PIC.
13245 lt_prog_compiler_pic_CXX
=
13246 lt_prog_compiler_static_CXX
='-non_shared'
13255 case $cc_basename in
13257 # Sun C++ 4.2, 5.x and Centerline C++
13258 lt_prog_compiler_pic_CXX
='-KPIC'
13259 lt_prog_compiler_static_CXX
='-Bstatic'
13260 lt_prog_compiler_wl_CXX
='-Qoption ld '
13263 # Green Hills C++ Compiler
13264 lt_prog_compiler_pic_CXX
='-PIC'
13271 case $cc_basename in
13274 lt_prog_compiler_pic_CXX
='-pic'
13275 lt_prog_compiler_static_CXX
='-Bstatic'
13279 lt_prog_compiler_pic_CXX
='-pic'
13285 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13286 case $cc_basename in
13288 lt_prog_compiler_wl_CXX
='-Wl,'
13289 lt_prog_compiler_pic_CXX
='-KPIC'
13290 lt_prog_compiler_static_CXX
='-Bstatic'
13295 case $cc_basename in
13297 # NonStop-UX NCC 3.20
13298 lt_prog_compiler_pic_CXX
='-KPIC'
13307 lt_prog_compiler_can_build_shared_CXX
=no
13313 # For platforms which do not support PIC, -DPIC is meaningless:
13315 lt_prog_compiler_pic_CXX
=
13318 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13322 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13327 # Check to make sure the PIC flag actually works.
13329 if test -n "$lt_prog_compiler_pic_CXX"; then
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13331 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13332 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13333 $as_echo_n "(cached) " >&6
13335 lt_cv_prog_compiler_pic_works_CXX
=no
13336 ac_outfile
=conftest.
$ac_objext
13337 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13338 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13339 # Insert the option either (1) after the last *FLAGS variable, or
13340 # (2) before a word containing "conftest.", or (3) at the end.
13341 # Note that $ac_compile itself does not contain backslashes and begins
13342 # with a dollar sign (not a hyphen), so the echo should work correctly.
13343 # The option is referenced via a variable to avoid confusing sed.
13344 lt_compile
=`echo "$ac_compile" | $SED \
13345 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13346 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13347 -e 's:$: $lt_compiler_flag:'`
13348 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13349 (eval "$lt_compile" 2>conftest.err
)
13351 cat conftest.err
>&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 if (exit $ac_status) && test -s "$ac_outfile"; then
13354 # The compiler can only warn and ignore the option if not recognized
13355 # So say no if there are warnings other than the usual output.
13356 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13357 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13358 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13359 lt_cv_prog_compiler_pic_works_CXX
=yes
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13366 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13368 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13369 case $lt_prog_compiler_pic_CXX in
13371 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13374 lt_prog_compiler_pic_CXX
=
13375 lt_prog_compiler_can_build_shared_CXX
=no
13383 # Check to make sure the static flag actually works.
13385 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13387 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13388 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13389 $as_echo_n "(cached) " >&6
13391 lt_cv_prog_compiler_static_works_CXX
=no
13392 save_LDFLAGS
="$LDFLAGS"
13393 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13394 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13395 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13396 # The linker can only warn and ignore the option if not recognized
13397 # So say no if there are warnings
13398 if test -s conftest.err
; then
13399 # Append any errors to the config.log.
13400 cat conftest.err
1>&5
13401 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13402 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13403 if diff conftest.exp conftest.er2
>/dev
/null
; then
13404 lt_cv_prog_compiler_static_works_CXX
=yes
13407 lt_cv_prog_compiler_static_works_CXX
=yes
13411 LDFLAGS
="$save_LDFLAGS"
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13415 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13417 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13420 lt_prog_compiler_static_CXX
=
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13427 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13428 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13429 $as_echo_n "(cached) " >&6
13431 lt_cv_prog_compiler_c_o_CXX
=no
13432 $RM -r conftest
2>/dev
/null
13436 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13438 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13439 # Insert the option either (1) after the last *FLAGS variable, or
13440 # (2) before a word containing "conftest.", or (3) at the end.
13441 # Note that $ac_compile itself does not contain backslashes and begins
13442 # with a dollar sign (not a hyphen), so the echo should work correctly.
13443 lt_compile
=`echo "$ac_compile" | $SED \
13444 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13445 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13446 -e 's:$: $lt_compiler_flag:'`
13447 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13448 (eval "$lt_compile" 2>out
/conftest.err
)
13450 cat out
/conftest.err
>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13454 # The compiler can only warn and ignore the option if not recognized
13455 # So say no if there are warnings
13456 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13457 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13458 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13459 lt_cv_prog_compiler_c_o_CXX
=yes
13464 # SGI C++ compiler will create directory out/ii_files/ for
13465 # template instantiation
13466 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13467 $RM out
/* && rmdir out
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13474 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13479 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13480 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13481 $as_echo_n "(cached) " >&6
13483 lt_cv_prog_compiler_c_o_CXX
=no
13484 $RM -r conftest
2>/dev
/null
13488 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13490 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13491 # Insert the option either (1) after the last *FLAGS variable, or
13492 # (2) before a word containing "conftest.", or (3) at the end.
13493 # Note that $ac_compile itself does not contain backslashes and begins
13494 # with a dollar sign (not a hyphen), so the echo should work correctly.
13495 lt_compile
=`echo "$ac_compile" | $SED \
13496 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13497 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13498 -e 's:$: $lt_compiler_flag:'`
13499 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13500 (eval "$lt_compile" 2>out
/conftest.err
)
13502 cat out
/conftest.err
>&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13506 # The compiler can only warn and ignore the option if not recognized
13507 # So say no if there are warnings
13508 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13509 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13510 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13511 lt_cv_prog_compiler_c_o_CXX
=yes
13516 # SGI C++ compiler will create directory out/ii_files/ for
13517 # template instantiation
13518 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13519 $RM out
/* && rmdir out
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13526 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13531 hard_links
="nottested"
13532 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13533 # do not overwrite the value of need_locks provided by the user
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13535 $as_echo_n "checking if we can lock with hard links... " >&6; }
13538 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13540 ln conftest.a conftest.b
2>&5 || hard_links
=no
13541 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13543 $as_echo "$hard_links" >&6; }
13544 if test "$hard_links" = no
; then
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13546 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13556 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13558 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13561 # If we're using GNU nm, then we don't want the "-C" option.
13562 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13563 # Also, AIX nm treats weak defined symbols like other global defined
13564 # symbols, whereas GNU nm marks them as "W".
13565 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13566 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'
13568 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'
13572 export_symbols_cmds_CXX
="$ltdll_cmds"
13574 cygwin
* | mingw
* | cegcc
*)
13575 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'
13578 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13581 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13584 $as_echo "$ld_shlibs_CXX" >&6; }
13585 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13587 with_gnu_ld_CXX
=$with_gnu_ld
13595 # Do we need to explicitly link libc?
13597 case "x$archive_cmds_need_lc_CXX" in
13599 # Assume -lc should be added
13600 archive_cmds_need_lc_CXX
=yes
13602 if test "$enable_shared" = yes && test "$GCC" = yes; then
13603 case $archive_cmds_CXX in
13605 # FIXME: we may have to deal with multi-command sequences.
13608 # Test whether the compiler implicitly links with -lc since on some
13609 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13610 # to ld, don't add -lc before -lgcc.
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13612 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13613 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13614 $as_echo_n "(cached) " >&6
13617 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13619 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13620 (eval $ac_compile) 2>&5
13622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13623 test $ac_status = 0; } 2>conftest.err
; then
13626 libobjs
=conftest.
$ac_objext
13628 wl
=$lt_prog_compiler_wl_CXX
13629 pic_flag
=$lt_prog_compiler_pic_CXX
13635 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13636 allow_undefined_flag_CXX
=
13637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13638 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13641 test $ac_status = 0; }
13643 lt_cv_archive_cmds_need_lc_CXX
=no
13645 lt_cv_archive_cmds_need_lc_CXX
=yes
13647 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13649 cat conftest.err
1>&5
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13655 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13656 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13727 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13729 library_names_spec
=
13730 libname_spec
='lib$name'
13734 postuninstall_cmds
=
13738 shlibpath_overrides_runpath
=unknown
13740 dynamic_linker
="$host_os ld.so"
13741 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13742 need_lib_prefix
=unknown
13743 hardcode_into_libs
=no
13745 # when you set need_version to no, make sure it does not cause -set_version
13746 # flags to be left without arguments
13747 need_version
=unknown
13752 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13753 shlibpath_var
=LIBPATH
13755 # AIX 3 has no versioning support, so we append a major version to the name.
13756 soname_spec
='${libname}${release}${shared_ext}$major'
13763 hardcode_into_libs
=yes
13764 if test "$host_cpu" = ia64
; then
13765 # AIX 5 supports IA64
13766 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13767 shlibpath_var
=LD_LIBRARY_PATH
13769 # With GCC up to 2.95.x, collect2 would create an import file
13770 # for dependence libraries. The import file would start with
13771 # the line `#! .'. This would cause the generated library to
13772 # depend on `.', always an invalid library. This was fixed in
13773 # development snapshots of GCC prior to 3.0.
13775 aix4 | aix4.
[01] | aix4.
[01].
*)
13776 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13778 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13781 can_build_shared
=no
13785 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13786 # soname into executable. Probably we can add versioning support to
13787 # collect2, so additional links can be useful in future.
13788 if test "$aix_use_runtimelinking" = yes; then
13789 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13790 # instead of lib<name>.a to let people know that these are not
13791 # typical AIX shared libraries.
13792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13794 # We preserve .a as extension for shared libraries through AIX4.2
13795 # and later when we are not doing run time linking.
13796 library_names_spec
='${libname}${release}.a $libname.a'
13797 soname_spec
='${libname}${release}${shared_ext}$major'
13799 shlibpath_var
=LIBPATH
13806 # Since July 2007 AmigaOS4 officially supports .so libraries.
13807 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13811 library_names_spec
='$libname.ixlibrary $libname.a'
13812 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13813 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'
13819 library_names_spec
='${libname}${shared_ext}'
13820 dynamic_linker
="$host_os ld.so"
13821 shlibpath_var
=LIBRARY_PATH
13827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13828 soname_spec
='${libname}${release}${shared_ext}$major'
13829 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13830 shlibpath_var
=LD_LIBRARY_PATH
13831 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13832 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13833 # the default ld.so.conf also contains /usr/contrib/lib and
13834 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13835 # libtool to hard-code these into programs
13838 cygwin
* | mingw
* | pw32
* | cegcc
*)
13839 version_type
=windows
13844 case $GCC,$host_os in
13845 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13846 library_names_spec
='$libname.dll.a'
13847 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13848 postinstall_cmds
='base_file=`basename \${file}`~
13849 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13850 dldir=$destdir/`dirname \$dlpath`~
13851 test -d \$dldir || mkdir -p \$dldir~
13852 $install_prog $dir/$dlname \$dldir/$dlname~
13853 chmod a+x \$dldir/$dlname~
13854 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13855 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13857 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13858 dlpath=$dir/\$dldll~
13860 shlibpath_overrides_runpath
=yes
13864 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13865 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13869 # MinGW DLLs use traditional 'lib' prefix
13870 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13873 # pw32 DLLs use 'pw' prefix rather than 'lib'
13874 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13880 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13883 dynamic_linker
='Win32 ld.exe'
13884 # FIXME: first we should search . and the directory the executable is in
13888 darwin
* | rhapsody
*)
13889 dynamic_linker
="$host_os dyld"
13890 version_type
=darwin
13893 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13894 soname_spec
='${libname}${release}${major}$shared_ext'
13895 shlibpath_overrides_runpath
=yes
13896 shlibpath_var
=DYLD_LIBRARY_PATH
13897 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13899 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13907 soname_spec
='${libname}${release}${shared_ext}$major'
13908 shlibpath_var
=LD_LIBRARY_PATH
13911 freebsd
* | dragonfly
*)
13912 # DragonFly does not have aout. When/if they implement a new
13913 # versioning mechanism, adjust this.
13914 if test -x /usr
/bin
/objformat
; then
13915 objformat
=`/usr/bin/objformat`
13918 freebsd
[23].
*) objformat
=aout
;;
13919 *) objformat
=elf
;;
13922 version_type
=freebsd-
$objformat
13923 case $version_type in
13925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13930 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13934 shlibpath_var
=LD_LIBRARY_PATH
13937 shlibpath_overrides_runpath
=yes
13939 freebsd3.
[01]* | freebsdelf3.
[01]*)
13940 shlibpath_overrides_runpath
=yes
13941 hardcode_into_libs
=yes
13943 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13944 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13945 shlibpath_overrides_runpath
=no
13946 hardcode_into_libs
=yes
13948 *) # from 4.6 on, and DragonFly
13949 shlibpath_overrides_runpath
=yes
13950 hardcode_into_libs
=yes
13959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13960 soname_spec
='${libname}${release}${shared_ext}$major'
13961 shlibpath_var
=LD_LIBRARY_PATH
13962 hardcode_into_libs
=yes
13969 dynamic_linker
="$host_os runtime_loader"
13970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13971 soname_spec
='${libname}${release}${shared_ext}$major'
13972 shlibpath_var
=LIBRARY_PATH
13973 shlibpath_overrides_runpath
=yes
13974 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13975 hardcode_into_libs
=yes
13978 hpux9
* | hpux10
* | hpux11
*)
13979 # Give a soname corresponding to the major version so that dld.sl refuses to
13980 # link against other versions.
13987 hardcode_into_libs
=yes
13988 dynamic_linker
="$host_os dld.so"
13989 shlibpath_var
=LD_LIBRARY_PATH
13990 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13992 soname_spec
='${libname}${release}${shared_ext}$major'
13993 if test "X$HPUX_IA64_MODE" = X32
; then
13994 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13996 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13998 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14002 hardcode_into_libs
=yes
14003 dynamic_linker
="$host_os dld.sl"
14004 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14005 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14007 soname_spec
='${libname}${release}${shared_ext}$major'
14008 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14009 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14013 dynamic_linker
="$host_os dld.sl"
14014 shlibpath_var
=SHLIB_PATH
14015 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14017 soname_spec
='${libname}${release}${shared_ext}$major'
14020 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14021 postinstall_cmds
='chmod 555 $lib'
14022 # or fails outright, so override atomically:
14023 install_override_mode
=555
14030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14031 soname_spec
='${libname}${release}${shared_ext}$major'
14032 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14033 shlibpath_var
=LD_LIBRARY_PATH
14034 shlibpath_overrides_runpath
=no
14035 hardcode_into_libs
=yes
14038 irix5
* | irix6
* | nonstopux
*)
14040 nonstopux
*) version_type
=nonstopux
;;
14042 if test "$lt_cv_prog_gnu_ld" = yes; then
14050 soname_spec
='${libname}${release}${shared_ext}$major'
14051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14053 irix5
* | nonstopux
*)
14054 libsuff
= shlibsuff
=
14057 case $LD in # libtool.m4 will add one of these switches to LD
14058 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14059 libsuff
= shlibsuff
= libmagic
=32-bit;;
14060 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14061 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14062 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14063 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14064 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14068 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14069 shlibpath_overrides_runpath
=no
14070 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14071 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14072 hardcode_into_libs
=yes
14075 # No shared lib support for Linux oldld, aout, or coff.
14076 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14080 # This must be Linux ELF.
14081 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14086 soname_spec
='${libname}${release}${shared_ext}$major'
14087 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14088 shlibpath_var
=LD_LIBRARY_PATH
14089 shlibpath_overrides_runpath
=no
14091 # Some binutils ld are patched to set DT_RUNPATH
14092 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14093 $as_echo_n "(cached) " >&6
14095 lt_cv_shlibpath_overrides_runpath
=no
14096 save_LDFLAGS
=$LDFLAGS
14097 save_libdir
=$libdir
14098 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14099 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14111 if ac_fn_cxx_try_link
"$LINENO"; then :
14112 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14113 lt_cv_shlibpath_overrides_runpath
=yes
14116 rm -f core conftest.err conftest.
$ac_objext \
14117 conftest
$ac_exeext conftest.
$ac_ext
14118 LDFLAGS
=$save_LDFLAGS
14119 libdir
=$save_libdir
14123 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14125 # This implies no fast_install, which is unacceptable.
14126 # Some rework will be needed to allow for fast_install
14127 # before this can be enabled.
14128 hardcode_into_libs
=yes
14130 # Append ld.so.conf contents to the search path
14131 if test -f /etc
/ld.so.conf
; then
14132 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' ' '`
14133 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14136 # We used to test for /lib/ld.so.1 and disable shared libraries on
14137 # powerpc, because MkLinux only supported shared libraries with the
14138 # GNU dynamic linker. Since this was broken with cross compilers,
14139 # most powerpc-linux boxes support dynamic linking these days and
14140 # people can always --disable-shared, the test was removed, and we
14141 # assume the GNU/Linux dynamic linker is in use.
14142 dynamic_linker
='GNU/Linux ld.so'
14149 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14151 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14152 dynamic_linker
='NetBSD (a.out) ld.so'
14154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14155 soname_spec
='${libname}${release}${shared_ext}$major'
14156 dynamic_linker
='NetBSD ld.elf_so'
14158 shlibpath_var
=LD_LIBRARY_PATH
14159 shlibpath_overrides_runpath
=yes
14160 hardcode_into_libs
=yes
14165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14166 shlibpath_var
=LD_LIBRARY_PATH
14167 shlibpath_overrides_runpath
=yes
14174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14175 soname_spec
='${libname}${release}${shared_ext}$major'
14176 shlibpath_var
=LD_LIBRARY_PATH
14177 shlibpath_overrides_runpath
=no
14178 hardcode_into_libs
=yes
14179 dynamic_linker
='ldqnx.so'
14184 sys_lib_dlsearch_path_spec
="/usr/lib"
14186 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14188 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14189 *) need_version
=no
;;
14191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14192 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14193 shlibpath_var
=LD_LIBRARY_PATH
14194 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14196 openbsd2.
[89] | openbsd2.
[89].
*)
14197 shlibpath_overrides_runpath
=no
14200 shlibpath_overrides_runpath
=yes
14204 shlibpath_overrides_runpath
=yes
14209 libname_spec
='$name'
14212 library_names_spec
='$libname${shared_ext} $libname.a'
14213 dynamic_linker
='OS/2 ld.exe'
14214 shlibpath_var
=LIBPATH
14217 osf3
* | osf4
* | osf5
*)
14221 soname_spec
='${libname}${release}${shared_ext}$major'
14222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14223 shlibpath_var
=LD_LIBRARY_PATH
14224 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14225 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14237 soname_spec
='${libname}${release}${shared_ext}$major'
14238 shlibpath_var
=LD_LIBRARY_PATH
14239 shlibpath_overrides_runpath
=yes
14240 hardcode_into_libs
=yes
14241 # ldd complains unless libraries are executable
14242 postinstall_cmds
='chmod +x $lib'
14247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14248 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14249 shlibpath_var
=LD_LIBRARY_PATH
14250 shlibpath_overrides_runpath
=yes
14251 if test "$with_gnu_ld" = yes; then
14259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14260 soname_spec
='${libname}${release}${shared_ext}$major'
14261 shlibpath_var
=LD_LIBRARY_PATH
14262 case $host_vendor in
14264 shlibpath_overrides_runpath
=no
14266 runpath_var
=LD_RUN_PATH
14274 shlibpath_overrides_runpath
=no
14275 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14281 if test -d /usr
/nec
;then
14283 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14284 soname_spec
='$libname${shared_ext}.$major'
14285 shlibpath_var
=LD_LIBRARY_PATH
14289 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14290 version_type
=freebsd-elf
14293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14294 soname_spec
='${libname}${release}${shared_ext}$major'
14295 shlibpath_var
=LD_LIBRARY_PATH
14296 shlibpath_overrides_runpath
=yes
14297 hardcode_into_libs
=yes
14298 if test "$with_gnu_ld" = yes; then
14299 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14301 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14304 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14308 sys_lib_dlsearch_path_spec
='/usr/lib'
14312 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14317 shlibpath_var
=LD_LIBRARY_PATH
14318 shlibpath_overrides_runpath
=no
14319 hardcode_into_libs
=yes
14324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14325 soname_spec
='${libname}${release}${shared_ext}$major'
14326 shlibpath_var
=LD_LIBRARY_PATH
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14334 $as_echo "$dynamic_linker" >&6; }
14335 test "$dynamic_linker" = no
&& can_build_shared
=no
14337 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14338 if test "$GCC" = yes; then
14339 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14342 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14343 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14345 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14346 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14387 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14388 hardcode_action_CXX
=
14389 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14390 test -n "$runpath_var_CXX" ||
14391 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14393 # We can hardcode non-existent directories.
14394 if test "$hardcode_direct_CXX" != no
&&
14395 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14396 # have to relink, otherwise we might link with an installed library
14397 # when we should be linking with a yet-to-be-installed one
14398 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14399 test "$hardcode_minus_L_CXX" != no
; then
14400 # Linking always hardcodes the temporary library directory.
14401 hardcode_action_CXX
=relink
14403 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14404 hardcode_action_CXX
=immediate
14407 # We cannot hardcode anything, or else we can only hardcode existing
14409 hardcode_action_CXX
=unsupported
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14412 $as_echo "$hardcode_action_CXX" >&6; }
14414 if test "$hardcode_action_CXX" = relink ||
14415 test "$inherit_rpath_CXX" = yes; then
14416 # Fast installation is not supported
14417 enable_fast_install
=no
14418 elif test "$shlibpath_overrides_runpath" = yes ||
14419 test "$enable_shared" = no
; then
14420 # Fast installation is not necessary
14421 enable_fast_install
=needless
14430 fi # test -n "$compiler"
14436 with_gnu_ld
=$lt_save_with_gnu_ld
14437 lt_cv_path_LDCXX
=$lt_cv_path_LD
14438 lt_cv_path_LD
=$lt_save_path_LD
14439 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14440 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14441 fi # test "$_lt_caught_CXX_error" != yes
14444 ac_cpp
='$CPP $CPPFLAGS'
14445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14461 ac_config_commands
="$ac_config_commands libtool"
14466 # Only expand once:
14473 # The cast to long int works around a bug in the HP C Compiler
14474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14476 # This bug is HP SR number 8606223364.
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14478 $as_echo_n "checking size of void *... " >&6; }
14479 if test "${ac_cv_sizeof_void_p+set}" = set; then :
14480 $as_echo_n "(cached) " >&6
14482 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14485 if test "$ac_cv_type_void_p" = yes; then
14486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14488 { as_fn_set_status
77
14489 as_fn_error
"cannot compute sizeof (void *)
14490 See \`config.log' for more details." "$LINENO" 5; }; }
14492 ac_cv_sizeof_void_p
=0
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
14498 $as_echo "$ac_cv_sizeof_void_p" >&6; }
14502 cat >>confdefs.h
<<_ACEOF
14503 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14508 if test "${multilib}" = "yes"; then
14509 multilib_arg
="--enable-multilib"
14514 # Get target configury.
14515 unset TSAN_SUPPORTED
14516 .
${srcdir}/configure.tgt
14517 if test "x$TSAN_SUPPORTED" = "xyes"; then
14518 TSAN_SUPPORTED_TRUE
=
14519 TSAN_SUPPORTED_FALSE
='#'
14521 TSAN_SUPPORTED_TRUE
='#'
14522 TSAN_SUPPORTED_FALSE
=
14527 *-*-darwin*) MAC_INTERPOSE
=true
; enable_static
=no
;;
14528 *) MAC_INTERPOSE
=false
;;
14530 if $MAC_INTERPOSE; then
14531 USING_MAC_INTERPOSE_TRUE
=
14532 USING_MAC_INTERPOSE_FALSE
='#'
14534 USING_MAC_INTERPOSE_TRUE
='#'
14535 USING_MAC_INTERPOSE_FALSE
=
14539 ac_config_files
="$ac_config_files Makefile"
14542 ac_config_files
="$ac_config_files interception/Makefile sanitizer_common/Makefile asan/Makefile"
14545 if test "x$TSAN_SUPPORTED" = "xyes"; then
14546 ac_config_files
="$ac_config_files tsan/Makefile"
14550 cat >confcache
<<\_ACEOF
14551 # This file is a shell script that caches the results of configure
14552 # tests run on this system so they can be shared between configure
14553 # scripts and configure runs, see configure's option --config-cache.
14554 # It is not useful on other systems. If it contains results you don't
14555 # want to keep, you may remove or edit it.
14557 # config.status only pays attention to the cache file if you give it
14558 # the --recheck option to rerun configure.
14560 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14561 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14562 # following values.
14566 # The following way of writing the cache mishandles newlines in values,
14567 # but we know of no workaround that is simple, portable, and efficient.
14568 # So, we kill variables containing newlines.
14569 # Ultrix sh set writes to stderr and can't be redirected directly,
14570 # and sets the high bit in the cache file unless we assign to the vars.
14572 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14573 eval ac_val
=\$
$ac_var
14577 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14578 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14581 _ | IFS | as_nl
) ;; #(
14582 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14583 *) { eval $ac_var=; unset $ac_var;} ;;
14589 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14590 *${as_nl}ac_space
=\
*)
14591 # `set' does not quote correctly, so add quotes: double-quote
14592 # substitution turns \\\\ into \\, and sed turns \\ into \.
14595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14598 # `set' quotes correctly as required by POSIX, so do not add quotes.
14599 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14608 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14610 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14612 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14613 if test -w "$cache_file"; then
14614 test "x$cache_file" != "x/dev/null" &&
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14616 $as_echo "$as_me: updating cache $cache_file" >&6;}
14617 cat confcache
>$cache_file
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14620 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14625 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14626 # Let make expand exec_prefix.
14627 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14629 # Transform confdefs.h into DEFS.
14630 # Protect against shell expansion while executing Makefile rules.
14631 # Protect against Makefile macro expansion.
14633 # If the first sed substitution is executed (which looks for macros that
14634 # take arguments), then branch to the quote section. Otherwise,
14635 # look for a macro that doesn't take arguments.
14645 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14647 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14651 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14664 DEFS
=`sed -n "$ac_script" confdefs.h`
14669 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14670 # 1. Remove the extension, and $U if already installed.
14671 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14672 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14673 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14674 # will be set to the directory where LIBOBJS objects are built.
14675 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14676 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14678 LIBOBJS
=$ac_libobjs
14680 LTLIBOBJS
=$ac_ltlibobjs
14683 if test -n "$EXEEXT"; then
14685 am__EXEEXT_FALSE
='#'
14687 am__EXEEXT_TRUE
='#'
14691 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14692 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14695 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14696 as_fn_error
"conditional \"AMDEP\" was never defined.
14697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14699 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14700 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14703 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14704 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14707 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14708 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
14709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14711 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
14712 as_fn_error
"conditional \"TSAN_SUPPORTED\" was never defined.
14713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14715 if test -z "${USING_MAC_INTERPOSE_TRUE}" && test -z "${USING_MAC_INTERPOSE_FALSE}"; then
14716 as_fn_error
"conditional \"USING_MAC_INTERPOSE\" was never defined.
14717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14720 : ${CONFIG_STATUS=./config.status}
14722 ac_clean_files_save
=$ac_clean_files
14723 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14725 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14727 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14729 # Generated by $as_me.
14730 # Run this file to recreate the current configuration.
14731 # Compiler output produced by configure, useful for debugging
14732 # configure, is in config.log if it exists.
14735 ac_cs_recheck=false
14738 SHELL=\${CONFIG_SHELL-$SHELL}
14741 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14742 ## -------------------- ##
14743 ## M4sh Initialization. ##
14744 ## -------------------- ##
14746 # Be more Bourne compatible
14747 DUALCASE
=1; export DUALCASE
# for MKS sh
14748 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14751 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14752 # is contrary to our usage. Disable this feature.
14753 alias -g '${1+"$@"}'='"$@"'
14754 setopt NO_GLOB_SUBST
14756 case `(set -o) 2>/dev/null` in #(
14768 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14769 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14770 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14771 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14772 # Prefer a ksh shell builtin over an external printf program on Solaris,
14773 # but without wasting forks for bash or zsh.
14774 if test -z "$BASH_VERSION$ZSH_VERSION" \
14775 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14776 as_echo='print
-r --'
14777 as_echo_n='print
-rn --'
14778 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14779 as_echo='printf %s
\n'
14780 as_echo_n='printf %s
'
14782 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14783 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14784 as_echo_n='/usr
/ucb
/echo -n'
14786 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14787 as_echo_n_body='eval
14791 expr "X$arg" : "X\\(.*\\)$as_nl";
14792 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14794 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14796 export as_echo_n_body
14797 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14799 export as_echo_body
14800 as_echo='sh
-c $as_echo_body as_echo
'
14803 # The user is always right.
14804 if test "${PATH_SEPARATOR+set}" != set; then
14806 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14807 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14814 # We need space, tab and new line, in precisely that order. Quoting is
14815 # there to prevent editors from complaining about space-tab.
14816 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14817 # splitting by setting IFS to empty value.)
14820 # Find who we are. Look in the path if we contain no directory separator.
14822 *[\\/]* ) as_myself=$0 ;;
14823 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14824 for as_dir in $PATH
14827 test -z "$as_dir" && as_dir=.
14828 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14834 # We did not find ourselves, most probably we were run as `sh COMMAND'
14835 # in which case we are not to be found in the path.
14836 if test "x$as_myself" = x
; then
14839 if test ! -f "$as_myself"; then
14840 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14844 # Unset variables that we do not need and which cause bugs (e.g. in
14845 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14846 # suppresses any "Segmentation fault" message there. '((' could
14847 # trigger a bug in pdksh 5.2.14.
14848 for as_var
in BASH_ENV ENV MAIL MAILPATH
14849 do eval test x\
${$as_var+set} = xset \
14850 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14863 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14866 # as_fn_error ERROR [LINENO LOG_FD]
14867 # ---------------------------------
14868 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14869 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14870 # script with status $?, using 1 if that was 0.
14873 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14875 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14876 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14878 $as_echo "$as_me: error: $1" >&2
14879 as_fn_exit
$as_status
14883 # as_fn_set_status STATUS
14884 # -----------------------
14885 # Set $? to STATUS, without forking.
14886 as_fn_set_status
()
14889 } # as_fn_set_status
14891 # as_fn_exit STATUS
14892 # -----------------
14893 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14897 as_fn_set_status
$1
14903 # Portably unset VAR.
14906 { eval $1=; unset $1;}
14908 as_unset
=as_fn_unset
14909 # as_fn_append VAR VALUE
14910 # ----------------------
14911 # Append the text in VALUE to the end of the definition contained in VAR. Take
14912 # advantage of any shell optimizations that allow amortized linear growth over
14913 # repeated appends, instead of the typical quadratic growth present in naive
14915 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14916 eval 'as_fn_append ()
14927 # as_fn_arith ARG...
14928 # ------------------
14929 # Perform arithmetic evaluation on the ARGs, and store the result in the
14930 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14931 # must be portable across $(()) and expr.
14932 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14933 eval 'as_fn_arith ()
14940 as_val
=`expr "$@" || test $? -eq 1`
14945 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14946 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14952 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14953 as_basename
=basename
14958 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14964 as_me
=`$as_basename -- "$0" ||
14965 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14966 X"$0" : 'X\(//\)$' \| \
14967 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14969 sed '/^.*\/\([^/][^/]*\)\/*$/{
14983 # Avoid depending upon Character Ranges.
14984 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14985 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14986 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14987 as_cr_digits
='0123456789'
14988 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14990 ECHO_C
= ECHO_N
= ECHO_T
=
14991 case `echo -n x` in #(((((
14993 case `echo 'xy\c'` in
14994 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14996 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15003 rm -f conf$$ conf$$.exe conf$$.
file
15004 if test -d conf$$.dir
; then
15005 rm -f conf$$.dir
/conf$$.
file
15008 mkdir conf$$.dir
2>/dev
/null
15010 if (echo >conf$$.
file) 2>/dev
/null
; then
15011 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15013 # ... but there are two gotchas:
15014 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15015 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15016 # In both cases, we have to default to `cp -p'.
15017 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15019 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15027 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15028 rmdir conf$$.dir
2>/dev
/null
15033 # Create "$as_dir" as a directory, including parents if necessary.
15038 -*) as_dir
=.
/$as_dir;;
15040 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15044 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15045 *) as_qdir
=$as_dir;;
15047 as_dirs
="'$as_qdir' $as_dirs"
15048 as_dir
=`$as_dirname -- "$as_dir" ||
15049 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15050 X"$as_dir" : 'X\(//\)[^/]' \| \
15051 X"$as_dir" : 'X\(//\)$' \| \
15052 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15053 $as_echo X"$as_dir" |
15054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15058 /^X\(\/\/\)[^/].*/{
15071 test -d "$as_dir" && break
15073 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15074 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15078 if mkdir
-p .
2>/dev
/null
; then
15079 as_mkdir_p
='mkdir -p "$as_dir"'
15081 test -d .
/-p && rmdir .
/-p
15085 if test -x / >/dev
/null
2>&1; then
15086 as_test_x
='test -x'
15088 if ls -dL / >/dev
/null
2>&1; then
15095 if test -d "$1"; then
15101 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15102 ???[sx]*):;;*)false;;esac;fi
15106 as_executable_p
=$as_test_x
15108 # Sed expression to map a string onto a valid CPP name.
15109 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15111 # Sed expression to map a string onto a valid variable name.
15112 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15116 ## ----------------------------------- ##
15117 ## Main body of $CONFIG_STATUS script. ##
15118 ## ----------------------------------- ##
15120 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15123 # Save the log message, to keep $0 and so on meaningful, and to
15124 # report actual input values of CONFIG_FILES etc. instead of their
15125 # values after options handling.
15127 This file was extended by package-unused $as_me version-unused, which was
15128 generated by GNU Autoconf 2.64. Invocation command line was
15130 CONFIG_FILES = $CONFIG_FILES
15131 CONFIG_HEADERS = $CONFIG_HEADERS
15132 CONFIG_LINKS = $CONFIG_LINKS
15133 CONFIG_COMMANDS = $CONFIG_COMMANDS
15136 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15141 case $ac_config_files in *"
15142 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15148 # Files that config.status was made for.
15149 config_files="$ac_config_files"
15150 config_commands="$ac_config_commands"
15154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15156 \`$as_me' instantiates files and other configuration actions
15157 from templates according to the current configuration. Unless the files
15158 and actions are specified as TAGs, all are instantiated by default.
15160 Usage: $0 [OPTION]... [TAG]...
15162 -h, --help print this help, then exit
15163 -V, --version print version number and configuration settings, then exit
15164 -q, --quiet, --silent
15165 do not print progress messages
15166 -d, --debug don't remove temporary files
15167 --recheck update $as_me by reconfiguring in the same conditions
15168 --file=FILE[:TEMPLATE]
15169 instantiate the configuration file FILE
15171 Configuration files:
15174 Configuration commands:
15177 Report bugs to <libsanitizer>."
15180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15182 package-unused config.status version-unused
15183 configured by $0, generated by GNU Autoconf 2.64,
15184 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15186 Copyright (C) 2009 Free Software Foundation, Inc.
15187 This config.status script is free software; the Free Software Foundation
15188 gives unlimited permission to copy, distribute and modify it."
15195 test -n "\$AWK" || AWK=awk
15198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15199 # The default lists apply if the user does not specify any file.
15205 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15206 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15217 # Handling of the options.
15218 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15220 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15221 $as_echo "$ac_cs_version"; exit ;;
15222 --debug |
--debu |
--deb |
--de |
--d |
-d )
15224 --file |
--fil |
--fi |
--f )
15227 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15229 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15230 ac_need_defaults
=false
;;
15231 --he |
--h |
--help |
--hel |
-h )
15232 $as_echo "$ac_cs_usage"; exit ;;
15233 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15234 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15237 # This is an error.
15238 -*) as_fn_error
"unrecognized option: \`$1'
15239 Try \`$0 --help' for more information." ;;
15241 *) as_fn_append ac_config_targets
" $1"
15242 ac_need_defaults
=false
;;
15248 ac_configure_extra_args
=
15250 if $ac_cs_silent; then
15252 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15257 if \$ac_cs_recheck; then
15258 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15260 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15261 CONFIG_SHELL='$SHELL'
15262 export CONFIG_SHELL
15267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15271 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15272 ## Running $as_me. ##
15278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15286 with_multisubdir="$with_multisubdir"
15287 with_multisrctop="$with_multisrctop"
15288 with_target_subdir="$with_target_subdir"
15289 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15290 multi_basedir="$multi_basedir"
15291 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15294 GFORTRAN="$GFORTRAN"
15296 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15299 # The HP-UX ksh and POSIX shell print the target directory to stdout
15300 # if CDPATH is set.
15301 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15303 sed_quote_subst='$sed_quote_subst'
15304 double_quote_subst='$double_quote_subst'
15305 delay_variable_subst='$delay_variable_subst'
15306 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15307 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15308 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15309 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15310 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15311 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15312 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15313 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15314 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15315 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15316 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15317 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15318 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15319 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15320 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15321 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15322 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15323 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15324 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15325 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15326 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15327 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15328 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15329 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15330 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15331 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15332 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15333 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15334 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15335 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15336 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15337 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15338 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15339 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15340 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15341 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15342 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15343 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15344 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15345 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15346 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15347 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15348 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15349 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15350 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15351 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15352 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15353 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15354 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"`'
15355 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15356 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15357 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15358 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15359 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15360 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15361 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15362 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15363 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15364 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15365 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15366 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15367 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15368 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15369 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15370 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15371 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15372 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15373 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15374 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15375 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15376 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15377 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15378 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15379 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15380 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15381 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15382 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15383 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15384 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15385 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15386 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15387 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15388 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15389 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15390 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15391 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15392 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15393 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15394 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15395 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15396 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15397 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15398 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15399 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15400 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15401 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15402 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15403 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15404 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15405 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15406 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15407 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15408 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15409 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15410 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15411 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15412 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15413 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15414 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15415 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15416 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15417 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15418 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15419 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15420 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15421 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15422 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15423 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15424 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15425 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15426 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15427 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15428 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15429 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15430 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15431 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15432 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15433 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15434 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15435 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15436 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15437 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15438 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15439 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15440 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15441 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15442 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15443 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15444 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15445 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15446 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15447 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15448 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15449 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15450 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15451 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15452 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15453 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15454 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15455 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15456 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15457 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15458 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15459 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15460 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15461 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15462 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15463 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15464 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15465 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15466 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15467 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15468 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15469 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15470 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15471 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15472 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15473 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15474 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15475 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15476 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15477 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15478 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15479 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15480 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15483 LTCFLAGS='$LTCFLAGS'
15484 compiler='$compiler_DEFAULT'
15486 # A function that is used when there is no print builtin or printf.
15487 func_fallback_echo ()
15489 eval 'cat <<_LTECHO_EOF
15494 # Quote evaled strings.
15508 deplibs_check_method \
15517 lt_cv_sys_global_symbol_pipe \
15518 lt_cv_sys_global_symbol_to_cdecl \
15519 lt_cv_sys_global_symbol_to_c_name_address \
15520 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15521 lt_prog_compiler_no_builtin_flag \
15522 lt_prog_compiler_wl \
15523 lt_prog_compiler_pic \
15524 lt_prog_compiler_static \
15525 lt_cv_prog_compiler_c_o \
15533 export_dynamic_flag_spec \
15534 whole_archive_flag_spec \
15535 compiler_needs_object \
15537 allow_undefined_flag \
15538 no_undefined_flag \
15539 hardcode_libdir_flag_spec \
15540 hardcode_libdir_flag_spec_ld \
15541 hardcode_libdir_separator \
15546 variables_saved_for_relink \
15548 library_names_spec \
15550 install_override_mode \
15554 compiler_lib_search_dirs \
15559 compiler_lib_search_path \
15563 lt_prog_compiler_no_builtin_flag_CXX \
15564 lt_prog_compiler_wl_CXX \
15565 lt_prog_compiler_pic_CXX \
15566 lt_prog_compiler_static_CXX \
15567 lt_cv_prog_compiler_c_o_CXX \
15568 export_dynamic_flag_spec_CXX \
15569 whole_archive_flag_spec_CXX \
15570 compiler_needs_object_CXX \
15572 allow_undefined_flag_CXX \
15573 no_undefined_flag_CXX \
15574 hardcode_libdir_flag_spec_CXX \
15575 hardcode_libdir_flag_spec_ld_CXX \
15576 hardcode_libdir_separator_CXX \
15577 fix_srcfile_path_CXX \
15578 exclude_expsyms_CXX \
15579 include_expsyms_CXX \
15580 file_list_spec_CXX \
15581 compiler_lib_search_dirs_CXX \
15582 predep_objects_CXX \
15583 postdep_objects_CXX \
15586 compiler_lib_search_path_CXX; do
15587 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15588 *[\\\\\\\`\\"\\\$]*)
15589 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15592 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15597 # Double-quote double-evaled strings.
15598 for var in reload_cmds \
15599 old_postinstall_cmds \
15600 old_postuninstall_cmds \
15602 extract_expsyms_cmds \
15603 old_archive_from_new_cmds \
15604 old_archive_from_expsyms_cmds \
15606 archive_expsym_cmds \
15608 module_expsym_cmds \
15609 export_symbols_cmds \
15612 postuninstall_cmds \
15614 sys_lib_search_path_spec \
15615 sys_lib_dlsearch_path_spec \
15617 old_archive_cmds_CXX \
15618 old_archive_from_new_cmds_CXX \
15619 old_archive_from_expsyms_cmds_CXX \
15621 archive_expsym_cmds_CXX \
15623 module_expsym_cmds_CXX \
15624 export_symbols_cmds_CXX \
15625 prelink_cmds_CXX; do
15626 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15627 *[\\\\\\\`\\"\\\$]*)
15628 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15631 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15636 ac_aux_dir='$ac_aux_dir'
15637 xsi_shell='$xsi_shell'
15638 lt_shell_append='$lt_shell_append'
15640 # See if we are running on zsh, and set the options which allow our
15641 # commands through without removal of \ escapes INIT.
15642 if test -n "\${ZSH_VERSION+set}" ; then
15643 setopt NO_GLOB_SUBST
15649 TIMESTAMP='$TIMESTAMP'
15660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15662 # Handling of arguments.
15663 for ac_config_target
in $ac_config_targets
15665 case $ac_config_target in
15666 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15667 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15668 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15669 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15670 "interception/Makefile") CONFIG_FILES
="$CONFIG_FILES interception/Makefile" ;;
15671 "sanitizer_common/Makefile") CONFIG_FILES
="$CONFIG_FILES sanitizer_common/Makefile" ;;
15672 "asan/Makefile") CONFIG_FILES
="$CONFIG_FILES asan/Makefile" ;;
15673 "tsan/Makefile") CONFIG_FILES
="$CONFIG_FILES tsan/Makefile" ;;
15675 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15680 # If the user did not use the arguments to specify the items to instantiate,
15681 # then the envvar interface is used. Set only those that are not.
15682 # We use the long form for the default assignment because of an extremely
15683 # bizarre bug on SunOS 4.1.3.
15684 if $ac_need_defaults; then
15685 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15686 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15689 # Have a temporary directory for convenience. Make it in the build tree
15690 # simply because there is no reason against having it here, and in addition,
15691 # creating and moving files from /tmp can sometimes cause problems.
15692 # Hook for its removal unless debugging.
15693 # Note that there is a small window in which the directory will not be cleaned:
15694 # after its creation but before its name has been assigned to `$tmp'.
15698 trap 'exit_status=$?
15699 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15701 trap 'as_fn_exit 1' 1 2 13 15
15703 # Create a (secure) tmp directory for tmp files.
15706 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15707 test -n "$tmp" && test -d "$tmp"
15710 tmp
=.
/conf$$
-$RANDOM
15711 (umask 077 && mkdir
"$tmp")
15712 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15714 # Set up the scripts for CONFIG_FILES section.
15715 # No need to generate them if there are no CONFIG_FILES.
15716 # This happens for instance with `./config.status config.h'.
15717 if test -n "$CONFIG_FILES"; then
15720 ac_cr
=`echo X | tr X '\015'`
15721 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15722 # But we know of no other shell where ac_cr would be empty at this
15723 # point, so we can use a bashism as a fallback.
15724 if test "x$ac_cr" = x
; then
15725 eval ac_cr
=\$
\'\\r
\'
15727 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15728 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15731 ac_cs_awk_cr
=$ac_cr
15734 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15739 echo "cat >conf$$subs.awk <<_ACEOF" &&
15740 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15742 } >conf$$subs.sh ||
15743 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15744 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15746 for ac_last_try in false false false false false :; do
15747 . ./conf$$subs.sh ||
15748 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15750 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15751 if test $ac_delim_n = $ac_delim_num; then
15753 elif $ac_last_try; then
15754 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15756 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15759 rm -f conf$$subs.sh
15761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15762 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15766 s/^/S["/; s
/!.
*/"]=/
15776 s/\(.\{148\}\).*/\1/
15778 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15783 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15790 s/\(.\{148\}\).*/\1/
15792 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15796 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15801 ' <conf$$subs.awk | sed '
15806 ' >>$CONFIG_STATUS || ac_write_fail=1
15807 rm -f conf$$subs.awk
15808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15810 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15811 for (key in S) S_is_set[key] = 1
15817 nfields = split(line, field, "@
")
15819 len = length(field[1])
15820 for (i = 2; i < nfields; i++) {
15822 keylen = length(key)
15823 if (S_is_set[key]) {
15825 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15826 len += length(value) + length(field[++i])
15837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15838 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15839 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15842 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15843 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15846 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15847 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15848 # trailing colons and then remove the whole line if VPATH becomes empty
15849 # (actually we leave an empty line to preserve line numbers).
15850 if test "x
$srcdir" = x.; then
15851 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15852 s/:*\$(srcdir):*/:/
15853 s/:*\${srcdir}:*/:/
15855 s/^\([^=]*=[ ]*\):*/\1/
15861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15862 fi # test -n "$CONFIG_FILES"
15865 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
15870 :[FHLC]) ac_mode=$ac_tag; continue;;
15872 case $ac_mode$ac_tag in
15874 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15875 :[FH]-) ac_tag=-:-;;
15876 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15893 -) ac_f="$tmp/stdin";;
15894 *) # Look for the file first in the build tree, then in the source tree
15895 # (if the path is not absolute). The absolute path cannot be DOS-style,
15896 # because $ac_f cannot contain `:'.
15900 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15902 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15904 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15905 as_fn_append ac_file_inputs " '$ac_f'"
15908 # Let's still pretend it is `configure' which instantiates (i.e., don't
15909 # use $as_me), people would be surprised to read:
15910 # /* config.h. Generated by config.status. */
15911 configure_input='Generated from '`
15912 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15914 if test x"$ac_file" != x-; then
15915 configure_input="$ac_file.
$configure_input"
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15917 $as_echo "$as_me: creating
$ac_file" >&6;}
15919 # Neutralize special characters interpreted by sed in replacement strings.
15920 case $configure_input in #(
15921 *\&* | *\|* | *\\* )
15922 ac_sed_conf_input=`$as_echo "$configure_input" |
15923 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15924 *) ac_sed_conf_input=$configure_input;;
15928 *:-:* | *:-) cat >"$tmp/stdin
" \
15929 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15934 ac_dir=`$as_dirname -- "$ac_file" ||
15935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15936 X"$ac_file" : 'X\(//\)[^/]' \| \
15937 X"$ac_file" : 'X\(//\)$' \| \
15938 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15939 $as_echo X"$ac_file" |
15940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15944 /^X\(\/\/\)[^/].*/{
15957 as_dir="$ac_dir"; as_fn_mkdir_p
15961 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15963 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15964 # A "..
" for each directory in $ac_dir_suffix.
15965 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15966 case $ac_top_builddir_sub in
15967 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15968 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15971 ac_abs_top_builddir=$ac_pwd
15972 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15973 # for backward compatibility:
15974 ac_top_builddir=$ac_top_build_prefix
15977 .) # We are building in place.
15979 ac_top_srcdir=$ac_top_builddir_sub
15980 ac_abs_top_srcdir=$ac_pwd ;;
15981 [\\/]* | ?:[\\/]* ) # Absolute name.
15982 ac_srcdir=$srcdir$ac_dir_suffix;
15983 ac_top_srcdir=$srcdir
15984 ac_abs_top_srcdir=$srcdir ;;
15985 *) # Relative name.
15986 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15987 ac_top_srcdir=$ac_top_build_prefix$srcdir
15988 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15990 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16000 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16001 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16003 ac_MKDIR_P=$MKDIR_P
16005 [\\/$]* | ?:[\\/]* ) ;;
16006 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16011 # If the template does not know about datarootdir, expand it.
16012 # FIXME: This hack should be removed a few years after 2.60.
16013 ac_datarootdir_hack=; ac_datarootdir_seen=
16024 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16025 *datarootdir*) ac_datarootdir_seen=yes;;
16026 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16028 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16031 ac_datarootdir_hack='
16032 s&@datadir@&$datadir&g
16033 s&@docdir@&$docdir&g
16034 s&@infodir@&$infodir&g
16035 s&@localedir@&$localedir&g
16036 s&@mandir@&$mandir&g
16037 s&\\\${datarootdir}&$datarootdir&g' ;;
16041 # Neutralize VPATH when `$srcdir' = `.'.
16042 # Shell code in configure.ac might set extrasub.
16043 # FIXME: do we really want to maintain this feature?
16044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16045 ac_sed_extra="$ac_vpsub
16048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16050 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16051 s|@configure_input@|
$ac_sed_conf_input|
;t t
16052 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16053 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16054 s
&@srcdir@
&$ac_srcdir&;t t
16055 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16056 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16057 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16058 s
&@builddir@
&$ac_builddir&;t t
16059 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16060 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16061 s
&@INSTALL@
&$ac_INSTALL&;t t
16062 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16063 $ac_datarootdir_hack
16065 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16066 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16068 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16069 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16070 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16072 which seems to be undefined. Please make sure it is defined." >&5
16073 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16074 which seems to be undefined. Please make sure it is defined." >&2;}
16078 -) cat "$tmp/out" && rm -f "$tmp/out";;
16079 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16081 || as_fn_error "could not create $ac_file" "$LINENO" 5
16085 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16086 $as_echo "$as_me: executing $ac_file commands" >&6;}
16091 case $ac_file$ac_mode in
16093 # Only add multilib support code if we just rebuilt the top-level
16095 case " $CONFIG_FILES " in
16097 ac_file=Makefile . ${multi_basedir}/config-ml.in
16100 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16101 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16102 # are listed without --file. Let's play safe and only
enable the
eval
16103 # if we detect the quoting.
16104 case $CONFIG_FILES in
16105 *\'*) eval set x
"$CONFIG_FILES" ;;
16106 *) set x
$CONFIG_FILES ;;
16111 # Strip MF so we end up with the name of the file.
16112 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16113 # Check whether this is an Automake generated Makefile or not.
16114 # We used to match only the files named `Makefile.in', but
16115 # some people rename them; so instead we look at the file content.
16116 # Grep'ing the first line is not enough: some people post-process
16117 # each Makefile.in and add a new line on top of each file to say so.
16118 # Grep'ing the whole file is not good either: AIX grep has a line
16119 # limit of 2048, but all sed's we know have understand at least 4000.
16120 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16121 dirpart
=`$as_dirname -- "$mf" ||
16122 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16123 X"$mf" : 'X\(//\)[^/]' \| \
16124 X"$mf" : 'X\(//\)$' \| \
16125 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16131 /^X\(\/\/\)[^/].*/{
16147 # Extract the definition of DEPDIR, am__include, and am__quote
16148 # from the Makefile without running `make'.
16149 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16150 test -z "$DEPDIR" && continue
16151 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16152 test -z "am__include" && continue
16153 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16154 # When using ansi2knr, U may be empty or an underscore; expand it
16155 U
=`sed -n 's/^U = //p' < "$mf"`
16156 # Find all dependency output files, they are included files with
16157 # $(DEPDIR) in their names. We invoke sed twice because it is the
16158 # simplest approach to changing $(DEPDIR) to its actual value in the
16160 for file in `sed -n "
16161 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16162 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16163 # Make sure the directory exists.
16164 test -f "$dirpart/$file" && continue
16165 fdir
=`$as_dirname -- "$file" ||
16166 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16167 X"$file" : 'X\(//\)[^/]' \| \
16168 X"$file" : 'X\(//\)$' \| \
16169 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16170 $as_echo X"$file" |
16171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16175 /^X\(\/\/\)[^/].*/{
16188 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16189 # echo "creating $dirpart/$file"
16190 echo '# dummy' > "$dirpart/$file"
16197 # See if we are running on zsh, and set the options which allow our
16198 # commands through without removal of \ escapes.
16199 if test -n "${ZSH_VERSION+set}" ; then
16200 setopt NO_GLOB_SUBST
16203 cfgfile
="${ofile}T"
16204 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16207 cat <<_LT_EOF >> "$cfgfile"
16210 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16211 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16212 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16213 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16215 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16216 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16217 # Written by Gordon Matzigkeit, 1996
16219 # This file is part of GNU Libtool.
16221 # GNU Libtool is free software; you can redistribute it and/or
16222 # modify it under the terms of the GNU General Public License as
16223 # published by the Free Software Foundation; either version 2 of
16224 # the License, or (at your option) any later version.
16226 # As a special exception to the GNU General Public License,
16227 # if you distribute this file as part of a program or library that
16228 # is built using GNU Libtool, you may include this file under the
16229 # same distribution terms that you use for the rest of that program.
16231 # GNU Libtool is distributed in the hope that it will be useful,
16232 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16233 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16234 # GNU General Public License for more details.
16236 # You should have received a copy of the GNU General Public License
16237 # along with GNU Libtool; see the file COPYING. If not, a copy
16238 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16239 # obtained by writing to the Free Software Foundation, Inc.,
16240 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16243 # The names of the tagged configurations supported by this script.
16244 available_tags="CXX "
16246 # ### BEGIN LIBTOOL CONFIG
16248 # Which release of libtool.m4 was used?
16249 macro_version=$macro_version
16250 macro_revision=$macro_revision
16252 # Whether or not to build shared libraries.
16253 build_libtool_libs=$enable_shared
16255 # Whether or not to build static libraries.
16256 build_old_libs=$enable_static
16258 # What type of objects to build.
16261 # Whether or not to optimize for fast installation.
16262 fast_install=$enable_fast_install
16264 # Shell to use when invoking shell scripts.
16267 # An echo program that protects backslashes.
16271 host_alias=$host_alias
16275 # The build system.
16276 build_alias=$build_alias
16280 # A sed program that does not truncate output.
16283 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16284 Xsed="\$SED -e 1s/^X//"
16286 # A grep program that handles long lines.
16292 # A literal string matcher.
16295 # A BSD- or MS-compatible name lister.
16298 # Whether we need soft or hard links.
16301 # What is the maximum length of a command?
16302 max_cmd_len=$max_cmd_len
16304 # Object file suffix (normally "o").
16307 # Executable file suffix (normally "").
16310 # whether the shell understands "unset".
16313 # turn spaces into newlines.
16316 # turn newlines into spaces.
16319 # An object symbol dumper.
16320 OBJDUMP=$lt_OBJDUMP
16322 # Method to check whether dependent libraries are shared objects.
16323 deplibs_check_method=$lt_deplibs_check_method
16325 # Command to use when deplibs_check_method == "file_magic".
16326 file_magic_cmd=$lt_file_magic_cmd
16330 AR_FLAGS=$lt_AR_FLAGS
16332 # A symbol stripping program.
16335 # Commands used to install an old-style archive.
16337 old_postinstall_cmds=$lt_old_postinstall_cmds
16338 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16340 # Whether to use a lock for old archive extraction.
16341 lock_old_archive_extraction=$lock_old_archive_extraction
16346 # LTCC compiler flags.
16347 LTCFLAGS=$lt_CFLAGS
16349 # Take the output of nm and produce a listing of raw symbols and C names.
16350 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16352 # Transform the output of nm in a proper C declaration.
16353 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16355 # Transform the output of nm in a C name address pair.
16356 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16358 # Transform the output of nm in a C name address pair when lib prefix is needed.
16359 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16361 # The name of the directory that contains temporary libtool files.
16364 # Used to examine libraries when file_magic_cmd begins with "file".
16365 MAGIC_CMD=$MAGIC_CMD
16367 # Must we lock files when doing compilation?
16368 need_locks=$lt_need_locks
16370 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16371 DSYMUTIL=$lt_DSYMUTIL
16373 # Tool to change global to local symbols on Mac OS X.
16376 # Tool to manipulate fat objects and archives on Mac OS X.
16379 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16382 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16383 OTOOL64=$lt_OTOOL64
16385 # Old archive suffix (normally "a").
16388 # Shared library suffix (normally ".so").
16389 shrext_cmds=$lt_shrext_cmds
16391 # The commands to extract the exported symbol list from a shared archive.
16392 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16394 # Variables whose values should be saved in libtool wrapper scripts and
16395 # restored at link time.
16396 variables_saved_for_relink=$lt_variables_saved_for_relink
16398 # Do we need the "lib" prefix for modules?
16399 need_lib_prefix=$need_lib_prefix
16401 # Do we need a version for libraries?
16402 need_version=$need_version
16404 # Library versioning type.
16405 version_type=$version_type
16407 # Shared library runtime path variable.
16408 runpath_var=$runpath_var
16410 # Shared library path variable.
16411 shlibpath_var=$shlibpath_var
16413 # Is shlibpath searched before the hard-coded library search path?
16414 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16416 # Format of library name prefix.
16417 libname_spec=$lt_libname_spec
16419 # List of archive names. First name is the real one, the rest are links.
16420 # The last name is the one that the linker finds with -lNAME
16421 library_names_spec=$lt_library_names_spec
16423 # The coded name of the library, if different from the real name.
16424 soname_spec=$lt_soname_spec
16426 # Permission mode override for installation of shared libraries.
16427 install_override_mode=$lt_install_override_mode
16429 # Command to use after installation of a shared archive.
16430 postinstall_cmds=$lt_postinstall_cmds
16432 # Command to use after uninstallation of a shared archive.
16433 postuninstall_cmds=$lt_postuninstall_cmds
16435 # Commands used to finish a libtool library installation in a directory.
16436 finish_cmds=$lt_finish_cmds
16438 # As "finish_cmds", except a single script fragment to be evaled but
16440 finish_eval=$lt_finish_eval
16442 # Whether we should hardcode library paths into libraries.
16443 hardcode_into_libs=$hardcode_into_libs
16445 # Compile-time system search path for libraries.
16446 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16448 # Run-time system search path for libraries.
16449 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16451 # Whether dlopen is supported.
16452 dlopen_support=$enable_dlopen
16454 # Whether dlopen of programs is supported.
16455 dlopen_self=$enable_dlopen_self
16457 # Whether dlopen of statically linked programs is supported.
16458 dlopen_self_static=$enable_dlopen_self_static
16460 # Commands to strip libraries.
16461 old_striplib=$lt_old_striplib
16462 striplib=$lt_striplib
16465 # The linker used to build libraries.
16468 # How to create reloadable object files.
16469 reload_flag=$lt_reload_flag
16470 reload_cmds=$lt_reload_cmds
16472 # Commands used to build an old-style archive.
16473 old_archive_cmds=$lt_old_archive_cmds
16475 # A language specific compiler.
16478 # Is the compiler the GNU compiler?
16481 # Compiler flag to turn off builtin functions.
16482 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16484 # How to pass a linker flag through the compiler.
16485 wl=$lt_lt_prog_compiler_wl
16487 # Additional compiler flags for building library objects.
16488 pic_flag=$lt_lt_prog_compiler_pic
16490 # Compiler flag to prevent dynamic linking.
16491 link_static_flag=$lt_lt_prog_compiler_static
16493 # Does compiler simultaneously support -c and -o options?
16494 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16496 # Whether or not to add -lc for building shared libraries.
16497 build_libtool_need_lc=$archive_cmds_need_lc
16499 # Whether or not to disallow shared libs when runtime libs are static.
16500 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16502 # Compiler flag to allow reflexive dlopens.
16503 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16505 # Compiler flag to generate shared objects directly from archives.
16506 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16508 # Whether the compiler copes with passing no objects directly.
16509 compiler_needs_object=$lt_compiler_needs_object
16511 # Create an old-style archive from a shared archive.
16512 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16514 # Create a temporary old-style archive to link instead of a shared archive.
16515 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16517 # Commands used to build a shared archive.
16518 archive_cmds=$lt_archive_cmds
16519 archive_expsym_cmds=$lt_archive_expsym_cmds
16521 # Commands used to build a loadable module if different from building
16522 # a shared archive.
16523 module_cmds=$lt_module_cmds
16524 module_expsym_cmds=$lt_module_expsym_cmds
16526 # Whether we are building with GNU ld or not.
16527 with_gnu_ld=$lt_with_gnu_ld
16529 # Flag that allows shared libraries with undefined symbols to be built.
16530 allow_undefined_flag=$lt_allow_undefined_flag
16532 # Flag that enforces no undefined symbols.
16533 no_undefined_flag=$lt_no_undefined_flag
16535 # Flag to hardcode \$libdir into a binary during linking.
16536 # This must work even if \$libdir does not exist
16537 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16539 # If ld is used when linking, flag to hardcode \$libdir into a binary
16540 # during linking. This must work even if \$libdir does not exist.
16541 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16543 # Whether we need a single "-rpath" flag with a separated argument.
16544 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16546 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16547 # DIR into the resulting binary.
16548 hardcode_direct=$hardcode_direct
16550 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16551 # DIR into the resulting binary and the resulting library dependency is
16552 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16553 # library is relocated.
16554 hardcode_direct_absolute=$hardcode_direct_absolute
16556 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16557 # into the resulting binary.
16558 hardcode_minus_L=$hardcode_minus_L
16560 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16561 # into the resulting binary.
16562 hardcode_shlibpath_var=$hardcode_shlibpath_var
16564 # Set to "yes" if building a shared library automatically hardcodes DIR
16565 # into the library and all subsequent libraries and executables linked
16567 hardcode_automatic=$hardcode_automatic
16569 # Set to yes if linker adds runtime paths of dependent libraries
16570 # to runtime path list.
16571 inherit_rpath=$inherit_rpath
16573 # Whether libtool must link a program against all its dependency libraries.
16574 link_all_deplibs=$link_all_deplibs
16576 # Fix the shell variable \$srcfile for the compiler.
16577 fix_srcfile_path=$lt_fix_srcfile_path
16579 # Set to "yes" if exported symbols are required.
16580 always_export_symbols=$always_export_symbols
16582 # The commands to list exported symbols.
16583 export_symbols_cmds=$lt_export_symbols_cmds
16585 # Symbols that should not be listed in the preloaded symbols.
16586 exclude_expsyms=$lt_exclude_expsyms
16588 # Symbols that must always be exported.
16589 include_expsyms=$lt_include_expsyms
16591 # Commands necessary for linking programs (against libraries) with templates.
16592 prelink_cmds=$lt_prelink_cmds
16594 # Specify filename containing input files.
16595 file_list_spec=$lt_file_list_spec
16597 # How to hardcode a shared library path into an executable.
16598 hardcode_action=$hardcode_action
16600 # The directories searched by this compiler when creating a shared library.
16601 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16603 # Dependencies to place before and after the objects being linked to
16604 # create a shared library.
16605 predep_objects=$lt_predep_objects
16606 postdep_objects=$lt_postdep_objects
16607 predeps=$lt_predeps
16608 postdeps=$lt_postdeps
16610 # The library search path used internally by the compiler when linking
16611 # a shared library.
16612 compiler_lib_search_path=$lt_compiler_lib_search_path
16614 # ### END LIBTOOL CONFIG
16620 cat <<\_LT_EOF
>> "$cfgfile"
16621 # AIX sometimes has problems with the GCC collect2 program. For some
16622 # reason, if we set the COLLECT_NAMES environment variable, the problems
16623 # vanish in a puff of smoke.
16624 if test "X${COLLECT_NAMES+set}" != Xset
; then
16626 export COLLECT_NAMES
16633 ltmain
="$ac_aux_dir/ltmain.sh"
16636 # We use sed instead of cat because bash on DJGPP gets confused if
16637 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16638 # text mode, it properly converts lines to CR/LF. This bash problem
16639 # is reportedly fixed, but why not run on old versions too?
16640 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16641 ||
(rm -f "$cfgfile"; exit 1)
16645 cat << \_LT_EOF
>> "$cfgfile"
16647 # func_dirname file append nondir_replacement
16648 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16649 # otherwise set result to NONDIR_REPLACEMENT.
16653 */*) func_dirname_result
="${1%/*}${2}" ;;
16654 * ) func_dirname_result
="${3}" ;;
16658 # func_basename file
16661 func_basename_result
="${1##*/}"
16664 # func_dirname_and_basename file append nondir_replacement
16665 # perform func_basename and func_dirname in a single function
16667 # dirname: Compute the dirname of FILE. If nonempty,
16668 # add APPEND to the result, otherwise set result
16669 # to NONDIR_REPLACEMENT.
16670 # value returned in "$func_dirname_result"
16671 # basename: Compute filename of FILE.
16672 # value retuned in "$func_basename_result"
16673 # Implementation must be kept synchronized with func_dirname
16674 # and func_basename. For efficiency, we do not delegate to
16675 # those functions but instead duplicate the functionality here.
16676 func_dirname_and_basename
()
16679 */*) func_dirname_result
="${1%/*}${2}" ;;
16680 * ) func_dirname_result
="${3}" ;;
16682 func_basename_result
="${1##*/}"
16685 # func_stripname prefix suffix name
16686 # strip PREFIX and SUFFIX off of NAME.
16687 # PREFIX and SUFFIX must not contain globbing or regex special
16688 # characters, hashes, percent signs, but SUFFIX may contain a leading
16689 # dot (in which case that matches only a dot).
16692 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16693 # positional parameters, so assign one to ordinary parameter first.
16694 func_stripname_result
=${3}
16695 func_stripname_result
=${func_stripname_result#"${1}"}
16696 func_stripname_result
=${func_stripname_result%"${2}"}
16702 func_opt_split_opt
=${1%%=*}
16703 func_opt_split_arg
=${1#*=}
16710 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16711 *) func_lo2o_result
=${1} ;;
16715 # func_xform libobj-or-source
16718 func_xform_result
=${1%.*}.lo
16721 # func_arith arithmetic-term...
16724 func_arith_result
=$
(( $
* ))
16728 # STRING may not start with a hyphen.
16731 func_len_result
=${#1}
16736 *) # Bourne compatible functions.
16737 cat << \_LT_EOF
>> "$cfgfile"
16739 # func_dirname file append nondir_replacement
16740 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16741 # otherwise set result to NONDIR_REPLACEMENT.
16744 # Extract subdirectory from the argument.
16745 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16746 if test "X$func_dirname_result" = "X${1}"; then
16747 func_dirname_result
="${3}"
16749 func_dirname_result
="$func_dirname_result${2}"
16753 # func_basename file
16756 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16760 # func_stripname prefix suffix name
16761 # strip PREFIX and SUFFIX off of NAME.
16762 # PREFIX and SUFFIX must not contain globbing or regex special
16763 # characters, hashes, percent signs, but SUFFIX may contain a leading
16764 # dot (in which case that matches only a dot).
16765 # func_strip_suffix prefix name
16769 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16770 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16775 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16776 my_sed_long_arg
='1s/^-[^=]*=//'
16781 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16782 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16788 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16791 # func_xform libobj-or-source
16794 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16797 # func_arith arithmetic-term...
16800 func_arith_result
=`expr "$@"`
16804 # STRING may not start with a hyphen.
16807 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16813 case $lt_shell_append in
16815 cat << \_LT_EOF
>> "$cfgfile"
16817 # func_append var value
16818 # Append VALUE to the end of shell variable VAR.
16826 cat << \_LT_EOF
>> "$cfgfile"
16828 # func_append var value
16829 # Append VALUE to the end of shell variable VAR.
16840 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16841 ||
(rm -f "$cfgfile"; exit 1)
16843 mv -f "$cfgfile" "$ofile" ||
16844 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16848 cat <<_LT_EOF >> "$ofile"
16850 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16852 # The linker used to build libraries.
16855 # How to create reloadable object files.
16856 reload_flag=$lt_reload_flag_CXX
16857 reload_cmds=$lt_reload_cmds_CXX
16859 # Commands used to build an old-style archive.
16860 old_archive_cmds=$lt_old_archive_cmds_CXX
16862 # A language specific compiler.
16863 CC=$lt_compiler_CXX
16865 # Is the compiler the GNU compiler?
16868 # Compiler flag to turn off builtin functions.
16869 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16871 # How to pass a linker flag through the compiler.
16872 wl=$lt_lt_prog_compiler_wl_CXX
16874 # Additional compiler flags for building library objects.
16875 pic_flag=$lt_lt_prog_compiler_pic_CXX
16877 # Compiler flag to prevent dynamic linking.
16878 link_static_flag=$lt_lt_prog_compiler_static_CXX
16880 # Does compiler simultaneously support -c and -o options?
16881 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16883 # Whether or not to add -lc for building shared libraries.
16884 build_libtool_need_lc=$archive_cmds_need_lc_CXX
16886 # Whether or not to disallow shared libs when runtime libs are static.
16887 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16889 # Compiler flag to allow reflexive dlopens.
16890 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16892 # Compiler flag to generate shared objects directly from archives.
16893 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16895 # Whether the compiler copes with passing no objects directly.
16896 compiler_needs_object=$lt_compiler_needs_object_CXX
16898 # Create an old-style archive from a shared archive.
16899 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16901 # Create a temporary old-style archive to link instead of a shared archive.
16902 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16904 # Commands used to build a shared archive.
16905 archive_cmds=$lt_archive_cmds_CXX
16906 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16908 # Commands used to build a loadable module if different from building
16909 # a shared archive.
16910 module_cmds=$lt_module_cmds_CXX
16911 module_expsym_cmds=$lt_module_expsym_cmds_CXX
16913 # Whether we are building with GNU ld or not.
16914 with_gnu_ld=$lt_with_gnu_ld_CXX
16916 # Flag that allows shared libraries with undefined symbols to be built.
16917 allow_undefined_flag=$lt_allow_undefined_flag_CXX
16919 # Flag that enforces no undefined symbols.
16920 no_undefined_flag=$lt_no_undefined_flag_CXX
16922 # Flag to hardcode \$libdir into a binary during linking.
16923 # This must work even if \$libdir does not exist
16924 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16926 # If ld is used when linking, flag to hardcode \$libdir into a binary
16927 # during linking. This must work even if \$libdir does not exist.
16928 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16930 # Whether we need a single "-rpath" flag with a separated argument.
16931 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16933 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16934 # DIR into the resulting binary.
16935 hardcode_direct=$hardcode_direct_CXX
16937 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16938 # DIR into the resulting binary and the resulting library dependency is
16939 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16940 # library is relocated.
16941 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
16943 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16944 # into the resulting binary.
16945 hardcode_minus_L=$hardcode_minus_L_CXX
16947 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16948 # into the resulting binary.
16949 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16951 # Set to "yes" if building a shared library automatically hardcodes DIR
16952 # into the library and all subsequent libraries and executables linked
16954 hardcode_automatic=$hardcode_automatic_CXX
16956 # Set to yes if linker adds runtime paths of dependent libraries
16957 # to runtime path list.
16958 inherit_rpath=$inherit_rpath_CXX
16960 # Whether libtool must link a program against all its dependency libraries.
16961 link_all_deplibs=$link_all_deplibs_CXX
16963 # Fix the shell variable \$srcfile for the compiler.
16964 fix_srcfile_path=$lt_fix_srcfile_path_CXX
16966 # Set to "yes" if exported symbols are required.
16967 always_export_symbols=$always_export_symbols_CXX
16969 # The commands to list exported symbols.
16970 export_symbols_cmds=$lt_export_symbols_cmds_CXX
16972 # Symbols that should not be listed in the preloaded symbols.
16973 exclude_expsyms=$lt_exclude_expsyms_CXX
16975 # Symbols that must always be exported.
16976 include_expsyms=$lt_include_expsyms_CXX
16978 # Commands necessary for linking programs (against libraries) with templates.
16979 prelink_cmds=$lt_prelink_cmds_CXX
16981 # Specify filename containing input files.
16982 file_list_spec=$lt_file_list_spec_CXX
16984 # How to hardcode a shared library path into an executable.
16985 hardcode_action=$hardcode_action_CXX
16987 # The directories searched by this compiler when creating a shared library.
16988 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16990 # Dependencies to place before and after the objects being linked to
16991 # create a shared library.
16992 predep_objects=$lt_predep_objects_CXX
16993 postdep_objects=$lt_postdep_objects_CXX
16994 predeps=$lt_predeps_CXX
16995 postdeps=$lt_postdeps_CXX
16997 # The library search path used internally by the compiler when linking
16998 # a shared library.
16999 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17001 # ### END LIBTOOL TAG CONFIG: CXX
17005 "interception/Makefile":F
) cat > vpsed$$
<< \_EOF
17006 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17008 sed -f vpsed$$
$ac_file > tmp$$
17011 echo 'MULTISUBDIR =' >> $ac_file
17013 .
${multi_basedir}/config-ml.
in
17014 { ml_norecursion
=; unset ml_norecursion
;}
17016 "sanitizer_common/Makefile":F
) cat > vpsed$$
<< \_EOF
17017 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17019 sed -f vpsed$$
$ac_file > tmp$$
17022 echo 'MULTISUBDIR =' >> $ac_file
17024 .
${multi_basedir}/config-ml.
in
17025 { ml_norecursion
=; unset ml_norecursion
;}
17027 "asan/Makefile":F
) cat > vpsed$$
<< \_EOF
17028 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17030 sed -f vpsed$$
$ac_file > tmp$$
17033 echo 'MULTISUBDIR =' >> $ac_file
17035 .
${multi_basedir}/config-ml.
in
17036 { ml_norecursion
=; unset ml_norecursion
;}
17038 "tsan/Makefile":F
) cat > vpsed$$
<< \_EOF
17039 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17041 sed -f vpsed$$
$ac_file > tmp$$
17044 echo 'MULTISUBDIR =' >> $ac_file
17046 .
${multi_basedir}/config-ml.
in
17047 { ml_norecursion
=; unset ml_norecursion
;}
17056 ac_clean_files
=$ac_clean_files_save
17058 test $ac_write_fail = 0 ||
17059 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17062 # configure is writing to config.log, and then calls config.status.
17063 # config.status does its own redirection, appending to config.log.
17064 # Unfortunately, on DOS this fails, as config.log is still kept open
17065 # by configure, so config.status won't be able to write to it; its
17066 # output is simply discarded. So we exec the FD to /dev/null,
17067 # effectively closing config.log, so it can be properly (re)opened and
17068 # appended to by config.status. When coming back to configure, we
17069 # need to make the FD available again.
17070 if test "$no_create" != yes; then
17072 ac_config_status_args
=
17073 test "$silent" = yes &&
17074 ac_config_status_args
="$ac_config_status_args --quiet"
17076 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17078 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17079 # would make configure fail if this is the last instruction.
17080 $ac_cs_success || as_fn_exit $?
17082 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17084 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}