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
639 am__fastdepCCAS_FALSE
669 MAINTAINER_MODE_FALSE
680 INSTALL_STRIP_PROGRAM
695 LIBSTDCXX_RAW_CXX_LDFLAGS
696 LIBSTDCXX_RAW_CXX_CXXFLAGS
737 program_transform_name
750 enable_option_checking
751 enable_version_specific_runtime_libs
753 enable_maintainer_mode
754 enable_dependency_tracking
762 ac_precious_vars
='build_alias
779 # Initialize some variables set by options.
781 ac_init_version
=false
782 ac_unrecognized_opts
=
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
793 program_transform_name
=s
,x
,x
,
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir
='${exec_prefix}/bin'
808 sbindir
='${exec_prefix}/sbin'
809 libexecdir
='${exec_prefix}/libexec'
810 datarootdir
='${prefix}/share'
811 datadir
='${datarootdir}'
812 sysconfdir
='${prefix}/etc'
813 sharedstatedir
='${prefix}/com'
814 localstatedir
='${prefix}/var'
815 includedir
='${prefix}/include'
816 oldincludedir
='/usr/include'
817 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir
='${datarootdir}/info'
823 libdir
='${exec_prefix}/lib'
824 localedir
='${datarootdir}/locale'
825 mandir
='${datarootdir}/man'
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\
$ac_option
839 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
843 # Accept the important Cygnus configure options, so we can diagnose typos.
845 case $ac_dashdash$ac_option in
849 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
851 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
854 -build |
--build |
--buil |
--bui |
--bu)
855 ac_prev
=build_alias
;;
856 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
857 build_alias
=$ac_optarg ;;
859 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
860 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
861 ac_prev
=cache_file
;;
862 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
863 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
864 cache_file
=$ac_optarg ;;
867 cache_file
=config.cache
;;
869 -datadir |
--datadir |
--datadi |
--datad)
871 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
872 datadir
=$ac_optarg ;;
874 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
875 |
--dataroo |
--dataro |
--datar)
876 ac_prev
=datarootdir
;;
877 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
878 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
879 datarootdir
=$ac_optarg ;;
881 -disable-* |
--disable-*)
882 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
885 as_fn_error
"invalid feature name: $ac_useropt"
886 ac_useropt_orig
=$ac_useropt
887 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888 case $ac_user_opts in
892 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
893 ac_unrecognized_sep
=', ';;
895 eval enable_
$ac_useropt=no
;;
897 -docdir |
--docdir |
--docdi |
--doc |
--do)
899 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
902 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
904 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
907 -enable-* |
--enable-*)
908 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
909 # Reject names that are not valid shell variable names.
910 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
911 as_fn_error
"invalid feature name: $ac_useropt"
912 ac_useropt_orig
=$ac_useropt
913 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
914 case $ac_user_opts in
918 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
919 ac_unrecognized_sep
=', ';;
921 eval enable_
$ac_useropt=\
$ac_optarg ;;
923 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
924 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
925 |
--exec |
--exe |
--ex)
926 ac_prev
=exec_prefix
;;
927 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
928 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
929 |
--exec=* |
--exe=* |
--ex=*)
930 exec_prefix
=$ac_optarg ;;
932 -gas |
--gas |
--ga |
--g)
933 # Obsolete; use --with-gas.
936 -help |
--help |
--hel |
--he |
-h)
938 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
939 ac_init_help
=recursive
;;
940 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
941 ac_init_help
=short
;;
943 -host |
--host |
--hos |
--ho)
944 ac_prev
=host_alias
;;
945 -host=* |
--host=* |
--hos=* |
--ho=*)
946 host_alias
=$ac_optarg ;;
948 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
950 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
952 htmldir
=$ac_optarg ;;
954 -includedir |
--includedir |
--includedi |
--included |
--include \
955 |
--includ |
--inclu |
--incl |
--inc)
956 ac_prev
=includedir
;;
957 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
958 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
959 includedir
=$ac_optarg ;;
961 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
963 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
964 infodir
=$ac_optarg ;;
966 -libdir |
--libdir |
--libdi |
--libd)
968 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
971 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
972 |
--libexe |
--libex |
--libe)
973 ac_prev
=libexecdir
;;
974 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
975 |
--libexe=* |
--libex=* |
--libe=*)
976 libexecdir
=$ac_optarg ;;
978 -localedir |
--localedir |
--localedi |
--localed |
--locale)
980 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
981 localedir
=$ac_optarg ;;
983 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
984 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
985 ac_prev
=localstatedir
;;
986 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
987 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
988 localstatedir
=$ac_optarg ;;
990 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
992 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
996 # Obsolete; use --without-fp.
999 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1000 |
--no-cr |
--no-c |
-n)
1003 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1004 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1007 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1008 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1009 |
--oldin |
--oldi |
--old |
--ol |
--o)
1010 ac_prev
=oldincludedir
;;
1011 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1012 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1013 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1014 oldincludedir
=$ac_optarg ;;
1016 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1018 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1019 prefix
=$ac_optarg ;;
1021 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1022 |
--program-pre |
--program-pr |
--program-p)
1023 ac_prev
=program_prefix
;;
1024 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1025 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1026 program_prefix
=$ac_optarg ;;
1028 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1029 |
--program-suf |
--program-su |
--program-s)
1030 ac_prev
=program_suffix
;;
1031 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1032 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1033 program_suffix
=$ac_optarg ;;
1035 -program-transform-name |
--program-transform-name \
1036 |
--program-transform-nam |
--program-transform-na \
1037 |
--program-transform-n |
--program-transform- \
1038 |
--program-transform |
--program-transfor \
1039 |
--program-transfo |
--program-transf \
1040 |
--program-trans |
--program-tran \
1041 |
--progr-tra |
--program-tr |
--program-t)
1042 ac_prev
=program_transform_name
;;
1043 -program-transform-name=* |
--program-transform-name=* \
1044 |
--program-transform-nam=* |
--program-transform-na=* \
1045 |
--program-transform-n=* |
--program-transform-=* \
1046 |
--program-transform=* |
--program-transfor=* \
1047 |
--program-transfo=* |
--program-transf=* \
1048 |
--program-trans=* |
--program-tran=* \
1049 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1050 program_transform_name
=$ac_optarg ;;
1052 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1054 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1055 pdfdir
=$ac_optarg ;;
1057 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1059 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1062 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1063 |
-silent |
--silent |
--silen |
--sile |
--sil)
1066 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1068 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1070 sbindir
=$ac_optarg ;;
1072 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1073 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1074 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1076 ac_prev
=sharedstatedir
;;
1077 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1078 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1079 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1081 sharedstatedir
=$ac_optarg ;;
1083 -site |
--site |
--sit)
1085 -site=* |
--site=* |
--sit=*)
1088 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1090 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1091 srcdir
=$ac_optarg ;;
1093 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1094 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1095 ac_prev
=sysconfdir
;;
1096 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1097 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1098 sysconfdir
=$ac_optarg ;;
1100 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1101 ac_prev
=target_alias
;;
1102 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1103 target_alias
=$ac_optarg ;;
1105 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1108 -version |
--version |
--versio |
--versi |
--vers |
-V)
1109 ac_init_version
=: ;;
1112 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1115 as_fn_error
"invalid package name: $ac_useropt"
1116 ac_useropt_orig
=$ac_useropt
1117 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1123 ac_unrecognized_sep
=', ';;
1125 eval with_
$ac_useropt=\
$ac_optarg ;;
1127 -without-* |
--without-*)
1128 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1131 as_fn_error
"invalid package name: $ac_useropt"
1132 ac_useropt_orig
=$ac_useropt
1133 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1138 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1139 ac_unrecognized_sep
=', ';;
1141 eval with_
$ac_useropt=no
;;
1144 # Obsolete; use --with-x.
1147 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1148 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1149 ac_prev
=x_includes
;;
1150 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1151 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1152 x_includes
=$ac_optarg ;;
1154 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1155 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1156 ac_prev
=x_libraries
;;
1157 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1158 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1159 x_libraries
=$ac_optarg ;;
1161 -*) as_fn_error
"unrecognized option: \`$ac_option'
1162 Try \`$0 --help' for more information."
1166 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1167 # Reject names that are not valid shell variable names.
1168 case $ac_envvar in #(
1169 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1170 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1172 eval $ac_envvar=\
$ac_optarg
1173 export $ac_envvar ;;
1176 # FIXME: should be removed in autoconf 3.0.
1177 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1178 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1179 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1180 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1186 if test -n "$ac_prev"; then
1187 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1188 as_fn_error
"missing argument to $ac_option"
1191 if test -n "$ac_unrecognized_opts"; then
1192 case $enable_option_checking in
1194 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1195 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199 # Check all directory arguments for consistency.
1200 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1201 datadir sysconfdir sharedstatedir localstatedir includedir \
1202 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1203 libdir localedir mandir
1205 eval ac_val
=\$
$ac_var
1206 # Remove trailing slashes.
1209 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1210 eval $ac_var=\
$ac_val;;
1212 # Be sure to have absolute directory names.
1214 [\\/$
]* | ?
:[\\/]* ) continue;;
1215 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1217 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1220 # There might be people who depend on the old broken behavior: `$host'
1221 # used to hold the argument of --host etc.
1222 # FIXME: To remove some day.
1225 target
=$target_alias
1227 # FIXME: To remove some day.
1228 if test "x$host_alias" != x
; then
1229 if test "x$build_alias" = x
; then
1230 cross_compiling
=maybe
1231 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1232 If a cross compiler is detected then cross compile mode will be used." >&2
1233 elif test "x$build_alias" != "x$host_alias"; then
1239 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1241 test "$silent" = yes && exec 6>/dev
/null
1244 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1245 ac_ls_di
=`ls -di .` &&
1246 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1247 as_fn_error
"working directory cannot be determined"
1248 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1249 as_fn_error
"pwd does not report name of working directory"
1252 # Find the source files, if location was not specified.
1253 if test -z "$srcdir"; then
1254 ac_srcdir_defaulted
=yes
1255 # Try the directory containing this script, then the parent directory.
1256 ac_confdir
=`$as_dirname -- "$as_myself" ||
1257 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1258 X"$as_myself" : 'X\(//\)[^/]' \| \
1259 X"$as_myself" : 'X\(//\)$' \| \
1260 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1261 $as_echo X"$as_myself" |
1262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1280 if test ! -r "$srcdir/$ac_unique_file"; then
1284 ac_srcdir_defaulted
=no
1286 if test ! -r "$srcdir/$ac_unique_file"; then
1287 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1288 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1290 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1292 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1294 # When building in place, set srcdir=.
1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
1298 # Remove unnecessary trailing slashes from srcdir.
1299 # Double slashes in file names in object file debugging info
1300 # mess up M-x gdb in Emacs.
1302 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 for ac_var
in $ac_precious_vars; do
1305 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1306 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1307 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1308 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1312 # Report the --help message.
1314 if test "$ac_init_help" = "long"; then
1315 # Omit some internal or obsolete options to make the list less imposing.
1316 # This message is too long to be a string in the A/UX 3.1 sh.
1318 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1320 Usage: $0 [OPTION]... [VAR=VALUE]...
1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1323 VAR=VALUE. See below for descriptions of some of the useful variables.
1325 Defaults for the options are specified in brackets.
1328 -h, --help display this help and exit
1329 --help=short display options specific to this package
1330 --help=recursive display the short help of all the included packages
1331 -V, --version display version information and exit
1332 -q, --quiet, --silent do not print \`checking...' messages
1333 --cache-file=FILE cache test results in FILE [disabled]
1334 -C, --config-cache alias for \`--cache-file=config.cache'
1335 -n, --no-create do not create output files
1336 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338 Installation directories:
1339 --prefix=PREFIX install architecture-independent files in PREFIX
1340 [$ac_default_prefix]
1341 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1344 By default, \`make install' will install all the files in
1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1347 for instance \`--prefix=\$HOME'.
1349 For better control, use the options below.
1351 Fine tuning of the installation directories:
1352 --bindir=DIR user executables [EPREFIX/bin]
1353 --sbindir=DIR system admin executables [EPREFIX/sbin]
1354 --libexecdir=DIR program executables [EPREFIX/libexec]
1355 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1356 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1357 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1358 --libdir=DIR object code libraries [EPREFIX/lib]
1359 --includedir=DIR C header files [PREFIX/include]
1360 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1361 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1362 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1363 --infodir=DIR info documentation [DATAROOTDIR/info]
1364 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1365 --mandir=DIR man documentation [DATAROOTDIR/man]
1366 --docdir=DIR documentation root [DATAROOTDIR/doc/package-unused]
1367 --htmldir=DIR html documentation [DOCDIR]
1368 --dvidir=DIR dvi documentation [DOCDIR]
1369 --pdfdir=DIR pdf documentation [DOCDIR]
1370 --psdir=DIR ps documentation [DOCDIR]
1376 --program-prefix=PREFIX prepend PREFIX to installed program names
1377 --program-suffix=SUFFIX append SUFFIX to installed program names
1378 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1381 --build=BUILD configure
for building on BUILD
[guessed
]
1382 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1383 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1387 if test -n "$ac_init_help"; then
1388 case $ac_init_help in
1389 short | recursive
) echo "Configuration of package-unused version-unused:";;
1394 --disable-option-checking ignore unrecognized
--enable/--with options
1395 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1396 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1397 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1398 --enable-multilib build many library versions
(default
)
1399 --enable-maintainer-mode enable make rules and dependencies not useful
1400 (and sometimes confusing
) to the casual installer
1401 --disable-dependency-tracking speeds up one-time build
1402 --enable-dependency-tracking do not reject slow dependency extractors
1403 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1404 --enable-static[=PKGS
] build static libraries
[default
=yes]
1405 --enable-fast-install[=PKGS
]
1406 optimize
for fast installation
[default
=yes]
1407 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1410 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1411 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1412 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1414 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1416 Some influential environment variables
:
1417 CC C compiler
command
1418 CFLAGS C compiler flags
1419 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1420 nonstandard directory
<lib dir
>
1421 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1422 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1423 you have headers
in a nonstandard directory
<include dir
>
1424 CXX C
++ compiler
command
1425 CXXFLAGS C
++ compiler flags
1426 CCAS assembler compiler
command (defaults to CC
)
1427 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1429 CXXCPP C
++ preprocessor
1431 Use these variables to override the choices made by
`configure' or to help
1432 it to find libraries and programs with nonstandard names/locations.
1434 Report bugs to <libsanitizer>.
1439 if test "$ac_init_help" = "recursive"; then
1440 # If there are subdirs, report their specific --help.
1441 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1442 test -d "$ac_dir" ||
1443 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1448 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1451 # A ".." for each directory in $ac_dir_suffix.
1452 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1453 case $ac_top_builddir_sub in
1454 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1455 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1458 ac_abs_top_builddir=$ac_pwd
1459 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1460 # for backward compatibility:
1461 ac_top_builddir=$ac_top_build_prefix
1464 .) # We are building in place.
1466 ac_top_srcdir=$ac_top_builddir_sub
1467 ac_abs_top_srcdir=$ac_pwd ;;
1468 [\\/]* | ?:[\\/]* ) # Absolute name.
1469 ac_srcdir=$srcdir$ac_dir_suffix;
1470 ac_top_srcdir=$srcdir
1471 ac_abs_top_srcdir=$srcdir ;;
1473 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1474 ac_top_srcdir=$ac_top_build_prefix$srcdir
1475 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1477 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1479 cd "$ac_dir" || { ac_status=$?; continue; }
1480 # Check for guested configure.
1481 if test -f "$ac_srcdir/configure.gnu"; then
1483 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1484 elif test -f "$ac_srcdir/configure"; then
1486 $SHELL "$ac_srcdir/configure" --help=recursive
1488 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1490 cd "$ac_pwd" || { ac_status=$?; break; }
1494 test -n "$ac_init_help" && exit $ac_status
1495 if $ac_init_version; then
1497 package-unused configure version-unused
1498 generated by GNU Autoconf 2.64
1500 Copyright (C) 2009 Free Software Foundation, Inc.
1501 This configure script is free software; the Free Software Foundation
1502 gives unlimited permission to copy, distribute and modify it.
1507 ## ------------------------ ##
1508 ## Autoconf initialization. ##
1509 ## ------------------------ ##
1511 # ac_fn_c_try_compile LINENO
1512 # --------------------------
1513 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1514 ac_fn_c_try_compile ()
1516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1517 rm -f conftest.$ac_objext
1518 if { { ac_try="$ac_compile"
1520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1521 *) ac_try_echo
=$ac_try;;
1523 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1524 $as_echo "$ac_try_echo"; } >&5
1525 (eval "$ac_compile") 2>conftest.err
1527 if test -s conftest.err
; then
1528 grep -v '^ *+' conftest.err
>conftest.er1
1529 cat conftest.er1
>&5
1530 mv -f conftest.er1 conftest.err
1532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1533 test $ac_status = 0; } && {
1534 test -z "$ac_c_werror_flag" ||
1535 test ! -s conftest.err
1536 } && test -s conftest.
$ac_objext; then :
1539 $as_echo "$as_me: failed program was:" >&5
1540 sed 's/^/| /' conftest.
$ac_ext >&5
1544 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1547 } # ac_fn_c_try_compile
1549 # ac_fn_cxx_try_compile LINENO
1550 # ----------------------------
1551 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1552 ac_fn_cxx_try_compile
()
1554 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1555 rm -f conftest.
$ac_objext
1556 if { { ac_try
="$ac_compile"
1558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1559 *) ac_try_echo=$ac_try;;
1561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1562 $as_echo "$ac_try_echo"; } >&5
1563 (eval "$ac_compile") 2>conftest.err
1565 if test -s conftest.err; then
1566 grep -v '^ *+' conftest.err >conftest.er1
1567 cat conftest.er1 >&5
1568 mv -f conftest.er1 conftest.err
1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571 test $ac_status = 0; } && {
1572 test -z "$ac_cxx_werror_flag" ||
1573 test ! -s conftest.err
1574 } && test -s conftest.$ac_objext; then :
1577 $as_echo "$as_me: failed program was:" >&5
1578 sed 's/^/| /' conftest.$ac_ext >&5
1582 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1585 } # ac_fn_cxx_try_compile
1587 # ac_fn_c_try_link LINENO
1588 # -----------------------
1589 # Try to link conftest.$ac_ext, and return whether this succeeded.
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext conftest$ac_exeext
1594 if { { ac_try="$ac_link"
1596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1597 *) ac_try_echo
=$ac_try;;
1599 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_link") 2>conftest.err
1603 if test -s conftest.err
; then
1604 grep -v '^ *+' conftest.err
>conftest.er1
1605 cat conftest.er1
>&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest
$ac_exeext && {
1613 test "$cross_compiling" = yes ||
1614 $as_test_x conftest
$ac_exeext
1618 $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.
$ac_ext >&5
1623 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1624 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1625 # interfere with the next link command; also delete a directory that is
1626 # left behind by Apple's compiler. We do this before executing the actions.
1627 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1628 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1631 } # ac_fn_c_try_link
1633 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1634 # -------------------------------------------------------
1635 # Tests whether HEADER exists and can be compiled using the include files in
1636 # INCLUDES, setting the cache variable VAR accordingly.
1637 ac_fn_c_check_header_compile
()
1639 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1641 $as_echo_n "checking for $2... " >&6; }
1642 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1643 $as_echo_n "(cached) " >&6
1645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1650 if ac_fn_c_try_compile
"$LINENO"; then :
1655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1659 $as_echo "$ac_res" >&6; }
1660 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1662 } # ac_fn_c_check_header_compile
1664 # ac_fn_c_try_cpp LINENO
1665 # ----------------------
1666 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1669 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1670 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1673 *) ac_try_echo=$ac_try;;
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1679 if test -s conftest.err; then
1680 grep -v '^ *+' conftest.err >conftest.er1
1681 cat conftest.er1 >&5
1682 mv -f conftest.er1 conftest.err
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } >/dev/null && {
1686 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1687 test ! -s conftest.err
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1696 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701 # ac_fn_c_try_run LINENO
1702 # ----------------------
1703 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1704 # that executables *can* be run.
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 if { { ac_try="$ac_link"
1710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1711 *) ac_try_echo
=$ac_try;;
1713 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_link") 2>&5
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1719 { { case "(($ac_try" in
1720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_try") 2>&5
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; }; }; then :
1731 $as_echo "$as_me: program exited with status $ac_status" >&5
1732 $as_echo "$as_me: failed program was:" >&5
1733 sed 's/^/| /' conftest.$ac_ext >&5
1735 ac_retval=$ac_status
1737 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743 # ac_fn_c_check_func LINENO FUNC VAR
1744 # ----------------------------------
1745 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1746 ac_fn_c_check_func ()
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1752 $as_echo_n "(cached) " >&6
1754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755 /* end confdefs.h. */
1756 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1758 #define $2 innocuous_$2
1760 /* System header to define __stub macros and hopefully few prototypes,
1761 which can conflict with char $2 (); below.
1762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1763 <limits.h> exists even on freestanding compilers. */
1766 # include <limits.h>
1768 # include <assert.h>
1773 /* Override any GCC internal prototype to avoid an error.
1774 Use char because int might match the return type of a GCC
1775 builtin and then its argument prototype would still apply. */
1780 /* The GNU C library defines this for functions which it implements
1781 to always fail with ENOSYS. Some functions are actually named
1782 something starting with __ and the normal name is an alias. */
1783 #if defined __stub_$2 || defined __stub___$2
1795 if ac_fn_c_try_link "$LINENO"; then :
1800 rm -f core conftest.err conftest.$ac_objext \
1801 conftest$ac_exeext conftest.$ac_ext
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805 $as_echo "$ac_res" >&6; }
1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1808 } # ac_fn_c_check_func
1810 # ac_fn_cxx_try_cpp LINENO
1811 # ------------------------
1812 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1813 ac_fn_cxx_try_cpp ()
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 if { { ac_try="$ac_cpp conftest.$ac_ext"
1818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1819 *) ac_try_echo
=$ac_try;;
1821 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822 $as_echo "$ac_try_echo"; } >&5
1823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1825 if test -s conftest.err
; then
1826 grep -v '^ *+' conftest.err
>conftest.er1
1827 cat conftest.er1
>&5
1828 mv -f conftest.er1 conftest.err
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; } >/dev
/null
&& {
1832 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1833 test ! -s conftest.err
1837 $as_echo "$as_me: failed program was:" >&5
1838 sed 's/^/| /' conftest.
$ac_ext >&5
1842 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1845 } # ac_fn_cxx_try_cpp
1847 # ac_fn_cxx_try_link LINENO
1848 # -------------------------
1849 # Try to link conftest.$ac_ext, and return whether this succeeded.
1850 ac_fn_cxx_try_link
()
1852 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1853 rm -f conftest.
$ac_objext conftest
$ac_exeext
1854 if { { ac_try
="$ac_link"
1856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_link") 2>conftest.err
1863 if test -s conftest.err; then
1864 grep -v '^ *+' conftest.err >conftest.er1
1865 cat conftest.er1 >&5
1866 mv -f conftest.er1 conftest.err
1868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869 test $ac_status = 0; } && {
1870 test -z "$ac_cxx_werror_flag" ||
1871 test ! -s conftest.err
1872 } && test -s conftest$ac_exeext && {
1873 test "$cross_compiling" = yes ||
1874 $as_test_x conftest$ac_exeext
1878 $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1883 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1884 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1885 # interfere with the next link command; also delete a directory that is
1886 # left behind by Apple's compiler. We do this before executing the actions.
1887 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1888 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1891 } # ac_fn_cxx_try_link
1893 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1894 # --------------------------------------------
1895 # Tries to find the compile-time value of EXPR in a program that includes
1896 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1898 ac_fn_c_compute_int ()
1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901 if test "$cross_compiling" = yes; then
1902 # Depending upon the size, compute the lo and hi bounds.
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1909 static int test_array [1 - 2 * !(($2) >= 0)];
1916 if ac_fn_c_try_compile "$LINENO"; then :
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1925 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1932 if ac_fn_c_try_compile "$LINENO"; then :
1933 ac_hi=$ac_mid; break
1935 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1936 if test $ac_lo -le $ac_mid; then
1940 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1951 static int test_array [1 - 2 * !(($2) < 0)];
1958 if ac_fn_c_try_compile "$LINENO"; then :
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1967 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1974 if ac_fn_c_try_compile "$LINENO"; then :
1975 ac_lo=$ac_mid; break
1977 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1978 if test $ac_mid -le $ac_hi; then
1982 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1992 # Binary search between lo and hi bounds.
1993 while test "x$ac_lo" != "x$ac_hi"; do
1994 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
2001 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2008 if ac_fn_c_try_compile "$LINENO"; then :
2011 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2023 static long int longval () { return $2; }
2024 static unsigned long int ulongval () { return $2; }
2031 FILE *f = fopen ("conftest.val", "w");
2036 long int i = longval ();
2039 fprintf (f, "%ld", i);
2043 unsigned long int i = ulongval ();
2046 fprintf (f, "%lu", i);
2048 /* Do not output a trailing newline, as this causes \r\n confusion
2049 on some platforms. */
2050 return ferror (f) || fclose (f) != 0;
2056 if ac_fn_c_try_run "$LINENO"; then :
2057 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2062 conftest.$ac_objext conftest.beam conftest.$ac_ext
2066 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2069 } # ac_fn_c_compute_int
2070 cat >config.log <<_ACEOF
2071 This file contains any messages produced by compilers while
2072 running configure, to aid debugging if configure makes a mistake.
2074 It was created by package-unused $as_me version-unused, which was
2075 generated by GNU Autoconf 2.64. Invocation command line was
2087 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2088 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2089 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2090 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2091 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2093 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2094 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2096 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2097 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2098 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2099 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2100 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2101 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2102 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 test -z "$as_dir" && as_dir=.
2111 $as_echo "PATH: $as_dir"
2127 # Keep a trace of the command line.
2128 # Strip out --no-create and --no-recursion so they do not pile up.
2129 # Strip out --silent because we don't want to record it for future runs.
2130 # Also quote any args containing shell meta-characters.
2131 # Make two passes to allow for proper duplicate-argument suppression.
2135 ac_must_keep_next=false
2141 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2143 | -silent | --silent | --silen | --sile | --sil)
2146 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2149 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2151 as_fn_append ac_configure_args1 " '$ac_arg'"
2152 if test $ac_must_keep_next = true; then
2153 ac_must_keep_next=false # Got value, back to normal.
2156 *=* | --config-cache | -C | -disable-* | --disable-* \
2157 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2158 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2159 | -with-* | --with-* | -without-* | --without-* | --x)
2160 case "$ac_configure_args0 " in
2161 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2164 -* ) ac_must_keep_next=true ;;
2167 as_fn_append ac_configure_args " '$ac_arg'"
2172 { ac_configure_args0=; unset ac_configure_args0;}
2173 { ac_configure_args1=; unset ac_configure_args1;}
2175 # When interrupted or exit'd, cleanup temporary files, and complete
2176 # config.log. We remove comments because anyway the quotes in there
2177 # would cause problems or look ugly.
2178 # WARNING: Use '\'' to represent an apostrophe within the trap.
2179 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2180 trap 'exit_status=$?
2181 # Save into config.log some information that might help in debugging.
2186 ## ---------------- ##
2187 ## Cache variables. ##
2188 ## ---------------- ##
2191 # The following way of writing the cache mishandles newlines in values,
2193 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2194 eval ac_val=\$$ac_var
2198 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2199 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2202 _ | IFS | as_nl) ;; #(
2203 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2204 *) { eval $ac_var=; unset $ac_var;} ;;
2209 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2210 *${as_nl}ac_space=\ *)
2212 "s/'\''/'\''\\\\'\'''\''/g;
2213 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2216 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2224 ## ----------------- ##
2225 ## Output variables. ##
2226 ## ----------------- ##
2229 for ac_var in $ac_subst_vars
2231 eval ac_val=\$$ac_var
2233 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2235 $as_echo "$ac_var='\''$ac_val'\''"
2239 if test -n "$ac_subst_files"; then
2241 ## ------------------- ##
2242 ## File substitutions. ##
2243 ## ------------------- ##
2246 for ac_var in $ac_subst_files
2248 eval ac_val=\$$ac_var
2250 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2252 $as_echo "$ac_var='\''$ac_val'\''"
2257 if test -s confdefs.h; then
2267 test "$ac_signal" != 0 &&
2268 $as_echo "$as_me: caught signal $ac_signal"
2269 $as_echo "$as_me: exit $exit_status"
2271 rm -f core *.core core.conftest.* &&
2272 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2275 for ac_signal in 1 2 13 15; do
2276 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2280 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2281 rm -f -r conftest* confdefs.h
2283 $as_echo "/* confdefs.h */" > confdefs.h
2285 # Predefined preprocessor variables.
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_NAME "$PACKAGE_NAME"
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2295 cat >>confdefs.h <<_ACEOF
2296 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2299 cat >>confdefs.h <<_ACEOF
2300 #define PACKAGE_STRING "$PACKAGE_STRING"
2303 cat >>confdefs.h <<_ACEOF
2304 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2307 cat >>confdefs.h <<_ACEOF
2308 #define PACKAGE_URL "$PACKAGE_URL"
2312 # Let the site file select an alternate cache file if it wants to.
2313 # Prefer an explicitly selected file to automatically selected ones.
2316 if test -n "$CONFIG_SITE"; then
2317 ac_site_file1=$CONFIG_SITE
2318 elif test "x$prefix" != xNONE; then
2319 ac_site_file1=$prefix/share/config.site
2320 ac_site_file2=$prefix/etc/config.site
2322 ac_site_file1=$ac_default_prefix/share/config.site
2323 ac_site_file2=$ac_default_prefix/etc/config.site
2325 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2327 test "x$ac_site_file" = xNONE && continue
2328 if test -r "$ac_site_file"; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2330 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2331 sed 's/^/| /' "$ac_site_file" >&5
2336 if test -r "$cache_file"; then
2337 # Some versions of bash will fail to source /dev/null (special
2338 # files actually), so we avoid doing that.
2339 if test -f "$cache_file"; then
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2341 $as_echo "$as_me: loading cache $cache_file" >&6;}
2343 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2344 *) . "./$cache_file";;
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2349 $as_echo "$as_me: creating cache $cache_file" >&6;}
2353 # Check that the precious variables saved in the cache have kept the same
2355 ac_cache_corrupted=false
2356 for ac_var in $ac_precious_vars; do
2357 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2358 eval ac_new_set=\$ac_env_${ac_var}_set
2359 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2360 eval ac_new_val=\$ac_env_${ac_var}_value
2361 case $ac_old_set,$ac_new_set in
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2364 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2365 ac_cache_corrupted=: ;;
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2368 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2369 ac_cache_corrupted=: ;;
2372 if test "x$ac_old_val" != "x$ac_new_val"; then
2373 # differences in whitespace do not lead to failure.
2374 ac_old_val_w=`echo x
$ac_old_val`
2375 ac_new_val_w=`echo x
$ac_new_val`
2376 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2378 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2379 ac_cache_corrupted=:
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2382 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2383 eval $ac_var=\$ac_old_val
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2386 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2388 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2391 # Pass precious variables to config.status.
2392 if test "$ac_new_set" = set; then
2394 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2395 *) ac_arg=$ac_var=$ac_new_val ;;
2397 case " $ac_configure_args " in
2398 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2399 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2403 if $ac_cache_corrupted; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2407 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2408 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2410 ## -------------------- ##
2411 ## Main body of script. ##
2412 ## -------------------- ##
2415 ac_cpp='$CPP $CPPFLAGS'
2416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2427 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2428 # Check whether --enable-version-specific-runtime-libs was given.
2429 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2430 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2431 yes) version_specific_libs=yes ;;
2432 no) version_specific_libs=no ;;
2433 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2436 version_specific_libs=no
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2440 $as_echo "$version_specific_libs" >&6; }
2442 # Do not delete or change the following two lines. For why, see
2443 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2445 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2446 for ac_t in install-sh install.sh shtool; do
2447 if test -f "$ac_dir/$ac_t"; then
2449 ac_install_sh="$ac_aux_dir/$ac_t -c"
2454 if test -z "$ac_aux_dir"; then
2455 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2458 # These three variables are undocumented and unsupported,
2459 # and are intended to be withdrawn in a future Autoconf release.
2460 # They can cause serious problems if a builder's source tree is in a directory
2461 # whose full name contains unusual characters.
2462 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2463 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2464 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2467 # Make sure we can run config.sub.
2468 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2469 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2472 $as_echo_n "checking build system type... " >&6; }
2473 if test "${ac_cv_build+set}" = set; then :
2474 $as_echo_n "(cached) " >&6
2476 ac_build_alias=$build_alias
2477 test "x$ac_build_alias" = x &&
2478 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2479 test "x$ac_build_alias" = x &&
2480 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2481 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2482 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2486 $as_echo "$ac_cv_build" >&6; }
2487 case $ac_cv_build in
2489 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2492 ac_save_IFS=$IFS; IFS='-'
2498 # Remember, the first character of IFS is used to create $*,
2499 # except with old shells:
2502 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2506 $as_echo_n "checking host system type... " >&6; }
2507 if test "${ac_cv_host+set}" = set; then :
2508 $as_echo_n "(cached) " >&6
2510 if test "x$host_alias" = x; then
2511 ac_cv_host=$ac_cv_build
2513 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2514 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2519 $as_echo "$ac_cv_host" >&6; }
2522 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2525 ac_save_IFS=$IFS; IFS='-'
2531 # Remember, the first character of IFS is used to create $*,
2532 # except with old shells:
2535 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2539 $as_echo_n "checking target system type... " >&6; }
2540 if test "${ac_cv_target+set}" = set; then :
2541 $as_echo_n "(cached) " >&6
2543 if test "x$target_alias" = x; then
2544 ac_cv_target=$ac_cv_host
2546 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2547 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2552 $as_echo "$ac_cv_target" >&6; }
2553 case $ac_cv_target in
2555 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2557 target=$ac_cv_target
2558 ac_save_IFS=$IFS; IFS='-'
2564 # Remember, the first character of IFS is used to create $*,
2565 # except with old shells:
2568 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2571 # The aliases save the names the user supplied, while $host etc.
2572 # will get canonicalized.
2573 test -n "$target_alias" &&
2574 test "$program_prefix$program_suffix$program_transform_name" = \
2576 program_prefix=${target_alias}-
2578 target_alias=${target_alias-$host_alias}
2580 case ${build_alias} in
2581 "") build_noncanonical=${build} ;;
2582 *) build_noncanonical=${build_alias} ;;
2585 case ${host_alias} in
2586 "") host_noncanonical=${build_noncanonical} ;;
2587 *) host_noncanonical=${host_alias} ;;
2590 case ${target_alias} in
2591 "") target_noncanonical=${host_noncanonical} ;;
2592 *) target_noncanonical=${target_alias} ;;
2599 LIBSTDCXX_RAW_CXX_CXXFLAGS="\
2600 -I\$(top_builddir)/../libstdc++-v3/include \
2601 -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
2602 -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
2603 LIBSTDCXX_RAW_CXX_LDFLAGS="\
2604 \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
2609 am__api_version='1.11'
2611 # Find a good install program. We prefer a C program (faster),
2612 # so one script is as good as another. But avoid the broken or
2613 # incompatible versions:
2614 # SysV /etc/install, /usr/sbin/install
2615 # SunOS /usr/etc/install
2616 # IRIX /sbin/install
2618 # AmigaOS /C/install, which installs bootblocks on floppy discs
2619 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2620 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2621 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2622 # OS/2's system install, which has a completely different semantic
2623 # ./install, which can be erroneously created by make from ./install.sh.
2624 # Reject install programs that cannot install multiple files.
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2626 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2627 if test -z "$INSTALL"; then
2628 if test "${ac_cv_path_install+set}" = set; then :
2629 $as_echo_n "(cached) " >&6
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir=.
2636 # Account for people who put trailing slashes in PATH elements.
2637 case $as_dir/ in #((
2638 ./ | .// | /[cC]/* | \
2639 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2640 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2643 # OSF1 and SCO ODT 3.0 have their own names for install.
2644 # Don't use installbsd from OSF since it installs stuff as root
2646 for ac_prog in ginstall scoinst install; do
2647 for ac_exec_ext in '' $ac_executable_extensions; do
2648 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2649 if test $ac_prog = install &&
2650 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2651 # AIX install. It has an incompatible calling convention.
2653 elif test $ac_prog = install &&
2654 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2655 # program-specific install script used by HP pwplus--don't use.
2658 rm -rf conftest.one conftest.two conftest.dir
2659 echo one > conftest.one
2660 echo two > conftest.two
2662 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2663 test -s conftest.one && test -s conftest.two &&
2664 test -s conftest.dir/conftest.one &&
2665 test -s conftest.dir/conftest.two
2667 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2680 rm -rf conftest.one conftest.two conftest.dir
2683 if test "${ac_cv_path_install+set}" = set; then
2684 INSTALL=$ac_cv_path_install
2686 # As a last resort, use the slow shell script. Don't cache a
2687 # value for INSTALL within a source directory, because that will
2688 # break other packages using the cache if that directory is
2689 # removed, or if the value is a relative name.
2690 INSTALL=$ac_install_sh
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2694 $as_echo "$INSTALL" >&6; }
2696 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2697 # It thinks the first close brace ends the variable substitution.
2698 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2702 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2705 $as_echo_n "checking whether build environment is sane... " >&6; }
2708 echo timestamp > conftest.file
2709 # Reject unsafe characters in $srcdir or the absolute working directory
2710 # name. Accept space and tab only in the latter.
2714 *[\\\"\#\$\&\'\`$am_lf]*)
2715 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2718 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2719 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2722 # Do `set' in a subshell so we don't clobber the current shell's
2723 # arguments. Must try -L first in case configure is actually a
2724 # symlink; some systems play weird games with the mod time of symlinks
2725 # (eg FreeBSD returns the mod time of the symlink's containing
2728 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2729 if test "$*" = "X"; then
2731 set X
`ls -t "$srcdir/configure" conftest.file`
2734 if test "$*" != "X $srcdir/configure conftest.file" \
2735 && test "$*" != "X conftest.file $srcdir/configure"; then
2737 # If neither matched, then we have a broken ls. This can happen
2738 # if, for instance, CONFIG_SHELL is bash and it inherits a
2739 # broken ls alias from the environment. This has actually
2740 # happened. Such a system could not be considered "sane".
2741 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2742 alias in your environment" "$LINENO" 5
2745 test "$2" = conftest.
file
2751 as_fn_error
"newly created file is older than distributed files!
2752 Check your system clock" "$LINENO" 5
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2755 $as_echo "yes" >&6; }
2756 test "$program_prefix" != NONE
&&
2757 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2758 # Use a double $ so make ignores it.
2759 test "$program_suffix" != NONE
&&
2760 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2761 # Double any \ or $.
2762 # By default was `s,x,x', remove it if useless.
2763 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2764 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2766 # expand $ac_aux_dir to an absolute path
2767 am_aux_dir
=`cd $ac_aux_dir && pwd`
2769 if test x
"${MISSING+set}" != xset
; then
2772 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2774 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2777 # Use eval to expand $SHELL
2778 if eval "$MISSING --run true"; then
2779 am_missing_run
="$MISSING --run "
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2783 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2786 if test x
"${install_sh}" != xset
; then
2789 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2791 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2795 # Installed binaries are usually stripped using `strip' when the user
2796 # run `make install-strip'. However `strip' might not be the right
2797 # tool to use in cross-compilation environments, therefore Automake
2798 # will honor the `STRIP' environment variable to overrule this program.
2799 if test "$cross_compiling" != no
; then
2800 if test -n "$ac_tool_prefix"; then
2801 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2802 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2804 $as_echo_n "checking for $ac_word... " >&6; }
2805 if test "${ac_cv_prog_STRIP+set}" = set; then :
2806 $as_echo_n "(cached) " >&6
2808 if test -n "$STRIP"; then
2809 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2815 test -z "$as_dir" && as_dir
=.
2816 for ac_exec_ext
in '' $ac_executable_extensions; do
2817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2818 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 STRIP
=$ac_cv_prog_STRIP
2829 if test -n "$STRIP"; then
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2831 $as_echo "$STRIP" >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834 $as_echo "no" >&6; }
2839 if test -z "$ac_cv_prog_STRIP"; then
2841 # Extract the first word of "strip", so it can be a program name with args.
2842 set dummy strip
; ac_word
=$2
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844 $as_echo_n "checking for $ac_word... " >&6; }
2845 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2846 $as_echo_n "(cached) " >&6
2848 if test -n "$ac_ct_STRIP"; then
2849 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2855 test -z "$as_dir" && as_dir
=.
2856 for ac_exec_ext
in '' $ac_executable_extensions; do
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 ac_cv_prog_ac_ct_STRIP
="strip"
2859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2869 if test -n "$ac_ct_STRIP"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2871 $as_echo "$ac_ct_STRIP" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2877 if test "x$ac_ct_STRIP" = x
; then
2880 case $cross_compiling:$ac_tool_warned in
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2884 ac_tool_warned
=yes ;;
2889 STRIP
="$ac_cv_prog_STRIP"
2893 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2896 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2897 if test -z "$MKDIR_P"; then
2898 if test "${ac_cv_path_mkdir+set}" = set; then :
2899 $as_echo_n "(cached) " >&6
2901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2902 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2905 test -z "$as_dir" && as_dir
=.
2906 for ac_prog
in mkdir gmkdir
; do
2907 for ac_exec_ext
in '' $ac_executable_extensions; do
2908 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2909 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2910 'mkdir (GNU coreutils) '* | \
2911 'mkdir (coreutils) '* | \
2912 'mkdir (fileutils) '4.1*)
2913 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2923 if test "${ac_cv_path_mkdir+set}" = set; then
2924 MKDIR_P
="$ac_cv_path_mkdir -p"
2926 # As a last resort, use the slow shell script. Don't cache a
2927 # value for MKDIR_P within a source directory, because that will
2928 # break other packages using the cache if that directory is
2929 # removed, or if the value is a relative name.
2930 test -d .
/--version && rmdir .
/--version
2931 MKDIR_P
="$ac_install_sh -d"
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2935 $as_echo "$MKDIR_P" >&6; }
2939 [\\/$
]* | ?
:[\\/]*) ;;
2940 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2943 for ac_prog
in gawk mawk nawk
awk
2945 # Extract the first word of "$ac_prog", so it can be a program name with args.
2946 set dummy
$ac_prog; ac_word
=$2
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948 $as_echo_n "checking for $ac_word... " >&6; }
2949 if test "${ac_cv_prog_AWK+set}" = set; then :
2950 $as_echo_n "(cached) " >&6
2952 if test -n "$AWK"; then
2953 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2959 test -z "$as_dir" && as_dir
=.
2960 for ac_exec_ext
in '' $ac_executable_extensions; do
2961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2962 ac_cv_prog_AWK
="$ac_prog"
2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 if test -n "$AWK"; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2975 $as_echo "$AWK" >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2982 test -n "$AWK" && break
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2986 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2988 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2989 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2990 $as_echo_n "(cached) " >&6
2992 cat >conftest.
make <<\_ACEOF
2995 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2997 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2998 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3000 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3002 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3006 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3008 $as_echo "yes" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3013 SET_MAKE
="MAKE=${MAKE-make}"
3016 rm -rf .tst
2>/dev
/null
3017 mkdir .tst
2>/dev
/null
3018 if test -d .tst
; then
3023 rmdir .tst
2>/dev
/null
3025 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3026 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3027 # is not polluted with repeated "-I."
3028 am__isrc
=' -I$(srcdir)'
3029 # test to see if srcdir already configured
3030 if test -f $srcdir/config.status
; then
3031 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3035 # test whether we have cygpath
3036 if test -z "$CYGPATH_W"; then
3037 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3038 CYGPATH_W
='cygpath -w'
3045 # Define the identity of the package.
3046 PACKAGE
='package-unused'
3047 VERSION
='version-unused'
3050 cat >>confdefs.h
<<_ACEOF
3051 #define PACKAGE "$PACKAGE"
3055 cat >>confdefs.h
<<_ACEOF
3056 #define VERSION "$VERSION"
3059 # Some tools Automake needs.
3061 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3064 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3067 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3070 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3073 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3075 # We need awk for the "check" target. The system "awk" is bad on
3077 # Always define AMTAR for backward compatibility.
3079 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3081 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3087 # Default to --enable-multilib
3088 # Check whether --enable-multilib was given.
3089 if test "${enable_multilib+set}" = set; then :
3090 enableval
=$enable_multilib; case "$enableval" in
3091 yes) multilib
=yes ;;
3093 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3100 # We may get other options which we leave undocumented:
3101 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3102 # See config-ml.in if you want the gory details.
3104 if test "$srcdir" = "."; then
3105 if test "$with_target_subdir" != "."; then
3106 multi_basedir
="$srcdir/$with_multisrctop../.."
3108 multi_basedir
="$srcdir/$with_multisrctop.."
3111 multi_basedir
="$srcdir/.."
3115 # Even if the default multilib is not a cross compilation,
3116 # it may be that some of the other multilibs are.
3117 if test $cross_compiling = no
&& test $multilib = yes \
3118 && test "x${with_multisubdir}" != x
; then
3119 cross_compiling
=maybe
3122 ac_config_commands
="$ac_config_commands default-1"
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3126 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3127 # Check whether --enable-maintainer-mode was given.
3128 if test "${enable_maintainer_mode+set}" = set; then :
3129 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3131 USE_MAINTAINER_MODE
=no
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3135 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3136 if test $USE_MAINTAINER_MODE = yes; then
3137 MAINTAINER_MODE_TRUE
=
3138 MAINTAINER_MODE_FALSE
='#'
3140 MAINTAINER_MODE_TRUE
='#'
3141 MAINTAINER_MODE_FALSE
=
3144 MAINT
=$MAINTAINER_MODE_TRUE
3148 # Calculate toolexeclibdir
3149 # Also toolexecdir, though it's only used in toolexeclibdir
3150 case ${version_specific_libs} in
3152 # Need the gcc compiler version to know where to install libraries
3153 # and header files if --enable-version-specific-runtime-libs option
3155 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3156 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3159 if test -n "$with_cross_host" &&
3160 test x
"$with_cross_host" != x
"no"; then
3161 # Install a library built with a cross compiler in tooldir, not libdir.
3162 toolexecdir
='$(exec_prefix)/$(target_alias)'
3163 toolexeclibdir
='$(toolexecdir)/lib'
3165 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3166 toolexeclibdir
='$(libdir)'
3168 multi_os_directory
=`$CC -print-multi-os-directory`
3169 case $multi_os_directory in
3170 .
) ;; # Avoid trailing /.
3171 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3178 # Checks for programs.
3180 ac_cpp
='$CPP $CPPFLAGS'
3181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3184 if test -n "$ac_tool_prefix"; then
3185 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3186 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188 $as_echo_n "checking for $ac_word... " >&6; }
3189 if test "${ac_cv_prog_CC+set}" = set; then :
3190 $as_echo_n "(cached) " >&6
3192 if test -n "$CC"; then
3193 ac_cv_prog_CC
="$CC" # Let the user override the test.
3195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3199 test -z "$as_dir" && as_dir
=.
3200 for ac_exec_ext
in '' $ac_executable_extensions; do
3201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3202 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 if test -n "$CC"; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3215 $as_echo "$CC" >&6; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218 $as_echo "no" >&6; }
3223 if test -z "$ac_cv_prog_CC"; then
3225 # Extract the first word of "gcc", so it can be a program name with args.
3226 set dummy gcc
; ac_word
=$2
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3228 $as_echo_n "checking for $ac_word... " >&6; }
3229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3230 $as_echo_n "(cached) " >&6
3232 if test -n "$ac_ct_CC"; then
3233 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3239 test -z "$as_dir" && as_dir
=.
3240 for ac_exec_ext
in '' $ac_executable_extensions; do
3241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3242 ac_cv_prog_ac_ct_CC
="gcc"
3243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3252 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3253 if test -n "$ac_ct_CC"; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3255 $as_echo "$ac_ct_CC" >&6; }
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3258 $as_echo "no" >&6; }
3261 if test "x$ac_ct_CC" = x
; then
3264 case $cross_compiling:$ac_tool_warned in
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3268 ac_tool_warned
=yes ;;
3276 if test -z "$CC"; then
3277 if test -n "$ac_tool_prefix"; then
3278 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3279 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281 $as_echo_n "checking for $ac_word... " >&6; }
3282 if test "${ac_cv_prog_CC+set}" = set; then :
3283 $as_echo_n "(cached) " >&6
3285 if test -n "$CC"; then
3286 ac_cv_prog_CC
="$CC" # Let the user override the test.
3288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3292 test -z "$as_dir" && as_dir
=.
3293 for ac_exec_ext
in '' $ac_executable_extensions; do
3294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3295 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3306 if test -n "$CC"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3308 $as_echo "$CC" >&6; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3317 if test -z "$CC"; then
3318 # Extract the first word of "cc", so it can be a program name with args.
3319 set dummy cc
; ac_word
=$2
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3321 $as_echo_n "checking for $ac_word... " >&6; }
3322 if test "${ac_cv_prog_CC+set}" = set; then :
3323 $as_echo_n "(cached) " >&6
3325 if test -n "$CC"; then
3326 ac_cv_prog_CC
="$CC" # Let the user override the test.
3329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3333 test -z "$as_dir" && as_dir
=.
3334 for ac_exec_ext
in '' $ac_executable_extensions; do
3335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3336 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3337 ac_prog_rejected
=yes
3341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 if test $ac_prog_rejected = yes; then
3349 # We found a bogon in the path, so make sure we never use it.
3350 set dummy
$ac_cv_prog_CC
3352 if test $# != 0; then
3353 # We chose a different compiler from the bogus one.
3354 # However, it has the same basename, so the bogon will be chosen
3355 # first if we set CC to just the basename; use the full file name.
3357 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3363 if test -n "$CC"; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3365 $as_echo "$CC" >&6; }
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3373 if test -z "$CC"; then
3374 if test -n "$ac_tool_prefix"; then
3375 for ac_prog
in cl.exe
3377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3378 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3380 $as_echo_n "checking for $ac_word... " >&6; }
3381 if test "${ac_cv_prog_CC+set}" = set; then :
3382 $as_echo_n "(cached) " >&6
3384 if test -n "$CC"; then
3385 ac_cv_prog_CC
="$CC" # Let the user override the test.
3387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3391 test -z "$as_dir" && as_dir
=.
3392 for ac_exec_ext
in '' $ac_executable_extensions; do
3393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3394 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3405 if test -n "$CC"; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3407 $as_echo "$CC" >&6; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410 $as_echo "no" >&6; }
3414 test -n "$CC" && break
3417 if test -z "$CC"; then
3419 for ac_prog
in cl.exe
3421 # Extract the first word of "$ac_prog", so it can be a program name with args.
3422 set dummy
$ac_prog; ac_word
=$2
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3424 $as_echo_n "checking for $ac_word... " >&6; }
3425 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3426 $as_echo_n "(cached) " >&6
3428 if test -n "$ac_ct_CC"; then
3429 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3435 test -z "$as_dir" && as_dir
=.
3436 for ac_exec_ext
in '' $ac_executable_extensions; do
3437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3438 ac_cv_prog_ac_ct_CC
="$ac_prog"
3439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3448 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3449 if test -n "$ac_ct_CC"; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3451 $as_echo "$ac_ct_CC" >&6; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 $as_echo "no" >&6; }
3458 test -n "$ac_ct_CC" && break
3461 if test "x$ac_ct_CC" = x
; then
3464 case $cross_compiling:$ac_tool_warned in
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3468 ac_tool_warned
=yes ;;
3477 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 as_fn_error
"no acceptable C compiler found in \$PATH
3480 See \`config.log' for more details." "$LINENO" 5; }
3482 # Provide some information about the compiler.
3483 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3486 for ac_option
in --version -v -V -qversion; do
3487 { { ac_try
="$ac_compiler $ac_option >&5"
3489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3490 *) ac_try_echo=$ac_try;;
3492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3493 $as_echo "$ac_try_echo"; } >&5
3494 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3496 if test -s conftest.err; then
3498 ... rest of stderr output deleted ...
3499 10q' conftest.err >conftest.er1
3500 cat conftest.er1 >&5
3501 rm -f conftest.er1 conftest.err
3503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3504 test $ac_status = 0; }
3507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508 /* end confdefs.h. */
3518 ac_clean_files_save=$ac_clean_files
3519 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3520 # Try to create an executable without -o first, disregard a.out.
3521 # It will help us diagnose broken compilers, and finding out an intuition
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3524 $as_echo_n "checking for C compiler default output file name... " >&6; }
3525 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3527 # The possible output files:
3528 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3531 for ac_file in $ac_files
3534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3535 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3540 if { { ac_try="$ac_link_default"
3542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3543 *) ac_try_echo
=$ac_try;;
3545 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3546 $as_echo "$ac_try_echo"; } >&5
3547 (eval "$ac_link_default") 2>&5
3549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3550 test $ac_status = 0; }; then :
3551 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3552 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3553 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3554 # so that the user can short-circuit this test for compilers unknown to
3556 for ac_file
in $ac_files ''
3558 test -f "$ac_file" ||
continue
3560 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3563 # We found the default executable, but exeext='' is most
3567 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3569 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3571 # We set ac_cv_exeext here because the later test for it is not
3572 # safe: cross compilers may not add the suffix if given an `-o'
3573 # argument, so we may need to know it at that point already.
3574 # Even if this section looks crufty: it has the advantage of
3581 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3587 $as_echo "$ac_file" >&6; }
3588 if test -z "$ac_file"; then :
3589 $as_echo "$as_me: failed program was:" >&5
3590 sed 's/^/| /' conftest.
$ac_ext >&5
3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594 { as_fn_set_status
77
3595 as_fn_error
"C compiler cannot create executables
3596 See \`config.log' for more details." "$LINENO" 5; }; }
3598 ac_exeext
=$ac_cv_exeext
3600 # Check that the compiler produces executables we can run. If not, either
3601 # the compiler is broken, or we cross compile.
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3603 $as_echo_n "checking whether the C compiler works... " >&6; }
3604 # If not cross compiling, check that we can run a simple program.
3605 if test "$cross_compiling" != yes; then
3606 if { ac_try
='./$ac_file'
3607 { { case "(($ac_try" in
3608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613 (eval "$ac_try") 2>&5
3615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616 test $ac_status = 0; }; }; then
3619 if test "$cross_compiling" = maybe; then
3622 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3624 as_fn_error "cannot run C compiled programs.
3625 If you meant to cross compile
, use \
`--host'.
3626 See \`config.log
' for more details." "$LINENO" 5; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3631 $as_echo "yes" >&6; }
3633 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3634 ac_clean_files=$ac_clean_files_save
3635 # Check that the compiler produces executables we can run. If not, either
3636 # the compiler is broken, or we cross compile.
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3638 $as_echo_n "checking whether we are cross compiling... " >&6; }
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3640 $as_echo "$cross_compiling" >&6; }
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3643 $as_echo_n "checking for suffix of executables... " >&6; }
3644 if { { ac_try="$ac_link"
3646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647 *) ac_try_echo=$ac_try;;
3649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3650 $as_echo "$ac_try_echo"; } >&5
3651 (eval "$ac_link") 2>&5
3653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3654 test $ac_status = 0; }; then :
3655 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3656 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3657 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3659 for ac_file
in conftest.exe conftest conftest.
*; do
3660 test -f "$ac_file" ||
continue
3662 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3663 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3671 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3672 See \`config.log' for more details." "$LINENO" 5; }
3674 rm -f conftest
$ac_cv_exeext
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3676 $as_echo "$ac_cv_exeext" >&6; }
3678 rm -f conftest.
$ac_ext
3679 EXEEXT
=$ac_cv_exeext
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3682 $as_echo_n "checking for suffix of object files... " >&6; }
3683 if test "${ac_cv_objext+set}" = set; then :
3684 $as_echo_n "(cached) " >&6
3686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3697 rm -f conftest.o conftest.obj
3698 if { { ac_try
="$ac_compile"
3700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3701 *) ac_try_echo=$ac_try;;
3703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3704 $as_echo "$ac_try_echo"; } >&5
3705 (eval "$ac_compile") 2>&5
3707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708 test $ac_status = 0; }; then :
3709 for ac_file in conftest.o conftest.obj conftest.*; do
3710 test -f "$ac_file" || continue;
3712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3713 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3718 $as_echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.$ac_ext >&5
3721 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3723 as_fn_error "cannot compute suffix of object files
: cannot compile
3724 See \
`config.log' for more details." "$LINENO" 5; }
3726 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3729 $as_echo "$ac_cv_objext" >&6; }
3730 OBJEXT=$ac_cv_objext
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3733 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3734 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3735 $as_echo_n "(cached) " >&6
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3751 if ac_fn_c_try_compile "$LINENO"; then :
3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3761 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3762 if test $ac_compiler_gnu = yes; then
3767 ac_test_CFLAGS=${CFLAGS+set}
3768 ac_save_CFLAGS=$CFLAGS
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3770 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3771 if test "${ac_cv_prog_cc_g+set}" = set; then :
3772 $as_echo_n "(cached) " >&6
3774 ac_save_c_werror_flag=$ac_c_werror_flag
3775 ac_c_werror_flag=yes
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3789 if ac_fn_c_try_compile "$LINENO"; then :
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3807 ac_c_werror_flag=$ac_save_c_werror_flag
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3820 if ac_fn_c_try_compile "$LINENO"; then :
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828 ac_c_werror_flag=$ac_save_c_werror_flag
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3831 $as_echo "$ac_cv_prog_cc_g" >&6; }
3832 if test "$ac_test_CFLAGS" = set; then
3833 CFLAGS=$ac_save_CFLAGS
3834 elif test $ac_cv_prog_cc_g = yes; then
3835 if test "$GCC" = yes; then
3841 if test "$GCC" = yes; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3848 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3849 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3850 $as_echo_n "(cached) " >&6
3852 ac_cv_prog_cc_c89=no
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3858 #include <sys/types.h>
3859 #include <sys/stat.h>
3860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3861 struct buf { int x; };
3862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3863 static char *e (p, i)
3869 static char *f (char * (*g) (char **, int), char **p, ...)
3874 s = g (p, va_arg (v,int));
3879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3880 function prototypes and stuff, but not '\xHH' hex character constants.
3881 These don't provoke an error unfortunately, instead are silently treated
3882 as 'x'. The following induces an error, until -std is added to get
3883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3884 array size at least. It's necessary to write '\x00'==0 to get something
3885 that's true only with -std. */
3886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3888 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3889 inside strings and character constants. */
3891 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3893 int test (int i, double x);
3894 struct s1 {int (*f) (int a);};
3895 struct s2 {int (*f) (double a);};
3896 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3902 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3907 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3908 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3910 CC="$ac_save_CC $ac_arg"
3911 if ac_fn_c_try_compile "$LINENO"; then :
3912 ac_cv_prog_cc_c89=$ac_arg
3914 rm -f core conftest.err conftest.$ac_objext
3915 test "x$ac_cv_prog_cc_c89" != "xno" && break
3917 rm -f conftest.$ac_ext
3922 case "x$ac_cv_prog_cc_c89" in
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3925 $as_echo "none needed" >&6; } ;;
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3928 $as_echo "unsupported" >&6; } ;;
3930 CC="$CC $ac_cv_prog_cc_c89"
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3932 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3934 if test "x$ac_cv_prog_cc_c89" != xno; then :
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943 DEPDIR="${am__leading_dot}deps"
3945 ac_config_commands="$ac_config_commands depfiles"
3948 am_make=${MAKE-make}
3949 cat > confinc << 'END'
3951 @echo this is the am__doit target
3954 # If we don't find an include directive, just comment out the code.
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3956 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3960 # First try GNU make style include.
3961 echo "include confinc" > confmf
3962 # Ignore all kinds of additional output from `make'.
3963 case `$am_make -s -f confmf 2> /dev/null` in #(
3964 *the\ am__doit\ target*)
3970 # Now try BSD make style include.
3971 if test "$am__include" = "#"; then
3972 echo '.include
"confinc"' > confmf
3973 case `$am_make -s -f confmf 2> /dev/null` in #(
3974 *the\ am__doit\ target*)
3975 am__include=.include
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3984 $as_echo "$_am_result" >&6; }
3985 rm -f confinc confmf
3987 # Check whether --enable-dependency-tracking was given.
3988 if test "${enable_dependency_tracking+set}" = set; then :
3989 enableval=$enable_dependency_tracking;
3992 if test "x$enable_dependency_tracking" != xno; then
3993 am_depcomp="$ac_aux_dir/depcomp"
3996 if test "x$enable_dependency_tracking" != xno
; then
4006 depcc
="$CC" am_compiler_list
=
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4009 $as_echo_n "checking dependency style of $depcc... " >&6; }
4010 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4011 $as_echo_n "(cached) " >&6
4013 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4014 # We make a subdir and do the tests there. Otherwise we can end up
4015 # making bogus files that we don't know about and never remove. For
4016 # instance it was reported that on HP-UX the gcc test will end up
4017 # making a dummy file named `D' -- because `-MD' means `put the output
4020 # Copy depcomp to subdir because otherwise we won't find it if we're
4021 # using a relative directory.
4022 cp "$am_depcomp" conftest.dir
4024 # We will build objects and dependencies in a subdirectory because
4025 # it helps to detect inapplicable dependency modes. For instance
4026 # both Tru64's cc and ICC support -MD to output dependencies as a
4027 # side effect of compilation, but ICC will put the dependencies in
4028 # the current directory while Tru64 will put them in the object
4032 am_cv_CC_dependencies_compiler_type
=none
4033 if test "$am_compiler_list" = ""; then
4034 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4037 case " $depcc " in #(
4038 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4041 for depmode
in $am_compiler_list; do
4042 # Setup a source with many dependencies, because some compilers
4043 # like to wrap large dependency lists on column 80 (with \), and
4044 # we should not choose a depcomp mode which is confused by this.
4046 # We need to recreate these files for each test, as the compiler may
4047 # overwrite some of them when testing with obscure command lines.
4048 # This happens at least with the AIX C compiler.
4050 for i
in 1 2 3 4 5 6; do
4051 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4052 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4053 # Solaris 8's {/usr,}/bin/sh.
4054 touch sub
/conftst
$i.h
4056 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4058 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4059 # mode. It turns out that the SunPro C++ compiler does not properly
4060 # handle `-M -o', and we need to detect this. Also, some Intel
4061 # versions had trouble with output in subdirs
4062 am__obj
=sub
/conftest.
${OBJEXT-o}
4063 am__minus_obj
="-o $am__obj"
4066 # This depmode causes a compiler race in universal mode.
4067 test "$am__universal" = false ||
continue
4070 # after this tag, mechanisms are not by side-effect, so they'll
4071 # only be used when explicitly requested
4072 if test "x$enable_dependency_tracking" = xyes
; then
4078 msvisualcpp | msvcmsys
)
4079 # This compiler won't grok `-c -o', but also, the minuso test has
4080 # not run yet. These depmodes are late enough in the game, and
4081 # so weak that their functioning should not be impacted.
4082 am__obj
=conftest.
${OBJEXT-o}
4087 if depmode
=$depmode \
4088 source=sub
/conftest.c object
=$am__obj \
4089 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4090 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4091 >/dev
/null
2>conftest.err
&&
4092 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4093 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4094 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4095 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4096 # icc doesn't choke on unknown options, it will just issue warnings
4097 # or remarks (even with -Werror). So we grep stderr for any message
4098 # that says an option was ignored or not supported.
4099 # When given -MP, icc 7.0 and 7.1 complain thusly:
4100 # icc: Command line warning: ignoring option '-M'; no argument required
4101 # The diagnosis changed in icc 8.0:
4102 # icc: Command line remark: option '-MP' not supported
4103 if (grep 'ignoring option' conftest.err ||
4104 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4105 am_cv_CC_dependencies_compiler_type
=$depmode
4114 am_cv_CC_dependencies_compiler_type
=none
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4119 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4120 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4123 test "x$enable_dependency_tracking" != xno \
4124 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4126 am__fastdepCC_FALSE
='#'
4128 am__fastdepCC_TRUE
='#'
4129 am__fastdepCC_FALSE
=
4134 ac_cpp
='$CXXCPP $CPPFLAGS'
4135 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4136 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4137 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4138 if test -z "$CXX"; then
4139 if test -n "$CCC"; then
4142 if test -n "$ac_tool_prefix"; then
4143 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4146 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4148 $as_echo_n "checking for $ac_word... " >&6; }
4149 if test "${ac_cv_prog_CXX+set}" = set; then :
4150 $as_echo_n "(cached) " >&6
4152 if test -n "$CXX"; then
4153 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4162 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173 if test -n "$CXX"; then
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4175 $as_echo "$CXX" >&6; }
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4178 $as_echo "no" >&6; }
4182 test -n "$CXX" && break
4185 if test -z "$CXX"; then
4187 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4189 # Extract the first word of "$ac_prog", so it can be a program name with args.
4190 set dummy
$ac_prog; ac_word
=$2
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4194 $as_echo_n "(cached) " >&6
4196 if test -n "$ac_ct_CXX"; then
4197 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4203 test -z "$as_dir" && as_dir
=.
4204 for ac_exec_ext
in '' $ac_executable_extensions; do
4205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4206 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4217 if test -n "$ac_ct_CXX"; then
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4219 $as_echo "$ac_ct_CXX" >&6; }
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4222 $as_echo "no" >&6; }
4226 test -n "$ac_ct_CXX" && break
4229 if test "x$ac_ct_CXX" = x
; then
4232 case $cross_compiling:$ac_tool_warned in
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4236 ac_tool_warned
=yes ;;
4244 # Provide some information about the compiler.
4245 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4248 for ac_option
in --version -v -V -qversion; do
4249 { { ac_try
="$ac_compiler $ac_option >&5"
4251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255 $as_echo "$ac_try_echo"; } >&5
4256 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4258 if test -s conftest.err; then
4260 ... rest of stderr output deleted ...
4261 10q' conftest.err >conftest.er1
4262 cat conftest.er1 >&5
4263 rm -f conftest.er1 conftest.err
4265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4266 test $ac_status = 0; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4270 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4271 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4288 if ac_fn_cxx_try_compile "$LINENO"; then :
4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4294 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4298 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4299 if test $ac_compiler_gnu = yes; then
4304 ac_test_CXXFLAGS=${CXXFLAGS+set}
4305 ac_save_CXXFLAGS=$CXXFLAGS
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4307 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4308 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4309 $as_echo_n "(cached) " >&6
4311 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4312 ac_cxx_werror_flag=yes
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4326 if ac_fn_cxx_try_compile "$LINENO"; then :
4327 ac_cv_prog_cxx_g=yes
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4341 if ac_fn_cxx_try_compile "$LINENO"; then :
4344 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4357 if ac_fn_cxx_try_compile "$LINENO"; then :
4358 ac_cv_prog_cxx_g=yes
4360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4365 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4368 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4369 if test "$ac_test_CXXFLAGS" = set; then
4370 CXXFLAGS=$ac_save_CXXFLAGS
4371 elif test $ac_cv_prog_cxx_g = yes; then
4372 if test "$GXX" = yes; then
4378 if test "$GXX" = yes; then
4385 ac_cpp='$CPP $CPPFLAGS'
4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4390 depcc="$CXX" am_compiler_list=
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4393 $as_echo_n "checking dependency style of $depcc... " >&6; }
4394 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4395 $as_echo_n "(cached) " >&6
4397 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4398 # We make a subdir and do the tests there. Otherwise we can end up
4399 # making bogus files that we don't know about and never remove. For
4400 # instance it was reported that on HP-UX the gcc test will end up
4401 # making a dummy file named `D
' -- because `-MD' means
`put the output
4404 # Copy depcomp to subdir because otherwise we won't find it if we're
4405 # using a relative directory.
4406 cp "$am_depcomp" conftest.dir
4408 # We will build objects and dependencies in a subdirectory because
4409 # it helps to detect inapplicable dependency modes. For instance
4410 # both Tru64's cc and ICC support -MD to output dependencies as a
4411 # side effect of compilation, but ICC will put the dependencies in
4412 # the current directory while Tru64 will put them in the object
4416 am_cv_CXX_dependencies_compiler_type=none
4417 if test "$am_compiler_list" = ""; then
4418 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4421 case " $depcc " in #(
4422 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4425 for depmode in $am_compiler_list; do
4426 # Setup a source with many dependencies, because some compilers
4427 # like to wrap large dependency lists on column 80 (with \), and
4428 # we should not choose a depcomp mode which is confused by this.
4430 # We need to recreate these files for each test, as the compiler may
4431 # overwrite some of them when testing with obscure command lines.
4432 # This happens at least with the AIX C compiler.
4434 for i in 1 2 3 4 5 6; do
4435 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4436 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4437 # Solaris 8's
{/usr
,}/bin
/sh.
4438 touch sub
/conftst
$i.h
4440 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4442 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4443 # mode. It turns out that the SunPro C++ compiler does not properly
4444 # handle `-M -o', and we need to detect this. Also, some Intel
4445 # versions had trouble with output in subdirs
4446 am__obj
=sub
/conftest.
${OBJEXT-o}
4447 am__minus_obj
="-o $am__obj"
4450 # This depmode causes a compiler race in universal mode.
4451 test "$am__universal" = false ||
continue
4454 # after this tag, mechanisms are not by side-effect, so they'll
4455 # only be used when explicitly requested
4456 if test "x$enable_dependency_tracking" = xyes
; then
4462 msvisualcpp | msvcmsys
)
4463 # This compiler won't grok `-c -o', but also, the minuso test has
4464 # not run yet. These depmodes are late enough in the game, and
4465 # so weak that their functioning should not be impacted.
4466 am__obj
=conftest.
${OBJEXT-o}
4471 if depmode
=$depmode \
4472 source=sub
/conftest.c object
=$am__obj \
4473 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4474 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4475 >/dev
/null
2>conftest.err
&&
4476 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4477 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4478 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4479 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4480 # icc doesn't choke on unknown options, it will just issue warnings
4481 # or remarks (even with -Werror). So we grep stderr for any message
4482 # that says an option was ignored or not supported.
4483 # When given -MP, icc 7.0 and 7.1 complain thusly:
4484 # icc: Command line warning: ignoring option '-M'; no argument required
4485 # The diagnosis changed in icc 8.0:
4486 # icc: Command line remark: option '-MP' not supported
4487 if (grep 'ignoring option' conftest.err ||
4488 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4489 am_cv_CXX_dependencies_compiler_type
=$depmode
4498 am_cv_CXX_dependencies_compiler_type
=none
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4503 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4504 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4507 test "x$enable_dependency_tracking" != xno \
4508 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4509 am__fastdepCXX_TRUE
=
4510 am__fastdepCXX_FALSE
='#'
4512 am__fastdepCXX_TRUE
='#'
4513 am__fastdepCXX_FALSE
=
4517 # By default we simply use the C compiler to build assembly code.
4519 test "${CCAS+set}" = set || CCAS
=$CC
4520 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4524 depcc
="$CCAS" am_compiler_list
=
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4527 $as_echo_n "checking dependency style of $depcc... " >&6; }
4528 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
4529 $as_echo_n "(cached) " >&6
4531 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4532 # We make a subdir and do the tests there. Otherwise we can end up
4533 # making bogus files that we don't know about and never remove. For
4534 # instance it was reported that on HP-UX the gcc test will end up
4535 # making a dummy file named `D' -- because `-MD' means `put the output
4538 # Copy depcomp to subdir because otherwise we won't find it if we're
4539 # using a relative directory.
4540 cp "$am_depcomp" conftest.dir
4542 # We will build objects and dependencies in a subdirectory because
4543 # it helps to detect inapplicable dependency modes. For instance
4544 # both Tru64's cc and ICC support -MD to output dependencies as a
4545 # side effect of compilation, but ICC will put the dependencies in
4546 # the current directory while Tru64 will put them in the object
4550 am_cv_CCAS_dependencies_compiler_type
=none
4551 if test "$am_compiler_list" = ""; then
4552 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4557 for depmode
in $am_compiler_list; do
4558 # Setup a source with many dependencies, because some compilers
4559 # like to wrap large dependency lists on column 80 (with \), and
4560 # we should not choose a depcomp mode which is confused by this.
4562 # We need to recreate these files for each test, as the compiler may
4563 # overwrite some of them when testing with obscure command lines.
4564 # This happens at least with the AIX C compiler.
4566 for i
in 1 2 3 4 5 6; do
4567 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4568 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4569 # Solaris 8's {/usr,}/bin/sh.
4570 touch sub
/conftst
$i.h
4572 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4574 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4575 # mode. It turns out that the SunPro C++ compiler does not properly
4576 # handle `-M -o', and we need to detect this. Also, some Intel
4577 # versions had trouble with output in subdirs
4578 am__obj
=sub
/conftest.
${OBJEXT-o}
4579 am__minus_obj
="-o $am__obj"
4582 # This depmode causes a compiler race in universal mode.
4583 test "$am__universal" = false ||
continue
4586 # after this tag, mechanisms are not by side-effect, so they'll
4587 # only be used when explicitly requested
4588 if test "x$enable_dependency_tracking" = xyes
; then
4594 msvisualcpp | msvcmsys
)
4595 # This compiler won't grok `-c -o', but also, the minuso test has
4596 # not run yet. These depmodes are late enough in the game, and
4597 # so weak that their functioning should not be impacted.
4598 am__obj
=conftest.
${OBJEXT-o}
4603 if depmode
=$depmode \
4604 source=sub
/conftest.c object
=$am__obj \
4605 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4606 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4607 >/dev
/null
2>conftest.err
&&
4608 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4609 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4610 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4611 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4612 # icc doesn't choke on unknown options, it will just issue warnings
4613 # or remarks (even with -Werror). So we grep stderr for any message
4614 # that says an option was ignored or not supported.
4615 # When given -MP, icc 7.0 and 7.1 complain thusly:
4616 # icc: Command line warning: ignoring option '-M'; no argument required
4617 # The diagnosis changed in icc 8.0:
4618 # icc: Command line remark: option '-MP' not supported
4619 if (grep 'ignoring option' conftest.err ||
4620 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4621 am_cv_CCAS_dependencies_compiler_type
=$depmode
4630 am_cv_CCAS_dependencies_compiler_type
=none
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4635 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4636 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4639 test "x$enable_dependency_tracking" != xno \
4640 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4641 am__fastdepCCAS_TRUE
=
4642 am__fastdepCCAS_FALSE
='#'
4644 am__fastdepCCAS_TRUE
='#'
4645 am__fastdepCCAS_FALSE
=
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4657 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4662 macro_version
='2.2.7a'
4663 macro_revision
='1.3134'
4677 ltmain
="$ac_aux_dir/ltmain.sh"
4679 # Backslashify metacharacters that are still active within
4680 # double-quoted strings.
4681 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4683 # Same as above, but do not quote variable references.
4684 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4686 # Sed substitution to delay expansion of an escaped shell variable in a
4687 # double_quote_subst'ed string.
4688 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4690 # Sed substitution to delay expansion of an escaped single quote.
4691 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4693 # Sed substitution to avoid accidental globbing in evaled expressions
4694 no_glob_subst
='s/\*/\\\*/g'
4696 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4697 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4698 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4701 $as_echo_n "checking how to print strings... " >&6; }
4702 # Test print first, because it will be a builtin if present.
4703 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4704 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4706 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4709 # Use this function as a fallback that always works.
4710 func_fallback_echo ()
4712 eval 'cat <<_LTECHO_EOF
4716 ECHO='func_fallback_echo
'
4719 # func_echo_all arg...
4720 # Invoke $ECHO with all args, space-separated.
4727 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4728 $as_echo "printf" >&6; } ;;
4729 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4730 $as_echo "print -r" >&6; } ;;
4731 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4732 $as_echo "cat" >&6; } ;;
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4749 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4750 if test "${ac_cv_path_SED+set}" = set; then :
4751 $as_echo_n "(cached) " >&6
4753 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4754 for ac_i in 1 2 3 4 5 6 7; do
4755 ac_script="$ac_script$as_nl$ac_script"
4757 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4758 { ac_script=; unset ac_script;}
4759 if test -z "$SED"; then
4760 ac_path_SED_found=false
4761 # Loop through the user's path and
test for each of PROGNAME-LIST
4762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4766 test -z "$as_dir" && as_dir
=.
4767 for ac_prog
in sed gsed
; do
4768 for ac_exec_ext
in '' $ac_executable_extensions; do
4769 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4770 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4771 # Check for GNU ac_path_SED and select it if it is found.
4772 # Check for GNU $ac_path_SED
4773 case `"$ac_path_SED" --version 2>&1` in
4775 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4778 $as_echo_n 0123456789 >"conftest.in"
4781 cat "conftest.in" "conftest.in" >"conftest.tmp"
4782 mv "conftest.tmp" "conftest.in"
4783 cp "conftest.in" "conftest.nl"
4784 $as_echo '' >> "conftest.nl"
4785 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4786 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4787 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4788 if test $ac_count -gt ${ac_path_SED_max-0}; then
4789 # Best one so far, save it but keep looking for a better one
4790 ac_cv_path_SED
="$ac_path_SED"
4791 ac_path_SED_max
=$ac_count
4793 # 10*(2^10) chars as input seems more than enough
4794 test $ac_count -gt 10 && break
4796 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4799 $ac_path_SED_found && break 3
4804 if test -z "$ac_cv_path_SED"; then
4805 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4813 $as_echo "$ac_cv_path_SED" >&6; }
4814 SED
="$ac_cv_path_SED"
4817 test -z "$SED" && SED
=sed
4818 Xsed
="$SED -e 1s/^X//"
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4831 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4832 if test "${ac_cv_path_GREP+set}" = set; then :
4833 $as_echo_n "(cached) " >&6
4835 if test -z "$GREP"; then
4836 ac_path_GREP_found
=false
4837 # Loop through the user's path and test for each of PROGNAME-LIST
4838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4839 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4842 test -z "$as_dir" && as_dir
=.
4843 for ac_prog
in grep ggrep
; do
4844 for ac_exec_ext
in '' $ac_executable_extensions; do
4845 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4846 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4847 # Check for GNU ac_path_GREP and select it if it is found.
4848 # Check for GNU $ac_path_GREP
4849 case `"$ac_path_GREP" --version 2>&1` in
4851 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4854 $as_echo_n 0123456789 >"conftest.in"
4857 cat "conftest.in" "conftest.in" >"conftest.tmp"
4858 mv "conftest.tmp" "conftest.in"
4859 cp "conftest.in" "conftest.nl"
4860 $as_echo 'GREP' >> "conftest.nl"
4861 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4862 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4863 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4864 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4865 # Best one so far, save it but keep looking for a better one
4866 ac_cv_path_GREP
="$ac_path_GREP"
4867 ac_path_GREP_max
=$ac_count
4869 # 10*(2^10) chars as input seems more than enough
4870 test $ac_count -gt 10 && break
4872 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4875 $ac_path_GREP_found && break 3
4880 if test -z "$ac_cv_path_GREP"; then
4881 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4884 ac_cv_path_GREP
=$GREP
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4889 $as_echo "$ac_cv_path_GREP" >&6; }
4890 GREP
="$ac_cv_path_GREP"
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4894 $as_echo_n "checking for egrep... " >&6; }
4895 if test "${ac_cv_path_EGREP+set}" = set; then :
4896 $as_echo_n "(cached) " >&6
4898 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4899 then ac_cv_path_EGREP
="$GREP -E"
4901 if test -z "$EGREP"; then
4902 ac_path_EGREP_found
=false
4903 # Loop through the user's path and test for each of PROGNAME-LIST
4904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4905 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4908 test -z "$as_dir" && as_dir
=.
4909 for ac_prog
in egrep; do
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4912 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4913 # Check for GNU ac_path_EGREP and select it if it is found.
4914 # Check for GNU $ac_path_EGREP
4915 case `"$ac_path_EGREP" --version 2>&1` in
4917 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4920 $as_echo_n 0123456789 >"conftest.in"
4923 cat "conftest.in" "conftest.in" >"conftest.tmp"
4924 mv "conftest.tmp" "conftest.in"
4925 cp "conftest.in" "conftest.nl"
4926 $as_echo 'EGREP' >> "conftest.nl"
4927 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4928 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4929 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4930 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4931 # Best one so far, save it but keep looking for a better one
4932 ac_cv_path_EGREP
="$ac_path_EGREP"
4933 ac_path_EGREP_max
=$ac_count
4935 # 10*(2^10) chars as input seems more than enough
4936 test $ac_count -gt 10 && break
4938 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4941 $ac_path_EGREP_found && break 3
4946 if test -z "$ac_cv_path_EGREP"; then
4947 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4950 ac_cv_path_EGREP
=$EGREP
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4956 $as_echo "$ac_cv_path_EGREP" >&6; }
4957 EGREP
="$ac_cv_path_EGREP"
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4961 $as_echo_n "checking for fgrep... " >&6; }
4962 if test "${ac_cv_path_FGREP+set}" = set; then :
4963 $as_echo_n "(cached) " >&6
4965 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4966 then ac_cv_path_FGREP
="$GREP -F"
4968 if test -z "$FGREP"; then
4969 ac_path_FGREP_found
=false
4970 # Loop through the user's path and test for each of PROGNAME-LIST
4971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4975 test -z "$as_dir" && as_dir
=.
4976 for ac_prog
in fgrep
; do
4977 for ac_exec_ext
in '' $ac_executable_extensions; do
4978 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4979 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4980 # Check for GNU ac_path_FGREP and select it if it is found.
4981 # Check for GNU $ac_path_FGREP
4982 case `"$ac_path_FGREP" --version 2>&1` in
4984 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4987 $as_echo_n 0123456789 >"conftest.in"
4990 cat "conftest.in" "conftest.in" >"conftest.tmp"
4991 mv "conftest.tmp" "conftest.in"
4992 cp "conftest.in" "conftest.nl"
4993 $as_echo 'FGREP' >> "conftest.nl"
4994 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4995 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4996 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4997 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4998 # Best one so far, save it but keep looking for a better one
4999 ac_cv_path_FGREP
="$ac_path_FGREP"
5000 ac_path_FGREP_max
=$ac_count
5002 # 10*(2^10) chars as input seems more than enough
5003 test $ac_count -gt 10 && break
5005 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5008 $ac_path_FGREP_found && break 3
5013 if test -z "$ac_cv_path_FGREP"; then
5014 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5017 ac_cv_path_FGREP
=$FGREP
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5023 $as_echo "$ac_cv_path_FGREP" >&6; }
5024 FGREP
="$ac_cv_path_FGREP"
5027 test -z "$GREP" && GREP
=grep
5047 # Check whether --with-gnu-ld was given.
5048 if test "${with_gnu_ld+set}" = set; then :
5049 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5055 if test "$GCC" = yes; then
5056 # Check if gcc -print-prog-name=ld gives a path.
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5058 $as_echo_n "checking for ld used by $CC... " >&6; }
5061 # gcc leaves a trailing carriage return which upsets mingw
5062 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5064 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5067 # Accept absolute paths.
5069 re_direlt
='/[^/][^/]*/\.\./'
5070 # Canonicalize the pathname of ld
5071 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5072 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5073 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5075 test -z "$LD" && LD
="$ac_prog"
5078 # If it fails, then pretend we aren't using GCC.
5082 # If it is relative, then search for the first ld in PATH.
5086 elif test "$with_gnu_ld" = yes; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5088 $as_echo_n "checking for GNU ld... " >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5091 $as_echo_n "checking for non-GNU ld... " >&6; }
5093 if test "${lt_cv_path_LD+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 if test -z "$LD"; then
5097 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5098 for ac_dir
in $PATH; do
5100 test -z "$ac_dir" && ac_dir
=.
5101 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5102 lt_cv_path_LD
="$ac_dir/$ac_prog"
5103 # Check to see if the program is GNU ld. I'd rather use --version,
5104 # but apparently some variants of GNU ld only accept -v.
5105 # Break only if it was the GNU/non-GNU ld that we prefer.
5106 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5107 *GNU
* |
*'with BFD'*)
5108 test "$with_gnu_ld" != no
&& break
5111 test "$with_gnu_ld" != yes && break
5118 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5123 if test -n "$LD"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5125 $as_echo "$LD" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5130 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5132 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5133 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5134 $as_echo_n "(cached) " >&6
5136 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5137 case `$LD -v 2>&1 </dev/null` in
5138 *GNU
* |
*'with BFD'*)
5139 lt_cv_prog_gnu_ld
=yes
5142 lt_cv_prog_gnu_ld
=no
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5147 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5148 with_gnu_ld
=$lt_cv_prog_gnu_ld
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5159 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5160 if test "${lt_cv_path_NM+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5163 if test -n "$NM"; then
5164 # Let the user override the test.
5167 lt_nm_to_check
="${ac_tool_prefix}nm"
5168 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5169 lt_nm_to_check
="$lt_nm_to_check nm"
5171 for lt_tmp_nm
in $lt_nm_to_check; do
5172 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5173 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5175 test -z "$ac_dir" && ac_dir
=.
5176 tmp_nm
="$ac_dir/$lt_tmp_nm"
5177 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5178 # Check to see if the nm accepts a BSD-compat flag.
5179 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5180 # nm: unknown option "B" ignored
5181 # Tru64's nm complains that /dev/null is an invalid object file
5182 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5183 */dev
/null
* |
*'Invalid file or object type'*)
5184 lt_cv_path_NM
="$tmp_nm -B"
5188 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5190 lt_cv_path_NM
="$tmp_nm -p"
5194 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5195 continue # so that we can try to find one that supports BSD flags
5204 : ${lt_cv_path_NM=no}
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5208 $as_echo "$lt_cv_path_NM" >&6; }
5209 if test "$lt_cv_path_NM" != "no"; then
5212 # Didn't find any BSD compatible name lister, look for dumpbin.
5213 if test -n "$DUMPBIN"; then :
5214 # Let the user override the test.
5216 if test -n "$ac_tool_prefix"; then
5217 for ac_prog
in dumpbin
"link -dump"
5219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5220 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5222 $as_echo_n "checking for $ac_word... " >&6; }
5223 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5224 $as_echo_n "(cached) " >&6
5226 if test -n "$DUMPBIN"; then
5227 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5233 test -z "$as_dir" && as_dir
=.
5234 for ac_exec_ext
in '' $ac_executable_extensions; do
5235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5236 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 DUMPBIN
=$ac_cv_prog_DUMPBIN
5247 if test -n "$DUMPBIN"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5249 $as_echo "$DUMPBIN" >&6; }
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252 $as_echo "no" >&6; }
5256 test -n "$DUMPBIN" && break
5259 if test -z "$DUMPBIN"; then
5260 ac_ct_DUMPBIN
=$DUMPBIN
5261 for ac_prog
in dumpbin
"link -dump"
5263 # Extract the first word of "$ac_prog", so it can be a program name with args.
5264 set dummy
$ac_prog; ac_word
=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5268 $as_echo_n "(cached) " >&6
5270 if test -n "$ac_ct_DUMPBIN"; then
5271 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5280 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5291 if test -n "$ac_ct_DUMPBIN"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5293 $as_echo "$ac_ct_DUMPBIN" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5300 test -n "$ac_ct_DUMPBIN" && break
5303 if test "x$ac_ct_DUMPBIN" = x
; then
5306 case $cross_compiling:$ac_tool_warned in
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned
=yes ;;
5312 DUMPBIN
=$ac_ct_DUMPBIN
5316 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5318 DUMPBIN
="$DUMPBIN -symbols"
5326 if test "$DUMPBIN" != ":"; then
5330 test -z "$NM" && NM
=nm
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5338 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5339 if test "${lt_cv_nm_interface+set}" = set; then :
5340 $as_echo_n "(cached) " >&6
5342 lt_cv_nm_interface
="BSD nm"
5343 echo "int some_variable = 0;" > conftest.
$ac_ext
5344 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5345 (eval "$ac_compile" 2>conftest.err
)
5346 cat conftest.err
>&5
5347 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5348 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5349 cat conftest.err
>&5
5350 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5351 cat conftest.out
>&5
5352 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5353 lt_cv_nm_interface
="MS dumpbin"
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5358 $as_echo "$lt_cv_nm_interface" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5361 $as_echo_n "checking whether ln -s works... " >&6; }
5363 if test "$LN_S" = "ln -s"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5365 $as_echo "yes" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5368 $as_echo "no, using $LN_S" >&6; }
5371 # find the maximum length of command line arguments
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5373 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5374 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5382 # On DJGPP, this test can blow up pretty badly due to problems in libc
5383 # (any single argument exceeding 2000 bytes causes a buffer overrun
5384 # during glob expansion). Even if it were fixed, the result of this
5385 # check would be larger than it should be.
5386 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5390 # Under GNU Hurd, this test is not required because there is
5391 # no limit to the length of command line arguments.
5392 # Libtool will interpret -1 as no limit whatsoever
5393 lt_cv_sys_max_cmd_len
=-1;
5396 cygwin
* | mingw
* | cegcc
*)
5397 # On Win9x/ME, this test blows up -- it succeeds, but takes
5398 # about 5 minutes as the teststring grows exponentially.
5399 # Worse, since 9x/ME are not pre-emptively multitasking,
5400 # you end up with a "frozen" computer, even though with patience
5401 # the test eventually succeeds (with a max line length of 256k).
5402 # Instead, let's just punt: use the minimum linelength reported by
5403 # all of the supported platforms: 8192 (on NT/2K/XP).
5404 lt_cv_sys_max_cmd_len
=8192;
5408 # On MiNT this can take a long time and run out of memory.
5409 lt_cv_sys_max_cmd_len
=8192;
5413 # On AmigaOS with pdksh, this test takes hours, literally.
5414 # So we just punt and use a minimum line length of 8192.
5415 lt_cv_sys_max_cmd_len
=8192;
5418 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5419 # This has been around since 386BSD, at least. Likely further.
5420 if test -x /sbin
/sysctl
; then
5421 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5422 elif test -x /usr
/sbin
/sysctl
; then
5423 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5425 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5427 # And add a safety zone
5428 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5429 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5433 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5434 lt_cv_sys_max_cmd_len
=196608
5438 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5439 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5440 # nice to cause kernel panics so lets avoid the loop below.
5441 # First set a reasonable default.
5442 lt_cv_sys_max_cmd_len
=16384
5444 if test -x /sbin
/sysconfig
; then
5445 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5446 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5451 lt_cv_sys_max_cmd_len
=102400
5453 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5454 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5455 if test -n "$kargmax"; then
5456 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5458 lt_cv_sys_max_cmd_len
=32768
5462 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5463 if test -n "$lt_cv_sys_max_cmd_len"; then
5464 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5465 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5467 # Make teststring a little bigger before we do anything with it.
5468 # a 1K string should be a reasonable start.
5469 for i
in 1 2 3 4 5 6 7 8 ; do
5470 teststring
=$teststring$teststring
5472 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5473 # If test is not a shell built-in, we'll probably end up computing a
5474 # maximum length that is only half of the actual maximum length, but
5476 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5477 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5478 test $i != 17 # 1/2 MB should be enough
5481 teststring
=$teststring$teststring
5483 # Only check the string length outside the loop.
5484 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5486 # Add a significant safety factor because C++ compilers can tack on
5487 # massive amounts of additional arguments before passing them to the
5488 # linker. It appears as though 1/2 is a usable value.
5489 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5496 if test -n $lt_cv_sys_max_cmd_len ; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5498 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5501 $as_echo "none" >&6; }
5503 max_cmd_len
=$lt_cv_sys_max_cmd_len
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5515 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5516 # Try some XSI features
5519 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5521 && eval 'test $(( 1 + 1 )) -eq 2 \
5522 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5525 $as_echo "$xsi_shell" >&6; }
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5529 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5531 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5533 && lt_shell_append=yes
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5535 $as_echo "$lt_shell_append" >&6; }
5538 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5548 # test EBCDIC or ASCII
5549 case `echo X|tr X '\101'` in
5550 A) # ASCII based system
5551 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5552 lt_SP2NL='tr \040 \012'
5553 lt_NL2SP='tr \015\012 \040\040'
5555 *) # EBCDIC based system
5556 lt_SP2NL='tr \100 \n'
5557 lt_NL2SP='tr \r\n \100\100'
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5570 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5571 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5572 $as_echo_n "(cached
) " >&6
5574 lt_cv_ld_reload_flag='-r'
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5577 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5578 reload_flag=$lt_cv_ld_reload_flag
5579 case $reload_flag in
5581 *) reload_flag=" $reload_flag" ;;
5583 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5586 if test "$GCC" = yes; then
5587 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5589 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5602 if test -n "$ac_tool_prefix"; then
5603 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5604 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5606 $as_echo_n "checking
for $ac_word...
" >&6; }
5607 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5608 $as_echo_n "(cached
) " >&6
5610 if test -n "$OBJDUMP"; then
5611 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5620 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5630 OBJDUMP=$ac_cv_prog_OBJDUMP
5631 if test -n "$OBJDUMP"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5633 $as_echo "$OBJDUMP" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5636 $as_echo "no
" >&6; }
5641 if test -z "$ac_cv_prog_OBJDUMP"; then
5642 ac_ct_OBJDUMP=$OBJDUMP
5643 # Extract the first word of "objdump
", so it can be a program name with args.
5644 set dummy objdump; ac_word=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5646 $as_echo_n "checking
for $ac_word...
" >&6; }
5647 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5648 $as_echo_n "(cached
) " >&6
5650 if test -n "$ac_ct_OBJDUMP"; then
5651 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5657 test -z "$as_dir" && as_dir=.
5658 for ac_exec_ext in '' $ac_executable_extensions; do
5659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5660 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5670 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5671 if test -n "$ac_ct_OBJDUMP"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5673 $as_echo "$ac_ct_OBJDUMP" >&6; }
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5676 $as_echo "no
" >&6; }
5679 if test "x
$ac_ct_OBJDUMP" = x; then
5682 case $cross_compiling:$ac_tool_warned in
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5685 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5686 ac_tool_warned=yes ;;
5688 OBJDUMP=$ac_ct_OBJDUMP
5691 OBJDUMP="$ac_cv_prog_OBJDUMP"
5694 test -z "$OBJDUMP" && OBJDUMP=objdump
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5705 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5706 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5707 $as_echo_n "(cached
) " >&6
5709 lt_cv_file_magic_cmd='$MAGIC_CMD'
5710 lt_cv_file_magic_test_file=
5711 lt_cv_deplibs_check_method='unknown'
5712 # Need to set the preceding variable on all platforms that support
5713 # interlibrary dependencies.
5714 # 'none' -- dependencies not supported.
5715 # `unknown' -- same as none, but documents that we really don't know.
5716 # 'pass_all' -- all dependencies passed with no checks.
5717 # 'test_compile' -- check by making test program.
5718 # 'file_magic [[regex]]' -- check by looking for files in library path
5719 # which responds to the $file_magic_cmd with a given extended regex.
5720 # If you have `file' or equivalent on your system and you're not sure
5721 # whether `pass_all' will *always* work, you probably want this one.
5725 lt_cv_deplibs_check_method=pass_all
5729 lt_cv_deplibs_check_method=pass_all
5733 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5734 lt_cv_file_magic_cmd='/usr/bin/file -L'
5735 lt_cv_file_magic_test_file=/shlib/libc.so
5739 # func_win32_libid is a shell function defined in ltmain.sh
5740 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5741 lt_cv_file_magic_cmd='func_win32_libid'
5745 # Base MSYS/MinGW do not provide the 'file' command needed by
5746 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5747 # unless we find 'file', for example because we are cross-compiling.
5748 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5749 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5750 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5751 lt_cv_file_magic_cmd='func_win32_libid'
5753 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5754 lt_cv_file_magic_cmd='$OBJDUMP -f'
5759 # use the weaker test based on 'objdump'. See mingw*.
5760 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5761 lt_cv_file_magic_cmd='$OBJDUMP -f'
5764 darwin* | rhapsody*)
5765 lt_cv_deplibs_check_method=pass_all
5768 freebsd* | dragonfly*)
5769 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5772 # Not sure whether the presence of OpenBSD here was a mistake.
5773 # Let's accept both of them until this is cleared up.
5774 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5775 lt_cv_file_magic_cmd=/usr/bin/file
5776 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5780 lt_cv_deplibs_check_method=pass_all
5785 lt_cv_deplibs_check_method=pass_all
5789 lt_cv_deplibs_check_method=pass_all
5792 hpux10.20* | hpux11*)
5793 lt_cv_file_magic_cmd=/usr/bin/file
5796 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5797 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5800 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]'
5801 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5804 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5805 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5811 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5812 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5815 irix5* | irix6* | nonstopux*)
5817 *-32|*"-32 ") libmagic=32-bit;;
5818 *-n32|*"-n32 ") libmagic=N32;;
5819 *-64|*"-64 ") libmagic=64-bit;;
5820 *) libmagic=never-match;;
5822 lt_cv_deplibs_check_method=pass_all
5825 # This must be Linux ELF.
5826 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5827 lt_cv_deplibs_check_method=pass_all
5831 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5832 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5834 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5839 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5840 lt_cv_file_magic_cmd=/usr/bin/file
5841 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5845 lt_cv_deplibs_check_method=pass_all
5849 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5850 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5852 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5856 osf3* | osf4* | osf5*)
5857 lt_cv_deplibs_check_method=pass_all
5861 lt_cv_deplibs_check_method=pass_all
5865 lt_cv_deplibs_check_method=pass_all
5868 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5869 lt_cv_deplibs_check_method=pass_all
5873 case $host_vendor in
5875 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]'
5876 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5879 lt_cv_deplibs_check_method=pass_all
5882 lt_cv_file_magic_cmd='/bin/file'
5883 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5886 lt_cv_file_magic_cmd='/bin/file'
5887 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5888 lt_cv_file_magic_test_file=/lib/libc.so
5891 lt_cv_deplibs_check_method=pass_all
5894 lt_cv_deplibs_check_method=pass_all
5900 lt_cv_deplibs_check_method=pass_all
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5906 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5907 file_magic_cmd=$lt_cv_file_magic_cmd
5908 deplibs_check_method=$lt_cv_deplibs_check_method
5909 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5922 if test -n "$ac_tool_prefix"; then
5923 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5924 set dummy ${ac_tool_prefix}ar; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5926 $as_echo_n "checking
for $ac_word...
" >&6; }
5927 if test "${ac_cv_prog_AR+set}" = set; then :
5928 $as_echo_n "(cached
) " >&6
5930 if test -n "$AR"; then
5931 ac_cv_prog_AR="$AR" # Let the user override the test.
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5940 ac_cv_prog_AR="${ac_tool_prefix}ar"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5951 if test -n "$AR"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5953 $as_echo "$AR" >&6; }
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5956 $as_echo "no
" >&6; }
5961 if test -z "$ac_cv_prog_AR"; then
5963 # Extract the first word of "ar", so it can be a program name with args.
5964 set dummy ar; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5966 $as_echo_n "checking
for $ac_word...
" >&6; }
5967 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5968 $as_echo_n "(cached
) " >&6
5970 if test -n "$ac_ct_AR"; then
5971 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5980 ac_cv_prog_ac_ct_AR="ar"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5990 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5991 if test -n "$ac_ct_AR"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5993 $as_echo "$ac_ct_AR" >&6; }
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5996 $as_echo "no
" >&6; }
5999 if test "x
$ac_ct_AR" = x; then
6002 case $cross_compiling:$ac_tool_warned in
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6005 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6006 ac_tool_warned=yes ;;
6014 test -z "$AR" && AR=ar
6015 test -z "$AR_FLAGS" && AR_FLAGS=cru
6027 if test -n "$ac_tool_prefix"; then
6028 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6029 set dummy ${ac_tool_prefix}strip; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6031 $as_echo_n "checking
for $ac_word...
" >&6; }
6032 if test "${ac_cv_prog_STRIP+set}" = set; then :
6033 $as_echo_n "(cached
) " >&6
6035 if test -n "$STRIP"; then
6036 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6045 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6055 STRIP=$ac_cv_prog_STRIP
6056 if test -n "$STRIP"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6058 $as_echo "$STRIP" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6061 $as_echo "no
" >&6; }
6066 if test -z "$ac_cv_prog_STRIP"; then
6068 # Extract the first word of "strip
", so it can be a program name with args.
6069 set dummy strip; ac_word=$2
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6071 $as_echo_n "checking
for $ac_word...
" >&6; }
6072 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6073 $as_echo_n "(cached
) " >&6
6075 if test -n "$ac_ct_STRIP"; then
6076 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 test -z "$as_dir" && as_dir=.
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6085 ac_cv_prog_ac_ct_STRIP="strip
"
6086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6095 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6096 if test -n "$ac_ct_STRIP"; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6098 $as_echo "$ac_ct_STRIP" >&6; }
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6101 $as_echo "no
" >&6; }
6104 if test "x
$ac_ct_STRIP" = x; then
6107 case $cross_compiling:$ac_tool_warned in
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6110 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6111 ac_tool_warned=yes ;;
6116 STRIP="$ac_cv_prog_STRIP"
6119 test -z "$STRIP" && STRIP=:
6126 if test -n "$ac_tool_prefix"; then
6127 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6128 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6130 $as_echo_n "checking
for $ac_word...
" >&6; }
6131 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6132 $as_echo_n "(cached
) " >&6
6134 if test -n "$RANLIB"; then
6135 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 test -z "$as_dir" && as_dir=.
6142 for ac_exec_ext in '' $ac_executable_extensions; do
6143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6144 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6154 RANLIB=$ac_cv_prog_RANLIB
6155 if test -n "$RANLIB"; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6157 $as_echo "$RANLIB" >&6; }
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6160 $as_echo "no
" >&6; }
6165 if test -z "$ac_cv_prog_RANLIB"; then
6166 ac_ct_RANLIB=$RANLIB
6167 # Extract the first word of "ranlib
", so it can be a program name with args.
6168 set dummy ranlib; ac_word=$2
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6170 $as_echo_n "checking
for $ac_word...
" >&6; }
6171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6172 $as_echo_n "(cached
) " >&6
6174 if test -n "$ac_ct_RANLIB"; then
6175 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181 test -z "$as_dir" && as_dir=.
6182 for ac_exec_ext in '' $ac_executable_extensions; do
6183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6184 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6194 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6195 if test -n "$ac_ct_RANLIB"; then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6197 $as_echo "$ac_ct_RANLIB" >&6; }
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6200 $as_echo "no
" >&6; }
6203 if test "x
$ac_ct_RANLIB" = x; then
6206 case $cross_compiling:$ac_tool_warned in
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6209 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6210 ac_tool_warned=yes ;;
6212 RANLIB=$ac_ct_RANLIB
6215 RANLIB="$ac_cv_prog_RANLIB"
6218 test -z "$RANLIB" && RANLIB=:
6225 # Determine commands to create old-style static archives.
6226 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6227 old_postinstall_cmds='chmod 644 $oldlib'
6228 old_postuninstall_cmds=
6230 if test -n "$RANLIB"; then
6233 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6236 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6239 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6244 lock_old_archive_extraction=yes ;;
6246 lock_old_archive_extraction=no ;;
6287 # If no C compiler was specified, use CC.
6290 # If no C compiler flags were specified, use CFLAGS.
6291 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6293 # Allow CC to be a program name with arguments.
6297 # Check for command to grab the raw symbol name followed by C symbol from nm.
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6299 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6300 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6301 $as_echo_n "(cached
) " >&6
6304 # These are sane defaults that work on at least a few old systems.
6305 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6307 # Character class describing NM global symbol codes.
6308 symcode='[BCDEGRST]'
6310 # Regexp to match symbols that can be accessed directly from C.
6311 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6313 # Define system-specific variables.
6318 cygwin* | mingw* | pw32* | cegcc*)
6319 symcode='[ABCDGISTW]'
6322 if test "$host_cpu" = ia64; then
6323 symcode='[ABCDEGRST]'
6327 symcode='[BCDEGRST]'
6330 symcode='[BCDEGQRST]'
6341 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6349 # If we're using GNU nm, then use its standard symbol codes.
6350 case `$NM -V 2>&1` in
6351 *GNU* | *'with BFD'*)
6352 symcode='[ABCDGIRSTW]' ;;
6355 # Transform an extracted symbol line into a proper C declaration.
6356 # Some systems (esp. on ia64) link data and code symbols differently,
6357 # so use this general approach.
6358 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6360 # Transform an extracted symbol line into symbol name and symbol address
6361 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6362 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'"
6364 # Handle CRLF in mingw tool chain
6368 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6372 # Try without a prefix underscore, then with it.
6373 for ac_symprfx in "" "_
"; do
6375 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6376 symxfrm="\\1 $ac_symprfx\\2 \\2"
6378 # Write the raw and C identifiers.
6379 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6380 # Fake it for dumpbin and say T for any non-static function
6381 # and D for any global variable.
6382 # Also find C++ and __fastcall symbols from MSVC++,
6383 # which start with @ or ?.
6384 lt_cv_sys_global_symbol_pipe="$AWK '"\
6385 " {last_section=section; section=\$ 3};"\
6386 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6387 " \$ 0!~/External *\|/{next};"\
6388 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6389 " {if(hide[section]) next};"\
6390 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6391 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6392 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6393 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6394 " ' prfx
=^
$ac_symprfx"
6396 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6399 # Check to see that the pipe works correctly.
6403 cat > conftest.$ac_ext <<_LT_EOF
6408 void nm_test_func(void);
6409 void nm_test_func(void){}
6413 int main(){nm_test_var='a';nm_test_func();return(0);}
6416 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6417 (eval $ac_compile) 2>&5
6419 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6420 test $ac_status = 0; }; then
6421 # Now try to grab the symbols.
6423 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6424 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6426 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6427 test $ac_status = 0; } && test -s "$nlist"; then
6428 # Try sorting and uniquifying the output.
6429 if sort "$nlist" | uniq > "$nlist"T; then
6430 mv -f "$nlist"T "$nlist"
6435 # Make sure that we snagged all the symbols we need.
6436 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6437 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6438 cat <<_LT_EOF > conftest.$ac_ext
6444 # Now generate the symbol file.
6445 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6447 cat <<_LT_EOF >> conftest.$ac_ext
6449 /* The mapping between symbol names and symbols. */
6454 lt__PROGRAM__LTX_preloaded_symbols[] =
6456 { "@PROGRAM@
", (void *) 0 },
6458 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6459 cat <<\_LT_EOF >> conftest.$ac_ext
6463 /* This works around a problem in FreeBSD linker */
6464 #ifdef FREEBSD_WORKAROUND
6465 static const void *lt_preloaded_setup() {
6466 return lt__PROGRAM__LTX_preloaded_symbols;
6474 # Now try linking the two files.
6475 mv conftest.$ac_objext conftstm.$ac_objext
6476 lt_save_LIBS="$LIBS"
6477 lt_save_CFLAGS="$CFLAGS"
6478 LIBS="conftstm.
$ac_objext"
6479 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6480 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6481 (eval $ac_link) 2>&5
6483 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6484 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6487 LIBS="$lt_save_LIBS"
6488 CFLAGS="$lt_save_CFLAGS"
6490 echo "cannot
find nm_test_func
in $nlist" >&5
6493 echo "cannot
find nm_test_var
in $nlist" >&5
6496 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6499 echo "$progname: failed program was
:" >&5
6500 cat conftest.$ac_ext >&5
6502 rm -rf conftest* conftst*
6504 # Do not use the global_symbol_pipe unless it works.
6505 if test "$pipe_works" = yes; then
6508 lt_cv_sys_global_symbol_pipe=
6514 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6515 lt_cv_sys_global_symbol_to_cdecl=
6517 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6519 $as_echo "failed
" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6522 $as_echo "ok
" >&6; }
6547 # Check whether --enable-libtool-lock was given.
6548 if test "${enable_libtool_lock+set}" = set; then :
6549 enableval=$enable_libtool_lock;
6552 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6554 # Some flags need to be propagated to the compiler or linker for good
6558 # Find out which ABI we are using.
6559 echo 'int i;' > conftest.$ac_ext
6560 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6561 (eval $ac_compile) 2>&5
6563 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6564 test $ac_status = 0; }; then
6565 case `/usr/bin/file conftest.$ac_objext` in
6577 # Find out which ABI we are using.
6578 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6579 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6580 (eval $ac_compile) 2>&5
6582 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6583 test $ac_status = 0; }; then
6584 if test "$lt_cv_prog_gnu_ld" = yes; then
6585 case `/usr/bin/file conftest.$ac_objext` in
6587 LD="${LD-ld} -melf32bsmip"
6590 LD="${LD-ld} -melf32bmipn32"
6593 LD="${LD-ld} -melf64bmip"
6597 case `/usr/bin/file conftest.$ac_objext` in
6613 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6614 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6615 # Find out which ABI we are using.
6616 echo 'int i;' > conftest.$ac_ext
6617 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6618 (eval $ac_compile) 2>&5
6620 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6621 test $ac_status = 0; }; then
6622 case `/usr/bin/file conftest.o` in
6625 x86_64-*kfreebsd*-gnu)
6626 LD="${LD-ld} -m elf_i386_fbsd
"
6629 case `/usr/bin/file conftest.o` in
6631 LD="${LD-ld} -m elf32_x86_64
"
6634 LD="${LD-ld} -m elf_i386
"
6638 powerpc64le-*linux*)
6639 LD="${LD-ld} -m elf32lppclinux
"
6642 LD="${LD-ld} -m elf32ppclinux
"
6645 LD="${LD-ld} -m elf_s390
"
6648 LD="${LD-ld} -m elf32_sparc
"
6654 x86_64-*kfreebsd*-gnu)
6655 LD="${LD-ld} -m elf_x86_64_fbsd
"
6658 LD="${LD-ld} -m elf_x86_64
"
6661 LD="${LD-ld} -m elf64lppc
"
6664 LD="${LD-ld} -m elf64ppc
"
6666 s390*-*linux*|s390*-*tpf*)
6667 LD="${LD-ld} -m elf64_s390
"
6670 LD="${LD-ld} -m elf64_sparc
"
6680 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6681 SAVE_CFLAGS="$CFLAGS"
6682 CFLAGS="$CFLAGS -belf"
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6684 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6685 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6686 $as_echo_n "(cached
) " >&6
6689 ac_cpp='$CPP $CPPFLAGS'
6690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6695 /* end confdefs.h. */
6705 if ac_fn_c_try_link "$LINENO"; then :
6706 lt_cv_cc_needs_belf=yes
6708 lt_cv_cc_needs_belf=no
6710 rm -f core conftest.err conftest.$ac_objext \
6711 conftest$ac_exeext conftest.$ac_ext
6713 ac_cpp='$CPP $CPPFLAGS'
6714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6720 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6721 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6722 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6723 CFLAGS="$SAVE_CFLAGS"
6727 # Find out which ABI we are using.
6728 echo 'int i;' > conftest.$ac_ext
6729 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6730 (eval $ac_compile) 2>&5
6732 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6733 test $ac_status = 0; }; then
6734 case `/usr/bin/file conftest.o` in
6736 case $lt_cv_prog_gnu_ld in
6737 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6739 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6751 need_locks="$enable_libtool_lock"
6755 rhapsody* | darwin*)
6756 if test -n "$ac_tool_prefix"; then
6757 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6758 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6760 $as_echo_n "checking
for $ac_word...
" >&6; }
6761 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6762 $as_echo_n "(cached
) " >&6
6764 if test -n "$DSYMUTIL"; then
6765 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6784 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6785 if test -n "$DSYMUTIL"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6787 $as_echo "$DSYMUTIL" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6790 $as_echo "no
" >&6; }
6795 if test -z "$ac_cv_prog_DSYMUTIL"; then
6796 ac_ct_DSYMUTIL=$DSYMUTIL
6797 # Extract the first word of "dsymutil
", so it can be a program name with args.
6798 set dummy dsymutil; ac_word=$2
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6800 $as_echo_n "checking
for $ac_word...
" >&6; }
6801 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6802 $as_echo_n "(cached
) " >&6
6804 if test -n "$ac_ct_DSYMUTIL"; then
6805 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811 test -z "$as_dir" && as_dir=.
6812 for ac_exec_ext in '' $ac_executable_extensions; do
6813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6814 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6815 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6824 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6825 if test -n "$ac_ct_DSYMUTIL"; then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6827 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6830 $as_echo "no
" >&6; }
6833 if test "x
$ac_ct_DSYMUTIL" = x; then
6836 case $cross_compiling:$ac_tool_warned in
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6839 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6840 ac_tool_warned=yes ;;
6842 DSYMUTIL=$ac_ct_DSYMUTIL
6845 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6848 if test -n "$ac_tool_prefix"; then
6849 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6850 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6852 $as_echo_n "checking
for $ac_word...
" >&6; }
6853 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6854 $as_echo_n "(cached
) " >&6
6856 if test -n "$NMEDIT"; then
6857 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir=.
6864 for ac_exec_ext in '' $ac_executable_extensions; do
6865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6866 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6876 NMEDIT=$ac_cv_prog_NMEDIT
6877 if test -n "$NMEDIT"; then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6879 $as_echo "$NMEDIT" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6882 $as_echo "no
" >&6; }
6887 if test -z "$ac_cv_prog_NMEDIT"; then
6888 ac_ct_NMEDIT=$NMEDIT
6889 # Extract the first word of "nmedit
", so it can be a program name with args.
6890 set dummy nmedit; ac_word=$2
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6892 $as_echo_n "checking
for $ac_word...
" >&6; }
6893 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6894 $as_echo_n "(cached
) " >&6
6896 if test -n "$ac_ct_NMEDIT"; then
6897 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 test -z "$as_dir" && as_dir=.
6904 for ac_exec_ext in '' $ac_executable_extensions; do
6905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6906 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6916 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6917 if test -n "$ac_ct_NMEDIT"; then
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6919 $as_echo "$ac_ct_NMEDIT" >&6; }
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6922 $as_echo "no
" >&6; }
6925 if test "x
$ac_ct_NMEDIT" = x; then
6928 case $cross_compiling:$ac_tool_warned in
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6931 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6932 ac_tool_warned=yes ;;
6934 NMEDIT=$ac_ct_NMEDIT
6937 NMEDIT="$ac_cv_prog_NMEDIT"
6940 if test -n "$ac_tool_prefix"; then
6941 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6942 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6944 $as_echo_n "checking
for $ac_word...
" >&6; }
6945 if test "${ac_cv_prog_LIPO+set}" = set; then :
6946 $as_echo_n "(cached
) " >&6
6948 if test -n "$LIPO"; then
6949 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6958 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6968 LIPO=$ac_cv_prog_LIPO
6969 if test -n "$LIPO"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6971 $as_echo "$LIPO" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6974 $as_echo "no
" >&6; }
6979 if test -z "$ac_cv_prog_LIPO"; then
6981 # Extract the first word of "lipo
", so it can be a program name with args.
6982 set dummy lipo; ac_word=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6984 $as_echo_n "checking
for $ac_word...
" >&6; }
6985 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6986 $as_echo_n "(cached
) " >&6
6988 if test -n "$ac_ct_LIPO"; then
6989 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir=.
6996 for ac_exec_ext in '' $ac_executable_extensions; do
6997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6998 ac_cv_prog_ac_ct_LIPO="lipo
"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7008 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7009 if test -n "$ac_ct_LIPO"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7011 $as_echo "$ac_ct_LIPO" >&6; }
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7014 $as_echo "no
" >&6; }
7017 if test "x
$ac_ct_LIPO" = x; then
7020 case $cross_compiling:$ac_tool_warned in
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7023 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7024 ac_tool_warned=yes ;;
7029 LIPO="$ac_cv_prog_LIPO"
7032 if test -n "$ac_tool_prefix"; then
7033 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7034 set dummy ${ac_tool_prefix}otool; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7036 $as_echo_n "checking
for $ac_word...
" >&6; }
7037 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7038 $as_echo_n "(cached
) " >&6
7040 if test -n "$OTOOL"; then
7041 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7060 OTOOL=$ac_cv_prog_OTOOL
7061 if test -n "$OTOOL"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7063 $as_echo "$OTOOL" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7066 $as_echo "no
" >&6; }
7071 if test -z "$ac_cv_prog_OTOOL"; then
7073 # Extract the first word of "otool
", so it can be a program name with args.
7074 set dummy otool; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7076 $as_echo_n "checking
for $ac_word...
" >&6; }
7077 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7078 $as_echo_n "(cached
) " >&6
7080 if test -n "$ac_ct_OTOOL"; then
7081 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090 ac_cv_prog_ac_ct_OTOOL="otool
"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7100 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7101 if test -n "$ac_ct_OTOOL"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7103 $as_echo "$ac_ct_OTOOL" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7106 $as_echo "no
" >&6; }
7109 if test "x
$ac_ct_OTOOL" = x; then
7112 case $cross_compiling:$ac_tool_warned in
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7115 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7116 ac_tool_warned=yes ;;
7121 OTOOL="$ac_cv_prog_OTOOL"
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7126 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7128 $as_echo_n "checking
for $ac_word...
" >&6; }
7129 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7130 $as_echo_n "(cached
) " >&6
7132 if test -n "$OTOOL64"; then
7133 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7152 OTOOL64=$ac_cv_prog_OTOOL64
7153 if test -n "$OTOOL64"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7155 $as_echo "$OTOOL64" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7158 $as_echo "no
" >&6; }
7163 if test -z "$ac_cv_prog_OTOOL64"; then
7164 ac_ct_OTOOL64=$OTOOL64
7165 # Extract the first word of "otool64
", so it can be a program name with args.
7166 set dummy otool64; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7168 $as_echo_n "checking
for $ac_word...
" >&6; }
7169 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7170 $as_echo_n "(cached
) " >&6
7172 if test -n "$ac_ct_OTOOL64"; then
7173 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7182 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7192 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7193 if test -n "$ac_ct_OTOOL64"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7195 $as_echo "$ac_ct_OTOOL64" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7198 $as_echo "no
" >&6; }
7201 if test "x
$ac_ct_OTOOL64" = x; then
7204 case $cross_compiling:$ac_tool_warned in
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7207 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7208 ac_tool_warned=yes ;;
7210 OTOOL64=$ac_ct_OTOOL64
7213 OTOOL64="$ac_cv_prog_OTOOL64"
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7243 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7244 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7245 $as_echo_n "(cached
) " >&6
7247 lt_cv_apple_cc_single_mod=no
7248 if test -z "${LT_MULTI_MODULE}"; then
7249 # By default we will add the -single_module flag. You can override
7250 # by either setting the environment variable LT_MULTI_MODULE
7251 # non-empty at configure time, or by adding -multi_module to the
7253 rm -rf libconftest.dylib*
7254 echo "int foo
(void
){return 1;}" > conftest.c
7255 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7256 -dynamiclib -Wl,-single_module conftest.c
" >&5
7257 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7258 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7260 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7261 lt_cv_apple_cc_single_mod=yes
7263 cat conftest.err >&5
7265 rm -rf libconftest.dylib*
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7270 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7272 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7273 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7274 $as_echo_n "(cached
) " >&6
7276 lt_cv_ld_exported_symbols_list=no
7277 save_LDFLAGS=$LDFLAGS
7278 echo "_main
" > conftest.sym
7279 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7281 /* end confdefs.h. */
7291 if ac_fn_c_try_link "$LINENO"; then :
7292 lt_cv_ld_exported_symbols_list=yes
7294 lt_cv_ld_exported_symbols_list=no
7296 rm -f core conftest.err conftest.$ac_objext \
7297 conftest$ac_exeext conftest.$ac_ext
7298 LDFLAGS="$save_LDFLAGS"
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7302 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7304 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7305 if test "${lt_cv_ld_force_load+set}" = set; then :
7306 $as_echo_n "(cached
) " >&6
7308 lt_cv_ld_force_load=no
7309 cat > conftest.c << _LT_EOF
7310 int forced_loaded() { return 2;}
7312 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7313 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7314 echo "$AR cru libconftest.a conftest.o
" >&5
7315 $AR cru libconftest.a conftest.o 2>&5
7316 cat > conftest.c << _LT_EOF
7317 int main() { return 0;}
7319 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7320 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7322 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7323 lt_cv_ld_force_load=yes
7325 cat conftest.err >&5
7327 rm -f conftest.err libconftest.a conftest conftest.c
7328 rm -rf conftest.dSYM
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7332 $as_echo "$lt_cv_ld_force_load" >&6; }
7334 rhapsody* | darwin1.[012])
7335 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7337 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7338 darwin*) # darwin 5.x on
7339 # if running on 10.5 or later, the deployment target defaults
7340 # to the OS version, if on x86, and 10.4, the deployment
7341 # target defaults to 10.4. Don't you love it?
7342 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7343 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7344 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7346 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7348 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7352 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7353 _lt_dar_single_mod='$single_module'
7355 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7356 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7358 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7360 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7361 _lt_dsymutil='~$DSYMUTIL $lib || :'
7369 ac_cpp='$CPP $CPPFLAGS'
7370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7374 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7375 # On Suns, sometimes $CPP names a directory.
7376 if test -n "$CPP" && test -d "$CPP"; then
7379 if test -z "$CPP"; then
7380 if test "${ac_cv_prog_CPP+set}" = set; then :
7381 $as_echo_n "(cached
) " >&6
7383 # Double quotes because CPP needs to be expanded
7384 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7387 for ac_c_preproc_warn_flag in '' yes
7389 # Use a header file that comes with gcc, so configuring glibc
7390 # with a fresh cross-compiler works.
7391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7392 # <limits.h> exists even on freestanding compilers.
7393 # On the NeXT, cc -E runs the code through the compiler's parser,
7394 # not just through cpp. "Syntax error
" is here to catch this case.
7395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7396 /* end confdefs.h. */
7398 # include <limits.h>
7400 # include <assert.h>
7404 if ac_fn_c_try_cpp "$LINENO"; then :
7407 # Broken: fails on valid input.
7410 rm -f conftest.err conftest.$ac_ext
7412 # OK, works on sane cases. Now check whether nonexistent headers
7413 # can be detected and how.
7414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7415 /* end confdefs.h. */
7416 #include <ac_nonexistent.h>
7418 if ac_fn_c_try_cpp "$LINENO"; then :
7419 # Broken: success on invalid input.
7422 # Passes both tests.
7426 rm -f conftest.err conftest.$ac_ext
7429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7430 rm -f conftest.err conftest.$ac_ext
7431 if $ac_preproc_ok; then :
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7444 $as_echo "$CPP" >&6; }
7446 for ac_c_preproc_warn_flag in '' yes
7448 # Use a header file that comes with gcc, so configuring glibc
7449 # with a fresh cross-compiler works.
7450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7451 # <limits.h> exists even on freestanding compilers.
7452 # On the NeXT, cc -E runs the code through the compiler's parser,
7453 # not just through cpp. "Syntax error
" is here to catch this case.
7454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7455 /* end confdefs.h. */
7457 # include <limits.h>
7459 # include <assert.h>
7463 if ac_fn_c_try_cpp "$LINENO"; then :
7466 # Broken: fails on valid input.
7469 rm -f conftest.err conftest.$ac_ext
7471 # OK, works on sane cases. Now check whether nonexistent headers
7472 # can be detected and how.
7473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7474 /* end confdefs.h. */
7475 #include <ac_nonexistent.h>
7477 if ac_fn_c_try_cpp "$LINENO"; then :
7478 # Broken: success on invalid input.
7481 # Passes both tests.
7485 rm -f conftest.err conftest.$ac_ext
7488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7489 rm -f conftest.err conftest.$ac_ext
7490 if $ac_preproc_ok; then :
7493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7495 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7496 See \`config.log' for more details.
" "$LINENO" 5; }
7500 ac_cpp='$CPP $CPPFLAGS'
7501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7507 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7508 if test "${ac_cv_header_stdc+set}" = set; then :
7509 $as_echo_n "(cached
) " >&6
7511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7512 /* end confdefs.h. */
7526 if ac_fn_c_try_compile "$LINENO"; then :
7527 ac_cv_header_stdc=yes
7529 ac_cv_header_stdc=no
7531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7533 if test $ac_cv_header_stdc = yes; then
7534 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7536 /* end confdefs.h. */
7540 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7541 $EGREP "memchr
" >/dev/null 2>&1; then :
7544 ac_cv_header_stdc=no
7550 if test $ac_cv_header_stdc = yes; then
7551 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553 /* end confdefs.h. */
7557 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7558 $EGREP "free
" >/dev/null 2>&1; then :
7561 ac_cv_header_stdc=no
7567 if test $ac_cv_header_stdc = yes; then
7568 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7569 if test "$cross_compiling" = yes; then :
7572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7573 /* end confdefs.h. */
7576 #if ((' ' & 0x0FF) == 0x020)
7577 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7578 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7580 # define ISLOWER(c) \
7581 (('a' <= (c) && (c) <= 'i') \
7582 || ('j' <= (c) && (c) <= 'r') \
7583 || ('s' <= (c) && (c) <= 'z'))
7584 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7592 for (i = 0; i < 256; i++)
7593 if (XOR (islower (i), ISLOWER (i))
7594 || toupper (i) != TOUPPER (i))
7599 if ac_fn_c_try_run "$LINENO"; then :
7602 ac_cv_header_stdc=no
7604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7605 conftest.$ac_objext conftest.beam conftest.$ac_ext
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7611 $as_echo "$ac_cv_header_stdc" >&6; }
7612 if test $ac_cv_header_stdc = yes; then
7614 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7618 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7619 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7620 inttypes.h stdint.h unistd.h
7622 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7623 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7625 eval as_val
=\$
$as_ac_Header
7626 if test "x$as_val" = x
""yes; then :
7627 cat >>confdefs.h
<<_ACEOF
7628 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7636 for ac_header
in dlfcn.h
7638 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7640 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7641 cat >>confdefs.h
<<_ACEOF
7642 #define HAVE_DLFCN_H 1
7662 # Check whether --enable-shared was given.
7663 if test "${enable_shared+set}" = set; then :
7664 enableval
=$enable_shared; p
=${PACKAGE-default}
7666 yes) enable_shared
=yes ;;
7667 no
) enable_shared
=no
;;
7670 # Look at the argument we got. We use all the common list separators.
7671 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7672 for pkg
in $enableval; do
7674 if test "X$pkg" = "X$p"; then
7693 # Check whether --enable-static was given.
7694 if test "${enable_static+set}" = set; then :
7695 enableval
=$enable_static; p
=${PACKAGE-default}
7697 yes) enable_static
=yes ;;
7698 no
) enable_static
=no
;;
7701 # Look at the argument we got. We use all the common list separators.
7702 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7703 for pkg
in $enableval; do
7705 if test "X$pkg" = "X$p"; then
7725 # Check whether --with-pic was given.
7726 if test "${with_pic+set}" = set; then :
7727 withval
=$with_pic; pic_mode
="$withval"
7733 test -z "$pic_mode" && pic_mode
=default
7741 # Check whether --enable-fast-install was given.
7742 if test "${enable_fast_install+set}" = set; then :
7743 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7745 yes) enable_fast_install
=yes ;;
7746 no
) enable_fast_install
=no
;;
7748 enable_fast_install
=no
7749 # Look at the argument we got. We use all the common list separators.
7750 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7751 for pkg
in $enableval; do
7753 if test "X$pkg" = "X$p"; then
7754 enable_fast_install
=yes
7761 enable_fast_install
=yes
7774 # This can be used to rebuild libtool when needed
7775 LIBTOOL_DEPS
="$ltmain"
7777 # Always use our own libtool.
7778 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7805 test -z "$LN_S" && LN_S
="ln -s"
7820 if test -n "${ZSH_VERSION+set}" ; then
7821 setopt NO_GLOB_SUBST
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7825 $as_echo_n "checking for objdir... " >&6; }
7826 if test "${lt_cv_objdir+set}" = set; then :
7827 $as_echo_n "(cached) " >&6
7829 rm -f .libs
2>/dev
/null
7830 mkdir .libs
2>/dev
/null
7831 if test -d .libs
; then
7834 # MS-DOS does not allow filenames that begin with a dot.
7837 rmdir .libs
2>/dev
/null
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7840 $as_echo "$lt_cv_objdir" >&6; }
7841 objdir
=$lt_cv_objdir
7847 cat >>confdefs.h
<<_ACEOF
7848 #define LT_OBJDIR "$lt_cv_objdir/"
7856 # AIX sometimes has problems with the GCC collect2 program. For some
7857 # reason, if we set the COLLECT_NAMES environment variable, the problems
7858 # vanish in a puff of smoke.
7859 if test "X${COLLECT_NAMES+set}" != Xset
; then
7861 export COLLECT_NAMES
7868 can_build_shared
=yes
7870 # All known linkers require a `.a' archive for static linking (except MSVC,
7871 # which needs '.lib').
7874 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7877 old_CFLAGS
="$CFLAGS"
7879 # Set sane defaults for various variables
7880 test -z "$CC" && CC
=cc
7881 test -z "$LTCC" && LTCC
=$CC
7882 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7883 test -z "$LD" && LD
=ld
7884 test -z "$ac_objext" && ac_objext
=o
7886 for cc_temp
in $compiler""; do
7888 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7889 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7894 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7897 # Only perform the check for file, if the check method requires it
7898 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7899 case $deplibs_check_method in
7901 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7903 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7904 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7905 $as_echo_n "(cached) " >&6
7909 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7912 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7913 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7914 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7915 for ac_dir
in $ac_dummy; do
7917 test -z "$ac_dir" && ac_dir
=.
7918 if test -f $ac_dir/${ac_tool_prefix}file; then
7919 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7920 if test -n "$file_magic_test_file"; then
7921 case $deplibs_check_method in
7923 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7924 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7925 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7926 $EGREP "$file_magic_regex" > /dev
/null
; then
7931 *** Warning: the command libtool uses to detect shared libraries,
7932 *** $file_magic_cmd, produces output that libtool cannot recognize.
7933 *** The result is that libtool may fail to recognize shared libraries
7934 *** as such. This will affect the creation of libtool libraries that
7935 *** depend on shared libraries, but programs linked with such libtool
7936 *** libraries will work regardless of this problem. Nevertheless, you
7937 *** may want to report the problem to your system manager and/or to
7938 *** bug-libtool@gnu.org
7948 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7953 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7954 if test -n "$MAGIC_CMD"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7956 $as_echo "$MAGIC_CMD" >&6; }
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7966 if test -z "$lt_cv_path_MAGIC_CMD"; then
7967 if test -n "$ac_tool_prefix"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7969 $as_echo_n "checking for file... " >&6; }
7970 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7971 $as_echo_n "(cached) " >&6
7975 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7978 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7979 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7980 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7981 for ac_dir
in $ac_dummy; do
7983 test -z "$ac_dir" && ac_dir
=.
7984 if test -f $ac_dir/file; then
7985 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7986 if test -n "$file_magic_test_file"; then
7987 case $deplibs_check_method in
7989 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7990 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7991 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7992 $EGREP "$file_magic_regex" > /dev
/null
; then
7997 *** Warning: the command libtool uses to detect shared libraries,
7998 *** $file_magic_cmd, produces output that libtool cannot recognize.
7999 *** The result is that libtool may fail to recognize shared libraries
8000 *** as such. This will affect the creation of libtool libraries that
8001 *** depend on shared libraries, but programs linked with such libtool
8002 *** libraries will work regardless of this problem. Nevertheless, you
8003 *** may want to report the problem to your system manager and/or to
8004 *** bug-libtool@gnu.org
8014 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8019 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8020 if test -n "$MAGIC_CMD"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8022 $as_echo "$MAGIC_CMD" >&6; }
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8025 $as_echo "no" >&6; }
8038 # Use C for the default configuration in the libtool script
8042 ac_cpp
='$CPP $CPPFLAGS'
8043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8048 # Source file extension for C test sources.
8051 # Object file extension for compiled C test sources.
8055 # Code to be used in simple compile tests
8056 lt_simple_compile_test_code
="int some_variable = 0;"
8058 # Code to be used in simple link tests
8059 lt_simple_link_test_code
='int main(){return(0);}'
8067 # If no C compiler was specified, use CC.
8070 # If no C compiler flags were specified, use CFLAGS.
8071 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8073 # Allow CC to be a program name with arguments.
8076 # Save the default compiler, since it gets overwritten when the other
8077 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8078 compiler_DEFAULT
=$CC
8080 # save warnings/boilerplate of simple test code
8081 ac_outfile
=conftest.
$ac_objext
8082 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8083 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8084 _lt_compiler_boilerplate
=`cat conftest.err`
8087 ac_outfile
=conftest.
$ac_objext
8088 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8089 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8090 _lt_linker_boilerplate
=`cat conftest.err`
8095 ## There is no encapsulation within the following macros, do not change
8096 ## the running order or otherwise move them around unless you know exactly
8097 ## what you are doing...
8098 if test -n "$compiler"; then
8100 lt_prog_compiler_no_builtin_flag
=
8102 if test "$GCC" = yes; then
8103 case $cc_basename in
8105 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8107 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8111 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8112 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8113 $as_echo_n "(cached) " >&6
8115 lt_cv_prog_compiler_rtti_exceptions
=no
8116 ac_outfile
=conftest.
$ac_objext
8117 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8118 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8119 # Insert the option either (1) after the last *FLAGS variable, or
8120 # (2) before a word containing "conftest.", or (3) at the end.
8121 # Note that $ac_compile itself does not contain backslashes and begins
8122 # with a dollar sign (not a hyphen), so the echo should work correctly.
8123 # The option is referenced via a variable to avoid confusing sed.
8124 lt_compile
=`echo "$ac_compile" | $SED \
8125 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8126 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8127 -e 's:$: $lt_compiler_flag:'`
8128 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8129 (eval "$lt_compile" 2>conftest.err
)
8131 cat conftest.err
>&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 if (exit $ac_status) && test -s "$ac_outfile"; then
8134 # The compiler can only warn and ignore the option if not recognized
8135 # So say no if there are warnings other than the usual output.
8136 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8137 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8138 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8139 lt_cv_prog_compiler_rtti_exceptions
=yes
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8146 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8148 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8149 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8161 lt_prog_compiler_wl
=
8162 lt_prog_compiler_pic
=
8163 lt_prog_compiler_static
=
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8166 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8168 if test "$GCC" = yes; then
8169 lt_prog_compiler_wl
='-Wl,'
8170 lt_prog_compiler_static
='-static'
8174 # All AIX code is PIC.
8175 if test "$host_cpu" = ia64
; then
8176 # AIX 5 now supports IA64 processor
8177 lt_prog_compiler_static
='-Bstatic'
8179 lt_prog_compiler_pic
='-fPIC'
8185 # see comment about AmigaOS4 .so support
8186 lt_prog_compiler_pic
='-fPIC'
8189 # FIXME: we need at least 68020 code to build shared libraries, but
8190 # adding the `-m68020' flag to GCC prevents building anything better,
8192 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8197 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8198 # PIC is the default for these OSes.
8201 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8202 # This hack is so that the source file can tell whether it is being
8203 # built for inclusion in a dll (and should export symbols for example).
8204 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8205 # (--disable-auto-import) libraries
8206 lt_prog_compiler_pic
='-DDLL_EXPORT'
8209 darwin
* | rhapsody
*)
8210 # PIC is the default on this platform
8211 # Common symbols not allowed in MH_DYLIB files
8212 lt_prog_compiler_pic
='-fno-common'
8216 # PIC is the default for Haiku.
8217 # The "-static" flag exists, but is broken.
8218 lt_prog_compiler_static
=
8222 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8223 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8224 # sets the default TLS model and affects inlining.
8230 lt_prog_compiler_pic
='-fPIC'
8236 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8237 # Instead, we relocate shared libraries at runtime.
8241 # Just because we use GCC doesn't mean we suddenly get shared libraries
8242 # on systems that don't support them.
8243 lt_prog_compiler_can_build_shared
=no
8248 # QNX uses GNU C++, but need to define -shared option too, otherwise
8250 lt_prog_compiler_pic
='-fPIC -shared'
8254 if test -d /usr
/nec
; then
8255 lt_prog_compiler_pic
=-Kconform_pic
8260 lt_prog_compiler_pic
='-fPIC'
8264 case $cc_basename in
8265 nvcc
*) # Cuda Compiler Driver 2.2
8266 lt_prog_compiler_wl
='-Xlinker '
8267 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8271 # PORTME Check for flag to pass linker flags through the system compiler.
8274 lt_prog_compiler_wl
='-Wl,'
8275 if test "$host_cpu" = ia64
; then
8276 # AIX 5 now supports IA64 processor
8277 lt_prog_compiler_static
='-Bstatic'
8279 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8283 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8284 # This hack is so that the source file can tell whether it is being
8285 # built for inclusion in a dll (and should export symbols for example).
8286 lt_prog_compiler_pic
='-DDLL_EXPORT'
8289 hpux9
* | hpux10
* | hpux11
*)
8290 lt_prog_compiler_wl
='-Wl,'
8291 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8298 lt_prog_compiler_pic
='+Z'
8301 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8302 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8305 irix5
* | irix6
* | nonstopux
*)
8306 lt_prog_compiler_wl
='-Wl,'
8307 # PIC (with -KPIC) is the default.
8308 lt_prog_compiler_static
='-non_shared'
8311 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8312 case $cc_basename in
8313 # old Intel for x86_64 which still supported -KPIC.
8315 lt_prog_compiler_wl
='-Wl,'
8316 lt_prog_compiler_pic
='-KPIC'
8317 lt_prog_compiler_static
='-static'
8319 # icc used to be incompatible with GCC.
8320 # ICC 10 doesn't accept -KPIC any more.
8322 lt_prog_compiler_wl
='-Wl,'
8323 lt_prog_compiler_pic
='-fPIC'
8324 lt_prog_compiler_static
='-static'
8326 # Lahey Fortran 8.1.
8328 lt_prog_compiler_wl
='-Wl,'
8329 lt_prog_compiler_pic
='--shared'
8330 lt_prog_compiler_static
='--static'
8332 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8333 # Portland Group compilers (*not* the Pentium gcc compiler,
8334 # which looks to be a dead project)
8335 lt_prog_compiler_wl
='-Wl,'
8336 lt_prog_compiler_pic
='-fpic'
8337 lt_prog_compiler_static
='-Bstatic'
8340 lt_prog_compiler_wl
='-Wl,'
8341 # All Alpha code is PIC.
8342 lt_prog_compiler_static
='-non_shared'
8344 xl
* | bgxl
* | bgf
* | mpixl
*)
8345 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8346 lt_prog_compiler_wl
='-Wl,'
8347 lt_prog_compiler_pic
='-qpic'
8348 lt_prog_compiler_static
='-qstaticlink'
8351 case `$CC -V 2>&1 | sed 5q` in
8352 *Sun\ F
* |
*Sun
*Fortran
*)
8353 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8354 lt_prog_compiler_pic
='-KPIC'
8355 lt_prog_compiler_static
='-Bstatic'
8356 lt_prog_compiler_wl
=''
8360 lt_prog_compiler_pic
='-KPIC'
8361 lt_prog_compiler_static
='-Bstatic'
8362 lt_prog_compiler_wl
='-Wl,'
8370 lt_prog_compiler_pic
='-KPIC'
8371 lt_prog_compiler_static
='-Bstatic'
8375 # QNX uses GNU C++, but need to define -shared option too, otherwise
8377 lt_prog_compiler_pic
='-fPIC -shared'
8380 osf3
* | osf4
* | osf5
*)
8381 lt_prog_compiler_wl
='-Wl,'
8382 # All OSF/1 code is PIC.
8383 lt_prog_compiler_static
='-non_shared'
8387 lt_prog_compiler_static
='-non_shared'
8391 lt_prog_compiler_pic
='-KPIC'
8392 lt_prog_compiler_static
='-Bstatic'
8393 case $cc_basename in
8395 lt_prog_compiler_wl
='-Qoption ld ';;
8397 lt_prog_compiler_wl
='-Wl,';;
8402 lt_prog_compiler_wl
='-Qoption ld '
8403 lt_prog_compiler_pic
='-PIC'
8404 lt_prog_compiler_static
='-Bstatic'
8407 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8408 lt_prog_compiler_wl
='-Wl,'
8409 lt_prog_compiler_pic
='-KPIC'
8410 lt_prog_compiler_static
='-Bstatic'
8414 if test -d /usr
/nec
;then
8415 lt_prog_compiler_pic
='-Kconform_pic'
8416 lt_prog_compiler_static
='-Bstatic'
8420 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8421 lt_prog_compiler_wl
='-Wl,'
8422 lt_prog_compiler_pic
='-KPIC'
8423 lt_prog_compiler_static
='-Bstatic'
8427 lt_prog_compiler_wl
='-Wl,'
8428 lt_prog_compiler_can_build_shared
=no
8432 lt_prog_compiler_pic
='-pic'
8433 lt_prog_compiler_static
='-Bstatic'
8437 lt_prog_compiler_can_build_shared
=no
8443 # For platforms which do not support PIC, -DPIC is meaningless:
8445 lt_prog_compiler_pic
=
8448 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8452 $as_echo "$lt_prog_compiler_pic" >&6; }
8460 # Check to make sure the PIC flag actually works.
8462 if test -n "$lt_prog_compiler_pic"; then
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8464 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8465 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8466 $as_echo_n "(cached) " >&6
8468 lt_cv_prog_compiler_pic_works
=no
8469 ac_outfile
=conftest.
$ac_objext
8470 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8471 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8472 # Insert the option either (1) after the last *FLAGS variable, or
8473 # (2) before a word containing "conftest.", or (3) at the end.
8474 # Note that $ac_compile itself does not contain backslashes and begins
8475 # with a dollar sign (not a hyphen), so the echo should work correctly.
8476 # The option is referenced via a variable to avoid confusing sed.
8477 lt_compile
=`echo "$ac_compile" | $SED \
8478 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8479 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8480 -e 's:$: $lt_compiler_flag:'`
8481 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8482 (eval "$lt_compile" 2>conftest.err
)
8484 cat conftest.err
>&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 if (exit $ac_status) && test -s "$ac_outfile"; then
8487 # The compiler can only warn and ignore the option if not recognized
8488 # So say no if there are warnings other than the usual output.
8489 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8490 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8491 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8492 lt_cv_prog_compiler_pic_works
=yes
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8499 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8501 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8502 case $lt_prog_compiler_pic in
8504 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8507 lt_prog_compiler_pic
=
8508 lt_prog_compiler_can_build_shared
=no
8519 # Check to make sure the static flag actually works.
8521 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8523 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8524 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8525 $as_echo_n "(cached) " >&6
8527 lt_cv_prog_compiler_static_works
=no
8528 save_LDFLAGS
="$LDFLAGS"
8529 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8530 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8531 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8532 # The linker can only warn and ignore the option if not recognized
8533 # So say no if there are warnings
8534 if test -s conftest.err
; then
8535 # Append any errors to the config.log.
8536 cat conftest.err
1>&5
8537 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8538 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8539 if diff conftest.exp conftest.er2
>/dev
/null
; then
8540 lt_cv_prog_compiler_static_works
=yes
8543 lt_cv_prog_compiler_static_works
=yes
8547 LDFLAGS
="$save_LDFLAGS"
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8551 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8553 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8556 lt_prog_compiler_static
=
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8566 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8567 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8568 $as_echo_n "(cached) " >&6
8570 lt_cv_prog_compiler_c_o
=no
8571 $RM -r conftest
2>/dev
/null
8575 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8577 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8578 # Insert the option either (1) after the last *FLAGS variable, or
8579 # (2) before a word containing "conftest.", or (3) at the end.
8580 # Note that $ac_compile itself does not contain backslashes and begins
8581 # with a dollar sign (not a hyphen), so the echo should work correctly.
8582 lt_compile
=`echo "$ac_compile" | $SED \
8583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8585 -e 's:$: $lt_compiler_flag:'`
8586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8587 (eval "$lt_compile" 2>out
/conftest.err
)
8589 cat out
/conftest.err
>&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8593 # The compiler can only warn and ignore the option if not recognized
8594 # So say no if there are warnings
8595 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8596 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8597 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8598 lt_cv_prog_compiler_c_o
=yes
8603 # SGI C++ compiler will create directory out/ii_files/ for
8604 # template instantiation
8605 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8606 $RM out
/* && rmdir out
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8613 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8621 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8622 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8623 $as_echo_n "(cached) " >&6
8625 lt_cv_prog_compiler_c_o
=no
8626 $RM -r conftest
2>/dev
/null
8630 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8632 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8633 # Insert the option either (1) after the last *FLAGS variable, or
8634 # (2) before a word containing "conftest.", or (3) at the end.
8635 # Note that $ac_compile itself does not contain backslashes and begins
8636 # with a dollar sign (not a hyphen), so the echo should work correctly.
8637 lt_compile
=`echo "$ac_compile" | $SED \
8638 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8639 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8640 -e 's:$: $lt_compiler_flag:'`
8641 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8642 (eval "$lt_compile" 2>out
/conftest.err
)
8644 cat out
/conftest.err
>&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8648 # The compiler can only warn and ignore the option if not recognized
8649 # So say no if there are warnings
8650 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8651 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8652 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8653 lt_cv_prog_compiler_c_o
=yes
8658 # SGI C++ compiler will create directory out/ii_files/ for
8659 # template instantiation
8660 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8661 $RM out
/* && rmdir out
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8668 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8673 hard_links
="nottested"
8674 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8675 # do not overwrite the value of need_locks provided by the user
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8677 $as_echo_n "checking if we can lock with hard links... " >&6; }
8680 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8682 ln conftest.a conftest.b
2>&5 || hard_links
=no
8683 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8685 $as_echo "$hard_links" >&6; }
8686 if test "$hard_links" = no
; then
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8688 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8701 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8704 allow_undefined_flag
=
8705 always_export_symbols
=no
8707 archive_expsym_cmds
=
8708 compiler_needs_object
=no
8709 enable_shared_with_static_runtimes
=no
8710 export_dynamic_flag_spec
=
8711 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8712 hardcode_automatic
=no
8714 hardcode_direct_absolute
=no
8715 hardcode_libdir_flag_spec
=
8716 hardcode_libdir_flag_spec_ld
=
8717 hardcode_libdir_separator
=
8719 hardcode_shlibpath_var
=unsupported
8721 link_all_deplibs
=unknown
8724 old_archive_from_new_cmds
=
8725 old_archive_from_expsyms_cmds
=
8726 thread_safe_flag_spec
=
8727 whole_archive_flag_spec
=
8728 # include_expsyms should be a list of space-separated symbols to be *always*
8729 # included in the symbol list
8731 # exclude_expsyms can be an extended regexp of symbols to exclude
8732 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8733 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8734 # as well as any symbol that contains `d'.
8735 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8736 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8737 # platforms (ab)use it in PIC code, but their linkers get confused if
8738 # the symbol is explicitly referenced. Since portable code cannot
8739 # rely on this symbol name, it's probably fine to never include it in
8740 # preloaded symbol tables.
8741 # Exclude shared library initialization/finalization symbols.
8742 extract_expsyms_cmds
=
8745 cygwin
* | mingw
* | pw32
* | cegcc
*)
8746 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8747 # When not using gcc, we currently assume that we are using
8748 # Microsoft Visual C++.
8749 if test "$GCC" != yes; then
8754 # we just hope/assume this is gcc and not c89 (= MSVC++)
8764 # On some targets, GNU ld is compatible enough with the native linker
8765 # that we're better off using the native interface for both.
8766 lt_use_gnu_ld_interface
=no
8767 if test "$with_gnu_ld" = yes; then
8770 # The AIX port of GNU ld has always aspired to compatibility
8771 # with the native linker. However, as the warning in the GNU ld
8772 # block says, versions before 2.19.5* couldn't really create working
8773 # shared libraries, regardless of the interface used.
8774 case `$LD -v 2>&1` in
8775 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8776 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8777 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8779 lt_use_gnu_ld_interface
=yes
8784 lt_use_gnu_ld_interface
=yes
8789 if test "$lt_use_gnu_ld_interface" = yes; then
8790 # If archive_cmds runs LD, not CC, wlarc should be empty
8793 # Set some defaults for GNU ld with shared library support. These
8794 # are reset later if shared libraries are not supported. Putting them
8795 # here allows them to be overridden if necessary.
8796 runpath_var
=LD_RUN_PATH
8797 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8798 export_dynamic_flag_spec
='${wl}--export-dynamic'
8799 # ancient GNU ld didn't support --whole-archive et. al.
8800 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8801 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8803 whole_archive_flag_spec
=
8805 supports_anon_versioning
=no
8806 case `$LD -v 2>&1` in
8807 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8808 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8809 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8810 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8811 *\
2.11.
*) ;; # other 2.11 versions
8812 *) supports_anon_versioning
=yes ;;
8815 # See if GNU ld supports shared libraries.
8818 # On AIX/PPC, the GNU linker is very broken
8819 if test "$host_cpu" != ia64
; then
8823 *** Warning: the GNU linker, at least up to release 2.19, is reported
8824 *** to be unable to reliably create shared libraries on AIX.
8825 *** Therefore, libtool is disabling shared libraries support. If you
8826 *** really care for shared libraries, you may want to install binutils
8827 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8828 *** You will then need to restart the configuration process.
8837 # see comment about AmigaOS4 .so support
8838 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8839 archive_expsym_cmds
=''
8842 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)'
8843 hardcode_libdir_flag_spec
='-L$libdir'
8844 hardcode_minus_L
=yes
8850 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8851 allow_undefined_flag
=unsupported
8852 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8853 # support --undefined. This deserves some investigation. FIXME
8854 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8860 cygwin
* | mingw
* | pw32
* | cegcc
*)
8861 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8862 # as there is no search path for DLLs.
8863 hardcode_libdir_flag_spec
='-L$libdir'
8864 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8865 allow_undefined_flag
=unsupported
8866 always_export_symbols
=no
8867 enable_shared_with_static_runtimes
=yes
8868 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8870 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8871 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8872 # If the export-symbols file already is a .def file (1st line
8873 # is EXPORTS), use it as is; otherwise, prepend...
8874 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8875 cp $export_symbols $output_objdir/$soname.def;
8877 echo EXPORTS > $output_objdir/$soname.def;
8878 cat $export_symbols >> $output_objdir/$soname.def;
8880 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8887 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8888 link_all_deplibs
=yes
8893 hardcode_shlibpath_var
=no
8894 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8895 export_dynamic_flag_spec
='${wl}-E'
8896 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8897 # Instead, shared libraries are loaded at an image base (0x10000000 by
8898 # default) and relocated if they conflict, which is a slow very memory
8899 # consuming and fragmenting process. To avoid this, we pick a random,
8900 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8901 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8902 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8903 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'
8906 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8908 if test "$host_os" = linux-dietlibc
; then
8909 case $cc_basename in
8910 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8913 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8914 && test "$tmp_diet" = no
8917 tmp_sharedflag
='-shared'
8918 case $cc_basename,$host_cpu in
8919 pgcc
*) # Portland Group C compiler
8920 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'
8921 tmp_addflag
=' $pic_flag'
8923 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8924 # Portland Group f77 and f90 compilers
8925 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'
8926 tmp_addflag
=' $pic_flag -Mnomain' ;;
8927 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8928 tmp_addflag
=' -i_dynamic' ;;
8929 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8930 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8931 ifc
* | ifort
*) # Intel Fortran compiler
8932 tmp_addflag
=' -nofor_main' ;;
8933 lf95
*) # Lahey Fortran 8.1
8934 whole_archive_flag_spec
=
8935 tmp_sharedflag
='--shared' ;;
8936 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8937 tmp_sharedflag
='-qmkshrobj'
8939 nvcc
*) # Cuda Compiler Driver 2.2
8940 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'
8941 compiler_needs_object
=yes
8944 case `$CC -V 2>&1 | sed 5q` in
8945 *Sun\ C
*) # Sun C 5.9
8946 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'
8947 compiler_needs_object
=yes
8948 tmp_sharedflag
='-G' ;;
8949 *Sun\ F
*) # Sun Fortran 8.3
8950 tmp_sharedflag
='-G' ;;
8952 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8954 if test "x$supports_anon_versioning" = xyes
; then
8955 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8956 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8957 echo "local: *; };" >> $output_objdir/$libname.ver~
8958 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8961 case $cc_basename in
8962 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8963 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8964 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8965 hardcode_libdir_flag_spec
=
8966 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8967 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8968 if test "x$supports_anon_versioning" = xyes
; then
8969 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8970 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8971 echo "local: *; };" >> $output_objdir/$libname.ver~
8972 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8982 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8983 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8986 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8992 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8996 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8997 *** create shared libraries on Solaris systems. Therefore, libtool
8998 *** is disabling shared libraries support. We urge you to upgrade GNU
8999 *** binutils to release 2.9.1 or newer. Another option is to modify
9000 *** your PATH or compiler configuration so that the native linker is
9001 *** used, and then restart.
9004 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9005 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9006 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9012 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9013 case `$LD -v 2>&1` in
9014 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9018 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9019 *** reliably create shared libraries on SCO systems. Therefore, libtool
9020 *** is disabling shared libraries support. We urge you to upgrade GNU
9021 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9022 *** your PATH or compiler configuration so that the native linker is
9023 *** used, and then restart.
9028 # For security reasons, it is highly recommended that you always
9029 # use absolute paths for naming shared libraries, and exclude the
9030 # DT_RUNPATH tag from executables and libraries. But doing so
9031 # requires that you compile everything twice, which is a pain.
9032 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9033 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9034 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9035 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9044 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9047 hardcode_shlibpath_var
=no
9051 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9052 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9053 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9060 if test "$ld_shlibs" = no
; then
9062 hardcode_libdir_flag_spec
=
9063 export_dynamic_flag_spec
=
9064 whole_archive_flag_spec
=
9067 # PORTME fill in a description of your system's linker (not GNU ld)
9070 allow_undefined_flag
=unsupported
9071 always_export_symbols
=yes
9072 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'
9073 # Note: this linker hardcodes the directories in LIBPATH if there
9074 # are no directories specified by -L.
9075 hardcode_minus_L
=yes
9076 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9077 # Neither direct hardcoding nor static linking is supported with a
9079 hardcode_direct
=unsupported
9084 if test "$host_cpu" = ia64
; then
9085 # On IA64, the linker does run time linking by default, so we don't
9086 # have to do anything special.
9087 aix_use_runtimelinking
=no
9088 exp_sym_flag
='-Bexport'
9091 # If we're using GNU nm, then we don't want the "-C" option.
9092 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9093 # Also, AIX nm treats weak defined symbols like other global
9094 # defined symbols, whereas GNU nm marks them as "W".
9095 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9096 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'
9098 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'
9100 aix_use_runtimelinking
=no
9102 # Test if we are trying to use run time linking or normal
9103 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9104 # need to do runtime linking.
9105 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9106 for ld_flag
in $LDFLAGS; do
9107 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9108 aix_use_runtimelinking
=yes
9115 exp_sym_flag
='-bexport'
9116 no_entry_flag
='-bnoentry'
9119 # When large executables or shared objects are built, AIX ld can
9120 # have problems creating the table of contents. If linking a library
9121 # or program results in "error TOC overflow" add -mminimal-toc to
9122 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9123 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9127 hardcode_direct_absolute
=yes
9128 hardcode_libdir_separator
=':'
9129 link_all_deplibs
=yes
9130 file_list_spec
='${wl}-f,'
9132 if test "$GCC" = yes; then
9133 case $host_os in aix4.
[012]|aix4.
[012].
*)
9134 # We only want to do this on AIX 4.2 and lower, the check
9135 # below for broken collect2 doesn't work under 4.3+
9136 collect2name
=`${CC} -print-prog-name=collect2`
9137 if test -f "$collect2name" &&
9138 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9140 # We have reworked collect2
9143 # We have old collect2
9144 hardcode_direct
=unsupported
9145 # It fails to find uninstalled libraries when the uninstalled
9146 # path is not listed in the libpath. Setting hardcode_minus_L
9147 # to unsupported forces relinking
9148 hardcode_minus_L
=yes
9149 hardcode_libdir_flag_spec
='-L$libdir'
9150 hardcode_libdir_separator
=
9154 shared_flag
='-shared'
9155 if test "$aix_use_runtimelinking" = yes; then
9156 shared_flag
="$shared_flag "'${wl}-G'
9160 if test "$host_cpu" = ia64
; then
9161 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9162 # chokes on -Wl,-G. The following line is correct:
9165 if test "$aix_use_runtimelinking" = yes; then
9166 shared_flag
='${wl}-G'
9168 shared_flag
='${wl}-bM:SRE'
9173 export_dynamic_flag_spec
='${wl}-bexpall'
9174 # It seems that -bexpall does not export symbols beginning with
9175 # underscore (_), so it is better to generate a list of symbols to export.
9176 always_export_symbols
=yes
9177 if test "$aix_use_runtimelinking" = yes; then
9178 # Warning - without using the other runtime loading flags (-brtl),
9179 # -berok will link without error, but may produce a broken library.
9180 allow_undefined_flag
='-berok'
9181 # Determine the default libpath from the value encoded in an
9183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9194 if ac_fn_c_try_link
"$LINENO"; then :
9196 lt_aix_libpath_sed
='
9197 /Import File Strings/,/^$/ {
9203 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9204 # Check for a 64-bit object if we didn't find anything.
9205 if test -z "$aix_libpath"; then
9206 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9209 rm -f core conftest.err conftest.
$ac_objext \
9210 conftest
$ac_exeext conftest.
$ac_ext
9211 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9213 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9214 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"
9216 if test "$host_cpu" = ia64
; then
9217 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9218 allow_undefined_flag
="-z nodefs"
9219 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"
9221 # Determine the default libpath from the value encoded in an
9223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9224 /* end confdefs.h. */
9234 if ac_fn_c_try_link
"$LINENO"; then :
9236 lt_aix_libpath_sed
='
9237 /Import File Strings/,/^$/ {
9243 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9244 # Check for a 64-bit object if we didn't find anything.
9245 if test -z "$aix_libpath"; then
9246 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9249 rm -f core conftest.err conftest.
$ac_objext \
9250 conftest
$ac_exeext conftest.
$ac_ext
9251 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9253 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9254 # Warning - without using the other run time loading flags,
9255 # -berok will link without error, but may produce a broken library.
9256 no_undefined_flag
=' ${wl}-bernotok'
9257 allow_undefined_flag
=' ${wl}-berok'
9258 if test "$with_gnu_ld" = yes; then
9259 # We only use this code for GNU lds that support --whole-archive.
9260 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9262 # Exported symbols can be pulled into shared objects from archives
9263 whole_archive_flag_spec
='$convenience'
9265 archive_cmds_need_lc
=yes
9266 # This is similar to how AIX traditionally builds its shared libraries.
9267 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'
9275 # see comment about AmigaOS4 .so support
9276 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9277 archive_expsym_cmds
=''
9280 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)'
9281 hardcode_libdir_flag_spec
='-L$libdir'
9282 hardcode_minus_L
=yes
9288 export_dynamic_flag_spec
=-rdynamic
9291 cygwin
* | mingw
* | pw32
* | cegcc
*)
9292 # When not using gcc, we currently assume that we are using
9293 # Microsoft Visual C++.
9294 # hardcode_libdir_flag_spec is actually meaningless, as there is
9295 # no search path for DLLs.
9296 hardcode_libdir_flag_spec
=' '
9297 allow_undefined_flag
=unsupported
9298 # Tell ltmain to make .lib files, not .a files.
9300 # Tell ltmain to make .dll files, not .so files.
9302 # FIXME: Setting linknames here is a bad hack.
9303 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9304 # The linker will automatically build a .lib file if we build a DLL.
9305 old_archive_from_new_cmds
='true'
9306 # FIXME: Should let the user specify the lib program.
9307 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9308 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9309 enable_shared_with_static_runtimes
=yes
9312 darwin
* | rhapsody
*)
9315 archive_cmds_need_lc
=no
9317 hardcode_automatic
=yes
9318 hardcode_shlibpath_var
=unsupported
9319 if test "$lt_cv_ld_force_load" = "yes"; then
9320 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\"`'
9322 whole_archive_flag_spec
=''
9324 link_all_deplibs
=yes
9325 allow_undefined_flag
="$_lt_dar_allow_undefined"
9326 case $cc_basename in
9327 ifort
*) _lt_dar_can_shared
=yes ;;
9328 *) _lt_dar_can_shared
=$GCC ;;
9330 if test "$_lt_dar_can_shared" = "yes"; then
9331 output_verbose_link_cmd
=func_echo_all
9332 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9333 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9334 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}"
9335 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}"
9344 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9345 hardcode_libdir_flag_spec
='-L$libdir'
9346 hardcode_shlibpath_var
=no
9349 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9350 # support. Future versions do this automatically, but an explicit c++rt0.o
9351 # does not break anything, and helps significantly (at the cost of a little
9354 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9355 hardcode_libdir_flag_spec
='-R$libdir'
9357 hardcode_shlibpath_var
=no
9360 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9362 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9364 hardcode_minus_L
=yes
9365 hardcode_shlibpath_var
=no
9368 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9369 freebsd
* | dragonfly
*)
9370 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9371 hardcode_libdir_flag_spec
='-R$libdir'
9373 hardcode_shlibpath_var
=no
9377 if test "$GCC" = yes; then
9378 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'
9380 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'
9382 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9383 hardcode_libdir_separator
=:
9386 # hardcode_minus_L: Not really in the search PATH,
9387 # but as the default location of the library.
9388 hardcode_minus_L
=yes
9389 export_dynamic_flag_spec
='${wl}-E'
9393 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9394 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9396 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9398 if test "$with_gnu_ld" = no
; then
9399 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9400 hardcode_libdir_flag_spec_ld
='+b $libdir'
9401 hardcode_libdir_separator
=:
9403 hardcode_direct_absolute
=yes
9404 export_dynamic_flag_spec
='${wl}-E'
9405 # hardcode_minus_L: Not really in the search PATH,
9406 # but as the default location of the library.
9407 hardcode_minus_L
=yes
9412 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9415 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9418 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9421 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9427 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9430 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9434 # Older versions of the 11.00 compiler do not understand -b yet
9435 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9437 $as_echo_n "checking if $CC understands -b... " >&6; }
9438 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9439 $as_echo_n "(cached) " >&6
9441 lt_cv_prog_compiler__b
=no
9442 save_LDFLAGS
="$LDFLAGS"
9443 LDFLAGS
="$LDFLAGS -b"
9444 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9445 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9446 # The linker can only warn and ignore the option if not recognized
9447 # So say no if there are warnings
9448 if test -s conftest.err
; then
9449 # Append any errors to the config.log.
9450 cat conftest.err
1>&5
9451 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9452 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9453 if diff conftest.exp conftest.er2
>/dev
/null
; then
9454 lt_cv_prog_compiler__b
=yes
9457 lt_cv_prog_compiler__b
=yes
9461 LDFLAGS
="$save_LDFLAGS"
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9465 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9467 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9468 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9470 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9476 if test "$with_gnu_ld" = no
; then
9477 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9478 hardcode_libdir_separator
=:
9483 hardcode_shlibpath_var
=no
9487 hardcode_direct_absolute
=yes
9488 export_dynamic_flag_spec
='${wl}-E'
9490 # hardcode_minus_L: Not really in the search PATH,
9491 # but as the default location of the library.
9492 hardcode_minus_L
=yes
9498 irix5
* | irix6
* | nonstopux
*)
9499 if test "$GCC" = yes; then
9500 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'
9501 # Try to use the -exported_symbol ld option, if it does not
9502 # work, assume that -exports_file does not work either and
9503 # implicitly export all symbols.
9504 save_LDFLAGS
="$LDFLAGS"
9505 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9507 /* end confdefs.h. */
9510 if ac_fn_c_try_link
"$LINENO"; then :
9511 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'
9514 rm -f core conftest.err conftest.
$ac_objext \
9515 conftest
$ac_exeext conftest.
$ac_ext
9516 LDFLAGS
="$save_LDFLAGS"
9518 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'
9519 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'
9521 archive_cmds_need_lc
='no'
9522 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9523 hardcode_libdir_separator
=:
9525 link_all_deplibs
=yes
9529 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9530 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9532 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9534 hardcode_libdir_flag_spec
='-R$libdir'
9536 hardcode_shlibpath_var
=no
9540 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9542 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9543 hardcode_libdir_separator
=:
9544 hardcode_shlibpath_var
=no
9551 if test -f /usr
/libexec
/ld.so
; then
9553 hardcode_shlibpath_var
=no
9554 hardcode_direct_absolute
=yes
9555 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9556 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9558 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9559 export_dynamic_flag_spec
='${wl}-E'
9562 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9563 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9564 hardcode_libdir_flag_spec
='-R$libdir'
9567 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9568 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9578 hardcode_libdir_flag_spec
='-L$libdir'
9579 hardcode_minus_L
=yes
9580 allow_undefined_flag
=unsupported
9581 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'
9582 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9586 if test "$GCC" = yes; then
9587 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9588 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'
9590 allow_undefined_flag
=' -expect_unresolved \*'
9591 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'
9593 archive_cmds_need_lc
='no'
9594 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9595 hardcode_libdir_separator
=:
9598 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9599 if test "$GCC" = yes; then
9600 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9601 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'
9602 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9604 allow_undefined_flag
=' -expect_unresolved \*'
9605 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'
9606 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~
9607 $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'
9609 # Both c and cxx compiler support -rpath directly
9610 hardcode_libdir_flag_spec
='-rpath $libdir'
9612 archive_cmds_need_lc
='no'
9613 hardcode_libdir_separator
=:
9617 no_undefined_flag
=' -z defs'
9618 if test "$GCC" = yes; then
9620 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9621 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9622 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9624 case `$CC -V 2>&1` in
9627 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9628 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9629 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9633 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9634 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9635 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9639 hardcode_libdir_flag_spec
='-R$libdir'
9640 hardcode_shlibpath_var
=no
9642 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9644 # The compiler driver will combine and reorder linker options,
9645 # but understands `-z linker_flag'. GCC discards it without `$wl',
9646 # but is careful enough not to reorder.
9647 # Supported since Solaris 2.6 (maybe 2.5.1?)
9648 if test "$GCC" = yes; then
9649 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9651 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9655 link_all_deplibs
=yes
9659 if test "x$host_vendor" = xsequent
; then
9660 # Use $CC to link under sequent, because it throws in some extra .o
9661 # files that make .init and .fini sections work.
9662 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9664 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9666 hardcode_libdir_flag_spec
='-L$libdir'
9668 hardcode_minus_L
=yes
9669 hardcode_shlibpath_var
=no
9673 case $host_vendor in
9675 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9676 hardcode_direct
=yes # is this really true???
9679 ## LD is ld it makes a PLAMLIB
9680 ## CC just makes a GrossModule.
9681 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9682 reload_cmds
='$CC -r -o $output$reload_objs'
9686 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9687 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9690 runpath_var
='LD_RUN_PATH'
9691 hardcode_shlibpath_var
=no
9695 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9696 hardcode_shlibpath_var
=no
9697 export_dynamic_flag_spec
='-Bexport'
9701 if test -d /usr
/nec
; then
9702 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9703 hardcode_shlibpath_var
=no
9704 runpath_var
=LD_RUN_PATH
9705 hardcode_runpath_var
=yes
9710 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9711 no_undefined_flag
='${wl}-z,text'
9712 archive_cmds_need_lc
=no
9713 hardcode_shlibpath_var
=no
9714 runpath_var
='LD_RUN_PATH'
9716 if test "$GCC" = yes; then
9717 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9718 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9721 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9725 sysv5
* | sco3.2v5
* | sco5v6
*)
9726 # Note: We can NOT use -z defs as we might desire, because we do not
9727 # link with -lc, and that would cause any symbols used from libc to
9728 # always be unresolved, which means just about no library would
9729 # ever link correctly. If we're not using GNU ld we use -z text
9730 # though, which does catch some bad symbols but isn't as heavy-handed
9732 no_undefined_flag
='${wl}-z,text'
9733 allow_undefined_flag
='${wl}-z,nodefs'
9734 archive_cmds_need_lc
=no
9735 hardcode_shlibpath_var
=no
9736 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9737 hardcode_libdir_separator
=':'
9738 link_all_deplibs
=yes
9739 export_dynamic_flag_spec
='${wl}-Bexport'
9740 runpath_var
='LD_RUN_PATH'
9742 if test "$GCC" = yes; then
9743 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9746 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9747 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9752 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9753 hardcode_libdir_flag_spec
='-L$libdir'
9754 hardcode_shlibpath_var
=no
9762 if test x
$host_vendor = xsni
; then
9764 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9765 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9772 $as_echo "$ld_shlibs" >&6; }
9773 test "$ld_shlibs" = no
&& can_build_shared
=no
9775 with_gnu_ld
=$with_gnu_ld
9792 # Do we need to explicitly link libc?
9794 case "x$archive_cmds_need_lc" in
9796 # Assume -lc should be added
9797 archive_cmds_need_lc
=yes
9799 if test "$enable_shared" = yes && test "$GCC" = yes; then
9800 case $archive_cmds in
9802 # FIXME: we may have to deal with multi-command sequences.
9805 # Test whether the compiler implicitly links with -lc since on some
9806 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9807 # to ld, don't add -lc before -lgcc.
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9809 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9810 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9811 $as_echo_n "(cached) " >&6
9814 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9817 (eval $ac_compile) 2>&5
9819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9820 test $ac_status = 0; } 2>conftest.err
; then
9823 libobjs
=conftest.
$ac_objext
9825 wl
=$lt_prog_compiler_wl
9826 pic_flag
=$lt_prog_compiler_pic
9832 lt_save_allow_undefined_flag
=$allow_undefined_flag
9833 allow_undefined_flag
=
9834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9835 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9838 test $ac_status = 0; }
9840 lt_cv_archive_cmds_need_lc
=no
9842 lt_cv_archive_cmds_need_lc
=yes
9844 allow_undefined_flag
=$lt_save_allow_undefined_flag
9846 cat conftest.err
1>&5
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9852 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9853 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10017 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10019 if test "$GCC" = yes; then
10021 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10022 *) lt_awk_arg
="/^libraries:/" ;;
10025 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10026 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10028 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10029 case $lt_search_path_spec in
10031 # if the path contains ";" then we assume it to be the separator
10032 # otherwise default to the standard path separator (i.e. ":") - it is
10033 # assumed that no part of a normal pathname contains ";" but that should
10034 # okay in the real world where ";" in dirpaths is itself problematic.
10035 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10038 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10041 # Ok, now we have the path, separated by spaces, we can step through it
10042 # and add multilib dir if necessary.
10043 lt_tmp_lt_search_path_spec
=
10044 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10045 for lt_sys_path
in $lt_search_path_spec; do
10046 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10047 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10049 test -d "$lt_sys_path" && \
10050 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10053 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10054 BEGIN {RS=" "; FS="/|\n";} {
10057 for (lt_i = NF; lt_i > 0; lt_i--) {
10058 if ($lt_i != "" && $lt_i != ".") {
10059 if ($lt_i == "..") {
10062 if (lt_count == 0) {
10063 lt_foo="/" $lt_i lt_foo;
10070 if (lt_foo != "") { lt_freq[lt_foo]++; }
10071 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10073 # AWK program above erroneously prepends '/' to C:/dos/paths
10076 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10077 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10079 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10081 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10083 library_names_spec
=
10084 libname_spec
='lib$name'
10088 postuninstall_cmds
=
10092 shlibpath_overrides_runpath
=unknown
10094 dynamic_linker
="$host_os ld.so"
10095 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10096 need_lib_prefix
=unknown
10097 hardcode_into_libs
=no
10099 # when you set need_version to no, make sure it does not cause -set_version
10100 # flags to be left without arguments
10101 need_version
=unknown
10106 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10107 shlibpath_var
=LIBPATH
10109 # AIX 3 has no versioning support, so we append a major version to the name.
10110 soname_spec
='${libname}${release}${shared_ext}$major'
10117 hardcode_into_libs
=yes
10118 if test "$host_cpu" = ia64
; then
10119 # AIX 5 supports IA64
10120 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10121 shlibpath_var
=LD_LIBRARY_PATH
10123 # With GCC up to 2.95.x, collect2 would create an import file
10124 # for dependence libraries. The import file would start with
10125 # the line `#! .'. This would cause the generated library to
10126 # depend on `.', always an invalid library. This was fixed in
10127 # development snapshots of GCC prior to 3.0.
10129 aix4 | aix4.
[01] | aix4.
[01].
*)
10130 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10132 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10135 can_build_shared
=no
10139 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10140 # soname into executable. Probably we can add versioning support to
10141 # collect2, so additional links can be useful in future.
10142 if test "$aix_use_runtimelinking" = yes; then
10143 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10144 # instead of lib<name>.a to let people know that these are not
10145 # typical AIX shared libraries.
10146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10148 # We preserve .a as extension for shared libraries through AIX4.2
10149 # and later when we are not doing run time linking.
10150 library_names_spec
='${libname}${release}.a $libname.a'
10151 soname_spec
='${libname}${release}${shared_ext}$major'
10153 shlibpath_var
=LIBPATH
10160 # Since July 2007 AmigaOS4 officially supports .so libraries.
10161 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10165 library_names_spec
='$libname.ixlibrary $libname.a'
10166 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10167 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'
10173 library_names_spec
='${libname}${shared_ext}'
10174 dynamic_linker
="$host_os ld.so"
10175 shlibpath_var
=LIBRARY_PATH
10181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10182 soname_spec
='${libname}${release}${shared_ext}$major'
10183 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10184 shlibpath_var
=LD_LIBRARY_PATH
10185 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10186 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10187 # the default ld.so.conf also contains /usr/contrib/lib and
10188 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10189 # libtool to hard-code these into programs
10192 cygwin
* | mingw
* | pw32
* | cegcc
*)
10193 version_type
=windows
10198 case $GCC,$host_os in
10199 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10200 library_names_spec
='$libname.dll.a'
10201 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10202 postinstall_cmds
='base_file=`basename \${file}`~
10203 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10204 dldir=$destdir/`dirname \$dlpath`~
10205 test -d \$dldir || mkdir -p \$dldir~
10206 $install_prog $dir/$dlname \$dldir/$dlname~
10207 chmod a+x \$dldir/$dlname~
10208 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10209 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10211 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10212 dlpath=$dir/\$dldll~
10214 shlibpath_overrides_runpath
=yes
10218 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10219 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10221 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10224 # MinGW DLLs use traditional 'lib' prefix
10225 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10228 # pw32 DLLs use 'pw' prefix rather than 'lib'
10229 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10235 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10238 dynamic_linker
='Win32 ld.exe'
10239 # FIXME: first we should search . and the directory the executable is in
10243 darwin
* | rhapsody
*)
10244 dynamic_linker
="$host_os dyld"
10245 version_type
=darwin
10248 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10249 soname_spec
='${libname}${release}${major}$shared_ext'
10250 shlibpath_overrides_runpath
=yes
10251 shlibpath_var
=DYLD_LIBRARY_PATH
10252 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10254 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10255 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10263 soname_spec
='${libname}${release}${shared_ext}$major'
10264 shlibpath_var
=LD_LIBRARY_PATH
10267 freebsd
* | dragonfly
*)
10268 # DragonFly does not have aout. When/if they implement a new
10269 # versioning mechanism, adjust this.
10270 if test -x /usr
/bin
/objformat
; then
10271 objformat
=`/usr/bin/objformat`
10274 freebsd
[23].
*) objformat
=aout
;;
10275 *) objformat
=elf
;;
10278 version_type
=freebsd-
$objformat
10279 case $version_type in
10281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10286 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10290 shlibpath_var
=LD_LIBRARY_PATH
10293 shlibpath_overrides_runpath
=yes
10295 freebsd3.
[01]* | freebsdelf3.
[01]*)
10296 shlibpath_overrides_runpath
=yes
10297 hardcode_into_libs
=yes
10299 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10300 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10301 shlibpath_overrides_runpath
=no
10302 hardcode_into_libs
=yes
10304 *) # from 4.6 on, and DragonFly
10305 shlibpath_overrides_runpath
=yes
10306 hardcode_into_libs
=yes
10315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10316 soname_spec
='${libname}${release}${shared_ext}$major'
10317 shlibpath_var
=LD_LIBRARY_PATH
10318 hardcode_into_libs
=yes
10325 dynamic_linker
="$host_os runtime_loader"
10326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10327 soname_spec
='${libname}${release}${shared_ext}$major'
10328 shlibpath_var
=LIBRARY_PATH
10329 shlibpath_overrides_runpath
=yes
10330 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10331 hardcode_into_libs
=yes
10334 hpux9
* | hpux10
* | hpux11
*)
10335 # Give a soname corresponding to the major version so that dld.sl refuses to
10336 # link against other versions.
10343 hardcode_into_libs
=yes
10344 dynamic_linker
="$host_os dld.so"
10345 shlibpath_var
=LD_LIBRARY_PATH
10346 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10348 soname_spec
='${libname}${release}${shared_ext}$major'
10349 if test "X$HPUX_IA64_MODE" = X32
; then
10350 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10352 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10354 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10358 hardcode_into_libs
=yes
10359 dynamic_linker
="$host_os dld.sl"
10360 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10361 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10363 soname_spec
='${libname}${release}${shared_ext}$major'
10364 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10365 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10369 dynamic_linker
="$host_os dld.sl"
10370 shlibpath_var
=SHLIB_PATH
10371 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10373 soname_spec
='${libname}${release}${shared_ext}$major'
10376 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10377 postinstall_cmds
='chmod 555 $lib'
10378 # or fails outright, so override atomically:
10379 install_override_mode
=555
10386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10387 soname_spec
='${libname}${release}${shared_ext}$major'
10388 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10389 shlibpath_var
=LD_LIBRARY_PATH
10390 shlibpath_overrides_runpath
=no
10391 hardcode_into_libs
=yes
10394 irix5
* | irix6
* | nonstopux
*)
10396 nonstopux
*) version_type
=nonstopux
;;
10398 if test "$lt_cv_prog_gnu_ld" = yes; then
10406 soname_spec
='${libname}${release}${shared_ext}$major'
10407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10409 irix5
* | nonstopux
*)
10410 libsuff
= shlibsuff
=
10413 case $LD in # libtool.m4 will add one of these switches to LD
10414 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10415 libsuff
= shlibsuff
= libmagic
=32-bit;;
10416 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10417 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10418 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10419 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10420 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10424 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10425 shlibpath_overrides_runpath
=no
10426 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10427 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10428 hardcode_into_libs
=yes
10431 # No shared lib support for Linux oldld, aout, or coff.
10432 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10436 # This must be Linux ELF.
10437 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10442 soname_spec
='${libname}${release}${shared_ext}$major'
10443 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10444 shlibpath_var
=LD_LIBRARY_PATH
10445 shlibpath_overrides_runpath
=no
10447 # Some binutils ld are patched to set DT_RUNPATH
10448 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10449 $as_echo_n "(cached) " >&6
10451 lt_cv_shlibpath_overrides_runpath
=no
10452 save_LDFLAGS
=$LDFLAGS
10453 save_libdir
=$libdir
10454 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10455 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10467 if ac_fn_c_try_link
"$LINENO"; then :
10468 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10469 lt_cv_shlibpath_overrides_runpath
=yes
10472 rm -f core conftest.err conftest.
$ac_objext \
10473 conftest
$ac_exeext conftest.
$ac_ext
10474 LDFLAGS
=$save_LDFLAGS
10475 libdir
=$save_libdir
10479 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10481 # This implies no fast_install, which is unacceptable.
10482 # Some rework will be needed to allow for fast_install
10483 # before this can be enabled.
10484 hardcode_into_libs
=yes
10486 # Append ld.so.conf contents to the search path
10487 if test -f /etc
/ld.so.conf
; then
10488 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' ' '`
10489 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10492 # We used to test for /lib/ld.so.1 and disable shared libraries on
10493 # powerpc, because MkLinux only supported shared libraries with the
10494 # GNU dynamic linker. Since this was broken with cross compilers,
10495 # most powerpc-linux boxes support dynamic linking these days and
10496 # people can always --disable-shared, the test was removed, and we
10497 # assume the GNU/Linux dynamic linker is in use.
10498 dynamic_linker
='GNU/Linux ld.so'
10505 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10507 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10508 dynamic_linker
='NetBSD (a.out) ld.so'
10510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10511 soname_spec
='${libname}${release}${shared_ext}$major'
10512 dynamic_linker
='NetBSD ld.elf_so'
10514 shlibpath_var
=LD_LIBRARY_PATH
10515 shlibpath_overrides_runpath
=yes
10516 hardcode_into_libs
=yes
10521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522 shlibpath_var
=LD_LIBRARY_PATH
10523 shlibpath_overrides_runpath
=yes
10530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531 soname_spec
='${libname}${release}${shared_ext}$major'
10532 shlibpath_var
=LD_LIBRARY_PATH
10533 shlibpath_overrides_runpath
=no
10534 hardcode_into_libs
=yes
10535 dynamic_linker
='ldqnx.so'
10540 sys_lib_dlsearch_path_spec
="/usr/lib"
10542 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10544 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10545 *) need_version
=no
;;
10547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10548 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10549 shlibpath_var
=LD_LIBRARY_PATH
10550 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10552 openbsd2.
[89] | openbsd2.
[89].
*)
10553 shlibpath_overrides_runpath
=no
10556 shlibpath_overrides_runpath
=yes
10560 shlibpath_overrides_runpath
=yes
10565 libname_spec
='$name'
10568 library_names_spec
='$libname${shared_ext} $libname.a'
10569 dynamic_linker
='OS/2 ld.exe'
10570 shlibpath_var
=LIBPATH
10573 osf3
* | osf4
* | osf5
*)
10577 soname_spec
='${libname}${release}${shared_ext}$major'
10578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10579 shlibpath_var
=LD_LIBRARY_PATH
10580 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10581 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593 soname_spec
='${libname}${release}${shared_ext}$major'
10594 shlibpath_var
=LD_LIBRARY_PATH
10595 shlibpath_overrides_runpath
=yes
10596 hardcode_into_libs
=yes
10597 # ldd complains unless libraries are executable
10598 postinstall_cmds
='chmod +x $lib'
10603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10604 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10605 shlibpath_var
=LD_LIBRARY_PATH
10606 shlibpath_overrides_runpath
=yes
10607 if test "$with_gnu_ld" = yes; then
10615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 soname_spec
='${libname}${release}${shared_ext}$major'
10617 shlibpath_var
=LD_LIBRARY_PATH
10618 case $host_vendor in
10620 shlibpath_overrides_runpath
=no
10622 runpath_var
=LD_RUN_PATH
10630 shlibpath_overrides_runpath
=no
10631 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10637 if test -d /usr
/nec
;then
10639 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10640 soname_spec
='$libname${shared_ext}.$major'
10641 shlibpath_var
=LD_LIBRARY_PATH
10645 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10646 version_type
=freebsd-elf
10649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10650 soname_spec
='${libname}${release}${shared_ext}$major'
10651 shlibpath_var
=LD_LIBRARY_PATH
10652 shlibpath_overrides_runpath
=yes
10653 hardcode_into_libs
=yes
10654 if test "$with_gnu_ld" = yes; then
10655 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10657 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10660 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10664 sys_lib_dlsearch_path_spec
='/usr/lib'
10668 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673 shlibpath_var
=LD_LIBRARY_PATH
10674 shlibpath_overrides_runpath
=no
10675 hardcode_into_libs
=yes
10680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10681 soname_spec
='${libname}${release}${shared_ext}$major'
10682 shlibpath_var
=LD_LIBRARY_PATH
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10690 $as_echo "$dynamic_linker" >&6; }
10691 test "$dynamic_linker" = no
&& can_build_shared
=no
10693 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10694 if test "$GCC" = yes; then
10695 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10698 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10699 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10701 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10702 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10797 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10799 if test -n "$hardcode_libdir_flag_spec" ||
10800 test -n "$runpath_var" ||
10801 test "X$hardcode_automatic" = "Xyes" ; then
10803 # We can hardcode non-existent directories.
10804 if test "$hardcode_direct" != no
&&
10805 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10806 # have to relink, otherwise we might link with an installed library
10807 # when we should be linking with a yet-to-be-installed one
10808 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10809 test "$hardcode_minus_L" != no
; then
10810 # Linking always hardcodes the temporary library directory.
10811 hardcode_action
=relink
10813 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10814 hardcode_action
=immediate
10817 # We cannot hardcode anything, or else we can only hardcode existing
10819 hardcode_action
=unsupported
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10822 $as_echo "$hardcode_action" >&6; }
10824 if test "$hardcode_action" = relink ||
10825 test "$inherit_rpath" = yes; then
10826 # Fast installation is not supported
10827 enable_fast_install
=no
10828 elif test "$shlibpath_overrides_runpath" = yes ||
10829 test "$enable_shared" = no
; then
10830 # Fast installation is not necessary
10831 enable_fast_install
=needless
10839 if test "x$enable_dlopen" != xyes
; then
10840 enable_dlopen
=unknown
10841 enable_dlopen_self
=unknown
10842 enable_dlopen_self_static
=unknown
10849 lt_cv_dlopen
="load_add_on"
10851 lt_cv_dlopen_self
=yes
10854 mingw
* | pw32
* | cegcc
*)
10855 lt_cv_dlopen
="LoadLibrary"
10860 lt_cv_dlopen
="dlopen"
10865 # if libdl is installed we need to link against it
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10867 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10868 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10869 $as_echo_n "(cached) " >&6
10871 ac_check_lib_save_LIBS
=$LIBS
10873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10876 /* Override any GCC internal prototype to avoid an error.
10877 Use char because int might match the return type of a GCC
10878 builtin and then its argument prototype would still apply. */
10891 if ac_fn_c_try_link
"$LINENO"; then :
10892 ac_cv_lib_dl_dlopen
=yes
10894 ac_cv_lib_dl_dlopen
=no
10896 rm -f core conftest.err conftest.
$ac_objext \
10897 conftest
$ac_exeext conftest.
$ac_ext
10898 LIBS
=$ac_check_lib_save_LIBS
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10901 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10902 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10903 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10906 lt_cv_dlopen
="dyld"
10908 lt_cv_dlopen_self
=yes
10915 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10916 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10917 lt_cv_dlopen
="shl_load"
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10920 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10921 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10922 $as_echo_n "(cached) " >&6
10924 ac_check_lib_save_LIBS
=$LIBS
10926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10929 /* Override any GCC internal prototype to avoid an error.
10930 Use char because int might match the return type of a GCC
10931 builtin and then its argument prototype would still apply. */
10939 return shl_load ();
10944 if ac_fn_c_try_link
"$LINENO"; then :
10945 ac_cv_lib_dld_shl_load
=yes
10947 ac_cv_lib_dld_shl_load
=no
10949 rm -f core conftest.err conftest.
$ac_objext \
10950 conftest
$ac_exeext conftest.
$ac_ext
10951 LIBS
=$ac_check_lib_save_LIBS
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10954 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10955 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10956 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10958 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10959 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10960 lt_cv_dlopen
="dlopen"
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10963 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10964 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10965 $as_echo_n "(cached) " >&6
10967 ac_check_lib_save_LIBS
=$LIBS
10969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10972 /* Override any GCC internal prototype to avoid an error.
10973 Use char because int might match the return type of a GCC
10974 builtin and then its argument prototype would still apply. */
10987 if ac_fn_c_try_link
"$LINENO"; then :
10988 ac_cv_lib_dl_dlopen
=yes
10990 ac_cv_lib_dl_dlopen
=no
10992 rm -f core conftest.err conftest.
$ac_objext \
10993 conftest
$ac_exeext conftest.
$ac_ext
10994 LIBS
=$ac_check_lib_save_LIBS
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10997 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10998 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10999 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11002 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11003 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11004 $as_echo_n "(cached) " >&6
11006 ac_check_lib_save_LIBS
=$LIBS
11007 LIBS
="-lsvld $LIBS"
11008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11009 /* end confdefs.h. */
11011 /* Override any GCC internal prototype to avoid an error.
11012 Use char because int might match the return type of a GCC
11013 builtin and then its argument prototype would still apply. */
11026 if ac_fn_c_try_link
"$LINENO"; then :
11027 ac_cv_lib_svld_dlopen
=yes
11029 ac_cv_lib_svld_dlopen
=no
11031 rm -f core conftest.err conftest.
$ac_objext \
11032 conftest
$ac_exeext conftest.
$ac_ext
11033 LIBS
=$ac_check_lib_save_LIBS
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11036 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11037 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11038 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11041 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11042 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11043 $as_echo_n "(cached) " >&6
11045 ac_check_lib_save_LIBS
=$LIBS
11047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11050 /* Override any GCC internal prototype to avoid an error.
11051 Use char because int might match the return type of a GCC
11052 builtin and then its argument prototype would still apply. */
11060 return dld_link ();
11065 if ac_fn_c_try_link
"$LINENO"; then :
11066 ac_cv_lib_dld_dld_link
=yes
11068 ac_cv_lib_dld_dld_link
=no
11070 rm -f core conftest.err conftest.
$ac_objext \
11071 conftest
$ac_exeext conftest.
$ac_ext
11072 LIBS
=$ac_check_lib_save_LIBS
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11075 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11076 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11077 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11098 if test "x$lt_cv_dlopen" != xno
; then
11104 case $lt_cv_dlopen in
11106 save_CPPFLAGS
="$CPPFLAGS"
11107 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11109 save_LDFLAGS
="$LDFLAGS"
11110 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11113 LIBS
="$lt_cv_dlopen_libs $LIBS"
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11116 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11117 if test "${lt_cv_dlopen_self+set}" = set; then :
11118 $as_echo_n "(cached) " >&6
11120 if test "$cross_compiling" = yes; then :
11121 lt_cv_dlopen_self
=cross
11123 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11124 lt_status
=$lt_dlunknown
11125 cat > conftest.
$ac_ext <<_LT_EOF
11126 #line 11126 "configure"
11127 #include "confdefs.h"
11136 # define LT_DLGLOBAL RTLD_GLOBAL
11139 # define LT_DLGLOBAL DL_GLOBAL
11141 # define LT_DLGLOBAL 0
11145 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11146 find out it does not work in some platform. */
11147 #ifndef LT_DLLAZY_OR_NOW
11149 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11152 # define LT_DLLAZY_OR_NOW DL_LAZY
11155 # define LT_DLLAZY_OR_NOW RTLD_NOW
11158 # define LT_DLLAZY_OR_NOW DL_NOW
11160 # define LT_DLLAZY_OR_NOW 0
11167 /* When -fvisbility=hidden is used, assume the code has been annotated
11168 correspondingly for the symbols needed. */
11169 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11170 void fnord () __attribute__((visibility("default")));
11173 void fnord () { int i=42; }
11176 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11177 int status = $lt_dlunknown;
11181 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11184 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11185 else puts (dlerror ());
11187 /* dlclose (self); */
11195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11196 (eval $ac_link) 2>&5
11198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11199 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11200 (.
/conftest
; exit; ) >&5 2>/dev
/null
11202 case x
$lt_status in
11203 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11204 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11205 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11208 # compilation failed
11209 lt_cv_dlopen_self
=no
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11217 $as_echo "$lt_cv_dlopen_self" >&6; }
11219 if test "x$lt_cv_dlopen_self" = xyes
; then
11220 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11222 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11223 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11224 $as_echo_n "(cached) " >&6
11226 if test "$cross_compiling" = yes; then :
11227 lt_cv_dlopen_self_static
=cross
11229 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11230 lt_status
=$lt_dlunknown
11231 cat > conftest.
$ac_ext <<_LT_EOF
11232 #line 11232 "configure"
11233 #include "confdefs.h"
11242 # define LT_DLGLOBAL RTLD_GLOBAL
11245 # define LT_DLGLOBAL DL_GLOBAL
11247 # define LT_DLGLOBAL 0
11251 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11252 find out it does not work in some platform. */
11253 #ifndef LT_DLLAZY_OR_NOW
11255 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11258 # define LT_DLLAZY_OR_NOW DL_LAZY
11261 # define LT_DLLAZY_OR_NOW RTLD_NOW
11264 # define LT_DLLAZY_OR_NOW DL_NOW
11266 # define LT_DLLAZY_OR_NOW 0
11273 /* When -fvisbility=hidden is used, assume the code has been annotated
11274 correspondingly for the symbols needed. */
11275 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11276 void fnord () __attribute__((visibility("default")));
11279 void fnord () { int i=42; }
11282 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11283 int status = $lt_dlunknown;
11287 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11290 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11291 else puts (dlerror ());
11293 /* dlclose (self); */
11301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11302 (eval $ac_link) 2>&5
11304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11305 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11306 (.
/conftest
; exit; ) >&5 2>/dev
/null
11308 case x
$lt_status in
11309 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11310 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11311 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11314 # compilation failed
11315 lt_cv_dlopen_self_static
=no
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11323 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11326 CPPFLAGS
="$save_CPPFLAGS"
11327 LDFLAGS
="$save_LDFLAGS"
11332 case $lt_cv_dlopen_self in
11333 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11334 *) enable_dlopen_self
=unknown
;;
11337 case $lt_cv_dlopen_self_static in
11338 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11339 *) enable_dlopen_self_static
=unknown
;;
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11362 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11363 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11364 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11365 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11367 $as_echo "yes" >&6; }
11369 # FIXME - insert some real tests, host_os isn't really good enough
11372 if test -n "$STRIP" ; then
11373 striplib
="$STRIP -x"
11374 old_striplib
="$STRIP -S"
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11376 $as_echo "yes" >&6; }
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11379 $as_echo "no" >&6; }
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11384 $as_echo "no" >&6; }
11400 # Report which library types will actually be built
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11402 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11404 $as_echo "$can_build_shared" >&6; }
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11407 $as_echo_n "checking whether to build shared libraries... " >&6; }
11408 test "$can_build_shared" = "no" && enable_shared
=no
11410 # On AIX, shared libraries and static libraries use the same namespace, and
11411 # are all built from PIC.
11414 test "$enable_shared" = yes && enable_static
=no
11415 if test -n "$RANLIB"; then
11416 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11417 postinstall_cmds
='$RANLIB $lib'
11422 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11423 test "$enable_shared" = yes && enable_static
=no
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11428 $as_echo "$enable_shared" >&6; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11431 $as_echo_n "checking whether to build static libraries... " >&6; }
11432 # Make sure either enable_shared or enable_static is yes.
11433 test "$enable_shared" = yes || enable_static
=yes
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11435 $as_echo "$enable_static" >&6; }
11442 ac_cpp
='$CPP $CPPFLAGS'
11443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11449 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11450 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11451 (test "X$CXX" != "Xg++"))) ; then
11453 ac_cpp
='$CXXCPP $CPPFLAGS'
11454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11458 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11459 if test -z "$CXXCPP"; then
11460 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11461 $as_echo_n "(cached) " >&6
11463 # Double quotes because CXXCPP needs to be expanded
11464 for CXXCPP
in "$CXX -E" "/lib/cpp"
11466 ac_preproc_ok
=false
11467 for ac_cxx_preproc_warn_flag
in '' yes
11469 # Use a header file that comes with gcc, so configuring glibc
11470 # with a fresh cross-compiler works.
11471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11472 # <limits.h> exists even on freestanding compilers.
11473 # On the NeXT, cc -E runs the code through the compiler's parser,
11474 # not just through cpp. "Syntax error" is here to catch this case.
11475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 # include <limits.h>
11480 # include <assert.h>
11484 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11487 # Broken: fails on valid input.
11490 rm -f conftest.err conftest.
$ac_ext
11492 # OK, works on sane cases. Now check whether nonexistent headers
11493 # can be detected and how.
11494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11496 #include <ac_nonexistent.h>
11498 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11499 # Broken: success on invalid input.
11502 # Passes both tests.
11506 rm -f conftest.err conftest.
$ac_ext
11509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11510 rm -f conftest.err conftest.
$ac_ext
11511 if $ac_preproc_ok; then :
11516 ac_cv_prog_CXXCPP
=$CXXCPP
11519 CXXCPP
=$ac_cv_prog_CXXCPP
11521 ac_cv_prog_CXXCPP
=$CXXCPP
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11524 $as_echo "$CXXCPP" >&6; }
11525 ac_preproc_ok
=false
11526 for ac_cxx_preproc_warn_flag
in '' yes
11528 # Use a header file that comes with gcc, so configuring glibc
11529 # with a fresh cross-compiler works.
11530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11531 # <limits.h> exists even on freestanding compilers.
11532 # On the NeXT, cc -E runs the code through the compiler's parser,
11533 # not just through cpp. "Syntax error" is here to catch this case.
11534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 # include <limits.h>
11539 # include <assert.h>
11543 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11546 # Broken: fails on valid input.
11549 rm -f conftest.err conftest.
$ac_ext
11551 # OK, works on sane cases. Now check whether nonexistent headers
11552 # can be detected and how.
11553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11555 #include <ac_nonexistent.h>
11557 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11558 # Broken: success on invalid input.
11561 # Passes both tests.
11565 rm -f conftest.err conftest.
$ac_ext
11568 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11569 rm -f conftest.err conftest.
$ac_ext
11570 if $ac_preproc_ok; then :
11573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11575 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11576 See \`config.log' for more details." "$LINENO" 5; }
11580 ac_cpp
='$CPP $CPPFLAGS'
11581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11586 _lt_caught_CXX_error
=yes
11590 ac_cpp
='$CXXCPP $CPPFLAGS'
11591 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11592 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11593 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11595 archive_cmds_need_lc_CXX
=no
11596 allow_undefined_flag_CXX
=
11597 always_export_symbols_CXX
=no
11598 archive_expsym_cmds_CXX
=
11599 compiler_needs_object_CXX
=no
11600 export_dynamic_flag_spec_CXX
=
11601 hardcode_direct_CXX
=no
11602 hardcode_direct_absolute_CXX
=no
11603 hardcode_libdir_flag_spec_CXX
=
11604 hardcode_libdir_flag_spec_ld_CXX
=
11605 hardcode_libdir_separator_CXX
=
11606 hardcode_minus_L_CXX
=no
11607 hardcode_shlibpath_var_CXX
=unsupported
11608 hardcode_automatic_CXX
=no
11609 inherit_rpath_CXX
=no
11611 module_expsym_cmds_CXX
=
11612 link_all_deplibs_CXX
=unknown
11613 old_archive_cmds_CXX
=$old_archive_cmds
11614 reload_flag_CXX
=$reload_flag
11615 reload_cmds_CXX
=$reload_cmds
11616 no_undefined_flag_CXX
=
11617 whole_archive_flag_spec_CXX
=
11618 enable_shared_with_static_runtimes_CXX
=no
11620 # Source file extension for C++ test sources.
11623 # Object file extension for compiled C++ test sources.
11627 # No sense in running all these tests if we already determined that
11628 # the CXX compiler isn't working. Some variables (like enable_shared)
11629 # are currently assumed to apply to all compilers on this platform,
11630 # and will be corrupted by setting them based on a non-working compiler.
11631 if test "$_lt_caught_CXX_error" != yes; then
11632 # Code to be used in simple compile tests
11633 lt_simple_compile_test_code
="int some_variable = 0;"
11635 # Code to be used in simple link tests
11636 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11638 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11645 # If no C compiler was specified, use CC.
11648 # If no C compiler flags were specified, use CFLAGS.
11649 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11651 # Allow CC to be a program name with arguments.
11655 # save warnings/boilerplate of simple test code
11656 ac_outfile
=conftest.
$ac_objext
11657 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11658 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11659 _lt_compiler_boilerplate
=`cat conftest.err`
11662 ac_outfile
=conftest.
$ac_objext
11663 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11664 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11665 _lt_linker_boilerplate
=`cat conftest.err`
11669 # Allow CC to be a program name with arguments.
11674 lt_save_with_gnu_ld
=$with_gnu_ld
11675 lt_save_path_LD
=$lt_cv_path_LD
11676 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11677 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11679 $as_unset lt_cv_prog_gnu_ld
11681 if test -n "${lt_cv_path_LDCXX+set}"; then
11682 lt_cv_path_LD
=$lt_cv_path_LDCXX
11684 $as_unset lt_cv_path_LD
11686 test -z "${LDCXX+set}" || LD
=$LDCXX
11690 for cc_temp
in $compiler""; do
11692 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11693 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11698 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11701 if test -n "$compiler"; then
11702 # We don't want -fno-exception when compiling C++ code, so set the
11703 # no_builtin_flag separately
11704 if test "$GXX" = yes; then
11705 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11707 lt_prog_compiler_no_builtin_flag_CXX
=
11710 if test "$GXX" = yes; then
11711 # Set up default GNU C++ configuration
11715 # Check whether --with-gnu-ld was given.
11716 if test "${with_gnu_ld+set}" = set; then :
11717 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11723 if test "$GCC" = yes; then
11724 # Check if gcc -print-prog-name=ld gives a path.
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11726 $as_echo_n "checking for ld used by $CC... " >&6; }
11729 # gcc leaves a trailing carriage return which upsets mingw
11730 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11732 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11735 # Accept absolute paths.
11737 re_direlt
='/[^/][^/]*/\.\./'
11738 # Canonicalize the pathname of ld
11739 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11740 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11741 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11743 test -z "$LD" && LD
="$ac_prog"
11746 # If it fails, then pretend we aren't using GCC.
11750 # If it is relative, then search for the first ld in PATH.
11751 with_gnu_ld
=unknown
11754 elif test "$with_gnu_ld" = yes; then
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11756 $as_echo_n "checking for GNU ld... " >&6; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11759 $as_echo_n "checking for non-GNU ld... " >&6; }
11761 if test "${lt_cv_path_LD+set}" = set; then :
11762 $as_echo_n "(cached) " >&6
11764 if test -z "$LD"; then
11765 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11766 for ac_dir
in $PATH; do
11768 test -z "$ac_dir" && ac_dir
=.
11769 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11770 lt_cv_path_LD
="$ac_dir/$ac_prog"
11771 # Check to see if the program is GNU ld. I'd rather use --version,
11772 # but apparently some variants of GNU ld only accept -v.
11773 # Break only if it was the GNU/non-GNU ld that we prefer.
11774 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11775 *GNU
* |
*'with BFD'*)
11776 test "$with_gnu_ld" != no
&& break
11779 test "$with_gnu_ld" != yes && break
11786 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11790 LD
="$lt_cv_path_LD"
11791 if test -n "$LD"; then
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11793 $as_echo "$LD" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11796 $as_echo "no" >&6; }
11798 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11800 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11801 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11802 $as_echo_n "(cached) " >&6
11804 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11805 case `$LD -v 2>&1 </dev/null` in
11806 *GNU
* |
*'with BFD'*)
11807 lt_cv_prog_gnu_ld
=yes
11810 lt_cv_prog_gnu_ld
=no
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11815 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11816 with_gnu_ld
=$lt_cv_prog_gnu_ld
11824 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11825 # archiving commands below assume that GNU ld is being used.
11826 if test "$with_gnu_ld" = yes; then
11827 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11828 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'
11830 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11831 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11833 # If archive_cmds runs LD, not CC, wlarc should be empty
11834 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11835 # investigate it a little bit more. (MM)
11838 # ancient GNU ld didn't support --whole-archive et. al.
11839 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11840 $GREP 'no-whole-archive' > /dev
/null
; then
11841 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11843 whole_archive_flag_spec_CXX
=
11849 # A generic and very simple default shared library creation
11850 # command for GNU C++ for the case where it uses the native
11851 # linker, instead of GNU ld. If possible, this setting should
11852 # overridden to take advantage of the native linker features on
11853 # the platform it is being used on.
11854 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11857 # Commands to make compiler produce verbose output that lists
11858 # what "hidden" libraries, object files and flags are used when
11859 # linking a shared library.
11860 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11868 # PORTME: fill in a description of your system's C++ link characteristics
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11870 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11874 # FIXME: insert proper C++ library support
11878 if test "$host_cpu" = ia64
; then
11879 # On IA64, the linker does run time linking by default, so we don't
11880 # have to do anything special.
11881 aix_use_runtimelinking
=no
11882 exp_sym_flag
='-Bexport'
11885 aix_use_runtimelinking
=no
11887 # Test if we are trying to use run time linking or normal
11888 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11889 # need to do runtime linking.
11890 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11891 for ld_flag
in $LDFLAGS; do
11894 aix_use_runtimelinking
=yes
11902 exp_sym_flag
='-bexport'
11903 no_entry_flag
='-bnoentry'
11906 # When large executables or shared objects are built, AIX ld can
11907 # have problems creating the table of contents. If linking a library
11908 # or program results in "error TOC overflow" add -mminimal-toc to
11909 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11910 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11912 archive_cmds_CXX
=''
11913 hardcode_direct_CXX
=yes
11914 hardcode_direct_absolute_CXX
=yes
11915 hardcode_libdir_separator_CXX
=':'
11916 link_all_deplibs_CXX
=yes
11917 file_list_spec_CXX
='${wl}-f,'
11919 if test "$GXX" = yes; then
11920 case $host_os in aix4.
[012]|aix4.
[012].
*)
11921 # We only want to do this on AIX 4.2 and lower, the check
11922 # below for broken collect2 doesn't work under 4.3+
11923 collect2name
=`${CC} -print-prog-name=collect2`
11924 if test -f "$collect2name" &&
11925 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11927 # We have reworked collect2
11930 # We have old collect2
11931 hardcode_direct_CXX
=unsupported
11932 # It fails to find uninstalled libraries when the uninstalled
11933 # path is not listed in the libpath. Setting hardcode_minus_L
11934 # to unsupported forces relinking
11935 hardcode_minus_L_CXX
=yes
11936 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11937 hardcode_libdir_separator_CXX
=
11940 shared_flag
='-shared'
11941 if test "$aix_use_runtimelinking" = yes; then
11942 shared_flag
="$shared_flag "'${wl}-G'
11946 if test "$host_cpu" = ia64
; then
11947 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11948 # chokes on -Wl,-G. The following line is correct:
11951 if test "$aix_use_runtimelinking" = yes; then
11952 shared_flag
='${wl}-G'
11954 shared_flag
='${wl}-bM:SRE'
11959 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11960 # It seems that -bexpall does not export symbols beginning with
11961 # underscore (_), so it is better to generate a list of symbols to
11963 always_export_symbols_CXX
=yes
11964 if test "$aix_use_runtimelinking" = yes; then
11965 # Warning - without using the other runtime loading flags (-brtl),
11966 # -berok will link without error, but may produce a broken library.
11967 allow_undefined_flag_CXX
='-berok'
11968 # Determine the default libpath from the value encoded in an empty
11970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11981 if ac_fn_cxx_try_link
"$LINENO"; then :
11983 lt_aix_libpath_sed
='
11984 /Import File Strings/,/^$/ {
11990 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11991 # Check for a 64-bit object if we didn't find anything.
11992 if test -z "$aix_libpath"; then
11993 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11996 rm -f core conftest.err conftest.
$ac_objext \
11997 conftest
$ac_exeext conftest.
$ac_ext
11998 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12000 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12002 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"
12004 if test "$host_cpu" = ia64
; then
12005 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12006 allow_undefined_flag_CXX
="-z nodefs"
12007 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"
12009 # Determine the default libpath from the value encoded in an
12010 # empty executable.
12011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h. */
12022 if ac_fn_cxx_try_link
"$LINENO"; then :
12024 lt_aix_libpath_sed
='
12025 /Import File Strings/,/^$/ {
12031 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12032 # Check for a 64-bit object if we didn't find anything.
12033 if test -z "$aix_libpath"; then
12034 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12037 rm -f core conftest.err conftest.
$ac_objext \
12038 conftest
$ac_exeext conftest.
$ac_ext
12039 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12041 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12042 # Warning - without using the other run time loading flags,
12043 # -berok will link without error, but may produce a broken library.
12044 no_undefined_flag_CXX
=' ${wl}-bernotok'
12045 allow_undefined_flag_CXX
=' ${wl}-berok'
12046 if test "$with_gnu_ld" = yes; then
12047 # We only use this code for GNU lds that support --whole-archive.
12048 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12050 # Exported symbols can be pulled into shared objects from archives
12051 whole_archive_flag_spec_CXX
='$convenience'
12053 archive_cmds_need_lc_CXX
=yes
12054 # This is similar to how AIX traditionally builds its shared
12056 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'
12062 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12063 allow_undefined_flag_CXX
=unsupported
12064 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12065 # support --undefined. This deserves some investigation. FIXME
12066 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12073 case $cc_basename in
12075 # FIXME: insert proper C++ library support
12081 cygwin
* | mingw
* | pw32
* | cegcc
*)
12082 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12083 # as there is no search path for DLLs.
12084 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12085 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12086 allow_undefined_flag_CXX
=unsupported
12087 always_export_symbols_CXX
=no
12088 enable_shared_with_static_runtimes_CXX
=yes
12090 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12091 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'
12092 # If the export-symbols file already is a .def file (1st line
12093 # is EXPORTS), use it as is; otherwise, prepend...
12094 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12095 cp $export_symbols $output_objdir/$soname.def;
12097 echo EXPORTS > $output_objdir/$soname.def;
12098 cat $export_symbols >> $output_objdir/$soname.def;
12100 $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'
12105 darwin
* | rhapsody
*)
12108 archive_cmds_need_lc_CXX
=no
12109 hardcode_direct_CXX
=no
12110 hardcode_automatic_CXX
=yes
12111 hardcode_shlibpath_var_CXX
=unsupported
12112 if test "$lt_cv_ld_force_load" = "yes"; then
12113 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\"`'
12115 whole_archive_flag_spec_CXX
=''
12117 link_all_deplibs_CXX
=yes
12118 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12119 case $cc_basename in
12120 ifort
*) _lt_dar_can_shared
=yes ;;
12121 *) _lt_dar_can_shared
=$GCC ;;
12123 if test "$_lt_dar_can_shared" = "yes"; then
12124 output_verbose_link_cmd
=func_echo_all
12125 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}"
12126 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12127 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}"
12128 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}"
12129 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12130 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}"
12131 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}"
12141 case $cc_basename in
12143 # FIXME: insert proper C++ library support
12147 # Green Hills C++ Compiler
12148 # FIXME: insert proper C++ library support
12152 # FIXME: insert proper C++ library support
12159 # C++ shared libraries reported to be fairly broken before
12165 archive_cmds_need_lc_CXX
=no
12168 freebsd
* | dragonfly
*)
12169 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12178 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12179 link_all_deplibs_CXX
=yes
12183 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12184 hardcode_libdir_separator_CXX
=:
12185 export_dynamic_flag_spec_CXX
='${wl}-E'
12186 hardcode_direct_CXX
=yes
12187 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12188 # but as the default
12189 # location of the library.
12191 case $cc_basename in
12193 # FIXME: insert proper C++ library support
12197 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'
12198 # Commands to make compiler produce verbose output that lists
12199 # what "hidden" libraries, object files and flags are used when
12200 # linking a shared library.
12202 # There doesn't appear to be a way to prevent this compiler from
12203 # explicitly linking system object files so we need to strip them
12204 # from the output so that they don't get included in the library
12206 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"'
12209 if test "$GXX" = yes; then
12210 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'
12212 # FIXME: insert proper C++ library support
12220 if test $with_gnu_ld = no
; then
12221 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12222 hardcode_libdir_separator_CXX
=:
12228 export_dynamic_flag_spec_CXX
='${wl}-E'
12234 hardcode_direct_CXX
=no
12235 hardcode_shlibpath_var_CXX
=no
12238 hardcode_direct_CXX
=yes
12239 hardcode_direct_absolute_CXX
=yes
12240 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12241 # but as the default
12242 # location of the library.
12246 case $cc_basename in
12248 # FIXME: insert proper C++ library support
12254 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12257 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12260 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12263 # Commands to make compiler produce verbose output that lists
12264 # what "hidden" libraries, object files and flags are used when
12265 # linking a shared library.
12267 # There doesn't appear to be a way to prevent this compiler from
12268 # explicitly linking system object files so we need to strip them
12269 # from the output so that they don't get included in the library
12271 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"'
12274 if test "$GXX" = yes; then
12275 if test $with_gnu_ld = no
; then
12278 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12281 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12284 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'
12289 # FIXME: insert proper C++ library support
12297 hardcode_direct_CXX
=no
12298 hardcode_shlibpath_var_CXX
=no
12299 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12300 export_dynamic_flag_spec_CXX
='${wl}-E'
12301 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12302 # Instead, shared libraries are loaded at an image base (0x10000000 by
12303 # default) and relocated if they conflict, which is a slow very memory
12304 # consuming and fragmenting process. To avoid this, we pick a random,
12305 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12306 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12307 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'
12308 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'
12311 case $cc_basename in
12314 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'
12316 # Archives containing C++ object files must be created using
12317 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12318 # necessary to make sure instantiated templates are included
12320 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12323 if test "$GXX" = yes; then
12324 if test "$with_gnu_ld" = no
; then
12325 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'
12327 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'
12330 link_all_deplibs_CXX
=yes
12333 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12334 hardcode_libdir_separator_CXX
=:
12335 inherit_rpath_CXX
=yes
12338 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12339 case $cc_basename in
12341 # Kuck and Associates, Inc. (KAI) C++ Compiler
12343 # KCC will only create a shared library if the output file
12344 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12345 # to its proper name (with version) after linking.
12346 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'
12347 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'
12348 # Commands to make compiler produce verbose output that lists
12349 # what "hidden" libraries, object files and flags are used when
12350 # linking a shared library.
12352 # There doesn't appear to be a way to prevent this compiler from
12353 # explicitly linking system object files so we need to strip them
12354 # from the output so that they don't get included in the library
12356 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"'
12358 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12359 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12361 # Archives containing C++ object files must be created using
12362 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12363 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12368 # version 8.0 and above of icpc choke on multiply defined symbols
12369 # if we add $predep_objects and $postdep_objects, however 7.1 and
12370 # earlier do not add the objects themselves.
12371 case `$CC -V 2>&1` in
12373 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12374 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'
12376 *) # Version 8.0 or newer
12379 ia64
*) tmp_idyn
=' -i_dynamic';;
12381 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12382 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'
12385 archive_cmds_need_lc_CXX
=no
12386 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12387 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12388 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12391 # Portland Group C++ compiler
12393 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12394 prelink_cmds_CXX
='tpldir=Template.dir~
12396 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12397 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12398 old_archive_cmds_CXX
='tpldir=Template.dir~
12400 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12401 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12403 archive_cmds_CXX
='tpldir=Template.dir~
12405 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12406 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12407 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12409 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12410 $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'
12412 *) # Version 6 and above use weak symbols
12413 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12414 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'
12418 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12419 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12420 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'
12424 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12425 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'
12427 runpath_var
=LD_RUN_PATH
12428 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12429 hardcode_libdir_separator_CXX
=:
12431 # Commands to make compiler produce verbose output that lists
12432 # what "hidden" libraries, object files and flags are used when
12433 # linking a shared library.
12435 # There doesn't appear to be a way to prevent this compiler from
12436 # explicitly linking system object files so we need to strip them
12437 # from the output so that they don't get included in the library
12439 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'
12441 xl
* | mpixl
* | bgxl
*)
12442 # IBM XL 8.0 on PPC, with GNU ld
12443 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12444 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12445 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12446 if test "x$supports_anon_versioning" = xyes
; then
12447 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12448 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12449 echo "local: *; };" >> $output_objdir/$libname.ver~
12450 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12454 case `$CC -V 2>&1 | sed 5q` in
12457 no_undefined_flag_CXX
=' -zdefs'
12458 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12459 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'
12460 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12461 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'
12462 compiler_needs_object_CXX
=yes
12464 # Not sure whether something based on
12465 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12467 output_verbose_link_cmd
='func_echo_all'
12469 # Archives containing C++ object files must be created using
12470 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12471 # necessary to make sure instantiated templates are included
12473 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12481 # FIXME: insert proper C++ library support
12486 # FIXME: insert proper C++ library support
12491 case $cc_basename in
12493 # FIXME: insert proper C++ library support
12497 # FIXME: insert proper C++ library support
12504 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12505 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12507 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12508 hardcode_direct_CXX
=yes
12509 hardcode_shlibpath_var_CXX
=no
12511 # Workaround some broken pre-1.5 toolchains
12512 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12520 # C++ shared libraries are fairly broken
12525 if test -f /usr
/libexec
/ld.so
; then
12526 hardcode_direct_CXX
=yes
12527 hardcode_shlibpath_var_CXX
=no
12528 hardcode_direct_absolute_CXX
=yes
12529 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12530 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12531 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12532 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12533 export_dynamic_flag_spec_CXX
='${wl}-E'
12534 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12536 output_verbose_link_cmd
=func_echo_all
12542 osf3
* | osf4
* | osf5
*)
12543 case $cc_basename in
12545 # Kuck and Associates, Inc. (KAI) C++ Compiler
12547 # KCC will only create a shared library if the output file
12548 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12549 # to its proper name (with version) after linking.
12550 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'
12552 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12553 hardcode_libdir_separator_CXX
=:
12555 # Archives containing C++ object files must be created using
12556 # the KAI C++ compiler.
12558 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12559 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12563 # Rational C++ 2.4.1
12564 # FIXME: insert proper C++ library support
12570 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12571 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'
12572 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12575 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12576 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'
12577 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12578 echo "-hidden">> $lib.exp~
12579 $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~
12581 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12585 hardcode_libdir_separator_CXX
=:
12587 # Commands to make compiler produce verbose output that lists
12588 # what "hidden" libraries, object files and flags are used when
12589 # linking a shared library.
12591 # There doesn't appear to be a way to prevent this compiler from
12592 # explicitly linking system object files so we need to strip them
12593 # from the output so that they don't get included in the library
12595 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"'
12598 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12599 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12602 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'
12605 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'
12609 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12610 hardcode_libdir_separator_CXX
=:
12612 # Commands to make compiler produce verbose output that lists
12613 # what "hidden" libraries, object files and flags are used when
12614 # linking a shared library.
12615 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12618 # FIXME: insert proper C++ library support
12626 # FIXME: insert proper C++ library support
12631 case $cc_basename in
12634 # FIXME: insert proper C++ library support
12639 # FIXME: insert proper C++ library support
12643 # FIXME: insert proper C++ library support
12650 case $cc_basename in
12652 # Sun C++ 4.2, 5.x and Centerline C++
12653 archive_cmds_need_lc_CXX
=yes
12654 no_undefined_flag_CXX
=' -zdefs'
12655 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12656 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12657 $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'
12659 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12660 hardcode_shlibpath_var_CXX
=no
12662 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12664 # The compiler driver will combine and reorder linker options,
12665 # but understands `-z linker_flag'.
12666 # Supported since Solaris 2.6 (maybe 2.5.1?)
12667 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12670 link_all_deplibs_CXX
=yes
12672 output_verbose_link_cmd
='func_echo_all'
12674 # Archives containing C++ object files must be created using
12675 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12676 # necessary to make sure instantiated templates are included
12678 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12681 # Green Hills C++ Compiler
12682 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12684 # The C++ compiler must be used to create the archive.
12685 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12688 # GNU C++ compiler with Solaris linker
12689 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12690 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12691 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12692 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12693 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12694 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12696 # Commands to make compiler produce verbose output that lists
12697 # what "hidden" libraries, object files and flags are used when
12698 # linking a shared library.
12699 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12701 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12703 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12704 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12705 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12707 # Commands to make compiler produce verbose output that lists
12708 # what "hidden" libraries, object files and flags are used when
12709 # linking a shared library.
12710 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12713 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12715 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12717 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12725 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12726 no_undefined_flag_CXX
='${wl}-z,text'
12727 archive_cmds_need_lc_CXX
=no
12728 hardcode_shlibpath_var_CXX
=no
12729 runpath_var
='LD_RUN_PATH'
12731 case $cc_basename in
12733 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12734 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12737 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12738 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12743 sysv5
* | sco3.2v5
* | sco5v6
*)
12744 # Note: We can NOT use -z defs as we might desire, because we do not
12745 # link with -lc, and that would cause any symbols used from libc to
12746 # always be unresolved, which means just about no library would
12747 # ever link correctly. If we're not using GNU ld we use -z text
12748 # though, which does catch some bad symbols but isn't as heavy-handed
12750 no_undefined_flag_CXX
='${wl}-z,text'
12751 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12752 archive_cmds_need_lc_CXX
=no
12753 hardcode_shlibpath_var_CXX
=no
12754 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12755 hardcode_libdir_separator_CXX
=':'
12756 link_all_deplibs_CXX
=yes
12757 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12758 runpath_var
='LD_RUN_PATH'
12760 case $cc_basename in
12762 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12763 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12764 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12765 '"$old_archive_cmds_CXX"
12766 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12767 '"$reload_cmds_CXX"
12770 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12771 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12777 case $cc_basename in
12779 # NonStop-UX NCC 3.20
12780 # FIXME: insert proper C++ library support
12784 # FIXME: insert proper C++ library support
12791 # FIXME: insert proper C++ library support
12796 # FIXME: insert proper C++ library support
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12802 $as_echo "$ld_shlibs_CXX" >&6; }
12803 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12809 ## There is no encapsulation within the following macros, do not change
12810 ## the running order or otherwise move them around unless you know exactly
12811 ## what you are doing...
12812 # Dependencies to place before and after the object being linked:
12813 predep_objects_CXX
=
12814 postdep_objects_CXX
=
12817 compiler_lib_search_path_CXX
=
12819 cat > conftest.
$ac_ext <<_LT_EOF
12823 Foo (void) { a = 0; }
12829 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12830 (eval $ac_compile) 2>&5
12832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12833 test $ac_status = 0; }; then
12834 # Parse the compiler output and extract the necessary
12835 # objects, libraries and library flags.
12837 # Sentinel used to keep track of whether or not we are before
12838 # the conftest object file.
12839 pre_test_object_deps_done
=no
12841 for p
in `eval "$output_verbose_link_cmd"`; do
12845 # Some compilers place space between "-{L,R}" and the path.
12846 # Remove the space.
12847 if test $p = "-L" ||
12848 test $p = "-R"; then
12855 if test "$pre_test_object_deps_done" = no
; then
12858 # Internal compiler library paths should come after those
12859 # provided the user. The postdeps already come after the
12860 # user supplied libs so there is no need to process them.
12861 if test -z "$compiler_lib_search_path_CXX"; then
12862 compiler_lib_search_path_CXX
="${prev}${p}"
12864 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12867 # The "-l" case would never come before the object being
12868 # linked, so don't bother handling this case.
12871 if test -z "$postdeps_CXX"; then
12872 postdeps_CXX
="${prev}${p}"
12874 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12880 # This assumes that the test object file only shows up
12881 # once in the compiler output.
12882 if test "$p" = "conftest.$objext"; then
12883 pre_test_object_deps_done
=yes
12887 if test "$pre_test_object_deps_done" = no
; then
12888 if test -z "$predep_objects_CXX"; then
12889 predep_objects_CXX
="$p"
12891 predep_objects_CXX
="$predep_objects_CXX $p"
12894 if test -z "$postdep_objects_CXX"; then
12895 postdep_objects_CXX
="$p"
12897 postdep_objects_CXX
="$postdep_objects_CXX $p"
12902 *) ;; # Ignore the rest.
12910 echo "libtool.m4: error: problem compiling CXX test program"
12913 $RM -f confest.
$objext
12915 # PORTME: override above test on systems where it is broken
12918 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12919 # hack all around it, let's just trust "g++" to DTRT.
12920 predep_objects_CXX
=
12921 postdep_objects_CXX
=
12926 case `$CC -V 2>&1 | sed 5q` in
12930 # The more standards-conforming stlport4 library is
12931 # incompatible with the Cstd library. Avoid specifying
12932 # it if it's in CXXFLAGS. Ignore libCrun as
12933 # -library=stlport4 depends on it.
12934 case " $CXX $CXXFLAGS " in
12935 *" -library=stlport4 "*)
12936 solaris_use_stlport4
=yes
12940 if test "$solaris_use_stlport4" != yes; then
12941 postdeps_CXX
='-library=Cstd -library=Crun'
12948 case $cc_basename in
12950 # The more standards-conforming stlport4 library is
12951 # incompatible with the Cstd library. Avoid specifying
12952 # it if it's in CXXFLAGS. Ignore libCrun as
12953 # -library=stlport4 depends on it.
12954 case " $CXX $CXXFLAGS " in
12955 *" -library=stlport4 "*)
12956 solaris_use_stlport4
=yes
12960 # Adding this requires a known-good setup of shared libraries for
12961 # Sun compiler versions before 5.6, else PIC objects from an old
12962 # archive will be linked into the output, leading to subtle bugs.
12963 if test "$solaris_use_stlport4" != yes; then
12964 postdeps_CXX
='-library=Cstd -library=Crun'
12972 case " $postdeps_CXX " in
12973 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12975 compiler_lib_search_dirs_CXX
=
12976 if test -n "${compiler_lib_search_path_CXX}"; then
12977 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13010 lt_prog_compiler_wl_CXX
=
13011 lt_prog_compiler_pic_CXX
=
13012 lt_prog_compiler_static_CXX
=
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13015 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13017 # C++ specific cases for pic, static, wl, etc.
13018 if test "$GXX" = yes; then
13019 lt_prog_compiler_wl_CXX
='-Wl,'
13020 lt_prog_compiler_static_CXX
='-static'
13024 # All AIX code is PIC.
13025 if test "$host_cpu" = ia64
; then
13026 # AIX 5 now supports IA64 processor
13027 lt_prog_compiler_static_CXX
='-Bstatic'
13029 lt_prog_compiler_pic_CXX
='-fPIC'
13035 # see comment about AmigaOS4 .so support
13036 lt_prog_compiler_pic_CXX
='-fPIC'
13039 # FIXME: we need at least 68020 code to build shared libraries, but
13040 # adding the `-m68020' flag to GCC prevents building anything better,
13042 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13047 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13048 # PIC is the default for these OSes.
13050 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13051 # This hack is so that the source file can tell whether it is being
13052 # built for inclusion in a dll (and should export symbols for example).
13053 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13054 # (--disable-auto-import) libraries
13055 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13057 darwin
* | rhapsody
*)
13058 # PIC is the default on this platform
13059 # Common symbols not allowed in MH_DYLIB files
13060 lt_prog_compiler_pic_CXX
='-fno-common'
13063 # DJGPP does not support shared libraries at all
13064 lt_prog_compiler_pic_CXX
=
13067 # PIC is the default for Haiku.
13068 # The "-static" flag exists, but is broken.
13069 lt_prog_compiler_static_CXX
=
13072 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13073 # Instead, we relocate shared libraries at runtime.
13076 if test -d /usr
/nec
; then
13077 lt_prog_compiler_pic_CXX
=-Kconform_pic
13081 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13082 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13083 # sets the default TLS model and affects inlining.
13088 lt_prog_compiler_pic_CXX
='-fPIC'
13093 # QNX uses GNU C++, but need to define -shared option too, otherwise
13094 # it will coredump.
13095 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13098 lt_prog_compiler_pic_CXX
='-fPIC'
13104 # All AIX code is PIC.
13105 if test "$host_cpu" = ia64
; then
13106 # AIX 5 now supports IA64 processor
13107 lt_prog_compiler_static_CXX
='-Bstatic'
13109 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13113 case $cc_basename in
13115 # Green Hills C++ Compiler
13116 # _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"
13121 case $cc_basename in
13123 lt_prog_compiler_pic_CXX
='-KPIC'
13126 # Green Hills C++ Compiler
13127 lt_prog_compiler_pic_CXX
='-pic'
13133 freebsd
* | dragonfly
*)
13134 # FreeBSD uses GNU C++
13136 hpux9
* | hpux10
* | hpux11
*)
13137 case $cc_basename in
13139 lt_prog_compiler_wl_CXX
='-Wl,'
13140 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13141 if test "$host_cpu" != ia64
; then
13142 lt_prog_compiler_pic_CXX
='+Z'
13146 lt_prog_compiler_wl_CXX
='-Wl,'
13147 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13153 lt_prog_compiler_pic_CXX
='+Z'
13162 # This is c89, which is MS Visual C++ (no shared libs)
13163 # Anyone wants to do a port?
13165 irix5
* | irix6
* | nonstopux
*)
13166 case $cc_basename in
13168 lt_prog_compiler_wl_CXX
='-Wl,'
13169 lt_prog_compiler_static_CXX
='-non_shared'
13170 # CC pic flag -KPIC is the default.
13176 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13177 case $cc_basename in
13180 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13181 lt_prog_compiler_pic_CXX
='-fPIC'
13184 # old Intel C++ for x86_64 which still supported -KPIC.
13185 lt_prog_compiler_wl_CXX
='-Wl,'
13186 lt_prog_compiler_pic_CXX
='-KPIC'
13187 lt_prog_compiler_static_CXX
='-static'
13190 # Intel C++, used to be incompatible with GCC.
13191 # ICC 10 doesn't accept -KPIC any more.
13192 lt_prog_compiler_wl_CXX
='-Wl,'
13193 lt_prog_compiler_pic_CXX
='-fPIC'
13194 lt_prog_compiler_static_CXX
='-static'
13197 # Portland Group C++ compiler
13198 lt_prog_compiler_wl_CXX
='-Wl,'
13199 lt_prog_compiler_pic_CXX
='-fpic'
13200 lt_prog_compiler_static_CXX
='-Bstatic'
13204 # Make sure the PIC flag is empty. It appears that all Alpha
13205 # Linux and Compaq Tru64 Unix objects are PIC.
13206 lt_prog_compiler_pic_CXX
=
13207 lt_prog_compiler_static_CXX
='-non_shared'
13209 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13210 # IBM XL 8.0, 9.0 on PPC and BlueGene
13211 lt_prog_compiler_wl_CXX
='-Wl,'
13212 lt_prog_compiler_pic_CXX
='-qpic'
13213 lt_prog_compiler_static_CXX
='-qstaticlink'
13216 case `$CC -V 2>&1 | sed 5q` in
13219 lt_prog_compiler_pic_CXX
='-KPIC'
13220 lt_prog_compiler_static_CXX
='-Bstatic'
13221 lt_prog_compiler_wl_CXX
='-Qoption ld '
13232 case $cc_basename in
13234 lt_prog_compiler_pic_CXX
='-W c,exportall'
13243 # QNX uses GNU C++, but need to define -shared option too, otherwise
13244 # it will coredump.
13245 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13247 osf3
* | osf4
* | osf5
*)
13248 case $cc_basename in
13250 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13253 # Rational C++ 2.4.1
13254 lt_prog_compiler_pic_CXX
='-pic'
13257 # Digital/Compaq C++
13258 lt_prog_compiler_wl_CXX
='-Wl,'
13259 # Make sure the PIC flag is empty. It appears that all Alpha
13260 # Linux and Compaq Tru64 Unix objects are PIC.
13261 lt_prog_compiler_pic_CXX
=
13262 lt_prog_compiler_static_CXX
='-non_shared'
13271 case $cc_basename in
13273 # Sun C++ 4.2, 5.x and Centerline C++
13274 lt_prog_compiler_pic_CXX
='-KPIC'
13275 lt_prog_compiler_static_CXX
='-Bstatic'
13276 lt_prog_compiler_wl_CXX
='-Qoption ld '
13279 # Green Hills C++ Compiler
13280 lt_prog_compiler_pic_CXX
='-PIC'
13287 case $cc_basename in
13290 lt_prog_compiler_pic_CXX
='-pic'
13291 lt_prog_compiler_static_CXX
='-Bstatic'
13295 lt_prog_compiler_pic_CXX
='-pic'
13301 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13302 case $cc_basename in
13304 lt_prog_compiler_wl_CXX
='-Wl,'
13305 lt_prog_compiler_pic_CXX
='-KPIC'
13306 lt_prog_compiler_static_CXX
='-Bstatic'
13311 case $cc_basename in
13313 # NonStop-UX NCC 3.20
13314 lt_prog_compiler_pic_CXX
='-KPIC'
13323 lt_prog_compiler_can_build_shared_CXX
=no
13329 # For platforms which do not support PIC, -DPIC is meaningless:
13331 lt_prog_compiler_pic_CXX
=
13334 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13338 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13343 # Check to make sure the PIC flag actually works.
13345 if test -n "$lt_prog_compiler_pic_CXX"; then
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13347 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13348 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13349 $as_echo_n "(cached) " >&6
13351 lt_cv_prog_compiler_pic_works_CXX
=no
13352 ac_outfile
=conftest.
$ac_objext
13353 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13354 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13355 # Insert the option either (1) after the last *FLAGS variable, or
13356 # (2) before a word containing "conftest.", or (3) at the end.
13357 # Note that $ac_compile itself does not contain backslashes and begins
13358 # with a dollar sign (not a hyphen), so the echo should work correctly.
13359 # The option is referenced via a variable to avoid confusing sed.
13360 lt_compile
=`echo "$ac_compile" | $SED \
13361 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13363 -e 's:$: $lt_compiler_flag:'`
13364 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13365 (eval "$lt_compile" 2>conftest.err
)
13367 cat conftest.err
>&5
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 if (exit $ac_status) && test -s "$ac_outfile"; then
13370 # The compiler can only warn and ignore the option if not recognized
13371 # So say no if there are warnings other than the usual output.
13372 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13373 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13374 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13375 lt_cv_prog_compiler_pic_works_CXX
=yes
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13382 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13384 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13385 case $lt_prog_compiler_pic_CXX in
13387 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13390 lt_prog_compiler_pic_CXX
=
13391 lt_prog_compiler_can_build_shared_CXX
=no
13399 # Check to make sure the static flag actually works.
13401 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13403 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13404 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13405 $as_echo_n "(cached) " >&6
13407 lt_cv_prog_compiler_static_works_CXX
=no
13408 save_LDFLAGS
="$LDFLAGS"
13409 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13410 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13411 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13412 # The linker can only warn and ignore the option if not recognized
13413 # So say no if there are warnings
13414 if test -s conftest.err
; then
13415 # Append any errors to the config.log.
13416 cat conftest.err
1>&5
13417 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13418 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13419 if diff conftest.exp conftest.er2
>/dev
/null
; then
13420 lt_cv_prog_compiler_static_works_CXX
=yes
13423 lt_cv_prog_compiler_static_works_CXX
=yes
13427 LDFLAGS
="$save_LDFLAGS"
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13431 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13433 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13436 lt_prog_compiler_static_CXX
=
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13443 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13444 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13445 $as_echo_n "(cached) " >&6
13447 lt_cv_prog_compiler_c_o_CXX
=no
13448 $RM -r conftest
2>/dev
/null
13452 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13454 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13455 # Insert the option either (1) after the last *FLAGS variable, or
13456 # (2) before a word containing "conftest.", or (3) at the end.
13457 # Note that $ac_compile itself does not contain backslashes and begins
13458 # with a dollar sign (not a hyphen), so the echo should work correctly.
13459 lt_compile
=`echo "$ac_compile" | $SED \
13460 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13461 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13462 -e 's:$: $lt_compiler_flag:'`
13463 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13464 (eval "$lt_compile" 2>out
/conftest.err
)
13466 cat out
/conftest.err
>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13470 # The compiler can only warn and ignore the option if not recognized
13471 # So say no if there are warnings
13472 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13473 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13474 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13475 lt_cv_prog_compiler_c_o_CXX
=yes
13480 # SGI C++ compiler will create directory out/ii_files/ for
13481 # template instantiation
13482 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13483 $RM out
/* && rmdir out
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13490 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13495 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13496 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13497 $as_echo_n "(cached) " >&6
13499 lt_cv_prog_compiler_c_o_CXX
=no
13500 $RM -r conftest
2>/dev
/null
13504 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13506 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13507 # Insert the option either (1) after the last *FLAGS variable, or
13508 # (2) before a word containing "conftest.", or (3) at the end.
13509 # Note that $ac_compile itself does not contain backslashes and begins
13510 # with a dollar sign (not a hyphen), so the echo should work correctly.
13511 lt_compile
=`echo "$ac_compile" | $SED \
13512 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13513 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13514 -e 's:$: $lt_compiler_flag:'`
13515 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13516 (eval "$lt_compile" 2>out
/conftest.err
)
13518 cat out
/conftest.err
>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13522 # The compiler can only warn and ignore the option if not recognized
13523 # So say no if there are warnings
13524 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13525 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13526 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13527 lt_cv_prog_compiler_c_o_CXX
=yes
13532 # SGI C++ compiler will create directory out/ii_files/ for
13533 # template instantiation
13534 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13535 $RM out
/* && rmdir out
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13542 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13547 hard_links
="nottested"
13548 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13549 # do not overwrite the value of need_locks provided by the user
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13551 $as_echo_n "checking if we can lock with hard links... " >&6; }
13554 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13556 ln conftest.a conftest.b
2>&5 || hard_links
=no
13557 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13559 $as_echo "$hard_links" >&6; }
13560 if test "$hard_links" = no
; then
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13562 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13572 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13574 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13577 # If we're using GNU nm, then we don't want the "-C" option.
13578 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13579 # Also, AIX nm treats weak defined symbols like other global defined
13580 # symbols, whereas GNU nm marks them as "W".
13581 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13582 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'
13584 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'
13588 export_symbols_cmds_CXX
="$ltdll_cmds"
13590 cygwin
* | mingw
* | cegcc
*)
13591 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'
13594 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13597 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13600 $as_echo "$ld_shlibs_CXX" >&6; }
13601 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13603 with_gnu_ld_CXX
=$with_gnu_ld
13611 # Do we need to explicitly link libc?
13613 case "x$archive_cmds_need_lc_CXX" in
13615 # Assume -lc should be added
13616 archive_cmds_need_lc_CXX
=yes
13618 if test "$enable_shared" = yes && test "$GCC" = yes; then
13619 case $archive_cmds_CXX in
13621 # FIXME: we may have to deal with multi-command sequences.
13624 # Test whether the compiler implicitly links with -lc since on some
13625 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13626 # to ld, don't add -lc before -lgcc.
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13628 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13629 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13630 $as_echo_n "(cached) " >&6
13633 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13636 (eval $ac_compile) 2>&5
13638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13639 test $ac_status = 0; } 2>conftest.err
; then
13642 libobjs
=conftest.
$ac_objext
13644 wl
=$lt_prog_compiler_wl_CXX
13645 pic_flag
=$lt_prog_compiler_pic_CXX
13651 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13652 allow_undefined_flag_CXX
=
13653 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13654 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13657 test $ac_status = 0; }
13659 lt_cv_archive_cmds_need_lc_CXX
=no
13661 lt_cv_archive_cmds_need_lc_CXX
=yes
13663 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13665 cat conftest.err
1>&5
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13671 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13672 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13743 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13745 library_names_spec
=
13746 libname_spec
='lib$name'
13750 postuninstall_cmds
=
13754 shlibpath_overrides_runpath
=unknown
13756 dynamic_linker
="$host_os ld.so"
13757 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13758 need_lib_prefix
=unknown
13759 hardcode_into_libs
=no
13761 # when you set need_version to no, make sure it does not cause -set_version
13762 # flags to be left without arguments
13763 need_version
=unknown
13768 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13769 shlibpath_var
=LIBPATH
13771 # AIX 3 has no versioning support, so we append a major version to the name.
13772 soname_spec
='${libname}${release}${shared_ext}$major'
13779 hardcode_into_libs
=yes
13780 if test "$host_cpu" = ia64
; then
13781 # AIX 5 supports IA64
13782 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13783 shlibpath_var
=LD_LIBRARY_PATH
13785 # With GCC up to 2.95.x, collect2 would create an import file
13786 # for dependence libraries. The import file would start with
13787 # the line `#! .'. This would cause the generated library to
13788 # depend on `.', always an invalid library. This was fixed in
13789 # development snapshots of GCC prior to 3.0.
13791 aix4 | aix4.
[01] | aix4.
[01].
*)
13792 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13794 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13797 can_build_shared
=no
13801 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13802 # soname into executable. Probably we can add versioning support to
13803 # collect2, so additional links can be useful in future.
13804 if test "$aix_use_runtimelinking" = yes; then
13805 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13806 # instead of lib<name>.a to let people know that these are not
13807 # typical AIX shared libraries.
13808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13810 # We preserve .a as extension for shared libraries through AIX4.2
13811 # and later when we are not doing run time linking.
13812 library_names_spec
='${libname}${release}.a $libname.a'
13813 soname_spec
='${libname}${release}${shared_ext}$major'
13815 shlibpath_var
=LIBPATH
13822 # Since July 2007 AmigaOS4 officially supports .so libraries.
13823 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13827 library_names_spec
='$libname.ixlibrary $libname.a'
13828 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13829 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'
13835 library_names_spec
='${libname}${shared_ext}'
13836 dynamic_linker
="$host_os ld.so"
13837 shlibpath_var
=LIBRARY_PATH
13843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13844 soname_spec
='${libname}${release}${shared_ext}$major'
13845 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13846 shlibpath_var
=LD_LIBRARY_PATH
13847 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13848 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13849 # the default ld.so.conf also contains /usr/contrib/lib and
13850 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13851 # libtool to hard-code these into programs
13854 cygwin
* | mingw
* | pw32
* | cegcc
*)
13855 version_type
=windows
13860 case $GCC,$host_os in
13861 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13862 library_names_spec
='$libname.dll.a'
13863 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13864 postinstall_cmds
='base_file=`basename \${file}`~
13865 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13866 dldir=$destdir/`dirname \$dlpath`~
13867 test -d \$dldir || mkdir -p \$dldir~
13868 $install_prog $dir/$dlname \$dldir/$dlname~
13869 chmod a+x \$dldir/$dlname~
13870 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13871 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13873 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13874 dlpath=$dir/\$dldll~
13876 shlibpath_overrides_runpath
=yes
13880 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13881 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13885 # MinGW DLLs use traditional 'lib' prefix
13886 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13889 # pw32 DLLs use 'pw' prefix rather than 'lib'
13890 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13896 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13899 dynamic_linker
='Win32 ld.exe'
13900 # FIXME: first we should search . and the directory the executable is in
13904 darwin
* | rhapsody
*)
13905 dynamic_linker
="$host_os dyld"
13906 version_type
=darwin
13909 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13910 soname_spec
='${libname}${release}${major}$shared_ext'
13911 shlibpath_overrides_runpath
=yes
13912 shlibpath_var
=DYLD_LIBRARY_PATH
13913 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13915 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13923 soname_spec
='${libname}${release}${shared_ext}$major'
13924 shlibpath_var
=LD_LIBRARY_PATH
13927 freebsd
* | dragonfly
*)
13928 # DragonFly does not have aout. When/if they implement a new
13929 # versioning mechanism, adjust this.
13930 if test -x /usr
/bin
/objformat
; then
13931 objformat
=`/usr/bin/objformat`
13934 freebsd
[23].
*) objformat
=aout
;;
13935 *) objformat
=elf
;;
13938 version_type
=freebsd-
$objformat
13939 case $version_type in
13941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13946 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13950 shlibpath_var
=LD_LIBRARY_PATH
13953 shlibpath_overrides_runpath
=yes
13955 freebsd3.
[01]* | freebsdelf3.
[01]*)
13956 shlibpath_overrides_runpath
=yes
13957 hardcode_into_libs
=yes
13959 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13960 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13961 shlibpath_overrides_runpath
=no
13962 hardcode_into_libs
=yes
13964 *) # from 4.6 on, and DragonFly
13965 shlibpath_overrides_runpath
=yes
13966 hardcode_into_libs
=yes
13975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13976 soname_spec
='${libname}${release}${shared_ext}$major'
13977 shlibpath_var
=LD_LIBRARY_PATH
13978 hardcode_into_libs
=yes
13985 dynamic_linker
="$host_os runtime_loader"
13986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13987 soname_spec
='${libname}${release}${shared_ext}$major'
13988 shlibpath_var
=LIBRARY_PATH
13989 shlibpath_overrides_runpath
=yes
13990 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13991 hardcode_into_libs
=yes
13994 hpux9
* | hpux10
* | hpux11
*)
13995 # Give a soname corresponding to the major version so that dld.sl refuses to
13996 # link against other versions.
14003 hardcode_into_libs
=yes
14004 dynamic_linker
="$host_os dld.so"
14005 shlibpath_var
=LD_LIBRARY_PATH
14006 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14008 soname_spec
='${libname}${release}${shared_ext}$major'
14009 if test "X$HPUX_IA64_MODE" = X32
; then
14010 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14012 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14014 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14018 hardcode_into_libs
=yes
14019 dynamic_linker
="$host_os dld.sl"
14020 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14021 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14023 soname_spec
='${libname}${release}${shared_ext}$major'
14024 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14025 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14029 dynamic_linker
="$host_os dld.sl"
14030 shlibpath_var
=SHLIB_PATH
14031 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14033 soname_spec
='${libname}${release}${shared_ext}$major'
14036 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14037 postinstall_cmds
='chmod 555 $lib'
14038 # or fails outright, so override atomically:
14039 install_override_mode
=555
14046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14047 soname_spec
='${libname}${release}${shared_ext}$major'
14048 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14049 shlibpath_var
=LD_LIBRARY_PATH
14050 shlibpath_overrides_runpath
=no
14051 hardcode_into_libs
=yes
14054 irix5
* | irix6
* | nonstopux
*)
14056 nonstopux
*) version_type
=nonstopux
;;
14058 if test "$lt_cv_prog_gnu_ld" = yes; then
14066 soname_spec
='${libname}${release}${shared_ext}$major'
14067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14069 irix5
* | nonstopux
*)
14070 libsuff
= shlibsuff
=
14073 case $LD in # libtool.m4 will add one of these switches to LD
14074 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14075 libsuff
= shlibsuff
= libmagic
=32-bit;;
14076 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14077 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14078 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14079 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14080 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14084 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14085 shlibpath_overrides_runpath
=no
14086 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14087 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14088 hardcode_into_libs
=yes
14091 # No shared lib support for Linux oldld, aout, or coff.
14092 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14096 # This must be Linux ELF.
14097 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14102 soname_spec
='${libname}${release}${shared_ext}$major'
14103 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14104 shlibpath_var
=LD_LIBRARY_PATH
14105 shlibpath_overrides_runpath
=no
14107 # Some binutils ld are patched to set DT_RUNPATH
14108 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14109 $as_echo_n "(cached) " >&6
14111 lt_cv_shlibpath_overrides_runpath
=no
14112 save_LDFLAGS
=$LDFLAGS
14113 save_libdir
=$libdir
14114 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14115 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14117 /* end confdefs.h. */
14127 if ac_fn_cxx_try_link
"$LINENO"; then :
14128 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14129 lt_cv_shlibpath_overrides_runpath
=yes
14132 rm -f core conftest.err conftest.
$ac_objext \
14133 conftest
$ac_exeext conftest.
$ac_ext
14134 LDFLAGS
=$save_LDFLAGS
14135 libdir
=$save_libdir
14139 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14141 # This implies no fast_install, which is unacceptable.
14142 # Some rework will be needed to allow for fast_install
14143 # before this can be enabled.
14144 hardcode_into_libs
=yes
14146 # Append ld.so.conf contents to the search path
14147 if test -f /etc
/ld.so.conf
; then
14148 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' ' '`
14149 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14152 # We used to test for /lib/ld.so.1 and disable shared libraries on
14153 # powerpc, because MkLinux only supported shared libraries with the
14154 # GNU dynamic linker. Since this was broken with cross compilers,
14155 # most powerpc-linux boxes support dynamic linking these days and
14156 # people can always --disable-shared, the test was removed, and we
14157 # assume the GNU/Linux dynamic linker is in use.
14158 dynamic_linker
='GNU/Linux ld.so'
14165 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14167 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14168 dynamic_linker
='NetBSD (a.out) ld.so'
14170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14171 soname_spec
='${libname}${release}${shared_ext}$major'
14172 dynamic_linker
='NetBSD ld.elf_so'
14174 shlibpath_var
=LD_LIBRARY_PATH
14175 shlibpath_overrides_runpath
=yes
14176 hardcode_into_libs
=yes
14181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14182 shlibpath_var
=LD_LIBRARY_PATH
14183 shlibpath_overrides_runpath
=yes
14190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14191 soname_spec
='${libname}${release}${shared_ext}$major'
14192 shlibpath_var
=LD_LIBRARY_PATH
14193 shlibpath_overrides_runpath
=no
14194 hardcode_into_libs
=yes
14195 dynamic_linker
='ldqnx.so'
14200 sys_lib_dlsearch_path_spec
="/usr/lib"
14202 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14204 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14205 *) need_version
=no
;;
14207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14208 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14209 shlibpath_var
=LD_LIBRARY_PATH
14210 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14212 openbsd2.
[89] | openbsd2.
[89].
*)
14213 shlibpath_overrides_runpath
=no
14216 shlibpath_overrides_runpath
=yes
14220 shlibpath_overrides_runpath
=yes
14225 libname_spec
='$name'
14228 library_names_spec
='$libname${shared_ext} $libname.a'
14229 dynamic_linker
='OS/2 ld.exe'
14230 shlibpath_var
=LIBPATH
14233 osf3
* | osf4
* | osf5
*)
14237 soname_spec
='${libname}${release}${shared_ext}$major'
14238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14239 shlibpath_var
=LD_LIBRARY_PATH
14240 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14241 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14253 soname_spec
='${libname}${release}${shared_ext}$major'
14254 shlibpath_var
=LD_LIBRARY_PATH
14255 shlibpath_overrides_runpath
=yes
14256 hardcode_into_libs
=yes
14257 # ldd complains unless libraries are executable
14258 postinstall_cmds
='chmod +x $lib'
14263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14264 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14265 shlibpath_var
=LD_LIBRARY_PATH
14266 shlibpath_overrides_runpath
=yes
14267 if test "$with_gnu_ld" = yes; then
14275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14276 soname_spec
='${libname}${release}${shared_ext}$major'
14277 shlibpath_var
=LD_LIBRARY_PATH
14278 case $host_vendor in
14280 shlibpath_overrides_runpath
=no
14282 runpath_var
=LD_RUN_PATH
14290 shlibpath_overrides_runpath
=no
14291 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14297 if test -d /usr
/nec
;then
14299 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14300 soname_spec
='$libname${shared_ext}.$major'
14301 shlibpath_var
=LD_LIBRARY_PATH
14305 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14306 version_type
=freebsd-elf
14309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14310 soname_spec
='${libname}${release}${shared_ext}$major'
14311 shlibpath_var
=LD_LIBRARY_PATH
14312 shlibpath_overrides_runpath
=yes
14313 hardcode_into_libs
=yes
14314 if test "$with_gnu_ld" = yes; then
14315 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14317 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14320 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14324 sys_lib_dlsearch_path_spec
='/usr/lib'
14328 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14333 shlibpath_var
=LD_LIBRARY_PATH
14334 shlibpath_overrides_runpath
=no
14335 hardcode_into_libs
=yes
14340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14341 soname_spec
='${libname}${release}${shared_ext}$major'
14342 shlibpath_var
=LD_LIBRARY_PATH
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14350 $as_echo "$dynamic_linker" >&6; }
14351 test "$dynamic_linker" = no
&& can_build_shared
=no
14353 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14354 if test "$GCC" = yes; then
14355 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14358 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14359 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14361 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14362 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14403 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14404 hardcode_action_CXX
=
14405 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14406 test -n "$runpath_var_CXX" ||
14407 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14409 # We can hardcode non-existent directories.
14410 if test "$hardcode_direct_CXX" != no
&&
14411 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14412 # have to relink, otherwise we might link with an installed library
14413 # when we should be linking with a yet-to-be-installed one
14414 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14415 test "$hardcode_minus_L_CXX" != no
; then
14416 # Linking always hardcodes the temporary library directory.
14417 hardcode_action_CXX
=relink
14419 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14420 hardcode_action_CXX
=immediate
14423 # We cannot hardcode anything, or else we can only hardcode existing
14425 hardcode_action_CXX
=unsupported
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14428 $as_echo "$hardcode_action_CXX" >&6; }
14430 if test "$hardcode_action_CXX" = relink ||
14431 test "$inherit_rpath_CXX" = yes; then
14432 # Fast installation is not supported
14433 enable_fast_install
=no
14434 elif test "$shlibpath_overrides_runpath" = yes ||
14435 test "$enable_shared" = no
; then
14436 # Fast installation is not necessary
14437 enable_fast_install
=needless
14446 fi # test -n "$compiler"
14452 with_gnu_ld
=$lt_save_with_gnu_ld
14453 lt_cv_path_LDCXX
=$lt_cv_path_LD
14454 lt_cv_path_LD
=$lt_save_path_LD
14455 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14456 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14457 fi # test "$_lt_caught_CXX_error" != yes
14460 ac_cpp
='$CPP $CPPFLAGS'
14461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14477 ac_config_commands
="$ac_config_commands libtool"
14482 # Only expand once:
14489 # The cast to long int works around a bug in the HP C Compiler
14490 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14491 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14492 # This bug is HP SR number 8606223364.
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14494 $as_echo_n "checking size of void *... " >&6; }
14495 if test "${ac_cv_sizeof_void_p+set}" = set; then :
14496 $as_echo_n "(cached) " >&6
14498 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14501 if test "$ac_cv_type_void_p" = yes; then
14502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14504 { as_fn_set_status
77
14505 as_fn_error
"cannot compute sizeof (void *)
14506 See \`config.log' for more details." "$LINENO" 5; }; }
14508 ac_cv_sizeof_void_p
=0
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
14514 $as_echo "$ac_cv_sizeof_void_p" >&6; }
14518 cat >>confdefs.h
<<_ACEOF
14519 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14524 if test "${multilib}" = "yes"; then
14525 multilib_arg
="--enable-multilib"
14530 # Get target configury.
14531 unset TSAN_SUPPORTED
14532 unset LSAN_SUPPORTED
14533 .
${srcdir}/configure.tgt
14534 if test "x$TSAN_SUPPORTED" = "xyes"; then
14535 TSAN_SUPPORTED_TRUE
=
14536 TSAN_SUPPORTED_FALSE
='#'
14538 TSAN_SUPPORTED_TRUE
='#'
14539 TSAN_SUPPORTED_FALSE
=
14542 if test "x$LSAN_SUPPORTED" = "xyes"; then
14543 LSAN_SUPPORTED_TRUE
=
14544 LSAN_SUPPORTED_FALSE
='#'
14546 LSAN_SUPPORTED_TRUE
='#'
14547 LSAN_SUPPORTED_FALSE
=
14551 # Check for functions needed.
14552 for ac_func
in clock_getres clock_gettime clock_settime
14554 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14555 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14556 eval as_val
=\$
$as_ac_var
14557 if test "x$as_val" = x
""yes; then :
14558 cat >>confdefs.h
<<_ACEOF
14559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14566 # Common libraries that we need to link against for all sanitizer libs.
14567 link_sanitizer_common
='-lpthread -ldl'
14569 # Set up the set of additional libraries that we need to link against for libasan.
14570 link_libasan
=$link_sanitizer_common
14573 # Set up the set of additional libraries that we need to link against for libtsan.
14574 link_libtsan
=$link_sanitizer_common
14577 # Set up the set of additional libraries that we need to link against for libubsan.
14578 link_libubsan
=$link_sanitizer_common
14581 # Set up the set of additional libraries that we need to link against for liblsan.
14582 link_liblsan
=$link_sanitizer_common
14585 # At least for glibc, clock_gettime is in librt. But don't pull that
14586 # in if it still doesn't give us the function we want. This
14587 # test is copied from libgomp.
14588 if test $ac_cv_func_clock_gettime = no
; then
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
14590 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
14591 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
14592 $as_echo_n "(cached) " >&6
14594 ac_check_lib_save_LIBS
=$LIBS
14596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14599 /* Override any GCC internal prototype to avoid an error.
14600 Use char because int might match the return type of a GCC
14601 builtin and then its argument prototype would still apply. */
14605 char clock_gettime ();
14609 return clock_gettime ();
14614 if ac_fn_c_try_link
"$LINENO"; then :
14615 ac_cv_lib_rt_clock_gettime
=yes
14617 ac_cv_lib_rt_clock_gettime
=no
14619 rm -f core conftest.err conftest.
$ac_objext \
14620 conftest
$ac_exeext conftest.
$ac_ext
14621 LIBS
=$ac_check_lib_save_LIBS
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
14624 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
14625 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
14626 link_libasan
="-lrt $link_libasan"
14627 link_libtsan
="-lrt $link_libtsan"
14628 # Other sanitizers do not override clock_* API
14635 *-*-darwin*) MAC_INTERPOSE
=true
; enable_static
=no
;;
14636 *) MAC_INTERPOSE
=false
;;
14638 if $MAC_INTERPOSE; then
14639 USING_MAC_INTERPOSE_TRUE
=
14640 USING_MAC_INTERPOSE_FALSE
='#'
14642 USING_MAC_INTERPOSE_TRUE
='#'
14643 USING_MAC_INTERPOSE_FALSE
=
14647 ac_config_files
="$ac_config_files Makefile libsanitizer.spec"
14650 ac_config_files
="$ac_config_files interception/Makefile sanitizer_common/Makefile lsan/Makefile asan/Makefile ubsan/Makefile"
14653 if test "x$TSAN_SUPPORTED" = "xyes"; then
14654 ac_config_files
="$ac_config_files tsan/Makefile"
14658 cat >confcache
<<\_ACEOF
14659 # This file is a shell script that caches the results of configure
14660 # tests run on this system so they can be shared between configure
14661 # scripts and configure runs, see configure's option --config-cache.
14662 # It is not useful on other systems. If it contains results you don't
14663 # want to keep, you may remove or edit it.
14665 # config.status only pays attention to the cache file if you give it
14666 # the --recheck option to rerun configure.
14668 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14669 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14670 # following values.
14674 # The following way of writing the cache mishandles newlines in values,
14675 # but we know of no workaround that is simple, portable, and efficient.
14676 # So, we kill variables containing newlines.
14677 # Ultrix sh set writes to stderr and can't be redirected directly,
14678 # and sets the high bit in the cache file unless we assign to the vars.
14680 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14681 eval ac_val
=\$
$ac_var
14685 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14686 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14689 _ | IFS | as_nl
) ;; #(
14690 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14691 *) { eval $ac_var=; unset $ac_var;} ;;
14697 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14698 *${as_nl}ac_space
=\
*)
14699 # `set' does not quote correctly, so add quotes: double-quote
14700 # substitution turns \\\\ into \\, and sed turns \\ into \.
14703 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14706 # `set' quotes correctly as required by POSIX, so do not add quotes.
14707 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14716 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14718 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14720 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14721 if test -w "$cache_file"; then
14722 test "x$cache_file" != "x/dev/null" &&
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14724 $as_echo "$as_me: updating cache $cache_file" >&6;}
14725 cat confcache
>$cache_file
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14728 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14733 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14734 # Let make expand exec_prefix.
14735 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14737 # Transform confdefs.h into DEFS.
14738 # Protect against shell expansion while executing Makefile rules.
14739 # Protect against Makefile macro expansion.
14741 # If the first sed substitution is executed (which looks for macros that
14742 # take arguments), then branch to the quote section. Otherwise,
14743 # look for a macro that doesn't take arguments.
14753 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14755 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14759 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14772 DEFS
=`sed -n "$ac_script" confdefs.h`
14777 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14778 # 1. Remove the extension, and $U if already installed.
14779 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14780 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14781 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14782 # will be set to the directory where LIBOBJS objects are built.
14783 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14784 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14786 LIBOBJS
=$ac_libobjs
14788 LTLIBOBJS
=$ac_ltlibobjs
14791 if test -n "$EXEEXT"; then
14793 am__EXEEXT_FALSE
='#'
14795 am__EXEEXT_TRUE
='#'
14799 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14800 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14803 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14804 as_fn_error
"conditional \"AMDEP\" was never defined.
14805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14807 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14808 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14811 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14812 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
14813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14815 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14816 as_fn_error
"conditional \"am__fastdepCCAS\" was never defined.
14817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14819 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
14820 as_fn_error
"conditional \"TSAN_SUPPORTED\" was never defined.
14821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14823 if test -z "${LSAN_SUPPORTED_TRUE}" && test -z "${LSAN_SUPPORTED_FALSE}"; then
14824 as_fn_error
"conditional \"LSAN_SUPPORTED\" was never defined.
14825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14827 if test -z "${USING_MAC_INTERPOSE_TRUE}" && test -z "${USING_MAC_INTERPOSE_FALSE}"; then
14828 as_fn_error
"conditional \"USING_MAC_INTERPOSE\" was never defined.
14829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14832 : ${CONFIG_STATUS=./config.status}
14834 ac_clean_files_save
=$ac_clean_files
14835 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14837 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14839 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14841 # Generated by $as_me.
14842 # Run this file to recreate the current configuration.
14843 # Compiler output produced by configure, useful for debugging
14844 # configure, is in config.log if it exists.
14847 ac_cs_recheck=false
14850 SHELL=\${CONFIG_SHELL-$SHELL}
14853 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14854 ## -------------------- ##
14855 ## M4sh Initialization. ##
14856 ## -------------------- ##
14858 # Be more Bourne compatible
14859 DUALCASE
=1; export DUALCASE
# for MKS sh
14860 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14863 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14864 # is contrary to our usage. Disable this feature.
14865 alias -g '${1+"$@"}'='"$@"'
14866 setopt NO_GLOB_SUBST
14868 case `(set -o) 2>/dev/null` in #(
14880 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14881 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14882 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14883 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14884 # Prefer a ksh shell builtin over an external printf program on Solaris,
14885 # but without wasting forks for bash or zsh.
14886 if test -z "$BASH_VERSION$ZSH_VERSION" \
14887 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14888 as_echo='print
-r --'
14889 as_echo_n='print
-rn --'
14890 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14891 as_echo='printf %s
\n'
14892 as_echo_n='printf %s
'
14894 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14895 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14896 as_echo_n='/usr
/ucb
/echo -n'
14898 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14899 as_echo_n_body='eval
14903 expr "X$arg" : "X\\(.*\\)$as_nl";
14904 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14906 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14908 export as_echo_n_body
14909 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14911 export as_echo_body
14912 as_echo='sh
-c $as_echo_body as_echo
'
14915 # The user is always right.
14916 if test "${PATH_SEPARATOR+set}" != set; then
14918 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14919 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14926 # We need space, tab and new line, in precisely that order. Quoting is
14927 # there to prevent editors from complaining about space-tab.
14928 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14929 # splitting by setting IFS to empty value.)
14932 # Find who we are. Look in the path if we contain no directory separator.
14934 *[\\/]* ) as_myself=$0 ;;
14935 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14936 for as_dir in $PATH
14939 test -z "$as_dir" && as_dir=.
14940 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14946 # We did not find ourselves, most probably we were run as `sh COMMAND'
14947 # in which case we are not to be found in the path.
14948 if test "x$as_myself" = x
; then
14951 if test ! -f "$as_myself"; then
14952 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14956 # Unset variables that we do not need and which cause bugs (e.g. in
14957 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14958 # suppresses any "Segmentation fault" message there. '((' could
14959 # trigger a bug in pdksh 5.2.14.
14960 for as_var
in BASH_ENV ENV MAIL MAILPATH
14961 do eval test x\
${$as_var+set} = xset \
14962 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14975 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14978 # as_fn_error ERROR [LINENO LOG_FD]
14979 # ---------------------------------
14980 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14981 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14982 # script with status $?, using 1 if that was 0.
14985 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14987 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14988 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14990 $as_echo "$as_me: error: $1" >&2
14991 as_fn_exit
$as_status
14995 # as_fn_set_status STATUS
14996 # -----------------------
14997 # Set $? to STATUS, without forking.
14998 as_fn_set_status
()
15001 } # as_fn_set_status
15003 # as_fn_exit STATUS
15004 # -----------------
15005 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15009 as_fn_set_status
$1
15015 # Portably unset VAR.
15018 { eval $1=; unset $1;}
15020 as_unset
=as_fn_unset
15021 # as_fn_append VAR VALUE
15022 # ----------------------
15023 # Append the text in VALUE to the end of the definition contained in VAR. Take
15024 # advantage of any shell optimizations that allow amortized linear growth over
15025 # repeated appends, instead of the typical quadratic growth present in naive
15027 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15028 eval 'as_fn_append ()
15039 # as_fn_arith ARG...
15040 # ------------------
15041 # Perform arithmetic evaluation on the ARGs, and store the result in the
15042 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15043 # must be portable across $(()) and expr.
15044 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15045 eval 'as_fn_arith ()
15052 as_val
=`expr "$@" || test $? -eq 1`
15057 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15058 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15064 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15065 as_basename
=basename
15070 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15076 as_me
=`$as_basename -- "$0" ||
15077 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15078 X"$0" : 'X\(//\)$' \| \
15079 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15081 sed '/^.*\/\([^/][^/]*\)\/*$/{
15095 # Avoid depending upon Character Ranges.
15096 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15097 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15098 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15099 as_cr_digits
='0123456789'
15100 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15102 ECHO_C
= ECHO_N
= ECHO_T
=
15103 case `echo -n x` in #(((((
15105 case `echo 'xy\c'` in
15106 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15108 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15115 rm -f conf$$ conf$$.exe conf$$.
file
15116 if test -d conf$$.dir
; then
15117 rm -f conf$$.dir
/conf$$.
file
15120 mkdir conf$$.dir
2>/dev
/null
15122 if (echo >conf$$.
file) 2>/dev
/null
; then
15123 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15125 # ... but there are two gotchas:
15126 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15127 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15128 # In both cases, we have to default to `cp -p'.
15129 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15131 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15139 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15140 rmdir conf$$.dir
2>/dev
/null
15145 # Create "$as_dir" as a directory, including parents if necessary.
15150 -*) as_dir
=.
/$as_dir;;
15152 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15156 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15157 *) as_qdir
=$as_dir;;
15159 as_dirs
="'$as_qdir' $as_dirs"
15160 as_dir
=`$as_dirname -- "$as_dir" ||
15161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15162 X"$as_dir" : 'X\(//\)[^/]' \| \
15163 X"$as_dir" : 'X\(//\)$' \| \
15164 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15165 $as_echo X"$as_dir" |
15166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15170 /^X\(\/\/\)[^/].*/{
15183 test -d "$as_dir" && break
15185 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15186 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15190 if mkdir
-p .
2>/dev
/null
; then
15191 as_mkdir_p
='mkdir -p "$as_dir"'
15193 test -d .
/-p && rmdir .
/-p
15197 if test -x / >/dev
/null
2>&1; then
15198 as_test_x
='test -x'
15200 if ls -dL / >/dev
/null
2>&1; then
15207 if test -d "$1"; then
15213 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15214 ???[sx]*):;;*)false;;esac;fi
15218 as_executable_p
=$as_test_x
15220 # Sed expression to map a string onto a valid CPP name.
15221 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15223 # Sed expression to map a string onto a valid variable name.
15224 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15228 ## ----------------------------------- ##
15229 ## Main body of $CONFIG_STATUS script. ##
15230 ## ----------------------------------- ##
15232 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15235 # Save the log message, to keep $0 and so on meaningful, and to
15236 # report actual input values of CONFIG_FILES etc. instead of their
15237 # values after options handling.
15239 This file was extended by package-unused $as_me version-unused, which was
15240 generated by GNU Autoconf 2.64. Invocation command line was
15242 CONFIG_FILES = $CONFIG_FILES
15243 CONFIG_HEADERS = $CONFIG_HEADERS
15244 CONFIG_LINKS = $CONFIG_LINKS
15245 CONFIG_COMMANDS = $CONFIG_COMMANDS
15248 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15253 case $ac_config_files in *"
15254 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15260 # Files that config.status was made for.
15261 config_files="$ac_config_files"
15262 config_commands="$ac_config_commands"
15266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15268 \`$as_me' instantiates files and other configuration actions
15269 from templates according to the current configuration. Unless the files
15270 and actions are specified as TAGs, all are instantiated by default.
15272 Usage: $0 [OPTION]... [TAG]...
15274 -h, --help print this help, then exit
15275 -V, --version print version number and configuration settings, then exit
15276 -q, --quiet, --silent
15277 do not print progress messages
15278 -d, --debug don't remove temporary files
15279 --recheck update $as_me by reconfiguring in the same conditions
15280 --file=FILE[:TEMPLATE]
15281 instantiate the configuration file FILE
15283 Configuration files:
15286 Configuration commands:
15289 Report bugs to <libsanitizer>."
15292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15294 package-unused config.status version-unused
15295 configured by $0, generated by GNU Autoconf 2.64,
15296 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15298 Copyright (C) 2009 Free Software Foundation, Inc.
15299 This config.status script is free software; the Free Software Foundation
15300 gives unlimited permission to copy, distribute and modify it."
15307 test -n "\$AWK" || AWK=awk
15310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15311 # The default lists apply if the user does not specify any file.
15317 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15318 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15329 # Handling of the options.
15330 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15332 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15333 $as_echo "$ac_cs_version"; exit ;;
15334 --debug |
--debu |
--deb |
--de |
--d |
-d )
15336 --file |
--fil |
--fi |
--f )
15339 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15341 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15342 ac_need_defaults
=false
;;
15343 --he |
--h |
--help |
--hel |
-h )
15344 $as_echo "$ac_cs_usage"; exit ;;
15345 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15346 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15349 # This is an error.
15350 -*) as_fn_error
"unrecognized option: \`$1'
15351 Try \`$0 --help' for more information." ;;
15353 *) as_fn_append ac_config_targets
" $1"
15354 ac_need_defaults
=false
;;
15360 ac_configure_extra_args
=
15362 if $ac_cs_silent; then
15364 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15369 if \$ac_cs_recheck; then
15370 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15372 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15373 CONFIG_SHELL='$SHELL'
15374 export CONFIG_SHELL
15379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15383 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15384 ## Running $as_me. ##
15390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15398 with_multisubdir="$with_multisubdir"
15399 with_multisrctop="$with_multisrctop"
15400 with_target_subdir="$with_target_subdir"
15401 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15402 multi_basedir="$multi_basedir"
15403 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15406 GFORTRAN="$GFORTRAN"
15408 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15411 # The HP-UX ksh and POSIX shell print the target directory to stdout
15412 # if CDPATH is set.
15413 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15415 sed_quote_subst='$sed_quote_subst'
15416 double_quote_subst='$double_quote_subst'
15417 delay_variable_subst='$delay_variable_subst'
15418 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15419 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15420 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15421 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15422 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15423 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15424 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15425 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15426 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15427 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15428 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15429 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15430 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15431 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15432 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15433 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15434 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15435 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15436 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15437 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15438 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15439 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15440 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15441 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15442 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15443 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15444 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15445 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15446 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15447 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15448 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15449 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15450 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15451 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15452 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15453 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15454 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15455 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15456 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15457 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15458 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15459 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15460 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15461 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15462 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15463 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15464 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15465 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15466 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"`'
15467 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15468 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15469 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15470 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15471 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15472 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15473 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15474 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15475 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15476 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15477 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15478 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15479 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15480 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15481 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15482 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15483 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15484 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15485 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15486 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15487 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15488 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15489 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15490 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15491 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15492 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15493 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15494 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15495 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15496 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15497 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15498 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15499 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15500 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15501 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15502 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15503 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15504 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15505 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15506 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15507 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15508 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15509 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15510 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15511 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15512 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15513 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15514 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15515 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15516 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15517 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15518 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15519 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15520 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15521 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15522 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15523 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15524 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15525 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15526 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15527 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15528 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15529 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15530 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15531 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15532 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15533 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15534 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15535 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15536 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15537 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15538 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15539 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15540 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15541 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15542 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15543 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15544 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15545 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15546 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15547 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15548 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15549 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15550 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15551 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15552 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15553 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15554 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15555 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15556 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15557 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15558 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15559 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15560 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15561 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15562 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15563 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15564 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15565 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15566 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15567 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15568 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15569 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15570 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15571 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15572 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15573 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15574 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15575 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15576 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15577 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15578 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15579 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
15580 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15581 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15582 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15583 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15584 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15585 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15586 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15587 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15588 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15589 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15590 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15591 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15592 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15595 LTCFLAGS='$LTCFLAGS'
15596 compiler='$compiler_DEFAULT'
15598 # A function that is used when there is no print builtin or printf.
15599 func_fallback_echo ()
15601 eval 'cat <<_LTECHO_EOF
15606 # Quote evaled strings.
15620 deplibs_check_method \
15629 lt_cv_sys_global_symbol_pipe \
15630 lt_cv_sys_global_symbol_to_cdecl \
15631 lt_cv_sys_global_symbol_to_c_name_address \
15632 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15633 lt_prog_compiler_no_builtin_flag \
15634 lt_prog_compiler_wl \
15635 lt_prog_compiler_pic \
15636 lt_prog_compiler_static \
15637 lt_cv_prog_compiler_c_o \
15645 export_dynamic_flag_spec \
15646 whole_archive_flag_spec \
15647 compiler_needs_object \
15649 allow_undefined_flag \
15650 no_undefined_flag \
15651 hardcode_libdir_flag_spec \
15652 hardcode_libdir_flag_spec_ld \
15653 hardcode_libdir_separator \
15658 variables_saved_for_relink \
15660 library_names_spec \
15662 install_override_mode \
15666 compiler_lib_search_dirs \
15671 compiler_lib_search_path \
15675 lt_prog_compiler_no_builtin_flag_CXX \
15676 lt_prog_compiler_wl_CXX \
15677 lt_prog_compiler_pic_CXX \
15678 lt_prog_compiler_static_CXX \
15679 lt_cv_prog_compiler_c_o_CXX \
15680 export_dynamic_flag_spec_CXX \
15681 whole_archive_flag_spec_CXX \
15682 compiler_needs_object_CXX \
15684 allow_undefined_flag_CXX \
15685 no_undefined_flag_CXX \
15686 hardcode_libdir_flag_spec_CXX \
15687 hardcode_libdir_flag_spec_ld_CXX \
15688 hardcode_libdir_separator_CXX \
15689 fix_srcfile_path_CXX \
15690 exclude_expsyms_CXX \
15691 include_expsyms_CXX \
15692 file_list_spec_CXX \
15693 compiler_lib_search_dirs_CXX \
15694 predep_objects_CXX \
15695 postdep_objects_CXX \
15698 compiler_lib_search_path_CXX; do
15699 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15700 *[\\\\\\\`\\"\\\$]*)
15701 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15704 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15709 # Double-quote double-evaled strings.
15710 for var in reload_cmds \
15711 old_postinstall_cmds \
15712 old_postuninstall_cmds \
15714 extract_expsyms_cmds \
15715 old_archive_from_new_cmds \
15716 old_archive_from_expsyms_cmds \
15718 archive_expsym_cmds \
15720 module_expsym_cmds \
15721 export_symbols_cmds \
15724 postuninstall_cmds \
15726 sys_lib_search_path_spec \
15727 sys_lib_dlsearch_path_spec \
15729 old_archive_cmds_CXX \
15730 old_archive_from_new_cmds_CXX \
15731 old_archive_from_expsyms_cmds_CXX \
15733 archive_expsym_cmds_CXX \
15735 module_expsym_cmds_CXX \
15736 export_symbols_cmds_CXX \
15737 prelink_cmds_CXX; do
15738 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15739 *[\\\\\\\`\\"\\\$]*)
15740 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15743 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15748 ac_aux_dir='$ac_aux_dir'
15749 xsi_shell='$xsi_shell'
15750 lt_shell_append='$lt_shell_append'
15752 # See if we are running on zsh, and set the options which allow our
15753 # commands through without removal of \ escapes INIT.
15754 if test -n "\${ZSH_VERSION+set}" ; then
15755 setopt NO_GLOB_SUBST
15761 TIMESTAMP='$TIMESTAMP'
15772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15774 # Handling of arguments.
15775 for ac_config_target
in $ac_config_targets
15777 case $ac_config_target in
15778 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15779 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15780 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15781 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15782 "libsanitizer.spec") CONFIG_FILES
="$CONFIG_FILES libsanitizer.spec" ;;
15783 "interception/Makefile") CONFIG_FILES
="$CONFIG_FILES interception/Makefile" ;;
15784 "sanitizer_common/Makefile") CONFIG_FILES
="$CONFIG_FILES sanitizer_common/Makefile" ;;
15785 "lsan/Makefile") CONFIG_FILES
="$CONFIG_FILES lsan/Makefile" ;;
15786 "asan/Makefile") CONFIG_FILES
="$CONFIG_FILES asan/Makefile" ;;
15787 "ubsan/Makefile") CONFIG_FILES
="$CONFIG_FILES ubsan/Makefile" ;;
15788 "tsan/Makefile") CONFIG_FILES
="$CONFIG_FILES tsan/Makefile" ;;
15790 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15795 # If the user did not use the arguments to specify the items to instantiate,
15796 # then the envvar interface is used. Set only those that are not.
15797 # We use the long form for the default assignment because of an extremely
15798 # bizarre bug on SunOS 4.1.3.
15799 if $ac_need_defaults; then
15800 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15801 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15804 # Have a temporary directory for convenience. Make it in the build tree
15805 # simply because there is no reason against having it here, and in addition,
15806 # creating and moving files from /tmp can sometimes cause problems.
15807 # Hook for its removal unless debugging.
15808 # Note that there is a small window in which the directory will not be cleaned:
15809 # after its creation but before its name has been assigned to `$tmp'.
15813 trap 'exit_status=$?
15814 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15816 trap 'as_fn_exit 1' 1 2 13 15
15818 # Create a (secure) tmp directory for tmp files.
15821 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15822 test -n "$tmp" && test -d "$tmp"
15825 tmp
=.
/conf$$
-$RANDOM
15826 (umask 077 && mkdir
"$tmp")
15827 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15829 # Set up the scripts for CONFIG_FILES section.
15830 # No need to generate them if there are no CONFIG_FILES.
15831 # This happens for instance with `./config.status config.h'.
15832 if test -n "$CONFIG_FILES"; then
15835 ac_cr
=`echo X | tr X '\015'`
15836 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15837 # But we know of no other shell where ac_cr would be empty at this
15838 # point, so we can use a bashism as a fallback.
15839 if test "x$ac_cr" = x
; then
15840 eval ac_cr
=\$
\'\\r
\'
15842 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15843 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15846 ac_cs_awk_cr
=$ac_cr
15849 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15854 echo "cat >conf$$subs.awk <<_ACEOF" &&
15855 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15857 } >conf$$subs.sh ||
15858 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15859 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15861 for ac_last_try in false false false false false :; do
15862 . ./conf$$subs.sh ||
15863 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15865 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15866 if test $ac_delim_n = $ac_delim_num; then
15868 elif $ac_last_try; then
15869 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15871 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15874 rm -f conf$$subs.sh
15876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15877 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15881 s/^/S["/; s
/!.
*/"]=/
15891 s/\(.\{148\}\).*/\1/
15893 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15898 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15905 s/\(.\{148\}\).*/\1/
15907 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15911 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15916 ' <conf$$subs.awk | sed '
15921 ' >>$CONFIG_STATUS || ac_write_fail=1
15922 rm -f conf$$subs.awk
15923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15925 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15926 for (key in S) S_is_set[key] = 1
15932 nfields = split(line, field, "@
")
15934 len = length(field[1])
15935 for (i = 2; i < nfields; i++) {
15937 keylen = length(key)
15938 if (S_is_set[key]) {
15940 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15941 len += length(value) + length(field[++i])
15952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15953 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15954 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15957 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15958 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15961 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15962 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15963 # trailing colons and then remove the whole line if VPATH becomes empty
15964 # (actually we leave an empty line to preserve line numbers).
15965 if test "x
$srcdir" = x.; then
15966 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15967 s/:*\$(srcdir):*/:/
15968 s/:*\${srcdir}:*/:/
15970 s/^\([^=]*=[ ]*\):*/\1/
15976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15977 fi # test -n "$CONFIG_FILES"
15980 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
15985 :[FHLC]) ac_mode=$ac_tag; continue;;
15987 case $ac_mode$ac_tag in
15989 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15990 :[FH]-) ac_tag=-:-;;
15991 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16008 -) ac_f="$tmp/stdin";;
16009 *) # Look for the file first in the build tree, then in the source tree
16010 # (if the path is not absolute). The absolute path cannot be DOS-style,
16011 # because $ac_f cannot contain `:'.
16015 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16017 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16019 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16020 as_fn_append ac_file_inputs " '$ac_f'"
16023 # Let's still pretend it is `configure' which instantiates (i.e., don't
16024 # use $as_me), people would be surprised to read:
16025 # /* config.h. Generated by config.status. */
16026 configure_input='Generated from '`
16027 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16029 if test x"$ac_file" != x-; then
16030 configure_input="$ac_file.
$configure_input"
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16032 $as_echo "$as_me: creating
$ac_file" >&6;}
16034 # Neutralize special characters interpreted by sed in replacement strings.
16035 case $configure_input in #(
16036 *\&* | *\|* | *\\* )
16037 ac_sed_conf_input=`$as_echo "$configure_input" |
16038 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16039 *) ac_sed_conf_input=$configure_input;;
16043 *:-:* | *:-) cat >"$tmp/stdin
" \
16044 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16049 ac_dir=`$as_dirname -- "$ac_file" ||
16050 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16051 X"$ac_file" : 'X\(//\)[^/]' \| \
16052 X"$ac_file" : 'X\(//\)$' \| \
16053 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16054 $as_echo X"$ac_file" |
16055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16059 /^X\(\/\/\)[^/].*/{
16072 as_dir="$ac_dir"; as_fn_mkdir_p
16076 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16078 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16079 # A "..
" for each directory in $ac_dir_suffix.
16080 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16081 case $ac_top_builddir_sub in
16082 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16083 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16086 ac_abs_top_builddir=$ac_pwd
16087 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16088 # for backward compatibility:
16089 ac_top_builddir=$ac_top_build_prefix
16092 .) # We are building in place.
16094 ac_top_srcdir=$ac_top_builddir_sub
16095 ac_abs_top_srcdir=$ac_pwd ;;
16096 [\\/]* | ?:[\\/]* ) # Absolute name.
16097 ac_srcdir=$srcdir$ac_dir_suffix;
16098 ac_top_srcdir=$srcdir
16099 ac_abs_top_srcdir=$srcdir ;;
16100 *) # Relative name.
16101 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16102 ac_top_srcdir=$ac_top_build_prefix$srcdir
16103 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16105 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16115 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16116 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16118 ac_MKDIR_P=$MKDIR_P
16120 [\\/$]* | ?:[\\/]* ) ;;
16121 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16126 # If the template does not know about datarootdir, expand it.
16127 # FIXME: This hack should be removed a few years after 2.60.
16128 ac_datarootdir_hack=; ac_datarootdir_seen=
16139 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16140 *datarootdir*) ac_datarootdir_seen=yes;;
16141 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16143 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16146 ac_datarootdir_hack='
16147 s&@datadir@&$datadir&g
16148 s&@docdir@&$docdir&g
16149 s&@infodir@&$infodir&g
16150 s&@localedir@&$localedir&g
16151 s&@mandir@&$mandir&g
16152 s&\\\${datarootdir}&$datarootdir&g' ;;
16156 # Neutralize VPATH when `$srcdir' = `.'.
16157 # Shell code in configure.ac might set extrasub.
16158 # FIXME: do we really want to maintain this feature?
16159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16160 ac_sed_extra="$ac_vpsub
16163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16165 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16166 s|@configure_input@|
$ac_sed_conf_input|
;t t
16167 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16168 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16169 s
&@srcdir@
&$ac_srcdir&;t t
16170 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16171 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16172 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16173 s
&@builddir@
&$ac_builddir&;t t
16174 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16175 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16176 s
&@INSTALL@
&$ac_INSTALL&;t t
16177 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16178 $ac_datarootdir_hack
16180 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16181 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16183 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16184 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16185 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16187 which seems to be undefined. Please make sure it is defined." >&5
16188 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16189 which seems to be undefined. Please make sure it is defined." >&2;}
16193 -) cat "$tmp/out" && rm -f "$tmp/out";;
16194 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16196 || as_fn_error "could not create $ac_file" "$LINENO" 5
16200 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16201 $as_echo "$as_me: executing $ac_file commands" >&6;}
16206 case $ac_file$ac_mode in
16208 # Only add multilib support code if we just rebuilt the top-level
16210 case " $CONFIG_FILES " in
16212 ac_file=Makefile . ${multi_basedir}/config-ml.in
16215 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16216 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16217 # are listed without --file. Let's play safe and only
enable the
eval
16218 # if we detect the quoting.
16219 case $CONFIG_FILES in
16220 *\'*) eval set x
"$CONFIG_FILES" ;;
16221 *) set x
$CONFIG_FILES ;;
16226 # Strip MF so we end up with the name of the file.
16227 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16228 # Check whether this is an Automake generated Makefile or not.
16229 # We used to match only the files named `Makefile.in', but
16230 # some people rename them; so instead we look at the file content.
16231 # Grep'ing the first line is not enough: some people post-process
16232 # each Makefile.in and add a new line on top of each file to say so.
16233 # Grep'ing the whole file is not good either: AIX grep has a line
16234 # limit of 2048, but all sed's we know have understand at least 4000.
16235 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16236 dirpart
=`$as_dirname -- "$mf" ||
16237 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16238 X"$mf" : 'X\(//\)[^/]' \| \
16239 X"$mf" : 'X\(//\)$' \| \
16240 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16246 /^X\(\/\/\)[^/].*/{
16262 # Extract the definition of DEPDIR, am__include, and am__quote
16263 # from the Makefile without running `make'.
16264 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16265 test -z "$DEPDIR" && continue
16266 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16267 test -z "am__include" && continue
16268 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16269 # When using ansi2knr, U may be empty or an underscore; expand it
16270 U
=`sed -n 's/^U = //p' < "$mf"`
16271 # Find all dependency output files, they are included files with
16272 # $(DEPDIR) in their names. We invoke sed twice because it is the
16273 # simplest approach to changing $(DEPDIR) to its actual value in the
16275 for file in `sed -n "
16276 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16277 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16278 # Make sure the directory exists.
16279 test -f "$dirpart/$file" && continue
16280 fdir
=`$as_dirname -- "$file" ||
16281 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16282 X"$file" : 'X\(//\)[^/]' \| \
16283 X"$file" : 'X\(//\)$' \| \
16284 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16285 $as_echo X"$file" |
16286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16290 /^X\(\/\/\)[^/].*/{
16303 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16304 # echo "creating $dirpart/$file"
16305 echo '# dummy' > "$dirpart/$file"
16312 # See if we are running on zsh, and set the options which allow our
16313 # commands through without removal of \ escapes.
16314 if test -n "${ZSH_VERSION+set}" ; then
16315 setopt NO_GLOB_SUBST
16318 cfgfile
="${ofile}T"
16319 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16322 cat <<_LT_EOF >> "$cfgfile"
16325 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16326 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16327 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16328 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16330 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16331 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16332 # Written by Gordon Matzigkeit, 1996
16334 # This file is part of GNU Libtool.
16336 # GNU Libtool is free software; you can redistribute it and/or
16337 # modify it under the terms of the GNU General Public License as
16338 # published by the Free Software Foundation; either version 2 of
16339 # the License, or (at your option) any later version.
16341 # As a special exception to the GNU General Public License,
16342 # if you distribute this file as part of a program or library that
16343 # is built using GNU Libtool, you may include this file under the
16344 # same distribution terms that you use for the rest of that program.
16346 # GNU Libtool is distributed in the hope that it will be useful,
16347 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16348 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16349 # GNU General Public License for more details.
16351 # You should have received a copy of the GNU General Public License
16352 # along with GNU Libtool; see the file COPYING. If not, a copy
16353 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16354 # obtained by writing to the Free Software Foundation, Inc.,
16355 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16358 # The names of the tagged configurations supported by this script.
16359 available_tags="CXX "
16361 # ### BEGIN LIBTOOL CONFIG
16363 # Which release of libtool.m4 was used?
16364 macro_version=$macro_version
16365 macro_revision=$macro_revision
16367 # Whether or not to build shared libraries.
16368 build_libtool_libs=$enable_shared
16370 # Whether or not to build static libraries.
16371 build_old_libs=$enable_static
16373 # What type of objects to build.
16376 # Whether or not to optimize for fast installation.
16377 fast_install=$enable_fast_install
16379 # Shell to use when invoking shell scripts.
16382 # An echo program that protects backslashes.
16386 host_alias=$host_alias
16390 # The build system.
16391 build_alias=$build_alias
16395 # A sed program that does not truncate output.
16398 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16399 Xsed="\$SED -e 1s/^X//"
16401 # A grep program that handles long lines.
16407 # A literal string matcher.
16410 # A BSD- or MS-compatible name lister.
16413 # Whether we need soft or hard links.
16416 # What is the maximum length of a command?
16417 max_cmd_len=$max_cmd_len
16419 # Object file suffix (normally "o").
16422 # Executable file suffix (normally "").
16425 # whether the shell understands "unset".
16428 # turn spaces into newlines.
16431 # turn newlines into spaces.
16434 # An object symbol dumper.
16435 OBJDUMP=$lt_OBJDUMP
16437 # Method to check whether dependent libraries are shared objects.
16438 deplibs_check_method=$lt_deplibs_check_method
16440 # Command to use when deplibs_check_method == "file_magic".
16441 file_magic_cmd=$lt_file_magic_cmd
16445 AR_FLAGS=$lt_AR_FLAGS
16447 # A symbol stripping program.
16450 # Commands used to install an old-style archive.
16452 old_postinstall_cmds=$lt_old_postinstall_cmds
16453 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16455 # Whether to use a lock for old archive extraction.
16456 lock_old_archive_extraction=$lock_old_archive_extraction
16461 # LTCC compiler flags.
16462 LTCFLAGS=$lt_CFLAGS
16464 # Take the output of nm and produce a listing of raw symbols and C names.
16465 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16467 # Transform the output of nm in a proper C declaration.
16468 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16470 # Transform the output of nm in a C name address pair.
16471 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16473 # Transform the output of nm in a C name address pair when lib prefix is needed.
16474 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16476 # The name of the directory that contains temporary libtool files.
16479 # Used to examine libraries when file_magic_cmd begins with "file".
16480 MAGIC_CMD=$MAGIC_CMD
16482 # Must we lock files when doing compilation?
16483 need_locks=$lt_need_locks
16485 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16486 DSYMUTIL=$lt_DSYMUTIL
16488 # Tool to change global to local symbols on Mac OS X.
16491 # Tool to manipulate fat objects and archives on Mac OS X.
16494 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16497 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16498 OTOOL64=$lt_OTOOL64
16500 # Old archive suffix (normally "a").
16503 # Shared library suffix (normally ".so").
16504 shrext_cmds=$lt_shrext_cmds
16506 # The commands to extract the exported symbol list from a shared archive.
16507 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16509 # Variables whose values should be saved in libtool wrapper scripts and
16510 # restored at link time.
16511 variables_saved_for_relink=$lt_variables_saved_for_relink
16513 # Do we need the "lib" prefix for modules?
16514 need_lib_prefix=$need_lib_prefix
16516 # Do we need a version for libraries?
16517 need_version=$need_version
16519 # Library versioning type.
16520 version_type=$version_type
16522 # Shared library runtime path variable.
16523 runpath_var=$runpath_var
16525 # Shared library path variable.
16526 shlibpath_var=$shlibpath_var
16528 # Is shlibpath searched before the hard-coded library search path?
16529 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16531 # Format of library name prefix.
16532 libname_spec=$lt_libname_spec
16534 # List of archive names. First name is the real one, the rest are links.
16535 # The last name is the one that the linker finds with -lNAME
16536 library_names_spec=$lt_library_names_spec
16538 # The coded name of the library, if different from the real name.
16539 soname_spec=$lt_soname_spec
16541 # Permission mode override for installation of shared libraries.
16542 install_override_mode=$lt_install_override_mode
16544 # Command to use after installation of a shared archive.
16545 postinstall_cmds=$lt_postinstall_cmds
16547 # Command to use after uninstallation of a shared archive.
16548 postuninstall_cmds=$lt_postuninstall_cmds
16550 # Commands used to finish a libtool library installation in a directory.
16551 finish_cmds=$lt_finish_cmds
16553 # As "finish_cmds", except a single script fragment to be evaled but
16555 finish_eval=$lt_finish_eval
16557 # Whether we should hardcode library paths into libraries.
16558 hardcode_into_libs=$hardcode_into_libs
16560 # Compile-time system search path for libraries.
16561 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16563 # Run-time system search path for libraries.
16564 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16566 # Whether dlopen is supported.
16567 dlopen_support=$enable_dlopen
16569 # Whether dlopen of programs is supported.
16570 dlopen_self=$enable_dlopen_self
16572 # Whether dlopen of statically linked programs is supported.
16573 dlopen_self_static=$enable_dlopen_self_static
16575 # Commands to strip libraries.
16576 old_striplib=$lt_old_striplib
16577 striplib=$lt_striplib
16580 # The linker used to build libraries.
16583 # How to create reloadable object files.
16584 reload_flag=$lt_reload_flag
16585 reload_cmds=$lt_reload_cmds
16587 # Commands used to build an old-style archive.
16588 old_archive_cmds=$lt_old_archive_cmds
16590 # A language specific compiler.
16593 # Is the compiler the GNU compiler?
16596 # Compiler flag to turn off builtin functions.
16597 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16599 # How to pass a linker flag through the compiler.
16600 wl=$lt_lt_prog_compiler_wl
16602 # Additional compiler flags for building library objects.
16603 pic_flag=$lt_lt_prog_compiler_pic
16605 # Compiler flag to prevent dynamic linking.
16606 link_static_flag=$lt_lt_prog_compiler_static
16608 # Does compiler simultaneously support -c and -o options?
16609 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16611 # Whether or not to add -lc for building shared libraries.
16612 build_libtool_need_lc=$archive_cmds_need_lc
16614 # Whether or not to disallow shared libs when runtime libs are static.
16615 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16617 # Compiler flag to allow reflexive dlopens.
16618 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16620 # Compiler flag to generate shared objects directly from archives.
16621 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16623 # Whether the compiler copes with passing no objects directly.
16624 compiler_needs_object=$lt_compiler_needs_object
16626 # Create an old-style archive from a shared archive.
16627 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16629 # Create a temporary old-style archive to link instead of a shared archive.
16630 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16632 # Commands used to build a shared archive.
16633 archive_cmds=$lt_archive_cmds
16634 archive_expsym_cmds=$lt_archive_expsym_cmds
16636 # Commands used to build a loadable module if different from building
16637 # a shared archive.
16638 module_cmds=$lt_module_cmds
16639 module_expsym_cmds=$lt_module_expsym_cmds
16641 # Whether we are building with GNU ld or not.
16642 with_gnu_ld=$lt_with_gnu_ld
16644 # Flag that allows shared libraries with undefined symbols to be built.
16645 allow_undefined_flag=$lt_allow_undefined_flag
16647 # Flag that enforces no undefined symbols.
16648 no_undefined_flag=$lt_no_undefined_flag
16650 # Flag to hardcode \$libdir into a binary during linking.
16651 # This must work even if \$libdir does not exist
16652 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16654 # If ld is used when linking, flag to hardcode \$libdir into a binary
16655 # during linking. This must work even if \$libdir does not exist.
16656 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16658 # Whether we need a single "-rpath" flag with a separated argument.
16659 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16661 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16662 # DIR into the resulting binary.
16663 hardcode_direct=$hardcode_direct
16665 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16666 # DIR into the resulting binary and the resulting library dependency is
16667 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16668 # library is relocated.
16669 hardcode_direct_absolute=$hardcode_direct_absolute
16671 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16672 # into the resulting binary.
16673 hardcode_minus_L=$hardcode_minus_L
16675 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16676 # into the resulting binary.
16677 hardcode_shlibpath_var=$hardcode_shlibpath_var
16679 # Set to "yes" if building a shared library automatically hardcodes DIR
16680 # into the library and all subsequent libraries and executables linked
16682 hardcode_automatic=$hardcode_automatic
16684 # Set to yes if linker adds runtime paths of dependent libraries
16685 # to runtime path list.
16686 inherit_rpath=$inherit_rpath
16688 # Whether libtool must link a program against all its dependency libraries.
16689 link_all_deplibs=$link_all_deplibs
16691 # Fix the shell variable \$srcfile for the compiler.
16692 fix_srcfile_path=$lt_fix_srcfile_path
16694 # Set to "yes" if exported symbols are required.
16695 always_export_symbols=$always_export_symbols
16697 # The commands to list exported symbols.
16698 export_symbols_cmds=$lt_export_symbols_cmds
16700 # Symbols that should not be listed in the preloaded symbols.
16701 exclude_expsyms=$lt_exclude_expsyms
16703 # Symbols that must always be exported.
16704 include_expsyms=$lt_include_expsyms
16706 # Commands necessary for linking programs (against libraries) with templates.
16707 prelink_cmds=$lt_prelink_cmds
16709 # Specify filename containing input files.
16710 file_list_spec=$lt_file_list_spec
16712 # How to hardcode a shared library path into an executable.
16713 hardcode_action=$hardcode_action
16715 # The directories searched by this compiler when creating a shared library.
16716 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
16718 # Dependencies to place before and after the objects being linked to
16719 # create a shared library.
16720 predep_objects=$lt_predep_objects
16721 postdep_objects=$lt_postdep_objects
16722 predeps=$lt_predeps
16723 postdeps=$lt_postdeps
16725 # The library search path used internally by the compiler when linking
16726 # a shared library.
16727 compiler_lib_search_path=$lt_compiler_lib_search_path
16729 # ### END LIBTOOL CONFIG
16735 cat <<\_LT_EOF
>> "$cfgfile"
16736 # AIX sometimes has problems with the GCC collect2 program. For some
16737 # reason, if we set the COLLECT_NAMES environment variable, the problems
16738 # vanish in a puff of smoke.
16739 if test "X${COLLECT_NAMES+set}" != Xset
; then
16741 export COLLECT_NAMES
16748 ltmain
="$ac_aux_dir/ltmain.sh"
16751 # We use sed instead of cat because bash on DJGPP gets confused if
16752 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16753 # text mode, it properly converts lines to CR/LF. This bash problem
16754 # is reportedly fixed, but why not run on old versions too?
16755 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16756 ||
(rm -f "$cfgfile"; exit 1)
16760 cat << \_LT_EOF
>> "$cfgfile"
16762 # func_dirname file append nondir_replacement
16763 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16764 # otherwise set result to NONDIR_REPLACEMENT.
16768 */*) func_dirname_result
="${1%/*}${2}" ;;
16769 * ) func_dirname_result
="${3}" ;;
16773 # func_basename file
16776 func_basename_result
="${1##*/}"
16779 # func_dirname_and_basename file append nondir_replacement
16780 # perform func_basename and func_dirname in a single function
16782 # dirname: Compute the dirname of FILE. If nonempty,
16783 # add APPEND to the result, otherwise set result
16784 # to NONDIR_REPLACEMENT.
16785 # value returned in "$func_dirname_result"
16786 # basename: Compute filename of FILE.
16787 # value retuned in "$func_basename_result"
16788 # Implementation must be kept synchronized with func_dirname
16789 # and func_basename. For efficiency, we do not delegate to
16790 # those functions but instead duplicate the functionality here.
16791 func_dirname_and_basename
()
16794 */*) func_dirname_result
="${1%/*}${2}" ;;
16795 * ) func_dirname_result
="${3}" ;;
16797 func_basename_result
="${1##*/}"
16800 # func_stripname prefix suffix name
16801 # strip PREFIX and SUFFIX off of NAME.
16802 # PREFIX and SUFFIX must not contain globbing or regex special
16803 # characters, hashes, percent signs, but SUFFIX may contain a leading
16804 # dot (in which case that matches only a dot).
16807 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16808 # positional parameters, so assign one to ordinary parameter first.
16809 func_stripname_result
=${3}
16810 func_stripname_result
=${func_stripname_result#"${1}"}
16811 func_stripname_result
=${func_stripname_result%"${2}"}
16817 func_opt_split_opt
=${1%%=*}
16818 func_opt_split_arg
=${1#*=}
16825 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16826 *) func_lo2o_result
=${1} ;;
16830 # func_xform libobj-or-source
16833 func_xform_result
=${1%.*}.lo
16836 # func_arith arithmetic-term...
16839 func_arith_result
=$
(( $
* ))
16843 # STRING may not start with a hyphen.
16846 func_len_result
=${#1}
16851 *) # Bourne compatible functions.
16852 cat << \_LT_EOF
>> "$cfgfile"
16854 # func_dirname file append nondir_replacement
16855 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16856 # otherwise set result to NONDIR_REPLACEMENT.
16859 # Extract subdirectory from the argument.
16860 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16861 if test "X$func_dirname_result" = "X${1}"; then
16862 func_dirname_result
="${3}"
16864 func_dirname_result
="$func_dirname_result${2}"
16868 # func_basename file
16871 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16875 # func_stripname prefix suffix name
16876 # strip PREFIX and SUFFIX off of NAME.
16877 # PREFIX and SUFFIX must not contain globbing or regex special
16878 # characters, hashes, percent signs, but SUFFIX may contain a leading
16879 # dot (in which case that matches only a dot).
16880 # func_strip_suffix prefix name
16884 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16885 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16890 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16891 my_sed_long_arg
='1s/^-[^=]*=//'
16896 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16897 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16903 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16906 # func_xform libobj-or-source
16909 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16912 # func_arith arithmetic-term...
16915 func_arith_result
=`expr "$@"`
16919 # STRING may not start with a hyphen.
16922 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16928 case $lt_shell_append in
16930 cat << \_LT_EOF
>> "$cfgfile"
16932 # func_append var value
16933 # Append VALUE to the end of shell variable VAR.
16941 cat << \_LT_EOF
>> "$cfgfile"
16943 # func_append var value
16944 # Append VALUE to the end of shell variable VAR.
16955 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16956 ||
(rm -f "$cfgfile"; exit 1)
16958 mv -f "$cfgfile" "$ofile" ||
16959 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16963 cat <<_LT_EOF >> "$ofile"
16965 # ### BEGIN LIBTOOL TAG CONFIG: CXX
16967 # The linker used to build libraries.
16970 # How to create reloadable object files.
16971 reload_flag=$lt_reload_flag_CXX
16972 reload_cmds=$lt_reload_cmds_CXX
16974 # Commands used to build an old-style archive.
16975 old_archive_cmds=$lt_old_archive_cmds_CXX
16977 # A language specific compiler.
16978 CC=$lt_compiler_CXX
16980 # Is the compiler the GNU compiler?
16983 # Compiler flag to turn off builtin functions.
16984 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16986 # How to pass a linker flag through the compiler.
16987 wl=$lt_lt_prog_compiler_wl_CXX
16989 # Additional compiler flags for building library objects.
16990 pic_flag=$lt_lt_prog_compiler_pic_CXX
16992 # Compiler flag to prevent dynamic linking.
16993 link_static_flag=$lt_lt_prog_compiler_static_CXX
16995 # Does compiler simultaneously support -c and -o options?
16996 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16998 # Whether or not to add -lc for building shared libraries.
16999 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17001 # Whether or not to disallow shared libs when runtime libs are static.
17002 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17004 # Compiler flag to allow reflexive dlopens.
17005 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17007 # Compiler flag to generate shared objects directly from archives.
17008 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17010 # Whether the compiler copes with passing no objects directly.
17011 compiler_needs_object=$lt_compiler_needs_object_CXX
17013 # Create an old-style archive from a shared archive.
17014 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17016 # Create a temporary old-style archive to link instead of a shared archive.
17017 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17019 # Commands used to build a shared archive.
17020 archive_cmds=$lt_archive_cmds_CXX
17021 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17023 # Commands used to build a loadable module if different from building
17024 # a shared archive.
17025 module_cmds=$lt_module_cmds_CXX
17026 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17028 # Whether we are building with GNU ld or not.
17029 with_gnu_ld=$lt_with_gnu_ld_CXX
17031 # Flag that allows shared libraries with undefined symbols to be built.
17032 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17034 # Flag that enforces no undefined symbols.
17035 no_undefined_flag=$lt_no_undefined_flag_CXX
17037 # Flag to hardcode \$libdir into a binary during linking.
17038 # This must work even if \$libdir does not exist
17039 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17041 # If ld is used when linking, flag to hardcode \$libdir into a binary
17042 # during linking. This must work even if \$libdir does not exist.
17043 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17045 # Whether we need a single "-rpath" flag with a separated argument.
17046 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17048 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17049 # DIR into the resulting binary.
17050 hardcode_direct=$hardcode_direct_CXX
17052 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17053 # DIR into the resulting binary and the resulting library dependency is
17054 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17055 # library is relocated.
17056 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17058 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17059 # into the resulting binary.
17060 hardcode_minus_L=$hardcode_minus_L_CXX
17062 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17063 # into the resulting binary.
17064 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17066 # Set to "yes" if building a shared library automatically hardcodes DIR
17067 # into the library and all subsequent libraries and executables linked
17069 hardcode_automatic=$hardcode_automatic_CXX
17071 # Set to yes if linker adds runtime paths of dependent libraries
17072 # to runtime path list.
17073 inherit_rpath=$inherit_rpath_CXX
17075 # Whether libtool must link a program against all its dependency libraries.
17076 link_all_deplibs=$link_all_deplibs_CXX
17078 # Fix the shell variable \$srcfile for the compiler.
17079 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17081 # Set to "yes" if exported symbols are required.
17082 always_export_symbols=$always_export_symbols_CXX
17084 # The commands to list exported symbols.
17085 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17087 # Symbols that should not be listed in the preloaded symbols.
17088 exclude_expsyms=$lt_exclude_expsyms_CXX
17090 # Symbols that must always be exported.
17091 include_expsyms=$lt_include_expsyms_CXX
17093 # Commands necessary for linking programs (against libraries) with templates.
17094 prelink_cmds=$lt_prelink_cmds_CXX
17096 # Specify filename containing input files.
17097 file_list_spec=$lt_file_list_spec_CXX
17099 # How to hardcode a shared library path into an executable.
17100 hardcode_action=$hardcode_action_CXX
17102 # The directories searched by this compiler when creating a shared library.
17103 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17105 # Dependencies to place before and after the objects being linked to
17106 # create a shared library.
17107 predep_objects=$lt_predep_objects_CXX
17108 postdep_objects=$lt_postdep_objects_CXX
17109 predeps=$lt_predeps_CXX
17110 postdeps=$lt_postdeps_CXX
17112 # The library search path used internally by the compiler when linking
17113 # a shared library.
17114 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17116 # ### END LIBTOOL TAG CONFIG: CXX
17120 "interception/Makefile":F
) cat > vpsed$$
<< \_EOF
17121 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17123 sed -f vpsed$$
$ac_file > tmp$$
17126 echo 'MULTISUBDIR =' >> $ac_file
17128 .
${multi_basedir}/config-ml.
in
17129 { ml_norecursion
=; unset ml_norecursion
;}
17131 "sanitizer_common/Makefile":F
) cat > vpsed$$
<< \_EOF
17132 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17134 sed -f vpsed$$
$ac_file > tmp$$
17137 echo 'MULTISUBDIR =' >> $ac_file
17139 .
${multi_basedir}/config-ml.
in
17140 { ml_norecursion
=; unset ml_norecursion
;}
17142 "lsan/Makefile":F
) cat > vpsed$$
<< \_EOF
17143 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17145 sed -f vpsed$$
$ac_file > tmp$$
17148 echo 'MULTISUBDIR =' >> $ac_file
17150 .
${multi_basedir}/config-ml.
in
17151 { ml_norecursion
=; unset ml_norecursion
;}
17153 "asan/Makefile":F
) cat > vpsed$$
<< \_EOF
17154 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17156 sed -f vpsed$$
$ac_file > tmp$$
17159 echo 'MULTISUBDIR =' >> $ac_file
17161 .
${multi_basedir}/config-ml.
in
17162 { ml_norecursion
=; unset ml_norecursion
;}
17164 "ubsan/Makefile":F
) cat > vpsed$$
<< \_EOF
17165 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17167 sed -f vpsed$$
$ac_file > tmp$$
17170 echo 'MULTISUBDIR =' >> $ac_file
17172 .
${multi_basedir}/config-ml.
in
17173 { ml_norecursion
=; unset ml_norecursion
;}
17175 "tsan/Makefile":F
) cat > vpsed$$
<< \_EOF
17176 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17178 sed -f vpsed$$
$ac_file > tmp$$
17181 echo 'MULTISUBDIR =' >> $ac_file
17183 .
${multi_basedir}/config-ml.
in
17184 { ml_norecursion
=; unset ml_norecursion
;}
17193 ac_clean_files
=$ac_clean_files_save
17195 test $ac_write_fail = 0 ||
17196 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17199 # configure is writing to config.log, and then calls config.status.
17200 # config.status does its own redirection, appending to config.log.
17201 # Unfortunately, on DOS this fails, as config.log is still kept open
17202 # by configure, so config.status won't be able to write to it; its
17203 # output is simply discarded. So we exec the FD to /dev/null,
17204 # effectively closing config.log, so it can be properly (re)opened and
17205 # appended to by config.status. When coming back to configure, we
17206 # need to make the FD available again.
17207 if test "$no_create" != yes; then
17209 ac_config_status_args
=
17210 test "$silent" = yes &&
17211 ac_config_status_args
="$ac_config_status_args --quiet"
17213 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17215 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17216 # would make configure fail if this is the last instruction.
17217 $ac_cs_success || as_fn_exit $?
17219 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17221 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}